/* marketing/shop/assets/shop.css
   Shared styles for xbyzexperience.com/shop pages. */

:root {
  --gold: #C29F5D;
  --soft-white: #F4F1EC;
  --dusty-rose: #D8907D;
  --olive: #7A8C5C;
  --slate-blue: #5C7A8C;
  --charcoal: #1C1C1C;
  --ink: #0c0a08;
  --line: rgba(28, 28, 28, 0.12);
  --theme-accent: var(--dusty-rose); /* overridden per theme page */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--soft-white);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Cormorant Garamond', serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.nav-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; letter-spacing: 0.04em; }
.nav-brand .by { font-family: 'Jost', sans-serif; font-weight: 300; font-size: 0.75em; padding: 0 0.18em; }
.nav-links { display: flex; gap: 1.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.nav-links a.active { color: var(--gold); }

/* Hero */
.hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: italic; }
.hero p { font-size: 1.05rem; color: rgba(28, 28, 28, 0.7); max-width: 520px; margin: 0 auto; }

/* Kit lineup grid */
.grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  padding: 2rem 1.5rem 4rem; max-width: 1100px; margin: 0 auto;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2rem 2rem 5rem; }
}
.kit-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kit-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28,28,28,0.06); }
.kit-img {
  aspect-ratio: 4 / 5; width: 100%;
  background-size: cover; background-position: center; position: relative;
}
.kit-img--recovery { background: linear-gradient(135deg, rgba(216,144,125,0.85), rgba(194,159,93,0.65)); }
.kit-img--goBag { background: linear-gradient(135deg, rgba(122,140,92,0.85), rgba(244,241,236,0.4)); }
.kit-img--travel { background: linear-gradient(135deg, rgba(92,122,140,0.85), rgba(194,159,93,0.45)); }
.kit-img-tag {
  position: absolute; top: 1rem; left: 1rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; background: rgba(28,28,28,0.45); padding: 0.35rem 0.7rem; border-radius: 2px;
}
.kit-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.kit-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 500;
  line-height: 1.15; margin-bottom: 0.35rem;
}
.kit-tag { font-size: 0.95rem; color: rgba(28,28,28,0.65); margin-bottom: 1rem; font-style: italic; font-family: 'Cormorant Garamond', serif; }
.kit-price { font-size: 0.85rem; color: rgba(28,28,28,0.6); letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.kit-price strong { color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.kit-cta {
  margin-top: auto; display: inline-block; padding: 0.85rem 1.25rem;
  background: var(--ink); color: var(--soft-white); text-align: center;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; border-radius: 2px;
}

/* Footer (X by Z standard) */
.xbyz-footer { padding: 3rem 1.5rem 2rem; text-align: center; position: relative; }
.xbyz-footer::before {
  content: ''; display: block; width: 40px; height: 1px;
  background: var(--gold); margin: 0 auto 1.5rem;
}
.xbyz-footer-descriptor {
  font-family: 'Jost', sans-serif; font-weight: 300; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(28,28,28,0.6); margin-bottom: 0.5rem;
}
.xbyz-footer-logo { font-size: 1.5rem; letter-spacing: 0.04em; }
.xbyz-footer-logo .xbyz-serif { font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.xbyz-footer-logo .xbyz-sans { font-family: 'Jost', sans-serif; font-weight: 300; font-size: 0.75em; }

/* Product page (per-theme) */
.product-hero {
  aspect-ratio: 16 / 10; width: 100%; max-height: 70vh;
  background: linear-gradient(135deg, rgba(216,144,125,0.92), rgba(194,159,93,0.55));
  position: relative; margin-top: 1.5rem;
}
.product { padding: 3rem 1.5rem; max-width: 720px; margin: 0 auto; }
.product-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--theme-accent); margin-bottom: 1rem;
}
.product h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 1rem;
}
.product-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.4rem; color: rgba(28,28,28,0.75); margin-bottom: 2rem;
}
.product-story p { font-size: 1.05rem; color: rgba(28,28,28,0.85); margin-bottom: 1.25rem; }
.inside {
  padding: 3rem 1.5rem; background: #fff; max-width: 920px; margin: 0 auto;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.inside-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--theme-accent); margin-bottom: 0.5rem; text-align: center;
}
.inside-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 2.25rem; text-align: center; margin-bottom: 2.5rem;
}
.inside-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  max-width: 600px; margin: 0 auto;
}
@media (min-width: 600px) {
  .inside-grid { grid-template-columns: repeat(4, 1fr); }
}
.inside-item { text-align: center; }
.inside-item-thumb {
  aspect-ratio: 1; background: var(--soft-white);
  border: 1px solid var(--line); margin-bottom: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: rgba(28,28,28,0.3); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.inside-item-name { font-size: 0.85rem; letter-spacing: 0.02em; }
.inside-item-slot {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(28,28,28,0.5); margin-bottom: 0.2rem;
}
.sticky-cta {
  position: sticky; bottom: 0;
  background: var(--ink); color: var(--soft-white);
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08); z-index: 10;
}
.sticky-cta-info { display: flex; flex-direction: column; gap: 0.15rem; }
.sticky-cta-label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(244,241,236,0.6);
}
.sticky-cta-price { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; }
.sticky-cta-btn {
  background: var(--gold); color: var(--ink);
  padding: 0.85rem 1.5rem; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; border-radius: 2px;
}

