/* Storefront layout */
.announce { background: var(--kumkum); color: #f3dfb8; font-size: var(--t-sm); text-align: center; padding: 8px var(--gutter); letter-spacing: 0.01em; }
.announce a { color: inherit; }

/* floating glass navigation */
.site-head { position: sticky; top: 10px; z-index: 50; padding-inline: var(--gutter); margin-top: 10px; }
.nav { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 22px; border-radius: 999px;
  background: linear-gradient(150deg, rgba(255, 252, 247, 0.76), rgba(255, 246, 236, 0.58)); -webkit-backdrop-filter: var(--glass-blur-thin); backdrop-filter: var(--glass-blur-thin); }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; padding: 6px 0; }
.nav .brand img.mark { height: 30px; width: auto; }
.nav .brand img.word { height: 17px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-right: 8px; }
.nav-links a { padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink); transition: background 0.2s; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.6); }
.nav-links a[aria-current='page'] { background: rgba(255, 255, 255, 0.78); color: var(--kumkum); box-shadow: inset 0 0 0 1px rgba(201, 163, 95, 0.55); }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--kumkum); color: var(--jasmine); font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--jasmine); }
.bag-count:empty { display: none; }
.bump { animation: bump 0.45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.25); } }
.menu-btn { display: none; }
@media (max-width: 520px) { .nav .brand img.mark { display: none; } .nav { gap: 2px; } }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav { padding-left: 16px; }
}
.mobile-menu { position: fixed; inset: 76px var(--gutter) auto; z-index: 60; padding: 10px; display: grid; gap: 2px; }
.mobile-menu a { padding: 14px 16px; border-radius: 16px; text-decoration: none; font-size: var(--t-lg); font-family: var(--serif); color: var(--kumkum); }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.6); }

main { min-height: 60vh; }
.page { padding-block: 34px 72px; }
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head h1 { margin: 0; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: var(--t-sm); color: var(--ink-2); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: inherit; }
.crumbs .i { width: 14px; height: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -78px; min-height: clamp(560px, 88vh, 820px); display: grid; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 30%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, rgba(255, 248, 238, 0.12)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-top: 90px; padding-bottom: 40px; }
.hero-panel { width: min(500px, 100%); padding: 38px 38px 34px; border-radius: var(--r-xl); animation: condense 1.1s cubic-bezier(.2, .8, .2, 1) both 0.15s; }
.hero-panel h1 { font-size: var(--t-5xl); margin-bottom: 0.25em; line-height: 1.02; }
.hero-panel p { font-size: var(--t-lg); line-height: 1.5; color: var(--ink); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .i { color: var(--kasavu-deep); }
/* the one page-load moment: the glass condenses over the photograph */
@keyframes condense {
  from { opacity: 0; transform: translateY(18px) scale(0.985); -webkit-backdrop-filter: blur(0) saturate(100%); backdrop-filter: blur(0) saturate(100%); }
}
.hero + .kasavu { position: relative; z-index: 2; }
@media (max-width: 820px) {
  .hero { min-height: auto; display: block; overflow: visible; }
  .hero::after { display: none; }
  .hero-img { position: relative; height: 64vh; min-height: 400px; object-position: 22% 20%; }
  .hero .wrap { position: relative; margin-top: -96px; padding: 0 0 26px; }
  .hero-panel { padding: 24px 22px; }
  .hero-panel h1 { font-size: var(--t-4xl); }
  .hero-panel p { font-size: var(--t-md); }
}

/* ---------- sections ---------- */
.section { padding-block: 64px 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--ink-2); }

