@font-face {
  font-family: 'Joanne Marie';
  src: url('fonts/JoanneMarieScript.woff2') format('woff2'),
       url('fonts/JoanneMarieScript.woff') format('woff'),
       url('fonts/JoanneMarieScript.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0f17;
  --surface: #111827;
  --card: rgba(255,255,255,0.08);
  --text: #f8fafc;
  --muted: #a7b0c0;
  --gold: #f7c948;
  --gold-dark: #d9a921;
  --white: #ffffff;
  --border: rgba(255,255,255,0.14);
  --shadow: 0 25px 70px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Remove 300ms tap delay on mobile */
a, button, input, select, textarea, label { touch-action: manipulation; }

/* Smooth momentum scrolling on iOS for scrollable areas */
.cart-body, .checkout-wrap, .cart-drawer { -webkit-overflow-scrolling: touch; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.6;
}

/* ── Hero background image (top of page only) ── */
.hero-section .hero.container {
  margin-left: 0;
  max-width: none;
  width: calc(100% - 24px);
  padding-left: 24px;
}

.hero-section {
  font-family: 'Joanne Marie', cursive;
  background:
    radial-gradient(circle at top left, rgba(247,201,72,0.18), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.13), transparent 28%),
    linear-gradient(rgba(11,15,23,0.72), rgba(11,15,23,0.72)),
    url('pic/background.png') center / cover no-repeat;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* ── Keyframes ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-64px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(64px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33%     { transform: translateY(-14px) rotate(0.6deg); }
  66%     { transform: translateY(-7px) rotate(-0.4deg); }
}
@keyframes floatBadge {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-6px); }
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 12px 30px rgba(247,201,72,0.22); }
  50%     { box-shadow: 0 12px 55px rgba(247,201,72,0.6), 0 0 0 4px rgba(247,201,72,0.1); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.7); }
  70%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── Scroll animation base ── */
.animate-up,
.animate-left,
.animate-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--delay, 0s);
}
.animate-up    { transform: translateY(52px); }
.animate-left  { transform: translateX(-64px); }
.animate-right { transform: translateX(64px); }

.animate-up.visible,
.animate-left.visible,
.animate-right.visible {
  opacity: 1;
  transform: none;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(11,15,23,0.76);
  border-bottom: 1px solid var(--border);
}
.nav { position: relative; height: 76px; display: flex; align-items: center; gap: 16px; padding: 0 16px; }
.logo { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1); }
.logo:hover { transform: scale(1.06); }
.logo span { color: var(--gold); }
.nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 210px;
  flex-direction: column;
  gap: 3px;
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  z-index: 30;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.nav-links.open { display: flex; animation: fadeInUp 0.22s ease; }
.nav-links a {
  display: block;
  padding: 11px 16px;
  border-radius: 11px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); transform: translateX(4px); }

/* ── Buttons ── */
.nav-cta, .btn, form button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111827;
  font-weight: 800;
  cursor: pointer;
  animation: pulseGlow 3s ease-in-out infinite;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), filter 0.2s;
}
.nav-cta:hover, .btn:hover, form button:hover {
  transform: scale(1.07);
  filter: brightness(1.1);
}
.nav-cta {
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; }
.btn.secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid var(--border);
  animation: none;
  box-shadow: none;
}
.btn.secondary:hover { background: rgba(255,255,255,0.16); transform: scale(1.04); }
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.menu-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(247,201,72,0.45); transform: scale(1.08); }
.menu-btn svg { width: 18px; height: 18px; pointer-events: none; }