/* Builder (build.html) — slot cards, bottom sheets, totals panel */
.builder-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--soft-white); border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.builder-header-left { display: flex; align-items: center; gap: 0.75rem; }
.builder-back {
  font-size: 1.5rem; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.builder-back:hover { background: rgba(28,28,28,0.06); }
.builder-eyebrow { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--theme-accent); }
.builder-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; line-height: 1; font-weight: 500; }
.builder-total-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(28,28,28,0.5); }
.builder-total-amount { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; color: var(--ink); }

.builder { max-width: 560px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; }

.slot-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 1rem 1.25rem; margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color 0.2s ease;
}
.slot-card:hover { border-color: var(--theme-accent); }
.slot-thumb {
  width: 56px; height: 56px; flex: 0 0 56px;
  background: var(--soft-white); border: 1px solid var(--line); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(28,28,28,0.5); font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.slot-body { flex: 1; min-width: 0; }
.slot-eyebrow { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(28,28,28,0.55); margin-bottom: 0.15rem; }
.slot-name { font-size: 1rem; letter-spacing: 0.01em; margin-bottom: 0.15rem; color: var(--ink); }
.slot-meta { font-size: 0.78rem; color: rgba(28,28,28,0.55); }
.slot-meta strong { color: var(--theme-accent); font-weight: 500; }
.slot-edit {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(28,28,28,0.5);
}
.slot-edit:hover { background: rgba(28,28,28,0.06); color: var(--ink); }

.addons-trigger {
  width: 100%; padding: 1rem;
  border: 1px dashed var(--line); background: transparent;
  color: rgba(28,28,28,0.7); font-size: 0.9rem; letter-spacing: 0.05em;
  margin: 1.25rem 0; border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.addons-trigger:hover { border-color: var(--theme-accent); color: var(--ink); }
.addons-trigger .plus { font-size: 1rem; margin-right: 0.5rem; color: var(--theme-accent); }

.addon-line {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.25rem; background: #fff;
  border: 1px solid var(--line); border-radius: 4px; margin-bottom: 0.6rem;
}
.addon-line .slot-thumb { width: 44px; height: 44px; flex-basis: 44px; }
.addon-line-body { flex: 1; }
.addon-line-name { font-size: 0.95rem; }
.addon-line-meta { font-size: 0.75rem; color: rgba(28,28,28,0.55); }
.addon-line-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.addon-line-remove {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(28,28,28,0.4); font-size: 1rem;
}
.addon-line-remove:hover { background: rgba(28,28,28,0.08); color: var(--ink); }

.section-header {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(28,28,28,0.5); margin: 2rem 0 0.75rem; text-align: center;
}

.cadence {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 0.5rem; display: flex; flex-direction: column; gap: 0;
}
.cadence-option {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem; border-radius: 4px; cursor: pointer;
  transition: background 0.15s ease;
}
.cadence-option:hover { background: rgba(216,144,125,0.06); }
.cadence-option input { accent-color: var(--theme-accent); width: 18px; height: 18px; }
.cadence-option-label { font-size: 0.95rem; flex: 1; }
.cadence-option-meta { font-size: 0.78rem; color: rgba(28,28,28,0.55); font-style: italic; font-family: 'Cormorant Garamond', serif; }
.cadence-option--selected { background: rgba(216,144,125,0.08); }

.totals {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 1.25rem 1.5rem; margin: 1.5rem 0 0;
}
.totals-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; }
.totals-row + .totals-row { border-top: 1px solid var(--line); }
.totals-label { font-size: 0.85rem; color: rgba(28,28,28,0.7); }
.totals-label strong { color: var(--ink); font-weight: 500; }
.totals-amount { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 0.01em; }
.totals-note { font-size: 0.75rem; color: rgba(28,28,28,0.5); margin-top: 0.5rem; font-style: italic; font-family: 'Cormorant Garamond', serif; }

.continue-btn {
  display: block; width: 100%; padding: 1.2rem;
  margin: 1.5rem 0 0; background: var(--ink); color: var(--soft-white);
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-align: center; border-radius: 2px;
}
.continue-btn:hover { background: var(--theme-accent); }

/* Bottom sheet */
.sheet-scrim {
  position: fixed; inset: 0; background: rgba(28,28,28,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 30;
}
.sheet-scrim.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--soft-white);
  border-top-left-radius: 16px; border-top-right-radius: 16px;
  transform: translateY(100%); transition: transform 0.3s ease;
  z-index: 31; max-height: 85vh; display: flex; flex-direction: column;
}
.sheet.open { transform: translateY(0); }
.sheet-handle { width: 40px; height: 4px; background: rgba(28,28,28,0.2); border-radius: 2px; margin: 0.75rem auto 0; }
.sheet-head {
  padding: 1rem 1.25rem 0.75rem;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.sheet-head-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 500; line-height: 1.1; }
