:root {
    --maroon: #6f1738;
    --maroon-dark: #4f0f28;
    --maroon-soft: #f7e9ee;
    --gold: #c99a3d;
    --cream: #fff8ef;
    --cream-2: #f7eee7;
    --ink: #21151a;
    --muted: #71656a;
    --line: #e6d9d3;
    --white: #fff;
    --green: #168f57;
    --red: #b93846;
    --orange: #b66b22;
    --blue: #436b8e;
    --shadow: 0 18px 50px rgba(62, 28, 42, .12);
    --shadow-sm: 0 8px 24px rgba(62, 28, 42, .09);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1240px;
    --header-h: 76px;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: Georgia, "Times New Roman", serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased
}

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

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

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

button {
    color: inherit
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2 {
    font-family: var(--font-serif);
    line-height: 1.08;
    letter-spacing: -.025em
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.8rem)
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem)
}

h3 {
    font-size: 1.1rem
}

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

.narrow {
    max-width: 760px
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.skip-link {
    position: fixed;
    top: -50px;
    left: 16px;
    z-index: 9999;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px
}

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

.mobile-only {
    display: none !important
}

.announcement {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--maroon);
    color: #fff;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .02em;
    padding: 0 16px
}

.announcement a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(230, 217, 211, .85)
}

.header-inner {
    height: var(--header-h);
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 24px
}

.brand img {
    width: 220px;
    height: auto
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 2.1vw, 32px);
    font-size: .92rem;
    font-weight: 700
}

.desktop-nav a {
    position: relative;
    padding: 26px 0
}

.desktop-nav a:after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 18px;
    height: 2px;
    background: var(--maroon);
    transition: .25s
}

.desktop-nav a:hover:after {
    left: 0;
    right: 0
}

.desktop-nav .sale-link {
    color: var(--maroon)
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px
}

.icon-button,
.cart-button {
    border: 0;
    background: transparent;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 800
}

.icon-button:hover,
.cart-button:hover {
    background: var(--cream-2)
}

.cart-button {
    gap: 8px;
    padding: 0 12px;
    background: var(--cream)
}

.cart-button strong {
    background: var(--maroon);
    color: #fff;
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    font-size: .72rem
}

.search-panel {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    background: #fff;
    box-shadow: var(--shadow-sm)
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px
}

.search-form input {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--cream);
    padding: 14px 18px;
    border-radius: 999px;
    outline: none
}

.search-form input:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(111, 23, 56, .1)
}

.mobile-drawer {
    position: fixed;
    inset: 34px auto 0 0;
    width: min(88vw, 360px);
    z-index: 500;
    background: #fff;
    padding: 20px;
    box-shadow: 30px 0 80px rgba(32, 10, 20, .25);
    overflow: auto
}

.mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 12px
}

.mobile-drawer>a {
    display: block;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 700
}

.toast-stack {
    position: fixed;
    right: 20px;
    top: 120px;
    z-index: 1000;
    display: grid;
    gap: 10px;
    width: min(390px, calc(100% - 40px))
}

.toast {
    background: #fff;
    border-left: 5px solid var(--blue);
    border-radius: 12px;
    padding: 13px 44px 13px 16px;
    box-shadow: var(--shadow);
    position: relative
}

.toast-success {
    border-color: var(--green)
}

.toast-error,
.toast-danger {
    border-color: var(--red)
}

.toast-warning {
    border-color: var(--orange)
}

.toast button {
    position: absolute;
    right: 9px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer
}

.button {
    border: 1px solid transparent;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s
}

.button:hover {
    transform: translateY(-2px)
}

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

.button-primary {
    background: var(--maroon);
    color: #fff;
    box-shadow: 0 12px 26px rgba(111, 23, 56, .2)
}

.button-primary:hover {
    background: var(--maroon-dark)
}

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

.button-ghost:hover {
    border-color: var(--maroon);
    color: var(--maroon)
}

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

.button-whatsapp {
    background: #198754;
    color: #fff
}

.button-danger {
    background: #fbe7ea;
    color: var(--red);
    border-color: #f3c7ce
}

.button-small {
    min-height: 34px;
    padding: 0 13px;
    font-size: .8rem
}

.button-grow {
    flex: 1
}

.button.full {
    width: 100%
}

.button.large {
    min-height: 54px;
    font-size: 1rem
}

.link-button {
    border: 0;
    background: none;
    text-decoration: underline;
    cursor: pointer
}

.danger,
.danger-text {
    color: var(--red) !important
}

.muted {
    color: var(--muted)
}

.eyebrow {
    display: inline-block;
    color: var(--maroon);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 12px
}

.section {
    padding: 82px 0
}

.section-soft {
    background: var(--cream)
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px
}

.section-head h2 {
    margin-bottom: 0
}

.section-head a {
    font-weight: 800;
    color: var(--maroon);
    white-space: nowrap
}

.hero-section {
    background: linear-gradient(135deg, #fff 0%, var(--cream) 45%, #f2e4dc 100%);
    overflow: hidden
}

.hero-grid {
    min-height: 660px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 54px;
    align-items: center
}

.hero-copy {
    max-width: 630px;
    padding: 64px 0
}

.hero-copy h1 {
    margin-bottom: 22px
}

.hero-copy p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0
}

.hero-proof {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .84rem;
    font-weight: 700;
    color: var(--muted)
}

.hero-proof b {
    color: var(--green)
}

.hero-media {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-media:before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #f6e5e0 60%, transparent 61%);
    animation: float 7s ease-in-out infinite
}

.hero-media>img {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 12px solid rgba(255, 255, 255, .8);
    animation: float 7s ease-in-out infinite
}

.hero-floating-card {
    position: absolute;
    left: 0;
    bottom: 90px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 2px;
    max-width: 240px
}

.hero-floating-card span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--maroon);
    font-weight: 900
}

.hero-floating-card small {
    color: var(--muted)
}

.hero-placeholder {
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-size: 3rem
}

.trust-strip {
    background: var(--ink);
    color: #fff;
    padding: 22px 0
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.trust-grid>div {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    align-items: center
}

.trust-grid>div>span {
    grid-row: 1/3;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #f5d398
}

.trust-grid b {
    font-size: .9rem
}

.trust-grid small {
    color: #cfc7ca
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.category-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream-2);
    box-shadow: var(--shadow-sm)
}

.category-card img,
.category-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease
}

.category-card:hover img {
    transform: scale(1.055)
}

.category-card:after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(24, 8, 15, .86))
}

.category-card>span {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 20px;
    color: #fff;
    display: grid
}

.category-card b {
    font-family: var(--font-serif);
    font-size: 1.65rem
}

.category-card small {
    color: #efe4e8
}

.category-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #f7e8ec, #dcc1ca);
    font-size: 5rem;
    font-family: var(--font-serif);
    color: var(--maroon)
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 18px
}

.product-card {
    min-width: 0
}

.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1/1.15;
    overflow: hidden;
    border-radius: 20px;
    background: var(--cream-2)
}

.product-card-image,
.product-card-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .35s, transform .55s
}

.product-card-hover {
    position: absolute;
    inset: 0;
    opacity: 0
}

.product-card:hover .product-card-hover {
    opacity: 1
}

.product-card:hover .product-card-image {
    transform: scale(1.035)
}

.actual-photo-badge,
.product-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em
}

.actual-photo-badge.large {
    top: auto;
    bottom: 14px;
    left: 14px
}

.product-badge {
    left: auto;
    right: 12px;
    background: var(--maroon);
    color: #fff
}

.product-badge.sale {
    background: #bd3545
}

.quick-view {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 20px);
    opacity: 0;
    background: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    transition: .28s;
    box-shadow: var(--shadow-sm)
}

.product-card:hover .quick-view {
    opacity: 1;
    transform: translate(-50%, 0)
}

.product-card-body {
    padding: 13px 4px 0
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.06rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: .78rem
}

.rating-line.large {
    font-size: .9rem;
    margin: 9px 0 20px
}

.stars {
    color: var(--gold);
    letter-spacing: .03em
}

.price-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px
}

.price-line strong {
    font-size: 1rem
}

.price-line del {
    color: var(--muted);
    font-size: .82rem
}

.variant-swatches {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px
}

.variant-thumb {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    padding: 2px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: .2s
}

.variant-thumb:hover,
.variant-thumb.active {
    border-color: var(--maroon);
    transform: scale(1.08)
}

.variant-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
}

.variant-thumb span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--swatch, #ddd)
}

.variant-thumb.sold-out {
    opacity: .45
}

.more-variants {
    font-size: .75rem;
    font-weight: 800;
    color: var(--maroon)
}

.story-section {
    background: #fff
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.story-visual {
    position: relative
}

.story-visual img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50% 50% 18% 18%;
    box-shadow: var(--shadow)
}

.story-visual span {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
    box-shadow: var(--shadow-sm)
}

.story-grid p {
    color: var(--muted);
    font-size: 1.05rem
}

.review-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 1fr);
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 22px
}

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    scroll-snap-align: start
}

.review-card p {
    font-family: var(--font-serif);
    font-size: 1.15rem
}

.review-card footer {
    display: grid
}

.review-card footer span {
    color: var(--green);
    font-size: .72rem;
    font-weight: 800
}

.review-card footer small {
    color: var(--muted)
}

.whatsapp-banner {
    background: var(--maroon);
    color: #fff;
    padding: 54px 0
}

.whatsapp-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.whatsapp-banner h2 {
    margin-bottom: 8px
}

.whatsapp-banner p {
    margin-bottom: 0;
    color: #f0dfe5
}

.whatsapp-banner .eyebrow {
    color: #f1cc8a
}

.page-hero {
    background: linear-gradient(120deg, var(--cream), #f1e2dc);
    padding: 70px 0
}

.page-hero.compact h1 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    margin-bottom: 10px
}

.page-hero p {
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 0
}

.collection-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 18px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line)
}

.collection-toolbar label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: var(--muted)
}

.collection-toolbar label:last-child {
    text-align: right
}

.collection-toolbar select {
    display: block;
    width: 100%;
    margin-top: 5px;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: var(--ink)
}

.collection-toolbar>span {
    text-align: center;
    color: var(--muted);
    font-size: .85rem
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 44px
}

.pagination a {
    border: 1px solid var(--line);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700
}

.empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 20px;
    background: var(--cream);
    border-radius: var(--radius)
}

.product-page {
    padding-top: 25px;
    padding-bottom: 70px
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: .8rem;
    padding: 12px 0 25px;
    overflow: hidden;
    white-space: nowrap
}

.breadcrumbs span:last-child {
    overflow: hidden;
    text-overflow: ellipsis
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
    gap: 56px;
    align-items: start
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-h) + 28px)
}

.product-main-media {
    position: relative;
    background: var(--cream-2);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1/1
}

.product-main-media>img,
.product-main-media>video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.zoom-button {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 1.2rem
}

.gallery-thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78px;
    overflow-x: auto;
    gap: 9px;
    padding-top: 12px
}

.gallery-thumb {
    width: 78px;
    height: 78px;
    border: 2px solid transparent;
    border-radius: 13px;
    padding: 0;
    overflow: hidden;
    background: var(--cream-2);
    cursor: pointer
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--maroon)
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.video-thumb {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--maroon);
    font-size: 1.3rem
}

.product-buy-box {
    padding: 10px 0
}

.product-buy-box h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin-bottom: 6px
}

.product-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0
}

.product-price strong {
    font-size: 1.65rem
}

.product-price del {
    color: var(--muted)
}

.product-summary {
    color: var(--muted);
    font-size: 1.03rem
}

.buy-form {
    margin-top: 26px
}

.variant-title {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .9rem;
    margin-bottom: 10px
}

.product-variant-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px
}

.product-variant {
    position: relative;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 3px;
    background: var(--cream-2);
    cursor: pointer;
    text-align: left;
    overflow: hidden
}

.product-variant.active {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(111, 23, 56, .08)
}

.product-variant img,
.product-variant>span {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 9px;
    display: block
}

.product-variant small {
    display: block;
    padding: 5px 3px 3px;
    font-size: .64rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.product-variant em {
    position: absolute;
    inset: 3px 3px auto;
    background: rgba(255, 255, 255, .82);
    font-size: .65rem;
    text-align: center;
    font-style: normal
}

.product-variant.sold-out {
    opacity: .55
}

.stock-message {
    font-size: .82rem;
    color: var(--green);
    font-weight: 800;
    margin: 10px 0 12px
}

.buy-row {
    display: flex;
    gap: 10px
}

.quantity-control {
    display: grid;
    grid-template-columns: 36px 46px 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden
}

.quantity-control button,
.quantity-control input {
    border: 0;
    background: #fff;
    text-align: center;
    min-width: 0
}

.quantity-control button {
    cursor: pointer
}

.quantity-control input {
    -moz-appearance: textfield
}

.quantity-control input::-webkit-inner-spin-button {
    display: none
}

.purchase-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden
}

.purchase-trust>div {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--line)
}

.purchase-trust>div:nth-child(odd) {
    border-right: 1px solid var(--line)
}

.purchase-trust>div:nth-last-child(-n+2) {
    border-bottom: 0
}

.purchase-trust>div>span {
    color: var(--maroon)
}

.purchase-trust p {
    display: grid;
    margin: 0
}

.purchase-trust b {
    font-size: .82rem
}

.purchase-trust small {
    color: var(--muted);
    font-size: .7rem
}

.product-information {
    padding: 44px 0
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.info-grid details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px
}

.info-grid summary {
    font-weight: 800;
    cursor: pointer
}

.info-grid details>div {
    color: var(--muted);
    padding-top: 12px;
    font-size: .9rem
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 60px
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0 28px
}

.review-summary>strong {
    font-family: var(--font-serif);
    font-size: 3.4rem
}

.review-summary>div {
    display: grid
}

.review-list {
    display: grid;
    gap: 14px
}

.review-card.detailed p {
    font-family: var(--font-sans);
    font-size: .95rem
}

.review-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.review-card-head b {
    font-size: .7rem;
    color: var(--green)
}

.review-photo {
    max-width: 230px;
    border-radius: 13px;
    margin: 12px 0
}

.staff-reply {
    background: var(--cream);
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
    font-size: .85rem
}

.review-form-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 28px;
    align-self: start;
    position: sticky;
    top: 110px
}

.stack-form p {
    margin-bottom: 14px
}

.stack-form label {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: 5px
}

.rating-options {
    display: grid !important;
    gap: 7px
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(18, 6, 12, .9);
    display: grid;
    place-items: center;
    padding: 30px
}

.image-modal[hidden] {
    display: none
}

.image-modal img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain
}

.image-modal .icon-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
    gap: 42px;
    align-items: start
}

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

.cart-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 80px 90px auto;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px
}

.cart-item img,
.cart-item .image-placeholder {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px
}

.cart-item p {
    color: var(--muted);
    margin: 3px 0
}

.cart-item span {
    font-size: .8rem;
    color: var(--muted)
}

.cart-item label {
    font-size: .7rem;
    color: var(--muted)
}

.form-control.small {
    padding: 7px
}

.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px
}

.order-summary,
.checkout-summary {
    position: sticky;
    top: 110px;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 26px
}

.order-summary>div,
.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0
}

.summary-total,
.summary-row.total {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 18px;
    font-size: 1.2rem
}

.order-summary p {
    font-size: .82rem;
    color: var(--muted)
}

.order-summary .button {
    margin-top: 9px
}

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

.form-section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px
}

.form-section h2 {
    font-size: 1.5rem
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.form-grid.compact {
    gap: 12px
}

.form-grid .span-2 {
    grid-column: 1/-1
}

.form-grid label,
.stack-form label,
.checkout-form label {
    font-size: .78rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px
}

.form-control,
.form-select {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 11px 13px;
    outline: none
}

.form-control:focus,
.form-select:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(111, 23, 56, .08)
}

textarea.form-control {
    resize: vertical
}

.form-grid small,
.stack-form small {
    color: var(--muted);
    font-size: .7rem
}

.errorlist {
    color: var(--red);
    font-size: .78rem;
    padding-left: 18px
}

.form-errors {
    background: #fce8eb;
    color: var(--red);
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px
}

.payment-methods {
    display: grid;
    gap: 10px
}

.payment-card {
    display: flex !important;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 14px;
    cursor: pointer
}

.payment-card:has(input:checked) {
    border-color: var(--maroon);
    background: var(--maroon-soft)
}

.payment-card input {
    margin-top: 5px
}

.payment-card span {
    display: grid
}

.payment-card small {
    color: var(--muted);
    font-weight: 400
}

.check-row {
    display: flex !important;
    align-items: center;
    gap: 9px;
    margin: 0 !important
}

.check-row input {
    width: 18px;
    height: 18px
}

.terms-row {
    padding: 4px 8px
}

.secure-note {
    text-align: center;
    color: var(--muted);
    font-size: .75rem
}

.checkout-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.checkout-item img {
    width: 52px;
    height: 52px;
    border-radius: 9px;
    object-fit: cover
}

.checkout-item p {
    display: grid;
    margin: 0;
    font-size: .82rem
}

.checkout-item small {
    color: var(--muted)
}

.mini-trust {
    border-top: 1px solid var(--line);
    margin-top: 15px;
    padding-top: 12px
}

.mini-trust p {
    font-size: .78rem;
    margin: 5px 0;
    color: var(--green)
}

.success-card {
    margin: 40px 0;
    background: var(--cream);
    border-radius: 30px;
    padding: 40px;
    text-align: center
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-size: 2rem;
    margin: 0 auto 18px
}

.success-total {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.4rem;
    margin: 20px 0
}

.action-notice {
    background: #eaf7ef;
    border: 1px solid #bde4cb;
    border-radius: 18px;
    padding: 20px;
    text-align: left;
    margin: 20px 0
}

.action-notice.warning {
    background: #fff3d9;
    border-color: #f0d79e
}

.action-notice h2 {
    font-size: 1.35rem
}

.order-success-items {
    background: #fff;
    border-radius: 16px;
    padding: 13px 18px;
    margin: 18px 0;
    text-align: left
}

.order-success-items>div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line)
}

.order-success-items>div:last-child {
    border-bottom: 0
}

.order-success-items span {
    display: grid
}

.order-success-items small {
    color: var(--muted)
}

.track-form {
    background: var(--cream);
    padding: 26px;
    border-radius: var(--radius);
    margin-bottom: 24px
}

.track-form p {
    margin-bottom: 14px
}

.track-form label {
    font-weight: 800;
    font-size: .8rem
}

.tracking-result {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px
}

.tracking-head {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.tracking-steps {
    margin: 25px 0
}

.tracking-step {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    position: relative;
    padding-bottom: 18px
}

.tracking-step:not(:last-child):after {
    content: "";
    position: absolute;
    left: 6px;
    top: 13px;
    width: 2px;
    bottom: -2px;
    background: var(--line)
}

.tracking-step>span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--maroon);
    position: relative;
    z-index: 1
}

.tracking-step p {
    display: grid;
    margin: 0
}

.tracking-step small {
    color: var(--muted)
}

.shipment-box {
    background: var(--cream);
    border-radius: 14px;
    padding: 14px
}

.shipment-box p {
    margin: 3px 0
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px
}

.contact-method>span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--maroon-soft);
    color: var(--maroon)
}

.contact-method p {
    display: grid;
    margin: 0
}

.contact-method small {
    color: var(--muted)
}

.contact-form {
    background: var(--cream);
    padding: 28px;
    border-radius: var(--radius)
}

.policy-page {
    max-width: 850px;
    padding-top: 55px;
    padding-bottom: 75px
}

.policy-page h2 {
    font-size: 1.75rem;
    margin-top: 34px
}

.policy-page p {
    color: var(--muted);
    font-size: 1.02rem
}

.login-card {
    max-width: 460px;
    margin: 60px auto;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 30px
}

.site-footer {
    background: #1e1418;
    color: #fff;
    padding: 62px 0 100px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 44px
}

.footer-logo {
    display: block;
    width: 195px;
    max-width: 100%;
    height: auto;

    filter: none;

    background: #ffffff;
    padding: 8px 12px;
    border-radius: 12px;

    object-fit: contain;
}
@media (max-width: 520px) {
    .footer-logo {
        width: 180px;
        padding: 7px 10px;
        border-radius: 10px;
    }
}

.footer-grid p {
    color: #cfc6ca;
    font-size: .88rem
}

