@import url("https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
    --paper: #f6efe2;
    --sand: #e7cfaa;
    --sand-deep: #c69b67;
    --clay: #9b5539;
    --red: #b82233;
    --green: #1e6b45;
    --charcoal: #211d18;
    --ink: #2b241d;
    --muted: #756a5e;
    --line: rgba(43, 36, 29, 0.14);
    --white: #fffaf0;
    --shadow: 0 28px 80px rgba(65, 43, 24, 0.18);
    --radius: 8px;
    --display-font: "Aref Ruqaa", "IBM Plex Sans Arabic", serif;
    --body-font: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #fbf5eb 0%, var(--paper) 48%, #efe0ca 100%);
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.75;
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(184, 34, 51, 0.96) 0 30%, rgba(255, 250, 240, 0.98) 30% 44%, rgba(30, 107, 69, 0.96) 44% 100%);
    transform: translateX(100%);
}

.page-transition.is-entering {
    animation: pageIntroCurtain 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-transition.is-leaving {
    animation: pageOutroCurtain 620ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

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

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

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

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0.72rem 1.1rem;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms ease, border-color 260ms ease;
}

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

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

.button--hero {
    position: relative;
    isolation: isolate;
    background: var(--red);
    color: #fff;
    box-shadow: 0 16px 42px rgba(184, 34, 51, 0.24);
}

.button--hero::after {
    content: "";
    position: absolute;
    inset: -9px;
    z-index: -1;
    border: 1px solid rgba(199, 31, 47, 0.44);
    border-radius: inherit;
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
}

.button--hero-large {
    min-height: clamp(64px, 6vw, 86px);
    min-width: min(100%, 340px);
    padding: 1rem clamp(1.7rem, 4vw, 3.4rem);
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    border-radius: 10px;
}

.button--secondary {
    background: rgba(255, 250, 240, 0.72);
    color: var(--charcoal);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

.button--sold {
    background: var(--green);
    color: #fff;
}

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

.button--small {
    min-height: 38px;
    padding: 0.52rem 0.85rem;
    font-size: 0.88rem;
}

.container {
    width: min(1360px, calc(100% - clamp(32px, 6vw, 96px)));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 12;
    border-bottom: 1px solid rgba(43, 36, 29, 0.09);
    background: rgba(255, 250, 240, 0.78);
    backdrop-filter: blur(22px);
}

body:has(.desert-home) {
    overflow: hidden;
}

body:has(.desert-home) .site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    border-bottom-color: transparent;
    background: transparent;
    color: var(--white);
    backdrop-filter: none;
    opacity: 0;
    transform: translateY(-30px);
}

body:has(.desert-home) .brand__text,
body:has(.desert-home) .site-nav a {
    color: var(--white);
    text-shadow: 0 8px 28px rgba(33, 29, 24, 0.4);
}

body:has(.desert-home) .brand {
    width: clamp(132px, 12vw, 190px);
    height: clamp(58px, 5.2vw, 78px);
    margin-block-start: clamp(14px, 1.6vw, 24px);
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.94);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
}

body:has(.desert-home) .brand__logo {
    width: 84%;
    height: 72%;
    filter: none;
}

body:has(.desert-home) .site-nav a:hover {
    background: rgba(255, 250, 240, 0.14);
}

body:has(.desert-home) .cart-count {
    background: var(--red);
}

body:has(.desert-home.is-ready) .site-header {
    animation: navIntro 900ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

.header-bar,
.footer-bar,
.admin-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
}

.brand__logo {
    display: block;
    width: clamp(98px, 8.4vw, 138px);
    height: clamp(40px, 3.7vw, 56px);
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(33, 29, 24, 0.16));
}

.brand__text {
    letter-spacing: 0;
}

.site-nav,
.admin-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.site-nav a,
.admin-nav a,
.admin-link-button {
    border: 0;
    min-height: 38px;
    padding: 0.45rem 0.72rem;
    background: transparent;
    color: var(--charcoal);
    font-weight: 700;
    border-radius: 999px;
}

.site-nav a:hover,
.admin-nav a:hover,
.admin-link-button:hover {
    background: rgba(198, 155, 103, 0.18);
    transform: none;
}

.cart-link {
    position: relative;
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    margin-inline-start: 0.35rem;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 0.78rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: rgba(246, 239, 226, 0.72);
}

.footer-bar {
    min-height: 86px;
    flex-wrap: wrap;
}

.desert-home {
    overflow: hidden;
}

.desert-home.is-leaving .site-header,
.desert-home.is-leaving .desert-marquee {
    animation: elementExitUp 420ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.desert-hero {
    position: relative;
    isolation: isolate;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--charcoal);
    color: #fffaf0;
}

