:root {
  --navy: #262b50;
  --navy-light: #3b4272;
  --white: #ffffff;
  --cream: #f7f7fb;
  --gray: #6b6f8c;
  --border: #e6e6f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 43, 80, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  margin: 0;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-light); }

.btn-primary-inverse {
  background: var(--white);
  color: var(--navy);
}
.btn-primary-inverse:hover { background: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-small {
  padding: 9px 18px;
  font-size: 0.85rem;
  background: var(--navy);
  color: var(--white);
}
.btn-small:hover { background: var(--navy-light); }

/* Announcement bar */
.announce-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 0.8rem;
  padding: 9px 16px;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover { color: var(--navy-light); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  display: inline-flex;
  border-radius: 50%;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b9bde0;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  font-weight: 600;
}
.hero h1 em { font-style: italic; color: #ffd166; }

.hero-sub {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cfd2ec;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.hero .btn-primary { background: var(--white); color: var(--navy); }
.hero .btn-primary:hover { background: #ffd166; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mascot {
  position: relative;
  width: 280px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35));
}

/* Trust bar */
.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: flex;
  justify-content: center;
  padding: 28px 24px;
  gap: 64px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}
.trust-item svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--navy-light); }

/* Section titles */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
}
.section-title.light { color: var(--white); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-light);
}
.section-link:hover { text-decoration: underline; }

/* Products */
.products { padding: 80px 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.product-illustration { width: 46%; height: 46%; }
.product-illustration svg { width: 100%; height: 100%; }

.product-media-link { display: block; }
.product-title-link:hover h3 { text-decoration: underline; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffd166;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.product-info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.product-info .pack { font-weight: 400; color: var(--gray); font-size: 0.85rem; }

.product-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  flex: 1;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.price { font-weight: 700; font-size: 1.05rem; }

/* Story */
.story {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0;
}

.story-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 56px;
}

.story-mascot {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.story-copy p {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cfd2ec;
  max-width: 560px;
}

.story-copy .btn { margin-top: 30px; }

/* Newsletter */
.newsletter {
  padding: 80px 0;
  text-align: center;
}
.newsletter-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
}
.newsletter-sub {
  margin-top: 12px;
  color: var(--navy);
  font-size: 1rem;
}

.newsletter-form {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 14px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  width: 320px;
  max-width: 100%;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--navy); }

.newsletter-success {
  display: none;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.newsletter-success.show { display: block; }

/* Legal pages */
.legal { padding: 56px 0 100px; }

.legal-inner {
  max-width: 720px;
}

.legal-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-light);
  margin-bottom: 24px;
}
.legal-back:hover { text-decoration: underline; }

.legal h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 40px;
}
.legal h1:has(+ .legal-updated) { margin-bottom: 8px; }

.legal-updated {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.legal-section { margin-top: 36px; }
.legal-section:first-of-type { margin-top: 0; }

.legal-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
}
.legal-section p + p { margin-top: 14px; }

.legal-section ul,
.legal-section ol {
  margin: 14px 0 0;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
}
.legal-section li { margin-top: 6px; }
.legal-section li:first-child { margin-top: 0; }
.legal-section li > ul,
.legal-section li > ol { margin-top: 6px; }
.legal-section ul + p,
.legal-section ol + p,
.legal-section p + ul,
.legal-section p + ol { margin-top: 14px; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy-light);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '−';
}

.faq-item:hover { border-color: var(--navy-light); }

.faq-answer {
  margin-top: 14px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray);
}
.faq-answer p + p { margin-top: 12px; }

.faq-answer a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

/* Auth pages */
.auth {
  padding: 64px 0 100px;
  display: flex;
  justify-content: center;
}

.auth-inner {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-card h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
}

.auth-sub {
  margin-top: 10px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.auth-form[hidden] { display: none; }

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.auth-field input,
.auth-field textarea,
.auth-field select {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  outline: none;
  background: var(--white);
  color: var(--navy);
}
.auth-field input:focus,
.auth-field textarea:focus,
.auth-field select:focus { border-color: var(--navy); }
.auth-field textarea { resize: vertical; min-height: 120px; }

.auth-link-inline {
  align-self: flex-end;
  margin-top: -8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-light);
}
.auth-link-inline:hover { text-decoration: underline; }

