/* ===== MK CLOSET — Shared Styles ===== */
:root {
  --black: #111111;
  --gold: #D4AF37;
  --gold-soft: #c9a635;
  --offwhite: #F5F2EE;
  --beige: #B9A996;
  --warm-gray: #8E7D66;
  --ink: #1a1a1a;
  --muted: #6d6257;
  --line: rgba(17, 17, 17, 0.08);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-script: "Allura", "Pinyon Script", "Dancing Script", cursive;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----- Typography helpers ----- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold);
}

/* ----- Top announcement bar ----- */
.announce {
  background: var(--black);
  color: var(--offwhite);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}
.announce span { color: var(--gold); }

/* ----- Header / Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 242, 238, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-links a { position: relative; padding: 6px 0; transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -2px;
  width: 16px; height: 1px;
  background: var(--gold);
}

.brand {
  text-align: center;
  line-height: 1;
  cursor: pointer;
}
.brand .mk {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
}
.brand .closet {
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--gold);
  display: inline-block;
  margin-left: 2px;
  transform: translateY(3px);
}
.brand .tag {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.38em;
  color: var(--warm-gray);
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}
.nav-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.nav-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.nav-icon svg { width: 16px; height: 16px; }

/* ----- Heart ornament ----- */
.heart {
  display: inline-block;
  width: 10px; height: 10px;
  position: relative;
  color: var(--gold);
}
.heart::before, .heart::after {
  content: "";
  position: absolute;
  width: 6px; height: 9px;
  background: currentColor;
  border-radius: 50% 50% 0 0;
  top: 0;
}
.heart::before { left: 5px; transform: rotate(45deg); transform-origin: 0 100%; }
.heart::after  { left: 0;  transform: rotate(-45deg); transform-origin: 100% 100%; }
.heart.outline::before, .heart.outline::after {
  background: transparent;
  box-shadow: inset 0 0 0 1px currentColor;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--offwhite);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 10px 30px -18px rgba(212, 175, 55, 0.85);
}
.btn--gold:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--offwhite);
  box-shadow: 0 14px 40px -18px rgba(17, 17, 17, 0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--black);
}
.btn--ghost:hover {
  background: var(--black);
  color: var(--offwhite);
}
.btn--lg { padding: 20px 40px; font-size: 12px; }
.btn--sm { padding: 11px 20px; font-size: 10px; letter-spacing: 0.22em; }

/* ----- Placeholder image (striped, with caption) ----- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(185, 169, 150, 0.18) 0 2px,
      rgba(185, 169, 150, 0.06) 2px 12px
    ),
    linear-gradient(180deg, #e8e1d6 0%, #d9cfbf 100%);
  overflow: hidden;
  color: var(--warm-gray);
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 16px 0;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  opacity: 0.85;
}
.ph.dark {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(212, 175, 55, 0.08) 0 2px,
      rgba(212, 175, 55, 0.02) 2px 12px
    ),
    linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
  color: rgba(212, 175, 55, 0.7);
}
.ph.dark::after { color: rgba(212, 175, 55, 0.65); }
.ph.ph--filled::after { display: none; }
.ph.ph--filled { background-image: none; }

/* ----- Storefront: sold-out + dynamic card states ----- */
.product-card .media { position: relative; }
.product-card .media img.pimg {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .media img.pimg { transform: scale(1.04); }
.product-card.is-out .media::after {
  content: "Esgotado";
  position: absolute; inset: 0;
  background: rgba(245, 242, 238, 0.72);
  color: var(--black);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  z-index: 3;
}
.product-card.is-out .media .ph,
.product-card.is-out .media img.pimg { filter: grayscale(0.6) brightness(1.02); }
.product-card .quick { border: none; width: 100%; font-family: var(--font-sans); }
.product-card .quick.notify { background: var(--warm-gray); }
.cat-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
}
.filters .sizes button.on, .filters .colors button.on { cursor: pointer; }
.chip { cursor: default; }
.chip button { background: none; border: none; cursor: pointer; color: var(--gold); padding: 0 0 0 6px; }