.cats { display: grid; grid-template-columns: 7fr 5fr; gap: 22px; }
.cat-tile { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; min-height: 460px; text-decoration: none; color: inherit; background: var(--sandal); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.cat-tile .cap { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 20px 22px; display: flex; align-items: end; justify-content: space-between; gap: 14px; border-radius: var(--r-lg); }
.cat-tile h3 { font-size: var(--t-2xl); margin: 0; }
.cat-tile .cap p { margin: 4px 0 0; color: var(--ink-2); font-size: var(--t-sm); max-width: 34ch; }
.cat-tile .go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--kumkum); color: var(--jasmine); }
.cat-tile .go .i { width: 22px; height: 22px; }
.cats:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
.cats:has(> :nth-child(3)) .cat-tile { min-height: 540px; }
.cats:has(> :nth-child(3)) .cat-tile h3 { font-size: var(--t-xl); }
@media (max-width: 1000px) { .cats:has(> :nth-child(3)) { grid-template-columns: 1fr 1fr; } }
/* Four drapes: one row of four on wide screens, two by two below */
.cats:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cats:has(> :nth-child(4)) .cat-tile { min-height: 500px; }
.cats:has(> :nth-child(4)) .cat-tile .cap { left: 10px; right: 10px; bottom: 10px; padding: 16px 16px; }
.cats:has(> :nth-child(4)) .cat-tile .cap p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cats:has(> :nth-child(4)) .cat-tile .go { width: 40px; height: 40px; }
.cats:has(> :nth-child(4)) .cat-tile h3 { font-size: var(--t-lg); white-space: nowrap; }
@media (max-width: 1100px) { .cats:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .cats, .cats:has(> :nth-child(3)), .cats:has(> :nth-child(4)) { grid-template-columns: 1fr; } .cat-tile, .cats:has(> :nth-child(3)) .cat-tile { min-height: 420px; } }

/* product cards: the photo is the card, details sit on a glass plate over it */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 26px 22px; }
.pcard { display: block; text-decoration: none; color: inherit; position: relative; }
.pcard-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--sandal); box-shadow: 0 18px 40px -26px rgba(62, 10, 26, 0.55); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(.2, .8, .2, 1); }
.pcard-img .badge { position: absolute; top: 12px; left: 12px; background: rgba(255, 250, 243, 0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pcard.sold-out .pcard-img img { filter: grayscale(0.55) brightness(1.04); }
.pcard-info { margin: -74px 10px 0; padding: 12px 14px 12px; border-radius: 16px; background: linear-gradient(150deg, rgba(255, 252, 247, 0.80), rgba(255, 246, 236, 0.62)); -webkit-backdrop-filter: var(--glass-blur-thin); backdrop-filter: var(--glass-blur-thin); }
.pcard-name { font-family: var(--sans); font-size: var(--t-md); font-weight: 600; color: var(--ink); margin: 0 0 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: var(--t-md); }
.pcard-price .mrp { font-size: var(--t-sm); }
.pcard-note { font-size: var(--t-xs); color: var(--warn); font-weight: 600; margin-top: 2px; }
.pcard-note.out { color: var(--ink-2); }
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .pcard-info { margin: -62px 6px 0; padding: 9px 10px; border-radius: 13px; }
  .pcard-name { font-size: var(--t-sm); -webkit-line-clamp: 2; }
  .pcard-price { font-size: var(--t-sm); gap: 6px; }
  .pcard-img .badge { top: 8px; left: 8px; }
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; border-radius: var(--r-xl); }
.value { padding: 22px 22px; display: grid; gap: 8px; align-content: start; }
.value + .value { border-left: 1px solid var(--line); }
.value .i { width: 30px; height: 30px; color: var(--kasavu-deep); stroke-width: 1.3; }
.value h3 { font-size: var(--t-lg); margin: 4px 0 0; }
.value p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .value:nth-child(3) { border-left: 0; } .value:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .value + .value { border-left: 0; border-top: 1px solid var(--line); } }

.elsewhere { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden; border-radius: var(--r-xl); }
.elsewhere .copy { padding: 40px; }
.elsewhere .copy h2 { color: #f6e3bd; }
.elsewhere .copy p { color: rgba(255, 245, 230, 0.85); max-width: 42ch; }
.elsewhere .links { display: grid; gap: 10px; padding: 26px; align-content: center; }
.elsewhere .links a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: var(--jasmine); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 230, 200, 0.18); transition: background 0.2s; }
.elsewhere .links a:hover { background: rgba(255, 255, 255, 0.16); }
.elsewhere .links strong { display: block; font-weight: 600; }
.elsewhere .links small { color: rgba(255, 240, 220, 0.7); }
.elsewhere .links .i { width: 26px; height: 26px; color: var(--kasavu); }
.elsewhere .links .i:last-child { width: 18px; margin-left: auto; color: rgba(255, 240, 220, 0.6); }
@media (max-width: 760px) { .elsewhere { grid-template-columns: 1fr; } .elsewhere .copy { padding: 28px 24px 8px; } }

