/*
=========================================================
 AJ ACCESS — SHARED STYLESHEET (repaired)
 Matches the class names used in index.html and app.js.
 Brand colours: Black #000000 · Yellow #FDBC58 · White #FFFFFF
 Mobile-first. Fonts are loaded in index.html.
=========================================================
*/

/* ------------------------------
   1. ROOT VARIABLES
------------------------------ */

:root {
    --black: #000000;
    --yellow: #FDBC58;
    --yellow-dark: #E99C27;
    --yellow-soft: #FFF8EB;
    --white: #FFFFFF;

    --grey-50: #FAFAFA;
    --grey-100: #F5F5F5;
    --grey-200: #E8E8E8;
    --grey-300: #D1D1D1;
    --grey-500: #6B6B6B;
    --grey-700: #444444;

    --success: #237A48;
    --danger: #C0392B;
    --warning: #8A5A10;

    --heading-font: 'Playfair Display', Georgia, serif;
    --body-font: 'DM Sans', Arial, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 100px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .09);
    --shadow-lg: 0 12px 35px rgba(0, 0, 0, .14);

    --container: 1180px;
    --header-height: 68px;

    --transition: .25s ease;
}

/* ------------------------------
   2. RESET AND BASE
------------------------------ */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--body-font);
    background: var(--white);
    color: var(--black);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
}

button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul,
ol {
    list-style: none;
}

fieldset {
    border: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

svg {
    flex-shrink: 0;
}

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

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 2000;
    background: var(--black);
    color: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

/* The icon sprite is only a source of symbols, so it must stay invisible. */
.svg-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.section-shell {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.narrow-shell {
    width: min(100% - 32px, 760px);
    margin-inline: auto;
}

main {
    padding-bottom: 90px;
}

.page-view {
    min-height: 50vh;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--warning);
    margin-bottom: 10px;
}


.brand-wordmark a {
    color: inherit;
    text-decoration: none;
}

.brand-wordmark a:hover {
    opacity: 0.8;
    cursor: pointer;
}

.eyebrow-line {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--yellow-dark);
}

