/* ======================================================================
   RANISA ATTIRE · Ivory Palace
   Layout idea: a sunlit palace courtyard. Marble ivory walls, blush
   sandstone, gold leaf lines and marigold torans; every photo sits in
   a cusped jharokha arch.
   ====================================================================== */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ivory: #fbf7f0;
  --marble: #f4ece0;
  --blush: #f2d9d2;
  --blush-soft: #f8e9e4;
  --rose: #c9677e;
  --plum: #5a1f33;
  --plum-soft: #6d4652;
  --muted: #8a6a72;
  --gold: #b8893b;
  --gold-soft: rgba(184, 137, 59, .35);
  --sage: #8aa293;
  --line: rgba(90, 31, 51, .14);
  --wa: #1fa855;
  --wa-dark: #128c45;

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --f-body: "Jost", "Futura", "Segoe UI", system-ui, sans-serif;
  --f-logo: "Cinzel", "Trajan Pro", "Times New Roman", serif;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 84px;
  --gutter: clamp(16px, 5vw, 90px);

  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400' preserveAspectRatio='none'%3E%3Cpath d='M0 400V172H16.0A40.4 40.4 0 0 1 29.3 106.0A38.8 38.8 0 0 1 66.5 53.2A36.7 36.7 0 0 1 120.2 23.8A35.8 35.8 0 0 1 179.8 23.8A36.7 36.7 0 0 1 233.5 53.2A38.8 38.8 0 0 1 270.7 106.0A40.4 40.4 0 0 1 284.0 172.0H300V400Z'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--plum); font-family: var(--f-body); font-size: 17px; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--plum); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(1260px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.eyebrow { font-size: 12.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 14px; font-weight: 500; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.04; color: var(--plum); }
.section-title em { font-style: italic; color: var(--rose); }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 12px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head__lede { color: var(--muted); max-width: 36em; font-weight: 300; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--plum); --fg: var(--ivory); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--f-body); font-weight: 500; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 14px 30px -16px rgba(90, 31, 51, .55); }
.btn:active { transform: scale(.97); }
.btn--plum { --bg: var(--plum); --fg: var(--ivory); }
.btn--plum:hover { --bg: #6f2840; }
.btn--line { --bg: transparent; --fg: var(--plum); --bd: var(--gold); }
.btn--line:hover { --bg: var(--blush-soft); }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--wa:hover { --bg: var(--wa-dark); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; letter-spacing: .16em; }
.btn--block { width: 100%; }
.wa-ico { width: 19px; height: 19px; flex: none; }
.magnetic { will-change: transform; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; position: relative; transition: background .25s; }
.icon-btn:hover { background: var(--blush-soft); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .fill { fill: currentColor; stroke: none; }

/* ---------- announcement ---------- */
.announce { background: var(--blush); color: var(--plum); height: 36px; overflow: hidden; position: relative; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; }
.announce__track span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 12px; opacity: 0; transform: translateY(100%); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.announce__track span:first-child, .announce__track span.is-on { opacity: 1; transform: none; }
.js .announce__track span:first-child:not(.is-on) { opacity: 0; transform: translateY(100%); }
.announce__track span.is-off { opacity: 0; transform: translateY(-100%); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(251, 247, 240, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: box-shadow .4s, height .4s; }
.header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 4px; border-top: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); }
.header.is-scrolled { box-shadow: 0 14px 30px -26px rgba(90, 31, 51, .5); }
.header__inner { height: 100%; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.header__menu { display: none; flex-direction: column; }
.header__menu span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 2.5px 0; transition: transform .35s var(--ease), opacity .3s; }
.header__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.header__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a, .nav-link { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after, .nav-link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold); transition: left .35s var(--ease), right .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after, .nav-link:hover::after { left: 0; right: 0; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; color: var(--plum); }
.logo__name { font-family: var(--f-logo); font-weight: 600; font-size: 27px; letter-spacing: .22em; margin-right: -.22em; }
.logo__sub { font-family: var(--f-logo); font-weight: 600; font-size: 9.5px; letter-spacing: .5em; margin-right: -.5em; margin-top: 7px; color: var(--gold); display: flex; align-items: center; gap: 8px; }
.logo__sub::before, .logo__sub::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.header__actions .nav-link { margin-right: 10px; }
.bag-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 500; line-height: 18px; text-align: center; transform: scale(0); transition: transform .35s var(--ease); }
.bag-count.has-items { transform: scale(1); }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.header__wa { margin-left: 4px; }