/* ---------- footer ---------- */
.site-foot { margin-top: 80px; background: linear-gradient(180deg, #5a0d24, #43091a); color: rgba(255, 244, 228, 0.86); }
.site-foot .inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 52px 36px; }
.site-foot h4 { font-family: var(--sans); font-weight: 600; font-size: var(--t-sm); color: #f1d7a6; margin-bottom: 12px; letter-spacing: 0.02em; }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot .brand img { height: 74px; width: auto; margin-bottom: 14px; }
.site-foot .brand p { max-width: 32ch; font-size: var(--t-sm); color: rgba(255, 240, 220, 0.72); }
.site-foot .contact li { display: flex; gap: 10px; align-items: center; }
.site-foot .contact .i { color: var(--kasavu); }
.site-foot .legal { border-top: 1px solid rgba(255, 230, 200, 0.14); padding-block: 18px 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--t-xs); color: rgba(255, 240, 220, 0.6); }
@media (max-width: 860px) { .site-foot .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot .inner { grid-template-columns: 1fr; } }

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 96px; padding: 22px; }
.filters h2 { font-size: var(--t-lg); margin-bottom: 14px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.filters legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: 8px; }
.filters .opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
.filters .opt input { accent-color: var(--kumkum); width: 18px; height: 18px; }
.filters .opt .n { margin-left: auto; color: var(--ink-3); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs input { min-height: 42px; }
.shop-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.shop-tools .input { min-height: 44px; width: auto; }
.search-box { position: relative; }
.search-box .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.search-box input { padding-left: 42px !important; width: min(280px, 70vw) !important; border-radius: 999px !important; }
.filter-btn { display: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-sm); border: 0; cursor: pointer; color: var(--ink); }
.chip .i { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: auto 0 0 0; top: auto; z-index: 70; border-radius: 28px 28px 0 0; max-height: 80vh; overflow: auto; background: var(--glass-fill-strong); }
  .filters.open { display: block; animation: rise 0.3s cubic-bezier(.2, .8, .2, 1); }
  .filter-btn { display: inline-flex; }
}
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.load-more { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery .main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sandal); box-shadow: 0 30px 60px -36px rgba(62, 10, 26, 0.6); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: grid; gap: 10px; align-content: start; }
.gallery .thumbs button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 5; background: var(--sandal); opacity: 0.7; transition: opacity 0.2s, box-shadow 0.2s; }
.gallery .thumbs button[aria-current='true'] { opacity: 1; box-shadow: 0 0 0 2px var(--jasmine), 0 0 0 4px var(--kasavu); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .thumbs { display: none; }
.buy { position: sticky; top: 96px; padding: 30px; border-radius: var(--r-xl); }
.buy .cat-link { font-size: var(--t-sm); color: var(--ink-2); text-decoration: none; }
.buy h1 { font-size: var(--t-3xl); margin: 6px 0 14px; }
.buy .prices { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy .prices .price { font-size: var(--t-2xl); }
.buy .tax { font-size: var(--t-sm); color: var(--ink-2); margin: 4px 0 18px; }
.stock-line { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-sm); margin-bottom: 18px; }
.stock-line.in { color: var(--leaf); } .stock-line.low { color: var(--warn); } .stock-line.out { color: var(--danger); }
.buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.buy-row .btn { flex: 1; min-width: 150px; }
.assure { display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-2); }
.assure div { display: flex; gap: 10px; align-items: center; }
.assure .i { color: var(--kasavu-deep); }
.specs { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: var(--t-sm); }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; }
.desc { margin-top: 20px; line-height: 1.7; font-size: var(--t-md); white-space: pre-line; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 22px; } .buy { position: static; padding: 22px; } .gallery { grid-template-columns: 1fr; } .gallery .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; } }