.desert-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(33, 29, 24, 0.94) 0%, rgba(33, 29, 24, 0.72) 42%, rgba(33, 29, 24, 0.38) 74%, rgba(33, 29, 24, 0.24) 100%),
        linear-gradient(0deg, rgba(33, 29, 24, 0.94) 0%, rgba(33, 29, 24, 0.42) 42%, transparent 72%),
        linear-gradient(135deg, rgba(184, 34, 51, 0.3), transparent 32%, rgba(30, 107, 69, 0.28) 76%, transparent);
    opacity: 0;
}

.desert-home.is-ready .desert-hero::before {
    animation: overlayIntro 1100ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.desert-hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 24vh;
    z-index: 1;
    background:
        radial-gradient(70% 120% at 78% 100%, rgba(184, 34, 51, 0.18), transparent 58%),
        linear-gradient(180deg, transparent 0%, rgba(33, 29, 24, 0.16) 20%, rgba(33, 29, 24, 0.76) 100%);
    opacity: 0.92;
    pointer-events: none;
}

.desert-hero__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.12);
    filter: saturate(0.3) contrast(0.86) brightness(0.58);
}

.desert-home.is-ready .desert-hero__video {
    animation: mediaIntro 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.desert-hero__layout {
    position: relative;
    z-index: 4;
    display: grid;
    direction: ltr;
    grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
    height: 100dvh;
    min-height: 100dvh;
    padding-block: clamp(6rem, 13vh, 10rem) 6rem;
}

.desert-hero__copy {
    direction: rtl;
    justify-self: end;
    max-width: 760px;
    text-align: right;
}

.desert-home .desert-hero__copy .desert-kicker,
.desert-home .desert-hero h1,
.desert-home .desert-hero__lead,
.desert-home .desert-hero__actions,
.desert-home .desert-hero__heritage .desert-kicker,
.desert-home .desert-hero__heritage h2,
.desert-home .desert-hero__heritage li,
.desert-home .desert-marquee {
    opacity: 0;
    will-change: transform, opacity, filter;
}

.desert-hero__heritage {
    direction: rtl;
    max-width: 560px;
    padding-bottom: clamp(1rem, 8vh, 5rem);
    color: #fffaf0;
    text-align: right;
}

.desert-hero__heritage h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(2rem, 4.5vw, 4.8rem);
    line-height: 1.15;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 18px 42px rgba(33, 29, 24, 0.36);
}

.desert-hero__heritage ul {
    display: grid;
    gap: 0;
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
    border-block: 1px solid rgba(255, 250, 240, 0.28);
}

.desert-hero__heritage li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 0.8rem;
    align-items: center;
    padding: 0.78rem 0;
    border-top: 1px solid rgba(255, 250, 240, 0.22);
    color: rgba(255, 250, 240, 0.88);
    font-weight: 800;
}

.desert-hero__heritage li:first-child {
    border-top: 0;
}

.desert-hero__heritage li span {
    color: #f4d29f;
    font-size: 0.8rem;
}

.desert-kicker,
.eyebrow {
    margin: 0 0 1rem;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
}

.desert-hero .desert-kicker {
    color: #f4d29f;
}

