:root {
    --parchment: #faf5f0;
    --linen: #f4eadf;
    --sand: #ead9ca;
    --khaki: #c3a995;
    --taupe: #8a7968;
    --taupe-light: #ab947e;
    --ash: #6f5e53;
    --ink: #342b26;
    --muted: #7d6b5f;
    --line: rgba(111, 94, 83, .16);
    --paper: rgba(255, 255, 255, .72);
    --paper-strong: #fffaf5;
    --accent: #8a6f5e;
    --accent-dark: #5c4b42;
    --gold: #c3a06f;
    --ok: #537d65;
    --warn: #a95043;
    --radius: 16px;
    --shadow: 0 24px 70px rgba(78, 60, 48, .12);
    --soft-shadow: 0 14px 40px rgba(78, 60, 48, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 8%, rgba(195, 169, 149, .28), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .72), transparent 26%),
        linear-gradient(180deg, var(--parchment), #f7eee6 48%, var(--linen));
    font-family: "Inter", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(111, 94, 83, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 94, 83, .03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000, transparent 80%);
}

a {
    color: inherit;
}

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

main {
    min-height: 70vh;
}

.top-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 9px clamp(18px, 8vw, 110px);
    color: var(--linen);
    background: var(--ash);
    font-size: 12px;
    letter-spacing: .06em;
    text-align: center;
}

.top-strip span {
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--khaki);
    vertical-align: 1px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px clamp(18px, 8vw, 110px);
    color: var(--parchment);
    background: rgba(111, 94, 83, .95);
    backdrop-filter: blur(14px);
    transition: background .35s ease, box-shadow .35s ease;
}

.site-header.scrolled {
    background: rgba(111, 94, 83, .88);
    box-shadow: 0 20px 60px rgba(78, 60, 48, .16);
}

.brand,
.nav-logo,
.site-footer strong,
.footer-brand strong,
h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
}

.brand {
    display: grid;
    gap: 4px;
    color: var(--parchment);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 10px;
    line-height: 1.05;
    text-decoration: none;
    text-transform: uppercase;
}

.brand span,
.nav-logo span,
.footer-brand small {
    display: block;
    color: var(--linen);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4px;
    opacity: .72;
    text-transform: uppercase;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
}

.site-header nav a {
    color: var(--linen);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity .25s ease;
}

.site-header nav a:hover {
    opacity: .68;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-link span {
    min-width: 22px;
    min-height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--ash);
    background: var(--parchment);
    font-size: 12px;
    font-weight: 800;
}

.menu-toggle,
.nav-logo,
.menu-overlay {
    display: none;
}

.section,
.checkout,
.product-detail,
.feature-strip,
.trust-band,
.process-band,
.newsletter-band {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.section,
.checkout,
.product-detail {
    padding: 72px 0;
}

.narrow {
    max-width: 820px;
}

.page-heading,
.section-title {
    margin-bottom: 28px;
}

.section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.kicker {
    margin: 0 0 12px;
    color: var(--taupe);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(44px, 7vw, 96px);
    font-weight: 600;
    line-height: .98;
}

h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.08;
}

h3 {
    color: var(--ink);
    font-weight: 600;
}

p {
    color: var(--muted);
}

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

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    background: var(--ash);
    box-shadow: var(--soft-shadow);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.button:hover {
    background: var(--taupe-light);
    transform: translateY(-2px);
}

.button.secondary {
    color: var(--ash);
    background: rgba(255, 255, 255, .54);
    border: 1px solid var(--line);
    box-shadow: none;
}

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

.hero {
    position: relative;
    min-height: calc(100vh - 130px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
    grid-template-rows: minmax(560px, 1fr) auto;
    gap: 24px;
    align-items: center;
    width: min(1280px, calc(100% - 36px));
    margin: 0 auto;
    padding: 64px clamp(18px, 4vw, 52px) 36px;
    overflow: hidden;
    isolation: isolate;
}

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

.hero::before {
    z-index: -2;
    border-radius: 0 0 30px 30px;
    background:
        linear-gradient(180deg, rgba(250, 245, 240, .92), rgba(111, 94, 83, .28)),
        radial-gradient(circle at 70% 50%, rgba(195, 169, 149, .34), transparent 36%);
}

.hero::after {
    z-index: -1;
    background:
        radial-gradient(circle at 63% 50%, rgba(255, 255, 255, .34), transparent 21%),
        radial-gradient(circle at 78% 45%, rgba(195, 169, 149, .18), transparent 28%);
}

.hero-copy {
    position: absolute;
    top: clamp(14px, 2.4vw, 28px);
    left: clamp(14px, 3vw, 44px);
    right: clamp(14px, 3vw, 44px);
    z-index: 4;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 8px clamp(14px, 2.4vw, 26px);
    align-items: center;
    margin: 0;
    padding: 14px clamp(16px, 2.4vw, 26px);
    border: 1px solid rgba(111, 94, 83, .12);
    border-radius: 26px;
    background: rgba(250, 245, 240, .62);
    box-shadow: 0 18px 54px rgba(78, 60, 48, .13);
    backdrop-filter: blur(16px);
}

.hero-copy p:not(.kicker) {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 0;
    color: var(--ash);
    font-size: 14px;
    line-height: 1.45;
}

.hero-copy h1 {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    margin: 0;
    font-size: clamp(27px, 2.7vw, 40px);
    line-height: 1.02;
    white-space: normal;
}

.hero-copy .kicker {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid rgba(111, 94, 83, .12);
    border-radius: 999px;
    background: rgba(250, 245, 240, .7);
    box-shadow: 0 12px 30px rgba(78, 60, 48, .09);
}

.hero-actions {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0;
}

.hero-actions .button {
    white-space: nowrap;
}

.hero-fresco {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(18px, 5vw, 70px);
    overflow: hidden;
}

.hero-sphere {
    position: relative;
    flex: 0 0 auto;
    width: clamp(160px, 18vw, 300px);
    aspect-ratio: 1;
    margin-right: -4vw;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: 0 38px 96px rgba(78, 60, 48, .22);
    cursor: pointer;
    animation: sphereFloat 9s ease-in-out infinite;
    opacity: .76;
    transition: width .55s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, opacity .35s ease, filter .35s ease;
}

.hero-sphere::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .36), rgba(255, 255, 255, .08) 42%, transparent 72%);
    opacity: .82;
}