/* ---------- bag drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(40, 6, 16, 0.3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 80; animation: fade 0.25s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100% - 20px)); z-index: 90; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--glass-fill-strong); animation: slide 0.38s cubic-bezier(.2, .9, .25, 1); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 10px 24px; }
.drawer-head h2 { margin: 0; font-size: var(--t-xl); }
.drawer-body { flex: 1; overflow: auto; padding: 4px 24px; }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: 12px; background: var(--sandal); }
.line h3 { font-family: var(--sans); font-size: var(--t-md); font-weight: 600; color: var(--ink); margin: 0 0 2px; }
.line h3 a { text-decoration: none; }
.line .meta { font-size: var(--t-sm); color: var(--ink-2); }
.line .controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.line .problem { color: var(--warn); font-size: var(--t-sm); margin-top: 6px; }
.free-bar { height: 6px; border-radius: 99px; background: rgba(94, 14, 38, 0.1); overflow: hidden; margin-top: 6px; }
.free-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--kasavu-deep), var(--kasavu)); border-radius: inherit; transition: width 0.4s; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.step { padding: 26px 28px; margin-bottom: 18px; border-radius: var(--r-lg); }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-head .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--kumkum); color: var(--jasmine); font-weight: 700; font-size: var(--t-sm); flex: none; }
.step-head h2 { margin: 0; font-size: var(--t-xl); }
.choice { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 16px 18px; border-radius: var(--r-md); cursor: pointer; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; transition: box-shadow 0.2s, background 0.2s; }
.choice:has(input:checked) { background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 2px var(--kasavu-deep); }
.choice input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--kumkum); }
.choice strong { display: flex; align-items: center; gap: 8px; }
.choice small { grid-column: 2; }
.choice.disabled { opacity: 0.55; cursor: not-allowed; }
.summary { position: sticky; top: 96px; padding: 24px; border-radius: var(--r-lg); }
.summary h2 { font-size: var(--t-xl); }
.summary .line { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.summary .line img { width: 56px; height: 70px; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* ---------- auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 220px); gap: 0; margin-top: 24px; border-radius: var(--r-xl); overflow: hidden; }
.auth .art { position: relative; min-height: 520px; }
.auth .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.auth .form-side { padding: clamp(28px, 5vw, 56px); display: grid; align-content: center; }
.auth .form-side form { width: min(400px, 100%); }
.auth h1 { font-size: var(--t-3xl); }
.auth .switch-line { margin-top: 18px; color: var(--ink-2); }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } .auth .art { min-height: 200px; } }

/* ---------- account ---------- */
.tabs { -webkit-backdrop-filter: var(--glass-blur-thin); backdrop-filter: var(--glass-blur-thin); display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; margin-bottom: 22px; flex-wrap: wrap; }
.tabs a { padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.tabs a[aria-current='page'] { background: var(--kumkum); color: var(--jasmine); }
.order-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); text-decoration: none; color: inherit; margin-bottom: 12px; }
.order-row img { width: 64px; height: 80px; object-fit: cover; border-radius: 12px; background: var(--sandal); }
.order-row h3 { font-family: var(--sans); font-weight: 600; font-size: var(--t-md); color: var(--ink); margin: 0 0 4px; }
.order-row .right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.order-detail { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .order-detail { grid-template-columns: 1fr; } }
.panel { padding: 24px 26px; border-radius: var(--r-lg); margin-bottom: 18px; }
.panel h2 { font-size: var(--t-xl); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; }
.timeline li::before { content: ''; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline .mk { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(94, 14, 38, 0.08); color: var(--ink-3); }
.timeline li.done .mk { background: var(--kumkum); color: var(--jasmine); }
.timeline li.cancel .mk { background: var(--danger); color: #fff; }
.timeline .mk .i { width: 16px; height: 16px; }
.timeline strong { display: block; }
.timeline small { display: block; }
.addr { font-style: normal; line-height: 1.6; }
.addr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.addr-card { padding: 18px 20px; border-radius: var(--r-md); }

/* ---------- search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 95; display: grid; align-items: start; justify-items: center; padding-top: 12vh; background: rgba(40, 6, 16, 0.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade 0.2s; }
.search-overlay form { width: min(620px, calc(100% - 32px)); padding: 10px; border-radius: 999px; display: flex; gap: 8px; align-items: center; }
.search-overlay input { flex: 1; border: 0; background: transparent; font-size: var(--t-xl); font-family: var(--serif); padding: 8px 14px; color: var(--kumkum); min-width: 0; }
.search-overlay input:focus { outline: none; }

.success-mark { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: linear-gradient(180deg, #86203c, #4b0a1d); color: #f6e3bd; box-shadow: inset 0 1px 0 rgba(255, 220, 200, 0.55), 0 16px 34px -14px rgba(94, 14, 38, 0.8); }
.success-mark .i { width: 36px; height: 36px; stroke-width: 2; }
.center-panel { max-width: 640px; margin: 20px auto 0; text-align: center; padding: 40px 32px; border-radius: var(--r-xl); }

/* Size choice on the product page */
.sizes { border: 0; padding: 0; margin: 18px 0 6px; }
.sizes legend { padding: 0; margin-bottom: 10px; font-size: var(--t-sm); color: var(--ink-2); }
.sizes legend strong { color: var(--ink); }
.size-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.size-opt { min-width: 52px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(94, 14, 38, 0.22); background: rgba(255, 255, 255, 0.7);
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.size-opt:hover { border-color: var(--kumkum); }
.size-opt[aria-pressed="true"] { background: var(--kumkum); border-color: var(--kumkum); color: var(--jasmine); }
.size-opt[aria-disabled="true"] { color: var(--ink-2); opacity: .55; text-decoration: line-through; background: transparent; }
.size-opt[aria-disabled="true"][aria-pressed="true"] { background: rgba(94, 14, 38, 0.08); color: var(--ink); }
.size-opt:focus-visible { outline: none; box-shadow: var(--focus); }
.pcard-note.sizes-note { color: var(--ink-2); }

/* Product photos: always show the whole photo. Amazon photos are tall and on studio white, so they sit on white
   instead of being cropped to fill the box (which cut off faces and sides). */
.pcard-img, .gallery .main, .gallery .thumbs button { aspect-ratio: 3 / 4; background: #fff; }
.pcard-img img, .gallery .main img, .gallery .thumbs img { object-fit: contain; }
.line img, .order-row img { object-fit: contain; background: #fff; }
/* The name panel floats over the bottom of the card, so the photo sits in the space above it. */
.pcard-img img { box-sizing: border-box; padding: 10px 10px 78px; }
@media (max-width: 600px) { .pcard-img img { padding: 6px 6px 66px; } }

/* Trap field for bots on the checkout form: people never see it */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- homepage film: four reels of model photos, slowly moving and crossfading ---------- */
.hero-film { background: none; margin-top: 6px; } /* the film starts under the menu bar, so it never covers faces */
.hero-film .wrap { padding-top: 40px; }
.film { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: #f6ecdd; }
.reel { position: relative; overflow: hidden; background: #2a1d18; }
.film img {
  --t: 7s; --cycle: 28s;
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; transform-origin: 50% 22%;
  opacity: 0; will-change: opacity, transform;
  animation: film-push var(--cycle) linear infinite;
  /* each shot starts its fade 7s after the one before; reels are offset by --off */
  animation-delay: calc(var(--i) * var(--t) - var(--off) - 1.1s - var(--cycle));
}
.film img:nth-child(even) { animation-name: film-pull; }
.film img:not([src]) { visibility: hidden; }
/* 7s on screen per shot in a 28s loop: 1.1s fade in, hold, 1.1s fade out under the next shot.
   The zoom is gentle (at most 6%) so the photos stay sharp. */
@keyframes film-push {
  0% { opacity: 0; transform: scale(1) translateY(0.8%); }
  3.9% { opacity: 1; }
  25% { opacity: 1; }
  28.9% { opacity: 0; transform: scale(1.06) translateY(-0.8%); }
  100% { opacity: 0; transform: scale(1.06) translateY(-0.8%); }
}
@keyframes film-pull {
  0% { opacity: 0; transform: scale(1.06) translateY(-0.8%); }
  3.9% { opacity: 1; }
  25% { opacity: 1; }
  28.9% { opacity: 0; transform: scale(1) translateY(0.6%); }
  100% { opacity: 0; transform: scale(1) translateY(0.6%); }
}
/* a soft cinematic shade: darker at the edges and under the header, warm towards the panel */
.hero-film::after {
  background:
    linear-gradient(180deg, rgba(30, 14, 12, 0.38), transparent 22%, transparent 78%, rgba(30, 14, 12, 0.30)),
    linear-gradient(90deg, rgba(30, 14, 12, 0.18), transparent 30%, transparent 62%, rgba(255, 246, 236, 0.10));
}
@media (prefers-reduced-motion: reduce) {
  .film img { animation: none !important; opacity: 0; }
  .film img:first-child { opacity: 1; }
}
@media (max-width: 820px) {
  .hero-film .wrap { padding-top: 0; }
  .hero-film .film { position: relative; height: 62vh; min-height: 380px; grid-template-columns: repeat(2, 1fr); background: none; }
  .hero-film .reel:nth-child(n + 3) { display: none; }
}
