.nav-row {

}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.nav-bar-block {

}

.btn-none-padding {
    padding-left: 0;
}

.modal-dialog {
    max-width: 850px;
    /*margin: 14rem auto;*/
}

.modal-description-block {
    padding: 10px
}

.btn-add-count::before {

    background: none;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    content: '+';
    font-size: 1.25rem;
    line-height: 1;
}

.btn-delete-count::before{
    background: none;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    content: '-';
    font-size: 1.25rem;
    line-height: 1;
}

.btn-close-modal {
    background-color: #ebebeb;
    border-radius: 100%;
    width: 1.5em;
    height: 1.5em;
}

.btn-add-to-cart {
    border-radius: 20px;
    width: 100%;
}

.desc-text-block {
    min-height: 325px;
}

.modal-content {
    overflow: hidden;
    border: none;
    border-radius: 20px;
}

.modal-row-block {
    min-height: 424px;
}

.items-page {
    padding-right: 15%;
    padding-left: 15%;
}

.btn-food-add-main {
    margin-top: 20px;
    margin-bottom: 10px;
}
.btn-light-my-tabs{
    /*margin-left: 0;*/
}
.main-item-desc {
    margin-top: 5px;
}

.item-food-main-block-inner {
    height: 100%;
    width: 100%;
    cursor: pointer;
    /*padding-top: 20px;*/
    /*padding-bottom: 20px;*/
}

.cat-span-block {
    font-size: 2em;
    font-weight: 600;
}

.cat-span-block2 {
    /*margin-bottom: 20px;*/
    font-size: 1.3em;
    /*font-weight:500;*/
}

.item-food-main-block {
    padding-bottom: 20px;
    /*padding: 20px;*/
    height: 100%;
}

.img-top-block {
    display: grid;
    place-items: center;
    position: relative;
    width: 100%;
    padding-top: 100%; /* Задаем высоту, равную ширине, с использованием аспект-отношения */
    overflow: hidden;
}
.count-inner-cart-block{
    gap: 10px;
    display: flex;
    align-items: center;
}
.none-margin{
    /*margin: 0!important;*/
}
.count-inner-block{
    gap: 10px;
    /*display: flex;*/
    align-items: center;
}
.square-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Занимает всю высоту контейнера */
    object-fit: cover; /* Сохраняет пропорции и обрезает изображение, чтобы оно полностью заполнило контейнер */
}

body{
    padding-right: 0!important;
}
.cleanUpCart{
    text-decoration: none;
    margin-bottom: 10px;
    color: black;
}
#cart-inner-item-js{
    /*min-width: 350px;*/
}
.img-food-main-block-item {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-food-main-block-item-modal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-light-my-tabs {
    background-color: #ebebeb;
    padding: 5px;
    margin: 5px;
    margin-left: 0px;
    border-radius: 10px;
}
.btn-light-my-tabs-items{
    background-color: #ebebeb;
    padding: 5px;
    /*margin: 5px;*/
    border-radius: 10px;
}
.page-outer {
    width: 400%;
    padding: 13px;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-light-my:hover {
    background-color: #ebebeb;
}

.btn-light-my:focus {
    outline: none;
    box-shadow: none;
}

.btn-light-my {
    border-radius: 15px;
}

.content {

}
.content-flex,
.open-basket-exit,
.open-basket-enter,
.d-on {
    /* Legacy basket states are intentionally neutralized. */
}
.cart-table{
    width: 100%;
}
.d-none-my {
    opacity: 0;
    pointer-events: none;
}
.basket-outer{
    min-width: 0;
}
.basket {

    border: 0;
}

.basket-inner {
    padding: 0;
}

.tabs {
    margin-top: 20px;
    margin-bottom: 20px;
}

.black-border-focus:focus {
    outline-color: black !important;
    box-shadow: black !important;
}

.cart-item {
    margin-top: 10px;
    align-items: center;
    display: flex;
    gap: 10px;
}
.checkout-button{
    width: 100%;
    border-radius: 10px;
}
.cart-item-inner-description {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}
#map{
    min-height: 400px;
}

.cart-item-inner-description-price {
    display: flex;
    flex-flow: wrap;
}

.cart-inner-desc {
    font-size: 12px;
    width: 150px;
}

.center-bottom {
    display: none;
}

.img-cart-inner {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 10px;
}

a{
    color: black;
}
a:hover{
    color: black;
}

@media only screen and (max-width: 767px) {
    .center-bottom {
        display: block;
        border-radius: 10px;
        min-width: 130px;
        z-index: 1000;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    .content {
        display: block;
    }
    .item-food-main-block {
        /*padding: 10px;*/
    }

    .modal-dialog {
        margin-top: 1rem;
    }

    .modal-row-block {
        height: 100%;
    }

    .btn-none-padding-right {
        padding-right: 0;
    }

    .btn-none-padding-left {
        padding-left: 0;
    }

    .items-page {
        padding-right: 0;
        padding-left: 0;
    }

    .btn-light-my:hover {
        background-color: white;
    }
}
.btn-primary{
    background:#ffb931!important;
    border-color: #dc9d21!important;
}

/* Premium restaurant refresh */
:root {
    --ty-bg: #fff8ef;
    --ty-bg-soft: #fffdf8;
    --ty-text: #20160f;
    --ty-muted: #7c6a5d;
    --ty-border: rgba(80, 42, 20, 0.12);
    --ty-orange: #ff8a1f;
    --ty-orange-deep: #dc5f10;
    --ty-gold: #ffc46b;
    --ty-dark: #22140d;
    --ty-glass: rgba(255, 255, 255, 0.72);
    --ty-glass-strong: rgba(255, 255, 255, 0.88);
    --ty-shadow: 0 24px 70px rgba(86, 45, 15, 0.16);
    --ty-shadow-soft: 0 14px 36px rgba(86, 45, 15, 0.1);
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--ty-text);
    background: linear-gradient(180deg, #fff8ed 0%, #fff3e4 48%, #fffaf4 100%);
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.basket-is-open {
    overflow: hidden;
}

a,
a:hover {
    color: var(--ty-text);
}

.page-outer {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    padding: 16px 20px 38px;
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), filter 0.35s ease;
}

body.basket-is-open .page-outer,
.page-outer.basket-page-dimmed {
    filter: none;
}

.page {
    max-width: 1480px;
    margin: 0 auto;
}

.ticker-wrapper {
    border: 1px solid rgba(255, 138, 31, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 10px 30px rgba(255, 138, 31, 0.08);
    backdrop-filter: blur(18px) saturate(1.2);
}

.ticker span {
    color: var(--ty-muted);
    font-weight: 600;
    letter-spacing: -0.01em;
}

nav {
    position: sticky;
    top: 8px;
    z-index: 1035;
    height: 86px;
}

.nav-row {
    margin-top: 0;
    transition: box-shadow 0.24s ease;
}

.nav-bar-block {
    border: 1px solid var(--ty-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--ty-shadow-soft);
    backdrop-filter: blur(22px) saturate(1.25);
}

.nav-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 13px;
    line-height: 1;
    vertical-align: middle;
}

.nav-action-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.nav-language-btn::after {
    align-self: center;
    margin-left: 1px;
}

.nav-cart-btn {
    position: relative;
}

.btn-light-my,
.btn-light-my-tabs,
.btn-light-my-tabs-items,
.btn-dark,
.btn-primary {
    border: 1px solid rgba(255, 138, 31, 0.2);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(220, 95, 16, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn {
    border-radius: 999px;
}

.btn-light-my {
    color: var(--ty-text);
    background: rgba(255, 255, 255, 0.72);
}

.btn-light-my:hover,
.btn-light-my-tabs:hover,
.btn-light-my-tabs-items:hover {
    color: var(--ty-text);
    background: rgba(255, 244, 224, 0.92);
    border-color: rgba(255, 138, 31, 0.34);
    transform: translateY(-1px);
}

.btn-dark,
.checkout-button,
.btn-add-to-cart {
    border: none !important;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, #b36239, #4b220f 44%, var(--ty-orange-deep)) !important;
}

.btn-dark:hover,
.checkout-button:hover,
.btn-add-to-cart:hover {
    box-shadow: 0 16px 36px rgba(220, 95, 16, 0.24);
    transform: translateY(-1px);
}

.items-page {
    /*padding-right: clamp(18px, 8vw, 15%);*/
    /*padding-left: clamp(18px, 8vw, 15%);*/
}

.items-page > .row {
    --bs-gutter-x: 0;
    margin-right: 0;
    margin-left: 0;
}

.tabs-shell {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 28px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 246, 233, 0.48)),
        radial-gradient(circle at 12% 0%, rgba(255, 196, 107, 0.18), transparent 38%);
    box-shadow: 0 18px 44px rgba(86, 45, 15, 0.1);
    backdrop-filter: blur(24px) saturate(1.18);
    overflow: hidden;
}

.tabs-viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.tabs-shell--scrollable .tabs-viewport::before,
.tabs-shell--scrollable .tabs-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tabs-shell--scrollable .tabs-viewport::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 248, 238, 0.96), transparent);
}