.text-muted {
    color: var(--grey-500);
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.text-button svg {
    width: 16px;
    height: 16px;
}

/* ------------------------------
   3. BUTTONS
------------------------------ */

.button {
    min-height: 52px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: var(--transition);
}

.button svg {
    width: 18px;
    height: 18px;
}

.button-primary {
    background: var(--yellow);
    color: var(--black);
}

.button-primary:hover:not(:disabled) {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

.button-dark {
    background: var(--black);
    color: var(--white);
}

.button-dark:hover:not(:disabled) {
    background: #292929;
    transform: translateY(-2px);
}

.button-disabled {
    background: var(--grey-200);
    color: var(--grey-500);
    border-color: var(--grey-300);
}

.button-wide {
    width: 100%;
}

/* ------------------------------
   4. STORE HEADER
------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--grey-200);
    backdrop-filter: blur(12px);
}

.header-inner {
    height: var(--header-height);
    width: min(100% - 28px, var(--container));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--black);
}

.brand-wordmark {
    font-family: var(--heading-font);
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
}

.brand-wordmark strong {
    font-weight: 800;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-button {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: transparent;
}

.icon-button:hover {
    background: var(--grey-100);
}

.icon-button svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--black);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
}

.search-panel {
    border-top: 1px solid var(--grey-200);
    background: var(--white);
    padding: 12px 0 14px;
}

.search-input-wrap {
    width: min(100% - 28px, var(--container));
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrap > svg {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--grey-500);
    pointer-events: none;
}

.search-input-wrap input {
    width: 100%;
    min-height: 48px;
    padding: 0 48px 0 46px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-pill);
    background: var(--grey-50);
    font-size: 15px;
}

.search-input-wrap input:focus {
    outline: none;
    border-color: var(--yellow-dark);
    box-shadow: 0 0 0 3px rgba(253, 188, 88, .25);
}

.search-clear {
    position: absolute;
    right: 6px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.search-clear svg {
    width: 18px;
    height: 18px;
}

/* ------------------------------
   5. HERO AND TRUST STRIP
------------------------------ */

.hero-section {
    position: relative;
    width: min(100% - 32px, var(--container));
    margin: 22px auto 8px;
    display: grid;
    gap: 28px;
    align-items: center;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    overflow: hidden;
}

.hero-section .eyebrow {
    color: var(--yellow);
}

.hero-section .eyebrow-line {
    background: var(--yellow);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    font-family: var(--heading-font);
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1.1;
    font-weight: 700;
}

.hero-copy h1 em {
    color: var(--yellow);
    font-style: italic;
}

.hero-description {
    color: #D1D1D1;
    max-width: 440px;
    font-size: 16px;
}

.hero-cta {
    margin-top: 6px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D1D1D1;
    font-size: 13px;
}

.hero-note svg {
    width: 18px;
    height: 18px;
    color: var(--yellow);
}

.hero-art {
    position: relative;
    min-height: 220px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #1B1B1B, #000);
    border: 1px solid #2A2A2A;
    overflow: hidden;
}

.hero-art-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
}

.hero-art-label {
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero-art-caption {
    color: #BDBDBD;
    font-size: 11px;
    letter-spacing: 2px;
}

.hero-product-shape {
    position: absolute;
    background: var(--yellow);
}

.hero-shape-one {
    width: 96px;
    height: 136px;
    left: 18%;
    top: 22%;
    border-radius: 44px 44px 18px 18px;
}

.hero-shape-two {
    width: 120px;
    height: 84px;
    left: 42%;
    top: 40%;
    border-radius: 16px;
    background: #F6D9A4;
}

.hero-shape-three {
    width: 70px;
    height: 70px;
    left: 68%;
    top: 18%;
    border-radius: 50%;
    background: #FFF1D6;
}

/* Phones: smaller shapes that sit above the caption instead of over it */
@media (max-width: 599px) {
    .hero-art {
        min-height: 270px;
    }

    .hero-shape-one {
        width: 64px;
        height: 92px;
        left: 16%;
        top: 16%;
        border-radius: 32px 32px 14px 14px;
    }

    .hero-shape-two {
        width: 84px;
        height: 56px;
        left: 44%;
        top: 40%;
    }

    .hero-shape-three {
        width: 44px;
        height: 44px;
        left: 72%;
        top: 14%;
    }
}

.trust-strip {
    width: min(100% - 32px, var(--container));
    margin: 18px auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    padding: 14px 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.trust-item svg {
    width: 22px;
    height: 22px;
    color: var(--warning);
}

/* ------------------------------
   6. SECTION HEADINGS, CATEGORIES AND TOOLBAR
------------------------------ */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.section-heading h2 {
    font-family: var(--heading-font);
    font-size: clamp(24px, 5vw, 34px);
    line-height: 1.15;
    font-weight: 700;
}

.desktop-view-all {
    display: none;
}

.shop-section {
    padding-top: 28px;
}

.category-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.category-chip:hover,
.category-chip.is-selected {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.catalogue-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 6px 0 14px;
}

.result-count {
    font-size: 13px;
    color: var(--grey-500);
}

.sort-control select {
    min-height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
}

/* ------------------------------
   7. PRODUCT GRID AND CARDS
------------------------------ */

.product-grid,
.related-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
}

.product-skeleton {
    aspect-ratio: 1 / 1.45;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, var(--grey-100), var(--grey-200), var(--grey-100));
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.product-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.product-card-open {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1 / 1.08;
    background: var(--grey-100);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 2px 0;
}

.product-card-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey-500);
}

.product-card-copy h3 {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 2px 0;
}

.product-card-size {
    font-size: 12px;
    color: var(--grey-500);
}

.product-card-price {
    font-size: 15px;
    font-weight: 800;
    margin-top: 4px;
}

.product-add-button {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    padding: 10px 8px;
    font-size: 13px;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--yellow);
    color: var(--black);
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 800;
}

.sold-out-badge {
    background: var(--black);
    color: var(--white);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 2px;
    background: linear-gradient(145deg, #F9E9D0, #FDBC58);
    color: var(--black);
}

.placeholder-monogram {
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
}

.product-placeholder small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.empty-state {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    color: var(--grey-500);
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
    opacity: .5;
}

.empty-state h3 {
    font-family: var(--heading-font);
    font-size: 22px;
    color: var(--black);
}

.empty-state .button {
    margin-top: 8px;
}

/* ------------------------------
   8. HAIR ROUTINE QUIZ
------------------------------ */

.routine-section {
    margin-top: 16px;
    padding: 40px 0;
    background: var(--grey-50);
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
}

.routine-inner {
    display: grid;
    gap: 24px;
}

.routine-intro h2 {
    font-family: var(--heading-font);
    font-size: clamp(26px, 6vw, 36px);
    line-height: 1.15;
    margin-bottom: 10px;
}

.routine-intro h2 em {
    color: var(--warning);
}

.routine-intro p:not(.eyebrow) {
    color: var(--grey-700);
}

.routine-decoration {
    display: none;
}

.routine-form {
    display: grid;
    gap: 22px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
}

.quiz-step {
    display: grid;
    gap: 12px;
}

.quiz-step legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--black);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.choice-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 64px;
    padding: 12px;
    border: 2px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition);
}