.desert-hero h1 {
    margin: 0;
    max-width: 760px;
    font-family: var(--display-font);
    color: #fff8e9;
    font-size: clamp(3rem, 6.2vw, 6.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 18px 42px rgba(33, 29, 24, 0.36);
    text-wrap: balance;
}

.desert-hero__lead {
    max-width: 620px;
    margin: 1.3rem 0 0;
    color: rgba(255, 250, 240, 0.82);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.desert-hero__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.desert-home.is-ready .desert-hero__copy .desert-kicker {
    animation: elementIntroRight 900ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.desert-home.is-ready .desert-hero h1 {
    animation: headlineIntro 1200ms cubic-bezier(0.16, 1, 0.3, 1) 330ms both;
}

.desert-home.is-ready .desert-hero__lead {
    animation: elementIntroRight 950ms cubic-bezier(0.16, 1, 0.3, 1) 620ms both;
}

.desert-home.is-ready .desert-hero__actions {
    animation: ctaIntro 980ms cubic-bezier(0.16, 1, 0.3, 1) 860ms both;
}

.desert-home.is-ready .desert-hero__actions .button--hero::after {
    animation: heroButtonPulse 2100ms cubic-bezier(0.16, 1, 0.3, 1) 1850ms infinite;
}

.desert-home.is-ready .desert-hero__heritage .desert-kicker {
    animation: elementIntroLeft 900ms cubic-bezier(0.16, 1, 0.3, 1) 420ms both;
}

.desert-home.is-ready .desert-hero__heritage h2 {
    animation: elementIntroLeft 1120ms cubic-bezier(0.16, 1, 0.3, 1) 600ms both;
}

.desert-home.is-ready .desert-hero__heritage li {
    animation: rowIntro 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.desert-home.is-ready .desert-hero__heritage li:nth-child(1) {
    animation-delay: 900ms;
}

.desert-home.is-ready .desert-hero__heritage li:nth-child(2) {
    animation-delay: 1030ms;
}

.desert-home.is-ready .desert-hero__heritage li:nth-child(3) {
    animation-delay: 1160ms;
}

.desert-home.is-ready .desert-marquee {
    animation: elementIntroUp 760ms cubic-bezier(0.16, 1, 0.3, 1) 1220ms both;
}

.desert-home.is-leaving .desert-hero__copy .desert-kicker,
.desert-home.is-leaving .desert-hero h1,
.desert-home.is-leaving .desert-hero__lead,
.desert-home.is-leaving .desert-hero__actions,
.desert-home.is-leaving .desert-hero__heritage .desert-kicker,
.desert-home.is-leaving .desert-hero__heritage h2,
.desert-home.is-leaving .desert-hero__heritage li {
    animation: elementExitDown 420ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.desert-home.is-leaving .desert-hero__video {
    animation: heroVideoOutro 560ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

@keyframes pageIntroCurtain {
    0% {
        transform: translateX(0);
    }

    18% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-105%);
    }
}

@keyframes pageOutroCurtain {
    from {
        transform: translateX(105%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes navIntro {
    from {
        opacity: 0;
        transform: translateY(-22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mediaIntro {
    from {
        opacity: 0;
        transform: scale(1.08);
        filter: saturate(0.35) contrast(0.9) brightness(0.58);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: saturate(0.82) contrast(1.02) brightness(0.68);
    }
}

@keyframes overlayIntro {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes headlineIntro {
    from {
        opacity: 0;
        transform: translate3d(90px, 42px, 0) scale(0.86);
        filter: blur(16px);
    }

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

@keyframes elementIntroRight {
    from {
        opacity: 0;
        transform: translate3d(76px, 0, 0);
        filter: blur(14px);
    }

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

@keyframes elementIntroLeft {
    from {
        opacity: 0;
        transform: translate3d(-76px, 0, 0);
        filter: blur(14px);
    }

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

@keyframes elementIntroUp {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }

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

@keyframes ctaIntro {
    from {
        opacity: 0;
        transform: translate3d(0, 54px, 0) scale(0.82);
        filter: blur(14px);
    }

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

@keyframes heroButtonPulse {
    0% {
        opacity: 0;
        transform: scale(0.94);
        box-shadow: 0 0 0 0 rgba(199, 31, 47, 0.44);
    }

    42% {
        opacity: 0.72;
    }

    100% {
        opacity: 0;
        transform: scale(1.14);
        box-shadow: 0 0 0 18px rgba(199, 31, 47, 0);
    }
}

@keyframes rowIntro {
    from {
        opacity: 0;
        transform: translate3d(-56px, 0, 0);
    }

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

@keyframes elementExitDown {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        opacity: 0;
        transform: translate3d(0, 34px, 0) scale(0.97);
        filter: blur(8px);
    }
}

@keyframes elementExitUp {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 0;
        transform: translate3d(0, -22px, 0);
    }
}

@keyframes heroVideoOutro {
    from {
        filter: saturate(0.82) contrast(1.02) brightness(0.68);
        transform: scale(1);
    }

    to {
        filter: saturate(0.45) contrast(0.9) brightness(0.55);
        transform: scale(1.035);
    }
}

.desert-marquee {
    position: absolute;
    z-index: 4;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    gap: 3rem;
    overflow: hidden;
    padding: 0.9rem 0;
    background: rgba(33, 29, 24, 0.78);
    color: rgba(255, 250, 240, 0.88);
    font-weight: 800;
    white-space: nowrap;
}

.desert-marquee::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--charcoal) 0 30%, var(--white) 30% 43%, var(--green) 43% 68%, var(--red) 68% 100%);
    opacity: 0.92;
}

.desert-marquee span {
    min-width: max-content;
    animation: marqueeMove 28s linear infinite;
}

@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.section {
    padding-block: clamp(4rem, 9vw, 8rem);
}

.page-hero h1,
.product-info h1,
.admin-page h1 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(2.2rem, 4.8vw, 5rem);
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--charcoal);
    text-wrap: balance;
}

.product-card__media img,
.cart-item__media img,
.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card h3,
.cart-item h3 {
    margin: 0.15rem 0 0.6rem;
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.35;
    color: var(--charcoal);
}

.product-card__desc,
.page-hero p,
.product-info p {
    color: var(--muted);
}

.product-card__desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card__sizes {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
}

.product-card__sizes span {
    display: inline-grid;
    min-width: 34px;
    min-height: 30px;
    place-items: center;
    border: 1px solid rgba(43, 36, 29, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.72);
    color: var(--charcoal);
    font-size: 0.78rem;
    font-weight: 900;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: nowrap;
    margin: 1.15rem 0 0;
}

.price,
.product-info__price {
    color: var(--green);
    font-weight: 800;
}

.product-card .price {
    order: 2;
    margin-inline-start: auto;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.product-card .button--small {
    order: 1;
    flex: 0 0 auto;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 8vw, 7rem);
    background:
        linear-gradient(90deg, rgba(184, 34, 51, 0.09), transparent 32%, rgba(30, 107, 69, 0.12)),
        var(--paper);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 64px;
    background: repeating-linear-gradient(-28deg, rgba(33, 29, 24, 0.16) 0 1px, transparent 1px 18px);
    opacity: 0.38;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.shop-page {
    position: relative;
    overflow: clip;
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.3), rgba(246, 239, 226, 0.96) 55%, #efe0ca 100%);
}

.shop-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(620px, 78dvh, 860px);
    overflow: hidden;
    color: var(--white);
    background: var(--charcoal);
}

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shop-hero::before {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(33, 29, 24, 0.94), rgba(33, 29, 24, 0.66) 48%, rgba(33, 29, 24, 0.22)),
        linear-gradient(0deg, rgba(33, 29, 24, 0.88), transparent 58%),
        repeating-linear-gradient(-22deg, rgba(255, 250, 240, 0.09) 0 1px, transparent 1px 18px);
}

.shop-hero__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.78) contrast(0.98) brightness(0.62);
    transform: scale(1.04);
    animation: shopHeroDrift 18s ease-in-out infinite alternate;
}

.shop-hero__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);
    min-height: clamp(620px, 78dvh, 860px);
    padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 8vw, 7rem);
}

.shop-hero__copy {
    max-width: 760px;
    text-align: right;
}

.shop-hero__copy .desert-kicker,
.shop-hero h1,
.shop-hero__lead,
.shop-hero__actions,
.shop-hero__panel {
    opacity: 0;
    will-change: transform, opacity, filter;
}

.shop-hero__copy .desert-kicker {
    color: #f4d29f;
}

.shop-hero h1 {
    margin: 0;
    max-width: 760px;
    font-family: var(--display-font);
    color: #fff8e9;
    font-size: clamp(3rem, 6vw, 6.2rem);
    line-height: 1.06;
    letter-spacing: 0;
    text-shadow: 0 22px 48px rgba(33, 29, 24, 0.4);
    text-wrap: balance;
}

.shop-hero__lead {
    max-width: 620px;
    margin: 1.3rem 0 0;
    color: rgba(255, 250, 240, 0.82);
    font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.shop-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.shop-hero__panel {
    align-self: end;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 240, 0.2);
    border-radius: 10px;
    background: rgba(255, 250, 240, 0.12);
    box-shadow:
        0 28px 74px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
}

.shop-page.is-ready .shop-hero__copy .desert-kicker {
    animation: elementIntroRight 840ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.shop-page.is-ready .shop-hero h1 {
    animation: headlineIntro 1050ms cubic-bezier(0.16, 1, 0.3, 1) 320ms both;
}

.shop-page.is-ready .shop-hero__lead {
    animation: elementIntroRight 900ms cubic-bezier(0.16, 1, 0.3, 1) 600ms both;
}

.shop-page.is-ready .shop-hero__actions {
    animation: ctaIntro 940ms cubic-bezier(0.16, 1, 0.3, 1) 850ms both;
}

.shop-page.is-ready .shop-hero__panel {
    animation: elementIntroLeft 1000ms cubic-bezier(0.16, 1, 0.3, 1) 700ms both;
}

.shop-hero__panel-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.shop-hero__panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.04);
    animation: shopImageFloat 7s ease-in-out infinite alternate;
}

.shop-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(255, 250, 240, 0.18);
}