.tabs-shell--scrollable .tabs-viewport::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 248, 238, 0.96), transparent);
}

.tabs-shell--scrollable:not(:has(.tabs-scroll-prev:disabled)) .tabs-viewport::before,
.tabs-shell--scrollable:not(:has(.tabs-scroll-next:disabled)) .tabs-viewport::after {
    opacity: 1;
}

.tabs-scroll-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 138, 31, 0.22);
    border-radius: 999px;
    color: var(--ty-orange-deep, #c45a12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(86, 45, 15, 0.1);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.tabs-scroll-btn:hover:not(:disabled) {
    color: #fff;
    background: linear-gradient(135deg, #ff8c52, var(--ty-orange-deep, #c45a12));
    box-shadow: 0 12px 24px rgba(220, 95, 16, 0.22);
    transform: translateY(-1px);
}

.tabs-scroll-btn:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

.tabs-scroll-btn i {
    font-size: 0.9rem;
}

.tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    scroll-padding-inline: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tabs-shell--scrollable .tabs {
    cursor: grab;
    user-select: none;
}

.tabs.tabs--dragging {
    cursor: grabbing;
}

.tabs-shell--scrollable .tabs a {
    cursor: pointer;
}

.tabs.tabs--dragging a {
    cursor: grabbing;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.btn-light-my-tabs {
    flex: 0 0 auto;
    padding: 10px 18px;
    border-radius: 999px;
    border-color: transparent;
    color: rgba(32, 22, 15, 0.76);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    font-weight: 760;
    white-space: nowrap;
}

.btn-light-my-tabs:hover,
.btn-light-my-tabs.active {
    color: var(--ty-text);
    border-color: rgba(255, 138, 31, 0.18);
    background: rgba(255, 255, 255, 0.82);
    /*box-shadow: 0 12px 28px rgba(86, 45, 15, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);*/
    transform: none;
}

.btn-light-my-tabs.active {
    color: #fff;
    background: linear-gradient(135deg, #ff8c52, #bd8a35 44%, var(--ty-orange-deep)) !important;
    /*box-shadow: 0 14px 30px rgba(220, 95, 16, 0.2);*/
}

.cat-span-block {
    display: inline-block;
    color: var(--ty-text);
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1;
}

.cat-span-block2 {
    display: inline-block;
    max-width: 760px;
    margin-top: 8px;
    color: var(--ty-muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.5;
}

.category-heading-block {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}

.item-food-main-block {
    padding-bottom: 24px;
}

.item-food-main-block-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--ty-border);
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 238, 0.58));
    box-shadow: var(--ty-shadow-soft);
    backdrop-filter: blur(18px) saturate(1.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.item-food-main-block-inner:hover {
    border-color: rgba(255, 138, 31, 0.26);
    box-shadow: var(--ty-shadow);
    transform: translateY(-4px);
}

.catalog-js-ready .catalog-card-reveal:not(.catalog-card-visible) {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
}

.catalog-card-reveal {
    transition: opacity 0.36s ease, transform 0.36s cubic-bezier(.2, .8, .2, 1);
}

.catalog-card-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.img-top-block {
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 196, 107, 0.24), rgba(255, 255, 255, 0.42));
}