.choice-card strong {
    font-size: 15px;
}

.choice-card small {
    font-size: 12px;
    color: var(--grey-500);
}

.choice-card:hover span {
    border-color: var(--yellow-dark);
}

.choice-card input:checked + span {
    border-color: var(--yellow-dark);
    background: var(--yellow-soft);
}

.choice-card:focus-within span {
    outline: 3px solid var(--yellow-dark);
    outline-offset: 2px;
}

.quiz-submit {
    width: 100%;
}

.quiz-disclaimer {
    font-size: 12px;
    color: var(--grey-500);
    text-align: center;
}

/* ------------------------------
   9. DELIVERY PROMO
------------------------------ */

.delivery-promo {
    display: grid;
    gap: 14px;
    align-items: start;
    margin: 28px auto 0;
    padding: 22px 18px;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
}

.delivery-promo-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
}

.delivery-promo-icon svg {
    width: 26px;
    height: 26px;
    color: var(--black);
}

.delivery-promo h2 {
    font-family: var(--heading-font);
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.delivery-promo p:not(.eyebrow) {
    font-size: 14px;
    color: var(--grey-700);
}

.delivery-promo .text-button {
    justify-self: start;
}

/* ------------------------------
   10. PRODUCT DETAIL
------------------------------ */

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 12px;
    font-weight: 700;
    font-size: 14px;
}

.back-button svg {
    width: 18px;
    height: 18px;
}

.product-detail-view {
    padding-bottom: 40px;
}

.product-detail-layout {
    display: grid;
    gap: 24px;
    margin-top: 8px;
}

.detail-image-placeholder {
    aspect-ratio: 1 / 1;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #F9E9D0, #FDBC58);
}

.detail-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder-brand {
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 3px;
}

.image-placeholder-caption {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.detail-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-copy h1 {
    font-family: var(--heading-font);
    font-size: clamp(28px, 6vw, 38px);
    line-height: 1.15;
}

.detail-size {
    color: var(--grey-500);
}

.detail-price {
    font-size: 24px;
    font-weight: 800;
}

.detail-description {
    color: var(--grey-700);
    margin-top: 6px;
}

.detail-info-block {
    border-top: 1px solid var(--grey-200);
    padding-top: 14px;
}

.detail-info-block h2 {
    font-size: 15px;
    margin-bottom: 6px;
}

.detail-info-block p {
    font-size: 14px;
    color: var(--grey-700);
}

.detail-purchase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    height: 52px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-pill);
}

.quantity-control output {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
}

.quantity-button {
    width: 48px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.quantity-button:hover {
    background: var(--yellow);
}

.quantity-button svg {
    width: 18px;
    height: 18px;
}

.detail-add-button {
    flex: 1;
    min-width: 180px;
}

.stock-note {
    font-size: 13px;
    color: var(--grey-500);
}

.reviews-section {
    margin-top: 36px;
}

.review-grid {
    display: grid;
    gap: 12px;
}

.review-card {
    padding: 18px;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
}

.review-stars {
    color: #A66A0B;
    letter-spacing: 2px;
}

.review-card p {
    margin: 8px 0;
    font-size: 14px;
}

.review-card > span {
    font-size: 13px;
    font-weight: 700;
}

.review-card small {
    margin-left: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--warning);
}

.sample-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--warning);
}

.related-section {
    margin-top: 36px;
}

/* ------------------------------
   11. HAIR ROUTINE RESULTS
------------------------------ */

.routine-results-view {
    padding-bottom: 40px;
}

.routine-results-view h1 {
    font-family: var(--heading-font);
    font-size: clamp(28px, 6vw, 38px);
    line-height: 1.15;
    margin-top: 8px;
}

