/* =========================================================
   Karachi Threads — Luxury Home & Kitchen Store
   ========================================================= */

:root {
  --ivory: #FBF8F3;
  --cream: #F5EFE7;
  --sand: #ECE3D7;
  --linen: #E3D6C5;
  --stone: #C9B8A3;
  --taupe: #8D7B6A;
  --ink: #211B17;
  --espresso: #2E2520;
  --body: #625750;
  --muted: #9A8D81;
  --line: #E8DFD4;
  --gold: #B08D57;
  --gold-soft: #D8BF94;
  --sale: #A4573C;

  --grad-gold: linear-gradient(120deg, #A77F48 0%, #DCC395 45%, #B08D57 100%);
  --grad-cream: linear-gradient(180deg, #F3ECE2 0%, #FBF8F3 100%);
  --grad-placeholder: linear-gradient(160deg, #EFE6DA 0%, #E0D2BF 100%);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 34px 70px -34px rgba(46, 37, 32, .32);
  --shadow-sm: 0 8px 22px -10px rgba(46, 37, 32, .18);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: .98rem;
  line-height: 1.75;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle film grain for a tactile, printed feel */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2000; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
a { color: var(--ink); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
em { font-style: italic; }
::selection { background: var(--espresso); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img.is-missing { opacity: 0 !important; }

.skip-link { position: absolute; top: -60px; inset-inline-start: 16px; z-index: 3000; background: var(--espresso); color: var(--ivory); padding: 10px 18px; border-radius: 100px; }
.skip-link:focus { top: 12px; color: var(--ivory); }

.container-xl { max-width: 1360px; padding-inline: clamp(18px, 3vw, 32px); }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-cream { background: var(--cream); overflow: hidden; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--taupe);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.eyebrow-center::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

.display-xl { font-size: clamp(3.1rem, 7.4vw, 6.6rem); line-height: .96; font-weight: 400; margin: 26px 0 28px; letter-spacing: -.02em; }
.display-lg { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; font-weight: 400; margin: 18px 0 16px; }
.display-xl em, .display-lg em, .title em, .auth-title em {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-inline-end: .06em;
}
.title { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.04; font-weight: 400; margin: 16px 0 0; }
.lead-lux { font-size: clamp(1rem, 1.25vw, 1.1rem); max-width: 520px; color: var(--body); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Buttons & links ---------- */
.btn-lux, .btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 17px 32px; border-radius: 100px; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .4s, transform .5s var(--ease);
}
.btn-lux { background: var(--espresso); color: var(--ivory); border: 0; }
.btn-lux::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--grad-gold); transform: translateY(101%); transition: transform .7s var(--ease);
}
.btn-lux:hover { color: var(--ink); }
.btn-lux:hover::before { transform: translateY(0); }
.btn-lux .bi { transition: transform .5s var(--ease); }
.btn-lux:hover .bi-arrow-right { transform: translateX(4px); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--stone); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 12px 22px; font-size: .7rem; }

.link-u {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: none; border: 0; padding: 4px 0;
}
.link-u::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.link-u:hover { color: var(--gold); }
.link-u:hover::after { transform: scaleX(0); transform-origin: right; animation: underline .7s var(--ease) .25s forwards; }
@keyframes underline { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.small-link { font-size: .72rem; letter-spacing: .1em; }

/* ---------- Announcement ---------- */
.announce { background: var(--espresso); color: var(--sand); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; height: 38px; overflow: hidden; }
.announce-track { position: relative; height: 100%; }
.announce-track span {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding-inline: 16px;
  opacity: 0; transform: translateY(100%); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.announce-track span.is-active { opacity: 1; transform: none; }
.announce-track span.is-leaving { opacity: 0; transform: translateY(-100%); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(251, 248, 243, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(46,37,32,.4); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.main-nav { gap: 34px; }
.main-nav a { position: relative; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.logo {
  justify-self: center; display: flex; flex-direction: column; align-items: center; line-height: 1;
  font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: .34em; color: var(--ink);
  padding-inline-start: .34em;
}
.logo small { font-family: var(--sans); font-size: .55rem; letter-spacing: .42em; text-transform: uppercase; color: var(--taupe); margin-top: 6px; }
.logo:hover { color: var(--ink); }
.logo-start { align-items: flex-start; padding-inline-start: 0; justify-self: start; }

.header-icons { justify-self: end; display: flex; align-items: center; gap: 4px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%; font-size: 1.15rem; color: var(--ink);
  transition: background .3s;
}
.icon-btn:hover { background: var(--sand); color: var(--ink); }
.header-inner > .icon-btn { justify-self: start; }
.count {
  position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 100px;
  background: var(--espresso); color: var(--ivory); font-size: .62rem; font-weight: 700;
}
.count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); background: var(--gold); } }

/* ---------- Offcanvas: cart & menu ---------- */
.offcanvas { background: var(--ivory); border: 0 !important; }
.offcanvas-backdrop.show { opacity: .35; background: var(--espresso); }
.offcanvas-header { padding: 26px 28px; border-bottom: 1px solid var(--line); }
.offcanvas-title { font-size: 1.9rem; font-weight: 400; margin: 0; }
.cart-drawer { width: min(440px, 100vw) !important; }
.ship-meter { padding: 18px 28px; background: var(--cream); font-size: .85rem; }
.ship-meter p { margin: 0 0 10px; color: var(--ink); }
.meter { height: 3px; background: var(--linen); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--grad-gold); transition: width .9s var(--ease); }
.cart-drawer .offcanvas-body { padding: 8px 28px; }
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); animation: fadeUp .6s var(--ease); }
.ci-img { aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--grad-placeholder); }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info h3 { font-size: 1.15rem; margin: 0 0 2px; line-height: 1.25; }
.ci-info small { color: var(--muted); font-size: .78rem; }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.ci-row strong { color: var(--ink); font-weight: 600; font-size: .92rem; }
.ci-remove { border: 0; background: none; padding: 0; margin-top: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ci-remove:hover { color: var(--sale); }
.cart-empty { text-align: center; padding: 60px 10px; }
.cart-empty .bi { font-size: 2.4rem; color: var(--stone); }
.cart-empty h3 { font-size: 1.7rem; margin: 14px 0 6px; }
.cart-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); background: var(--ivory); }
.cart-foot .sub { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); }
.cart-foot p { font-size: .8rem; color: var(--muted); margin: 6px 0 18px; }