.hero-sphere img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-sphere.s2 {
    animation-delay: 1.1s;
}

.hero-sphere.s3 {
    animation-delay: 2.2s;
}

.hero-sphere.s4 {
    margin-right: 0;
    animation-delay: 3.3s;
}

.hero-sphere:not(.active) {
    width: clamp(150px, 17vw, 280px);
    filter: saturate(.88);
}

.hero-sphere.active {
    z-index: 3;
    width: clamp(330px, 42vw, 620px);
    opacity: 1;
    box-shadow: 0 44px 110px rgba(78, 60, 48, .28), 0 0 0 6px rgba(250, 245, 240, .64);
}

.hero-sphere:hover {
    opacity: 1;
    box-shadow: 0 44px 110px rgba(78, 60, 48, .24), 0 0 0 5px rgba(250, 245, 240, .5);
}

.hero-selected {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    z-index: 4;
    width: 100%;
    min-height: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 20px 18px;
    border: 1px solid rgba(111, 94, 83, .16);
    border-radius: var(--radius);
    color: var(--ink);
    text-align: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .68), rgba(250, 245, 240, .5)),
        radial-gradient(circle at 50% 0%, rgba(195, 169, 149, .22), transparent 58%);
    box-shadow: 0 22px 64px rgba(78, 60, 48, .16);
    backdrop-filter: blur(12px);
}

.hero-selected span,
.collection-number,
.stock-text,
.luxury-note {
    color: var(--taupe);
    font-size: 13px;
}

.hero-selected strong {
    display: block;
    margin: 6px 0 14px;
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.1;
}

.hero-selected a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    background: var(--ash);
    box-shadow: var(--soft-shadow);
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.hero-selected a:hover {
    background: var(--taupe-light);
    transform: translateY(-2px);
}

@keyframes sphereFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

.feature-strip {
    position: relative;
    z-index: 4;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: var(--soft-shadow);
}

.feature-strip div,
.trust-band div,
.process-grid div,
.mini-trust span,
.product-assurance span {
    padding: 18px;
    background: rgba(255, 255, 255, .58);
}

.feature-strip div {
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.feature-strip strong,
.trust-band strong,
.process-grid strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
}

.feature-strip span,
.trust-band span,
.process-grid span {
    color: var(--muted);
    font-size: 14px;
}

.collection-section {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.collection-intro,
.product-card,
.form-card,
.summary,
.account-panel,
.empty-state,
.success-state,
.legal-panel,
.faq-panel,
.product-detail-panel,
.product-detail-media,
.cart-summary-panel,
.admin-panel,
.admin-stat,
.admin-details,
.admin-faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(8px);
}

.collection-intro,
.form-card,
.summary,
.account-panel,
.empty-state,
.success-state,
.legal-panel,
.faq-panel,
.product-detail-panel,
.cart-summary-panel,
.admin-panel,
.admin-details,
.admin-faq-item {
    padding: clamp(22px, 4vw, 34px);
}

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

.product-card {
    position: relative;
    overflow: hidden;
    padding: 28px 20px 24px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 88px;
    left: 50%;
    width: 130%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(195, 169, 149, .18), transparent 70%);
    transform: translateX(-50%);
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-media {
    position: relative;
    width: 92%;
    aspect-ratio: 1;
    display: block;
    margin: 0 auto 18px;
    overflow: hidden;
    border-radius: 999px;
    box-shadow: 0 30px 70px rgba(78, 60, 48, .13);
}

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

.product-card:hover .product-media img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--ash);
    font-size: 12px;
    font-weight: 800;
    transform: translateX(-50%);
}

.collection-number {
    display: block;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-card h3 {
    margin: 8px 0;
    font-size: 24px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 12px;
}

.product-meta span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ash);
    background: rgba(255, 255, 255, .5);
    font-size: 12px;
    font-weight: 800;
}

.luxury-note {
    font-style: italic;
}

.stock-bar {
    height: 7px;
    margin: 14px 0 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--linen);
}

.stock-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--taupe-light);
}

.product-rating {
    color: var(--gold);
    font-weight: 700;
}

.product-rating span {
    color: var(--muted);
}

.product-swatches {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.product-swatches span {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--khaki);
}

.product-swatches span:nth-child(2) {
    background: var(--ash);
}

.product-swatches span:nth-child(3) {
    background: var(--linen);
}

.product-swatches span:nth-child(4) {
    background: var(--taupe-light);
}

.collection-next {
    display: none;
}

.collection-hero {
    display: grid;
    min-height: 260px;
    align-items: end;
    padding-top: 72px;
    padding-bottom: 42px;
}

