/* ============================================
   UYXOERA design system
   Colors: ink #1B1830, coral #F05A43, teal #12877C,
           yellow #F5C451, cream bg #F7F5FA, card #FFFDF7
   Fonts: Space Grotesk (headings), Inter (body)
   ============================================ */

:root {
  --ink: #1B1830;
  --ink-70: rgba(27,24,48,0.7);
  --ink-60: rgba(27,24,48,0.6);
  --ink-45: rgba(27,24,48,0.45);
  --coral: #F05A43;
  --teal: #12877C;
  --yellow: #F5C451;
  --bg: #F7F5FA;
  --card: #FFFDF7;
  --line: rgba(27,24,48,0.10);
  --line-strong: rgba(27,24,48,0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.h-font { font-family: 'Space Grotesk', 'Arial Black', sans-serif; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 64px; padding-right: 64px; }

.eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--coral);
}

.hard-shadow { box-shadow: 7px 7px 0 var(--coral); }
.hard-shadow-teal { box-shadow: 6px 6px 0 var(--teal); }
.hard-shadow-sm { box-shadow: 5px 5px 0 var(--coral); }

.card { background: var(--card); border: 1px solid var(--line); }

.stars { color: var(--yellow); font-size: 14px; letter-spacing: 2px; }
.stars.empty { color: rgba(27,24,48,0.25); }

.badge-pill {
  background: rgba(27,24,48,0.05); border: 1px solid rgba(27,24,48,0.12);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.badge-pill.teal { background: rgba(18,135,124,0.10); border-color: rgba(18,135,124,0.25); color: var(--teal); }
.badge-pill.coral { background: rgba(240,90,67,0.08); border-color: rgba(240,90,67,0.2); color: var(--coral); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  padding: 16px 28px; border: none; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-cta { background: var(--coral); color: var(--ink); }
.btn-link {
  font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--ink);
  padding-bottom: 2px; display: inline-flex; align-items: center; gap: 6px;
}
.btn-link.on-dark { border-bottom-color: var(--bg); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--ink); color: var(--ink);
  font-weight: 700; padding: 14px 26px; font-size: 14px;
}