/* ----- Section scaffolding ----- */
.section { padding: 100px 32px; }
.section--tight { padding: 60px 32px; }
.container { max-width: 1400px; margin: 0 auto; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-head .sub {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
}

/* ----- Product card ----- */
.product-card {
  position: relative;
  cursor: pointer;
}
.product-card .media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.product-card .media .ph {
  width: 100%; height: 100%;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .media .ph { transform: scale(1.04); }
.product-card .tag-new,
.product-card .tag-sale {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--offwhite);
  color: var(--black);
  font-size: 9px;
  letter-spacing: 0.26em;
  padding: 6px 10px;
  text-transform: uppercase;
  z-index: 2;
}
.product-card .tag-sale { background: var(--black); color: var(--gold); }
.product-card .quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  color: var(--offwhite);
  padding: 14px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform .45s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.product-card:hover .quick { transform: translateY(0); }
.product-card .quick svg { width: 14px; height: 14px; fill: var(--gold); }

.product-card .cat {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 6px;
}
.product-card .name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.005em;
}
.product-card .price {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.product-card .price .old {
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.product-card .price .new { color: var(--gold); font-weight: 500; }
.product-card .swatches {
  display: flex; gap: 6px; margin-top: 10px;
}
.product-card .swatches i {
  width: 12px; height: 12px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  display: block;
}

/* ----- Floating WhatsApp ----- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -14px rgba(212, 175, 55, 0.6), 0 6px 16px rgba(0,0,0,0.15);
  transition: all .35s var(--ease);
  animation: pulse 2.6s ease-in-out infinite;
}
.wa-float:hover {
  transform: translateY(-2px);
  background: var(--black);
  color: var(--gold);
}
.wa-float svg { width: 28px; height: 28px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 20px 40px -14px rgba(212, 175, 55, 0.6), 0 6px 16px rgba(0,0,0,0.15), 0 0 0 0 rgba(212, 175, 55, 0.35); }
  50%      { box-shadow: 0 20px 40px -14px rgba(212, 175, 55, 0.6), 0 6px 16px rgba(0,0,0,0.15), 0 0 0 14px rgba(212, 175, 55, 0.0); }
}

/* ----- Footer ----- */
footer {
  background: var(--black);
  color: var(--offwhite);
  padding: 80px 32px 32px;
}
.foot-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
footer h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; font-size: 13px; color: rgba(245, 242, 238, 0.8); }
footer ul li a:hover { color: var(--gold); }
.foot-brand .mk {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--offwhite);
  letter-spacing: 0.02em;
}
.foot-brand .closet {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--gold);
  margin-left: 4px;
}
.foot-brand p {
  margin-top: 16px;
  color: rgba(245, 242, 238, 0.65);
  font-size: 13px;
  max-width: 320px;
}
.foot-sub {
  max-width: 1400px;
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 242, 238, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.5);
}
.foot-sub .heart { color: var(--gold); transform: translateY(1px); }

/* ----- Mobile ----- */
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .nav-links { display: none; }
  .brand .mk { font-size: 24px; }
  .brand .closet { font-size: 18px; }
  .section { padding: 64px 20px; }
  .section-head { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 32px; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-sub { flex-direction: column; text-align: center; gap: 10px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
@media (max-width: 520px) {
  .foot-inner { grid-template-columns: 1fr; }
}

/* ----- Product: trust badges ----- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.trust { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }
.trust b { display: block; font-size: 12px; letter-spacing: 0.02em; }
.trust span { display: block; font-size: 11px; color: var(--muted); }
@media (max-width: 520px) {
  .trust-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ----- Product: size guide modal ----- */
.size-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(17,17,17,0.82);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.size-modal.on { display: flex; }
.size-box {
  background: var(--offwhite); max-width: 520px; width: 100%;
  padding: 40px; position: relative; max-height: 88vh; overflow-y: auto;
}
.size-close {
  position: absolute; top: 14px; right: 18px;
  font-size: 26px; color: var(--warm-gray); background: none; border: none; cursor: pointer;
}
.size-box h3 {
  font-family: var(--font-display); font-size: 30px; font-weight: 400;
  margin-bottom: 22px; letter-spacing: -0.01em;
}
.size-table { width: 100%; border-collapse: collapse; }
.size-table th {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--warm-gray); font-weight: 500; text-align: left;
  padding: 10px 12px; border-bottom: 1px solid var(--black);
}
.size-table td {
  padding: 12px; font-size: 14px; border-bottom: 1px dashed var(--line);
  font-family: 'JetBrains Mono', monospace;
}
.size-table td:first-child { font-family: var(--font-display); font-size: 17px; color: var(--gold); }
.size-note {
  margin-top: 18px; font-family: var(--font-serif); font-style: italic;
  font-size: 15px; color: var(--muted); line-height: 1.55;
}

/* ----- Product: mobile sticky buy bar ----- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--offwhite);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -16px rgba(17,17,17,0.3);
  padding: 12px 16px;
  display: none; align-items: center; gap: 14px;
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.sticky-buy.show { transform: translateY(0); }
.sb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sb-name { font-family: var(--font-display); font-size: 16px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-price { font-size: 13px; color: var(--gold); letter-spacing: 0.02em; }
.sb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--black); border: none;
  padding: 14px 22px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; flex-shrink: 0;
}
.sb-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .sticky-buy { display: flex; }
  .wa-float { bottom: 84px; }
}

/* ----- Official logo lockups ----- */
.brand-logo { height: 54px; width: auto; display: block; }
.foot-logo { height: 90px; width: auto; display: block; margin-bottom: 4px; }
@media (max-width: 900px) {
  .brand-logo { height: 44px; }
  .foot-logo { height: 78px; }
}

/* ====================================================================
   REDESIGN 2.0 — "MK Editorial"  (overrides; loaded last so it wins)
   Modern feminine boutique: airy, asymmetric, refined gold hairlines.
   ==================================================================== */

/* --- Reveal-on-scroll (subtle, elegant) --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.r-left { transform: translateX(-28px); } .reveal.r-left.in { transform: none; }
.reveal.r-scale { transform: scale(1.04); opacity: 0; } .reveal.r-scale.in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --- Announcement bar: thinner, refined --- */
.announce { padding: 9px 16px; font-size: 10px; letter-spacing: 0.34em; background: var(--black); }
.announce span { color: var(--gold); margin: 0 4px; }

/* --- Nav: gold hairline, airy --- */
.nav { border-bottom: none; box-shadow: inset 0 -1px 0 rgba(17,17,17,0.06); }
.nav::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); opacity: .5; }
.nav-inner { padding: 16px 40px; }
.nav-links { gap: 34px; font-size: 11px; letter-spacing: 0.26em; }
.nav-links a { font-weight: 500; }
@media (max-width: 900px){ .nav-inner { padding: 12px 18px; } }