.collection-hero > div {
    max-width: 760px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.catalog-filters {
    position: sticky;
    top: 104px;
}

.catalog-filter-form,
.catalog-summary {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(8px);
}

.catalog-filter-form {
    display: grid;
    gap: 16px;
    padding: clamp(20px, 3vw, 28px);
}

.filter-head,
.catalog-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.filter-head h2,
.catalog-summary h2 {
    margin-bottom: 0;
}

.filter-head a {
    color: var(--ash);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.catalog-results {
    display: grid;
    gap: 24px;
}

.catalog-summary {
    padding: 22px clamp(20px, 3vw, 28px);
}

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

.catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
}

.trust-band,
.process-band,
.newsletter-band {
    margin-top: 34px;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.process-band,
.newsletter-band {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    padding: clamp(26px, 5vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .42);
    box-shadow: var(--soft-shadow);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.process-grid div {
    border-radius: var(--radius);
}

.newsletter-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-bottom: 36px;
}

.product-detail,
.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
    gap: clamp(24px, 5vw, 54px);
    align-items: start;
}

.product-detail-media {
    padding: clamp(16px, 3vw, 28px);
}

.product-detail-media img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.price,
.cart-summary-panel strong,
.summary-total strong {
    color: var(--ash);
    font-size: 32px;
    font-weight: 800;
}

.purchase-note,
.notice,
.alert,
.success {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin: 16px 0;
}

.purchase-note,
.notice {
    color: var(--ash);
    background: rgba(195, 169, 149, .18);
    border: 1px solid rgba(111, 94, 83, .12);
}

.purchase-note strong,
.purchase-note span {
    display: block;
}

.alert {
    color: var(--warn);
    background: rgba(169, 80, 67, .1);
    border: 1px solid rgba(169, 80, 67, .22);
}

.success {
    color: var(--ok);
    background: rgba(83, 125, 101, .1);
    border: 1px solid rgba(83, 125, 101, .22);
}

.product-assurance,
.mini-trust,
.checkout-steps,
.account-menu,
.admin-menu,
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-assurance span,
.mini-trust span,
.checkout-steps span,
.account-menu a,
.admin-menu a,
.category-list a,
.status,
.stock-chip {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ash);
    background: rgba(255, 255, 255, .48);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.checkout-steps span.active,
.account-menu a.active,
.admin-menu a.active,
.admin-menu a:hover,
.category-list a.active,
.status,
.stock-chip {
    color: #fff;
    background: var(--ash);
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, .7);
    font: inherit;
}

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

input[type="checkbox"] {
    width: auto;
    min-height: 0;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(111, 94, 83, .42);
    box-shadow: 0 0 0 4px rgba(195, 169, 149, .24);
    outline: 0;
}

.inline-form,
.cart-actions,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

.compact-form,
.form-card {
    display: grid;
    gap: 16px;
}

.form-grid,
.phone-row,
.address-grid {
    display: grid;
    gap: 14px;
}

.form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phone-row {
    grid-template-columns: minmax(160px, .6fr) minmax(0, 1fr);
}

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

.address-grid label:first-child,
.address-grid label:nth-child(2),
.address-grid label:last-child {
    grid-column: 1 / -1;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .52);
}

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

th,
td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--ash);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qty {
    max-width: 90px;
}

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

.cart-summary-panel,
.checkout-summary {
    position: sticky;
    top: 118px;
}

.cart-summary-panel {
    display: grid;
    gap: 14px;
}

.summary p,
.summary-total,
.order-card > div,
.order-detail-head,
.order-single-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.summary-total {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.checkout-help,
.account-switch a {
    color: var(--ash);
    font-weight: 800;
}

.account-overview,
.account-home-grid,
.account-info-layout,
.account-grid,
.faq-grid,
.admin-stats,
.admin-grid,
.order-detail-grid,
.order-single-grid,
.order-progress {
    display: grid;
    gap: 18px;
}

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

.account-overview div,
.admin-stat {
    padding: 20px;
}

.account-overview span,
.admin-stat span {
    color: var(--muted);
}

.account-overview strong,
.admin-stat strong {
    display: block;
    color: var(--ink);
    font-size: 30px;
}

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

.account-info-layout {
    grid-template-columns: minmax(280px, .75fr) minmax(360px, 1.2fr);
}

.account-info-layout .account-panel:nth-child(2) {
    grid-row: span 3;
}

.account-grid {
    grid-template-columns: minmax(280px, .7fr) minmax(360px, 1fr) minmax(280px, .75fr);
}

.account-orders-panel {
    grid-column: 1 / -1;
}

.order-cards,
.account-order-list,
.admin-faq-list,
.legal-content,
.faq-content {
    display: grid;
    gap: 16px;
}

.order-card,
.account-order-detail {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .5);
}

.order-detail-grid {
    grid-template-columns: 1.1fr .8fr 1fr;
}

.order-single-head {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.order-single-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.order-progress {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.order-progress div {
    min-height: 84px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .48);
}

.order-progress div.done {
    background: rgba(195, 169, 149, .24);
}

.section-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

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

.legal-panel p,
.faq-panel p {
    line-height: 1.75;
}

.admin-panel {
    margin-bottom: 24px;
}

.admin-grid {
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
}

.admin-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-products-table,
.admin-orders-table,
.admin-messages-table {
    max-height: 72vh;
    overflow: auto;
}

.admin-products-table table,
.admin-orders-table table,
.admin-messages-table table,
.admin-customers-table table,
.order-items-table table {
    min-width: 860px;
}

.admin-products-table thead th,
.admin-orders-table thead th,
.admin-messages-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--paper-strong);
}

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

.admin-product-cell img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
}