.routine-results-view > .narrow-shell > p:not(.eyebrow) {
    color: var(--grey-700);
    margin-top: 6px;
}

.routine-recommendations {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.routine-recommendations .product-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    align-items: center;
}

.routine-recommendations .product-card-open {
    grid-row: span 2;
}

.routine-recommendations .product-add-button {
    margin-top: 0;
}

/* ------------------------------
   12. CART DRAWER
------------------------------ */

.overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
}

.overlay-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .25s ease;
    cursor: pointer;
}

.overlay.is-open .overlay-backdrop {
    opacity: 1;
}

.drawer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    transform: translateY(105%);
    transition: transform .35s ease;
}

.overlay.is-open .drawer {
    transform: translateY(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 12px;
    border-bottom: 1px solid var(--grey-200);
}

.drawer-header .eyebrow {
    margin-bottom: 4px;
}

.drawer-header h2 {
    font-family: var(--heading-font);
    font-size: 26px;
    line-height: 1.2;
}

.close-button {
    width: 44px;
    height: 44px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    min-height: 120px;
    padding: 8px 20px;
}

.cart-line-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--grey-200);
}

.cart-line-image {
    width: 72px;
    height: 80px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--grey-100);
}

.cart-line-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-image .product-placeholder {
    font-size: 0;
}

.cart-line-image .placeholder-monogram {
    font-size: 18px;
}

.cart-line-info h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.cart-line-info p {
    font-size: 12px;
    color: var(--grey-500);
}

.cart-line-info > strong {
    display: block;
    font-size: 13px;
    margin-top: 2px;
}

.cart-line-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.cart-line-controls button:not(.remove-cart-item) {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--grey-300);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.cart-line-controls > span {
    min-width: 26px;
    text-align: center;
    font-weight: 700;
}

.remove-cart-item {
    min-height: 36px;
    margin-left: 8px;
    font-size: 12px;
    text-decoration: underline;
    color: var(--danger);
}

.cart-line-total {
    font-size: 14px;
    font-weight: 800;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 36px 8px;
    text-align: center;
    color: var(--grey-500);
}

.cart-empty > svg {
    width: 40px;
    height: 40px;
    opacity: .5;
}

.cart-empty-mark {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--yellow);
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 800;
}

.cart-empty h3 {
    font-family: var(--heading-font);
    font-size: 20px;
    color: var(--black);
}

.cart-empty .button {
    margin-top: 10px;
}

.cart-summary {
    display: grid;
    gap: 10px;
    padding: 16px 20px 22px;
    border-top: 1px solid var(--grey-200);
    background: var(--white);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
}

.cart-delivery-hint {
    font-size: 12px;
    color: var(--grey-500);
}

.continue-shopping-button {
    justify-self: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

/* ------------------------------
   13. STICKY CART BAR
------------------------------ */

.sticky-cart-bar {
    position: fixed;
    z-index: 200;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--grey-200);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, .08);
}

.sticky-cart-button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    background: var(--black);
    color: var(--white);
    font-weight: 700;
}

.sticky-cart-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--black);
}

.sticky-cart-icon svg {
    width: 20px;
    height: 20px;
}

.sticky-cart-icon > span {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--white);
    color: var(--black);
    font-size: 11px;
    font-weight: 800;
}

.sticky-cart-label {
    flex: 1;
    text-align: left;
}

.sticky-cart-button strong {
    font-size: 15px;
}

.sticky-cart-arrow {
    width: 20px;
    height: 20px;
}

/* ------------------------------
   14. CHECKOUT
------------------------------ */

.checkout-shell {
    padding: 8px 0 40px;
}

.checkout-heading {
    display: grid;
    gap: 6px;
    margin: 12px 0 22px;
}

.checkout-heading h1 {
    font-family: var(--heading-font);
    font-size: clamp(28px, 6vw, 38px);
    line-height: 1.15;
}

.checkout-heading p:not(.eyebrow) {
    color: var(--grey-700);
}

.checkout-layout {
    display: grid;
    gap: 18px;
}

.checkout-form-column {
    display: grid;
    gap: 16px;
}