.shop-stats div {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-inline-start: 1px solid rgba(255, 250, 240, 0.16);
}

.shop-stats div:first-child {
    border-inline-start: 0;
}

.shop-stats dt,
.shop-stats dd {
    margin: 0;
}

.shop-stats dt {
    color: rgba(255, 250, 240, 0.68);
    font-size: 0.75rem;
    font-weight: 800;
}

.shop-stats dd {
    color: #fff8e9;
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1.1;
}

.shop-toolbar-section {
    position: sticky;
    top: calc(clamp(76px, 7vw, 112px) + 1rem);
    z-index: 6;
    margin-top: -2.5rem;
}

.shop-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid rgba(43, 36, 29, 0.12);
    border-radius: 10px;
    background: rgba(255, 250, 240, 0.78);
    box-shadow: 0 22px 60px rgba(65, 43, 24, 0.13);
    backdrop-filter: blur(20px);
}

.shop-toolbar span {
    display: block;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
}

.shop-toolbar strong {
    display: block;
    color: var(--charcoal);
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

.shop-size-filter {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.shop-size-filter button {
    min-width: 44px;
    min-height: 38px;
    padding: 0.35rem 0.7rem;
    border-color: rgba(43, 36, 29, 0.14);
    background: rgba(255, 250, 240, 0.72);
    color: var(--charcoal);
}

.shop-size-filter button.is-active {
    background: var(--charcoal);
    color: var(--white);
}

.shop-products {
    padding-block-start: clamp(3.5rem, 7vw, 6rem);
}

.product-grid--shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.2vw, 1.7rem);
    align-items: stretch;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.3rem;
}