/* mobile nav */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ivory); display: grid; place-items: center; align-content: center; gap: 30px; clip-path: circle(0% at 30px 60px); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s; }
.mnav::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--gold-soft); border-radius: 200px 200px 16px 16px; pointer-events: none; }
.mnav.is-open { clip-path: circle(150% at 30px 60px); visibility: visible; }
.mnav__links { display: grid; gap: 4px; text-align: center; }
.mnav__links a { font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.2rem); text-decoration: none; line-height: 1.2; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
.mnav.is-open .mnav__links a { opacity: 1; transform: none; }
.mnav.is-open .mnav__links a:nth-child(2) { transition-delay: .06s; }
.mnav.is-open .mnav__links a:nth-child(3) { transition-delay: .12s; }
.mnav.is-open .mnav__links a:nth-child(4) { transition-delay: .18s; }
.mnav__foot { font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--rose); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 100px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 46% 62% at 74% 50%, #f6e1d9 0, transparent 70%), radial-gradient(ellipse 40% 50% at 6% 96%, #efe3cf, transparent 70%), var(--ivory); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: radial-gradient(circle, rgba(184, 137, 59, .2) 1px, transparent 1.6px) 0 0 / 26px 26px; -webkit-mask: radial-gradient(ellipse 50% 70% at 20% 40%, #000, transparent 70%); mask: radial-gradient(ellipse 50% 70% at 20% 40%, #000, transparent 70%); }
.hero__petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero__inner { width: min(1260px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero__copy { position: relative; z-index: 4; }
.hero__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -.012em; margin: 22px 0 24px; color: var(--plum); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; }
.hero__title .word { display: inline-block; }
.hero__title em { font-style: italic; color: var(--rose); }
.hero__lede { max-width: 31em; font-size: clamp(16px, 1.3vw, 18.5px); font-weight: 300; line-height: 1.7; color: var(--plum-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts { display: flex; gap: clamp(22px, 3.4vw, 50px); margin: 46px 0 0; padding-top: 24px; border-top: 1px solid var(--gold-soft); }
.hero__facts div { display: grid; gap: 2px; }
.hero__facts dt { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.hero__facts dd { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.hero__visual { position: relative; height: clamp(500px, 46vw, 660px); }
.toran { position: absolute; z-index: 4; left: 4%; top: 0; width: 82%; overflow: visible; }
.toran .drop { transform-box: fill-box; transform-origin: 50% 0; animation: sway 4.5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(4deg); } }
.hero__big { position: absolute; z-index: 2; left: 13%; top: 3%; width: 64%; aspect-ratio: 3 / 4.05; cursor: pointer; }
.hero__window { position: absolute; inset: 0; background: var(--blush); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.hero__window figure { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__window figure.is-on { opacity: 1; }
.hero__window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__window figure.is-on img { animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.01); } }
.hero__outline { position: absolute; inset: -14px -14px 0; width: calc(100% + 28px); height: calc(100% + 14px); overflow: visible; pointer-events: none; }
.hero__outline path { fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.js .hero__outline path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .4s; }
.js .hero.is-ready .hero__outline path { stroke-dashoffset: 0; }
.hero__small-wrap { position: absolute; z-index: 3; right: 0; bottom: 6%; width: 33%; }
.hero__small { position: relative; width: 100%; aspect-ratio: 3 / 4; background: var(--marble); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.hero__small img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: 0; transition: opacity 1.2s var(--ease) .3s; }
.hero__small img.is-on { opacity: 1; }
.hero__small-wrap { filter: drop-shadow(0 26px 30px rgba(90, 31, 51, .25)); }
.lotus { position: absolute; z-index: 3; left: 0; bottom: 8%; width: 18%; overflow: visible; }
.lotus .petal { transform-box: fill-box; transform-origin: 50% 100%; }
.js .lotus .petal { transform: scale(0); transition: transform 1.2s var(--ease); }
.js .hero.is-ready .lotus .petal { transform: none; }
.hero__caption { position: absolute; z-index: 4; left: 13%; width: 64%; bottom: -2%; text-decoration: none; display: grid; justify-items: center; gap: 2px; text-align: center; }
.hero__caption-k { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.hero__caption-v { font-family: var(--f-display); font-size: 21px; font-style: italic; transition: color .3s; }
.hero__caption:hover .hero__caption-v { color: var(--rose); }

/* ---------- strip ---------- */
.strip { background: var(--plum); color: var(--ivory); overflow: hidden; }
.strip__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.strip__track span { display: inline-flex; align-items: center; gap: 36px; padding: 15px 18px; font-family: var(--f-display); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); white-space: nowrap; }
.strip__track span::after { content: "✦"; font-style: normal; color: var(--gold); font-size: 15px; margin-left: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- city edits ---------- */
.cities { padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 70px); }
.city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.city {
  --c-bg: #e4ecf6; --c-deep: #6f8fbf;
  position: relative; display: grid; align-content: start; text-decoration: none; overflow: hidden;
  background: var(--c-bg); border-radius: 999px 999px 18px 18px / 260px 260px 18px 18px;
  padding: clamp(46px, 5vw, 64px) 22px 0; min-height: 420px; text-align: center;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.city::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255, 255, 255, .85); border-radius: inherit; pointer-events: none; z-index: 2; }
.city:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -34px rgba(90, 31, 51, .45); }
.city__title { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--c-deep); font-weight: 500; }
.city__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 2.8vw, 2.7rem); line-height: 1.05; margin: 6px 0 8px; color: var(--plum); }
.city__line { font-size: 14.5px; color: var(--plum-soft); font-weight: 300; max-width: 20em; margin: 0 auto; line-height: 1.5; }
.city__go { margin: 16px auto 0; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; color: var(--plum); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.city__go::after { content: "→"; letter-spacing: 0; transition: transform .35s var(--ease); }
.city:hover .city__go::after { transform: translateX(5px); }
.city__art { margin: auto -22px 0; padding-top: 18px; }
.city__art svg { width: 100%; height: auto; transition: transform 1s var(--ease); }
.city:hover .city__art svg { transform: scale(1.04) translateY(-4px); }

/* skyline motion */
.kite { animation: kite 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.kite:nth-of-type(2n) { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes kite { 50% { transform: translate(8px, -10px) rotate(6deg); } }
.camel { animation: camel 30s linear infinite; }
@keyframes camel { from { transform: translateX(-160px); } to { transform: translateX(900px); } }
.wave { stroke-dasharray: 18 14; animation: wave 3s linear infinite; }
@keyframes wave { to { stroke-dashoffset: -64; } }
.boat { animation: bob 4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes bob { 50% { transform: translateY(-3px) rotate(-2deg); } }
.twinkle { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25; } }

/* ---------- shop ---------- */
.shop { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 44px; }
.filters__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.filters__row > * { min-width: 0; }
.filters__tools { display: flex; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
#catChips { justify-content: center; }
.chip { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chip small { opacity: .6; font-size: 12px; }
.select select, .search input { height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--plum); font: inherit; font-size: 15px; padding: 0 18px; }
.select select { padding-right: 38px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235a1f33' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search input { padding-left: 40px; width: min(290px, 72vw); }
.select select:focus, .search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 137, 59, .2); }
.filters__count { text-align: center; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: clamp(40px, 4vw, 56px) clamp(18px, 2.2vw, 30px); }
.card { position: relative; display: grid; gap: 14px; align-content: start; }
.card.is-hidden { display: none; }
.card__frame { position: relative; }
.card__media { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--marble); -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.1s var(--ease), opacity .7s var(--ease); }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media img.alt { opacity: 1; }
.card__outline { position: absolute; inset: -7px -7px 0; width: calc(100% + 14px); height: calc(100% + 7px); pointer-events: none; overflow: visible; }
.card__outline path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.card:hover .card__outline path, .card:focus-within .card__outline path { stroke-dashoffset: 0; }
.card__badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(251, 247, 240, .95); color: var(--plum); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: 6px 11px; border-radius: 999px; }
.card__badge.is-urgent { background: var(--rose); color: #fff; }
.card__badge.is-urgent::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 7px; vertical-align: 1px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.card__count { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(90, 31, 51, .6); color: var(--ivory); font-size: 12px; padding: 4px 9px; border-radius: 999px; }
.card__quick { position: absolute; left: 50%; bottom: 54px; z-index: 2; transform: translate(-50%, 14px); opacity: 0; transition: opacity .35s, transform .45s var(--ease); }
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: translate(-50%, 0); }
.card__body { display: grid; gap: 3px; }
.card__meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.card__name { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.12; }
.card__name a { text-decoration: none; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.card__name a:hover { background-size: 100% 1px; }
.card__price { font-size: 14.5px; color: var(--plum-soft); }
.card__price b { font-weight: 500; color: var(--plum); }
.card__sizes { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.card__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.card__wa { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--wa-dark); font-weight: 500; font-size: 14px; }
.card__wa svg { width: 18px; height: 18px; }
.card__wa:hover { color: var(--wa); }
.card__view { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.empty { text-align: center; padding: 60px 0; display: grid; gap: 18px; justify-items: center; color: var(--muted); }

/* ---------- order + sizes ---------- */
.order { position: relative; padding: clamp(80px, 10vw, 120px) 0 clamp(150px, 16vw, 230px); background: var(--marble); }
.order::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px; background: radial-gradient(circle at 50% 0, var(--ivory) 20px, transparent 21px) 0 0 / 42px 22px repeat-x; }
.steps { list-style: none; margin: 0 0 clamp(50px, 6vw, 70px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.steps li { background: var(--ivory); border-radius: 160px 160px 18px 18px; padding: 58px 30px 36px; text-align: center; display: grid; gap: 10px; justify-items: center; position: relative; }
.steps li::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-soft); border-radius: inherit; pointer-events: none; }
.steps__n { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); font-family: var(--f-display); font-style: italic; font-size: 30px; color: var(--plum); margin-bottom: 6px; }
.steps h3 { font-family: var(--f-display); font-size: 27px; }
.steps p { color: var(--plum-soft); font-weight: 300; max-width: 22em; }
.sizes { background: var(--ivory); border-radius: 22px; padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 22px; border: 1px solid var(--gold-soft); }
.sizes__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 30px; }
.sizes__head h3 { font-family: var(--f-display); font-size: 34px; }
.sizes__head p { color: var(--muted); font-weight: 300; max-width: 36em; }
.size-table { overflow-x: auto; border-radius: 14px; border: 1px solid var(--gold-soft); background: #fff; }
.size-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.size-table th, .size-table td { padding: 16px 12px; text-align: center; border-right: 1px solid rgba(184, 137, 59, .22); }
.size-table th:last-child, .size-table td:last-child { border-right: 0; }
.size-table thead th { font-weight: 500; letter-spacing: .12em; background: var(--blush-soft); border-bottom: 1px solid rgba(184, 137, 59, .3); }
.size-table tbody td { font-family: var(--f-display); font-weight: 600; font-size: 24px; }
.size-table th[scope="row"] { text-align: left; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.size-table td.plus { font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--rose); }
.sizes__help { color: var(--muted); font-weight: 300; }
.sizes__help a { color: var(--plum); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--blush); padding: clamp(40px, 5vw, 60px) 0 30px; }
.footer__skyline { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(70px, 9vw, 130px); pointer-events: none; }
.footer__skyline svg { width: 100%; height: 100%; }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; }
.footer__brand { display: grid; gap: 16px; justify-items: start; }
.footer__padharo { font-family: var(--f-display); font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: .98; }
.footer__padharo em { color: var(--rose); }
.footer__trans { color: var(--plum-soft); font-weight: 300; max-width: 26em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h3 { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.footer__cols a { display: block; text-decoration: none; padding: 5px 0; color: var(--plum); transition: color .25s, transform .25s var(--ease); }
.footer__cols a:hover { color: var(--rose); transform: translateX(4px); }
.footer__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(90, 31, 51, .15); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--plum-soft); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(18, 140, 69, .55); transition: transform .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: 70px; white-space: nowrap; background: var(--plum); color: var(--ivory); font-size: 13px; padding: 8px 14px; border-radius: 999px; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- product dialog ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(0px, 3vw, 40px); }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(90, 31, 51, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__card { position: relative; width: min(1120px, 100%); height: min(840px, 100%); background: var(--ivory); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); box-shadow: 0 40px 100px -40px rgba(90, 31, 51, .6); opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; background: rgba(251, 247, 240, .95); }
.pm__gallery { background: var(--marble); display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; min-width: 0; }
.pm__stage { position: relative; min-height: 360px; overflow: hidden; touch-action: pan-y; }
.pm__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.03); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.pm__stage img.is-on { opacity: 1; transform: none; }
.pm__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: rgba(251, 247, 240, .95); display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(90, 31, 51, .4); transition: transform .25s var(--ease); }
.pm__nav:hover { transform: scale(1.08); }
.pm__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pm__nav--prev { left: 14px; } .pm__nav--next { right: 14px; }
.pm__counter { position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(90, 31, 51, .6); color: var(--ivory); font-size: 12px; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.pm__thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: thin; }
.pm__thumb { flex: none; width: 62px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .65; transition: opacity .25s, border-color .25s; position: relative; }
.pm__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm__thumb[aria-selected="true"] { border-color: var(--plum); opacity: 1; }
.pm__thumb .n { position: absolute; left: 3px; top: 3px; background: var(--plum); color: #fff; font-size: 10px; border-radius: 4px; padding: 0 4px; }
.pm__info { padding: clamp(24px, 3.4vw, 46px); overflow-y: auto; display: grid; gap: 16px; align-content: start; min-height: 0; min-width: 0; overscroll-behavior: contain; }
.pm__badge { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); font-weight: 500; }
.pm__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.04; padding-right: 40px; }
.pm__price { font-size: 16px; display: flex; align-items: center; gap: 10px; color: var(--plum-soft); }
.pm__price .tag { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; background: var(--blush-soft); color: var(--plum); padding: 5px 10px; border-radius: 999px; font-weight: 500; }
.pm__blurb { color: var(--plum-soft); font-weight: 300; }
.pm__specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; padding: 14px 0; border-block: 1px solid var(--gold-soft); font-size: 15px; }
.pm__specs dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding-top: 3px; }
.pm__specs dd { margin: 0; }
.pm__opt { display: grid; gap: 10px; }
.pm__opt[hidden] { display: none; }
.pm__opt--row { grid-template-columns: 1fr auto; align-items: center; }
.pm__label { font-size: 14px; color: var(--muted); }
.pm__label b { color: var(--plum); font-weight: 500; }
.pm__guide { float: right; font-size: 13px; text-underline-offset: 3px; }
.pm__hint { font-size: 13px; color: var(--muted); margin-top: -6px; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cswatch { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); position: relative; transition: transform .25s var(--ease); }
.cswatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .25s; }
.cswatch:hover { transform: scale(1.08); }
.cswatch[aria-checked="true"]::after { border-color: var(--plum); }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sz { min-width: 58px; padding: 7px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; justify-items: center; line-height: 1.15; transition: all .25s var(--ease); }
.sz b { font-weight: 500; font-size: 15px; }
.sz small { font-size: 11.5px; color: var(--muted); }
.sz:hover { border-color: var(--gold); }
.sz[aria-checked="true"] { background: var(--plum); border-color: var(--plum); color: var(--ivory); }
.sz[aria-checked="true"] small { color: var(--blush); }
.size-row.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pm__error { color: var(--rose); font-size: 13.5px; }
.pm__error:empty { display: none; }
.pm__note { font-size: 14px; color: var(--plum-soft); background: var(--blush-soft); padding: 10px 14px; border-radius: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 40px; font-size: 20px; }
.qty output { min-width: 28px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.pm__actions { display: grid; gap: 10px; margin-top: 4px; }
.pm__assure { font-size: 13px; color: var(--muted); text-align: center; }
.pm__share { display: inline-flex; align-items: center; gap: 8px; justify-self: center; font-size: 13.5px; }
.pm__share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- bag ---------- */
.bag { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.bag__scrim { position: absolute; inset: 0; background: rgba(90, 31, 51, .3); opacity: 0; transition: opacity .4s; }
.bag__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(430px, 100%); background: var(--ivory); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -30px rgba(90, 31, 51, .4); }
.bag.is-open { pointer-events: auto; }
.bag.is-open .bag__scrim { opacity: 1; }
.bag.is-open .bag__panel { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; background: var(--blush); }
.bag__head h2 { font-family: var(--f-display); font-size: 30px; }
.bag__items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.bag__empty { text-align: center; padding: 60px 10px; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.bag__empty svg { width: 66px; height: 88px; }
.bitem { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; animation: slideIn .5s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.bitem img { width: 74px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 37px 37px 8px 8px; }
.bitem h3 { font-family: var(--f-display); font-size: 19px; line-height: 1.2; }
.bitem p { font-size: 13.5px; color: var(--muted); }
.bitem .qty { margin-top: 8px; }
.bitem .qty button { width: 32px; height: 32px; font-size: 17px; }
.bitem__rm { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bag__foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: #fff; }
.bag__summary { font-size: 14px; color: var(--muted); }
.bag__clear { font-size: 13px; color: var(--muted); justify-self: center; text-decoration: underline; text-underline-offset: 3px; }
.bag__foot.is-empty { display: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 16px; right: 16px; margin-inline: auto; width: fit-content; max-width: calc(100% - 32px); bottom: 28px; z-index: 500; transform: translateY(calc(100% + 60px)); visibility: hidden; background: var(--plum); color: var(--ivory); padding: 12px 20px; border-radius: 999px; font-size: 14.5px; box-shadow: 0 16px 40px -14px rgba(90, 31, 51, .5); display: flex; align-items: center; gap: 12px; transition: transform .5s var(--ease), visibility .5s; }
.toast.is-on { transform: none; visibility: visible; }
.toast button { color: var(--blush); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card, .js .city { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease), box-shadow .6s var(--ease); transition-delay: var(--d, 0s); }
.js .card.is-in, .js .city.is-in { opacity: 1; transform: none; }
.js .city.is-in:hover { transform: translateY(-8px); transition-delay: 0s; }
.js .hero__title .word { transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .hero.is-ready .hero__title .word { transform: none; }
.js .hero__big, .js .hero__small-wrap { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.js .hero__small-wrap { transition-delay: .35s; }
.js .hero.is-ready .hero__big, .js .hero.is-ready .hero__small-wrap { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav--left, .header__actions .nav-link { display: none; }
  .header__menu { display: inline-flex; justify-self: start; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; height: auto; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; margin: 0 auto 10px; }
  .hero__caption { display: none; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end center; }
  .modal__card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; border-radius: 22px 22px 0 0; height: auto; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; transform: translateY(100%); }
  .pm__gallery { grid-template-rows: auto auto; }
  .pm__stage { aspect-ratio: 4 / 5; min-height: 0; }
  .pm__info { overflow: visible; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 8px; margin-top: 5px; }
  .announce { font-size: 10.5px; letter-spacing: .18em; }
  .header__wa span, #igLink { display: none; }
  .header__wa { width: 40px; padding: 0; }
  .header__actions { gap: 2px; }
  .hero { padding-top: 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 20px; }
  .city-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 16px; scrollbar-width: none; }
  .city-grid::-webkit-scrollbar { display: none; }
  .city { scroll-snap-align: center; min-height: 380px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .card__name { font-size: 19px; }
  .card__quick, .card__count { display: none; }
  .card__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .card__badge { left: 8px; bottom: 8px; font-size: 9px; padding: 5px 8px; letter-spacing: .1em; }
  .filters__tools { width: 100%; }
  .search { flex: 1; }
  .search input { width: 100%; }
  #cityChips { flex: 1 1 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; min-width: 0; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  #catChips { justify-content: flex-start; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .wa-float__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .strip__track { animation: none; }
}