.sheet-head-desc { font-size: 0.85rem; color: rgba(28,28,28,0.65); font-style: italic; font-family: 'Cormorant Garamond', serif; margin-top: 0.25rem; }
.sheet-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: rgba(28,28,28,0.5);
}
.sheet-close:hover { background: rgba(28,28,28,0.08); color: var(--ink); }
.sheet-body { flex: 1; overflow-y: auto; padding: 0.5rem 1.25rem 1rem; }
.sheet-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem; border: 1px solid var(--line); border-radius: 4px;
  margin-bottom: 0.6rem; cursor: pointer; background: #fff;
}
.sheet-option:hover { border-color: var(--theme-accent); }
.sheet-option--selected { border-color: var(--theme-accent); background: rgba(216,144,125,0.05); }
.sheet-option .slot-thumb { width: 48px; height: 48px; flex-basis: 48px; }
.sheet-option-body { flex: 1; }
.sheet-option-name { font-size: 0.95rem; }
.sheet-option-blurb { font-size: 0.78rem; color: rgba(28,28,28,0.6); font-style: italic; font-family: 'Cormorant Garamond', serif; }
.sheet-option-delta {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 500;
  min-width: 60px; text-align: right;
}
.sheet-option-check {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(28,28,28,0.2);
  display: flex; align-items: center; justify-content: center; flex: 0 0 24px;
}
.sheet-option--selected .sheet-option-check {
  background: var(--theme-accent); border-color: var(--theme-accent); color: #fff;
}
.sheet-foot { padding: 1rem 1.25rem; border-top: 1px solid var(--line); background: var(--soft-white); }
.sheet-save {
  display: block; width: 100%; padding: 1rem;
  background: var(--ink); color: var(--soft-white);
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; border-radius: 2px;
}

/* Per-theme accent overrides */
.theme-recovery { --theme-accent: var(--dusty-rose); }
.theme-goBag    { --theme-accent: var(--olive); }
.theme-travel   { --theme-accent: var(--slate-blue); }
