/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1e0a3c;
  --blue:    #6d28d9;
  --sky:     #9333ea;
  --sky-lt:  #c084fc;
  --white:   #ffffff;
  --offwhite:#faf5ff;
  --gray:    #6b7a8d;
  --border:  #ddd6fe;
  --warn-bg: #fff8e1;
  --warn-bd: #f59e0b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== PAGE SECTIONS (SPA) ===== */
.page-section { display: none; }
.page-section.active { display: block; }

/* ===== AGE GATE ===== */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 60, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#age-gate.hidden { display: none; }

.age-box {
  background: var(--white);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  padding: 2.5rem 2.8rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border-top: 5px solid var(--blue);
}

.shield-icon { font-size: 3rem; margin-bottom: 0.5rem; }

.age-box h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.subtitle {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.age-warning {
  background: var(--warn-bg);
  border: 1.5px solid var(--warn-bd);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: #7a4800;
  margin-bottom: 1.6rem;
  text-align: left;
  line-height: 1.5;
}

.age-warning strong { display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }

.age-checks { text-align: left; margin-bottom: 1.8rem; }

.age-checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}

.age-checks input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue);
  margin-top: 2px;
}

.age-btn-row { display: flex; gap: 0.8rem; }

.btn-enter {
  flex: 1;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-enter:disabled { background: #a78bfa; cursor: not-allowed; }
.btn-enter:not(:disabled):hover { background: #4c1d95; }

.btn-exit {
  flex: 1;
  background: transparent;
  color: var(--gray);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-exit:hover { background: #faf5ff; color: var(--navy); }

/* ===== CART OVERLAY + SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,10,60,0.55);
  z-index: 200;
}

.cart-overlay.hidden { display: none; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,0.2);
  transition: transform 0.28s ease;
}

.cart-sidebar.hidden { transform: translateX(110%); }

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1.5px solid var(--border);
  background: var(--navy);
  color: var(--white);
}

.cart-sidebar-header h3 { font-size: 1.05rem; font-weight: 700; }

.cart-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.cart-close-btn:hover { color: #fff; }

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  color: var(--gray);
  text-align: center;
  margin-top: 3rem;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }

.cart-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.cart-item-amount { font-size: 0.8rem; color: var(--gray); }

.cart-item-price {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
  min-width: 38px;
  text-align: right;
}

.qty-controls { display: flex; align-items: center; gap: 0.4rem; }

.qty-btn {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 24px; height: 24px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  color: var(--navy);
  font-weight: 700;
}

.qty-btn:hover { background: var(--border); }
.qty-display { font-size: 0.88rem; font-weight: 700; min-width: 18px; text-align: center; color: var(--navy); }

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
}

.cart-remove-btn:hover { color: #e53935; }

.cart-sidebar-footer {
  padding: 1.2rem 1.5rem;
  border-top: 2px solid var(--border);
  background: var(--offwhite);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.cart-checkout-link {
  display: block;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-checkout-link:hover { background: #4c1d95; }
.cart-checkout-link.disabled { background: #a78bfa; cursor: not-allowed; pointer-events: none; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 2rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap img {
  height: 133px;
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(255,255,255,0.18));
}

.logo-text {
  display: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--sky);
  transition: width 0.25s;
}

nav a:hover,
nav a.active { color: var(--sky-lt); }

nav a:hover::after,
nav a.active::after { width: 100%; }

.cart-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 0.42rem 0.95rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.cart-btn:hover { background: #4c1d95; }

.cart-count {
  background: var(--white);
  color: var(--blue);
  border-radius: 50%;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.82rem 1.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover { background: #4c1d95; transform: translateY(-1px); color: var(--white); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 2px solid rgba(255,255,255,0.35);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #3b0764 55%, #5b21b6 100%);
  color: var(--white);
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(167,139,250,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { max-width: 780px; margin: 0 auto; position: relative; }

.hero-badge {
  display: inline-block;
  background: rgba(167,139,250,0.18);
  border: 1px solid rgba(192,132,252,0.4);
  color: var(--sky-lt);
  border-radius: 20px;
  padding: 0.35rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero h1 span { color: var(--sky); }

.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== DISCLAIMER BANNER ===== */
.disclaimer-banner {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  text-align: center;
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
}

.disclaimer-banner strong { color: var(--sky-lt); }

/* ===== FEATURES ===== */
.features { padding: 5rem 2rem; background: var(--offwhite); }

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: 0 6px 22px rgba(109,40,217,0.12);
  transform: translateY(-2px);
}

.feature-icon { font-size: 2.2rem; margin-bottom: 0.9rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.55rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray); }

/* ===== ABOUT ===== */
.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.about-text h2 span { color: var(--blue); }
.about-text p { color: var(--gray); font-size: 0.97rem; margin-bottom: 1rem; }
.about-text .btn-primary { margin-top: 1rem; }

.stat-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.stat-item { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num { font-size: 2.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-label { font-size: 0.88rem; color: var(--gray); }

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.contact-strip h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.8rem; }
.contact-strip p { color: rgba(255,255,255,0.78); margin-bottom: 0.4rem; }
.contact-strip a { color: var(--sky-lt); text-decoration: underline; }
.contact-response { font-size: 0.82rem; color: #9aa8b8; margin-top: 1rem; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #3b0764 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem 3.5rem;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.7rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; }

/* ===== RESEARCH NOTICE ===== */
.research-notice { padding: 1.4rem 2rem; background: var(--offwhite); }

.notice-box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--sky);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--gray);
}

.notice-box strong { color: var(--navy); }
.notice-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

/* ===== PRODUCT GRID ===== */
.products {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(109,40,217,0.15);
  transform: translateY(-3px);
}

.product-img-wrap {
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 260px;
}

.product-img-wrap img { max-height: 230px; width: auto; object-fit: contain; }

.product-header { padding: 1.4rem 1.6rem 0.6rem; }

.product-tag {
  display: inline-block;
  background: rgba(109,40,217,0.1);
  color: var(--blue);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.product-header h2 { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 0.2rem; }
.product-alias { font-size: 0.82rem; color: var(--gray); }

.product-body { padding: 0.8rem 1.6rem; flex: 1; }

.product-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }

.meta-chip {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.22rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
}

.product-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 1rem; }

.product-specs {
  list-style: none;
  font-size: 0.84rem;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.spec-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.product-footer {
  padding: 1.2rem 1.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.price-label { display: block; font-size: 0.75rem; color: var(--gray); font-weight: 500; margin-bottom: 0.1rem; }

.btn-add-cart {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-add-cart:hover { background: #4c1d95; transform: translateY(-1px); }

/* ===== CONTACT PAGE ===== */
.contact-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 2.2rem;
}

.contact-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1.5px solid var(--border);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--offwhite);
  font-size: 0.92rem;
}

.contact-row:last-of-type { border-bottom: none; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-weight: 700; color: var(--navy); min-width: 80px; flex-shrink: 0; }
.contact-val { color: var(--gray); }
.contact-val a { color: var(--blue); text-decoration: underline; }

.follow-note { font-size: 0.88rem; color: var(--gray); margin-bottom: 1.2rem; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.social-card:hover {
  border-color: var(--sky);
  box-shadow: 0 4px 14px rgba(109,40,217,0.12);
}

.s-icon { font-size: 1.8rem; }
.s-name { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.s-handle { font-size: 0.8rem; color: var(--gray); }
.s-coming { font-size: 0.72rem; color: var(--sky); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== CHECKOUT ===== */
.checkout-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.checkout-form-col h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.checkout-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  margin-bottom: 1.5rem;
}

.checkout-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.9rem; }

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: var(--white);
  font-family: inherit;
}

.form-field input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(147,51,234,0.12);
}

.checkout-declare { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.4rem; }

.checkout-declare label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--navy);
  cursor: pointer;
}