.checkout-card {
    display: grid;
    gap: 16px;
    padding: 20px 18px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.checkout-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkout-section-heading h2 {
    font-family: var(--heading-font);
    font-size: 21px;
    line-height: 1.2;
}

.checkout-section-heading p {
    font-size: 13px;
    color: var(--grey-500);
}

.checkout-step {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-field label {
    font-size: 13px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 16px;
}

.form-field input:focus {
    outline: none;
    border-color: var(--yellow-dark);
    box-shadow: 0 0 0 3px rgba(253, 188, 88, .25);
}

.form-field input.invalid {
    border-color: var(--danger);
}

.optional-label {
    font-weight: 400;
    color: var(--grey-500);
}

.field-helper {
    font-size: 12px;
    color: var(--grey-500);
}

.field-error {
    display: block;
    font-size: 12px;
    color: var(--danger);
}

.field-error:empty {
    display: none;
}

.delivery-options,
.payment-options {
    display: grid;
    gap: 10px;
}

.delivery-option,
.payment-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.delivery-option input,
.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-option-content,
.payment-option-content {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 2px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition);
}

.delivery-option-content {
    flex-direction: column;
    gap: 4px;
}

.delivery-option-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.delivery-option-top b {
    font-weight: 800;
    white-space: nowrap;
}

.delivery-option small,
.payment-option small {
    font-size: 12px;
    color: var(--grey-500);
}

.payment-option-content > span:last-child {
    display: grid;
    gap: 2px;
}

.payment-option-content strong {
    font-size: 15px;
}

.delivery-option:hover .delivery-option-content,
.payment-option:hover .payment-option-content {
    border-color: var(--yellow-dark);
}

.delivery-option input:checked + .delivery-option-content,
.payment-option input:checked + .payment-option-content {
    border-color: var(--yellow-dark);
    background: var(--yellow-soft);
}

.delivery-option:focus-within .delivery-option-content,
.payment-option:focus-within .payment-option-content {
    outline: 3px solid var(--yellow-dark);
    outline-offset: 2px;
}

.payment-option-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
}

.payment-option-icon svg {
    width: 20px;
    height: 20px;
}

.payment-momo {
    background: #FFCC00;
    color: var(--black);
}

.payment-card {
    background: var(--black);
    color: var(--white);
}

.payment-cash {
    background: var(--grey-200);
    color: var(--black);
}

.payment-demo-note {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: #FFF7E8;
    font-size: 12px;
    color: #795018;
}

.order-summary-card {
    align-self: start;
    display: grid;
    gap: 12px;
    padding: 20px 18px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-lg);
}

.order-summary-card h2 {
    font-family: var(--heading-font);
    font-size: 22px;
}

.checkout-items {
    display: grid;
    gap: 8px;
}

.checkout-item-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #E6E6E6;
}

.checkout-item-line strong {
    white-space: nowrap;
}

.summary-divider {
    height: 1px;
    background: #333;
}

.order-summary-card .summary-line {
    color: #E6E6E6;
}

.order-summary-card .summary-total {
    padding-top: 12px;
    border-top: 1px solid #333;
    font-size: 18px;
    font-weight: 800;
    color: var(--yellow);
}

.place-order-button {
    margin-top: 6px;
}

.secure-note {
    text-align: center;
    font-size: 12px;
    color: #BDBDBD;
}

.form-submit-error {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--danger);
}

.form-submit-error:empty {
    display: none;
}

/* ------------------------------
   15. ORDER CONFIRMATION
------------------------------ */

.confirmation-view {
    padding: 28px 0 40px;
}

.confirmation-view .narrow-shell {
    display: grid;
    justify-items: center;
    gap: 16px;
    text-align: center;
}

.confirmation-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
}

.confirmation-mark svg {
    width: 36px;
    height: 36px;
    color: var(--black);
}

.confirmation-view h1 {
    font-family: var(--heading-font);
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.15;
}

.confirmation-lead {
    max-width: 520px;
    color: var(--grey-700);
}

.order-number-card {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: var(--grey-100);
    border-radius: var(--radius-md);
}

.order-number-card > span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--grey-500);
}

.order-number-card > strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.order-tracker {
    width: 100%;
    padding: 18px;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
}

.order-tracker h2,
.confirmation-delivery-card h2 {
    font-size: 16px;
    margin-bottom: 12px;
}

.status-timeline {
    display: grid;
}

.status-timeline li {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
    color: var(--grey-500);
}

.status-timeline li:last-child {
    padding-bottom: 0;
}

.status-timeline li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 22px;
    bottom: 0;
    width: 2px;
    background: var(--grey-200);
}

.status-timeline li:last-child::before {
    display: none;
}