.footer-grid h2 {
    font-family: var(--font-sans);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #e9c681
}

.footer-grid>div>a {
    display: block;
    color: #d8d0d3;
    padding: 4px 0;
    font-size: .88rem
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #41343a;
    margin-top: 38px;
    padding-top: 18px;
    color: #958b90;
    font-size: .75rem
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    background: #198754;
    color: #fff;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 900;
    box-shadow: var(--shadow)
}

.mobile-bottom-nav {
    display: none
}

.reveal {
    animation: reveal .7s ease both
}

.delay-1 {
    animation-delay: .12s
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

/* Staff */
.staff-body {
    background: #f7f3f1
}

.staff-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh
}

.staff-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #21151a;
    color: #fff;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    z-index: 200
}

.staff-brand {
    display: block;
    background: #fff;
    border-radius: 14px;
    padding: 9px;
    margin-bottom: 22px
}

.staff-brand img {
    width: 190px
}

.staff-sidebar nav {
    display: grid;
    gap: 3px
}

.staff-sidebar nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: #d8cfd3;
    font-size: .88rem;
    font-weight: 700
}

.staff-sidebar nav a:hover {
    background: #3a2630;
    color: #fff
}

.staff-sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid #49353f;
    padding-top: 12px;
    display: grid
}

.staff-sidebar-bottom a,
.staff-sidebar-bottom button {
    display: block;
    padding: 8px 10px;
    color: #c7bfc2;
    font-size: .8rem;
    background: none;
    border: 0;
    text-align: left;
    width: 100%;
    cursor: pointer
}

.staff-main {
    min-width: 0
}

.staff-topbar {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 100
}

.staff-topbar>div:first-of-type {
    display: grid
}

.staff-topbar small {
    color: var(--muted);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.staff-user {
    display: flex;
    align-items: center;
    gap: 10px
}

.staff-user b {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--maroon);
    color: #fff
}

.staff-content {
    padding: 28px;
    max-width: 1600px;
    margin-inline: auto
}

.staff-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px
}

.staff-welcome h1 {
    font-size: 2.2rem;
    margin-bottom: 5px
}

.staff-welcome p {
    color: var(--muted);
    margin: 0
}

.staff-welcome>div:last-child {
    display: flex;
    gap: 9px
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px
}

.metric-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    box-shadow: 0 5px 18px rgba(56, 31, 42, .04)
}

.metric-card span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800
}

.metric-card strong {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin: 3px 0
}

.metric-card small {
    color: var(--muted)
}

.metric-card.highlight {
    background: var(--maroon);
    color: #fff
}

.metric-card.highlight span,
.metric-card.highlight small {
    color: #f4dae4
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px
}

.dashboard-grid .span-2 {
    grid-column: 1/-1
}

.staff-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 5px 18px rgba(56, 31, 42, .035);
    min-width: 0
}

.staff-panel h2 {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 5px
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px
}

.panel-head p {
    color: var(--muted);
    font-size: .8rem;
    margin: 0
}

.panel-head>a {
    font-size: .8rem;
    color: var(--maroon);
    font-weight: 800
}

.table-wrap {
    overflow-x: auto
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem
}

.data-table th {
    text-align: left;
    color: var(--muted);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 10px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap
}

.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee6e2;
    vertical-align: middle
}

.data-table td small {
    display: block;
    color: var(--muted);
    margin-top: 2px
}

.data-table tr:last-child td {
    border-bottom: 0
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e7eff5;
    color: var(--blue);
    font-size: .67rem;
    font-weight: 900;
    white-space: nowrap
}

.status-badge.success {
    background: #e4f4e9;
    color: var(--green)
}

.status-badge.warning {
    background: #fff1d8;
    color: var(--orange)
}

.status-badge.danger {
    background: #fbe5e8;
    color: var(--red)
}

.status-badge.info {
    background: #e7eff5;
    color: var(--blue)
}

.compact-list {
    display: grid
}

.compact-list>a,
.compact-list>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.compact-list>a:last-child,
.compact-list>div:last-child {
    border-bottom: 0
}

.compact-list span {
    display: grid
}

.compact-list small {
    color: var(--muted)
}

.staff-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px
}

.staff-filter-form {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap
}

.staff-filter-form .form-control {
    min-width: 280px
}

.staff-filter-form .form-select {
    width: auto;
    min-width: 150px
}

.order-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px
}

.order-admin-head>div:last-child {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.order-admin-head p {
    color: var(--muted);
    margin: 7px 0 0
}

.order-items-admin {
    display: grid
}

.order-items-admin>div {
    display: grid;
    grid-template-columns: 58px 1fr 120px 100px;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.order-items-admin img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px
}

.order-items-admin span {
    display: grid
}

.order-items-admin small {
    color: var(--muted)
}

.admin-totals {
    margin: 15px 0 0 auto;
    max-width: 360px
}

.admin-totals>div {
    display: flex;
    justify-content: space-between;
    padding: 5px 0
}

.admin-totals .total {
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
    padding-top: 10px
}

.chip-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.chip-row span {
    background: var(--cream);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: .66rem;
    font-weight: 800
}

.chip-row span.danger {
    background: #fbe5e8
}

.note-box {
    background: var(--cream);
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0
}

.note-box p {
    margin: 4px 0 0
}

.status-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.status-action {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: .7rem;
    cursor: pointer
}

.status-action:hover,
.status-action.active {
    border-color: var(--maroon);
    background: var(--maroon-soft);
    color: var(--maroon)
}

.payment-record {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.payment-record>div:first-child {
    display: grid
}

.payment-record small {
    color: var(--muted)
}

.payment-decisions {
    display: flex;
    gap: 6px
}

.shipment-card {
    background: var(--cream);
    border-radius: 13px;
    padding: 12px;
    margin-bottom: 10px
}

.shipment-card p {
    font-size: .78rem;
    margin: 5px 0
}

.admin-details {
    border-top: 1px solid var(--line);
    margin-top: 12px;
    padding-top: 12px
}

.admin-details summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--maroon)
}

.admin-details form {
    padding-top: 14px
}

.timeline>div {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 10px;
    padding-bottom: 14px;
    position: relative
}

.timeline>div:not(:last-child):after {
    content: "";
    position: absolute;
    left: 5px;
    top: 12px;
    bottom: -3px;
    width: 2px;
    background: var(--line)
}

.timeline span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--maroon);
    position: relative;
    z-index: 1
}

.timeline p {
    display: grid;
    margin: 0
}

.timeline small {
    color: var(--muted)
}

.manual-order-layout,
.product-admin-form {
    display: grid;
    gap: 18px
}

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

.manual-item-row {
    display: grid;
    grid-template-columns: 120px 1fr 70px 110px auto;
    gap: 8px;
    align-items: center;
    background: var(--cream);
    border-radius: 12px;
    padding: 12px
}

.manual-item-row label {
    font-size: .7rem;
    font-weight: 800
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px
}

.sticky-actions {
    position: sticky;
    bottom: 12px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    z-index: 30;
    box-shadow: var(--shadow-sm)
}

.table-product {
    display: flex;
    align-items: center;
    gap: 10px
}

.table-product img {
    width: 48px;
    height: 48px;
    border-radius: 9px;
    object-fit: cover
}

.table-product span {
    display: grid
}

.table-actions {
    display: flex;
    gap: 8px;
    align-items: center
}

.table-actions a,
.table-actions button {
    border: 0;
    background: none;
    color: var(--maroon);
    font-size: .75rem;
    font-weight: 800;
    cursor: pointer;
    padding: 0
}

.inline-formset {
    display: grid;
    gap: 12px
}

.inline-form-card {
    background: var(--cream);
    border-radius: 14px;
    padding: 14px
}

.inline-card-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px
}

.inline-card-title small {
    color: var(--muted)
}

.stock-input {
    max-width: 100px
}

.review-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.review-admin-card>div:not(.review-card-head) {
    display: grid
}

.export-actions {
    display: flex;
    gap: 8px
}

.report-period {
    color: var(--muted)
}

.report-metrics {
    grid-template-columns: repeat(4, 1fr)
}

.report-note {
    background: var(--cream)
}

.simple-steps {
    padding-left: 20px
}

.simple-steps li {
    margin-bottom: 12px
}

.metric-grid.compact {
    grid-template-columns: repeat(4, 1fr)
}

code {
    font-size: .75rem;
    background: var(--cream);
    padding: 3px 5px;
    border-radius: 5px
}

