/* Maya Care Labs — รับผลิตครีม & เครื่องสำอาง — landing styles */
:root {
  /* Pink palette derived from the Maya Care Labs flask logo.
     Variable names kept as-is (emerald/gold) to avoid touching every usage. */
  --ink: #3a1f2e;
  --ink-soft: #7c5a6a;
  --emerald: #e0218a;        /* primary pink */
  --emerald-deep: #a3145e;   /* deep magenta — headings & dark surfaces */
  --emerald-mid: #ec4899;    /* mid pink */
  --gold: #d81b7a;           /* accent (eyebrow, step numbers) — berry pink */
  --gold-soft: #f9a8d4;      /* light pink */
  --cream: #fde6f1;          /* pink-tinted cream */
  --cream-2: #fff5fa;        /* lightest pink background */
  --sage: #fbd9ea;           /* soft pink (product image backdrop) */
  --paper: #ffffff;
  --line-green: #06c755;
  --shadow-sm: 0 6px 18px rgba(140, 20, 80, 0.08);
  --shadow-md: 0 16px 40px rgba(140, 20, 80, 0.12);
  --shadow-lg: 0 28px 70px rgba(140, 20, 80, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --font: "Prompt", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.4em; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--emerald-deep);
  color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 245, 250, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(120, 20, 70, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { border-radius: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; color: var(--emerald-deep); letter-spacing: 0.2px; }
.brand-tag { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.5px; }

.nav { display: flex; align-items: center; gap: 1.45rem; }
.nav a { font-size: 0.95rem; color: var(--ink); font-weight: 500; transition: color 0.2s; }
.nav a:not(.nav-cta):hover { color: var(--emerald); }
.nav-cta {
  background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-deep));
  color: #fff !important; padding: 0.55rem 1.15rem; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer; padding: 10px;
}
.nav-toggle span { height: 2.5px; background: var(--emerald-deep); border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; justify-content: center;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 0; transition: transform 0.18s, box-shadow 0.18s, background 0.2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn .btn-ic { font-size: 1.1em; }
.btn-line { background: linear-gradient(135deg, #08d160, #06b34c); color: #fff; box-shadow: 0 10px 26px rgba(6, 199, 85, 0.32); }
.btn-ghost { background: #fff; color: var(--emerald-deep); box-shadow: var(--shadow-sm); border: 1px solid rgba(120, 20, 70, 0.1); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.6); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-submit { width: 100%; background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-deep)); color: #fff; box-shadow: var(--shadow-sm); margin-top: 0.3rem; }
.btn.lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem;
  padding: 0.3rem 0.85rem; background: rgba(224, 33, 138, 0.10); border-radius: 999px;
}
.eyebrow.center { display: block; width: fit-content; margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(224, 33, 138, 0.14), transparent 60%),
    radial-gradient(900px 480px at -5% 20%, rgba(249, 168, 212, 0.18), transparent 55%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  padding: clamp(2.4rem, 5vw, 4.5rem) 0 clamp(2.8rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); color: var(--emerald-deep); letter-spacing: -0.5px; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--gold), #a3145e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-soft); max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0 1.5rem; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.3rem; padding: 0; margin: 0; }
.hero-trust li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.hero-trust span { font-size: 1.05rem; }
.hero-art img { filter: drop-shadow(0 30px 50px rgba(120, 20, 70, 0.14)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats ---------- */
.stats { margin-top: -1.5rem; position: relative; z-index: 3; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: var(--emerald-deep); border-radius: var(--radius-lg);
  padding: 1.6rem clamp(1rem, 3vw, 2.5rem); box-shadow: var(--shadow-lg);
  background-image: linear-gradient(135deg, #b3175f, #7a0f44);
}
.stat { text-align: center; color: #fff; }
.stat-num { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--gold-soft); }
.stat-num small { font-size: 0.55em; }
.stat-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-soft { background: linear-gradient(180deg, var(--cream), #fff); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: var(--emerald-deep); }
.sec-sub { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(120, 20, 70, 0.06);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(224, 33, 138, 0.12), rgba(249, 168, 212, 0.22));
}
.card h3 { font-size: 1.15rem; color: var(--emerald-deep); }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* ---------- Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.prod {
  background: var(--paper); border-radius: var(--radius-lg); padding: 1.2rem 1.2rem 1.6rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(120, 20, 70, 0.06); text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prod-img {
  background: linear-gradient(180deg, var(--sage), #fdeef6);
  border-radius: var(--radius); padding: 0.6rem; margin-bottom: 1rem;
}
.prod-img img { margin-inline: auto; height: 240px; width: auto; }
.prod h3 { font-size: 1.12rem; color: var(--emerald-deep); margin-bottom: 0.35em; }
.prod p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.prod-more { text-align: center; margin-top: 2rem; color: var(--ink-soft); }
.prod-more a { color: var(--emerald); font-weight: 600; border-bottom: 2px solid var(--gold-soft); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.step {
  position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(120, 20, 70, 0.06);
}
.step-no {
  position: absolute; top: -18px; left: 1.4rem;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--gold), #a3145e); box-shadow: var(--shadow-sm);
}
.step h3 { margin-top: 1rem; font-size: 1.12rem; color: var(--emerald-deep); }
.step p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.why-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.why-copy h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--emerald-deep); }
.why-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.why-list li {
  position: relative; padding-left: 2rem; margin-bottom: 0.95rem; color: var(--ink-soft);
}
.why-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-deep));
}
.why-list strong { color: var(--ink); }

/* ---------- Standards badges ---------- */
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.badge {
  background: var(--paper); border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(120, 20, 70, 0.06);
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
}
.badge-ic {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 0.4rem;
  background: linear-gradient(135deg, rgba(224,33,138,0.12), rgba(249,168,212,0.24));
}
.badge strong { color: var(--emerald-deep); font-size: 1.05rem; }
.badge small { color: var(--ink-soft); font-size: 0.78rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; }
.faq { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--paper); border-radius: var(--radius); border: 1px solid rgba(120, 20, 70, 0.08);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 600;
  color: var(--emerald-deep); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--gold); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background-image: linear-gradient(135deg, #a3145e, #e0218a);
  color: #fff; padding: clamp(3rem, 6vw, 4.8rem) 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; background: rgba(255, 214, 236, 0.16);
}
.cta-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; position: relative; }
.cta-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta-copy p { color: rgba(255, 255, 255, 0.85); max-width: 42ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }

.lead-form {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-lg);
}
.lead-form h3 { color: var(--emerald-deep); font-size: 1.2rem; margin-bottom: 1rem; }
.field { margin-bottom: 0.85rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.3rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1px solid rgba(120, 20, 70, 0.16);
  border-radius: 12px; font-family: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--cream-2); transition: border 0.18s, box-shadow 0.18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald-mid); box-shadow: 0 0 0 3px rgba(224, 33, 138, 0.16); background: #fff;
}
.field textarea { resize: vertical; }
.form-hint { font-size: 0.78rem; color: var(--ink-soft); margin: 0.6rem 0 0; text-align: center; }
.form-hint.ok { color: var(--emerald); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #5e0f3a; color: rgba(255, 255, 255, 0.82); padding-top: 2.6rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; padding-bottom: 1.8rem; }
.foot-brand { display: flex; gap: 0.8rem; align-items: flex-start; }
.foot-brand img { border-radius: 0; }
.foot-brand strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.15rem; }
.foot-brand span { font-size: 0.85rem; }
.foot-links, .foot-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.foot-links a:hover, .foot-contact a:hover { color: var(--gold-soft); }
.foot-contact a { font-weight: 600; color: #fff; }
.foot-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.1rem 1.2rem 1.6rem;
  display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.6);
}