.img-top-block::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, rgba(255, 244, 226, 0.25) 8%, rgba(255, 255, 255, 0.86) 18%, rgba(255, 244, 226, 0.25) 33%);
    background-size: 200% 100%;
    animation: productImageShimmer 1.15s linear infinite;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.img-top-block.image-is-loaded::after {
    opacity: 0;
}

.img-food-main-block-item {
    border-radius: 24px;
    transform: scale(1.001);
    transition: transform 0.35s ease;
}

.product-image-loading {
    transition: opacity 0.24s ease, transform 0.35s ease;
}

.product-image-loading.is-loaded {
    opacity: 1;
}

.item-food-main-block-inner:hover .img-food-main-block-item {
    transform: scale(1.045);
}

@keyframes productImageShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.main-item-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 4px 2px;
    text-align: center;
    flex: 1 1 auto;
    width: 100%;
}

.main-item-desc > span {
    min-height: 2.6em;
    color: var(--ty-text);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-align: center;
}

.btn-light-my-tabs-items {
    width: fit-content;
    min-width: 92px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--ty-orange), var(--ty-orange-deep));
}

.catalog-scroll-loader {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    padding: 18px 0 26px;
}

.catalog-loader-card {
    padding: 10px;
    border: 1px solid var(--ty-border);
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 238, 0.58));
    box-shadow: var(--ty-shadow-soft);
}

.catalog-loader-image,
.catalog-loader-line,
.catalog-loader-pill {
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(110deg, rgba(255, 234, 203, 0.55) 8%, rgba(255, 255, 255, 0.95) 18%, rgba(255, 234, 203, 0.55) 33%);
    background-size: 200% 100%;
    animation: productImageShimmer 1.15s linear infinite;
}

.catalog-loader-image {
    aspect-ratio: 1;
    border-radius: 24px;
}

.catalog-loader-line {
    height: 12px;
    margin: 14px auto 0;
    width: 82%;
}

.catalog-loader-line-title {
    height: 16px;
    width: 72%;
}

.catalog-loader-pill {
    width: 86px;
    height: 36px;
    margin: 16px auto 2px;
}

.modal-content {
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 30px;
    background: rgba(255, 252, 247, 0.94);
    box-shadow: var(--ty-shadow);
    backdrop-filter: blur(28px) saturate(1.2);
}

.product-modal-dialog {
    max-width: min(940px, calc(100vw - 28px));
}

.product-modal-content {
    overflow: hidden;
}

.product-modal-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1.05fr);
    min-height: 520px;
}

.product-modal-media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 196, 107, 0.22), transparent 35%),
        rgba(255, 248, 238, 0.72);
}

.product-modal-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(32, 20, 13, 0.22));
    pointer-events: none;
}

.product-modal-media .img-food-main-block-item-modal {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 0;
}

.product-modal-info {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 235, 0.8)),
        radial-gradient(circle at 18% 0%, rgba(255, 196, 107, 0.18), transparent 34%);
}

.product-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
}

.product-modal-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    color: var(--ty-orange-deep);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-modal-info h3 {
    max-width: 92%;
    margin: 0 0 18px;
    color: var(--ty-text);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 0.98;
}

.product-modal-description {
    color: var(--ty-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.product-modal-description p:last-child {
    margin-bottom: 0;
}

.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

.product-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(80, 42, 20, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 28px rgba(86, 45, 15, 0.09);
}

.product-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    color: var(--ty-text);
    background: rgba(255, 244, 224, 0.88);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.product-qty-btn-plus {
    color: #fff;
    background: linear-gradient(135deg, var(--ty-orange), var(--ty-orange-deep));
    box-shadow: 0 10px 20px rgba(220, 95, 16, 0.22);
}

.product-qty-count {
    min-width: 24px;
    text-align: center;
    color: var(--ty-text);
    font-size: 1.05rem;
    font-weight: 850;
}

.product-modal-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: 22px;
}

.modal-description-block {
    padding: 18px;
}

.img-food-main-block-item-modal {
    min-height: 424px;
    border-radius: 0 0 28px 0;
}

.btn-close-modal,
.cart-qty-btn,
.basket-close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(80, 42, 20, 0.1);
    color: var(--ty-text);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 22px rgba(86, 45, 15, 0.1);
    backdrop-filter: blur(16px);
}

.btn-close-modal {
    border-radius: 999px;
    opacity: 1;
}

.btn-close-modal::before {
    content: "\00d7";
    color: currentColor;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1;
    transform: translateY(-1px);
}

.basket-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 138, 31, 0.18), transparent 28%),
        rgba(22, 12, 7, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(0);
    transition: opacity 0.32s ease, visibility 0.32s ease, backdrop-filter 0.32s ease;
}