@media(max-width:1020px) {
    .header-inner {
        grid-template-columns: 210px 1fr auto
    }

    .desktop-nav {
        gap: 14px
    }

    .hero-grid {
        min-height: 590px;
        gap: 30px
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
        gap: 30px
    }

    .product-variant-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .staff-shell {
        grid-template-columns: 220px 1fr
    }

    .staff-content {
        padding: 20px
    }

    .metric-grid,
    .report-metrics {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:800px) {
    :root {
        --header-h: 62px
    }

    .desktop-only {
        display: none !important
    }

    .mobile-only {
        display: flex !important
    }

    .announcement {
        justify-content: flex-start;
        overflow: hidden;
        white-space: nowrap
    }

    .announcement span {
        overflow: hidden;
        text-overflow: ellipsis
    }

    .announcement a {
        margin-left: auto
    }

    .header-inner {
        grid-template-columns: 42px 1fr auto;
        height: 62px;
        gap: 8px
    }

    .brand {
        display: flex;
        justify-content: center
    }

    .brand img {
        width: 165px
    }

    .header-actions {
        gap: 2px
    }

    .header-actions .icon-button {
        display: none
    }

    .cart-button {
        font-size: .72rem;
        padding: 0 8px;
        min-width: 56px
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        height: 68px;
        padding-bottom: env(safe-area-inset-bottom);
        background: #fff;
        border-top: 1px solid var(--line);
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        box-shadow: 0 -8px 24px rgba(47, 20, 31, .08)
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        border: 0;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        font-size: .62rem;
        font-weight: 700;
        position: relative
    }

    .mobile-bottom-nav span {
        font-size: .85rem
    }

    .mobile-bottom-nav b {
        position: absolute;
        top: 5px;
        right: 18%;
        background: var(--maroon);
        color: #fff;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        font-size: .58rem
    }

    .whatsapp-float {
        display: none
    }

    .site-footer {
        padding-bottom: 95px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 40px 0
    }

    .hero-copy {
        padding: 10px 0 0;
        text-align: center
    }

    .hero-copy p {
        margin-inline: auto
    }

    .hero-actions,
    .hero-proof {
        justify-content: center
    }

    .hero-media {
        min-height: 380px
    }

    .hero-media:before {
        width: 330px;
        height: 330px
    }

    .hero-media>img {
        width: 340px
    }

    .hero-floating-card {
        left: 8px;
        bottom: 30px;
        text-align: left
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 17px
    }

    .section {
        padding: 56px 0
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 12px
    }

    .product-card-media {
        border-radius: 15px
    }

    .product-card-title {
        font-size: .93rem
    }

    .category-grid {
        gap: 12px
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .whatsapp-banner .container {
        display: grid;
        text-align: center
    }

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

    .collection-toolbar {
        grid-template-columns: 1fr 1fr
    }

    .collection-toolbar>span {
        grid-column: 1/-1;
        grid-row: 1;
        text-align: left
    }

    .product-detail-grid {
        grid-template-columns: 1fr
    }

    .product-gallery {
        position: static
    }

    .product-buy-box h1 {
        font-size: 2.4rem
    }

    .product-variant-grid {
        grid-template-columns: repeat(5, 1fr)
    }

    .reviews-layout {
        grid-template-columns: 1fr
    }

    .review-form-card {
        position: static
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .mobile-buy-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 68px;
        z-index: 91;
        background: #fff;
        border-top: 1px solid var(--line);
        padding: 9px 14px;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 -8px 20px rgba(47, 20, 31, .08)
    }

    .mobile-buy-bar>div {
        display: grid
    }

    .mobile-buy-bar small {
        color: var(--muted)
    }

    .mobile-buy-bar .button {
        min-height: 42px
    }

    .cart-layout,
    .checkout-layout,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .order-summary,
    .checkout-summary {
        position: static;
        order: -1
    }

    .cart-item {
        grid-template-columns: 78px 1fr 65px
    }

    .cart-item img,
    .cart-item .image-placeholder {
        width: 78px;
        height: 78px
    }

    .cart-item>strong {
        grid-column: 2
    }

    .cart-item>.link-button {
        grid-column: 3
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-grid .span-2 {
        grid-column: auto
    }

    .staff-shell {
        display: block
    }

    .staff-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 270px;
        transform: translateX(-105%);
        transition: .25s;
        box-shadow: 20px 0 50px rgba(0, 0, 0, .25)
    }

    .staff-sidebar.open {
        transform: none
    }

    .staff-main {
        width: 100%
    }

    .staff-topbar {
        height: 62px;
        padding: 0 14px
    }

    .staff-content {
        padding: 14px
    }

    .staff-welcome,
    .staff-toolbar,
    .order-admin-head {
        align-items: flex-start;
        flex-direction: column
    }

    .staff-welcome>div:last-child {
        width: 100%
    }

    .staff-welcome .button {
        flex: 1
    }

    .dashboard-grid {
        grid-template-columns: 1fr
    }

    .dashboard-grid .span-2 {
        grid-column: auto
    }

    .order-items-admin>div {
        grid-template-columns: 50px 1fr auto
    }

    .order-items-admin>div>span:nth-of-type(2) {
        grid-column: 2
    }

    .order-items-admin>div>strong {
        grid-column: 3;
        grid-row: 1
    }

    .payment-record {
        grid-template-columns: 1fr auto
    }

    .payment-decisions {
        grid-column: 1/-1
    }

    .manual-item-row {
        grid-template-columns: 1fr 80px
    }

    .manual-item-row label {
        display: none
    }

    .manual-item-row .check-row {
        display: flex !important
    }

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

    .report-metrics {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:520px) {
    .container {
        width: min(calc(100% - 22px), var(--container))
    }

    .announcement {
        font-size: .68rem
    }

    .hero-copy h1 {
        font-size: 2.55rem
    }

    .hero-copy p {
        font-size: .96rem
    }

    .hero-actions {
        display: grid
    }

    .hero-actions .button {
        width: 100%
    }

    .hero-media {
        min-height: 330px
    }

    .hero-media>img {
        width: 295px
    }

    .hero-media:before {
        width: 285px;
        height: 285px
    }

    .hero-floating-card {
        bottom: 15px;
        padding: 12px 14px
    }

    .trust-grid {
        grid-template-columns: 1fr
    }

    .trust-grid>div {
        grid-template-columns: 38px 1fr
    }

    .category-card b {
        font-size: 1.2rem
    }

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

    .product-card-body {
        padding-inline: 1px
    }

    .product-card-title {
        font-size: .86rem;
        line-height: 1.25
    }

    .rating-line {
        font-size: .66rem;
        gap: 4px
    }

    .price-line strong {
        font-size: .9rem
    }

    .variant-thumb {
        width: 26px;
        height: 26px
    }

    .variant-swatches {
        gap: 4px
    }

    .section-head {
        align-items: start
    }

    .section-head a {
        font-size: .75rem
    }

    .product-page {
        width: 100%;
        padding-top: 0
    }

    .breadcrumbs {
        padding-inline: 11px
    }

    .product-main-media {
        border-radius: 0
    }

    .gallery-thumbs {
        padding-inline: 11px
    }

    .product-buy-box {
        padding: 20px 15px
    }

    .product-variant-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .purchase-trust {
        grid-template-columns: 1fr
    }

    .purchase-trust>div:nth-child(odd) {
        border-right: 0
    }

    .purchase-trust>div:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .purchase-trust>div:last-child {
        border-bottom: 0
    }

    .buy-row {
        align-items: stretch
    }

    .quantity-control {
        grid-template-columns: 32px 38px 32px
    }

    .cart-item {
        grid-template-columns: 68px 1fr auto;
        padding: 10px;
        gap: 10px
    }

    .cart-item img,
    .cart-item .image-placeholder {
        width: 68px;
        height: 68px
    }

    .cart-item label {
        grid-column: 2
    }

    .cart-item>strong {
        grid-column: 3;
        grid-row: 1
    }

    .cart-item>.link-button {
        grid-column: 3;
        grid-row: 2
    }

    .success-card {
        padding: 25px 16px
    }

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

    .footer-bottom {
        display: grid;
        gap: 5px
    }

    .metric-grid,
    .report-metrics,
    .metric-grid.compact {
        grid-template-columns: 1fr 1fr;
        gap: 9px
    }

    .metric-card {
        padding: 14px
    }

    .metric-card strong {
        font-size: 1.35rem
    }

    .staff-content {
        padding: 10px
    }

    .staff-panel {
        padding: 14px
    }

    .staff-filter-form {
        width: 100%
    }

    .staff-filter-form .form-control,
    .staff-filter-form .form-select {
        min-width: 0;
        width: 100%
    }

    .staff-toolbar .button {
        width: 100%
    }

    .order-admin-head>div:last-child {
        width: 100%
    }

    .order-admin-head .button {
        flex: 1
    }

    .form-actions.sticky-actions {
        bottom: 75px
    }

    .mobile-buy-bar {
        bottom: 68px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }
}

/* Accessible quick-view shopping modal */
.product-card {
    position: relative
}

.product-card>.quick-view {
    border: 0;
    cursor: pointer;
    font: inherit;
    color: var(--ink)
}

.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 22px
}

.quick-view-modal[hidden] {
    display: none
}

.quick-view-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 12, 18, .68);
    backdrop-filter: blur(7px)
}

.quick-view-dialog {
    position: relative;
    z-index: 1;
    width: min(940px, 100%);
    max-height: min(720px, calc(100vh - 44px));
    overflow: auto;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 32px 110px rgba(20, 5, 12, .36)
}

.quick-view-close {
    position: absolute;
    right: 13px;
    top: 13px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: 1.55rem;
    cursor: pointer
}

.quick-view-loading {
    padding: 90px 30px;
    text-align: center;
    color: var(--muted)
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr .92fr
}

.quick-view-image-wrap {
    position: relative;
    min-height: 560px;
    background: var(--cream);
    overflow: hidden
}

.quick-view-image-wrap>img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover
}

.quick-view-info {
    padding: 54px 44px 38px
}

.quick-view-info h2 {
    font-size: 2.35rem;
    margin-bottom: 12px
}

.quick-view-info>p {
    color: var(--muted)
}

.quick-variant-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0
}

.quick-variant {
    position: relative;
    width: 56px;
    height: 56px;
    border: 2px solid transparent;
    border-radius: 13px;
    padding: 3px;
    background: #fff;
    cursor: pointer;
    overflow: hidden
}

.quick-variant img,
.quick-variant>span {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
    display: block
}

.quick-variant.active {
    border-color: var(--maroon)
}

.quick-variant.sold-out:after {
    content: "";
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, transparent 47%, rgba(185, 56, 70, .8) 48%, rgba(185, 56, 70, .8) 52%, transparent 53%)
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin: 14px 0
}

.quick-qty {
    width: 76px;
    text-align: center
}

.no-scroll {
    overflow: hidden
}

@media(max-width:800px) {
    .quick-view-modal {
        padding: 0
    }

    .quick-view-dialog {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0
    }

    .quick-view-grid {
        grid-template-columns: 1fr
    }

    .quick-view-image-wrap,
    .quick-view-image-wrap>img {
        min-height: 380px;
        max-height: 46vh
    }

    .quick-view-info {
        padding: 25px 17px 95px
    }

    .quick-view-info h2 {
        font-size: 1.9rem
    }

    .quick-view-close {
        position: fixed
    }

    .quick-variant {
        width: 50px;
        height: 50px
    }
}

.product-card-media-link {
    display: block;
    width: 100%;
    height: 100%
}

.product-card-media>.quick-view {
    bottom: 18px
}

.product-card-media:hover>.quick-view {
    opacity: 1;
    transform: translate(-50%, 0)
}

/* Staff workflow additions */
.order-edit-row {
    grid-template-columns: minmax(260px, 1fr) 90px 130px auto;
    align-items: end
}

.payment-summary {
    display: grid;
    text-align: right;
    gap: 2px
}

.payment-summary small {
    color: var(--muted)
}

.warning-panel {
    border-color: #e1b25c;
    background: #fff9e8
}