/* ---------- Sticky mobile contact ---------- */
.sticky-contact { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; max-width: 460px; margin-inline: auto; }
  .lead, .hero-trust { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .cards, .prod-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-art { max-width: 480px; margin-inline: auto; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream-2); padding: 1rem 1.4rem 1.6rem; gap: 0.4rem;
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(120, 20, 70, 0.08);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 0.7rem 0.3rem; border-bottom: 1px solid rgba(120, 20, 70, 0.06); }
  .nav-cta { text-align: center; margin-top: 0.4rem; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .cards, .prod-grid, .steps, .badges, .footer-inner { grid-template-columns: 1fr; }
  .step-no { left: 50%; transform: translateX(-50%); }
  .step { text-align: center; padding-top: 1.9rem; }
  .foot-base { justify-content: center; text-align: center; }
  .sticky-contact {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    box-shadow: 0 -8px 24px rgba(120, 20, 70, 0.18);
  }
  .sticky-contact a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.95rem; font-weight: 700; color: #fff; font-size: 0.98rem;
  }
  .sticky-line { background: linear-gradient(135deg, #08d160, #06b34c); flex: 2 !important; }
  .sticky-phone { background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-deep)); }
  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Catalog (index #products + /products/) ============ */
.catalog { margin-top: 0.5rem; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.8rem; }
.cat-chip {
  font-family: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  padding: 0.5rem 1.05rem; border-radius: 999px; border: 1px solid rgba(224, 33, 138, 0.22);
  background: #fff; color: var(--emerald-deep); transition: all 0.18s;
}
.cat-chip:hover { border-color: var(--emerald); }
.cat-chip.active { background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.prod-link { display: block; color: inherit; }
.catalog-grid .prod-img img { height: 200px; width: 100%; object-fit: contain; }
.prod-en { color: var(--ink-soft); font-size: 0.82rem; margin: 0.1em 0 0.3em; }
.prod-price { color: var(--emerald); font-weight: 700; font-size: 1.05rem; margin: 0.2em 0 0; }
.catalog-empty { text-align: center; color: var(--ink-soft); padding: 2rem; }
.cat-title { color: var(--emerald-deep); font-size: 1.3rem; margin: 2.2rem 0 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--gold-soft); }
.cat-title small { color: var(--ink-soft); font-weight: 500; font-size: 0.9rem; }

/* ============ Product detail (/products/<slug>/) ============ */
.pd-wrap { padding-top: 2rem; }
.pd-crumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.pd-crumb a { color: var(--emerald); }
.pd-crumb span { color: var(--ink); }
.pd-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.pd-img {
  background: linear-gradient(180deg, var(--sage), #fdeef6); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 90px;
}
.pd-img img { width: 100%; height: auto; max-height: 460px; object-fit: contain; margin-inline: auto; }
.pd-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--emerald-deep); margin: 0.2em 0 0.1em; }
.pd-en { color: var(--ink-soft); font-size: 1rem; margin: 0 0 0.6em; }
.pd-code { font-size: 0.85rem; color: var(--ink-soft); }
.pd-price { font-size: 1.6rem; font-weight: 700; color: var(--emerald); margin: 0.3em 0 0.6em; }
.pd-price small { font-size: 0.5em; font-weight: 500; color: var(--ink-soft); }
.pd-block { margin: 1.2rem 0; }
.pd-block h2 { font-size: 1.05rem; color: var(--emerald-deep); margin-bottom: 0.3em; }
.pd-block p { color: var(--ink-soft); white-space: pre-line; }
.pd-cta { margin: 1.6rem 0 0.6rem; }
.pd-note { font-size: 0.82rem; color: var(--ink-soft); }
.pd-back { color: var(--emerald); font-weight: 600; }
@media (max-width: 820px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-img { position: static; max-width: 460px; margin-inline: auto; }
}