.basket-backdrop.basket-is-open {
    width: 100vw !important;
    height: 100dvh !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.basket-backdrop.basket-is-closing {
    visibility: visible;
}

.basket {
    position: fixed;
    top: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
    width: min(430px, calc(100vw - 32px));
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 34px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 235, 0.76)),
        radial-gradient(circle at 8% 0%, rgba(255, 196, 107, 0.32), transparent 34%);
    box-shadow: 0 30px 90px rgba(33, 18, 8, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(36px, 0, 0) scale(0.975);
    transition: transform 0.34s cubic-bezier(.2, .8, .2, 1), opacity 0.28s ease, visibility 0.34s ease;
    backdrop-filter: blur(30px) saturate(1.24);
    overflow: hidden;
}

.basket::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 138, 31, 0.2), transparent 66%);
    z-index: 0;
    pointer-events: none;
}

.basket.basket-is-open {
    display: block !important;
    right: 16px !important;
    left: auto !important;
    width: min(430px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    opacity: 1;
    visibility: visible !important;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1) !important;
}

.basket.basket-is-closing {
    visibility: visible;
}

.basket-hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.basket-outer {
    min-width: 0;
    height: 100%;
}

.basket-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
    overflow: hidden;
}

.basket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.basket-eyebrow {
    display: inline-flex;
    margin-bottom: 5px;
    color: var(--ty-orange-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.basket-header h5 {
    margin: 0;
    color: var(--ty-text);
    font-size: 2rem;
    font-weight: 780;
    letter-spacing: -0.055em;
}

.basket-close-button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
}

.mobile-cart-modal-content {
    border-radius: 30px;
}

.mobile-cart-modal-body {
    padding: 20px;
}

.mobile-cart-header {
    margin-bottom: 16px;
}

.mobile-cart-header h5 {
    margin: 0;
    color: var(--ty-text);
    font-size: 1.85rem;
    font-weight: 820;
    letter-spacing: -0.055em;
}

#cart-inner-item-js,
#cart-inner-item-js-mobile {
    min-width: 0;
}

#cart-inner-item-js {
    overflow-y: auto;
    padding-right: 4px;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.cleanUpCart {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(220, 95, 16, 0.16);
    border-radius: 999px;
    color: var(--ty-orange-deep);
    background: rgba(255, 244, 224, 0.78);
    font-size: 0.85rem;
    font-weight: 700;
}

.cart-items-list {
    display: grid;
    gap: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    padding: 10px;
    border: 1px solid rgba(80, 42, 20, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 10px 28px rgba(86, 45, 15, 0.08);
}

.img-cart-inner {
    width: 68px;
    height: 68px;
    border-radius: 18px;
}

.cart-inner-desc {
    width: auto;
    color: var(--ty-text);
    font-size: 0.96rem;
    font-weight: 720;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

.cart-item-inner-description-price {
    margin-top: 4px;
    color: var(--ty-orange-deep);
    font-weight: 800;
}

.count-inner-cart-block {
    gap: 7px;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.cart-qty-btn-plus {
    color: #fff;
    background: linear-gradient(135deg, var(--ty-orange), var(--ty-orange-deep));
}

.cart-qty-count {
    min-width: 18px;
    text-align: center;
    color: var(--ty-text);
    font-weight: 800;
}

.cart-total-card {
    display: grid;
    gap: 9px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 138, 31, 0.16);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 247, 233, 0.9), rgba(255, 255, 255, 0.76));
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--ty-muted);
    font-size: 0.94rem;
}

.cart-total-row strong {
    color: var(--ty-text);
}

.cart-total-row-main {
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid rgba(80, 42, 20, 0.1);
    color: var(--ty-text);
    font-size: 1.08rem;
    font-weight: 800;
}

.checkout-button {
    width: 100%;
    min-height: 52px;
    margin-top: 14px;
    border-radius: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.cart-empty {
    display: grid;
    place-items: center;
    min-height: 300px;
    padding: 28px;
    border: 1px dashed rgba(220, 95, 16, 0.24);
    border-radius: 28px;
    color: var(--ty-muted);
    background: rgba(255, 248, 238, 0.62);
    text-align: center;
}

.cart-empty p {
    margin: 14px 0 0;
    font-weight: 700;
}

.cart-empty-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(135deg, var(--ty-orange), var(--ty-orange-deep));
    box-shadow: 0 16px 34px rgba(220, 95, 16, 0.28);
}

.center-bottom {
    letter-spacing: 0.02em;
    font-weight: 850;
}

.center-bottom i {
    margin-right: 7px;
}

#cartcount {
    position: absolute;
    top: 5px;
    right: 6px;
    display: inline-grid;
    place-items: center;
    min-width: 16px;
    height: 16px;
    margin-left: 0;
    padding: 0 4px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    color: #fff;
    background: var(--ty-orange-deep);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.62rem !important;
    font-weight: 850;
    line-height: 1;
}