.mobile-menu { width: min(380px, 88vw) !important; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li a { display: block; font-family: var(--serif); font-size: 2rem; padding: 10px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mobile-menu.show li a { opacity: 1; transform: none; }
.mobile-menu.show li:nth-child(2) a { transition-delay: .05s; } .mobile-menu.show li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.show li:nth-child(4) a { transition-delay: .15s; } .mobile-menu.show li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu .menu-foot { margin-top: 30px; display: grid; gap: 12px; }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--stone); border-radius: 100px; height: 54px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; color: var(--ink); font-size: 1rem; }
.qty input { width: 36px; border: 0; background: none; text-align: center; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 34px; }
.qty-sm button { width: 32px; }
.qty-sm span { min-width: 22px; text-align: center; font-weight: 600; font-size: .85rem; color: var(--ink); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 1060; background: rgba(251,248,243,.97);
  backdrop-filter: blur(10px); display: flex; align-items: flex-start; justify-content: center;
  padding: 16vh 20px 40px; opacity: 0; transition: opacity .5s var(--ease);
}
.search-overlay.open { opacity: 1; }
.search-overlay form { width: min(780px, 100%); transform: translateY(20px); transition: transform .7s var(--ease); }
.search-overlay.open form { transform: none; }
.search-field { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.search-field input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.4rem); color: var(--ink); outline: none; min-width: 0; }
.search-field input::placeholder { color: var(--stone); }
.search-close { position: absolute; top: 24px; inset-inline-end: 24px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; }
.search-tags span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-inline-end: 6px; }