.auth-submit {
  margin-top: 6px;
  width: 100%;
}

.auth-switch {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--gray);
}
.auth-switch a {
  font-weight: 600;
  color: var(--navy);
}
.auth-switch a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cfd2ec;
  padding-top: 64px;
}

.footer-inner {
  display: flex;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a { font-size: 0.88rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 24px;
  font-size: 0.8rem;
  text-align: center;
  color: #9599c2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.staff-login-link {
  color: #9599c2;
}
.staff-login-link:hover { color: var(--white); }

/* Cart drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(38, 43, 80, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 90;
}
.cart-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px;
  max-width: 92vw;
  background: var(--white);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 30px rgba(38, 43, 80, 0.15);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 6px;
  display: flex;
  border-radius: 50%;
}
.cart-drawer-close:hover { background: var(--cream); }
.cart-drawer-close svg { width: 20px; height: 20px; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 4px 24px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.cart-item-thumb svg {
  width: 60%;
  height: 60%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
}

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

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.cart-qty button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1;
  padding: 2px;
}
.cart-qty span {
  font-size: 0.85rem;
  min-width: 14px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 0.8rem;
  text-decoration: underline;
}
.cart-item-remove:hover { color: var(--navy); }

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
  font-size: 0.9rem;
}

.cart-drawer-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.cart-checkout-btn { width: 100%; }

body.modal-open { overflow: hidden; }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38, 43, 80, 0.5);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  display: flex;
  justify-content: center;
  padding: 100px 20px 20px;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  background: var(--white);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: var(--radius);
  padding: 20px 24px 8px;
  box-shadow: 0 20px 60px rgba(38, 43, 80, 0.25);
  display: flex;
  flex-direction: column;
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
}
.search-input-row svg {
  width: 20px;
  height: 20px;
  color: var(--gray);
  flex-shrink: 0;
}

#searchInput {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  background: none;
}
#searchInput::placeholder { color: var(--gray); }

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 6px;
  display: flex;
  border-radius: 50%;
  flex-shrink: 0;
}
.search-close:hover { background: var(--cream); }
.search-close svg { width: 18px; height: 18px; }

.search-results {
  margin-top: 8px;
  overflow-y: auto;
  padding-bottom: 12px;
}

.search-result-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.search-result-item:hover { background: var(--cream); }

.search-result-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.search-result-thumb svg {
  width: 60%;
  height: 60%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-result-info { flex: 1; min-width: 0; }
.search-result-name { display: block; font-size: 0.9rem; font-weight: 600; }
.search-result-price { display: block; font-size: 0.85rem; color: var(--gray); margin-top: 2px; }

.search-hint,
.search-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 48px; padding-bottom: 48px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 28px; }
  .hero-mascot { width: 200px; }
  .trust-grid { gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner { grid-template-columns: 1fr; text-align: center; }
  .story-copy p { margin-left: auto; margin-right: auto; }
  .footer-inner { gap: 48px; }
}

@media (max-width: 520px) {
  .trust-grid { flex-direction: column; align-items: center; gap: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
}

.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

/* Checkout */
.checkout-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.checkout-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-header .logo img { height: 30px; }

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
}
.checkout-secure svg { width: 18px; height: 18px; color: var(--navy-light); }

.checkout {
  padding: 48px 0 100px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.checkout-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.checkout-section:last-of-type { border-bottom: none; }

.checkout-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.checkout-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.checkout-section-head h2 { margin-bottom: 0; }

.section-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-light);
}
.section-link:hover { text-decoration: underline; }

.checkout-section .auth-field { margin-bottom: 16px; }
.checkout-section .auth-field:last-child { margin-bottom: 0; }

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.checkout-field-row .auth-field { margin-bottom: 0; }

.checkout-field-row-3 { grid-template-columns: 1.4fr 1fr 1fr; }

.checkout-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.checkout-radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
}

.checkout-radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.checkout-radio-label em { color: var(--gray); font-style: normal; }
.checkout-radio-label input { accent-color: var(--navy); width: 17px; height: 17px; }