/* ============ Product code + usage tags + size selector ============ */
.prod-code { color: var(--ink-soft); font-size: 0.78rem; margin: 0.2em 0 0; letter-spacing: 0.3px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.2rem 0 1rem; }
.pd-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3px; color: var(--emerald-deep);
  background: rgba(224, 33, 138, 0.08); border: 1px solid rgba(224, 33, 138, 0.16);
  padding: 0.22rem 0.6rem; border-radius: 999px;
}
.pd-size { margin: 1.4rem 0 0.4rem; }
.pd-size h2 { font-size: 1.05rem; color: var(--emerald-deep); margin-bottom: 0.5em; }
.size-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-opt {
  font-family: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 12px; border: 1.5px solid rgba(224, 33, 138, 0.25);
  background: #fff; color: var(--emerald-deep); transition: all 0.16s;
}
.size-opt:hover { border-color: var(--emerald); }
.size-opt.active { background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-deep)); color: #fff; border-color: transparent; }
.size-input {
  width: 100%; margin-top: 0.7rem; padding: 0.7rem 0.9rem; font-family: inherit; font-size: 0.95rem;
  border: 1px solid rgba(224, 33, 138, 0.25); border-radius: 12px; background: var(--cream-2);
}
.size-input:focus { outline: none; border-color: var(--emerald-mid); box-shadow: 0 0 0 3px rgba(224, 33, 138, 0.14); }