/* ---------- Toast ---------- */
.toast-lux {
  position: fixed; bottom: 24px; left: 50%; z-index: 1070;
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--espresso); color: var(--ivory); border-radius: 100px;
  padding: 12px 22px 12px 14px; display: flex; align-items: center; gap: 12px;
  font-size: .85rem; box-shadow: var(--shadow); max-width: calc(100vw - 32px);
  transition: transform .7s var(--ease), opacity .5s;
}
.toast-lux.show { transform: translate(-50%, 0); opacity: 1; }
.toast-lux .bi { color: var(--gold-soft); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-cream); padding: clamp(50px, 7vw, 90px) 0 clamp(80px, 9vw, 120px); }
.hero-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; inset-inline-end: -120px; top: -120px; background: radial-gradient(circle, rgba(216,191,148,.38), transparent 65%); filter: blur(10px); animation: breathe 12s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.12) translate(-30px, 30px); } }

.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.3s var(--ease) forwards; }
.line:nth-child(1) > span { animation-delay: .2s; }
.line:nth-child(2) > span { animation-delay: .34s; }
.line:nth-child(3) > span { animation-delay: .48s; }
@keyframes lineUp { to { transform: none; } }

.load-in { opacity: 0; transform: translateY(22px); animation: fadeUp 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 36px 0 44px; }
.hero-points { list-style: none; padding: 26px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 500; color: var(--ink); }
.hero-points .bi { color: var(--gold); }

.hero-visual { position: relative; max-width: 560px; margin-inline: auto; padding: 30px 0 40px; }
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; margin: 0; background: var(--grad-placeholder); }
.hero-arch { width: 80%; margin-inline-start: auto; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.hero-arch img, .hero-round img { width: 100%; height: 100%; object-fit: cover; }
.arch-outline { position: absolute; width: 74%; aspect-ratio: 3/4; top: 0; inset-inline-end: 12%; border: 1px solid var(--gold-soft); border-radius: 999px 999px 0 0; pointer-events: none; }
.hero-round { position: absolute; width: 38%; aspect-ratio: 1; bottom: 8%; inset-inline-start: 0; margin: 0; border-radius: 50%; overflow: hidden; border: 8px solid var(--ivory); box-shadow: var(--shadow); background: var(--grad-placeholder); }
.spin-badge {
  position: absolute; top: 12%; inset-inline-start: 4%; width: 124px; height: 124px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ivory); box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .6s var(--ease);
}
.spin-badge:hover { transform: scale(1.06); color: var(--gold); }
.spin-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.spin-badge text { font: 600 8.6px var(--sans); letter-spacing: .3em; text-transform: uppercase; fill: var(--ink); }
.spin-badge .bi { font-size: 1.3rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-tag {
  position: absolute; bottom: 18%; inset-inline-end: -2%;
  display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px;
  background: rgba(251,248,243,.86); backdrop-filter: blur(10px); border: 1px solid var(--line);
  border-radius: 100px; box-shadow: var(--shadow-sm); font-size: .82rem; color: var(--ink);
}
.hero-tag small { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); position: relative; }
.tag-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* image unveil */
.img-reveal { clip-path: inset(100% 0 0 0); animation: unveil 1.6s var(--ease) forwards; animation-delay: var(--d, .25s); }
.img-reveal img { transform: scale(1.18); animation: settle 2s var(--ease) forwards; animation-delay: var(--d, .25s); }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: scale(1); } }
.hero-arch.img-reveal { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); }
@keyframes unveilArch { to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
.hero-arch.img-reveal { animation-name: unveilArch; }

@media (max-width: 575.98px) {
  .spin-badge { width: 96px; height: 96px; top: 4%; }
  .hero-tag { inset-inline-end: 0; bottom: 4%; font-size: .74rem; }
  .hero-arch { width: 86%; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--ivory); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--ink); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Categories ---------- */
.cat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cat-tile { display: block; text-align: center; }
.cat-tile .arch { aspect-ratio: 3 / 4; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-name { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--serif); font-size: 1.55rem; color: var(--ink); }
.cat-name .bi { font-size: .85rem; opacity: 0; transform: translate(-6px, 6px); transition: all .5s var(--ease); }
.cat-tile:hover .cat-name .bi { opacity: 1; transform: none; color: var(--gold); }
@media (max-width: 991.98px) {
  .cat-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-tile { scroll-snap-align: start; }
}
@media (max-width: 575.98px) { .cat-row { grid-auto-columns: 66%; } }

/* ---------- Story ---------- */
.story-media { position: relative; padding: 0 0 70px; max-width: 540px; }
.story-a { width: 78%; aspect-ratio: 7 / 9; box-shadow: var(--shadow); }
.story-a img, .story-b img { width: 100%; height: 100%; object-fit: cover; }
.story-b { position: absolute; width: 48%; aspect-ratio: 1; bottom: 0; inset-inline-end: 0; margin: 0; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--cream); background: var(--grad-placeholder); box-shadow: var(--shadow); }
.story-circle { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--gold-soft); top: 18%; inset-inline-end: 6%; }
.story-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 4px; }
.story-list li { display: flex; gap: 22px; padding: 20px 0; border-top: 1px solid var(--linen); }
.story-list span { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); line-height: 1.2; }
.story-list h3 { font-size: 1.45rem; margin: 0 0 4px; }
.story-list p { margin: 0; font-size: .93rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 26px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1199.98px) { .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); } .product-grid.cols-4 > :nth-child(4) { display: none; } }
@media (max-width: 991.98px) { .product-grid, .product-grid.cols-4, .product-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; } .product-grid.cols-4 > :nth-child(4) { display: block; } }
@media (max-width: 400px) { .product-grid { gap: 30px 12px; } }