.placeholder-art {
  border: 1.5px dashed rgba(27,24,48,0.22);
  background: repeating-linear-gradient(135deg, rgba(27,24,48,0.035) 0px, rgba(27,24,48,0.035) 10px, transparent 10px, transparent 20px);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.tag-ref {
  position: absolute; top: 10px; right: 10px; background: rgba(27,24,48,0.85);
  color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 4px;
}

/* ---------- Announcement bar + header ---------- */
.announce {
  background: var(--ink); padding: 10px 64px; display: flex;
  justify-content: center; gap: 36px; flex-wrap: wrap;
}
.announce span { color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }

header.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px; border-bottom: 1px solid var(--line);
  background: var(--bg); position: relative; z-index: 40;
}
.logo { font-size: 24px; font-weight: 700; letter-spacing: 0.02em; }
.navlinks { display: flex; gap: 36px; font-size: 14px; font-weight: 600; align-items: center; }
.navlinks a.active { color: var(--coral); }
.navdrop { position: relative; }
.navdrop > span { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.navdrop-panel {
  position: absolute; top: calc(100% + 14px); left: 0; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 16px 32px rgba(27,24,48,0.12);
  min-width: 200px; padding: 10px; display: none; flex-direction: column; gap: 2px;
}
.navdrop.open .navdrop-panel { display: flex; }
.navdrop-panel a { padding: 10px 14px; font-weight: 600; font-size: 14px; border-radius: 4px; }
.navdrop-panel a:hover { background: rgba(27,24,48,0.05); }
.navdrop-panel a.soon { opacity: 0.5; pointer-events: none; display:flex; justify-content:space-between; gap:10px; }

.cart-pill {
  background: var(--ink); color: var(--bg); border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px; border: none;
}
.nav-toggle { display: none; }

/* mobile nav */
@media (max-width: 900px) {
  .wrap, header.site-header, .announce { padding-left: 20px; padding-right: 20px; }
  .navlinks { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 18px; }
  .navlinks.open { display: flex; }
  .navlinks a, .navdrop { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .navdrop-panel { position: static; box-shadow: none; border: none; padding: 4px 0 0 12px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); order: 3;
  }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding: 72px 64px 56px; align-items: stretch;
}
.hero h1 { margin: 0; font-size: 58px; line-height: 1.03; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-copy p { font-size: 17px; color: var(--ink-70); max-width: 420px; line-height: 1.5; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.trust-mini { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.trust-mini-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
/* Hero photo fills the full column height (stretched row + object-fit:cover)
   instead of sitting at its own aspect-ratio, which left a frame of bare
   background above/below/beside it whenever the copy column ran taller. */
.hero-art { height: 100%; min-height: 360px; overflow: hidden; padding: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink); padding: 26px 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.trust-strip .rating { color: var(--bg); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.trust-strip .rating span.sub { color: rgba(247,245,250,0.7); font-weight: 600; font-size: 13px; }
.trust-strip .items { display: flex; gap: 30px; flex-wrap: wrap; }
.trust-strip .items span { color: var(--bg); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* ---------- Press start / feature row ---------- */
/* One bordered strip (not four loose items on bare background) so the row
   reads as a single component, matching the card language used everywhere
   else on the page; a vertical rule between items (not each item's own
   card) keeps it feeling like one continuous strip. */
.feature-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 64px 56px; border: 1px solid var(--line); background: var(--card);
}
.feature-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 24px; border-left: 1px solid var(--line);
}
.feature-item:first-child { border-left: none; }
.feature-item .icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: rgba(240,90,67,0.1); display:flex; align-items:center; justify-content:center; }
.feature-item .copy { display: flex; flex-direction: column; gap: 4px; }
.feature-item .label { font-weight: 700; font-size: 14px; }

/* ---------- Section heading ---------- */
.section { padding: 56px 64px; }
.section h2.h-font { font-size: 36px; margin: 10px 0 34px; }
.section-head-row { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.cat-card .spacer { flex: 1; }
.cat-card.soon { background: var(--ink); color: var(--bg); }
.cat-card.soon .badge-pill { background: rgba(255,253,247,0.12); border-color: rgba(255,253,247,0.25); color: var(--bg); }
.cat-card.soon p { font-size: 13px; color: rgba(255,253,247,0.65); line-height: 1.5; margin: 0; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; }
/* Real product photos are square on the live catalog — aspect-ratio (not a
   fixed height) keeps them shown at their true 1:1 proportion, with the
   dashed placeholder-art box falling back to the old fixed height only
   when there's no real photo yet. */
.product-card .art { display: block; overflow: hidden; position: relative; }
.product-card .art.placeholder-art { height: 240px; }
.product-card .art:not(.placeholder-art) { aspect-ratio: 1 / 1; }
.product-card .art img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.product-card .top-row { display: flex; justify-content: space-between; align-items: flex-start; }
.product-card .cat-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-45); }
.product-card .name { font-size: 20px; font-weight: 700; }
.product-card .rating-row { display: flex; align-items: center; gap: 8px; }
.product-card .rating-row .count { font-size: 12px; color: var(--ink-60); font-weight: 600; }
.product-card .buy-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.product-card .price { font-size: 22px; font-weight: 700; }
.product-card .btn { padding: 12px 20px; font-size: 13px; }
.product-card .details-link { font-size: 13px; font-weight: 700; margin-top: 4px; display:inline-flex; align-items:center; gap:6px; }

.coming-slot {
  border: 1.5px dashed rgba(27,24,48,0.22); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center;
}
.coming-slot p { font-size: 12px; color: var(--ink-60); max-width: 200px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 { font-size: 34px; margin: 10px 0 20px; line-height: 1.15; }
.about-grid p.lede { font-size: 15px; line-height: 1.7; color: var(--ink-70); max-width: 480px; }
.matters-item { display: flex; gap: 18px; align-items: center; margin-bottom: 34px; }
.matters-item .matters-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: rgba(240,90,67,0.1); display: flex; align-items: center; justify-content: center;
}
.matters-item .num { color: var(--coral); font-size: 20px; font-weight: 700; }
.matters-item .label { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: var(--bg); padding: 64px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
}
.cta-band h2 { font-size: 32px; margin: 0; max-width: 520px; }

.mini-help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 64px 56px; }
.mini-help-card { border: 1px solid var(--line); background: var(--card); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.mini-help-card .num { color: var(--coral); font-weight: 700; font-size: 14px; }
.mini-help-card .title { font-weight: 700; font-size: 17px; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--line); margin-top: 20px; }
.footer-top {
  padding: 56px 64px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; border-bottom: 1px solid var(--line);
}
.footer-top .brand-blurb { font-size: 13px; color: var(--ink-60); line-height: 1.6; max-width: 280px; }
.footer-top .colhead { font-weight: 700; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-top .collinks { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-70); }
.footer-bottom { padding: 20px 64px 40px; display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-60); flex-wrap: wrap; gap: 10px; }

/* ---------- Generic inner page header ---------- */
.page-head { padding: 48px 64px 20px; }
.page-head h1 { font-size: 42px; margin: 10px 0 6px; }
.page-head p.sub { font-size: 14px; color: var(--ink-60); }

.tab-row { padding: 0 64px 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.tab {
  padding: 12px 20px; font-weight: 700; font-size: 14px;
  border: 1px solid rgba(27,24,48,0.15); border-radius: 999px; background: transparent; color: var(--ink);
}
.tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tab.soon { opacity: 0.45; display: flex; align-items: center; gap: 8px; cursor: default; }
.tab .soon-tag { font-size: 10px; background: rgba(27,24,48,0.08); padding: 2px 6px; border-radius: 6px; }

/* ---------- Prose / policy pages ---------- */
.prose { padding: 20px 64px 72px; max-width: 820px; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; line-height: 1.75; color: var(--ink-70); }
.prose ul { padding-left: 20px; }
.placeholder-legal {
  border: 1.5px dashed var(--coral); background: rgba(240,90,67,0.06);
  padding: 16px 20px; color: var(--coral); font-weight: 700; font-size: 14px; margin: 20px 0;
}

/* ---------- Forms ---------- */
.form-card { max-width: 520px; padding: 36px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 13px; }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line-strong); background: #fff; padding: 14px 16px;
  font-size: 14px; font-family: inherit; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-actions { margin-top: 8px; }