.timeline-dot {
    position: relative;
    z-index: 1;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid var(--grey-300);
    border-radius: 50%;
    background: var(--white);
}

.status-timeline li.is-done,
.status-timeline li.is-done strong {
    color: var(--black);
}

.status-timeline li.is-done .timeline-dot {
    background: var(--black);
    border-color: var(--black);
}

.status-timeline li.is-current {
    color: var(--black);
}

.status-timeline li.is-current .timeline-dot {
    background: var(--yellow);
    border-color: var(--yellow-dark);
}

.status-timeline strong {
    display: block;
    font-size: 15px;
}

.status-timeline small {
    font-size: 12px;
}

.confirmation-delivery-card {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 18px;
    text-align: left;
    font-size: 14px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
}

.confirmation-delivery-card p {
    margin: 0;
}

.whatsapp-order-button {
    background: #1F8B4C;
    color: var(--white);
}

.whatsapp-order-button:hover {
    background: #166D3B;
}

.whatsapp-order-button svg {
    width: 20px;
    height: 20px;
}

.confirmation-track-link {
    font-size: 14px;
}

/* ------------------------------
   16. ORDER TRACKING
------------------------------ */

.tracking-view {
    padding: 8px 0 40px;
}

.tracking-card {
    display: grid;
    gap: 12px;
    margin-top: 8px;
    padding: 24px 18px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tracking-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--yellow);
}

.tracking-icon svg {
    width: 26px;
    height: 26px;
}

.tracking-card h1 {
    font-family: var(--heading-font);
    font-size: clamp(26px, 6vw, 34px);
    line-height: 1.15;
}

.tracking-card form {
    display: grid;
    gap: 14px;
}

.tracking-result {
    display: grid;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--grey-200);
}

.tracking-result-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.status-pill {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--black);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
}

.tracking-result-meta {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--grey-700);
}

/* ------------------------------
   17. STORE FOOTER
------------------------------ */

.site-footer {
    margin-top: 40px;
    padding-top: 40px;
    background: var(--black);
    color: var(--white);
}

.footer-main {
    display: grid;
    gap: 28px;
    padding-bottom: 28px;
}

.footer-brand {
    display: grid;
    justify-items: start;
    gap: 12px;
}

.footer-brand-lockup .brand-wordmark {
    color: var(--yellow);
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
}

.footer-brand p {
    max-width: 360px;
    font-size: 14px;
    color: #C7C7C7;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--yellow);
    border-radius: var(--radius-pill);
    color: var(--yellow);
    font-size: 14px;
    font-weight: 700;
}

.footer-whatsapp svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.footer-links h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 12px;
}

.footer-links > div {
    display: grid;
    align-content: start;
    gap: 4px;
}

.footer-links a,
.footer-links button {
    display: block;
    min-height: 36px;
    padding: 4px 0;
    font-size: 13px;
    text-align: left;
    color: #C7C7C7;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #999;
}

.demo-disclaimer {
    padding: 14px 16px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    background: #1A1A1A;
    color: var(--yellow);
}

/* ------------------------------
   18. TOASTS AND NOSCRIPT
------------------------------ */

.toast {
    position: fixed;
    z-index: 1000;
    bottom: 96px;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 30px);
    padding: 13px 19px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.noscript-message {
    padding: 24px;
    text-align: center;
    font-weight: 700;
}

/* ------------------------------
   19. TABLET (600px and up)
------------------------------ */