.p-card { position: relative; }
.p-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--grad-placeholder); }
.p-media > a { position: absolute; inset: 0; }
.p-img, .p-img-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.p-img-alt { opacity: 0; }
.p-card:hover .p-img-alt { opacity: 1; }
.p-card:hover .p-img { transform: scale(1.06); }
.p-badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1; background: var(--ivory); color: var(--ink); font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.p-badge-sale { background: var(--sale); color: #fff; letter-spacing: .06em; }
.p-wish {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; display: grid; place-items: center; background: rgba(251,248,243,.9); color: var(--ink); font-size: 1rem;
  transition: transform .4s var(--ease), color .3s;
}
.p-wish:hover { transform: scale(1.1); }
.p-wish.is-active { color: var(--sale); }
.p-wish.is-active .bi { animation: heart .6s var(--ease); }
@keyframes heart { 40% { transform: scale(1.4); } }
.p-wish-lg { position: static; width: 54px; height: 54px; flex: none; border: 1px solid var(--stone); background: transparent; font-size: 1.1rem; }
.p-quick {
  position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; height: 48px; border: 0; border-radius: 100px;
  background: rgba(251,248,243,.94); backdrop-filter: blur(8px); color: var(--ink);
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  transform: translateY(130%); transition: transform .7s var(--ease), background .3s, color .3s;
}
.p-card:hover .p-quick, .p-quick:focus-visible { transform: none; }
.p-quick:hover { background: var(--espresso); color: var(--ivory); }
@media (hover: none) { .p-quick { transform: none; height: 40px; font-size: .62rem; letter-spacing: .12em; } }
.p-body { padding-top: 18px; }
.p-cat { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.p-title { font-size: 1.4rem; line-height: 1.22; margin: 6px 0 6px; }
.p-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.p-title a:hover { background-size: 100% 1px; color: var(--ink); }
.p-price { margin: 0; font-weight: 600; color: var(--ink); font-size: .92rem; }
.p-price del { color: var(--muted); font-weight: 400; margin-inline-start: 8px; }
@media (max-width: 575.98px) { .p-title { font-size: 1.15rem; } }

.p-card.pop { animation: fadeUp .7s var(--ease); }

/* ---------- Banner ---------- */
.banner-section { padding-bottom: clamp(70px, 8vw, 110px); }
.banner { position: relative; border-radius: 32px; overflow: hidden; min-height: 560px; display: flex; align-items: center; background: var(--grad-placeholder); }
.banner-img { position: absolute; inset: 0; margin: 0; }
.banner-img img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,239,231,.96) 0%, rgba(245,239,231,.85) 38%, rgba(245,239,231,0) 70%); }
.banner-copy { position: relative; z-index: 1; max-width: 500px; padding: clamp(36px, 6vw, 80px); }
.banner-copy p { margin: 18px 0 32px; }
@media (max-width: 767.98px) {
  .banner { min-height: 0; align-items: flex-end; }
  .banner-img { position: relative; height: 300px; }
  .banner { flex-direction: column; }
  .banner::after { display: none; }
  .banner-copy { background: var(--cream); max-width: none; }
}