.product-grid--shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.2vw, 1.7rem);
    align-items: stretch;
}

.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.8);
    box-shadow: 0 18px 52px rgba(65, 43, 24, 0.1);
    transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1), border-color 360ms ease;
}

.product-card:hover {
    border-color: rgba(184, 34, 51, 0.24);
    box-shadow: 0 26px 72px rgba(65, 43, 24, 0.16);
    transform: translateY(-7px);
}

.product-card.is-filtered-out {
    display: none;
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: var(--sand);
}

.product-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(33, 29, 24, 0.46), transparent);
    opacity: 0;
    transition: opacity 360ms ease;
}

.product-card:hover .product-card__media::after {
    opacity: 1;
}

.product-card__badge {
    position: absolute;
    z-index: 2;
    inset-block-start: 0.8rem;
    inset-inline-end: 0.8rem;
    border: 1px solid rgba(255, 250, 240, 0.36);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    background: rgba(33, 29, 24, 0.58);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.product-card__fallback-img {
    object-fit: cover;
}

.product-card__body {
    padding: 1rem;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 1rem;
}

.product-gallery img,
.product-gallery__fallback {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    background: var(--sand);
    box-shadow: var(--shadow);
}

.product-gallery__fallback {
    display: grid;
    place-items: center;
    color: var(--charcoal);
    font-family: var(--display-font);
    font-size: 3rem;
}

.product-info {
    position: sticky;
    top: 104px;
}

.stack {
    display: grid;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--charcoal);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(43, 36, 29, 0.18);
    border-radius: var(--radius);
    padding: 0.85rem 0.9rem;
    background: rgba(255, 250, 240, 0.84);
    color: var(--charcoal);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(30, 107, 69, 0.58);
    box-shadow: 0 0 0 4px rgba(30, 107, 69, 0.12);
    background: var(--white);
}

.field-error {
    margin: 0.35rem 0 0;
    color: var(--red);
    font-size: 0.9rem;
    font-weight: 700;
}

.alert,
.empty-state,
.summary-box,
.checkout-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.82);
}

.alert {
    padding: 0.85rem 1rem;
    font-weight: 700;
}

.alert--success {
    border-color: rgba(30, 107, 69, 0.24);
    color: var(--green);
}

.alert--error {
    border-color: rgba(184, 34, 51, 0.26);
    color: var(--red);
}

.empty-state {
    padding: 2rem;
    text-align: center;
}

.empty-state--shop {
    padding: clamp(2rem, 6vw, 5rem);
    border-style: dashed;
    background:
        linear-gradient(90deg, rgba(184, 34, 51, 0.05), transparent 38%, rgba(30, 107, 69, 0.07)),
        rgba(255, 250, 240, 0.82);
}

.empty-state--shop span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--green);
    font-weight: 900;
}

.shop-promise {
    padding-block: clamp(1rem, 4vw, 3rem) clamp(4rem, 9vw, 8rem);
}

.shop-promise__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: end;
    border-top: 1px solid var(--line);
    padding-top: clamp(2rem, 5vw, 4rem);
}

.shop-promise h2 {
    margin: 0;
    max-width: 720px;
    color: var(--charcoal);
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 1.15;
    text-wrap: balance;
}

.shop-promise__steps {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    border-block: 1px solid var(--line);
}

.shop-promise__steps span,
.shop-promise__steps strong {
    padding-block: 1rem;
    border-top: 1px solid var(--line);
}

.shop-promise__steps span:nth-child(1),
.shop-promise__steps strong:nth-child(2) {
    border-top: 0;
}

.shop-promise__steps span {
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 900;
}

.shop-promise__steps strong {
    color: var(--charcoal);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
}

@keyframes shopHeroDrift {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.09) translate3d(-1.5%, 1%, 0);
    }
}

@keyframes shopImageFloat {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.1) translate3d(0, -2%, 0);
    }
}