.warning-panel h2 {
    color: #8a5b00
}

.restock-form {
    margin-top: 14px
}

.inline-formset+[data-add-form],
.manual-items+[data-add-form] {
    margin-top: 14px
}

@media(max-width:800px) {
    .order-edit-row {
        grid-template-columns: 1fr 90px
    }

    .order-edit-row label:nth-of-type(3),
    .order-edit-row input[name$="unit_price"] {
        grid-column: auto
    }

    .payment-summary {
        text-align: left
    }
}

@media(max-width:520px) {
    .order-edit-row {
        grid-template-columns: 1fr
    }

    .order-edit-row label {
        display: block !important
    }
}

/* ==================================================
   PROFESSIONAL COMPACT CATEGORY / COLLECTION HEADER
   Product-first layout for all screen sizes
================================================== */

/* ==================================================
   ULTRA-COMPACT CATEGORY / COLLECTION HEADER
   Product-first layout for all screen sizes
================================================== */

/* Desktop and laptop */
.page-hero {
    background: linear-gradient(120deg, var(--cream), #f1e2dc);
    padding: 9px 0;
}

.page-hero .eyebrow {
    margin-bottom: 0;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
}

.page-hero h1,
.page-hero.compact h1 {
    font-size: clamp(1.45rem, 1.8vw, 1.95rem);
    line-height: 1.05;
    margin: 1px 0 2px;
}

.page-hero p {
    color: var(--muted);
    max-width: 560px;
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.25;
}

/* Product section directly below hero */
.page-hero+.section {
    padding-top: 8px;
    padding-bottom: 54px;
}

/* Filter toolbar */
.page-hero+.section .collection-toolbar {
    margin-bottom: 10px;
    padding-bottom: 8px;
}

/* Large desktop */
@media (min-width: 1440px) {
    .page-hero {
        padding: 10px 0;
    }

    .page-hero h1,
    .page-hero.compact h1 {
        font-size: 1.9rem;
    }

    .page-hero+.section {
        padding-top: 9px;
    }
}

/* Laptop and tablet landscape */
@media (max-width: 1200px) {
    .page-hero {
        padding: 8px 0;
    }

    .page-hero h1,
    .page-hero.compact h1 {
        font-size: 1.7rem;
    }

    .page-hero p {
        font-size: 0.72rem;
    }

    .page-hero+.section {
        padding-top: 7px;
        padding-bottom: 50px;
    }

    .page-hero+.section .collection-toolbar {
        margin-bottom: 9px;
        padding-bottom: 7px;
    }
}

/* Tablet */
@media (max-width: 800px) {
    .page-hero {
        padding: 7px 0;
    }

    .page-hero .eyebrow {
        font-size: 0.55rem;
        margin-bottom: 0;
    }

    .page-hero h1,
    .page-hero.compact h1 {
        font-size: 1.35rem;
        margin: 0 0 1px;
    }

    .page-hero p {
        max-width: 100%;
        font-size: 0.68rem;
        line-height: 1.2;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .page-hero+.section {
        padding-top: 7px;
        padding-bottom: 46px;
    }

    .page-hero+.section .collection-toolbar {
        margin-bottom: 8px;
        padding-bottom: 7px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .page-hero {
        padding: 6px 0;
    }

    .page-hero .eyebrow,
    .page-hero p {
        display: none;
    }

    .page-hero h1,
    .page-hero.compact h1 {
        font-size: 1.15rem;
        line-height: 1.05;
        margin: 0;
    }

    .page-hero+.section {
        padding-top: 6px;
        padding-bottom: 40px;
    }

    .page-hero+.section .collection-toolbar {
        margin-bottom: 7px;
        padding-bottom: 6px;
    }
}

/* ==================================================
   ENHANCED MOBILE BOTTOM NAV ICONS
   Keeps existing navbar layout unchanged
================================================== */

@media (max-width: 800px) {

    .mobile-bottom-nav span {
        width: 24px;
        height: 24px;
        display: grid;
        place-items: center;
        line-height: 1;
        transition:
            transform 0.18s ease,
            color 0.18s ease;
    }

    .mobile-bottom-nav span svg {
        width: 20px;
        height: 20px;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-bottom-nav a:active span,
    .mobile-bottom-nav button:active span {
        transform: translateY(-2px) scale(1.08);
        color: var(--maroon);
    }

    .mobile-whatsapp-icon {
        width: 27px !important;
        height: 27px !important;
        border-radius: 50%;
        background: var(--green);
        color: #fff;
        box-shadow: 0 4px 10px rgba(22, 143, 87, 0.24);
    }

    .mobile-whatsapp-icon svg {
        width: 17px !important;
        height: 17px !important;
        stroke-width: 1.8;
    }

    .mobile-bottom-nav a:last-child span {
        color: var(--maroon);
    }

    .mobile-bottom-nav b {
        top: 3px;
        right: 18%;
        width: 17px;
        height: 17px;
        border: 2px solid #fff;
        font-size: 0.54rem;
        box-shadow: 0 2px 7px rgba(111, 23, 56, 0.24);
    }
}

/* ==================================================
   FINAL MOBILE PRODUCT DETAIL PAGE
   Compact image + product information above the fold
================================================== */

@media (max-width: 800px) {

    /*
     * The product-page element also has the .container class.
     * Remove the normal container width so the gallery can use
     * the full mobile width.
     */
    .product-page.container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 0 150px;
    }

    /* Compact breadcrumb row */
    .product-page .breadcrumbs {
        width: 100%;
        min-height: 34px;
        margin: 0;
        padding: 8px 12px;
        gap: 5px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        color: var(--muted);
        font-size: 0.65rem;
        line-height: 1.2;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .product-page .breadcrumbs::-webkit-scrollbar {
        display: none;
    }

    .product-page .breadcrumbs span:last-child {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* One-column mobile layout */
    .product-detail-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .product-gallery {
        position: static;
        width: 100%;
        min-width: 0;
    }

    /*
     * Do not use a very tall square gallery.
     * This lets customers see the name, price and choices sooner.
     */
    .product-main-media {
        position: relative;
        width: 100%;
        height: clamp(285px, 88vw, 360px);
        min-height: 0;
        aspect-ratio: auto;
        margin: 0;
        border-radius: 0;
        background: #f7f1eb;
        overflow: hidden;
    }

    /*
     * contain shows the complete uploaded photo.
     * The light background fills unused space naturally.
     */
    .product-main-media>img,
    .product-main-media>video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        background: #f7f1eb;
    }

    /* Hide the large badge on the main image on small screens */
    .product-main-media .actual-photo-badge.large {
        display: none;
    }

    .zoom-button {
        right: 10px;
        bottom: 10px;
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    /* Horizontal gallery thumbnails */
    .gallery-thumbs {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 58px;
        justify-content: start;
        gap: 7px;
        width: 100%;
        padding: 9px 12px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumb {
        width: 58px;
        height: 58px;
        border-radius: 9px;
    }

    /* Product information panel */
    .product-buy-box {
        width: 100%;
        padding: 16px 14px 24px;
        background: #fff;
    }

    .product-buy-box>.eyebrow {
        margin-bottom: 3px;
        font-size: 0.6rem;
    }

    .product-buy-box h1 {
        margin: 0 0 5px;
        font-size: 1.38rem;
        line-height: 1.18;
    }

    .rating-line.large {
        margin: 4px 0 9px;
        font-size: 0.72rem;
    }

    .product-price {
        margin: 8px 0 10px;
        gap: 9px;
    }

    .product-price strong {
        font-size: 1.25rem;
    }

    .product-price del {
        font-size: 0.8rem;
    }

    .product-summary {
        margin-bottom: 14px;
        color: var(--muted);
        font-size: 0.84rem;
        line-height: 1.45;
    }

    /* Variants */
    .buy-form {
        margin-top: 15px;
    }

    .variant-title {
        margin-bottom: 7px;
        font-size: 0.76rem;
    }

    .product-variant-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .product-variant {
        min-width: 0;
        border-radius: 10px;
    }

    .product-variant img,
    .product-variant>span {
        border-radius: 7px;
    }

    .product-variant small {
        padding: 4px 2px 2px;
        font-size: 0.56rem;
    }

    .stock-message {
        margin: 8px 0 10px;
        font-size: 0.72rem;
    }

    /* Main purchase buttons inside page */
    .buy-row {
        display: flex;
        gap: 8px;
    }

    .quantity-control {
        flex: 0 0 auto;
        grid-template-columns: 31px 38px 31px;
    }

    .buy-row .button {
        min-height: 44px;
    }

    .buy-form>.button.full {
        min-height: 44px;
        margin-top: 8px;
    }

    /* Trust cards */
    .purchase-trust {
        grid-template-columns: 1fr 1fr;
        margin-top: 16px;
        border-radius: 13px;
    }

    .purchase-trust>div {
        min-width: 0;
        padding: 9px;
        gap: 7px;
    }

    .purchase-trust b {
        font-size: 0.68rem;
    }

    .purchase-trust small {
        font-size: 0.58rem;
    }

    /* Product information accordions */
    .product-information {
        padding: 16px 0 145px;
    }

    .product-information .info-grid {
        gap: 8px;
    }

    .product-information .info-grid details {
        padding: 14px;
        border-radius: 12px;
    }

    /* Sticky buying bar */
    .mobile-buy-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 68px;
        z-index: 92;

        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;

        min-height: 58px;
        padding: 7px 11px;

        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--line);
        box-shadow: 0 -7px 22px rgba(47, 20, 31, 0.09);
        backdrop-filter: blur(14px);
    }

    .mobile-buy-bar>div {
        display: grid;
        min-width: 0;
        gap: 0;
    }

    .mobile-buy-bar small {
        display: block;
        max-width: 150px;
        overflow: hidden;
        color: var(--muted);
        font-size: 0.63rem;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-buy-bar strong {
        font-size: 0.86rem;
        line-height: 1.25;
    }

    .mobile-buy-bar .button {
        flex-shrink: 0;
        min-width: 108px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.75rem;
    }
}

/* Small phones */
@media (max-width: 520px) {

    .product-main-media {
        height: clamp(270px, 86vw, 330px);
    }

    .product-buy-box h1 {
        font-size: 1.26rem;
    }

    .mobile-buy-bar small {
        max-width: 125px;
    }

    .mobile-buy-bar .button {
        min-width: 104px;
        padding-inline: 12px;
    }
}

/* Very narrow phones */
@media (max-width: 360px) {

    .product-main-media {
        height: 270px;
    }

    .mobile-buy-bar small {
        max-width: 105px;
    }

    .mobile-buy-bar .button {
        min-width: 98px;
        padding-inline: 10px;
        font-size: 0.7rem;
    }
}

/* ==================================================
   GLAMOUR MART HOMEPAGE
   Pakistan-focused mobile shopping experience
================================================== */

.home-page main {
    overflow: hidden;
}

.home-page .home-hero {
    padding: 30px 0 20px;
    background:
        radial-gradient(circle at 8% 15%,
            rgba(201, 154, 61, 0.16),
            transparent 25%),
        linear-gradient(145deg,
            #fffdf9 0%,
            #fff7ee 54%,
            #f4e2e8 100%);
}

.home-page .home-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 590px;
    overflow: hidden;
    border: 1px solid rgba(111, 23, 56, 0.1);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(73, 24, 43, 0.14);
}

.home-page .home-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 52px;
    background:
        radial-gradient(circle at 15% 10%,
            rgba(201, 154, 61, 0.14),
            transparent 30%),
        linear-gradient(145deg, #fff 0%, #fffaf4 100%);
}

.home-page .home-hero-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
}

.home-page .home-label {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-page .featured-label {
    border-color: transparent;
    background: var(--maroon);
    color: #fff;
}

.home-page .home-hero-copy .eyebrow {
    margin-bottom: 8px;
}

.home-page .home-hero-copy h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(3.1rem, 5.4vw, 5.25rem);
    line-height: 0.98;
}

.home-page .home-hero-description {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.7;
}

.home-page .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin: 28px 0 27px;
}

.home-page .home-primary-action {
    min-height: 52px;
    padding-inline: 26px;
}

.home-page .home-whatsapp-action {
    min-height: 52px;
    border: 1px solid #b9dac8;
    background: #f0faf4;
    color: #147b4b;
}

.home-page .home-whatsapp-action:hover {
    border-color: var(--green);
    background: #e5f7ed;
}

.home-page .home-whatsapp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(22, 143, 87, 0.1);
}

.home-page .home-hero-assurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.home-page .home-hero-assurance>div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 11px 9px;
    border: 1px solid #eee2dc;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
}

.home-page .home-hero-assurance b {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7f6ed;
    color: var(--green);
    font-size: 0.72rem;
}

.home-page .home-hero-assurance span {
    min-width: 0;
    display: grid;
}

.home-page .home-hero-assurance strong {
    font-size: 0.7rem;
    line-height: 1.2;
}

.home-page .home-hero-assurance small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.59rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .home-hero-media {
    position: relative;
    min-width: 0;
    min-height: 590px;
    overflow: hidden;
    background: var(--cream-2);
}

.home-page .home-hero-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 48%;
    background:
        linear-gradient(to top,
            rgba(27, 10, 17, 0.68),
            transparent);
    pointer-events: none;
}

