/* Dapur Maya demo. Colours come from Malaysian food packaging: chilli red, turmeric and banana leaf. */

@font-face {
    font-family: "Fraunces";
    src: url("fraunces.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("figtree.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --cili: #b8231a;
    --cili-dark: #7a140e;
    --kunyit: #f5b82e;
    --kunyit-pale: #fff3d1;
    --daun: #1f5236;
    --daun-pale: #e4efe6;
    --ink: #2b1d17;
    --muted: #6b5a51;
    --line: #ecdcc9;
    --paper: #ffffff;
    --note: #2a55c9;
    --note-pale: #eef2ff;

    --display: "Fraunces", Georgia, serif;
    --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1180px;
    --gutter: clamp(1.1rem, 4vw, 2.5rem);
    --section: clamp(4rem, 9vw, 7rem);
    --radius-photo: 22px;
    --radius-control: 999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--note);
    outline-offset: 3px;
}

.icon {
    width: 1.2em;
    height: 1.2em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    z-index: 50;
    padding: 0.7rem 1rem;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
}

.skip-link:focus {
    top: 1rem;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.4rem;
    border: 2px solid transparent;
    border-radius: var(--radius-control);
    font: 700 1rem/1 var(--body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button:active {
    transform: translateY(1px);
}

.button-light {
    background: #fff;
    color: var(--cili);
}

.button-light:hover {
    background: var(--kunyit-pale);
}

.button-ghost {
    border-color: rgb(255 255 255 / 0.7);
    color: #fff;
}

.button-ghost:hover {
    background: rgb(255 255 255 / 0.12);
}

.button-red {
    background: var(--cili);
    color: #fff;
}

.button-red:hover {
    background: var(--cili-dark);
}

.button-yellow {
    background: var(--kunyit);
    color: var(--ink);
}

.button-yellow:hover {
    background: #ffcb54;
}

.button-outline {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.button-outline:hover {
    border-color: var(--ink);
}

/* Demo notes for Maya. Blue so they never look like part of the brand. */

.demo-bar {
    background: var(--note);
    color: #fff;
    font-size: 0.875rem;
}

.demo-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem 1.5rem;
    padding-block: 0.55rem;
}

.demo-bar p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-bar a {
    font-weight: 700;
}

.demo-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: 62ch;
    padding: 0.75rem 1rem;
    border: 1.5px dashed var(--note);
    border-radius: 12px;
    background: var(--note-pale);
    color: var(--note);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.demo-note .icon {
    margin-top: 0.1em;
}

.placeholder {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.6rem;
    border: 1.5px dashed #9fb4ff;
    border-radius: 6px;
    color: #c9d5ff;
}

/* Header and hero share the chilli red, like the front of a jar label. */

.site-header,
.hero {
    background: var(--cili);
    color: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-block: 1.1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: var(--kunyit);
    color: var(--cili);
}

.brand-mark .icon {
    width: 1.45rem;
    height: 1.45rem;
    transform: rotate(-20deg);
}

.brand-name {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    gap: 1.6rem;
    margin-left: auto;
    font-weight: 600;
}

.site-nav a {
    text-decoration: none;
    text-underline-offset: 0.35em;
}

.site-nav a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.header-cta {
    min-height: 2.6rem;
    padding: 0.55rem 1.1rem;
}

.hero {
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero h1 {
    font-size: clamp(2.9rem, 6.4vw, 5.4rem);
    font-weight: 900;
    line-height: 0.98;
}

.hero-lead {
    max-width: 34ch;
    margin-top: 1.5rem;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    color: rgb(255 255 255 / 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-facts {
    display: grid;
    gap: 0.55rem;
    margin: 2.4rem 0 0;
    padding: 1.4rem 0 0;
    border-top: 1px solid rgb(255 255 255 / 0.28);
    list-style: none;
    font-weight: 600;
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-facts .icon {
    color: var(--kunyit);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
    object-position: right center;
    border-radius: var(--radius-photo) var(--radius-photo) var(--radius-photo) 120px;
    background: var(--cili-dark);
}

/* The price sticker: the one loud element, like the round tags stuck on jars at the pasar. */

.price-sticker {
    position: absolute;
    display: grid;
    place-content: center;
    gap: 0.1rem;
    width: 9.5rem;
    aspect-ratio: 1;
    padding: 1rem;
    background: var(--kunyit);
    color: var(--cili-dark);
    text-align: center;
    text-decoration: none;
    line-height: 1.1;
    font-weight: 700;
    font-size: 0.875rem;
    clip-path: polygon(50% 0%, 59% 6%, 69% 3%, 75% 12%, 85% 12%, 87% 22%, 96% 27%, 94% 37%, 100% 45%, 95% 54%, 99% 64%, 91% 70%, 91% 80%, 81% 83%, 77% 93%, 67% 92%, 59% 100%, 50% 95%, 41% 100%, 33% 92%, 23% 93%, 19% 83%, 9% 80%, 9% 70%, 1% 64%, 5% 54%, 0% 45%, 6% 37%, 4% 27%, 13% 22%, 15% 12%, 25% 12%, 31% 3%, 41% 6%);
}

.price-sticker b {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
}

.hero-sticker {
    left: -2.2rem;
    bottom: -1.6rem;
    transform: rotate(-9deg);
    transition: transform 0.2s ease;
}

.hero-sticker:hover {
    transform: rotate(-4deg) scale(1.04);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-sticker {
        animation: sticker-in 0.7s 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) both;
    }

    @keyframes sticker-in {
        from {
            opacity: 0;
            transform: rotate(-40deg) scale(0.4);
        }

        to {
            opacity: 1;
            transform: rotate(-9deg) scale(1);
        }
    }
}

/* Sections */

.section {
    padding-block: var(--section);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 3rem;
    margin-bottom: 1.6rem;
}

.section h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.section-head p {
    max-width: 44ch;
    color: var(--muted);
}

/* Products */

.products .demo-note {
    margin-bottom: 2.4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 2.2rem 1.6rem;
}

.product {
    display: flex;
    flex-direction: column;
}

.product-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--kunyit-pale);
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-top: 1.1rem;
}

.product h3 {
    font-size: 1.55rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.9rem;
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.heat {
    display: inline-flex;
    align-items: center;
    gap: 0.05rem;
}

.heat .icon {
    width: 1.05rem;
    height: 1.05rem;
    color: #e3d3c4;
}

.heat .icon.is-hot {
    color: var(--cili);
}

.heat span {
    margin-left: 0.35rem;
}

.product-description {
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.product-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.2rem;
}

.price {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--cili);
}

.add-button {
    min-height: 2.75rem;
    padding: 0.6rem 1.15rem;
}

.stepper {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--cili);
    border-radius: var(--radius-control);
    background: #fff;
}

.stepper[hidden],
.add-button[hidden] {
    display: none;
}

.stepper button {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--cili);
    cursor: pointer;
}

.stepper button:hover {
    background: var(--kunyit-pale);
}

.stepper output {
    min-width: 1.8rem;
    font-weight: 800;
    text-align: center;
}

/* Promo */

.promo {
    background: var(--kunyit);
}

.promo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.promo-visual {
    position: relative;
}

.promo-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--kunyit-pale);
}