.order-form {
    display: grid;
    grid-template-columns: minmax(130px, 160px) minmax(170px, 1fr) auto auto auto;
    gap: 8px;
    align-items: end;
    min-width: 590px;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer {
    margin-top: 70px;
    padding: 42px clamp(18px, 8vw, 110px);
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(130px, .6fr));
    gap: 28px;
    color: var(--ash);
    background: var(--linen);
}

.site-footer strong,
.footer-brand strong {
    display: block;
    color: var(--ash);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.footer-brand small {
    margin: 8px 0 14px;
    color: var(--taupe);
}

.site-footer a,
.site-footer span {
    display: block;
    color: var(--taupe);
    font-size: 14px;
    line-height: 1.9;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--ash);
}

.no-scroll {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(560px, 1fr) auto auto;
    }

    .feature-strip {
        grid-column: 1;
    }

    .hero-selected {
        grid-column: 1;
        grid-row: 3;
        min-height: auto;
    }

    .collection-section,
    .catalog-layout,
    .process-band {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        position: static;
    }

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

@media (max-width: 900px) {
    .top-strip {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .site-header {
        z-index: 10000;
        min-height: 82px;
        padding: 18px 22px;
        flex-direction: row;
    }

    .brand {
        font-size: 21px;
        letter-spacing: 8px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 10003;
    }

    .menu-toggle span {
        width: 26px;
        height: 2px;
        display: block;
        margin: 6px auto;
        background: var(--parchment);
        transition: transform .35s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: block;
        background: rgba(0, 0, 0, .35);
        backdrop-filter: blur(12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .45s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .site-header nav {
        position: fixed;
        inset: 0;
        z-index: 10002;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 34px;
        padding: 120px 24px 48px;
        background: rgba(111, 94, 83, .76);
        border: 1px solid rgba(255, 255, 255, .14);
        box-shadow: inset 0 0 120px rgba(0, 0, 0, .16);
        backdrop-filter: blur(22px) saturate(140%);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-24px);
        transition: opacity .45s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
    }

    .site-header nav.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .site-header nav a {
        color: var(--parchment);
        font-size: 18px;
        letter-spacing: 3px;
    }

    .nav-logo {
        position: absolute;
        top: 58px;
        left: 50%;
        display: block;
        color: var(--parchment);
        font-size: 22px;
        letter-spacing: 8px;
        line-height: 1.1;
        text-align: center;
        text-transform: uppercase;
        transform: translateX(-50%);
    }

    .hero,
    .product-detail,
    .checkout,
    .cart-layout,
    .account-home-grid,
    .account-info-layout,
    .account-grid,
    .admin-grid,
    .account-overview,
    .admin-stats,
    .order-detail-grid,
    .order-single-grid,
    .order-progress,
    .faq-grid,
    .trust-band,
    .feature-strip,
    .newsletter-band {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 760px;
        grid-template-rows: 1fr auto auto;
        padding-top: 42px;
    }

    .hero-copy {
        max-width: none;
        left: clamp(14px, 3vw, 44px);
        right: clamp(14px, 3vw, 44px);
        width: auto;
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 10px 18px;
        border-radius: 24px;
    }

    .hero-copy h1 {
        white-space: normal;
    }

    .hero-copy p:not(.kicker) {
        grid-column: 1 / -1;
        max-width: 660px;
    }

    .hero-actions {
        grid-column: 2;
        grid-row: 2;
    }

    .hero-fresco {
        inset: 0;
        min-height: auto;
        justify-content: center;
        overflow: hidden;
    }

    .hero-sphere {
        width: clamp(130px, 28vw, 230px);
        margin-right: -12vw;
    }

    .hero-sphere:not(.active) {
        width: clamp(120px, 26vw, 210px);
    }

    .hero-sphere.active {
        width: clamp(270px, 54vw, 430px);
    }

    .hero-selected {
        width: 100%;
    }

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

    .catalog-summary {
        display: grid;
    }

    .cart-summary-panel,
    .checkout-summary {
        position: static;
    }

    .form-grid,
    .phone-row,
    .address-grid {
        grid-template-columns: 1fr;
    }

    .address-grid label:first-child,
    .address-grid label:nth-child(2),
    .address-grid label:last-child,
    .account-orders-panel {
        grid-column: auto;
    }

    .account-info-layout .account-panel:nth-child(2) {
        grid-row: auto;
    }

    .section-title,
    .summary p,
    .order-card > div,
    .order-detail-head,
    .order-single-head {
        display: grid;
    }

    .table-wrap table {
        min-width: 620px;
    }

    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 34px 22px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .section,
    .checkout,
    .product-detail,
    .feature-strip,
    .trust-band,
    .process-band,
    .newsletter-band,
    .hero {
        width: min(100% - 18px, 1180px);
    }

    h1 {
        font-size: clamp(38px, 13vw, 54px);
    }

    h2 {
        font-size: clamp(28px, 9vw, 38px);
    }

    .brand {
        font-size: 19px;
        letter-spacing: 6px;
    }

    .brand span {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .hero-copy {
        position: absolute;
        top: 12px;
        left: 10px;
        width: calc(100% - 20px);
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        border-radius: 18px;
        padding: 14px;
    }

    .hero-copy .kicker {
        display: inline-flex;
        grid-column: 1;
        grid-row: auto;
        font-size: 10px;
    }

    .hero-copy h1 {
        grid-column: 1;
        grid-row: auto;
        font-size: clamp(24px, 8vw, 34px);
    }

    .hero-copy p:not(.kicker) {
        grid-column: 1;
        font-size: 13px;
    }

    .hero-actions {
        grid-column: 1;
        grid-row: auto;
    }

    .hero {
        min-height: 700px;
        grid-template-rows: 1fr auto auto;
        padding-top: 26px;
    }

    .hero-sphere {
        margin-right: -20vw;
    }

    .hero-sphere:not(.active) {
        width: clamp(92px, 28vw, 150px);
    }

    .hero-sphere.active {
        width: clamp(230px, 72vw, 330px);
    }

    .hero-selected {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
    }

    .hero-actions,
    .inline-form,
    .cart-actions,
    .admin-actions,
    .account-menu,
    .admin-menu {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

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

@media (max-width: 1100px) {
    body:not(.admin-page) .section,
    body:not(.admin-page) .checkout,
    body:not(.admin-page) .product-detail,
    body:not(.admin-page) .feature-strip,
    body:not(.admin-page) .trust-band,
    body:not(.admin-page) .process-band,
    body:not(.admin-page) .newsletter-band {
        width: min(100% - 28px, 1180px);
    }

    body:not(.admin-page) .site-header {
        padding-inline: 28px;
    }

    body:not(.admin-page) .hero {
        width: min(100% - 28px, 1280px);
        min-height: 760px;
        padding-inline: 22px;
    }

    body:not(.admin-page) .hero-copy {
        left: 22px;
        right: 22px;
    }

    body:not(.admin-page) .feature-strip,
    body:not(.admin-page) .trust-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not(.admin-page) .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body:not(.admin-page) .catalog-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not(.admin-page) .catalog-filter-form .filter-head,
    body:not(.admin-page) .catalog-filter-form .button {
        grid-column: 1 / -1;
    }

    body:not(.admin-page) .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body:not(.admin-page) .top-strip {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 8px 16px;
        font-size: 11px;
        text-align: center;
    }

    body:not(.admin-page) .top-strip div:nth-child(n+2) {
        display: none;
    }

    body:not(.admin-page) .site-header {
        min-height: 70px;
        padding: 14px 16px;
    }

    body:not(.admin-page) .brand {
        max-width: 230px;
        font-size: 18px;
        letter-spacing: 5px;
    }

    body:not(.admin-page) .brand span {
        font-size: 8px;
        letter-spacing: 2px;
    }

    body:not(.admin-page) .site-header nav {
        justify-content: center;
        gap: 22px;
        padding: 110px 22px 42px;
        text-align: center;
    }

    body:not(.admin-page) .site-header nav a {
        font-size: 16px;
        letter-spacing: 2px;
    }

    body:not(.admin-page) .nav-logo {
        top: 44px;
        font-size: 18px;
        letter-spacing: 6px;
    }

    body:not(.admin-page) .section,
    body:not(.admin-page) .checkout,
    body:not(.admin-page) .product-detail {
        padding: 44px 0;
    }

    body:not(.admin-page) .section-title,
    body:not(.admin-page) .catalog-summary,
    body:not(.admin-page) .newsletter-band {
        display: grid;
        gap: 14px;
    }

    body:not(.admin-page) h1 {
        font-size: clamp(36px, 11vw, 58px);
        line-height: 1;
    }

    body:not(.admin-page) h2 {
        font-size: clamp(28px, 8vw, 40px);
    }

    body:not(.admin-page) .button {
        min-height: 46px;
    }

    body:not(.admin-page) .hero {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 16px;
        padding: 18px 0 28px;
        overflow: visible;
    }

    body:not(.admin-page) .hero::before {
        border-radius: 0 0 22px 22px;
    }

    body:not(.admin-page) .hero-copy {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
        border-radius: 18px;
    }

    body:not(.admin-page) .hero-copy .kicker,
    body:not(.admin-page) .hero-copy h1,
    body:not(.admin-page) .hero-copy p:not(.kicker),
    body:not(.admin-page) .hero-actions {
        grid-column: 1;
        grid-row: auto;
    }

    body:not(.admin-page) .hero-copy h1 {
        font-size: clamp(28px, 9vw, 42px);
    }

    body:not(.admin-page) .hero-copy p:not(.kicker) {
        max-width: none;
        font-size: 14px;
    }

    body:not(.admin-page) .hero-actions,
    body:not(.admin-page) .inline-form,
    body:not(.admin-page) .cart-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body:not(.admin-page) .hero-actions .button,
    body:not(.admin-page) .inline-form .button,
    body:not(.admin-page) .cart-actions .button {
        width: 100%;
    }

    body:not(.admin-page) .hero-fresco {
        position: relative;
        inset: auto;
        height: auto;
        display: flex;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        padding: 18px 10px 22px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 10px;
        scrollbar-width: thin;
        border-radius: 22px;
    }

    body:not(.admin-page) .hero-sphere {
        flex: 0 0 min(82vw, 500px);
        margin: 0;
        width: min(82vw, 500px);
        max-width: none;
        opacity: .9;
        animation: none;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        box-shadow: 0 18px 42px rgba(78, 60, 48, .18);
    }

    body:not(.admin-page) .hero-sphere:not(.active) {
        flex-basis: min(82vw, 500px);
        width: min(82vw, 500px);
        filter: saturate(.85);
    }

    body:not(.admin-page) .hero-sphere.active {
        flex-basis: min(82vw, 500px);
        order: 0;
        width: min(82vw, 500px);
        margin: 0;
        opacity: 1;
        box-shadow: 0 24px 58px rgba(78, 60, 48, .24), 0 0 0 5px rgba(250, 245, 240, .74);
    }

    body:not(.admin-page) .feature-strip {
        width: min(92%, 560px);
        margin-inline: auto;
        grid-row: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        border-radius: 14px;
    }

    body:not(.admin-page) .hero-selected {
        display: none;
    }

    body:not(.admin-page) .feature-strip div {
        min-height: 88px;
        place-items: center;
        text-align: center;
    }

    body:not(.admin-page) .collection-section,
    body:not(.admin-page) .catalog-layout,
    body:not(.admin-page) .process-band,
    body:not(.admin-page) .newsletter-band,
    body:not(.admin-page) .product-detail,
    body:not(.admin-page) .checkout,
    body:not(.admin-page) .cart-layout,
    body:not(.admin-page) .account-home-grid,
    body:not(.admin-page) .account-info-layout,
    body:not(.admin-page) .account-grid,
    body:not(.admin-page) .account-overview,
    body:not(.admin-page) .faq-grid,
    body:not(.admin-page) .order-detail-grid,
    body:not(.admin-page) .order-single-grid,
    body:not(.admin-page) .order-progress {
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .collection-intro,
    body:not(.admin-page) .product-card,
    body:not(.admin-page) .product-detail-panel,
    body:not(.admin-page) .cart-summary-panel,
    body:not(.admin-page) .account-panel,
    body:not(.admin-page) .form-card,
    body:not(.admin-page) .summary,
    body:not(.admin-page) .legal-panel,
    body:not(.admin-page) .faq-panel {
        border-radius: 14px;
    }

    body:not(.admin-page) .product-grid,
    body:not(.admin-page) .catalog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.collection-page:not(.admin-page) .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.collection-page:not(.admin-page) .catalog-grid .product-card {
        padding: 14px 10px 16px;
    }

    body.collection-page:not(.admin-page) .catalog-grid .product-media {
        width: min(86%, 150px);
        margin-bottom: 12px;
    }

    body.collection-page:not(.admin-page) .catalog-grid .product-card h3 {
        font-size: 17px;
        line-height: 1.12;
    }

    body.collection-page:not(.admin-page) .catalog-grid .product-card p,
    body.collection-page:not(.admin-page) .catalog-grid .stock-text,
    body.collection-page:not(.admin-page) .catalog-grid .luxury-note {
        font-size: 12px;
    }

    body.collection-page:not(.admin-page) .catalog-grid .luxury-note {
        display: none;
    }

    body.collection-page:not(.admin-page) .catalog-grid .button {
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    body:not(.admin-page) .product-card {
        padding: 22px 16px 20px;
    }

    body:not(.admin-page) .product-media {
        width: min(78%, 280px);
    }

    body:not(.admin-page) .collection-hero {
        min-height: auto;
        padding-top: 44px;
        padding-bottom: 22px;
    }

    body:not(.admin-page) .catalog-filter-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body:not(.admin-page) .catalog-filter-form .filter-head,
    body:not(.admin-page) .catalog-filter-form .button {
        grid-column: auto;
    }

    body:not(.admin-page) .catalog-filters {
        position: static;
    }

    body:not(.admin-page) .process-grid {
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .trust-band {
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .newsletter-band .button {
        width: 100%;
    }

    body:not(.admin-page) .product-detail-media {
        padding: 14px;
    }

    body:not(.admin-page) .product-detail-media img {
        max-width: 420px;
        margin: 0 auto;
    }

    body:not(.admin-page) .price,
    body:not(.admin-page) .cart-summary-panel strong,
    body:not(.admin-page) .summary-total strong {
        font-size: 26px;
    }

    body:not(.admin-page) .cart-summary-panel,
    body:not(.admin-page) .checkout-summary {
        position: static;
    }

    body:not(.admin-page) .cart-summary-panel {
        gap: 16px;
    }

    body:not(.admin-page) .cart-summary-panel .mini-trust {
        margin-bottom: 4px;
    }

    body:not(.admin-page) .cart-summary-panel > .button {
        margin-top: 4px;
    }

    body:not(.admin-page) .form-grid,
    body:not(.admin-page) .phone-row,
    body:not(.admin-page) .address-grid {
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .address-grid label:first-child,
    body:not(.admin-page) .address-grid label:nth-child(2),
    body:not(.admin-page) .address-grid label:last-child,
    body:not(.admin-page) .account-orders-panel {
        grid-column: auto;
    }

    body:not(.admin-page) .summary p,
    body:not(.admin-page) .summary-total,
    body:not(.admin-page) .order-card > div,
    body:not(.admin-page) .order-detail-head,
    body:not(.admin-page) .order-single-head {
        display: grid;
        gap: 8px;
    }

    body:not(.admin-page) .account-menu,
    body:not(.admin-page) .category-list,
    body:not(.admin-page) .checkout-steps {
        display: grid;
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .table-wrap table {
        min-width: 620px;
    }
}

@media (max-width: 430px) {
    body:not(.admin-page) .section,
    body:not(.admin-page) .checkout,
    body:not(.admin-page) .product-detail,
    body:not(.admin-page) .feature-strip,
    body:not(.admin-page) .trust-band,
    body:not(.admin-page) .process-band,
    body:not(.admin-page) .newsletter-band,
    body:not(.admin-page) .hero {
        width: min(100% - 16px, 1180px);
    }

    body:not(.admin-page) .brand {
        max-width: 190px;
        font-size: 16px;
        letter-spacing: 4px;
    }

    body:not(.admin-page) .hero-copy,
    body:not(.admin-page) .collection-intro,
    body:not(.admin-page) .product-detail-panel,
    body:not(.admin-page) .cart-summary-panel,
    body:not(.admin-page) .account-panel,
    body:not(.admin-page) .form-card,
    body:not(.admin-page) .summary,
    body:not(.admin-page) .legal-panel,
    body:not(.admin-page) .faq-panel,
    body:not(.admin-page) .catalog-filter-form,
    body:not(.admin-page) .catalog-summary {
        padding: 16px;
    }

    body:not(.admin-page) .feature-strip {
        width: min(90%, 360px);
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .feature-strip div,
    body:not(.admin-page) .trust-band div,
    body:not(.admin-page) .process-grid div {
        padding: 14px;
    }

    body:not(.admin-page) .hero-fresco {
        gap: 12px;
        scroll-padding-inline: 8px;
        padding-inline: 8px;
        padding-bottom: 18px;
    }

    body:not(.admin-page) .hero-sphere,
    body:not(.admin-page) .hero-sphere:not(.active),
    body:not(.admin-page) .hero-sphere.active {
        flex-basis: min(84vw, 340px);
        width: min(84vw, 340px);
    }

    body:not(.admin-page) .product-media {
        width: min(86%, 260px);
    }

    body.collection-page:not(.admin-page) .catalog-grid {
        gap: 10px;
    }

    body.collection-page:not(.admin-page) .catalog-grid .product-card {
        padding: 12px 8px 14px;
    }

    body.collection-page:not(.admin-page) .catalog-grid .product-media {
        width: min(88%, 132px);
    }

    body.collection-page:not(.admin-page) .catalog-grid .product-badge,
    body.collection-page:not(.admin-page) .catalog-grid .product-meta,
    body.collection-page:not(.admin-page) .catalog-grid .stock-bar,
    body.collection-page:not(.admin-page) .catalog-grid .stock-text {
        display: none;
    }

    body:not(.admin-page) th,
    body:not(.admin-page) td {
        padding: 11px;
    }

    body:not(.admin-page) .site-footer {
        padding: 28px 18px;
    }
}

body.admin-page {
    color: #18202b;
    background: #f4f6f8;
}

body.admin-page::before {
    display: none;
}

.admin-page .top-strip,
.admin-page .site-footer {
    display: none;
}

.admin-page .site-header {
    min-height: 68px;
    width: 100%;
    padding: 0 28px;
    border-bottom: 1px solid #dfe4ea;
    background: #111827;
    box-shadow: none;
}

.admin-page .brand {
    color: #fff;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
}

.admin-page .brand span {
    color: #a8b3c4;
    letter-spacing: 1px;
}

.admin-page .site-header nav {
    gap: 12px;
}

.admin-page .site-header nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    color: #e8edf5;
    background: rgba(255, 255, 255, .04);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.admin-page main {
    padding: 28px 0 54px;
}

.admin-page .section {
    width: min(1440px, calc(100% - 36px));
    padding: 0;
}

.admin-page .section-title {
    align-items: center;
    margin-bottom: 18px;
    padding: 0;
}

.admin-page .section-title h1,
.admin-page .section-title h2,
.admin-page h1,
.admin-page h2,
.admin-page h3 {
    color: #18202b;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.admin-page .section-title h1 {
    margin-bottom: 6px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 850;
}

.admin-page .section-title h2,
.admin-page h2 {
    font-size: 22px;
    font-weight: 800;
}

.admin-page .kicker {
    color: #667085;
    font-size: 12px;
    letter-spacing: .08em;
}

.admin-page .muted {
    color: #667085;
}

.admin-page .admin-menu {
    position: sticky;
    top: 78px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 22px;
    padding: 10px;
    border: 1px solid #dfe4ea;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
    backdrop-filter: blur(10px);
}

.admin-page .admin-menu > a,
.admin-page .admin-menu-group > summary {
    position: relative;
    min-height: 58px;
    display: grid;
    align-content: center;
    justify-content: start;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #344054;
    background: transparent;
    text-align: left;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
}

.admin-page .admin-menu-group {
    position: relative;
}

.admin-page .admin-menu-group > summary::-webkit-details-marker {
    display: none;
}

.admin-page .admin-menu > a strong,
.admin-page .admin-menu-group > summary strong {
    color: inherit;
    font-size: 13px;
    font-weight: 850;
}

.admin-page .admin-menu > a span,
.admin-page .admin-menu-group > summary span {
    color: #98a2b3;
    font-size: 11px;
    font-weight: 700;
}

.admin-page .admin-menu > a.active,
.admin-page .admin-menu > a:hover,
.admin-page .admin-menu-group.active > summary,
.admin-page .admin-menu-group > summary:hover,
.admin-page .admin-menu-group[open] > summary {
    color: #fff;
    background: #111827;
    border-color: #111827;
}

.admin-page .admin-menu > a.active span,
.admin-page .admin-menu > a:hover span,
.admin-page .admin-menu-group.active > summary span,
.admin-page .admin-menu-group > summary:hover span,
.admin-page .admin-menu-group[open] > summary span {
    color: #cbd5e1;
}

.admin-page .admin-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    min-width: 190px;
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
}

.admin-page .admin-submenu a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.admin-page .admin-submenu a.active,
.admin-page .admin-submenu a:hover {
    color: #fff;
    background: #111827;
}

.admin-page .admin-panel,
.admin-page .admin-details,
.admin-page .admin-faq-item,
.admin-page .admin-stat,
.admin-page .form-card,
.admin-page .summary {
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
    backdrop-filter: none;
}

.admin-page .admin-panel,
.admin-page .admin-details,
.admin-page .admin-faq-item,
.admin-page .form-card {
    padding: 22px;
}

.admin-page .admin-panel {
    margin-bottom: 18px;
}

.admin-page .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-page .admin-stat {
    min-height: 116px;
    display: grid;
    align-content: space-between;
    padding: 20px;
    color: #18202b;
    text-decoration: none;
}

.admin-page .admin-stat span {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.admin-page .admin-stat strong {
    color: #111827;
    font-size: 38px;
    font-weight: 900;
}

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

.admin-page .button {
    min-height: 40px;
    width: auto;
    border-radius: 8px;
    background: #111827;
    box-shadow: none;
    font-size: 13px;
}

.admin-page .button:hover {
    background: #344054;
}

.admin-page .button.secondary {
    color: #344054;
    background: #fff;
    border: 1px solid #d0d5dd;
}

.admin-page .button.danger {
    background: #b42318;
}

.admin-page .success,
.admin-page .alert {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 9px;
    font-weight: 750;
}

.admin-page input,
.admin-page textarea,
.admin-page select {
    min-height: 42px;
    border-color: #d0d5dd;
    border-radius: 8px;
    background: #fff;
}

.admin-page label {
    color: #344054;
    font-size: 13px;
}

.admin-page .form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-page .compact-form,
.admin-page .form-card {
    gap: 14px;
}

.admin-page .table-wrap {
    border-color: #dfe4ea;
    border-radius: 10px;
    background: #fff;
}

.admin-page table {
    font-size: 14px;
}

.admin-page th,
.admin-page td {
    padding: 12px 14px;
    border-bottom-color: #eef2f6;
}

.admin-page th {
    color: #475467;
    background: #f8fafc;
    font-size: 11px;
    letter-spacing: .06em;
}

.admin-page tbody tr:hover {
    background: #f9fafb;
}

.admin-page .status,
.admin-page .stock-chip {
    min-height: 28px;
    border-color: #d0d5dd;
    border-radius: 999px;
    color: #344054;
    background: #f8fafc;
    font-size: 12px;
}

.admin-page .status.warning {
    color: #b54708;
    background: #fffaeb;
    border-color: #fedf89;
}

.admin-page .admin-product-cell img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}

.admin-page .admin-toolbar {
    align-items: center;
}

.admin-page .admin-toolbar input {
    max-width: 320px;
}

.admin-page .admin-actions .button,
.admin-page .section-title .button,
.admin-page .order-form .button {
    width: auto;
}

.admin-page .admin-orders-table,
.admin-page .admin-products-table,
.admin-page .admin-messages-table {
    overscroll-behavior-x: contain;
}

.admin-page details.admin-details summary {
    cursor: pointer;
    color: #111827;
    font-size: 18px;
    font-weight: 850;
}

.admin-page .menu-toggle {
    border-radius: 8px;
}

@media (max-width: 1180px) {
    .admin-page .admin-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        position: static;
    }

    .admin-page .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .admin-page main {
        padding-top: 18px;
    }

    .admin-page .site-header {
        min-height: 62px;
    }

    .admin-page .brand {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .admin-page .brand span {
        display: none;
    }

    .admin-page .site-header nav {
        background: #111827;
    }

    .admin-page .site-header nav a {
        min-height: auto;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 16px;
    }

    .admin-page .admin-menu {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(150px, 1fr);
        grid-template-columns: none;
        overflow-x: auto;
        padding: 8px;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    .admin-page .admin-menu > a,
    .admin-page .admin-menu-group > summary {
        min-height: 52px;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .admin-page .admin-submenu {
        position: static;
        min-width: 0;
        margin-top: 8px;
        box-shadow: none;
    }

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

    .admin-page .admin-stat {
        min-height: 96px;
        padding: 16px;
    }

    .admin-page .admin-stat strong {
        font-size: 32px;
    }

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

    .admin-page .section-title {
        display: grid;
        gap: 12px;
    }

    .admin-page .admin-panel,
    .admin-page .admin-details,
    .admin-page .admin-faq-item,
    .admin-page .form-card {
        padding: 18px;
    }

    .admin-page .admin-toolbar {
        justify-content: stretch;
    }

    .admin-page .admin-toolbar input {
        max-width: none;
    }

    .admin-page .table-wrap {
        border-radius: 8px;
    }
}

@media (max-width: 520px) {
    .admin-page .site-header {
        padding: 0 16px;
    }

    .admin-page .section {
        width: min(100% - 18px, 1440px);
    }

    .admin-page .section-title h1 {
        font-size: 28px;
    }

    .admin-page .section-title .button {
        width: 100%;
    }

    .admin-page .admin-menu {
        grid-auto-columns: minmax(132px, 1fr);
        margin-bottom: 16px;
    }

    .admin-page .admin-menu > a,
    .admin-page .admin-menu-group > summary {
        min-height: 48px;
        padding: 9px 10px;
    }

    .admin-page .admin-menu > a span,
    .admin-page .admin-menu-group > summary span {
        display: none;
    }

    .admin-page .admin-submenu {
        padding: 6px;
    }

    .admin-page .admin-submenu a {
        min-height: 34px;
        font-size: 12px;
    }

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

    .admin-page .admin-stat {
        min-height: 84px;
        grid-template-columns: minmax(0, 1fr) auto;
        align-content: center;
        align-items: center;
    }

    .admin-page .admin-stat strong {
        font-size: 34px;
    }

    .admin-page .admin-panel,
    .admin-page .admin-details,
    .admin-page .admin-faq-item,
    .admin-page .form-card {
        padding: 15px;
    }

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

    .admin-page .admin-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .admin-page .admin-actions .button,
    .admin-page .order-form .button {
        width: 100%;
    }

    .admin-page th,
    .admin-page td {
        padding: 10px 12px;
    }
}