.home-page .home-hero-media>img,
.home-page .home-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 590px;
    object-fit: cover;
    object-position: center;
}

.home-page .home-hero-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(145deg, #f5e7ec, #d8b5c1);
    color: var(--maroon);
    font-family: var(--font-serif);
    font-size: 3rem;
}

.home-page .home-delivery-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: grid;
    gap: 1px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.home-page .home-delivery-badge strong {
    color: var(--maroon);
    font-size: 0.92rem;
}

.home-page .home-delivery-badge span {
    color: var(--muted);
    font-size: 0.61rem;
}

.home-page .home-featured-product {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 3;
    display: grid;
    gap: 3px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 50px rgba(24, 8, 15, 0.24);
    backdrop-filter: blur(14px);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.home-page .home-featured-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 60px rgba(24, 8, 15, 0.29);
}

.home-page .home-featured-product>span {
    color: var(--maroon);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-page .home-featured-product>strong {
    overflow: hidden;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .home-featured-product>small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.home-page .home-featured-product>small b {
    color: var(--maroon);
}


/* Category navigation */

.home-page .home-categories {
    padding-top: 55px;
    padding-bottom: 55px;
}

.home-page .home-section-head {
    margin-bottom: 26px;
}

.home-page .home-section-head>div>p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.home-page .home-category-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.home-page .home-category-item {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 12px 8px 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    text-align: center;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.home-page .home-category-item:hover {
    transform: translateY(-4px);
    border-color: var(--line);
    background: var(--cream);
}

.home-page .home-category-image {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 50%;
    background:
        linear-gradient(145deg, #f8eaee, #e3c9d1);
    box-shadow:
        inset 0 0 0 5px #fff,
        0 9px 24px rgba(62, 28, 42, 0.11);
}

.home-page .home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .home-category-image b {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--maroon);
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

.home-page .home-category-item>strong {
    overflow: hidden;
    max-width: 100%;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .home-category-item>small {
    color: var(--muted);
    font-size: 0.63rem;
}


/* Three-step ordering */

.home-page .home-order-benefits {
    padding: 25px 0;
    background: #21151a;
    color: #fff;
}

.home-page .home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-page .home-benefit {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.home-page .home-benefit-icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #f2cf8a;
    font-size: 0.7rem;
    font-weight: 900;
}

.home-page .home-benefit p {
    display: grid;
    margin: 0;
}

.home-page .home-benefit strong {
    font-size: 0.82rem;
}

.home-page .home-benefit small {
    color: #cbbfc4;
    font-size: 0.68rem;
}


/* Product sections */

.home-page .home-products-section {
    background: #fffaf4;
}

.home-page .home-products-section .product-card,
.home-page .home-new-arrivals .product-card {
    transition: transform 0.22s ease;
}

.home-page .home-products-section .product-card:hover,
.home-page .home-new-arrivals .product-card:hover {
    transform: translateY(-4px);
}


/* COD promotional section */

.home-page .home-cod-banner {
    padding: 60px 0;
    background:
        radial-gradient(circle at 80% 20%,
            rgba(201, 154, 61, 0.28),
            transparent 28%),
        linear-gradient(135deg, #5a112e, #821f48);
    color: #fff;
}

.home-page .home-cod-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.home-page .home-cod-banner-inner>div {
    display: flex;
    align-items: center;
    gap: 24px;
}

.home-page .home-cod-badge {
    flex: 0 0 95px;
    width: 95px;
    height: 95px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #f7d38b;
    font-size: 1.35rem;
    font-weight: 900;
}

.home-page .home-cod-banner .eyebrow {
    margin-bottom: 5px;
    color: #f4d99f;
}

.home-page .home-cod-banner h2 {
    margin-bottom: 7px;
}

.home-page .home-cod-banner p {
    max-width: 620px;
    margin-bottom: 0;
    color: #f3dfe6;
}


/* Confidence */

.home-page .home-confidence-section {
    background:
        linear-gradient(180deg, #fff 0%, #fff8ef 100%);
}

.home-page .home-confidence-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.home-page .home-confidence-heading p {
    color: var(--muted);
}

.home-page .home-confidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-page .home-confidence-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(62, 28, 42, 0.06);
}

.home-page .home-confidence-card>span {
    display: inline-grid;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 12px;
    background: var(--maroon-soft);
    color: var(--maroon);
    font-size: 0.72rem;
    font-weight: 900;
}

.home-page .home-confidence-card h3 {
    margin-bottom: 9px;
    font-size: 1.05rem;
}

.home-page .home-confidence-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.85rem;
}


/* Reviews */

.home-page .home-reviews-section {
    background: #fff;
}

.home-page .home-review-card {
    box-shadow: 0 10px 30px rgba(62, 28, 42, 0.07);
}


/* WhatsApp banner */

.home-page .home-whatsapp-banner {
    padding: 48px 0;
    background: #147b4b;
    color: #fff;
}

.home-page .home-whatsapp-banner-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.home-page .home-whatsapp-mark {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 900;
}

.home-page .home-whatsapp-banner .eyebrow {
    margin-bottom: 3px;
    color: #cbf1da;
}

.home-page .home-whatsapp-banner h2 {
    margin-bottom: 5px;
}

.home-page .home-whatsapp-banner p {
    max-width: 720px;
    margin-bottom: 0;
    color: #d9f0e2;
}


/* Header correction for all mobile pages */

@media (max-width: 800px) {

    .desktop-nav {
        display: none !important;
    }

    .header-inner {
        grid-template-columns: 44px minmax(0, 1fr) 60px;
        height: 58px;
        gap: 4px;
    }

    .brand {
        min-width: 0;
        justify-content: center;
    }

    .brand img {
        width: 118px;
        max-height: 34px;
        object-fit: contain;
    }

    .header-actions {
        justify-self: end;
    }

    .header-actions .cart-button {
        display: inline-flex;
        min-width: 54px;
        height: 38px;
        padding: 0 7px;
    }


    /* Mobile hero */

    .home-page .home-hero {
        padding: 0;
    }

    .home-page .home-hero>.container {
        width: 100%;
    }

    .home-page .home-hero-card {
        grid-template-columns: 1fr;
        min-height: 0;
        border: 0;
        border-radius: 0 0 26px 26px;
        box-shadow: 0 16px 45px rgba(73, 24, 43, 0.11);
    }

    .home-page .home-hero-media {
        order: -1;
        min-height: 300px;
        height: 300px;
    }

    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        min-height: 300px;
        height: 300px;
        object-position: center;
    }

    .home-page .home-delivery-badge {
        top: 12px;
        right: 12px;
        padding: 8px 10px;
        border-radius: 12px;
    }

    .home-page .home-featured-product {
        right: 11px;
        bottom: 11px;
        left: 11px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .home-page .home-featured-product>strong {
        font-size: 0.95rem;
    }

    .home-page .home-featured-product>small {
        font-size: 0.67rem;
    }

    .home-page .home-hero-copy {
        padding: 25px 16px 27px;
        text-align: left;
    }

    .home-page .home-hero-labels {
        margin-bottom: 15px;
    }

    .home-page .home-hero-copy h1 {
        margin-bottom: 12px;
        font-size: clamp(2.15rem, 10vw, 3.1rem);
        line-height: 1;
    }

    .home-page .home-hero-description {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .home-page .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 19px 0;
    }

    .home-page .home-hero-actions .button {
        width: 100%;
        min-height: 48px;
    }

    .home-page .home-hero-assurance {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .home-page .home-hero-assurance>div {
        display: grid;
        justify-items: center;
        gap: 5px;
        padding: 8px 3px;
        text-align: center;
    }

    .home-page .home-hero-assurance strong {
        font-size: 0.58rem;
    }

    .home-page .home-hero-assurance small {
        display: none;
    }


    /* Mobile categories */

    .home-page .home-categories {
        padding: 42px 0 34px;
    }

    .home-page .home-category-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        margin-inline: -11px;
        padding: 4px 11px 16px;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .home-page .home-category-list::-webkit-scrollbar {
        display: none;
    }

    .home-page .home-category-item {
        flex: 0 0 105px;
        padding: 6px 5px 10px;
        scroll-snap-align: start;
    }

    .home-page .home-category-image {
        width: 86px;
        height: 86px;
    }


    /* Mobile ordering steps */

    .home-page .home-order-benefits {
        padding: 15px 0;
    }

    .home-page .home-benefits-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .home-page .home-benefits-grid::-webkit-scrollbar {
        display: none;
    }

    .home-page .home-benefit {
        flex: 0 0 230px;
        padding: 8px 0;
    }


    /* General mobile sections */

    .home-page .section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-page .home-section-head {
        align-items: flex-end;
        margin-bottom: 21px;
    }

    .home-page .home-section-head h2 {
        font-size: 1.72rem;
    }

    .home-page .home-section-head>div>p {
        display: none;
    }


    /* COD banner */

    .home-page .home-cod-banner {
        padding: 38px 0;
    }

    .home-page .home-cod-banner-inner {
        display: grid;
        justify-items: stretch;
        gap: 22px;
    }

    .home-page .home-cod-banner-inner>div {
        align-items: flex-start;
        gap: 14px;
    }

    .home-page .home-cod-badge {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
        font-size: 0.9rem;
    }

    .home-page .home-cod-banner h2 {
        font-size: 1.65rem;
    }

    .home-page .home-cod-banner p {
        font-size: 0.82rem;
    }

    .home-page .home-cod-banner .button {
        width: 100%;
    }


    /* Confidence cards */

    .home-page .home-confidence-heading {
        text-align: left;
    }

    .home-page .home-confidence-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-page .home-confidence-card {
        padding: 20px;
    }


    /* WhatsApp */

    .home-page .home-whatsapp-banner {
        padding: 38px 0 105px;
    }

    .home-page .home-whatsapp-banner-inner {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
    }

    .home-page .home-whatsapp-mark {
        width: 52px;
        height: 52px;
        align-self: start;
        font-size: 0.75rem;
    }

    .home-page .home-whatsapp-banner h2 {
        font-size: 1.65rem;
    }

    .home-page .home-whatsapp-banner p {
        font-size: 0.82rem;
    }

    .home-page .home-whatsapp-banner .button {
        grid-column: 1 / -1;
        width: 100%;
    }
}


@media (max-width: 520px) {

    .home-page .home-hero-media,
    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        min-height: 270px;
        height: 270px;
    }

    .home-page .home-hero-copy h1 {
        font-size: 2.2rem;
    }

    .home-page .home-hero-copy .eyebrow {
        font-size: 0.58rem;
    }

    .home-page .home-label {
        min-height: 25px;
        padding-inline: 9px;
        font-size: 0.57rem;
    }

    .home-page .home-category-item {
        flex-basis: 96px;
    }

    .home-page .home-category-image {
        width: 78px;
        height: 78px;
    }
}

/* ==================================================
   FINAL RESPONSIVE HOMEPAGE HERO CORRECTION
================================================== */

/*
 * The homepage already contains WhatsApp actions.
 * Prevent the desktop floating button from covering
 * the featured-product card.
 */
.home-page .whatsapp-float {
    display: none;
}


/* ==================================================
   DESKTOP AND LAPTOP
================================================== */

@media (min-width: 801px) {

    .home-page .home-hero {
        padding: 18px 0 26px;
    }

    .home-page .home-hero-card {
        grid-template-columns:
            minmax(0, 0.93fr) minmax(0, 1.07fr);

        min-height: 470px;
        height: 470px;

        border-radius: 28px;
        box-shadow:
            0 22px 65px rgba(73, 24, 43, 0.13);
    }

    .home-page .home-hero-copy {
        padding: 32px 38px;
    }

    .home-page .home-hero-labels {
        margin-bottom: 14px;
    }

    .home-page .home-label {
        min-height: 25px;
        padding-inline: 10px;
        font-size: 0.6rem;
    }

    .home-page .home-hero-copy .eyebrow {
        margin-bottom: 6px;
        font-size: 0.68rem;
    }

    .home-page .home-hero-copy h1 {
        max-width: 530px;
        margin-bottom: 12px;

        font-size: clamp(3rem,
                4.45vw,
                4.25rem);

        line-height: 0.98;
    }

    .home-page .home-hero-description {
        max-width: 510px;
        font-size: 0.93rem;
        line-height: 1.55;
    }

    .home-page .home-hero-actions {
        gap: 9px;
        margin: 20px 0 18px;
    }

    .home-page .home-primary-action,
    .home-page .home-whatsapp-action {
        min-height: 45px;
        padding-inline: 19px;
        font-size: 0.78rem;
    }

    .home-page .home-hero-assurance {
        gap: 7px;
    }

    .home-page .home-hero-assurance>div {
        gap: 7px;
        padding: 8px 7px;
        border-radius: 11px;
    }

    .home-page .home-hero-assurance b {
        flex-basis: 21px;
        width: 21px;
        height: 21px;
        font-size: 0.62rem;
    }

    .home-page .home-hero-assurance strong {
        font-size: 0.63rem;
    }

    .home-page .home-hero-assurance small {
        font-size: 0.54rem;
    }

    .home-page .home-hero-media,
    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        min-height: 470px;
        height: 470px;
    }

    .home-page .home-hero-media>img {
        object-fit: cover;
        object-position: center 40%;
    }

    .home-page .home-hero-media::after {
        height: 38%;
    }

    .home-page .home-delivery-badge {
        top: 15px;
        right: 15px;
        padding: 8px 11px;
        border-radius: 12px;
    }

    .home-page .home-delivery-badge strong {
        font-size: 0.78rem;
    }

    .home-page .home-delivery-badge span {
        font-size: 0.53rem;
    }

    .home-page .home-featured-product {
        right: 16px;
        bottom: 16px;
        left: 16px;

        padding: 11px 14px;
        border-radius: 14px;
    }

    .home-page .home-featured-product>span {
        font-size: 0.54rem;
    }

    .home-page .home-featured-product>strong {
        font-size: 1.02rem;
    }

    .home-page .home-featured-product>small {
        font-size: 0.68rem;
    }
}


/* Give larger screens slightly more height */

@media (min-width: 1400px) {

    .home-page .home-hero-card,
    .home-page .home-hero-media,
    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        min-height: 510px;
        height: 510px;
    }
}


/* ==================================================
   MOBILE AND TABLET
================================================== */

@media (max-width: 800px) {

    .home-page .home-hero-card {
        border-radius: 0 0 20px 20px;
        box-shadow:
            0 12px 35px rgba(73, 24, 43, 0.1);
    }

    /*
     * Shorter image means the customer can see
     * the headline and shopping button immediately.
     */
    .home-page .home-hero-media,
    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        min-height: 230px;
        height: 230px;
    }

    .home-page .home-hero-media>img {
        object-fit: cover;
        object-position: center 35%;
    }

    .home-page .home-hero-media::after {
        height: 38%;
    }

    /* Smaller COD badge */

    .home-page .home-delivery-badge {
        top: 9px;
        right: 9px;

        padding: 6px 8px;
        border-radius: 9px;
    }

    .home-page .home-delivery-badge strong {
        font-size: 0.69rem;
    }

    .home-page .home-delivery-badge span {
        font-size: 0.48rem;
    }

    /*
     * Compact product strip instead of a large card
     * covering too much of the product image.
     */
    .home-page .home-featured-product {
        right: 9px;
        bottom: 9px;
        left: 9px;

        min-height: 55px;
        padding: 8px 10px;

        display: grid;
        grid-template-columns:
            minmax(0, 1fr) auto;

        grid-template-rows: auto auto;
        column-gap: 9px;

        border-radius: 11px;
    }

    .home-page .home-featured-product>span {
        display: none;
    }

    .home-page .home-featured-product>strong {
        grid-column: 1;
        grid-row: 1 / 3;

        align-self: center;

        font-size: 0.87rem;
        line-height: 1.2;
    }

    .home-page .home-featured-product>small {
        grid-column: 2;
        grid-row: 1 / 3;

        display: grid;
        align-content: center;
        justify-items: end;
        gap: 1px;

        font-size: 0.59rem;
    }

    .home-page .home-featured-product>small b {
        font-size: 0.55rem;
        white-space: nowrap;
    }

    /* Compact text panel */

    .home-page .home-hero-copy {
        padding: 16px 14px 18px;
    }

    .home-page .home-hero-labels {
        margin-bottom: 7px;
    }

    /*
     * Lahore Based repeats information and takes
     * unnecessary first-screen space on mobile.
     */
    .home-page .home-hero-labels .home-label:not(.featured-label) {
        display: none;
    }

    .home-page .home-label {
        min-height: 21px;
        padding-inline: 8px;
        font-size: 0.5rem;
    }

    .home-page .home-hero-copy .eyebrow {
        margin-bottom: 4px;
        font-size: 0.52rem;
        letter-spacing: 0.13em;
    }

    .home-page .home-hero-copy h1 {
        margin-bottom: 7px;

        font-size: clamp(1.85rem,
                8.2vw,
                2.2rem);

        line-height: 1.02;
    }

    .home-page .home-hero-description {
        font-size: 0.76rem;
        line-height: 1.38;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;

        overflow: hidden;
    }

    .home-page .home-hero-actions {
        display: block;
        margin: 12px 0 10px;
    }

    .home-page .home-primary-action {
        width: 100%;
        min-height: 43px;
        font-size: 0.75rem;
    }

    /*
     * WhatsApp already exists in the mobile bottom menu.
     * Do not repeat it inside the first screen.
     */
    .home-page .home-whatsapp-action {
        display: none;
    }

    /* Very small, readable trust row */

    .home-page .home-hero-assurance {
        gap: 4px;
    }

    .home-page .home-hero-assurance>div {
        min-height: 29px;

        display: flex;
        justify-content: center;
        gap: 4px;

        padding: 4px 2px;
        border-radius: 8px;
    }

    .home-page .home-hero-assurance b {
        flex-basis: 16px;
        width: 16px;
        height: 16px;
        font-size: 0.48rem;
    }

    .home-page .home-hero-assurance span {
        display: block;
    }

    .home-page .home-hero-assurance strong {
        font-size: 0.49rem;
        line-height: 1.1;
    }

    .home-page .home-hero-assurance small {
        display: none;
    }
}


/* Small phones */

@media (max-width: 520px) {

    .home-page .home-hero-media,
    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        min-height: 215px;
        height: 215px;
    }

    .home-page .home-hero-copy {
        padding: 14px 13px 16px;
    }

    .home-page .home-hero-copy h1 {
        font-size: 1.82rem;
    }

    .home-page .home-primary-action {
        min-height: 41px;
    }
}

/* ==================================================
   FINAL PREMIUM MOBILE HOMEPAGE
   Glamour Mart Pakistan
================================================== */

@media (max-width: 800px) {

    body.home-page {
        background: #fffaf6;
        padding-bottom: 60px;
    }

    /* ------------------------------
       Compact announcement
    ------------------------------ */

    .home-page .announcement {
        height: 28px;
        gap: 9px;
        padding: 0 10px;
        font-size: 0.58rem;
        letter-spacing: 0;
    }

    .home-page .announcement span {
        max-width: calc(100% - 72px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-page .announcement a {
        flex-shrink: 0;
        font-size: 0.56rem;
    }

    /* ------------------------------
       Professional mobile header
    ------------------------------ */

    .home-page .site-header {
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 3px 14px rgba(62, 28, 42, 0.06);
        backdrop-filter: blur(14px);
    }

    .home-page .header-inner {
        height: 50px;
        grid-template-columns: 38px minmax(0, 1fr) 52px;
        gap: 4px;
        padding: 0 10px;
    }

    .home-page .header-inner>[data-menu-toggle] {
        justify-self: start;
    }

    .home-page .icon-button {
        min-width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .home-page .brand {
        min-width: 0;
        justify-content: center;
    }

    .home-page .brand img {
        width: 108px;
        max-width: 100%;
        max-height: 30px;
        object-fit: contain;
    }

    .home-page .header-actions {
        justify-self: end;
    }

    .home-page .header-actions .cart-button {
        display: inline-flex !important;
        min-width: 48px;
        height: 34px;
        gap: 5px;
        padding: 0 7px;
        font-size: 0.64rem;
    }

    .home-page .cart-button strong {
        min-width: 18px;
        height: 18px;
        font-size: 0.58rem;
    }

    /* ------------------------------
       Hero outer area
    ------------------------------ */

    .home-page .home-hero {
        padding: 10px 0 22px;
        background:
            radial-gradient(circle at 80% 0%,
                rgba(201, 154, 61, 0.14),
                transparent 30%),
            linear-gradient(180deg,
                #fffaf6 0%,
                #ffffff 100%);
    }

    .home-page .home-hero>.container {
        width: 100%;
        padding: 0 10px;
    }

    .home-page .home-hero-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        border: 1px solid #eaded8;
        border-radius: 20px;
        background: #fff;
        box-shadow:
            0 12px 32px rgba(73, 24, 43, 0.11);
    }

    /* ------------------------------
       Product image
    ------------------------------ */

    .home-page .home-hero-media {
        order: -1;
        width: 100%;
        height: 205px;
        min-height: 205px;
        background: #f4ece5;
    }

    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        width: 100%;
        height: 205px;
        min-height: 205px;
        object-fit: cover;
        object-position: center 29%;
    }

    .home-page .home-hero-media::after {
        height: 60%;
        background:
            linear-gradient(180deg,
                transparent 25%,
                rgba(25, 7, 14, 0.84) 100%);
    }

    /* ------------------------------
       COD badge
    ------------------------------ */

    .home-page .home-delivery-badge {
        top: 9px;
        right: 9px;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 6px 9px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 999px;
        background: rgba(111, 23, 56, 0.94);
        box-shadow: 0 5px 16px rgba(47, 12, 26, 0.2);
        backdrop-filter: blur(8px);
    }

    .home-page .home-delivery-badge strong {
        color: #fff;
        font-size: 0.61rem;
        line-height: 1;
    }

    .home-page .home-delivery-badge span {
        color: #f9e9ef;
        font-size: 0.49rem;
        line-height: 1;
        white-space: nowrap;
    }

    /* ------------------------------
       Product information overlay
    ------------------------------ */

    .home-page .home-featured-product {
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 68px;
        padding: 30px 13px 11px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 10px;
        border: 0;
        border-radius: 0;
        background:
            linear-gradient(180deg,
                transparent 0%,
                rgba(27, 8, 16, 0.92) 63%);
        color: #fff;
        box-shadow: none;
        backdrop-filter: none;
    }

    .home-page .home-featured-product>span {
        display: none;
    }

    .home-page .home-featured-product>strong {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: end;
        min-width: 0;
        overflow: hidden;
        color: #fff;
        font-size: 0.92rem;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-page .home-featured-product>small {
        grid-column: 2;
        grid-row: 1 / 3;
        display: grid;
        align-content: end;
        justify-items: end;
        gap: 1px;
        color: #fff;
        font-size: 0.58rem;
    }

    .home-page .home-featured-product>small b {
        color: #f6d58f;
        font-size: 0.53rem;
        white-space: nowrap;
    }

    /* ------------------------------
       Hero content
    ------------------------------ */

    .home-page .home-hero-copy {
        padding: 15px 13px 14px;
        text-align: left;
        background:
            linear-gradient(180deg,
                #ffffff 0%,
                #fffaf6 100%);
    }

    .home-page .home-hero-labels {
        display: none;
    }

    .home-page .home-hero-copy .eyebrow {
        margin-bottom: 4px;
        font-size: 0.51rem;
        letter-spacing: 0.14em;
    }

    .home-page .home-hero-copy h1 {
        margin: 0 0 7px;
        font-size: 1.9rem;
        line-height: 1.02;
        letter-spacing: -0.035em;
    }

    .home-page .home-hero-description {
        margin: 0;
        color: #74676d;
        font-size: 0.75rem;
        line-height: 1.42;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    /* ------------------------------
       Shopping buttons
    ------------------------------ */

    .home-page .home-hero-actions {
        display: grid;
        grid-template-columns: 1.08fr 0.92fr;
        gap: 7px;
        margin: 12px 0 11px;
    }

    .home-page .home-hero-actions .button {
        width: 100%;
        min-width: 0;
        min-height: 41px;
        padding: 0 8px;
        border-radius: 12px;
        box-shadow: none;
        font-size: 0.67rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .home-page .home-primary-action {
        background:
            linear-gradient(135deg,
                var(--maroon),
                #8b1d49);
        box-shadow:
            0 8px 18px rgba(111, 23, 56, 0.18) !important;
    }

    .home-page .home-whatsapp-action {
        display: inline-flex !important;
        border: 0;
        background: #198754;
        color: #fff;
    }

    .home-page .home-whatsapp-action:hover {
        background: #147548;
        color: #fff;
    }

    .home-page .home-whatsapp-dot {
        width: 7px;
        height: 7px;
        background: #fff;
        box-shadow: none;
    }

    /* ------------------------------
       COD and trust row
    ------------------------------ */

    .home-page .home-hero-assurance {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        overflow: hidden;
        border: 1px solid #eaded8;
        border-radius: 11px;
        background: #fff;
    }

    .home-page .home-hero-assurance>div {
        min-width: 0;
        min-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 5px 2px;
        border: 0;
        border-right: 1px solid #eee3de;
        border-radius: 0;
        background: #fff;
        text-align: center;
    }

    .home-page .home-hero-assurance>div:last-child {
        border-right: 0;
    }

    .home-page .home-hero-assurance b {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        font-size: 0.46rem;
    }

    .home-page .home-hero-assurance span {
        display: block;
        min-width: 0;
    }

    .home-page .home-hero-assurance strong {
        display: block;
        overflow: hidden;
        font-size: 0.48rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-page .home-hero-assurance small {
        display: none;
    }

    /* ------------------------------
       Bring categories closer
    ------------------------------ */

    .home-page .home-categories {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .home-page .home-section-head {
        margin-bottom: 16px;
    }

    .home-page .home-section-head h2 {
        font-size: 1.45rem;
    }

    .home-page .home-section-head a {
        font-size: 0.68rem;
    }

    /* ------------------------------
       Bottom navigation refinement
    ------------------------------ */

    .home-page .mobile-bottom-nav {
        height: 60px;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow:
            0 -6px 20px rgba(47, 20, 31, 0.09);
    }

    .home-page .mobile-bottom-nav a,
    .home-page .mobile-bottom-nav button {
        gap: 0;
        font-size: 0.56rem;
    }

    .home-page .mobile-bottom-nav span {
        width: 22px;
        height: 22px;
    }

    .home-page .mobile-bottom-nav span svg {
        width: 18px;
        height: 18px;
    }

    .home-page .mobile-whatsapp-icon {
        width: 25px !important;
        height: 25px !important;
    }

    .home-page .mobile-bottom-nav b {
        top: 3px;
        right: 17%;
        width: 16px;
        height: 16px;
        font-size: 0.5rem;
    }

    .home-page .whatsapp-float {
        display: none;
    }
}


/* Very small phones */

@media (max-width: 380px) {

    .home-page .home-hero-media,
    .home-page .home-hero-media>img,
    .home-page .home-hero-placeholder {
        height: 190px;
        min-height: 190px;
    }

    .home-page .home-hero-copy h1 {
        font-size: 1.74rem;
    }

    .home-page .home-hero-description {
        font-size: 0.71rem;
    }

    .home-page .home-hero-actions .button {
        font-size: 0.62rem;
    }

    .home-page .home-hero-assurance strong {
        font-size: 0.44rem;
    }
}