:root {
  --paper: #f7f3ec;
  --paper-deep: #eee6d9;
  --ink: #24231f;
  --muted: #77736b;
  --red: #893d36;
  --red-dark: #71302b;
  --gold: #c4a46d;
  --line: rgba(36, 35, 31, .16);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.announcement { min-height: 35px; padding: 0 5.2%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--red); color: #fffaf2; font-size: 9px; letter-spacing: .12em; }
.announcement-note { opacity: .78; letter-spacing: .03em; font-size: 10px; }
.announcement a { display: flex; gap: 7px; align-items: center; }
.site-header { height: 88px; padding: 0 5.2%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.primary-nav, .header-actions { display: flex; align-items: center; gap: 30px; }
.primary-nav a, .header-link, .cart-button { font-size: 12px; transition: color .2s; }
.primary-nav a:hover, .header-link:hover, .text-link:hover { color: var(--red); }
.wordmark { display: inline-flex; width: max-content; position: relative; flex-direction: column; align-items: stretch; font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: .1em; line-height: .9; }
.wordmark-name { position: relative; display: inline-block; width: max-content; color: inherit; }
.wordmark-name > span:not(.wordmark-needle):not(.wordmark-thread):not(.wordmark-i-needle) { color: var(--red); }
.wordmark-u { color: inherit !important; }
.wordmark-i-needle { position: relative; display: inline-block; width: .34em; height: .76em; margin: 0 .005em; vertical-align: -.025em; }
.wordmark-i-needle::before { position: absolute; top: .12em; left: calc(50% - 1.5px); width: 3px; height: .66em; background: linear-gradient(90deg, #e4c98c, #b68b48 55%, #d7b975); clip-path: polygon(12% 0, 88% 0, 72% 90%, 50% 100%, 28% 90%); content: ""; }
.wordmark-i-needle::after { content: none; }
.wordmark-i-needle > span { position: absolute; top: .015em; left: calc(50% - .055em); width: .11em; height: .1em; border: 1px solid #c4a46d; border-radius: 50%; }
.wordmark-i-needle > i { position: absolute; top: -.055em; left: calc(50% - .01em); width: .13em; height: .11em; border-top: 1px solid #c4a46d; border-right: 1px solid #c4a46d; border-radius: 0 5px 0 0; transform: rotate(12deg); }
.wordmark-ornament { position: relative; display: block; width: auto; height: 8px; margin-top: 3px; flex: 0 0 8px; align-self: stretch; }
.wordmark-ornament::after { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 12' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C18 8 19 11 37 8 S58 5 77 8 S99 11 119 7 S141 4 160 7 S182 10 201 7 S223 5 238 6' fill='none' stroke='%23c4a46d' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; content: ""; }
.wordmark-needle { position: absolute; z-index: 1; top: 3px; left: -7%; width: 45%; min-width: 24px; height: 2px; border-radius: 2px; background: linear-gradient(180deg, #e4c98c 0%, #b68b48 48%, #d7b975 100%); box-shadow: 0 1px 1px rgba(86, 58, 24, .22); transform: rotate(-4deg); transform-origin: left center; }
.wordmark-needle::before { position: absolute; top: -2px; left: -3px; width: 5px; height: 4px; border: 1px solid #c4a46d; border-radius: 50%; background: var(--paper); content: ""; }
.wordmark-needle::after { position: absolute; top: 0; right: -2px; width: 0; height: 0; border-top: 1px solid transparent; border-bottom: 1px solid transparent; border-left: 4px solid #b68b48; content: ""; }
.wordmark-thread { display: none; }
.wordmark small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 7px; font-weight: 500; letter-spacing: .24em; text-align: center; }
.header-actions { justify-content: flex-end; gap: 22px; }
.cart-button, .icon-button { border: 0; background: none; cursor: pointer; }
.cart-button { display: flex; align-items: center; gap: 8px; padding: 8px 0 8px 4px; }
.cart-count { display: inline-grid; width: 21px; height: 21px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 28px; height: 30px; padding: 3px; }
.search-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.menu-toggle { display: none; }

.hero { min-height: 565px; padding: 45px 10.5% 50px 13%; display: grid; grid-template-columns: .9fr 1.1fr; gap: 5%; align-items: center; position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding: 5px 0 0; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 9px; font-weight: 600; letter-spacing: .19em; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero .eyebrow span { display: block; width: 24px; height: 1px; background: var(--red); }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
.hero h1 { margin-bottom: 20px; font-size: clamp(45px, 5.2vw, 73px); line-height: 1.04; letter-spacing: -.045em; }
h1 em, h2 em { color: var(--red); font-weight: 500; }
.hero-description { max-width: 365px; margin-bottom: 27px; color: #6b675f; font-size: 12px; line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 46px; padding: 0 18px; border: 1px solid transparent; font-size: 10px; font-weight: 500; letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.button-dark { background: var(--ink); color: #fffaf2; }
.button-dark:hover { background: var(--red); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 36px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.hero-note strong { color: var(--ink); font-weight: 500; }
.note-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; color: var(--red); font-family: var(--serif); font-size: 17px; }
.hero-visual { position: relative; height: 465px; min-width: 0; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(22, 15, 12, .4), transparent 22%); pointer-events: none; }
.hero-stamp { position: absolute; z-index: 1; top: 22px; right: -24px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 79px; height: 79px; border: 1px solid var(--gold); border-radius: 50%; background: var(--paper); color: var(--red); font-size: 7px; letter-spacing: .13em; transform: rotate(9deg); }
.hero-stamp b { margin: 3px 0; font-size: 17px; font-weight: 400; }
.hero-caption { position: absolute; z-index: 1; right: 17px; bottom: 16px; left: 17px; display: flex; justify-content: space-between; color: white; font-size: 8px; letter-spacing: .15em; }
.hero-side-note { position: absolute; right: 3.7%; bottom: 80px; color: #8d867b; font-size: 8px; letter-spacing: .18em; writing-mode: vertical-rl; }
.values-strip { min-height: 62px; padding: 10px 7%; display: flex; align-items: center; justify-content: space-around; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #58544d; font-size: 8px; letter-spacing: .16em; }
.values-strip i { color: var(--red); font-size: 13px; font-style: normal; }

.section-shell { padding: 106px 8.4% 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading h2, .story-copy h2, .newsletter h2 { margin: 0; font-size: clamp(34px, 4vw, 49px); line-height: 1.12; letter-spacing: -.035em; }
.text-link { display: inline-flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--gold); padding-bottom: 8px; font-size: 10px; transition: color .2s; }
.collection-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 14px; }
.collection-card { position: relative; height: 390px; overflow: hidden; color: white; background: #d1c3b0; }
.collection-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(20, 16, 13, .65), transparent 52%); }
.collection-card img { height: 100%; object-fit: cover; transition: transform .5s; }
.collection-card:hover img { transform: scale(1.04); }
.collection-suits img { object-position: center 35%; }
.collection-juttis img { object-position: center; }
.collection-sets img { object-position: center 40%; }
.collection-index { position: absolute; z-index: 1; top: 16px; left: 17px; font-size: 9px; letter-spacing: .12em; }
.collection-label { position: absolute; z-index: 1; bottom: 23px; left: 21px; display: grid; gap: 7px; }
.collection-label small { font-size: 8px; letter-spacing: .16em; }
.collection-label strong { font-family: var(--serif); font-size: 27px; font-weight: 500; }
.collection-arrow { position: absolute; z-index: 1; right: 18px; bottom: 25px; display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 14px; }

.bestsellers { padding-top: 4px; }
.bestseller-heading { align-items: end; margin-bottom: 28px; }
.filter-row { display: flex; gap: 19px; padding-bottom: 5px; }
.filter-button { padding: 5px 0 8px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 10px; cursor: pointer; }
.filter-button.active { border-color: var(--red); color: var(--ink); }
.shop-category-tabs { display: flex; gap: 20px; overflow-x: auto; padding: 12px 0 2px; }
.shop-category-tabs .filter-button { flex: 0 0 auto; font-size: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; }
.product-image { position: relative; height: 440px; overflow: hidden; background: var(--paper-deep); touch-action: pan-y; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-gallery-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.product-gallery-open img { pointer-events: none; }
.product-gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 34px; height: 34px; place-items: center; padding: 0 0 3px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1; transform: translateY(-50%); cursor: pointer; opacity: 1; transition: background .2s; }
.product-gallery-arrow:hover { background: white; }
.product-gallery-arrow:disabled { opacity: .55; cursor: not-allowed; }
.product-gallery-prev { left: 12px; }
.product-gallery-next { right: 12px; }
.product-gallery-count { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 5px 8px; background: rgba(255,255,255,.88); font-size: 9px; letter-spacing: .05em; pointer-events: none; }
.product-image:has(.product-gallery-count) .quick-add { left: 54px; right: 54px; }
.product-image:has(.product-gallery-count) .product-gallery-count { right: 12px; }
.product-gallery-dialog { width: min(92vw, 900px); max-width: 900px; max-height: 92dvh; padding: 0; overflow: visible; border: 0; background: transparent; color: var(--ink); }
.product-gallery-dialog::backdrop { background: rgba(24,21,18,.78); }
.gallery-modal { display: grid; max-height: 92dvh; grid-template-rows: auto minmax(0,1fr) auto; padding: 16px; background: #fff; }
.gallery-modal-header { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-product-title { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.gallery-close { width: 36px; height: 36px; border: 0; background: transparent; font-size: 29px; line-height: 1; cursor: pointer; }
.gallery-viewer { position: relative; display: grid; min-height: 240px; max-height: 72dvh; place-items: center; overflow: hidden; background: #f2eee8; touch-action: pan-y; }
.gallery-main-image { width: 100%; height: 100%; max-height: 72dvh; object-fit: contain; }
.gallery-nav { position: absolute; z-index: 1; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; padding: 0 0 4px; border: 1px solid rgba(36,35,31,.16); border-radius: 50%; background: rgba(255,255,255,.94); font-family: var(--serif); font-size: 30px; line-height: 1; transform: translateY(-50%); cursor: pointer; }
.gallery-nav[hidden], .gallery-thumbnails[hidden], .gallery-image-count[hidden] { display: none; }
.gallery-previous { left: 14px; }
.gallery-next { right: 14px; }
.gallery-image-count { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; background: rgba(255,255,255,.92); font-size: 10px; }
.gallery-thumbnails { display: flex; justify-content: center; gap: 9px; padding-top: 12px; overflow-x: auto; }
.gallery-thumbnail { width: 66px; height: 74px; flex: 0 0 auto; padding: 2px; border: 1px solid transparent; background: transparent; cursor: pointer; }
.gallery-thumbnail.active { border-color: var(--red); }
.gallery-thumbnail img { height: 100%; object-fit: cover; }
.product-gallery-open.image-unavailable::after, .gallery-viewer.image-unavailable::after { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: #eee9e0; color: var(--muted); font-size: 11px; text-align: center; }
.product-gallery-open.image-unavailable::after { content: "Product image unavailable"; }
.gallery-viewer.image-unavailable::after { content: "Product image unavailable"; }
.product-gallery-open.image-unavailable img, .gallery-main-image.image-unavailable { visibility: hidden; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 7px 9px; background: rgba(255,255,255,.9); font-size: 8px; letter-spacing: .1em; }
.product-card-name { position: absolute; top: 28px; left: 12px; max-width: 74%; padding: 10px 12px; background: rgba(255,255,255,.9); font-size: 11px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.quick-add { position: absolute; right: 10px; bottom: 10px; left: 10px; min-height: 38px; border: 0; background: rgba(247, 243, 236, .95); font-size: 9px; letter-spacing: .04em; cursor: pointer; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s, background .2s; }
.product-size-choice { position: absolute; z-index: 3; right: 13px; bottom: 57px; left: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; background: rgba(255,255,255,.94); color: var(--muted); font-size: 9px; opacity: 0; transition: opacity .2s; }
.product-size-choice select { min-width: 72px; min-height: 29px; border: 1px solid var(--line); background: white; color: var(--ink); font: inherit; }
.product-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: translateY(0); }
.product-card:hover .product-size-choice, .product-size-choice:focus-within { opacity: 1; }
.quick-add { z-index: 3; }
.quick-add:hover { background: white; }
.product-info { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding-top: 13px; }
.product-info h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 15px; font-weight: 500; }
.product-info p { margin: 0; color: var(--muted); font-size: 10px; }
.product-price { flex-shrink: 0; padding-top: 1px; font-size: 11px; }
.center-link { margin-top: 37px; text-align: center; }
.button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--ink); background: var(--ink); color: white; }

.story-banner { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; background: var(--paper-deep); }
.story-image { position: relative; min-height: 460px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 45%; }
.story-image-tag { position: absolute; bottom: 18px; left: 20px; color: white; font-size: 8px; letter-spacing: .15em; }
.story-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px 12% 70px 13%; }
.story-copy h2 { margin-bottom: 20px; }
.story-copy h1 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 49px); line-height: 1.12; letter-spacing: -.035em; }
.story-copy > p:not(.eyebrow) { max-width: 390px; margin-bottom: 23px; color: #68645d; font-size: 11px; line-height: 1.9; }
.story-flower { position: absolute; right: 10%; bottom: 10%; color: var(--gold); font-size: 43px; }
.newsletter { padding: 78px 12%; display: flex; align-items: center; justify-content: space-between; gap: 50px; border-bottom: 1px solid var(--line); }
.newsletter .eyebrow { margin-bottom: 11px; }
.newsletter h2 { font-size: clamp(29px, 3.5vw, 40px); }
.newsletter > div > p:last-child { margin: 11px 0 0; color: var(--muted); font-size: 10px; }
.newsletter-form { position: relative; display: flex; width: min(430px, 48%); border-bottom: 1px solid var(--ink); }
.newsletter-form input { flex: 1; min-width: 0; height: 43px; border: 0; outline: 0; background: transparent; font-size: 11px; }
.newsletter-form button { padding: 0 0 0 15px; border: 0; background: transparent; font-size: 10px; cursor: pointer; white-space: nowrap; }
.form-message { position: absolute; top: 100%; margin: 7px 0 0; color: var(--red); font-size: 10px; }
.site-footer { min-height: 190px; padding: 36px 8.4% 22px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; row-gap: 26px; }
.footer-wordmark { font-size: 23px; }
.footer-wordmark small { text-align: left; font-size: 6px; }
.site-footer > p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 15px; text-align: right; }
.footer-links { display: flex; gap: 23px; font-size: 10px; }
.footer-links a:hover { color: var(--red); }
.copyright { color: var(--muted); font-size: 8px; letter-spacing: .12em; text-align: right; }

.search-panel { position: fixed; z-index: 12; top: 0; right: 0; left: 0; padding: 48px 8%; background: var(--paper); box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-110%); transition: transform .3s; }
.search-panel.open { transform: translateY(0); }
.search-form { max-width: 650px; margin: 0 auto; }
.search-form label { display: block; margin-bottom: 14px; font-family: var(--serif); font-size: 23px; }
.search-form > div { display: flex; border-bottom: 1px solid var(--ink); }
.search-form input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: 0; background: transparent; }
.search-form button, .search-close { border: 0; background: transparent; cursor: pointer; }
.search-form button { padding: 0 0 0 15px; font-size: 11px; }
.search-close { position: absolute; top: 20px; right: 5%; font-size: 28px; }
.drawer-backdrop { position: fixed; z-index: 19; inset: 0; background: rgba(25, 22, 18, .4); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 20; top: 0; right: 0; display: flex; flex-direction: column; width: min(420px, 100%); height: 100dvh; padding: 27px; background: var(--paper); transform: translateX(102%); transition: transform .3s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 8px; }
.drawer-header h2 { margin: 0; font-size: 27px; }
.drawer-count { color: var(--muted); font-family: var(--sans); font-size: 12px; font-weight: 400; }
.drawer-close { width: 35px; height: 35px; border: 0; background: transparent; font-size: 27px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 75px 1fr auto; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 75px; height: 88px; object-fit: cover; }
.cart-item h3 { margin: 3px 0 5px; font-family: var(--serif); font-size: 14px; font-weight: 500; }
.cart-item p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.quantity-control { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); }
.quantity-control button { width: 24px; height: 24px; border: 0; background: transparent; cursor: pointer; }
.quantity-control span { font-size: 10px; }
.cart-item-price { padding-top: 4px; font-size: 11px; }
.cart-empty { display: none; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty.visible { display: flex; }
.cart-empty > span { color: var(--gold); font-size: 31px; }
.cart-empty p { margin: 14px 0 20px; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.cart-footer { max-height: 68vh; overflow-y: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.cart-footer > div { display: flex; justify-content: space-between; font-size: 12px; }
.cart-footer > div strong { font-weight: 500; }
.cart-footer > p { margin: 7px 0 16px; color: var(--muted); font-size: 9px; }
.checkout-button { width: 100%; }
.cart-footer.empty { display: none; }
.checkout-form { display: grid; max-height: 48vh; gap: 9px; overflow-y: auto; padding-top: 8px; }
.checkout-form[hidden] { display: none; }
.checkout-form label { display: grid; gap: 4px; color: var(--muted); font-size: 9px; }
.checkout-form input { width: 100%; min-height: 34px; padding: 6px 8px; border: 1px solid var(--line); background: #fff; font-size: 11px; }
.checkout-form select { width: 100%; min-height: 34px; padding: 6px 8px; border: 1px solid var(--line); background: #fff; font-size: 11px; }
.checkout-form .checkout-account-prompt { display: block; margin: 4px 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.checkout-form .checkout-account-prompt a { color: var(--red); text-decoration: underline; }
.checkout-form .save-address-option { display: flex; align-items: center; gap: 8px; }
.checkout-form .save-address-option input { width: 14px; min-height: 14px; margin: 0; accent-color: var(--red); }
.remove-cart-item { margin-top: 8px; padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.remove-cart-item:hover { color: var(--red); }
.checkout-message, .order-confirmation { margin: 8px 0; color: var(--red); font-size: 10px; line-height: 1.6; }
.order-confirmation:not([hidden]) { padding: 13px 0; }
.place-order-button { width: 100%; }
.place-order-button:disabled { opacity: .6; cursor: wait; }
body.drawer-open { overflow: hidden; }

@media (max-width: 900px) {
  .announcement { padding-right: 4%; padding-left: 4%; }
  .announcement-note { display: none; }
  .site-header { padding: 0 4%; }
  .hero { min-height: 500px; padding: 38px 8%; grid-template-columns: .9fr 1.1fr; gap: 4%; }
  .hero-visual { height: 410px; }
  .hero h1 { font-size: clamp(42px, 6.2vw, 60px); }
  .section-shell { padding-right: 5%; padding-left: 5%; }
  .collection-card { height: 330px; }
  .product-image { height: 245px; }
  .story-copy { padding-right: 9%; padding-left: 9%; }
  .newsletter { padding-right: 7%; padding-left: 7%; }
}
@media (max-width: 650px) {
  .announcement { min-height: 31px; justify-content: center; font-size: 8px; }
  .announcement a { display: none; }
  .site-header { height: 70px; grid-template-columns: 1fr auto 1fr; }
  .menu-toggle { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
  .menu-toggle span { width: 19px; height: 1px; background: var(--ink); }
  .wordmark { font-size: 22px; }
  .wordmark small { margin-top: 2px; font-size: 5.7px; }
  .primary-nav { position: absolute; z-index: 10; top: 101px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 6% 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-actions { gap: 8px; }
  .header-link { display: none; }
  .cart-button { gap: 5px; font-size: 11px; }
  .cart-count { width: 19px; height: 19px; }
  .hero { min-height: 0; padding: 38px 6% 32px; grid-template-columns: 1fr; gap: 27px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(48px, 12vw, 66px); }
  .hero-description { max-width: 330px; font-size: 11px; }
  .hero-note { display: none; }
  .hero-visual { height: min(105vw, 450px); margin-right: 12px; }
  .hero-stamp { right: -13px; width: 68px; height: 68px; }
  .hero-side-note { display: none; }
  .values-strip { min-height: 52px; justify-content: center; gap: 11px; overflow: hidden; white-space: nowrap; font-size: 7px; }
  .values-strip span:nth-of-type(n+3), .values-strip i:nth-of-type(n+2) { display: none; }
  .section-shell { padding: 66px 5% 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 23px; }
  .section-heading h2, .story-copy h2, .story-copy h1 { font-size: 38px; }
  .collection-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .collection-card { height: 265px; }
  .collection-card:first-child { grid-column: span 2; height: 300px; }
  .collection-label { bottom: 16px; left: 13px; }
  .collection-label small { font-size: 7px; }
  .collection-label strong { font-size: 22px; }
  .collection-arrow { right: 12px; bottom: 15px; width: 28px; height: 28px; }
  .bestsellers { padding-top: 0; }
  .bestseller-heading { gap: 20px; }
  .filter-row { max-width: 100%; gap: 16px; overflow-x: auto; }
  .filter-button { flex-shrink: 0; font-size: 9px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .product-image { height: min(58vw, 300px); }
  .product-info h3 { font-size: 14px; }
  .product-info p { font-size: 9px; }
  .product-price { font-size: 10px; }
  .quick-add { min-height: 34px; opacity: 1; transform: none; font-size: 8px; }
  .center-link { margin-top: 27px; }
  .story-banner { grid-template-columns: 1fr; }
  .story-image { min-height: 310px; }
  .story-copy { min-height: 330px; padding: 55px 8%; }
  .story-flower { right: 8%; bottom: 8%; font-size: 32px; }
  .newsletter { align-items: flex-start; flex-direction: column; gap: 25px; padding: 57px 7%; }
  .newsletter-form { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 17px; padding: 32px 7% 24px; }
  .site-footer > p { text-align: left; font-size: 13px; }
  .footer-links { flex-wrap: wrap; gap: 13px 19px; }
  .copyright { text-align: left; }
  .search-panel { padding: 50px 7% 35px; }
}
@media (hover: none) {
  .quick-add, .product-size-choice { opacity: 1; transform: none; }
}

/* Shop-first layout inspired by the reference storefront. */
.announcement { min-height: 28px; padding: 0 4%; justify-content: center; background: #fff; color: var(--ink); font-size: 8px; letter-spacing: .16em; }
.announcement-note, .announcement a { display: none; }
.site-header { position: relative; height: 72px; padding: 0 4%; grid-template-columns: 1fr auto 1fr; background: #fff; }
.header-spacer { display: block; }
.menu-toggle { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; width: 34px; }
.menu-toggle span { width: 19px; height: 1px; background: var(--ink); }
.wordmark { color: #8b744d; font-size: 25px; font-weight: 500; letter-spacing: .12em; }
.wordmark-name > span:not(.wordmark-needle):not(.wordmark-thread):not(.wordmark-i-needle) { color: inherit; }
.wordmark small { color: var(--ink); }
.header-actions { gap: 25px; }
.cart-button { gap: 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.cart-count { width: 19px; height: 19px; }
.bag-icon { position: relative; display: block; width: 14px; height: 14px; margin-right: 3px; border: 1px solid var(--ink); }
.bag-icon::before { position: absolute; top: -6px; left: 3px; width: 6px; height: 7px; border: 1px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; content: ""; }
.shop-page { padding: 0 3.6% 70px; background: #fff; }
.shop-page[hidden], .collection-story[hidden] { display: none; }
.breadcrumbs { height: 56px; display: flex; align-items: center; justify-content: center; gap: 13px; border-bottom: 1px solid var(--line); color: #77736b; font-size: 9px; letter-spacing: .07em; }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover, .breadcrumbs a[aria-current="page"] { color: var(--ink); }
.breadcrumbs a[aria-current="page"] { font-weight: 500; }
.shop-title-row { display: flex; align-items: end; justify-content: space-between; padding: 29px 0 26px; }
.shop-title-row .eyebrow { margin-bottom: 7px; font-size: 8px; }
.shop-title-row h1 { margin: 0; font-size: 37px; line-height: 1; }
.shop-title-row h1 em { font-weight: 500; }
.shop-intro { margin: 0 2px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.7; text-align: right; }
.shop-toolbar { min-height: 49px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-total { color: var(--muted); font-size: 9px; }
.shop-controls { display: flex; height: 48px; }
.control-wrap { position: relative; min-width: 126px; border-left: 1px solid var(--line); }
.shop-control { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 18px; padding: 0 17px; border: 0; background: white; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; cursor: pointer; }
.shop-control span { color: var(--muted); font-size: 14px; }
.control-menu { position: absolute; z-index: 8; top: calc(100% + 1px); right: 0; min-width: 190px; padding: 8px 15px; border: 1px solid var(--line); background: white; box-shadow: 0 8px 20px rgba(36,35,31,.08); }
.control-menu[hidden] { display: none; }
.control-menu button { display: block; width: 100%; padding: 12px 2px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 10px; text-align: left; cursor: pointer; }
.control-menu button:last-child { border-bottom: 0; }
.control-menu button:hover, .control-menu button.active { color: var(--red); }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; padding-top: 17px; }
.store-status:empty { display: none; }
.store-status:not(:empty) { margin: 12px 0 0; color: var(--red); font-size: 11px; }
.product-image { height: auto; aspect-ratio: 1 / 1.04; background: #eee9e0; }
.product-image img { object-position: center 35%; }
.product-tag { top: 13px; left: 13px; background: rgba(255,255,255,.92); font-size: 8px; }
.quick-add { right: 13px; bottom: 13px; left: 13px; min-height: 43px; }
.product-info { padding-top: 13px; }
.product-info h3 { font-size: 17px; }
.product-info p { font-size: 9px; }
.product-price { font-size: 11px; }
.center-link { margin-top: 39px; }
.menu-drawer { position: fixed; z-index: 20; top: 0; bottom: 0; left: 0; display: flex; width: min(410px, 88vw); flex-direction: column; padding: 23px 30px 20px; background: #fff; transform: translateX(-102%); transition: transform .3s ease; }
.menu-drawer.open { transform: translateX(0); }
.menu-drawer-header { display: flex; min-height: 52px; align-items: flex-start; justify-content: space-between; }
.menu-drawer-header .wordmark { font-size: 22px; }
.menu-close { border: 0; background: transparent; font-size: 27px; line-height: 1; cursor: pointer; }
.menu-eyebrow { margin: 14px 0 16px; color: var(--red); font-size: 10px; letter-spacing: .1em; }
.drawer-nav { flex: 1; overflow-y: auto; }
.drawer-nav a { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #dedbd6; font-size: 11px; }
.drawer-nav a:last-child { border-bottom: 1px solid #dedbd6; }
.drawer-nav a > span:first-child { display: flex; flex-direction: column; gap: 5px; }
.drawer-nav small { color: var(--muted); font-size: 9px; letter-spacing: .01em; text-transform: none; }
.menu-arrow { font-size: 23px; font-weight: 300; }
.menu-drawer-footer { display: flex; min-height: 63px; flex-direction: column; justify-content: center; gap: 8px; border-top: 1px solid var(--line); }
.menu-drawer-footer a { font-size: 9px; }
.menu-drawer-footer span { color: var(--muted); font-size: 7px; letter-spacing: .13em; }
.drawer-backdrop { z-index: 19; }
.cart-drawer { z-index: 21; }
.hero { border-top: 1px solid var(--line); }

@media (max-width: 650px) {
  .announcement { min-height: 24px; font-size: 7px; }
  .site-header { height: 64px; padding: 0 5%; }
  .site-header .wordmark { font-size: 19px; }
  .site-header .wordmark small { font-size: 5px; }
  .header-actions { gap: 10px; }
  .search-toggle { width: 24px; }
  .cart-button { gap: 5px; font-size: 8px; }
  .bag-icon { width: 12px; height: 12px; }
  .breadcrumbs { height: 44px; font-size: 8px; }
  .shop-page { padding: 0 4% 48px; }
  .shop-title-row { padding: 25px 0 18px; }
  .shop-title-row h1 { font-size: 33px; }
  .shop-intro { max-width: 48%; font-size: 8px; }
  .shop-toolbar { min-height: 44px; }
  .shop-controls { height: 43px; }
  .control-wrap { min-width: 85px; }
  .shop-control { gap: 8px; padding: 0 10px; font-size: 8px; }
  .product-total { font-size: 8px; }
  .product-grid { gap: 22px 9px; padding-top: 10px; }
  .product-image { aspect-ratio: 1 / 1.18; }
  .product-gallery-arrow { width: 28px; height: 28px; font-size: 21px; }
  .product-gallery-prev { left: 6px; }
  .product-gallery-next { right: 6px; }
  .product-gallery-count { right: 6px; bottom: 6px; padding: 4px 6px; font-size: 8px; }
  .product-image:has(.product-gallery-count) .quick-add { left: 42px; right: 42px; }
  .product-gallery-dialog { width: 96vw; max-height: 94dvh; }
  .gallery-modal { max-height: 94dvh; padding: 10px; }
  .gallery-product-title { font-size: 15px; }
  .gallery-viewer { min-height: 200px; max-height: 76dvh; }
  .gallery-main-image { max-height: 76dvh; }
  .gallery-nav { width: 35px; height: 35px; font-size: 26px; }
  .gallery-previous { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-thumbnail { width: 54px; height: 62px; }
  .product-tag { top: 8px; left: 8px; padding: 6px; font-size: 7px; }
  .quick-add { right: 7px; bottom: 7px; left: 7px; min-height: 32px; padding: 0 7px; font-size: 8px; }
  .product-info { gap: 4px; padding-top: 9px; }
  .product-info h3 { font-size: 13px; line-height: 1.25; }
  .product-info p { font-size: 8px; line-height: 1.4; }
  .product-price { font-size: 9px; }
  .menu-drawer { width: min(410px, 88vw); padding: 20px 22px 17px; }
  .hero { margin-top: 0; }
}

.site-header {
  display: block;
  height: auto;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-top {
  position: relative;
  display: grid;
  min-height: 72px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4%;
}
.header-top .wordmark {
  color: #8b744d;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .15em;
  text-align: center;
}
.header-top .wordmark-name > span:not(.wordmark-needle):not(.wordmark-thread):not(.wordmark-i-needle) { color: inherit; }
.header-top .wordmark small {
  margin-top: 2px;
  color: var(--ink);
  font-size: 7px;
  letter-spacing: .23em;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  width: 34px;
}
.menu-toggle span { width: 19px; height: 1px; background: var(--ink); }
.header-actions { justify-content: flex-end; }
.cart-button { justify-self: end; }
.header-search-form {
  position: relative;
  display: flex;
  width: min(360px, 86%);
  height: 34px;
  align-items: center;
  margin: 0 auto 10px;
  border-bottom: 1px solid rgba(36,35,31,.36);
}
.header-search-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
}
.header-search-form input::placeholder { color: #89847c; }
.header-search-form button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.header-search-form svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.header-search-status {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 4px;
  color: var(--red);
  font-size: 9px;
}
.primary-nav {
  position: static;
  z-index: auto;
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 62px);
  padding: 0 12px 8px;
  border: 0;
  background: transparent;
}
.primary-nav a {
  padding: 6px 0;
  color: #4f4a42;
  font-size: 9px;
  letter-spacing: .13em;
}
.primary-nav a:hover { color: var(--red); }

@media (max-width: 650px) {
  .header-top { min-height: 62px; padding: 0 4%; }
  .header-top .wordmark { font-size: 21px; }
  .header-top .wordmark small { margin-top: 2px; font-size: 5px; }
  .header-top .header-actions { gap: 0; }
  .cart-button { gap: 5px; font-size: 8px; }
  .header-search-form { width: min(340px, 88%); margin-bottom: 9px; }
  .primary-nav { display: none; }
}

.account-page, .admin-page { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.account-header { display: grid; height: auto; min-height: 90px; flex: 0 0 auto; grid-template-columns: 1fr auto 1fr; padding: 12px 4%; }
.account-header .wordmark { grid-column: 2; justify-self: center; }
.account-header .text-link { justify-self: end; }
.account-main { width: min(980px, 88%); flex: 1; margin: 0 auto; padding: 74px 0 92px; }
.account-auth { width: min(100%, 470px); margin: 0 auto; }
.account-auth h1, .account-heading h1, .admin-login h1 { margin: 0 0 28px; font-size: clamp(40px, 6vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
.account-auth .eyebrow, .account-heading .eyebrow, .admin-login .eyebrow { margin-bottom: 12px; }
.account-auth-tabs { display: flex; gap: 22px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.account-tab { padding: 0 0 11px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 11px; cursor: pointer; }
.account-tab.active { border-color: var(--red); color: var(--ink); }
.account-recovery-actions { display: flex; justify-content: space-between; gap: 18px; margin-top: 16px; }
.account-recovery-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.account-recovery-form > p:first-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.account-form { display: grid; gap: 14px; }
.account-form label, .waybill-form label { display: grid; gap: 6px; color: #5f5a53; font-size: 10px; }
.account-form label small { display: inline; color: var(--muted); font-size: 9px; }
.account-form input, .waybill-form input { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font-size: 12px; }
.account-form input:focus, .waybill-form input:focus { outline: 1px solid var(--red); outline-offset: 1px; }
.account-form .button { justify-self: start; }
.account-form [hidden], .account-page [hidden], .admin-page [hidden], .checkout-form [hidden] { display: none !important; }
.account-message { min-height: 16px; margin: 0; color: var(--red); font-size: 11px; line-height: 1.5; }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.account-heading h1 { margin-bottom: 0; }
.account-section { margin-top: 58px; padding-top: 29px; border-top: 1px solid var(--line); }
.account-section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.account-section-heading .eyebrow { margin-bottom: 8px; }
.account-section-heading h2, .address-form h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.saved-addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.saved-address { display: flex; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--line); }
.saved-address strong { display: block; margin: 12px 0 7px; font-size: 12px; font-weight: 500; }
.saved-address p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.address-label, .order-label { color: var(--red); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.text-button { align-self: flex-start; padding: 2px 0; border: 0; border-bottom: 1px solid var(--gold); background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.empty-account-state { margin: 0; padding: 21px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.address-form { margin-top: 30px; padding: 24px; background: var(--paper); }
.address-form h3 { margin-bottom: 3px; font-size: 23px; }
.address-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.history-order, .admin-order { margin-bottom: 13px; padding: 22px; border: 1px solid var(--line); }
.history-order-heading { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.history-order-heading h3, .history-order-heading h2 { margin: 6px 0 4px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.history-order-heading small { color: var(--muted); font-size: 9px; }
.history-order-heading > strong { font-size: 12px; font-weight: 500; }
.history-order ul, .admin-order ul { margin: 18px 0 12px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.history-order li { display: flex; justify-content: space-between; gap: 15px; padding: 4px 0; font-size: 10px; }
.history-order li span { white-space: nowrap; }
.order-status, .tracking-pending { margin: 12px 0; color: var(--muted); font-size: 10px; text-transform: capitalize; }
.tracking-pending { font-style: italic; }
.tracking-link { min-height: 38px; font-size: 9px; }
.admin-login { width: min(100%, 440px); margin: 20px auto 0; }
.admin-orders { margin-top: 30px; }
.admin-order-customer { margin-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.admin-order ul { padding: 11px 0; }
.admin-order li { padding: 3px 0; font-size: 10px; }
.waybill-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.waybill-form .button { min-height: 43px; font-size: 9px; }
.account-page .site-footer, .admin-page .site-footer { flex: 0 0 auto; }

@media (max-width: 650px) {
  .account-header { height: auto; min-height: 82px; padding: 10px 4%; }
  .account-header .wordmark { font-size: 20px; }
  .account-main { width: 88%; padding: 52px 0 64px; }
  .account-heading { align-items: flex-start; flex-direction: column; }
  .account-section { margin-top: 42px; }
  .saved-addresses, .address-form-grid { grid-template-columns: 1fr; }
  .address-form, .history-order, .admin-order { padding: 17px; }
  .waybill-form { grid-template-columns: 1fr; }
  .waybill-form .button { justify-self: start; }
}
.stock-badge { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 7px 9px; background: rgba(255,255,255,.94); color: var(--red); font-size: 8px; letter-spacing: .1em; }
.quick-add:disabled { opacity: 1; transform: none; color: var(--muted); cursor: not-allowed; }
.customer-order-details { display: grid; gap: 6px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.order-timeline { display: flex; gap: 0; margin: 19px 0 10px; padding: 0; overflow-x: auto; list-style: none; }
.order-timeline li { position: relative; display: flex; min-width: 86px; flex: 1; flex-direction: column; align-items: center; gap: 7px; color: #97928a; font-size: 8px; text-align: center; }
.order-timeline li::before { position: absolute; top: 12px; right: 50%; left: -50%; height: 1px; background: var(--line); content: ""; }
.order-timeline li:first-child::before { display: none; }
.order-timeline li > span { z-index: 1; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 9px; }
.order-timeline li.reached { color: var(--red); }
.order-timeline li.reached::before { background: var(--red); }
.order-timeline li.reached > span { border-color: var(--red); background: var(--red); color: white; }
.order-cancelled { color: var(--red); font-weight: 600; }
.admin-page { background: #f8f6f1; }
.admin-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.5%; border-bottom: 1px solid var(--line); background: white; }
.admin-header .wordmark { font-size: 22px; }
.admin-header-actions { display: flex; align-items: center; gap: 20px; }
.admin-layout { width: min(1500px, 100%); flex: 1; display: grid; grid-template-columns: 190px minmax(0, 1fr); margin: 0 auto; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; padding: 30px 17px; border-right: 1px solid var(--line); background: #fff; }
.admin-nav button { min-height: 39px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font-size: 11px; text-align: left; cursor: pointer; }
.admin-nav button.active, .admin-nav button:hover { background: var(--paper); color: var(--red); }
.admin-content { min-width: 0; padding: 38px clamp(20px, 4vw, 58px) 70px; }
.admin-view[hidden] { display: none; }
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.admin-section-heading .eyebrow { margin-bottom: 7px; }
.admin-section-heading h1 { margin: 0; font-size: 37px; }
.admin-period, .admin-toolbar select, .admin-toolbar input { min-height: 38px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font: inherit; font-size: 10px; }
.admin-custom-range, .admin-toolbar { display: flex; align-items: center; gap: 9px; margin: 14px 0; }
.admin-custom-range[hidden] { display: none; }
.admin-custom-range label { display: grid; gap: 4px; color: var(--muted); font-size: 9px; }
.admin-custom-range input { min-height: 35px; border: 1px solid var(--line); background: white; font: inherit; font-size: 10px; }
.admin-metrics, .admin-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.admin-metric { min-height: 84px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.admin-metric span { color: var(--muted); font-size: 9px; }
.admin-metric strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.admin-subsection { margin-top: 32px; }
.admin-subsection h2, .admin-form h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.admin-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: white; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 10px; text-align: left; }
.admin-table th { padding: 11px; border-bottom: 1px solid var(--line); background: #fbfaf7; color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { min-width: 88px; padding: 11px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table small { display: block; color: var(--muted); font-size: 8px; }
.admin-toolbar { justify-content: space-between; }
.admin-toolbar input[type="search"] { width: min(300px, 100%); }
.admin-order-update { min-width: 145px; display: grid; gap: 5px; }
.admin-order-update select, .admin-order-update input, .admin-product-save input, .admin-product-save select, .admin-product-update input, .admin-product-update select { width: 100%; min-height: 30px; padding: 5px; border: 1px solid var(--line); background: white; font: inherit; font-size: 9px; }
.admin-product-save { display: grid; min-width: 135px; gap: 5px; }
.admin-product-update { display: grid; min-width: 145px; gap: 5px; }
.admin-form { margin: 16px 0 20px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.admin-form[hidden] { display: none; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; margin-bottom: 15px; }
.admin-form-grid label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; }
.admin-form-grid input, .admin-form-grid select, .admin-form-grid textarea { width: 100%; min-height: 36px; padding: 7px; border: 1px solid var(--line); background: white; font: inherit; font-size: 10px; }
.admin-form-wide { grid-column: 1 / -1; }
.admin-summary { margin-bottom: 18px; }
.admin-note { margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.admin-page .account-message { margin: 5px 0; }
.admin-page .account-message.is-error { color: #a12c24; }
.admin-login { width: min(100%, 440px); margin: 60px auto; }
.admin-back-link { margin-top: 23px; }
.admin-reset-toggle { margin-top: 16px; }
.admin-reset-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.admin-reset-form > p:first-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

@media (max-width: 760px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: sticky; z-index: 5; top: 0; flex-direction: row; gap: 2px; padding: 7px 10px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav button { min-width: max-content; min-height: 35px; padding: 0 10px; }
  .admin-content { padding: 24px 14px 48px; }
  .admin-section-heading h1 { font-size: 30px; }
  .admin-metrics, .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-wide { grid-column: auto; }
}