.promo-sticker {
    top: -1.6rem;
    right: -1.4rem;
    width: 7.5rem;
    background: var(--cili);
    color: #fff;
    transform: rotate(8deg);
}

.promo-sticker b {
    font-size: 2rem;
}

.promo-dates {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-control);
    background: var(--ink);
    color: var(--kunyit);
    font-size: 0.875rem;
    font-weight: 700;
}

.promo h2 {
    color: var(--cili-dark);
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.promo-lead {
    max-width: 42ch;
    margin-top: 1rem;
}

.promo-list {
    display: grid;
    gap: 0.4rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.promo-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.promo-list li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--cili);
}

.promo-price {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin: 1.6rem 0 1.2rem;
}

.promo-price b {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--cili);
}

.promo-price s {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--muted);
}

.stepper-large {
    border-color: var(--cili-dark);
}

.promo .demo-note {
    margin-top: 1.6rem;
    background: rgb(255 255 255 / 0.85);
}

/* Story */

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
}

.story-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 140px 140px var(--radius-photo) var(--radius-photo);
    background: var(--kunyit-pale);
}

.story-copy {
    max-width: 52ch;
}

.story-copy h2 {
    margin-bottom: 1.4rem;
    color: var(--cili);
}

.story-copy p + p {
    margin-top: 1rem;
}

.signature {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--daun);
}

/* How to order: a real three-step sequence, so the numbers carry meaning. */

.how {
    background: var(--daun);
    color: #fff;
}

.how-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.steps {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    column-gap: 1.1rem;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--kunyit);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 900;
}

.steps b {
    font-size: 1.2rem;
}

.steps span {
    color: rgb(255 255 255 / 0.82);
}

.postage {
    padding: 1.8rem;
    border-radius: var(--radius-photo);
    background: #fff;
    color: var(--ink);
}

.postage h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
}

.postage h3 .icon {
    color: var(--daun);
}

.postage dl {
    margin: 1.2rem 0;
}

.postage dl div {
    display: flex;
    justify-content: space-between;
    padding-block: 0.7rem;
    border-bottom: 1px solid var(--line);
}

.postage dt {
    font-weight: 600;
}

.postage dd {
    margin: 0;
    font-weight: 800;
}