/* ---------- USP ---------- */
.usp { border-block: 1px solid var(--line); }
.usp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.usp-list li { display: flex; gap: 16px; align-items: center; padding: 34px 24px; }
.usp-list li + li { border-inline-start: 1px solid var(--line); }
.usp-list .bi { font-size: 1.6rem; color: var(--gold); }
.usp-list h3 { font-size: 1.25rem; margin: 0; }
.usp-list p { margin: 0; font-size: .84rem; }
@media (max-width: 991.98px) { .usp-list { grid-template-columns: repeat(2, 1fr); } .usp-list li:nth-child(3) { border-inline-start: 0; } .usp-list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 575.98px) { .usp-list { grid-template-columns: 1fr; } .usp-list li + li { border-inline-start: 0; border-top: 1px solid var(--line); } .usp-list li { padding: 22px 6px; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 20px; height: clamp(520px, 62vw, 760px); }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--grad-placeholder); }
.gallery .g1 { grid-row: span 2; border-radius: 999px 999px var(--radius) var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; inset-inline-start: 16px; bottom: 16px; padding: 7px 16px; border-radius: 100px;
  background: rgba(251,248,243,.9); font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink);
  transform: translateY(10px); opacity: 0; transition: all .6s var(--ease);
}
.gallery figure:hover figcaption { transform: none; opacity: 1; }
@media (max-width: 767.98px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery figure { aspect-ratio: 1; }
  .gallery .g1 { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; border-radius: 160px 160px var(--radius) var(--radius); }
  .gallery figcaption { opacity: 1; transform: none; font-size: .95rem; }
}

/* ---------- Newsletter ---------- */
.newsletter-section { padding-bottom: clamp(80px, 10vw, 130px); }
.newsletter { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: clamp(50px, 8vw, 96px) 24px; background: radial-gradient(120% 120% at 50% 0%, #F7EFE3 0%, #ECE0CF 100%); }
.newsletter p { max-width: 480px; margin: 18px auto 32px; }
.nl-arch { position: absolute; border: 1px solid rgba(176,141,87,.35); border-radius: 999px 999px 0 0; }
.nl-arch.a1 { width: 260px; height: 360px; bottom: -120px; inset-inline-start: -60px; }
.nl-arch.a2 { width: 200px; height: 280px; top: -60px; inset-inline-end: -40px; transform: rotate(180deg); }
.nl-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; padding: 6px; background: var(--ivory); border-radius: 100px; box-shadow: var(--shadow-sm); position: relative; }
.nl-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 20px; color: var(--ink); outline: none; }
.nl-form input.is-invalid { color: var(--sale); }
@media (max-width: 480px) { .nl-form { flex-direction: column; border-radius: 24px; } .nl-form input { height: 50px; } .nl-form .btn-lux { justify-content: center; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--sand); padding: 90px 0 0; overflow: hidden; }
.footer-text { margin: 22px 0 24px; max-width: 340px; font-size: .92rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--stone); transition: all .4s var(--ease); }
.socials a:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.footer-h { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 70px; padding: 26px 0; border-top: 1px solid var(--linen); font-size: .82rem; }
.footer-bottom-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--muted); }
.footer-credit { color: var(--muted); }
.footer-credit a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-credit a:hover { color: var(--espresso); text-decoration: underline; }
.pay-icons { display: flex; gap: 14px; font-size: 1.2rem; color: var(--taupe); }
.footer-word { font-family: var(--serif); font-size: clamp(5rem, 19vw, 17rem); line-height: .78; text-align: center; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px var(--stone); user-select: none; margin-bottom: -.06em; }