.cart-page {
    overflow: hidden;
    background:
        radial-gradient(70% 55% at 15% 0%, rgba(184, 34, 51, 0.13), transparent 56%),
        linear-gradient(180deg, #2b241d 0%, #f6efe2 42%, #fbf5eb 100%);
}

.cart-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(520px, 62dvh, 720px);
    overflow: hidden;
    color: #fffaf0;
    background: var(--charcoal);
}

.cart-hero::before,
.cart-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cart-hero::before {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(33, 29, 24, 0.9) 0%, rgba(33, 29, 24, 0.62) 48%, rgba(33, 29, 24, 0.28) 100%),
        linear-gradient(0deg, rgba(33, 29, 24, 0.76), transparent 58%);
}

.cart-hero::after {
    z-index: 1;
    inset-block-start: auto;
    height: 5px;
    background: linear-gradient(90deg, var(--charcoal) 0 30%, var(--white) 30% 43%, var(--green) 43% 68%, var(--red) 68% 100%);
}

.cart-hero__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.42) contrast(0.88) brightness(0.54);
    transform: scale(1.06);
}

.cart-hero__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    min-height: inherit;
    padding-block: clamp(6rem, 12vw, 9rem) clamp(3rem, 7vw, 6rem);
}

.cart-hero__copy {
    max-width: 760px;
    text-align: right;
}

.cart-hero__copy .desert-kicker,
.cart-hero h1,
.cart-hero__copy > p,
.cart-hero__receipt {
    opacity: 0;
    will-change: transform, opacity, filter;
}

.cart-page.is-ready .cart-hero__copy .desert-kicker {
    animation: elementIntroRight 840ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both;
}

.cart-page.is-ready .cart-hero h1 {
    animation: headlineIntro 1050ms cubic-bezier(0.16, 1, 0.3, 1) 300ms both;
}

.cart-page.is-ready .cart-hero__copy > p {
    animation: elementIntroRight 900ms cubic-bezier(0.16, 1, 0.3, 1) 560ms both;
}

.cart-page.is-ready .cart-hero__receipt {
    animation: elementIntroLeft 980ms cubic-bezier(0.16, 1, 0.3, 1) 680ms both;
}

.cart-hero h1 {
    margin: 0;
    max-width: 760px;
    color: #fff8e9;
    font-family: var(--display-font);
    font-size: clamp(3rem, 5.8vw, 6rem);
    line-height: 1.08;
    text-shadow: 0 22px 48px rgba(33, 29, 24, 0.42);
    text-wrap: balance;
}

.cart-hero__copy > p:not(.desert-kicker) {
    max-width: 610px;
    margin: 1.2rem 0 0;
    color: rgba(255, 250, 240, 0.82);
    font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.cart-hero__receipt {
    align-self: end;
    border: 1px solid rgba(255, 250, 240, 0.22);
    border-radius: 12px;
    padding: clamp(1.2rem, 3vw, 2rem);
    background: rgba(255, 250, 240, 0.12);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
}

.cart-hero__receipt span {
    display: block;
    color: #f4d29f;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    font-weight: 900;
    line-height: 0.9;
}

.cart-hero__receipt strong {
    display: block;
    margin-top: 0.75rem;
    color: #fffaf0;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.cart-hero__receipt p {
    margin: 0.55rem 0 0;
    color: rgba(255, 250, 240, 0.72);
}

.cart-section {
    position: relative;
    padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
}

.cart-section::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 170px;
    background: linear-gradient(180deg, rgba(33, 29, 24, 0.24), transparent);
    pointer-events: none;
}

.quantity-control {
    display: inline-grid;
    grid-template-columns: 42px minmax(70px, 90px) 42px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.quantity-control button {
    min-height: 42px;
    border-radius: 0;
    background: transparent;
    color: var(--charcoal);
}

.quantity-control input {
    border: 0;
    border-inline: 1px solid var(--line);
    border-radius: 0;
    text-align: center;
    background: transparent;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
}

.cart-layout {
    position: relative;
    z-index: 1;
}

.cart-list {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto auto;
    gap: clamp(0.9rem, 2vw, 1.3rem);
    align-items: center;
    padding: clamp(0.85rem, 2vw, 1.1rem);
    border: 1px solid rgba(43, 36, 29, 0.1);
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.76)),
        rgba(255, 250, 240, 0.86);
    box-shadow: 0 20px 58px rgba(65, 43, 24, 0.1);
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.cart-item:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 34, 51, 0.18);
    box-shadow: 0 26px 70px rgba(65, 43, 24, 0.14);
}

.cart-item__media {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(184, 34, 51, 0.14), transparent 42%),
        var(--sand);
}

.cart-item__media span {
    display: grid;
    height: 100%;
    place-items: center;
    font-weight: 800;
}