.postage p {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: var(--daun-pale);
    color: var(--daun);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Reviews */

.reviews {
    background: var(--kunyit-pale);
}

.sample-tag {
    font-size: 0.9375rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.review {
    margin: 0;
    padding: 1.6rem;
    border-radius: var(--radius-photo);
    background: #fff;
}

.review blockquote {
    margin: 0;
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 0;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.35;
}

.review figcaption {
    margin-top: 1rem;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
}

/* FAQ */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(1.5rem, 5vw, 4rem);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    color: var(--cili);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "\2212";
}

.faq-list details > p {
    max-width: 60ch;
    padding-bottom: 1.3rem;
    color: var(--muted);
}

.faq-list details > .demo-note {
    margin-bottom: 1.3rem;
    color: var(--note);
}

/* Footer */

.site-footer {
    padding-top: clamp(3rem, 7vw, 5rem);
    padding-bottom: 7rem;
    background: var(--cili-dark);
    color: rgb(255 255 255 / 0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2rem;
}

.footer-grid h2 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-footer {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 0.2);
    font-size: 0.9rem;
}

/* Basket bar and order sheet */

.basket-bar {
    position: fixed;
    inset: auto 0 1rem;
    z-index: 30;
    display: flex;
    justify-content: center;
    padding-inline: 1rem;
    pointer-events: none;
}

.basket-bar[hidden] {
    display: none;
}

.basket-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem 0.5rem 1.3rem;
    border-radius: var(--radius-control);
    background: var(--ink);
    color: #fff;
    box-shadow: 0 14px 40px rgb(43 29 23 / 0.35);
    pointer-events: auto;
}

.basket-bar p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}

.basket-bar .icon {
    color: var(--kunyit);
}

@media (prefers-reduced-motion: no-preference) {
    .basket-bar:not([hidden]) .basket-bar-inner {
        animation: bar-in 0.3s ease-out both;
    }

    @keyframes bar-in {
        from {
            opacity: 0;
            transform: translateY(1.5rem);
        }
    }
}

.order-sheet {
    width: min(100% - 1.5rem, 30rem);
    max-height: min(92vh, 52rem);
    padding: 1.6rem;
    border: 0;
    border-radius: var(--radius-photo);
    background: #fff;
    color: var(--ink);
}

.order-sheet::backdrop {
    background: rgb(43 29 23 / 0.55);
}

.order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.order-head h2 {
    font-size: 2rem;
}

.close-button {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: var(--kunyit-pale);
    color: var(--ink);
    cursor: pointer;
}

.order-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-lines li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.8rem;
    padding-block: 0.7rem;
    border-bottom: 1px solid var(--line);
}

.order-lines .line-name {
    font-weight: 700;
    line-height: 1.3;
}

.order-lines .line-price {
    min-width: 3.5rem;
    font-weight: 700;
    text-align: right;
}

.order-lines .stepper button {
    width: 2.2rem;
    height: 2.2rem;
}

.order-lines .empty {
    display: block;
    color: var(--muted);
}

.region {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    margin: 1.2rem 0 0;
    padding: 0;
    border: 0;
}

.region legend {
    width: 100%;
    margin-bottom: 0.4rem;
    padding: 0;
    font-weight: 700;
}

.region label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.region input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--cili);
}

.order-totals {
    margin: 1.2rem 0;
}

.order-totals div {
    display: flex;
    justify-content: space-between;
    padding-block: 0.25rem;
}

.order-totals dd {
    margin: 0;
    font-weight: 700;
}

.order-totals .grand {
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    border-top: 2px solid var(--ink);
    font-size: 1.2rem;
}

.order-totals .grand dd {
    color: var(--cili);
}

.message-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.order-message {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbf8f4;
    color: var(--ink);
    font: 0.9rem/1.5 var(--body);
    resize: vertical;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.order-actions .button {
    flex: 1 1 auto;
    white-space: nowrap;
}

.order-sheet .demo-note {
    margin-top: 1rem;
}

/* Responsive */

@media (max-width: 960px) {
    .site-nav {
        display: none;
    }

    .header-cta {
        margin-left: auto;
    }

    .hero-grid,
    .promo-grid,
    .story-grid,
    .how-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        margin-top: 0.5rem;
    }

    .hero-sticker {
        left: auto;
        right: 0.6rem;
        bottom: -1.8rem;
        width: 8.2rem;
    }

    .story-grid img {
        max-width: 26rem;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 1rem;
    }

    .header-inner {
        gap: 1rem;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .hero-actions .button {
        flex: 1 1 auto;
    }

    .promo-sticker {
        right: 0.5rem;
        top: -1.4rem;
        width: 6.2rem;
    }

    .promo-sticker b {
        font-size: 1.6rem;
    }

    .basket-bar-inner {
        width: 100%;
        justify-content: space-between;
    }

    /* Phones get a compact row per product, so all four fit in two screens. */
    .product-grid {
        gap: 1.6rem;
    }

    .product {
        display: grid;
        grid-template-columns: 8.5rem minmax(0, 1fr);
        align-items: start;
        gap: 1rem;
    }

    .product-photo img {
        border-radius: 16px;
    }

    .product-body {
        padding-top: 0;
    }

    .product h3 {
        font-size: 1.3rem;
    }

    .product-description {
        margin-top: 0.4rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .product-buy {
        gap: 0.5rem;
        padding-top: 0.8rem;
    }

    .price {
        font-size: 1.4rem;
    }

    .add-button {
        min-height: 2.5rem;
        padding: 0.5rem 0.9rem;
    }

    .product .stepper button {
        width: 2.3rem;
        height: 2.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .hero-sticker {
        transition: none;
    }
}