.cart-processing {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.cart-processing > span {
    color: var(--ty-muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Extra polish pass: consistent radii, richer glass and stable floating actions. */
.btn,
button {
    border-radius: 999px;
}

.dropdown-menu,
.form-control,
.form-select,
.input-group-text {
    border-radius: 18px;
}

.btn-light-my,
.btn-light-my-tabs,
.btn-light-my-tabs-items,
.btn-dark,
.btn-primary,
.checkout-button,
.btn-add-to-cart {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-light-my::after,
.btn-light-my-tabs::after,
.btn-light-my-tabs-items::after,
.btn-dark::after,
.btn-primary::after,
.checkout-button::after,
.btn-add-to-cart::after {
    /*content: "";*/
    /*position: absolute;*/
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.btn:focus,
.btn:active,
.form-control:focus,
.form-select:focus {
    border-color: rgba(255, 138, 31, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.14);
}

.btn-light-my,
.btn-none-padding-left,
.btn-none-padding-right {
    min-width: 44px;
    min-height: 44px;
}

.nav-bar-block img {
    filter: drop-shadow(0 10px 18px rgba(86, 45, 15, 0.12));
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-link img {
    height: 50px;
    width: auto;
}

.dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.62);
    padding: 8px;
    background: rgba(255, 252, 247, 0.9);
    box-shadow: var(--ty-shadow-soft);
    backdrop-filter: blur(24px) saturate(1.2);
}

.dropdown-item {
    border-radius: 12px;
    color: var(--ty-text);
    font-weight: 700;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--ty-text);
    background: rgba(255, 138, 31, 0.12);
}

.item-food-main-block-inner::before,
.basket::before,
.modal-content::before,
.cart-total-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 34%),
        radial-gradient(circle at 18% 0%, rgba(255, 196, 107, 0.18), transparent 38%);
    opacity: 0.85;
}

.item-food-main-block-inner,
.modal-content,
.cart-total-card {
    position: relative;
}

.item-food-main-block-inner > *,
.basket > *,
.modal-content > *,
.cart-total-card > * {
    position: relative;
    z-index: 1;
}

.basket {
    position: fixed !important;
}

.basket.basket-is-open {
    z-index: 1100 !important;
}

.btn-food-add-main {
    margin-top: auto;
    margin-bottom: 0;
    align-self: center;
}

.btn-food-add-main,
.btn-add-to-cart,
.checkout-button {
    min-height: 46px;
    font-weight: 850;
}

.btn-light-my-tabs-items {
    box-shadow: 0 14px 26px rgba(220, 95, 16, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cart-item {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cart-item:hover {
    border-color: rgba(255, 138, 31, 0.18);
    box-shadow: 0 16px 34px rgba(86, 45, 15, 0.12);
    transform: translateY(-1px);
}

.cart-qty-btn:hover,
.basket-close-button:hover,
.btn-close-modal:hover {
    box-shadow: 0 14px 28px rgba(86, 45, 15, 0.14);
    transform: translateY(-1px);
}

.form-control,
.form-select,
.input-group-text {
    border: 1px solid rgba(80, 42, 20, 0.12);
    background-color: rgba(255, 255, 255, 0.76);
    color: var(--ty-text);
}

.modal-body {
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 196, 107, 0.16), transparent 34%),
        rgba(255, 252, 247, 0.84);
}

.contact-modal-body {
    padding: 24px;
}

.contact-modal-header {
    position: relative;
    margin-bottom: 20px;
    padding-right: 52px;
}

.contact-modal-eyebrow {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--ty-orange-deep);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-modal-header h3 {
    margin: 0;
    color: var(--ty-text);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 0.95;
}

.contact-modal-close {
    position: absolute;
    top: 0;
    right: 0;
}

.contact-modal-grid {
    display: grid;
    gap: 12px;
}

.contact-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(80, 42, 20, 0.09);
    border-radius: 22px;
    color: var(--ty-text);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 32px rgba(86, 45, 15, 0.09);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    color: var(--ty-text);
    border-color: rgba(255, 138, 31, 0.24);
    box-shadow: 0 18px 40px rgba(86, 45, 15, 0.13);
    transform: translateY(-1px);
}

.contact-card-primary {
    background:
        linear-gradient(145deg, rgba(255, 246, 230, 0.92), rgba(255, 255, 255, 0.74)),
        radial-gradient(circle at 8% 0%, rgba(255, 138, 31, 0.16), transparent 40%);
}

.contact-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--ty-orange), var(--ty-orange-deep));
    box-shadow: 0 12px 24px rgba(220, 95, 16, 0.22);
}

.contact-card-content {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.contact-card-label {
    color: var(--ty-muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card strong,
.contact-card a {
    color: var(--ty-text);
    font-size: 0.98rem;
    font-weight: 780;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-modal-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 16px;
}

.contact-action-main,
.contact-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    gap: 9px;
}

.contact-action-secondary {
    padding: 0 18px;
    border: 1px solid rgba(80, 42, 20, 0.1);
    border-radius: 999px;
    color: var(--ty-text);
    background: rgba(255, 255, 255, 0.76);
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(86, 45, 15, 0.08);
}

.contact-action-secondary:hover {
    color: var(--ty-text);
    background: rgba(255, 244, 224, 0.92);
}

.contact-modal-note {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 138, 31, 0.14);
    border-radius: 20px;
    color: var(--ty-muted);
    background: rgba(255, 248, 238, 0.7);
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.5;
}

.checkout-modal-form {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
    min-height: 560px;
}

.checkout-map-panel {
    min-height: 560px;
    overflow: hidden;
    background: rgba(255, 248, 238, 0.72);
}

.checkout-map-panel #map {
    width: 100%;
    height: 100%;
    min-height: 560px;
}

.checkout-form-panel,
.checkout-auth-required {
    position: relative;
    padding: 26px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 235, 0.78)),
        radial-gradient(circle at 14% 0%, rgba(255, 196, 107, 0.18), transparent 34%);
}

.checkout-modal-header {
    position: relative;
    padding-right: 52px;
    margin-bottom: 18px;
}

.checkout-modal-eyebrow {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--ty-orange-deep);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.checkout-modal-header h3,
.checkout-auth-required h3 {
    margin: 0;
    color: var(--ty-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 0.96;
}

.checkout-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.checkout-location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 138, 31, 0.18);
    border-radius: 999px;
    color: var(--ty-text);
    background: rgba(255, 244, 224, 0.78);
    font-weight: 850;
    box-shadow: 0 12px 26px rgba(86, 45, 15, 0.08);
}

.checkout-field {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
}