/* ── Hero ── */
.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; padding: 70px 0; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin-bottom: 14px; }
h1 { font-size: clamp(2.5rem,6vw,5.4rem); line-height: 0.95; letter-spacing: -0.07em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem,4vw,3.4rem); line-height: 1; letter-spacing: -0.06em; margin-bottom: 16px; }
.hero-text, .section-heading p, .deal-card p, .product-info p { color: var(--muted); }
.hero-text { font-size: 1.12rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; max-width: 580px; margin-left: auto; margin-right: auto; }
.stats div {
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 22px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s;
}
.stats div:hover { transform: translateY(-6px) scale(1.04); border-color: rgba(247,201,72,0.45); }
.stats strong { display: block; font-size: 1.35rem; }
.stats span { color: var(--muted); font-size: 0.88rem; }

.hero-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  animation: float 7s ease-in-out infinite;
}
.hero-card img { width: 100%; height: 620px; object-fit: cover; }
.floating-card {
  position: absolute; left: 22px; bottom: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(11,15,23,0.82);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  animation: floatBadge 3s ease-in-out infinite;
}
.floating-card span { display: block; color: var(--muted); font-size: 0.88rem; }
.floating-card strong { font-size: 1.45rem; }

/* ── Brand strip marquee ── */
.brand-strip { border-block: 1px solid var(--border); background: rgba(255,255,255,0.04); overflow: hidden; }
.strip-inner {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.strip-inner:hover { animation-play-state: paused; }
.strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 48px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color 0.2s;
}
.strip-inner span svg { width: 18px; height: 18px; flex-shrink: 0; }
.strip-inner span:hover { color: var(--white); }

/* ── Shop section ── */
.section { padding: 90px 0; }
.section-heading { text-align: center; max-width: 690px; margin: 0 auto 44px; }

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

/* ── Shopify-style product card ── */
.product-card {
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--border);
  transition:
    transform 0.45s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}
.product-card:hover {
  transform: translateY(-14px) scale(1.02);
  border-color: rgba(247,201,72,0.5);
  box-shadow: 0 40px 90px rgba(0,0,0,0.5), 0 0 0 1px rgba(247,201,72,0.1);
}

/* Image wrapper */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
}
.product-card:hover .product-img-wrap img { transform: scale(1.1); }

/* Badge on image */
.product-img-wrap .tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  margin: 0;
  animation: popIn 0.4s 0.1s both;
}

/* Quick Add slides up from bottom of image */
.quick-add-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border: 0;
  border-radius: 0;
  padding: 16px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111827;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
  animation: none;
}
.product-card:hover .quick-add-btn { transform: translateY(0); }
.quick-add-btn:hover { filter: brightness(1.1); }

/* Product info below image */
.product-info { padding: 20px 22px 22px; }
.tag {
  display: inline-flex;
  padding: 5px 10px;
  background: rgba(247,201,72,0.14);
  color: var(--gold);
  border: 1px solid rgba(247,201,72,0.28);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.product-info h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.product-info p { font-size: 0.88rem; line-height: 1.5; margin-bottom: 18px; }

.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-row strong { font-size: 1.28rem; font-weight: 800; color: var(--gold); }

.add-cart-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  animation: none;
}
.add-cart-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111827;
  border-color: transparent;
  transform: scale(1.04);
}