/* --- Editorial section label (01 — TITLE with hairline) --- */
.ed-label { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--warm-gray); }
.ed-label .num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 15px; letter-spacing: 0; }
.ed-label::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

/* --- Buttons: refined --- */
.btn { font-size: 10.5px; letter-spacing: 0.3em; padding: 17px 34px; }
.btn--lg { padding: 21px 44px; }
/* Underline link button — editorial CTA */
.btn-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--black);
  padding-bottom: 8px; position: relative;
}
.btn-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(1); transform-origin: left; transition: transform .5s var(--ease); }
.btn-link .arw { transition: transform .4s var(--ease); color: var(--gold); }
.btn-link:hover .arw { transform: translateX(8px); }
.btn-link:hover::after { transform: scaleX(0); transform-origin: right; }
.btn-link.on-dark { color: var(--offwhite); }

/* --- Product card: editorial refinement (home / catalog / suggestions) --- */
.product-card .media { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.product-card .name { font-size: 20px; transition: color .3s var(--ease); display: inline-block; position: relative; }
.product-card .name::after { content:""; position:absolute; left:0; bottom:-3px; height:1px; width:100%; background: var(--gold); transform: scaleX(0); transform-origin:left; transition: transform .45s var(--ease); }
.product-card:hover .name { color: var(--gold); }
.product-card:hover .name::after { transform: scaleX(1); }
.product-card .cat { letter-spacing: 0.3em; }
.product-card .quick {
  background: rgba(17,17,17,0.92); backdrop-filter: blur(2px);
  padding: 15px; font-size: 9.5px; letter-spacing: 0.3em; gap: 9px;
}
.product-card .tag-new, .product-card .tag-sale {
  background: transparent; color: var(--black);
  border: 1px solid var(--black); font-size: 8.5px; letter-spacing: 0.28em; padding: 6px 11px;
  top: 16px; left: 16px;
}
.product-card .tag-sale { border-color: var(--gold); color: var(--gold); background: rgba(17,17,17,0.9); }

/* --- Footer: refined hairline + tracking --- */
footer { padding: 96px 40px 36px; }
footer h4 { letter-spacing: 0.32em; }
.foot-sub { letter-spacing: 0.26em; }

/* --- Marquee ticker (shared) --- */
.mk-ticker { background: var(--black); color: var(--offwhite); padding: 20px 0; overflow: hidden; position: relative; }
.mk-ticker::before, .mk-ticker::after { content:""; position:absolute; left:0; right:0; height:1px; background: rgba(212,175,55,0.25); }
.mk-ticker::before { top: 0; } .mk-ticker::after { bottom: 0; }
.mk-ticker .track { display: inline-flex; gap: 0; white-space: nowrap; animation: mk-scroll 34s linear infinite; }
.mk-ticker .track span { font-family: var(--font-display); font-style: italic; font-size: 20px; padding: 0 30px; display: inline-flex; align-items: center; gap: 60px; }
.mk-ticker .track .dot { color: var(--gold); font-style: normal; }
@keyframes mk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .mk-ticker .track { animation: none; } }