.checkout-field label {
    color: var(--ty-muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-field .form-control {
    min-height: 48px;
    border-radius: 17px;
}

.checkout-field textarea.form-control {
    min-height: 88px;
    resize: vertical;
}

.checkout-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkout-payment-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.checkout-payment-actions .btn {
    min-height: 50px;
}

.checkout-auth-required {
    display: grid;
    min-height: 420px;
    align-content: center;
    padding: 48px;
    text-align: left;
}

.checkout-auth-required p {
    max-width: 520px;
    margin: 16px 0 0;
    color: var(--ty-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.checkout-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.checkout-auth-actions .btn,
.checkout-auth-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
}

.checkout-auth-secondary {
    border: 1px solid rgba(80, 42, 20, 0.1);
    color: var(--ty-text);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 26px rgba(86, 45, 15, 0.08);
}

/* Mobile restoration: keep core UX stable while preserving the premium styling. */
@media only screen and (max-width: 767px) {
    body {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }

    .page-outer {
        padding: 10px 10px calc(118px + env(safe-area-inset-bottom));
    }

    nav {
        position: sticky;
        top: 8px;
        z-index: 1035;
        height: 72px;
    }

    .ticker-wrapper {
        margin: 4px 2px 10px;
        padding: 10px 16px;
        border-radius: 28px;
    }

    .ticker span {
        display: block;
        padding: 0 8px;
        font-size: 1rem;
        line-height: 1.35;
    }

    .nav-row {
        margin-top: 0;
        transition: box-shadow 0.24s ease;
    }

    .nav-bar-block {
        padding: 6px 10px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 16px 42px rgba(86, 45, 15, 0.15);
    }

    .nav-bar-block img {
        height: 42px !important;
    }

    .tabs {
        gap: 5px;
        scroll-padding-inline: 8px;
    }

    .tabs-shell {
        gap: 4px;
        margin-top: 12px;
        margin-bottom: 26px;
        padding: 7px;
        border-radius: 24px;
    }

    .tabs-scroll-btn {
        width: 34px;
        height: 34px;
    }

    .btn-light-my-tabs {
        min-height: 44px;
        padding: 10px 15px;
    }

    .center-bottom {
        display: inline-flex !important;
        position: fixed !important;
        overflow: visible !important;
        isolation: auto;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: calc(18px + env(safe-area-inset-bottom)) !important;
        z-index: 1030;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 148px;
        min-height: 54px;
        padding: 0 22px;
        border-radius: 999px;
        transform: translate3d(-50%, 0, 0) !important;
        box-shadow: 0 20px 48px rgba(33, 18, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    .center-bottom:hover,
    .center-bottom:focus {
        transform: translate3d(-50%, -2px, 0) !important;
    }

    .center-bottom:active {
        transform: translate3d(-50%, 0, 0) scale(0.98) !important;
    }

    .center-bottom i {
        margin-right: 0;
    }

    .mobile-cart-count {
        position: absolute;
        top: -10px;
        right: 10px;
        z-index: 2;
        display: grid;
        place-items: center;
        min-width: 24px;
        height: 24px;
        padding: 0 6px;
        border: 2px solid rgba(255, 250, 242, 0.96);
        border-radius: 999px;
        color: #fff;
        background: linear-gradient(135deg, #ff8a1f, #d84f0c);
        box-shadow: 0 8px 18px rgba(216, 79, 12, 0.32);
        font-size: 0.72rem;
        font-weight: 900;
        line-height: 1;
    }

    .mobile-cart-count.is-empty {
        transform: scale(0);
        opacity: 0;
    }

    .item-food-main-block {
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 18px;
    }

    .item-food-main-block-inner {
        min-height: 100%;
        box-shadow: 0 14px 34px rgba(86, 45, 15, 0.11);
    }

    .main-item-desc {
        min-height: 128px;
    }

    .product-card-title {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        min-height: 2.5em;
    }

    .catalog-sale-ribbon {
        top: 5px;
        left: 5px;
        padding: 0.08rem 0.28rem;
        font-size: 0.48rem;
        border-radius: 5px;
    }

    .product-price-wrap--card .product-price-original {
        font-size: 0.68em;
    }

    .product-price-wrap--card .product-price-current {
        font-size: 0.9em;
    }

    .btn-food-add-main,
    .has-product-sale .btn-food-add-main {
        min-height: 40px;
        height: 40px;
        padding: 0 11px;
    }

    .main-item-desc > span {
        min-height: 3.2em;
        font-weight: 800;
    }

    .btn-light-my-tabs-items {
        min-width: 82px;
        min-height: 42px;
        padding: 8px 13px;
    }

    .catalog-scroll-loader {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
        padding-bottom: 18px;
    }

    .catalog-loader-card:nth-child(n + 9) {
        display: none;
    }

    .product-modal-dialog {
        max-width: calc(100vw - 20px);
        margin: 0.75rem auto;
    }

    .product-modal-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .product-modal-media,
    .product-modal-media .img-food-main-block-item-modal {
        min-height: 280px;
        height: 280px;
    }

    .product-modal-info {
        padding: 22px;
    }

    .product-modal-info h3 {
        max-width: calc(100% - 42px);
    }

    .contact-modal-body {
        padding: 20px;
    }

    .contact-modal-actions {
        grid-template-columns: 1fr;
    }

    .checkout-modal-form {
        grid-template-columns: 1fr;
    }

    .checkout-map-panel,
    .checkout-map-panel #map {
        min-height: 260px;
    }

    .checkout-form-panel,
    .checkout-auth-required {
        padding: 22px;
    }

    .checkout-field-grid,
    .checkout-payment-actions {
        grid-template-columns: 1fr;
    }

    #cart-inner-item-js-mobile {
        padding: 0;
    }

    #cart-inner-item-js-mobile .cart-item {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    #cart-inner-item-js-mobile .cart-item .count-inner-cart-block {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    #cart-inner-item-js-mobile .img-cart-inner {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.seo-hero {
    padding: 34px 15% 18px;
}

.seo-hero-inner {
    padding: 26px;
    border: 1px solid rgba(96, 56, 28, 0.12);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(250, 235, 215, 0.58));
    box-shadow: 0 18px 48px rgba(86, 45, 15, 0.1);
}

.seo-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #7b5636;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seo-hero h1 {
    margin: 0 0 10px;
    color: #23170f;
    font-size: clamp(1.65rem, 3.8vw, 3rem);
    font-weight: 900;
    line-height: 1.08;
}

.seo-hero p {
    max-width: 980px;
    margin: 0;
    color: #4a372a;
    font-size: 1.03rem;
    line-height: 1.65;
}

.seo-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.seo-quick-links a,
.seo-quick-links span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #20150f;
    background: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
}

.product-card-title {
    display: block;
    min-height: 3.2em;
    color: #1e1712;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.product-card-title:hover,
.product-modal-details-link:hover {
    color: #9a5a1c;
}

.product-card-summary {
    display: -webkit-box;
    min-height: 3.9em;
    margin: 7px 0 0;
    overflow: hidden;
    color: #6b5a4d;
    font-size: 0.86rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-modal-details-link {
    display: inline-flex;
    margin-bottom: 12px;
    color: #6f441e;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 991px) {
    .seo-hero {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 767px) {
    .page {
        display: flex;
        flex-direction: column;
    }

    .items-page {
        order: 1;
    }

    .seo-hero {
        order: 2;
        padding: 16px 3px 24px;
    }

    .seo-hero-inner {
        padding: 20px;
        border-radius: 22px;
    }

    .seo-quick-links {
        gap: 8px;
    }

    .seo-quick-links a,
    .seo-quick-links span {
        width: 100%;
        justify-content: center;
    }

    .product-card-summary {
        display: none;
    }
}

.product-page {
    padding: 34px 15% 56px;
}

.product-page-card {
    padding: 26px;
    border: 1px solid rgba(96, 56, 28, 0.12);
    border-radius: 30px;
    background: #fffaf2;
    box-shadow: 0 18px 48px rgba(86, 45, 15, 0.12);
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #80634f;
    font-size: 0.92rem;
    font-weight: 800;
}

.product-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.product-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: center;
}

.product-page-media {
    overflow: hidden;
    border-radius: 26px;
    background: #f6eadb;
}

.product-page-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-page-info h1 {
    margin: 0 0 12px;
    color: #20150f;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.02;
}

.product-page-price {
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
    margin-bottom: 16px;
    padding: 9px 15px;
    border-radius: 999px;
    color: #fff;
    background: #1f1711;
    font-size: 1.15rem;
    font-weight: 900;
}

.product-page-price--sale {
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    background: linear-gradient(135deg, #2a1810 0%, #1f1711 55%, #3a1f12 100%);
    box-shadow: 0 10px 24px rgba(220, 95, 16, 0.18);
}

.product-price-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.product-price-group {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.product-price-original {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88em;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.product-price-current {
    color: inherit;
    font-weight: 900;
}

.product-sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a1f 0%, #e85d04 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-shadow: 0 6px 14px rgba(232, 93, 4, 0.28);
}

.product-sale-badge--compact {
    min-width: auto;
    font-size: 0.68rem;
    padding: 0.14rem 0.38rem;
}

.btn-food-add-main .product-price-original,
.product-modal-add .product-price-original {
    color: rgba(255, 255, 255, 0.72);
}

.btn-food-add-main .product-price-current,
.btn-food-add-main .product-price-currency,
.btn-food-add-main .product-price-plus,
.product-modal-add .product-price-current,
.product-modal-add .product-price-currency,
.product-modal-add .product-price-plus {
    color: #fff;
}

.product-page-price--sale .product-price-original,
.cart-item-inner-description-price .product-price-original,
.related-product-card .product-price-original {
    color: rgba(79, 61, 48, 0.58);
}

.product-page-price--sale .product-price-current,
.cart-item-inner-description-price .product-price-current,
.related-product-card .product-price-current {
    color: #c2410c;
}

.product-price-wrap--card {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.2rem;
    white-space: nowrap;
}

.product-price-group--inline {
    flex-wrap: nowrap;
    gap: 0.3rem;
    align-items: baseline;
}

.product-price-wrap--card .product-price-original {
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
}

.product-price-wrap--card .product-price-current {
    font-size: 0.96em;
    line-height: 1;
}

.product-price-wrap--card .product-price-currency {
    font-weight: 900;
}

.product-price-plus {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0.1rem;
    font-size: 0.9em;
}

.btn-food-add-main,
.has-product-sale .btn-food-add-main {
    margin-top: auto;
    width: auto;
    max-width: 100%;
    min-height: 42px;
    height: 42px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.product-price-wrap--modal {
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.product-price-wrap--related {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.product-price-wrap--related .product-price-original {
    font-size: 0.82rem;
}

.product-price-wrap--related .product-price-current {
    font-size: 1rem;
}

.product-price-wrap--cart {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.product-price-wrap--cart .product-price-original {
    font-size: 0.78rem;
}

.product-price-wrap--cart .product-price-current {
    font-size: 0.98rem;
    font-weight: 900;
}

.has-product-sale .item-food-main-block-inner {
    box-shadow: 0 0 0 2px rgba(255, 138, 31, 0.35), 0 18px 36px rgba(86, 45, 15, 0.12);
}

.catalog-sale-ribbon {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.12rem 0.34rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff8a1f 0%, #e85d04 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.28);
    pointer-events: none;
}

.product-page-description {
    color: #4f3d30;
    font-size: 1.03rem;
    line-height: 1.7;
}

.product-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
}

.product-page-secondary {
    color: #5e3f27;
    font-weight: 900;
    text-decoration: none;
}

.related-products {
    margin-top: 34px;
}

.related-products h2 {
    margin-bottom: 18px;
    font-size: 1.6rem;
    font-weight: 900;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.related-product-card {
    overflow: hidden;
    border-radius: 22px;
    color: #20150f;
    background: #fff;
    box-shadow: 0 12px 30px rgba(86, 45, 15, 0.1);
    text-decoration: none;
}

.related-product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.related-product-card span,
.related-product-card strong {
    display: block;
    padding: 0 14px;
}

.related-product-card span {
    min-height: 3.4em;
    padding-top: 12px;
    font-weight: 800;
    line-height: 1.28;
}

.related-product-card strong {
    padding-bottom: 14px;
}

@media (max-width: 991px) {
    .product-page {
        padding-right: 24px;
        padding-left: 24px;
    }

    .product-page-grid,
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .product-page {
        padding: 22px 13px 92px;
    }

    .product-page-card {
        padding: 18px;
        border-radius: 24px;
    }

    .product-page-grid,
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

body.product-search-open {
    overflow: hidden;
}

.nav-search-btn {
    margin-left: 4px;
    position: relative;
    overflow: hidden;
}

.nav-search-btn::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 138, 31, 0.24), transparent 70%);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
}

.nav-search-btn:hover::after,
.nav-search-btn:focus-visible::after {
    opacity: 1;
    transform: scale(1.15);
}

.product-search-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 196, 107, 0.22), transparent 28%),
        rgba(22, 12, 7, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(0);
    transition: opacity 0.32s ease, visibility 0.32s ease, backdrop-filter 0.32s ease;
}

.product-search-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(12px);
}

.product-search-backdrop.is-closing {
    visibility: visible;
}

.product-search-panel {
    position: fixed;
    inset: 0;
    z-index: 1070;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 88px 18px 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -12px, 0) scale(0.985);
    transition: transform 0.34s cubic-bezier(.2, .8, .2, 1), opacity 0.28s ease, visibility 0.34s ease;
}

.product-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.product-search-panel.is-closing {
    visibility: visible;
}

.product-search-shell {
    width: min(760px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 34px;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 235, 0.82)),
        radial-gradient(circle at 0% 0%, rgba(255, 196, 107, 0.28), transparent 34%);
    box-shadow: 0 34px 100px rgba(33, 18, 8, 0.24);
    backdrop-filter: blur(28px) saturate(1.22);
    overflow: hidden;
    animation: product-search-shell-in 0.42s cubic-bezier(.2, .8, .2, 1);
}

@keyframes product-search-shell-in {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.product-search-header,
.product-search-field,
.product-search-meta,
.product-search-results {
    padding-left: 22px;
    padding-right: 22px;
}

.product-search-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 14px;
}

.product-search-eyebrow {
    display: block;
    color: var(--ty-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-search-title-wrap h2 {
    margin: 4px 0 0;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.product-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 138, 31, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ty-text);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.product-search-close:hover,
.product-search-close:focus-visible {
    transform: translateY(-1px) rotate(90deg);
    background: rgba(255, 244, 224, 0.96);
    border-color: rgba(255, 138, 31, 0.34);
}

.product-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 22px 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 138, 31, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.product-search-field:focus-within {
    border-color: rgba(255, 138, 31, 0.42);
    box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.12);
    transform: translateY(-1px);
}

.product-search-field-icon {
    color: var(--ty-orange-deep);
    font-size: 1rem;
}

.product-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--ty-text);
    font-size: 1.05rem;
    font-weight: 600;
    outline: none;
}

.product-search-input::placeholder {
    color: rgba(124, 106, 93, 0.78);
    font-weight: 500;
}

.product-search-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 6px 10px;
    border: 1px solid rgba(80, 42, 20, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ty-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-search-kbd--desktop {
    display: none;
}

.product-search-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    color: var(--ty-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.product-search-results {
    max-height: min(52vh, 520px);
    padding-top: 8px;
    padding-bottom: 18px;
    overflow: auto;
}

.product-search-results.is-loading {
    opacity: 0.72;
}

.product-search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 8px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.42);
    color: inherit;
    text-align: left;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    animation: product-search-item-in 0.34s ease both;
}

.product-search-item:nth-child(2) { animation-delay: 0.03s; }
.product-search-item:nth-child(3) { animation-delay: 0.06s; }
.product-search-item:nth-child(4) { animation-delay: 0.09s; }
.product-search-item:nth-child(5) { animation-delay: 0.12s; }

@keyframes product-search-item-in {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.product-search-item:hover,
.product-search-item.is-active {
    transform: translateY(-1px);
    border-color: rgba(255, 138, 31, 0.24);
    background: rgba(255, 247, 235, 0.92);
    box-shadow: 0 14px 30px rgba(86, 45, 15, 0.08);
}

.product-search-item-media {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 244, 224, 0.9);
}

.product-search-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-search-item-media--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ty-orange-deep);
    font-size: 1.2rem;
}

.product-search-item-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-search-item-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.product-search-item-title mark {
    padding: 0;
    border-radius: 4px;
    background: rgba(255, 196, 107, 0.42);
    color: inherit;
}

.product-search-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ty-muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.product-search-item-action {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 138, 31, 0.12);
    color: var(--ty-orange-deep);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.product-search-item-action--muted {
    background: rgba(124, 106, 93, 0.1);
    color: var(--ty-muted);
}

.product-search-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 8px 12px;
    text-align: center;
}

.product-search-empty strong {
    font-size: 1.05rem;
}

.product-search-empty span {
    color: var(--ty-muted);
    font-size: 0.92rem;
}

@media (min-width: 768px) {
    .product-search-kbd--desktop {
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    .product-search-panel {
        padding-top: 72px;
    }

    .product-search-shell {
        border-radius: 28px;
    }

    .product-search-header,
    .product-search-field,
    .product-search-meta,
    .product-search-results {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-search-field {
        margin-left: 16px;
        margin-right: 16px;
    }

    .product-search-item {
        align-items: flex-start;
    }

    .product-search-item-action {
        display: none;
    }
}