/* ── Deal section ── */
.deal-section { padding: 40px 0; }
.deal-card {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 46px;
  border-radius: 34px;
  border: 1px solid rgba(247,201,72,0.28);
  background: linear-gradient(135deg, rgba(247,201,72,0.16), rgba(255,255,255,0.06));
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.deal-card:hover { transform: scale(1.015); box-shadow: 0 40px 100px rgba(0,0,0,0.55); }
.deal-card p { max-width: 640px; }


/* ── Newsletter ── */
.newsletter {
  margin-bottom: 80px; padding: 36px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.newsletter:hover { border-color: rgba(247,201,72,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.newsletter form { display: flex; gap: 12px; width: min(440px,100%); }
.newsletter input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.newsletter input:focus { border-color: rgba(247,201,72,0.5); background: rgba(255,255,255,0.12); }
.newsletter input::placeholder { color: var(--muted); }
.newsletter button { padding: 14px 20px; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { padding: 40px 0 32px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }

.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo { font-size: 1rem; text-decoration: none; }
.footer-tagline { font-size: 0.82rem; color: var(--muted); margin: 0; }
.footer-copy { font-size: 0.78rem; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 16px; margin-top: 4px; }
.footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.footer-contacts-title { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-contact-item:is(a):hover { color: var(--white); }
.footer-contact-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,0.06); flex-shrink: 0; }
.footer-contact-icon svg { width: 14px; height: 14px; }

.footer-inner a { transition: color 0.2s; }
.footer-inner a:hover { color: var(--white); }

/* ── Cart Button ── */
.cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.cart-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(247,201,72,0.45); transform: scale(1.1); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111827;
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.cart-count.visible { opacity: 1; transform: scale(1); }

/* ── Cart Overlay ── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

/* ── Cart Drawer ── */
.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: min(420px,100vw); height: 100dvh;
  z-index: 50;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0,0,0,0.45);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cart-head h2 { font-size: 1.1rem; font-weight: 700; }
.cart-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: none; color: var(--muted); cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.25s;
  animation: none;
}
.cart-close:hover { background: rgba(255,255,255,0.08); color: var(--white); transform: rotate(90deg); }
.cart-close svg { width: 17px; height: 17px; }

.cart-body {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.cart-body::-webkit-scrollbar { width: 4px; }
.cart-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; color: var(--muted); text-align: center; padding: 48px 24px;
}
.cart-empty svg { width: 52px; height: 52px; opacity: 0.3; }
.cart-empty p { font-size: 0.95rem; }
.cart-empty a { color: var(--gold); font-weight: 700; transition: opacity 0.2s; }
.cart-empty a:hover { opacity: 0.75; }

.cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  animation: fadeInUp 0.28s ease;
}
.cart-item-img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { color: var(--gold); font-weight: 800; font-size: 0.88rem; margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.06);
  color: var(--white); cursor: pointer; font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s; animation: none;
}
.qty-btn:hover { background: rgba(255,255,255,0.14); border-color: rgba(247,201,72,0.4); }
.qty-value { font-weight: 700; min-width: 22px; text-align: center; font-size: 0.9rem; }
.cart-item-remove {
  background: none; border: none; color: var(--muted);
  cursor: pointer; padding: 4px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s; animation: none;
}
.cart-item-remove:hover { color: #f87171; background: rgba(248,113,113,0.1); }
.cart-item-remove svg { width: 16px; height: 16px; }

.cart-foot {
  padding: 18px 24px; border-top: 1px solid var(--border); flex-shrink: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.cart-subtotal-row { display: flex; justify-content: space-between; align-items: center; }
.cart-subtotal-row span { color: var(--muted); font-size: 0.9rem; }
.cart-subtotal-row strong { font-size: 1.35rem; }
.cart-shipping-note { color: var(--muted); font-size: 0.78rem; text-align: center; }
.cart-checkout-btn { width: 100%; padding: 16px; font-size: 0.95rem; }

/* ── Checkout Modal ── */
.checkout-modal {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.checkout-modal.open { opacity: 1; pointer-events: all; }

.checkout-wrap {
  position: relative; width: min(560px,100%); max-height: 90dvh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 36px; box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.checkout-modal.open .checkout-wrap { transform: none; }
.checkout-wrap::-webkit-scrollbar { width: 4px; }
.checkout-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.checkout-close {
  position: absolute; top: 16px; right: 16px;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: none; color: var(--muted); cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.25s; animation: none;
}
.checkout-close:hover { background: rgba(255,255,255,0.08); color: var(--white); transform: rotate(90deg); }
.checkout-close svg { width: 17px; height: 17px; }
.checkout-wrap > h2 { font-size: 1.5rem; margin-bottom: 22px; }

.checkout-summary {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; margin-bottom: 24px;
}
.checkout-summary-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem;
}
.checkout-summary-item:last-child { border-bottom: none; }
.checkout-summary-item span:first-child { color: var(--muted); }
.checkout-summary-item strong { color: var(--gold); }
.checkout-summary-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  font-weight: 800; font-size: 1.05rem;
}

.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.checkout-form h3 { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-form input {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,0.06); color: var(--white);
  font: inherit; outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.checkout-form input:focus { border-color: rgba(247,201,72,0.5); background: rgba(255,255,255,0.1); }
.checkout-form input::placeholder { color: var(--muted); }
.checkout-form button[type="submit"] { margin-top: 6px; padding: 16px; font-size: 0.95rem; width: 100%; }

.checkout-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px; padding: 24px 0;
}
.checkout-success svg { width: 60px; height: 60px; color: #4ade80; }
.checkout-success h3 { font-size: 1.45rem; }
.checkout-success p { color: var(--muted); }
.checkout-success .btn { margin-top: 8px; padding: 14px 32px; }

/* ── Legal / Privacy Modal ── */
.legal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  padding: 24px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.legal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }

.legal-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%; max-width: 720px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  overflow: hidden;
  margin: auto;
}

.legal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--surface);
  z-index: 1;
}
.legal-head .eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 4px; }
.legal-head h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }

.legal-close {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: none;
  color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s; margin-top: 2px;
}
.legal-close svg { width: 16px; height: 16px; }
.legal-close:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.legal-body {
  padding: 28px 32px 36px;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 0.93rem; line-height: 1.75; color: var(--muted);
}
.legal-effective {
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.legal-body h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--text);
  margin-top: 10px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.legal-body h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-top: 4px; }
.legal-body p { color: var(--muted); }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--gold); text-underline-offset: 3px; }
.legal-body a:hover { opacity: 0.8; }
.legal-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 5px; }
.legal-body ul li::marker { color: var(--gold); }
.legal-consent {
  margin-top: 10px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem; font-style: italic;
}

body.theme-light .legal-wrap { background: #fff; border-color: rgba(0,0,0,0.1); }
body.theme-light .legal-head { background: #fff; border-bottom-color: rgba(0,0,0,0.1); }
body.theme-light .legal-head h2 { color: #111827; }
body.theme-light .legal-close { border-color: rgba(0,0,0,0.12); color: #6b7280; }
body.theme-light .legal-close:hover { background: rgba(0,0,0,0.06); color: #111827; }
body.theme-light .legal-body h3 { color: #111827; border-top-color: rgba(0,0,0,0.08); }
body.theme-light .legal-body h4 { color: #111827; }
body.theme-light .legal-body strong { color: #111827; }
body.theme-light .legal-consent { border-top-color: rgba(0,0,0,0.08); }

/* ── Support modal extras ── */
.support-hours {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.support-hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.support-hours-row:last-child { border-bottom: none; }
.support-hours-row span { color: var(--muted); }
.support-hours-row strong { color: var(--text); }

.support-contacts { display: flex; flex-direction: column; gap: 10px; }
.support-contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: inherit; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
a.support-contact-item:hover { border-color: var(--gold); background: rgba(247,201,72,0.05); }
.support-contact-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(247,201,72,0.1); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.support-contact-icon svg { width: 18px; height: 18px; }
.support-contact-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 2px; }
.support-contact-value { font-size: 0.92rem; font-weight: 600; color: var(--text); }

body.theme-light .support-hours { border-color: rgba(0,0,0,0.1); }
body.theme-light .support-hours-row { border-color: rgba(0,0,0,0.08); }
body.theme-light .support-hours-row strong { color: #111827; }
body.theme-light .support-contact-item { border-color: rgba(0,0,0,0.1); background: rgba(0,0,0,0.02); }
body.theme-light .support-contact-value { color: #111827; }

/* ── Photo count badge on product card ── */
.product-card { cursor: pointer; }
.pd-img-count {
  position: absolute; bottom: 52px; right: 12px;
  background: rgba(8,12,20,0.75); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none; z-index: 3;
}

/* ── Product Detail Overlay ── */
.pd-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pd-overlay.open { display: block; }

.pd-modal { min-height: 100vh; display: flex; flex-direction: column; }

.pd-top-bar {
  display: flex; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  backdrop-filter: blur(12px);
}
.pd-back {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 16px;
  color: var(--text); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; touch-action: manipulation;
  transition: border-color 0.2s, background 0.2s;
}
.pd-back svg { width: 16px; height: 16px; }
.pd-back:hover { border-color: var(--gold); background: rgba(247,201,72,0.06); color: var(--gold); }

.pd-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; max-width: 1040px;
  margin: 0 auto; padding: 44px 40px 60px; width: 100%;
}

.pd-gallery { display: flex; flex-direction: column; gap: 14px; }

.pd-main-wrap {
  position: relative; aspect-ratio: 1;
  border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.pd-main-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.12s;
}
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(8,12,20,0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; touch-action: manipulation;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.75; transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.pd-nav:hover { opacity: 1; background: rgba(247,201,72,0.18); border-color: var(--gold); }
.pd-nav.hidden { display: none; }
.pd-prev { left: 10px; }
.pd-next { right: 10px; }

.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumb {
  width: 66px; height: 66px; border-radius: 8px;
  overflow: hidden; border: 2px solid transparent;
  cursor: pointer; touch-action: manipulation;
  padding: 0; background: none;
  transition: border-color 0.2s, transform 0.18s;
}
.pd-thumb:hover { transform: scale(1.06); }
.pd-thumb.active { border-color: var(--gold); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pd-info { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.pd-info h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.pd-desc { line-height: 1.7; color: var(--muted); font-size: 0.97rem; }
.pd-price { font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.pd-add-btn { padding: 16px 32px; font-size: 1rem; border-radius: 12px; font-weight: 800; }

body.theme-light .pd-top-bar { background: #fff; border-bottom-color: rgba(0,0,0,0.1); }
body.theme-light .pd-back { color: #111827; border-color: rgba(0,0,0,0.15); }
body.theme-light .pd-back:hover { color: #b45309; border-color: #b45309; }
body.theme-light .pd-main-wrap { background: #f9fafb; border-color: rgba(0,0,0,0.1); }
body.theme-light .pd-nav { background: rgba(255,255,255,0.88); color: #111827; border-color: rgba(0,0,0,0.15); }
body.theme-light .pd-desc { color: #6b7280; }

/* ── Tablet ── */
@media (max-width: 1024px) {
  .hero { gap: 32px; }
  .hero-card img { height: 500px; }
}

/* ── Mobile ── */
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 36px; min-height: auto; }
  .hero-section .hero.container { padding-left: 16px; width: calc(100% - 16px); }
  .hero-card { animation: none; }
  .hero-card img { height: 360px; }
  .hero-text { font-size: 1rem; }
  .deal-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; border-radius: 22px; }
  .newsletter, .footer-inner { flex-direction: column; align-items: flex-start; }
  .newsletter form { flex-direction: column; width: 100%; }
  .newsletter input { width: 100%; }
  h1 { letter-spacing: -0.055em; }
  .section { padding: 60px 0; }
  .pd-content { grid-template-columns: 1fr; gap: 24px; padding: 20px 16px 40px; }
  .pd-info h2 { font-size: 1.5rem; }
  .pd-price { font-size: 1.7rem; }
  .pd-add-btn { padding: 14px 24px; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .nav { gap: 8px; padding: 0 12px; }
  .logo { font-size: 1.15rem; }
  .nav-cta { padding: 10px 14px; font-size: 0.82rem; }
  .hero-card img { height: 260px; }
  .stats div { padding: 14px 10px; }
  .stats strong { font-size: 1.1rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { border-radius: 14px; }
  .product-img-wrap { aspect-ratio: 3 / 4; }
  .product-info { padding: 10px 12px 12px; }
  .product-info h3 { font-size: 0.82rem; }
  .product-info p { display: none; }
  .price-row { flex-wrap: wrap; gap: 6px; }
  .price-row strong { font-size: 0.95rem; }
  .add-cart-btn { font-size: 0.75rem; padding: 8px 10px; }
  .quick-add-btn { font-size: 0.72rem; padding: 8px 10px; }
  .tag { font-size: 0.65rem; padding: 4px 8px; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter { padding: 24px; }
  .section { padding: 48px 0; }
  .deal-card { padding: 22px 18px; }
  /* Checkout modal: reduce inner padding so form inputs have room */
  .checkout-wrap { padding: 26px 18px 22px; }
  .checkout-wrap > h2 { font-size: 1.2rem; margin-bottom: 16px; }
  /* Footer stacks cleanly */
  .footer-inner { gap: 28px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}

/* ── Very small phones (iPhone SE, Galaxy A series) ── */
@media (max-width: 360px) {
  .logo { font-size: 1rem; }
  .nav-cta { display: none; }
  h1 { font-size: 2rem; }
  .product-grid { gap: 10px; }
  .checkout-wrap { padding: 20px 14px 18px; }
}

/* ── Theme Toggle Buttons in Nav ── */
.nav-theme-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 8px;
}

/* ── Pill Switch (theme + language) ── */
.nav-pill-switch {
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  margin: 2px 0;
}
.nav-pill-opt {
  flex: 1;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  animation: none;
  white-space: nowrap;
}
.nav-pill-opt:hover { color: var(--white); }
.nav-pill-opt.active {
  background: var(--gold);
  color: #111827;
  box-shadow: 0 2px 8px rgba(247,201,72,0.35);
}
body.theme-light .nav-pill-switch {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
}
body.theme-light .nav-pill-opt { color: #6b7280; }
body.theme-light .nav-pill-opt:hover { color: #111827; }
body.theme-light .nav-pill-opt.active { background: var(--gold); color: #111827; }

/* ── White / Light Theme ── */
body.theme-light {
  background: #f0f2f5;
  color: #111827;
}

body.theme-light .site-header {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(0,0,0,0.09);
  backdrop-filter: blur(16px);
}

body.theme-light .hero-section {
  background:
    radial-gradient(circle at top left, rgba(247,201,72,0.12), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.07), transparent 28%),
    linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
    url('pic/whitebackgroun.png') center / cover no-repeat;
}

body.theme-light h1,
body.theme-light h2,
body.theme-light h3 { color: #111827; }

body.theme-light .hero-text,
body.theme-light .section-heading p,
body.theme-light .deal-card p,
body.theme-light .product-info p { color: #6b7280; }

body.theme-light .stats div {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}
body.theme-light .stats span { color: #6b7280; }

body.theme-light .floating-card {
  background: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.1);
}
body.theme-light .floating-card span { color: #6b7280; }
body.theme-light .floating-card strong { color: #111827; }

body.theme-light .nav-links {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
body.theme-light .nav-links a { color: #6b7280; }
body.theme-light .nav-links a:hover { color: #111827; background: rgba(0,0,0,0.05); }
body.theme-light .nav-theme-divider { background: rgba(0,0,0,0.1); }

body.theme-light .menu-btn {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.12);
  color: #111827;
}
body.theme-light .menu-btn:hover { background: rgba(0,0,0,0.1); }

body.theme-light .btn.secondary {
  background: rgba(0,0,0,0.06);
  color: #111827;
  border-color: rgba(0,0,0,0.14);
}
body.theme-light .btn.secondary:hover { background: rgba(0,0,0,0.11); }

body.theme-light .cart-btn {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.12);
  color: #111827;
}
body.theme-light .cart-btn:hover { background: rgba(0,0,0,0.1); }

body.theme-light .brand-strip {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.09);
}
body.theme-light .strip-inner span { color: #6b7280; border-right-color: rgba(0,0,0,0.09); }
body.theme-light .strip-inner span:hover { color: #111827; }

body.theme-light .product-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border-color: rgba(0,0,0,0.1);
}
body.theme-light .product-card:hover {
  box-shadow: 0 40px 90px rgba(0,0,0,0.12), 0 0 0 1px rgba(247,201,72,0.12);
}
body.theme-light .product-info h3 { color: #111827; }
body.theme-light .add-cart-btn {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
body.theme-light .add-cart-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111827;
  border-color: transparent;
}

body.theme-light .deal-card {
  background: linear-gradient(135deg, rgba(247,201,72,0.1), rgba(0,0,0,0.03));
  border-color: rgba(247,201,72,0.28);
  box-shadow: 0 25px 70px rgba(0,0,0,0.08);
}


body.theme-light .newsletter {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}
body.theme-light .newsletter input {
  background: #ffffff;
  border-color: rgba(0,0,0,0.14);
  color: #111827;
}
body.theme-light .newsletter input::placeholder { color: #9ca3af; }
body.theme-light .newsletter input:focus { background: #ffffff; border-color: rgba(247,201,72,0.5); }

body.theme-light footer { border-top-color: rgba(0,0,0,0.1); color: #6b7280; }
body.theme-light .footer-inner a:hover { color: #111827; }
body.theme-light .footer-contact-item:is(a):hover { color: #111827; }
body.theme-light .footer-contact-icon { background: rgba(0,0,0,0.06); }

body.theme-light .cart-overlay { background: rgba(0,0,0,0.3); }
body.theme-light .cart-drawer {
  background: #ffffff;
  border-left-color: rgba(0,0,0,0.1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.1);
}
body.theme-light .cart-head { border-bottom-color: rgba(0,0,0,0.1); }
body.theme-light .cart-close { border-color: rgba(0,0,0,0.1); color: #6b7280; }
body.theme-light .cart-close:hover { background: rgba(0,0,0,0.06); color: #111827; }
body.theme-light .cart-item { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
body.theme-light .cart-item-name { color: #111827; }
body.theme-light .qty-btn { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: #111827; }
body.theme-light .qty-btn:hover { background: rgba(0,0,0,0.1); }
body.theme-light .qty-value { color: #111827; }
body.theme-light .cart-foot { border-top-color: rgba(0,0,0,0.1); }
body.theme-light .cart-subtotal-row span { color: #6b7280; }
body.theme-light .cart-subtotal-row strong { color: #111827; }
body.theme-light .cart-shipping-note { color: #9ca3af; }
body.theme-light .cart-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); }

body.theme-light .checkout-modal { background: rgba(0,0,0,0.4); }
body.theme-light .checkout-wrap {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.18);
}
body.theme-light .checkout-close { border-color: rgba(0,0,0,0.1); color: #6b7280; }
body.theme-light .checkout-close:hover { background: rgba(0,0,0,0.06); color: #111827; }
body.theme-light .checkout-wrap > h2 { color: #111827; }
body.theme-light .checkout-summary { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.09); }
body.theme-light .checkout-summary-item { border-bottom-color: rgba(0,0,0,0.06); }
body.theme-light .checkout-summary-item span:first-child { color: #6b7280; }
body.theme-light .checkout-summary-total { border-top-color: rgba(0,0,0,0.1); color: #111827; }
body.theme-light .checkout-form h3 { color: #6b7280; }
body.theme-light .checkout-form input {
  background: #f9fafb;
  border-color: rgba(0,0,0,0.14);
  color: #111827;
}
body.theme-light .checkout-form input::placeholder { color: #9ca3af; }
body.theme-light .checkout-form input:focus { background: #ffffff; }