.cart-item__body {
    min-width: 0;
}

.cart-item__size {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
    color: var(--muted);
    font-weight: 800;
}

.cart-item__size span {
    display: inline-grid;
    min-width: 38px;
    min-height: 32px;
    place-items: center;
    border: 1px solid rgba(43, 36, 29, 0.12);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.86);
    color: var(--charcoal);
}

.cart-item__controls {
    display: grid;
    justify-items: end;
    gap: 0.6rem;
}

.cart-item__controls label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 900;
}

.cart-item__controls strong {
    color: var(--green);
    font-size: 1.12rem;
}

.cart-item__remove {
    align-self: end;
}

.cart-actions,
.admin-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.admin-actions--inline {
    align-items: center;
    margin-top: 0;
}

.admin-actions--inline form,
.admin-row-actions form {
    margin: 0;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.summary-box,
.checkout-form {
    padding: 1.25rem;
}

.summary-box--cart {
    position: sticky;
    top: 96px;
    border-color: rgba(43, 36, 29, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(255, 250, 240, 0.82)),
        var(--white);
    box-shadow:
        0 28px 74px rgba(65, 43, 24, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.summary-box--cart .button {
    width: 100%;
}

.summary-box h2,
.checkout-form h2,
.admin-subtitle {
    margin-top: 0;
    color: var(--charcoal);
}

.summary-box dl {
    display: grid;
    gap: 0.65rem;
}

.summary-box dl div,
.summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.65rem;
}

.summary-box dt,
.summary-box dd {
    margin: 0;
}

.summary-box__total {
    color: var(--green);
    font-size: 1.15rem;
    font-weight: 800;
}

.empty-state--cart {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 7vw, 5rem);
    border-color: rgba(43, 36, 29, 0.12);
    background:
        radial-gradient(42% 80% at 12% 0%, rgba(184, 34, 51, 0.12), transparent 62%),
        linear-gradient(90deg, rgba(255, 250, 240, 0.96), rgba(255, 250, 240, 0.78));
    box-shadow: 0 26px 70px rgba(65, 43, 24, 0.1);
}

.empty-state--cart span {
    display: block;
    color: var(--red);
    font-weight: 900;
}

.empty-state--cart h2 {
    max-width: 720px;
    margin: 0.45rem auto 1.4rem;
    color: var(--charcoal);
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.16;
}

.summary-items {
    display: grid;
    gap: 0.65rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.cod-note {
    color: var(--muted);
    font-weight: 700;
}

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

.reveal-on-scroll {
    transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1), transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 70ms);
}

html.has-reveal .reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
}

html.has-reveal .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-body {
    background:
        linear-gradient(135deg, rgba(184, 34, 51, 0.05), transparent 32%, rgba(30, 107, 69, 0.07)),
        #f4efe6;
}

.admin-login {
    display: grid;
    min-height: 100dvh;
    place-items: center;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.admin-login__card {
    display: grid;
    width: min(100%, 440px);
    gap: 1rem;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 250, 240, 0.9);
    box-shadow: 0 28px 80px rgba(65, 43, 24, 0.14);
}

.admin-login__card .brand {
    justify-self: center;
}

.admin-login__card .brand__logo {
    width: 180px;
    height: 76px;
}

.admin-login__card h1 {
    margin: 0;
    color: var(--charcoal);
    font-family: var(--display-font);
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.15;
}

.admin-login__card button[type="submit"] {
    width: 100%;
    margin-top: 0.25rem;
}

@media (max-height: 680px) {
    .admin-login {
        align-items: start;
        padding-block: 1rem;
    }

    .admin-login__card {
        gap: 0.5rem;
        padding: 1rem;
    }

    .admin-login__card .brand__logo {
        width: 128px;
        height: 54px;
    }

    .admin-login__card h1 {
        font-size: 1.9rem;
    }

    .admin-login__card .eyebrow {
        margin-bottom: 0.35rem;
    }

    .admin-login__card input {
        padding-block: 0.62rem;
    }

    .admin-login__card button[type="submit"] {
        min-height: 42px;
    }
}

.admin-header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 240, 0.94);
}

.admin-main {
    padding-block: 2.5rem;
}

.admin-page__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-filter-tabs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.admin-filter-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.72);
    color: var(--charcoal);
    font-weight: 800;
}

.admin-filter-tabs a.is-active {
    background: var(--charcoal);
    color: var(--white);
}

.admin-filter-tabs span {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: rgba(33, 29, 24, 0.1);
    font-size: 0.78rem;
}

.admin-filter-tabs a.is-active span {
    background: rgba(255, 250, 240, 0.16);
}

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

.admin-stat,
.admin-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.86);
    box-shadow: 0 18px 52px rgba(65, 43, 24, 0.08);
}