@media (min-width: 600px) {

    .product-grid,
    .related-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .routine-recommendations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-drawer {
        top: 0;
        left: auto;
        width: 440px;
        height: 100%;
        max-height: none;
        border-radius: 0;
        transform: translateX(105%);
    }

    .overlay.is-open .cart-drawer {
        transform: translateX(0);
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ------------------------------
   20. DESKTOP (900px and up)
------------------------------ */

@media (min-width: 900px) {

    :root {
        --header-height: 76px;
    }

    .hero-section {
        grid-template-columns: 1.1fr .9fr;
        padding: 56px 56px;
    }

    .hero-art {
        min-height: 380px;
    }

    .product-grid,
    .related-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px 23px;
    }

    .desktop-view-all {
        display: inline-flex;
    }

    .routine-inner {
        grid-template-columns: 1fr 1.4fr;
        gap: 48px;
        align-items: start;
    }

    .routine-decoration {
        display: block;
        width: 90px;
        height: 90px;
        margin-top: 18px;
        color: var(--yellow-dark);
    }

    .routine-decoration svg {
        width: 90px;
        height: 90px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 55px;
        align-items: start;
    }

    .detail-image-placeholder {
        position: sticky;
        top: 100px;
    }

    .checkout-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: 32px;
    }

    .footer-main {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
}

/* ------------------------------
   21. VERY SMALL PHONES
------------------------------ */

@media (max-width: 360px) {

    .brand-wordmark {
        font-size: 15px;
    }

    .product-grid,
    .related-product-grid {
        gap: 18px 10px;
    }

    .choice-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ------------------------------
   22. REDUCED MOTION
------------------------------ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
@media (max-width: 599px) {
    .product-card-image {
        aspect-ratio: 1 / 0.9;
    }

    .product-card-image img {
        padding: 10px;
    }
}
/* Sale banner, sale tag and crossed-out prices */
.sale-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 32px, var(--container));
    margin: 18px auto 0;
    padding: 18px 20px;
    background: var(--yellow);
    color: var(--black);
    border-radius: var(--radius-md);
}

.sale-banner h2 {
    font-family: var(--heading-font);
    font-size: 24px;
    line-height: 1.2;
}

.sale-banner p {
    font-size: 14px;
}

.sale-banner .eyebrow {
    margin-bottom: 4px;
    color: var(--black);
}

.sale-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: var(--black);
    color: var(--yellow);
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.was-price {
    color: var(--grey-500);
    font-weight: 600;
    margin-right: 6px;
}

.sale-price {
    color: var(--danger);
    font-weight: 800;
}

/* Sale corner ribbon: top left of product photo */
.product-card-image {
  position: relative;
  overflow: hidden;
}

.product-card-image .sale-tag {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  padding: 4px 0;
  text-align: center;
  background: linear-gradient(180deg, #e53935, #b71c1c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transform: translate(-40px, 20px) rotate(-45deg);
  pointer-events: none;
  z-index: 2;
}

/* Reviews */
.reviews-block { margin: 48px 0; }
.reviews-block .eyebrow { margin-bottom: 8px; }
.reviews-empty { color: #666; }
.reviews-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 20px; }
.review-list { display: grid; gap: 16px; margin: 0 0 32px; }
.review-item { border-top: 1px solid #e6e1d8; padding-top: 14px; }
.review-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.review-top time { color: #777; font-size: 13px; }
.review-form { display: grid; gap: 14px; max-width: 560px; border: 1px solid #e6e1d8; border-radius: 16px; padding: 20px; position: relative; }
.review-form fieldset { border: 0; margin: 0; padding: 0; }
.review-form legend { font-size: 14px; margin-bottom: 6px; }
.review-field { display: grid; gap: 6px; font-size: 14px; }
.review-field input, .review-field textarea { font: inherit; padding: 10px 12px; border: 1px solid #cfc7bb; border-radius: 10px; }
.review-error { color: #b42318; font-size: 14px; margin: 0; min-height: 1em; }
.review-note { font-size: 12px; color: #777; margin: 0; }
.hp-field { position: absolute; left: -9999px; }
.star-row { display: inline-flex; gap: 2px; font-size: 16px; line-height: 1; }
.star-row .star-on { color: #f5a524; }
.star-row .star-off { color: #d6d6d6; }
.reviews-summary .star-row { font-size: 22px; }
.star-input { display: inline-flex; flex-direction: row-reverse; position: relative; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 30px; line-height: 1; color: #d6d6d6; cursor: pointer; padding: 0 2px; }
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: #f5a524; }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; margin-top: 6px; }
.card-rating .star-row { font-size: 13px; }

/* Reviews: mobile */
@media (max-width: 599px) {
  .reviews-block {
    margin: 32px 0;
  }

  .review-form {
    max-width: 100%;
    padding: 16px;
    border-radius: 14px;
    gap: 12px;
  }

  .review-form h3 {
    font-size: 20px;
    margin: 0;
  }

  .review-field input,
  .review-field textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* stops iPhone zooming in on focus */
  }

  .review-form button[type="submit"] {
    width: 100%;
  }

  .star-input label {
    font-size: 36px; /* bigger tap targets */
    padding: 0 4px;
  }

  .review-top {
    gap: 6px;
  }

  .reviews-summary {
    gap: 6px;
  }
}