/* ---------- Collection ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-cream); padding: 44px 0 50px; border-bottom: 1px solid var(--line); }
.arch-outline-sm { width: 260px; height: 360px; top: 40px; inset-inline-end: 8%; aspect-ratio: auto; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--stone); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { border: 1px solid var(--stone); background: transparent; color: var(--ink); padding: 9px 20px; border-radius: 100px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; transition: all .4s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 0 30px; }
.result-count { margin: 0; margin-inline-end: auto; font-size: .85rem; color: var(--muted); }
.view-toggle { gap: 4px; }
.view-toggle button { width: 40px; height: 40px; border: 1px solid transparent; border-radius: 50%; background: none; color: var(--muted); }
.view-toggle button.is-active { border-color: var(--stone); color: var(--ink); }
.lux-select { appearance: none; border: 1px solid var(--stone); border-radius: 100px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23211B17' stroke-width='1.5' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; padding: 11px 44px 11px 20px; font-size: .82rem; font-weight: 600; color: var(--ink); }

.filters-panel .offcanvas-header { padding-inline: 0; border: 0; }
.filters-panel .offcanvas-body.filters { display: block !important; width: 100%; }
.f-group legend { float: none; width: 100%; }
@media (max-width: 991.98px) { .filters-panel .offcanvas-header { padding: 24px 28px; border-bottom: 1px solid var(--line); } .filters-panel .offcanvas-body { padding: 24px 28px; } }
@media (min-width: 992px) { .filters-panel { position: sticky; top: 110px; } .filters-panel .offcanvas-title { font-size: 1.7rem; } }
.f-group { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.f-group legend { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .9rem; padding: 5px 0; color: var(--body); }
.check input { appearance: none; width: 18px; height: 18px; flex: none; border: 1px solid var(--stone); border-radius: 5px; display: grid; place-items: center; transition: all .3s; margin: 0; }
.check input::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--ivory); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .3s var(--ease); }
.check input:checked { background: var(--espresso); border-color: var(--espresso); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check:hover span { color: var(--ink); }
.lux-range { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--linen); border-radius: 2px; outline: none; }
.lux-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--espresso); cursor: pointer; }
.lux-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--espresso); cursor: pointer; }
.range-vals { display: flex; justify-content: space-between; margin-top: 12px; font-size: .8rem; }
.range-vals output { color: var(--ink); font-weight: 600; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .bi { font-size: 2.6rem; color: var(--stone); }
.empty-state h2 { font-size: 2rem; margin: 14px 0 6px; }
.seo-copy { margin-top: clamp(70px, 8vw, 110px); padding-top: 40px; border-top: 1px solid var(--line); max-width: 860px; }
.seo-copy h2 { font-size: 1.8rem; }
.seo-copy p { font-size: .92rem; }

/* ---------- Product page ---------- */
.pdp { padding: 30px 0 clamp(80px, 9vw, 120px); }
.pdp .crumbs { margin-bottom: 30px; }
.pdp-gallery { display: grid; grid-template-columns: 92px 1fr; gap: 18px; position: sticky; top: 110px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pdp-thumb { padding: 0; border: 1px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; background: var(--grad-placeholder); opacity: .6; transition: all .4s var(--ease); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover, .pdp-thumb.is-active { opacity: 1; border-color: var(--ink); }
.pdp-main { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--grad-placeholder); cursor: zoom-in; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .45s; transform-origin: var(--x, 50%) var(--y, 50%); }
.pdp-main.zooming img { transform: scale(1.9); transition: transform .3s ease-out; }
.pdp-main img.swap { opacity: 0; }
.zoom-hint { position: absolute; bottom: 16px; inset-inline-end: 16px; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px; background: rgba(251,248,243,.88); font-size: .72rem; font-weight: 600; color: var(--ink); transition: opacity .4s; }
.pdp-main.zooming .zoom-hint { opacity: 0; }
@media (max-width: 991.98px) {
  .pdp-gallery { grid-template-columns: 1fr; position: static; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumb { width: 72px; }
}

.pdp-info { position: sticky; top: 110px; }
.pdp-title { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.04; font-weight: 400; margin: 16px 0 14px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pdp-price span { font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.pdp-price small { color: var(--muted); font-size: .8rem; }
.pdp-desc { margin-bottom: 28px; }
.opt { border: 0; padding: 0; margin: 0 0 24px; }
.opt legend { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.opt legend span { font-weight: 500; letter-spacing: .08em; text-transform: none; color: var(--body); font-size: .9rem; }
.swatches { display: flex; gap: 12px; }
.swatch { position: relative; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; transform: scale(.8); transition: all .4s var(--ease); }
.swatch:has(input:checked)::after { opacity: 1; transform: none; }
.swatch:has(input:focus-visible)::after { opacity: 1; border-color: var(--gold); }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size-pill { cursor: pointer; }
.size-pill input { position: absolute; opacity: 0; }
.size-pill span { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); font-size: .88rem; transition: all .35s var(--ease); }
.size-pill small { font-weight: 400; color: var(--muted); font-size: .74rem; }
.size-pill:hover span { border-color: var(--stone); }
.size-pill input:checked + span { border-color: var(--ink); background: var(--cream); }
.size-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pdp-buy { display: flex; gap: 10px; align-items: center; margin: 30px 0 26px; }
.pdp-buy .btn-lux { height: 54px; }
.pdp-perks { list-style: none; padding: 22px 0; margin: 0 0 8px; border-block: 1px solid var(--line); display: grid; gap: 12px; font-size: .88rem; }
.pdp-perks li { display: flex; gap: 12px; }
.pdp-perks .bi { color: var(--gold); font-size: 1.05rem; }
.pdp-perks strong { color: var(--ink); font-weight: 600; }
@media (max-width: 991.98px) { .pdp-info { position: static; } }
@media (max-width: 420px) { .pdp-buy { flex-wrap: wrap; } .pdp-buy .btn-lux { order: 3; width: 100%; } }

.lux-acc .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
.lux-acc .accordion-button { background: transparent; box-shadow: none; padding: 20px 0; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.lux-acc .accordion-button::after { background-image: none; content: "+"; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; width: auto; height: auto; line-height: 1; transform: none; transition: transform .4s var(--ease); }
.lux-acc .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.lux-acc .accordion-body { padding: 0 0 22px; font-size: .92rem; }
.dot-list { padding-inline-start: 18px; margin: 0; }
.dot-list li::marker { color: var(--gold); }

.pdp-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 1020; padding: 12px 0;
  background: rgba(251,248,243,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .6s var(--ease);
}
.pdp-sticky.show { transform: none; }
.pdp-sticky .container-xl { display: flex; align-items: center; gap: 14px; }
.pdp-sticky img { width: 48px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--grad-placeholder); }
.pdp-sticky-info { display: flex; flex-direction: column; line-height: 1.3; margin-inline-end: auto; min-width: 0; }
.pdp-sticky-info strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky-info span { font-size: .82rem; font-weight: 600; }
@media (min-width: 992px) { .pdp-sticky { display: none; } }

/* ---------- Login ---------- */
.auth-page::before { z-index: 0; }
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth-visual { position: relative; overflow: hidden; background: var(--grad-placeholder); margin: 16px; border-radius: 28px; }
.auth-visual figure { position: absolute; inset: 0; margin: 0; }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,37,32,0) 45%, rgba(46,37,32,.72) 100%); }
.auth-arch { position: absolute; z-index: 1; width: 58%; height: 70%; top: 10%; left: 21%; border: 1px solid rgba(255,255,255,.5); border-radius: 999px 999px 0 0; }
.auth-quote { position: absolute; z-index: 2; inset-inline: 48px; bottom: 44px; color: var(--ivory); margin: 0; }
.auth-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.25; margin: 0 0 10px; }
.auth-quote cite { font-style: normal; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.auth-panel { display: flex; flex-direction: column; padding: 32px clamp(24px, 5vw, 72px); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.auth-box { width: 100%; max-width: 440px; margin: auto; padding: 50px 0; }
.auth-title { font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 400; line-height: 1.04; margin-bottom: 10px; }
.auth-sub { margin-bottom: 30px; }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.auth-tabs button { border: 0; background: none; padding: 14px 0; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.auth-tabs button.is-active { color: var(--ink); }
.tab-ink { position: absolute; bottom: -1px; left: 0; width: 50%; height: 2px; background: var(--grad-gold); transition: transform .6s var(--ease); }
.auth-tabs.is-register .tab-ink { transform: translateX(100%); }
.auth-form { display: grid; gap: 16px; }
.auth-form.is-active { animation: fadeUp .7s var(--ease); }
.form-floating > .form-control { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); height: 60px; padding-inline: 18px; box-shadow: none; }
.form-floating > .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176,141,87,.12); }
.form-floating > label { color: var(--muted); padding-inline: 18px; font-size: .9rem; }
.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label { color: var(--taupe); }
.form-control.is-invalid { border-color: var(--sale) !important; background-image: none; }
.invalid-feedback { color: var(--sale); font-size: .78rem; }
.pass-field .form-control { padding-inline-end: 54px; }
.pass-toggle { position: absolute; top: 10px; inset-inline-end: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); z-index: 5; }
.pass-toggle:hover { color: var(--ink); }
.strength { display: flex; align-items: center; gap: 12px; margin-top: -6px; }
.strength .bars { display: flex; gap: 4px; }
.strength .bars i { width: 28px; height: 3px; border-radius: 3px; background: var(--line); transition: background .4s; }
.strength[data-level="1"] .bars i:nth-child(-n+1) { background: var(--sale); }
.strength[data-level="2"] .bars i:nth-child(-n+2) { background: var(--gold-soft); }
.strength[data-level="3"] .bars i:nth-child(-n+3) { background: var(--gold); }
.strength[data-level="4"] .bars i { background: #7E8C6A; }
.strength small { color: var(--muted); font-size: .76rem; }
.divider { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-auth .btn-line { justify-content: center; letter-spacing: .1em; }
.auth-perks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .8rem; }
.auth-perks li { display: flex; gap: 8px; align-items: center; }
.auth-perks .bi { color: var(--gold); }
@media (max-width: 991.98px) {
  .auth { grid-template-columns: 1fr; }
  .auth-visual { height: 240px; }
  .auth-arch { display: none; }
  .auth-quote { inset-inline: 26px; bottom: 22px; }
  .auth-quote p { font-size: 1.35rem; }
  .auth-box { padding: 36px 0; }
}
.auth-visual-fallback {
  position: absolute; inset: 0;
  background: var(--grad-placeholder);
  z-index: 0;
}
.auth-visual img { position: relative; z-index: 1; }
.auth-visual img.is-missing { opacity: 0; }
.auth-alert {
  background: #f8ece9;
  border: 1px solid #edd5cf;
  color: #8a4430;
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 16px;
  font-size: .9rem;
}

/* ---------- Account ---------- */
.account-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.account-flash {
  background: #eef5ea;
  border: 1px solid #d7e5cf;
  color: #4f6344;
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 16px;
}
.account-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}
.account-order {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.account-order:last-child { border-bottom: 0; }
.account-date {
  font-size: .82rem;
  color: var(--muted);
  white-space: nowrap;
}
.account-empty {
  text-align: center;
  padding: 28px 12px 18px;
}
.account-empty .bi {
  font-size: 1.4rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.account-empty h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.account-empty p { color: var(--muted); margin-bottom: 14px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal], .load-in, .line > span { opacity: 1 !important; transform: none !important; }
  .img-reveal { clip-path: none !important; }
}