.form-tabs { display: flex; gap: 10px; margin-bottom: 24px; }
.form-tab { flex: 1; text-align: center; padding: 14px; font-weight: 700; font-size: 14px; border: 1.5px solid var(--line-strong); background: transparent; }
.form-tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 40px 64px 20px; }
.pd-gallery-main { margin-bottom: 14px; overflow: hidden; position: relative; }
.pd-gallery-main:not(.placeholder-art) { aspect-ratio: 1 / 1; padding: 0; }
.pd-gallery-main.placeholder-art { height: 420px; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-thumbs .thumb { width: 70px; height: 70px; overflow: hidden; cursor: pointer; padding: 0; }
.pd-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumbs .thumb.active { border-color: var(--ink); border-width: 2px; }
.pd-title { font-size: 34px; margin: 4px 0 10px; }
.pd-price { font-size: 28px; font-weight: 700; margin: 14px 0; }
.pd-bullets { padding-left: 18px; font-size: 14px; color: var(--ink-70); line-height: 1.8; }
.qty-row { display: flex; align-items: center; gap: 18px; margin: 20px 0; }
.qty-box { display: flex; align-items: center; border: 1.5px solid var(--line-strong); }
.qty-box button { background: none; border: none; width: 40px; height: 44px; font-size: 18px; font-weight: 700; }
.qty-box input { width: 46px; text-align: center; border: none; font-size: 15px; font-weight: 700; background: transparent; }
.option-row { margin: 18px 0; }
.option-row .opt-values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.opt-chip { padding: 10px 16px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: 13px; cursor: pointer; }
.opt-chip.active { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pd-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); padding: 0 64px; margin-top: 40px; }
.pd-tab { padding: 16px 0; font-weight: 700; font-size: 14px; color: var(--ink-60); border-bottom: 2px solid transparent; background: none; border-top: none; border-left: none; border-right: none; }
.pd-tab.active { color: var(--ink); border-bottom-color: var(--coral); }
.pd-tab-panel { padding: 30px 64px 64px; display: none; }
.pd-tab-panel.active { display: block; }

/* ---------- Cart page ---------- */
.cart-line { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 90px; height: 90px; }
.cart-line .name { font-weight: 700; font-size: 15px; }
.cart-line .meta { font-size: 12px; color: var(--ink-60); margin-top: 4px; }
.cart-line .remove { font-size: 12px; font-weight: 700; color: var(--coral); margin-top: 8px; background: none; border: none; padding: 0; }
.cart-summary { padding: 24px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--ink-70); }
.summary-row.total { font-size: 18px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.empty-state { text-align: center; padding: 80px 20px; }

/* ---------- Track order result ---------- */
.track-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 30px; }
.track-step { display: flex; gap: 16px; padding-bottom: 28px; position: relative; }
.track-step:not(:last-child)::before { content:''; position:absolute; left:11px; top:26px; bottom:-2px; width:2px; background:var(--line-strong); }
.track-step .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg); flex-shrink:0; }
.track-step.done .dot { background: var(--teal); border-color: var(--teal); }
.track-step .label { font-weight: 700; font-size: 14px; }
.track-step .date { font-size: 12px; color: var(--ink-60); margin-top: 2px; }

@media (max-width: 900px) {
  .hero, .about-grid, .pd-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 40px 20px; gap: 32px; }
  .hero-copy { padding-right: 20px; }
  .hero h1 { font-size: 38px; }
  /* Full-bleed on mobile: breaks out of .hero's own side padding (negative
     margin equal to it) so the photo runs flush to the viewport edges,
     matching the full-width bands above/below it, instead of floating with
     a page-background margin on both sides. */
  .hero-art { height: 320px; width: 100vw; margin-left: -20px; border: none; }
  .trust-strip { padding: 20px; flex-direction: column; align-items: flex-start; }
  .feature-row { grid-template-columns: 1fr 1fr; padding: 40px 20px; }
  .section, .page-head, .prose, .pd-grid, .footer-top, .footer-bottom, .cta-band, .mini-help-grid, .tab-row, .pd-tabs, .pd-tab-panel {
    padding-left: 20px; padding-right: 20px;
  }
  .cat-grid, .product-grid, .product-grid.cols-3, .footer-top, .mini-help-grid { grid-template-columns: 1fr; }
  .section h2.h-font { font-size: 26px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cart-line { grid-template-columns: 70px 1fr; }
  .cart-line .qty-box, .cart-line .line-total { grid-column: 2; }
}
