@font-face {
    font-family: Inter;
    src: url("../storefront/fonts/InterVariable.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: Caveat;
    src: url("../storefront/fonts/CaveatVariable.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --surface: #ecf0f1;
    --ink: #2c3e50;
    --muted: #526373;
    --accent: #961f49;
    --accent-hover: #761638;
    --rule: #bcc8cc;
    --radius: 12px;
    --gutter: clamp(16px, 5vw, 36px);
    --shell: 1680px;
    --section-gap: 36px;
    --section-title: clamp(20px, 6vw, 25px);
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.45;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
:target { scroll-margin-top: 20px; }

.shell {
    width: min(var(--shell), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.site-header {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.site-brand, .header-actions {
    display: flex;
    align-items: center;
    flex: none;
    gap: 4px;
}

.site-brand { gap: clamp(6px, 2.8vw, 11px); }
.site-brand a { width: clamp(114px, 41.1vw, 184px); }
.site-brand a img, .site-brand__halal { width: 100%; }
.site-brand__halal { width: clamp(26px, 8.9vw, 32px); }
.site-navigation { display: none; }

.site-navigation a, .menu-links a { text-decoration: none; }

.site-navigation button, .menu-links button {
    background: transparent;
    border: 0;
    padding: 0;
    text-align: start;
    font-weight: inherit;
}

.site-navigation :is(a, button):hover, .menu-links :is(a, button):hover { color: var(--accent); }

.icon-button {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    text-decoration: none;
}

.icon-button:hover { background: #dfe6e8; }
.cart-link { position: relative; }
.cart-link img { width: 28px; }
.cart-badge {
    position: absolute;
    inset: 0 0 auto auto;
    background: var(--accent);
    color: white;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 700;
    min-width: 18px;
    padding: 1px 3px;
    border-radius: 100px;
    text-align: center;
}

.menu-toggle span {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
}

.hero {
    --hero-scale: .95;
    display: grid;
    padding-top: calc(33px * var(--hero-scale) - 8px);
}

.hero__copy {
    position: relative;
    z-index: 1;
    padding-inline: min(5vw, 18px) 0;
    font-family: Caveat, cursive;
}

.hero h1 {
    font-size: calc(clamp(43px, 15vw, 65px) * var(--hero-scale));
    font-weight: 700;
    line-height: .93;
}

.hero h1 span { display: block; }

.hero__offer {
    margin-top: 10px;
    font-size: calc(clamp(25px, 8.6vw, 38px) * var(--hero-scale));
    font-weight: 700;
    line-height: 1.02;
}

.hero__description {
    margin-top: 8px;
    color: var(--muted);
    font-size: calc(clamp(18px, 6.1vw, 24px) * var(--hero-scale));
    line-height: 1.06;
}

.hero__portrait { justify-self: center; }
.hero__portrait img { width: 100%; }

@media (prefers-reduced-motion: no-preference) {
    .reveal-pending:not(:focus-within) { opacity: 0; }
    .reveal-visible { animation: content-enter 450ms ease-out; }
    .reveal-visible:is(.category-card, .product-card) {
        animation-duration: 320ms;
        animation-delay: var(--card-reveal-delay, 0ms);
        animation-fill-mode: backwards;
    }
}

@keyframes content-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.hero__contacts { display: none; }
.phone-link { text-decoration: none; font-weight: 600; white-space: nowrap; }
.phone-link:hover { text-decoration: underline; }

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.social-links a:hover { background: #dfe6e8; }
.social-links img { width: 36px; }

.page-section {
    position: relative;
    padding-top: 16px;
    padding-bottom: var(--section-gap);
}

.page-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: var(--rule);
}

.section-title, .page-heading h1 {
    font-size: var(--section-title);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.015em;
}

.section-title { margin-bottom: clamp(17px, 2vw, 25px); text-align: center; }

.catalog { padding-bottom: calc(var(--section-gap) + 8px); }
.category-grid, .gallery-grid, .product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(14px, 2.35vw, 36px);
}

.category-card { margin: 0; min-width: 0; }

.category-card button {
    display: grid;
    position: relative;
    align-items: end;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 324 / 201;
    border: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
    color: white;
    text-align: start;
}

.category-card__photo, .category-card button::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-card__photo { z-index: -2; object-fit: cover; }
.category-card button::before {
    content: "";
    z-index: -1;
    background: linear-gradient(180deg, transparent 40%, rgb(12 17 22 / 28%) 65%, rgb(8 9 10 / 89%));
}
.category-card button:hover::before {
    background: linear-gradient(180deg, transparent 30%, rgb(12 17 22 / 42%) 65%, rgb(8 9 10 / 94%));
}

.category-card__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: clamp(12px, 1.32vw, 25px);
    font-size: clamp(17px, 6vw, 22px);
    line-height: 1.14;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.category-card__label img { width: clamp(24px, 2vw, 36px); flex: none; }

.about__body { display: grid; gap: 14px; }
.about__copy { color: var(--muted); line-height: 1.4; }
.about__intro {
    margin-bottom: clamp(16px, 3vw, 24px);
    color: var(--ink);
    font-size: 19px;
    font-weight: 600;
}
.about__details { display: none; }
.about__portrait { width: 100%; border-radius: var(--radius); }

.questions { text-align: center; padding-bottom: clamp(28px, 4.4vw, 45px); }
.questions .section-title { margin-bottom: 18px; }
.questions__intro { color: var(--muted); font-size: 15px; line-height: 1.4; }
.questions .phone-link {
    display: inline-block;
    margin-block: 8px 5px;
    font-size: clamp(18px, 1.45vw, 28px);
}
.questions .social-links img { width: clamp(32px, 2.2vw, 42px); }
.questions__form { width: min(100%, 424px); margin: 14px auto 0; }

.store-form { display: grid; gap: 10px; position: relative; }
.form-field { display: grid; gap: 5px; min-width: 0; text-align: start; }

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: #fff;
}
.form-control::placeholder { color: var(--muted); opacity: 1; }
textarea.form-control { min-height: 94px; resize: vertical; }

.consent-field {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: start;
    text-align: start;
    font-size: clamp(13px, 1vw, 16px);
    color: var(--muted);
}
.consent-field input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--accent);
}
.consent-field a { color: var(--accent); }
.errorlist { padding-inline-start: 1.2em; margin: 0; color: var(--accent); }

.button-primary {
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
}
.button-primary:hover { background: var(--accent-hover); }

.site-footer {
    background: var(--ink);
    color: #e4eaeb;
    font-size: clamp(14px, .94vw, 18px);
}
.site-footer__inner { display: grid; gap: 14px; padding-block: 20px; }
.site-footer nav { display: grid; gap: 5px; }
.site-footer a { color: white; font-weight: 550; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible { outline-color: white; }

.store-dialog {
    width: min(calc(100% - 32px), 540px);
    max-height: calc(100dvh - 32px);
    padding: clamp(16px, 4vw, 28px);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
}

.store-dialog::backdrop { background: rgb(20 31 42 / 55%); }
body:has(dialog:modal) { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
    .store-dialog:modal {
        animation: dialog-enter 200ms ease-out;
    }
    .store-dialog:modal::backdrop {
        animation: backdrop-enter 200ms ease-out;
    }
}

@keyframes dialog-enter {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: none; }
}

@keyframes backdrop-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dialog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
.dialog-heading h2, .notification-dialog h2 { font-size: clamp(22px, 5vw, 28px); line-height: 1.2; }
.dialog-heading--centered {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 0;
}
.dialog-heading--centered h2 { grid-column: 2; text-align: center; }
.close-dialog { font-size: 25px; }
.notification-dialog {
    position: fixed;
    inset: 0;
    width: min(calc(100% - 32px), 420px);
    height: fit-content;
    margin: auto;
    text-align: center;
}
.notification-dialog ul {
    display: grid;
    gap: 8px;
    margin: 10px 0 16px;
    padding: 0;
    list-style: none;
}
.notification-dialog .danger { color: var(--accent); }
.store-dialog--compact {
    width: min(calc(100% - 24px), 540px);
    max-height: calc(100dvh - 24px);
    padding: clamp(12px, 3vw, 20px);
}
.store-dialog--compact .dialog-heading { margin-bottom: 6px; }
.menu-dialog { width: min(calc(100% - 24px), 420px); }
.menu-links { display: grid; }
.menu-links :is(a, button) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 7px 4px;
    font-weight: 550;
}
:is(.menu-links, .order-terms) > :not(:first-child) { border-top: 1px solid var(--rule); }
.menu-dialog .social-links {
    justify-content: flex-start;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--rule);
}
.menu-dialog .social-links a { border: 1px solid var(--rule); }
.menu-dialog .social-links img { width: 26px; }
.order-terms { margin: 0; }
.order-terms > div { padding-block: 8px; }
.order-terms dt { font-weight: 650; }
.order-terms dd { margin: 2px 0 0; color: var(--muted); }

.page-content { padding-block: 6px clamp(20px, 4vw, 60px); }
.page-heading { margin-bottom: 22px; display: grid; gap: 10px; }
.page-heading p { max-width: 68ch; color: var(--muted); }
.page-heading--centered { justify-items: center; text-align: center; }
.page-heading--centered .breadcrumbs { justify-self: start; text-align: start; }
.breadcrumbs {
    margin-block-end: 4px;
    margin-inline-start: clamp(8px, 1vw, 16px);
    color: var(--muted);
    font-size: .9em;
    overflow-wrap: anywhere;
}
.breadcrumbs__separator { margin-inline: .35em; }
.text-button { border: 0; padding: 0; background: none; color: var(--accent); text-decoration: underline; }
.empty-state { grid-column: 1 / -1; padding: 16px 0; text-align: center; color: var(--muted); }

.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: white;
    overflow: hidden;
}
.product-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}
.product-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}
.product-price { color: #bd4500; font-size: 1.125em; font-weight: 750; }
.product-price small { font-size: .875em; font-weight: 400; color: var(--muted); white-space: nowrap; }
.product-card__description, .product-description { color: var(--muted); overflow-wrap: anywhere; }
.product-card h2, .product-dialog h2 { overflow-wrap: anywhere; }
html:has(.product-dialog:modal) {
    overflow: hidden;
    overscroll-behavior: none;
}
.product-dialog {
    --product-dialog-gutter: 16px;
    --product-dialog-width: 540px;
    position: fixed;
    inset: 0;
    width: min(calc(100% - 2 * var(--product-dialog-gutter)), var(--product-dialog-width));
    height: max-content;
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
}
.product-dialog__panel {
    position: relative;
    z-index: 1;
    max-height: calc(100dvh - 2 * var(--product-dialog-gutter));
    padding: clamp(16px, 4vw, 28px);
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: var(--radius);
    background: var(--surface);
}
.product-dialog__layout { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.product-dialog__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    align-self: start;
    overflow: hidden;
    border-radius: var(--radius);
}
.product-dialog__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-dialog__details { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.product-dialog__details h2 {
    padding-inline-end: 50px;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
}
.product-dialog__close {
    position: absolute;
    z-index: 2;
    inset: 9px 9px auto auto;
    background: var(--surface);
}
.product-description { display: grid; gap: 8px; }
.product-form {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}
.product-form .product-price { overflow-wrap: anywhere; }
.product-form .button-primary { white-space: nowrap; }

.quantity-control { display: flex; align-items: center; gap: 5px; }
.quantity-control input {
    width: 52px;
    padding: 4px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: white;
    text-align: center;
    appearance: textfield;
}
.quantity-control input::-webkit-inner-spin-button { appearance: none; }
.quantity-control .icon-button { width: 36px; height: 36px; border: 1px solid var(--rule); background: white; }
.quantity-control button:disabled, .quantity-control input:disabled { opacity: .65; cursor: wait; }

.cart-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.cart-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    gap: 8px 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
}
.cart-item__image { width: 72px; aspect-ratio: 1; overflow: hidden; border-radius: 6px; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { font-weight: 650; overflow-wrap: anywhere; }
.cart-item__price { color: var(--muted); }
.cart-total { font-weight: 700; margin-block: 16px; font-size: 1.2em; text-align: end; }
.cart-empty { text-align: center; }
.checkout { width: min(100%, 600px); margin-inline: auto; }
.form-row { display: grid; gap: 10px; }
.cart-error { color: var(--accent); }
.legal-content { max-width: 82ch; overflow-wrap: anywhere; }
.legal-content :is(h2, h3, h4, h5) { margin-block: 1.1em .4em; font-size: 1.15em; }
.legal-content :is(p, .li, .descr) { margin-block: .45em; }

@media (max-width: 479px) {
    .product-form { gap: 6px; font-size: .875rem; }
    .product-form .button-primary { padding-inline: 8px; }
    .product-form .quantity-control { gap: 2px; }
    .product-form .quantity-control .icon-button { width: 28px; }
    .product-form .quantity-control input { width: 34px; padding-inline: 2px; }
}

@media (width < 600px) {
    .hero { padding-bottom: 4px; }

    .hero__portrait {
        position: relative;
        z-index: 1;
        width: calc(min(100%, 380px) * var(--hero-scale) * 1.1);
        margin-block-start: -4px;
    }

    .cart-item {
        grid-template:
            "image title title remove" auto
            "image quantity price price" auto
            / auto auto minmax(0, 1fr) auto;
        column-gap: 8px;
    }
    .cart-item__image { grid-area: image; width: 55px; }
    .cart-item__title { grid-area: title; }
    .cart-item__remove { grid-area: remove; align-self: start; }
    .cart-item__price { grid-area: price; text-align: end; overflow-wrap: anywhere; }
    .cart-item .quantity-control { grid-area: quantity; gap: 4px; }
    .cart-item .quantity-control input { width: 38px; }
}

@media (min-width: 600px) {
    :root { --section-gap: 39px; }

    .hero {
        position: relative;
        grid-template-columns: 56% minmax(0, 1fr);
        grid-template-rows: 1fr auto;
        align-items: start;
        padding-top: calc(clamp(38px, 6vw, 68px) * var(--hero-scale));
        padding-bottom: calc(32px * var(--hero-scale));
        min-height: calc(clamp(410px, 68vw, 620px) * var(--hero-scale));
    }

    .hero__copy { grid-area: 1 / 1; padding-inline-start: 4vw; }
    .hero h1 { font-size: calc(clamp(54px, 9.4vw, 84px) * var(--hero-scale)); }
    .hero__offer { margin-top: 6px; font-size: calc(clamp(29px, 5.1vw, 48px) * var(--hero-scale)); }
    .hero__description { font-size: calc(clamp(21px, 3.65vw, 32px) * var(--hero-scale)); }

    .hero__portrait {
        position: absolute;
        right: 1.25%;
        bottom: calc(32px * var(--hero-scale));
        width: calc(min(50%, 450px) * var(--hero-scale));
        margin: 0;
    }

    .hero__contacts { grid-area: 2 / 1; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; padding-inline-start: 4vw; }

    .category-grid, .gallery-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-card button { aspect-ratio: 339 / 220; }
    .category-card__label { font-size: clamp(18px, 2.75vw, 28px); }
    .about__body {
        grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
        align-items: center;
        gap: clamp(24px, 4.2vw, 74px);
    }
    .about__portrait { grid-area: 1 / 1; }
    .about__copy { grid-area: 1 / 2; }
    .about__intro { font-size: clamp(21px, 1.82vw, 35px); }
    .site-footer__inner { grid-template-columns: 1fr 1fr; align-items: center; }
    .site-footer__inner > p { text-align: end; }
    .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) and (max-width: 1099px) {
    .hero__description { width: min(52vw, calc(100% + 28px)); }
}

@media (min-width: 850px) {
    .product-dialog:has(.product-dialog__photo) { --product-dialog-width: 920px; }
    .product-dialog__layout:has(.product-dialog__photo) { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); }
}

@media (width < 1100px) {
    .product-dialog { --product-dialog-gutter: 28px; }
    .product-dialog__panel { padding: 10px; }
    .product-dialog__details h2 { padding-inline-end: 0; }

    .product-dialog::before {
        content: "";
        position: absolute;
        inset: -9px -20px auto auto;
        width: 56px;
        height: 34px;
        border-radius: 999px;
        transform: rotate(-45deg);
        background: var(--surface);
        pointer-events: none;
    }
    .product-dialog__close {
        inset: -22px -22px auto auto;
        border: 5px solid transparent;
        border-radius: 50%;
        background: transparent;
        font-size: 22px;
    }
    .product-dialog__close:hover { background-clip: padding-box; }
    .product-dialog__close:focus-visible { outline-offset: -8px; }
}

@media (min-width: 1100px) {
    .product-dialog__panel { border: 1px solid var(--rule); }
    .product-dialog__photo { aspect-ratio: 1; }

    :root {
        --gutter: clamp(36px, 6.25vw, 120px);
        --section-title: clamp(25px, 2.1vw, 40px);
        --section-gap: clamp(40px, 4vw, 70px);
    }

    .site-header { min-height: clamp(87px, 7.65vw, 147px); gap: clamp(11px, 1.5vw, 28px); }
    .site-brand { gap: clamp(9px, .84vw, 16px); }
    .site-brand a { width: calc(clamp(215px, 23.05vw, 443px) * .9); }
    .site-brand__halal { width: calc(clamp(34px, 3.6vw, 69px) * .9); }
    .site-navigation {
        margin-inline-start: auto;
        display: flex;
        align-items: center;
        gap: calc(clamp(15px, 2.5vw, 48px) * .75);
        font-size: calc(clamp(17px, 1.5625vw, 30px) * .75);
        font-weight: 600;
        white-space: nowrap;
    }
    .header-actions { gap: clamp(4px, 1.2vw, 23px); }
    .header-actions .icon-button { width: clamp(44px, 3.46vw, 66px); height: clamp(44px, 3.46vw, 66px); }
    .cart-link img { width: clamp(28px, 2.2vw, 42px); }
    .menu-toggle span { width: clamp(20px, 1.56vw, 30px); }
    .hero {
        --hero-content-scale: calc(.8 * var(--hero-scale));
        min-height: calc(clamp(530px, 47.8vw, 918px) * .85 * var(--hero-scale));
        grid-template-columns: 62% minmax(0, 1fr);
        padding-top: calc(clamp(60px, 5.65vw, 108px) * var(--hero-scale));
        padding-bottom: 0;
        grid-template-rows: auto auto 1fr;
        align-content: start;
    }
    .hero__copy, .hero__contacts { padding-inline-start: clamp(58px, 5.1vw, 98px); }
    .hero__copy { inset-inline-start: 10px; }
    .hero h1 {
        font-size: calc(clamp(55px, 5.26vw, 101px) * var(--hero-content-scale));
        white-space: nowrap;
    }
    .hero h1 span { display: inline; }
    .hero__offer {
        margin-top: calc(clamp(17px, 2.2vw, 42px) * var(--hero-content-scale));
        font-size: calc(clamp(34px, 3.23vw, 62px) * var(--hero-content-scale));
    }
    .hero__description {
        margin-top: calc(clamp(16px, 1.9vw, 36px) * var(--hero-content-scale));
        font-size: calc(clamp(24px, 2.19vw, 42px) * var(--hero-content-scale));
    }
    .hero__contacts {
        margin-top: calc(clamp(36px, 6.7vw, 129px) * var(--hero-content-scale));
        font-size: calc(clamp(16px, 1.4vw, 27px) * var(--hero-content-scale));
    }
    .hero__portrait {
        right: calc(17.5% - 8px);
        top: max(-40px, -2.08vw);
        bottom: auto;
        width: calc(34.965% * var(--hero-scale));
        max-width: none;
    }
    .hero__contacts .social-links a {
        width: clamp(44px, 2.4vw, 45.6px);
        height: clamp(44px, 2.4vw, 45.6px);
    }
    .hero__contacts .social-links img { width: calc(clamp(34px, 2.4vw, 46px) * var(--hero-content-scale)); }
    .questions .social-links a { width: clamp(44px, 3vw, 57px); height: clamp(44px, 3vw, 57px); }
    .page-section { padding-top: clamp(24px, 1.5vw, 29px); }
    .page-section::before { inset-inline: 5%; }
    .category-grid {
        width: calc(74.7% * .85);
        gap: calc(clamp(12.6px, 2.115vw, 32.4px) * .85);
        margin-inline: auto;
    }
    .category-card__label { font-size: calc(clamp(25px, 1.98vw, 38px) * .9); }
    .about__body {
        width: 84%;
        margin-inline: auto;
        grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
        gap: 2.6%;
    }
    .about__portrait {
        width: calc(100% - clamp(10px, 1vw, 18px));
        justify-self: end;
    }
    .about__copy { font-size: clamp(17px, 1.35vw, 26px); max-width: 752px; }
    .about__summary { display: none; }
    .about__details { display: grid; gap: .7em; }
    .about__details h3 { margin-bottom: .2em; color: var(--ink); font-size: 1em; }
    .questions__intro { font-size: clamp(17px, 1.2vw, 23px); }
    .questions__form { width: min(100%, 600px); gap: clamp(10px, .74vw, 14px); margin-top: 22px; }
    .questions__form :is(.form-control, .button-primary) { min-height: clamp(48px, 3.125vw, 60px); }
    .questions__form textarea.form-control { min-height: clamp(94px, 6vw, 116px); }
    .product-grid, .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cart-list, .cart-total { width: 80%; margin-inline: auto; }
}

@media (max-width: 349px) {
    .header-actions { gap: 0; }
    .site-brand a { width: min(39vw, 138px); }
    .site-brand__halal { width: 26px; }
    .hero__description br { display: none; }
}