.checkout-radio-price { font-weight: 600; }

.checkout-submit {
  width: 100%;
  margin-top: 8px;
}

.checkout-legal {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  line-height: 1.6;
}
.checkout-legal a { color: var(--navy-light); font-weight: 600; }
.checkout-legal a:hover { text-decoration: underline; }

.checkout-summary {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
}

.checkout-summary h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  max-height: 340px;
  overflow-y: auto;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkout-summary-thumb {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-summary-thumb svg { width: 26px; height: 26px; color: var(--navy); }

.checkout-summary-qty {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-summary-item-info { flex: 1; }

.checkout-summary-item-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.checkout-summary-item-price {
  font-size: 0.9rem;
  font-weight: 600;
}

.checkout-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray);
}

.summary-total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.checkout-confirm {
  padding: 100px 0;
  text-align: center;
}

.checkout-confirm-inner {
  max-width: 480px;
  margin: 0 auto;
}

.checkout-confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-confirm-icon svg { width: 32px; height: 32px; }

.checkout-confirm h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.checkout-confirm-order {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.checkout-confirm p { color: var(--gray); line-height: 1.6; }

.checkout-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.checkout-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray);
}

.checkout-footer-links { display: flex; gap: 20px; }
.checkout-footer-links a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
  .checkout-summary-col { order: -1; }
  .checkout-field-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .checkout-field-row { grid-template-columns: 1fr; }
}

/* Product detail */
.product-breadcrumb {
  padding: 24px 24px 0;
  font-size: 0.85rem;
  color: var(--gray);
}
.product-breadcrumb a { color: var(--navy-light); font-weight: 600; }
.product-breadcrumb a:hover { text-decoration: underline; }

.product-detail { padding: 28px 0 90px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-detail-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.product-detail-illustration { width: 42%; height: 42%; }
.product-detail-illustration svg { width: 100%; height: 100%; }

.product-detail-media .badge { top: 20px; left: 20px; }

.product-detail-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.product-detail-price {
  margin-top: 12px;
  font-size: 1.3rem;
}

.product-detail-desc {
  margin-top: 20px;
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.98rem;
}

.product-detail-features {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-detail-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.5;
}
.product-detail-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

.product-detail-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.qty-selector button {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--navy);
}
.qty-selector button:hover { background: var(--cream); }
.qty-selector span {
  width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.product-detail-add { flex: 1; }

.product-detail-trust {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.product-detail-trust .trust-item { font-size: 0.85rem; }
.product-detail-trust .trust-item svg { width: 20px; height: 20px; }

.related-products { padding-top: 0; }

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Contact */
.contact { padding: 64px 0 100px; }

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 600;
}

.contact-sub {
  margin-top: 14px;
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--navy-light);
  margin-top: 2px;
}

.contact-detail span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-detail a,
.contact-detail p {
  font-size: 0.95rem;
  color: var(--gray);
}
.contact-detail a { color: var(--navy-light); font-weight: 600; }
.contact-detail a:hover { text-decoration: underline; }

.contact-optional {
  font-weight: 400;
  color: var(--gray);
}

.contact-form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form-card .auth-form { margin-top: 0; }

.contact-form-card .checkout-field-row { margin-bottom: 0; }

.contact-success {
  text-align: center;
  padding: 24px 0;
}
.contact-success h2 {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}
.contact-success p {
  margin-top: 10px;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 28px; }
}

/* Staff login */
.staff-body { background: var(--navy); }

.staff-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.staff-auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.staff-auth-logo { display: inline-block; }
.staff-auth-logo img { height: 32px; margin: 0 auto 28px; }

.staff-auth-card h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.staff-auth-sub {
  margin-top: 8px;
  color: var(--gray);
  font-size: 0.9rem;
}

.staff-auth-card .auth-form { margin-top: 28px; }

.staff-auth-back {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-light);
}
.staff-auth-back:hover { text-decoration: underline; }

/* Snipcart — raise above our sticky header (z-index: 50) */
.snipcart-modal__container { z-index: 1000 !important; }