.admin-stat {
    padding: 1.2rem;
}

.admin-stat span {
    color: var(--muted);
    font-weight: 700;
}

.admin-stat strong {
    display: block;
    margin-top: 0.4rem;
    color: var(--charcoal);
    font-size: 2.4rem;
}

.admin-stat--accent strong {
    color: var(--red);
}

.admin-panel {
    padding: 1.25rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
    text-align: start;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 0.9rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.72);
    color: var(--charcoal);
    font-size: 0.84rem;
    font-weight: 900;
}

.status-badge--completed {
    border-color: rgba(30, 107, 69, 0.22);
    background: rgba(30, 107, 69, 0.1);
    color: var(--green);
}

.status-badge--cancelled {
    border-color: rgba(184, 34, 51, 0.22);
    background: rgba(184, 34, 51, 0.08);
    color: var(--red);
}

.checkbox-row {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.check-tile {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.76);
}

.check-tile input {
    width: auto;
}

.image-preview,
.admin-gallery img {
    max-width: 180px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.admin-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-link-button {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    body:not(:has(.desert-home)):not(:has(.shop-page)):not(:has(.cart-page)) *,
    body:not(:has(.desert-home)):not(:has(.shop-page)):not(:has(.cart-page)) *::before,
    body:not(:has(.desert-home)):not(:has(.shop-page)):not(:has(.cart-page)) *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 900px) {
    .desert-hero__layout,
    .shop-hero__layout,
    .cart-hero__layout,
    .shop-promise__grid,
    .product-detail__grid,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .desert-hero__layout {
        direction: rtl;
        align-items: center;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 4rem 6rem;
    }

    .desert-hero__copy {
        justify-self: stretch;
    }

    .desert-hero__heritage {
        order: 2;
        max-width: none;
        padding-bottom: 0;
    }

    .shop-hero__layout {
        align-items: center;
        gap: 2rem;
    }

    .cart-hero__layout {
        align-items: center;
        gap: 2rem;
    }

    .cart-hero__receipt {
        max-width: 520px;
        justify-self: stretch;
    }

    .shop-hero__panel {
        max-width: 520px;
        justify-self: stretch;
    }

    .shop-toolbar {
        grid-template-columns: 1fr;
    }

    .shop-size-filter {
        justify-content: flex-start;
    }

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

    .shop-promise__grid {
        align-items: start;
    }

    .product-info {
        position: static;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(1360px, calc(100% - 28px));
    }

    .header-bar,
    .footer-bar,
    .admin-header__bar,
    .admin-page__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        position: relative;
    }

    .site-header .brand {
        padding-block: 0.6rem 0.35rem;
    }

    body:has(.desert-home) .site-header {
        position: fixed;
        background: transparent;
    }

    body:has(.desert-home) .brand {
        padding-block: 0;
    }

    body:has(.desert-home) .header-bar {
        min-height: 78px;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        gap: 0.5rem;
    }

    body:has(.desert-home) .brand__text {
        display: none;
    }

    body:has(.desert-home) .site-nav {
        width: auto;
        gap: 0.05rem;
        flex-wrap: nowrap;
    }

    body:has(.desert-home) .site-nav a {
        padding: 0.32rem 0.45rem;
    }

    .site-nav,
    .admin-nav {
        width: 100%;
    }

    body:has(.desert-home) .site-nav {
        width: auto;
    }

    .desert-hero__layout {
        min-height: 100dvh;
        padding-block: 6.2rem 5.4rem;
    }

    .desert-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.3rem);
    }

    .shop-hero {
        min-height: auto;
    }

    .shop-hero__layout {
        min-height: auto;
        padding-block: 4.3rem 4.8rem;
    }

    .cart-hero {
        min-height: auto;
    }

    .cart-hero__layout {
        min-height: auto;
        padding-block: 4.3rem 4rem;
    }

    .cart-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .shop-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .shop-hero__actions .button {
        flex: 1 1 160px;
    }

    .shop-stats {
        grid-template-columns: 1fr;
    }

    .shop-stats div {
        border-inline-start: 0;
        border-top: 1px solid rgba(255, 250, 240, 0.16);
    }

    .shop-stats div:first-child {
        border-top: 0;
    }

    .shop-toolbar-section {
        position: relative;
        top: auto;
    }

    .product-grid--shop {
        grid-template-columns: 1fr;
    }

    .shop-promise__steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cart-item {
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: start;
    }

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

    .cart-item__media {
        width: 112px;
    }

    .cart-item__controls,
    .cart-item__remove {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .cart-item__controls {
        justify-items: stretch;
    }

    .summary-box--cart {
        position: static;
    }

    th,
    td {
        padding: 0.65rem 0.45rem;
    }
}