.checkout-declare input[type="checkbox"] {
  width: 17px; height: 17px;
  flex-shrink: 0;
  accent-color: var(--blue);
  margin-top: 2px;
}

.btn-place-order {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-place-order:hover:not(:disabled) { background: #4c1d95; }
.btn-place-order:disabled { background: #a78bfa; cursor: not-allowed; }

.order-note {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 0.7rem;
  text-align: center;
}

.order-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 180px;
}

.order-summary-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.order-summary-items { padding: 1rem 1.4rem; min-height: 80px; }

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.summary-item:last-child { border-bottom: none; }
.summary-item-name { color: var(--navy); font-weight: 600; }
.summary-item-qty { color: var(--gray); font-size: 0.8rem; }
.summary-item-price { font-weight: 700; color: var(--blue); }

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  border-top: 2px solid var(--border);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  background: var(--offwhite);
}

.empty-cart-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray);
}

.empty-cart-msg a { color: var(--blue); text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 3rem 2rem 2rem;
}

.footer-logo {
  display: block;
  height: 130px;
  width: auto;
  margin: 0 auto 1.4rem;
  opacity: 0.95;
  filter: drop-shadow(0 1px 4px rgba(255,255,255,0.15));
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--sky-lt); }

.footer-copy { font-size: 0.84rem; color: rgba(255,255,255,0.55); margin-bottom: 0.8rem; }

.footer-legal {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== PRODUCT TILES (Store Grid) ===== */
.product-tiles {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
  text-align: center;
}

.product-tile:hover {
  box-shadow: 0 10px 30px rgba(109,40,217,0.15);
  transform: translateY(-3px);
}

.product-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
}

.product-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-tile-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0.9rem 1rem 0.5rem;
  line-height: 1.3;
}

.product-tile-footer {
  padding: 0 1rem 1.2rem;
  width: 100%;
}

.product-tile-footer .btn-add-cart {
  width: 100%;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail-img-wrap {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  aspect-ratio: 1 / 1;
  position: sticky;
  top: 200px;
}

.product-detail-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin-bottom: 1rem;
  transition: color 0.2s;
  font-family: inherit;
}

.product-detail-back:hover { color: #4c1d95; }

.product-detail-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.5rem 0 0.2rem;
  line-height: 1.2;
}

.product-detail-alias {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.product-detail-specs {
  list-style: none;
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.product-detail-price-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.product-detail-price .price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.product-detail-price-row .btn-add-cart {
  flex: 1;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .product-detail-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-img-wrap { position: static; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 768px) {
  nav ul { gap: 1.2rem; }
  .hero { padding: 3rem 1.5rem 2.8rem; }
  .logo-wrap img { height: 100px; }
  .footer-logo { height: 100px; }
  .contact-page { padding: 2rem 1rem; }
}

@media (max-width: 600px) {
  .products { grid-template-columns: 1fr; }
  .product-tiles { grid-template-columns: 1fr; gap: 1.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .age-box { padding: 1.8rem 1.4rem; }
  .age-btn-row { flex-direction: column; }
  .product-detail-price-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .product-detail-price-row .btn-add-cart { width: 100%; }
}

@media (max-width: 520px) {
  nav ul { gap: 1rem; font-size: 0.88rem; }
  .logo-wrap img { height: 80px; }
  .footer-logo { height: 80px; }
}
