/* =========================================================
   STS GROUPS — Global Stylesheet
   Theme: Black + Silver (metallic, monochrome — no gold/yellow accent)
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --border: #2a2a2a;
  --border-light: #3a3a3a;

  --silver: #d8d8d8;
  --silver-soft: #a8a8a8;
  --silver-dim: #7a7a7a;
  --white: #f5f5f5;

  --accent: #e4e4e4;
  --accent-strong: #ffffff;
  --accent-dim: #9a9a9a;

  --success: #4caf50;
  --error: #e05555;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);

  --maxw: 1240px;
  --font: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.silver-text {
  background: linear-gradient(180deg, var(--white), var(--silver-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Foil-stamp metallic text — matches the embossed silver-on-black look of the
   logo and the client's referenced packaging (dark base, brushed-chrome text) */
.foil-text {
  background: linear-gradient(115deg, #8f8f8f 0%, #f2f2f2 28%, #ffffff 42%, #cfcfcf 58%, #7d7d7d 78%, #b8b8b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* Subtle matte-black grain — echoes the textured packaging surfaces
   in the client's reference (fine linen-like texture on the black box) */
body {
  background-image:
    radial-gradient(ellipse at top, rgba(255,255,255,0.035), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #141414;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.14);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(255, 255, 255, 0.22); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border-light);
}
.btn-outline:hover { border-color: var(--accent-strong); color: var(--accent); }

.btn-dark {
  background: var(--bg-card);
  color: var(--white);
  border-color: var(--border);
}
.btn-dark:hover { background: var(--bg-card-hover); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand img { height: 42px; width: auto; }
.brand span {
  background: linear-gradient(115deg, #8f8f8f 0%, #f2f2f2 28%, #ffffff 42%, #cfcfcf 58%, #7d7d7d 78%, #b8b8b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand small {
  display: block;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--silver-soft);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--silver);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent-strong);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--silver);
  transition: border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--accent-strong); color: var(--accent); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent-strong);
  color: #141414;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.nav-toggle { display: none; }

/* ---------- Top strip ---------- */
.top-strip {
  background: #000;
  color: var(--silver-soft);
  font-size: 12.5px;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--border);
}
.top-strip strong { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.92) 20%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.3) 100%), var(--img);
  background-size: cover;
  background-position: center;
}
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 40px 24px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero p { color: var(--silver); font-size: 17px; margin-bottom: 30px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 12px;
}
.section-head p { color: var(--silver-soft); font-size: 15.5px; }
.section-alt { background: var(--bg-alt); }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-dim);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.06);
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
  position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent-strong);
  color: #141414;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.4px;
}
.product-card .info { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat { font-size: 11.5px; color: var(--silver-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-card h3 { font-size: 17.5px; margin-bottom: 8px; font-family: var(--font-serif); }
.product-card .desc { font-size: 13.5px; color: var(--silver-soft); margin-bottom: 14px; flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-now { font-size: 19px; font-weight: 700; color: var(--accent); }
.price-mrp { font-size: 13.5px; color: var(--silver-dim); text-decoration: line-through; }

/* ---------- Process / steps ---------- */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--accent);
  text-align: center;
  opacity: 0.85;
}
.step-row img { border-radius: var(--radius); width: 100%; height: 190px; object-fit: cover; }
.step-text h4 { font-size: 18px; margin-bottom: 8px; }
.step-text p { color: var(--silver-soft); font-size: 14.5px; }
.step-row:nth-child(even) { direction: rtl; }
.step-row:nth-child(even) > * { direction: ltr; }

/* ---------- Why us / trust icons ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.trust-card .ic { font-size: 30px; margin-bottom: 12px; }
.trust-card h4 { font-size: 15px; margin-bottom: 6px; }
.trust-card p { font-size: 13px; color: var(--silver-dim); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--silver); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 14.5px;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
}
.field-hint { font-size: 12px; color: var(--silver-dim); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--silver); }
.checkbox-row input { width: auto; }

.auth-card {
  max-width: 420px;
  margin: 60px auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.auth-card h1 { font-family: var(--font-serif); font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--silver-soft); font-size: 14px; margin-bottom: 26px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--silver-soft); }
.auth-switch a { color: var(--accent); font-weight: 600; }

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 18px;
  display: none;
}
.alert.show { display: block; }
.alert-error { background: rgba(224, 85, 85, 0.12); border: 1px solid rgba(224,85,85,0.35); color: #ff9b9b; }
.alert-success { background: rgba(76, 175, 80, 0.12); border: 1px solid rgba(76,175,80,0.35); color: #9be09e; }
.alert-info { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-grid h5 { font-size: 14px; margin-bottom: 16px; letter-spacing: 0.5px; color: var(--white); }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-grid p { font-size: 13.5px; color: var(--silver-dim); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--silver-dim); max-width: 300px; margin-bottom: 16px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.social-row a:hover { border-color: var(--accent-strong); color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--silver-dim);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--silver-dim); padding: 20px 0 0; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0 70px; }
.pd-gallery { position: sticky; top: 100px; align-self: start; }
.pd-gallery .main-img { border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--border); }
.pd-gallery .main-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pd-info .cat { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.pd-info h1 { font-family: var(--font-serif); font-size: 32px; margin-bottom: 14px; }
.pd-info .desc { color: var(--silver-soft); font-size: 15px; margin-bottom: 26px; }
.variant-group { margin-bottom: 24px; }
.variant-group label.title { display: block; font-size: 13px; color: var(--silver); margin-bottom: 10px; font-weight: 600; }
.variant-options { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}
.variant-btn.active { border-color: var(--accent-strong); background: rgba(255,255,255,0.08); color: var(--accent); }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 26px; }
.pd-price .now { font-size: 30px; font-weight: 700; color: var(--accent); }
.pd-price .mrp { font-size: 16px; color: var(--silver-dim); text-decoration: line-through; }
.pd-price .off { font-size: 12.5px; background: rgba(76,175,80,0.15); color: #8fe092; padding: 3px 9px; border-radius: 999px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; }
.qty-box button { width: 38px; height: 38px; background: var(--bg-card); color: var(--white); border: none; font-size: 16px; }
.qty-box span { width: 40px; text-align: center; font-weight: 600; }
.pd-actions { display: flex; gap: 14px; margin-bottom: 30px; }
.pd-meta { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--silver-soft); }
.pd-meta div { display: flex; gap: 10px; align-items: center; }

/* ---------- Pincode checker ---------- */
.pincode-box { display: flex; gap: 10px; margin-top: 4px; }
.pincode-box input { flex: 1; }
#pincodeResult { margin-top: 10px; font-size: 13.5px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 40px 0 70px; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 90px; height: 90px; border-radius: 8px; object-fit: cover; background: #000; }
.cart-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.cart-item .variant { font-size: 12.5px; color: var(--silver-dim); }
.cart-item .line-price { font-weight: 700; color: var(--accent); font-size: 15px; }
.remove-link { font-size: 12.5px; color: var(--silver-dim); margin-top: 6px; display: inline-block; }
.remove-link:hover { color: var(--error); }
.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: sticky;
  top: 100px;
}
.summary-card h3 { font-size: 18px; margin-bottom: 20px; font-family: var(--font-serif); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--silver-soft); margin-bottom: 12px; }
.summary-row.total { color: var(--white); font-weight: 700; font-size: 17px; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 6px; }
.empty-state { text-align: center; padding: 80px 24px; color: var(--silver-soft); }
.empty-state .ic { font-size: 48px; margin-bottom: 18px; opacity: 0.6; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 40px 0 70px; align-items: start; }
.checkout-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; }
.checkout-section h3 { font-size: 16.5px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.step-badge { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-strong); color: #141414; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pay-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}
.pay-option.active { border-color: var(--accent-strong); background: rgba(255,255,255,0.06); }
.pay-option input { width: auto; }

/* ---------- Table (admin/orders) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--silver-soft); font-weight: 600; background: var(--bg-alt); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: none; }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.status-pending { background: rgba(255,255,255,0.12); color: var(--accent); }
.status-confirmed { background: rgba(76,175,80,0.15); color: #8fe092; }
.status-cancelled { background: rgba(224,85,85,0.15); color: #ff9b9b; }

/* ---------- Admin layout ---------- */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: #000; border-right: 1px solid var(--border); padding: 24px 18px; }
.admin-side .brand { margin-bottom: 34px; padding: 0 6px; }
.admin-side nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--silver);
  margin-bottom: 4px;
}
.admin-side nav a:hover, .admin-side nav a.active { background: var(--bg-card); color: var(--accent); }
.admin-main { padding: 30px 36px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-topbar h1 { font-family: var(--font-serif); font-size: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 30px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-card .label { font-size: 12.5px; color: var(--silver-dim); margin-bottom: 8px; }
.stat-card .value { font-size: 26px; font-weight: 700; font-family: var(--font-serif); }
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.panel h3 { font-size: 16px; margin-bottom: 18px; }
.img-url-preview {
  width: 100%; height: 160px;
  border-radius: 8px;
  border: 1px dashed var(--border-light);
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-top: 10px;
  color: var(--silver-dim);
  font-size: 12.5px;
}
.img-url-preview img { width: 100%; height: 100%; object-fit: cover; }
.variant-form-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 12px; }
.icon-x { color: var(--error); cursor: pointer; font-size: 18px; padding: 10px; }

/* ---------- Misc pages ---------- */
.content-page { padding: 50px 0 70px; max-width: 820px; margin: 0 auto; }
.content-page h1 { font-family: var(--font-serif); font-size: 34px; margin-bottom: 20px; }
.content-page h2 { font-size: 20px; margin: 30px 0 12px; }
.content-page p { color: var(--silver-soft); margin-bottom: 14px; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 50px 0 70px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-item .ic { font-size: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item h4 { font-size: 14.5px; margin-bottom: 4px; }
.contact-info-item p { font-size: 13.5px; color: var(--silver-soft); }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent-strong);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-row { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px; color: var(--silver-dim); font-size: 14px; }

/* ---------- Footer legal bar ---------- */
.footer-legal {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding: 18px 0;
  font-size: 12px;
  color: var(--silver-dim);
  line-height: 1.7;
}
.footer-legal a { color: var(--silver-dim); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Promo banner ---------- */
.promo-banner {
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  color: #141414;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  padding: 10px 44px 10px 16px;
  position: relative;
}
.promo-banner a { color: #141414; text-decoration: underline; }
.promo-banner .promo-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #141414; font-size: 16px; cursor: pointer; line-height: 1;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Offers page ---------- */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.offer-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.offer-card h3 { font-family: var(--font-serif); font-size: 19px; }
.offer-card p { color: var(--silver-soft); font-size: 14px; }
.offer-card .offer-dates { font-size: 12px; color: var(--silver-dim); }
.coupon-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px dashed var(--border-light); border-radius: 8px;
  padding: 8px 14px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); width: fit-content; font-size: 14px;
  cursor: pointer; background: rgba(255,255,255,0.04);
}
.coupon-chip:hover { border-color: var(--accent-strong); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--white);
  padding: 16px 20px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .plus { transition: transform 0.2s ease; color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 20px 18px; color: var(--silver-soft); font-size: 13.5px; }

/* ---------- Reviews ---------- */
.reviews-section { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 36px; }
.review-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.review-summary .avg { font-size: 34px; font-weight: 700; font-family: var(--font-serif); }
.stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.review-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.review-item .rname { font-weight: 600; font-size: 14px; }
.review-item .rdate { font-size: 11.5px; color: var(--silver-dim); margin-left: 8px; }
.review-item p { color: var(--silver-soft); font-size: 13.5px; margin-top: 6px; }
.star-picker { display: flex; gap: 6px; font-size: 24px; cursor: pointer; }
.star-picker span { color: var(--border-light); transition: color 0.15s ease; }
.star-picker span.active { color: var(--accent); }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.testimonial-card .stars { margin-bottom: 10px; }
.testimonial-card p { color: var(--silver-soft); font-size: 14px; margin-bottom: 14px; }
.testimonial-card .who { font-size: 13px; font-weight: 600; color: var(--white); }
.testimonial-card .loc { font-size: 12px; color: var(--silver-dim); }

/* ---------- Lab report ---------- */
.lab-report-card {
  display: flex; align-items: center; gap: 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px;
  max-width: 560px; margin: 0 auto;
}
.lab-report-card .ic { font-size: 32px; }
.lab-report-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.lab-report-card p { font-size: 13px; color: var(--silver-dim); margin-bottom: 0; }

/* ---------- Admin extra: usage bar chart ---------- */
.bar-chart { display: flex; flex-direction: column; gap: 12px; }
.bar-chart-row { display: grid; grid-template-columns: 120px 1fr 50px; align-items: center; gap: 10px; font-size: 12.5px; }
.bar-chart-track { background: var(--border); border-radius: 999px; height: 10px; overflow: hidden; }
.bar-chart-fill { background: linear-gradient(90deg, var(--accent-dim), var(--accent-strong)); height: 100%; border-radius: 999px; }
.tabs-row { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--silver-soft); cursor: pointer;
}
.tab-btn.active { background: var(--accent-strong); color: #141414; border-color: var(--accent-strong); }
.low-stock-tag { font-size: 10.5px; background: rgba(224,85,85,0.15); color: #ff9b9b; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }

/* ---------- Admin: mobile sidebar drawer ---------- */
.admin-nav-toggle {
  display: none;
  align-items: center; gap: 8px;
  background: var(--bg-card); color: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 16px; font-size: 13.5px; font-weight: 600;
  margin-bottom: 18px;
}
.admin-side-close { display: none; }
.admin-side-backdrop { display: none; }

/* ---------- Responsive ---------- */

/* ≤980px — tablets / small laptops */
@media (max-width: 980px) {
  .pd-grid, .cart-layout, .checkout-layout, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .admin-shell { display: block; }
  .admin-main { padding: 22px 20px; }
  .admin-nav-toggle { display: inline-flex; }
  .admin-side {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 260px; max-width: 82vw;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .admin-side-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 290;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .admin-side-close {
    display: block;
    text-align: right;
    font-size: 20px;
    color: var(--silver);
    margin-bottom: 18px;
    cursor: pointer;
  }
  .admin-shell.mobile-nav-open .admin-side { transform: translateX(0); }
  .admin-shell.mobile-nav-open .admin-side-backdrop { opacity: 1; pointer-events: auto; }

  .step-row { grid-template-columns: 1fr; text-align: left; }
  .step-num { text-align: left; }
  .step-row:nth-child(even) { direction: ltr; }

  .variant-form-row { grid-template-columns: 1fr 1fr !important; }
}

/* ≤720px — large phones / small tablets */
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .summary-card { position: static; }

  .header-inner { padding: 12px 16px; gap: 12px; }
  .header-actions { gap: 10px; }
  .top-strip { font-size: 11px; padding: 6px 10px; }

  .hero { min-height: 62vh; }
  .hero-content { padding: 30px 20px; }
  .hero p { font-size: 15.5px; }
  .hero-actions .btn { flex: 1; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }

  .wrap { padding: 0 18px; }

  .pd-grid { padding: 24px 0 50px; }
  .pd-info h1 { font-size: 26px; }
  .pd-actions { flex-direction: column; }
  .pd-actions .btn { width: 100%; }

  .cart-item {
    grid-template-columns: 60px 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 8px; column-gap: 14px;
  }
  .cart-item img { width: 60px; height: 60px; grid-column: 1; grid-row: 1 / span 2; }
  .cart-item > div:nth-child(2) { grid-column: 2 / span 2; grid-row: 1; }
  .cart-item .qty-box { grid-column: 2; grid-row: 2; }
  .cart-item .line-price { grid-column: 3; grid-row: 2; justify-self: end; }
  .cart-item h4 { font-size: 14.5px; }

  .checkout-section { padding: 20px; }
  .checkout-layout { padding: 24px 0 50px; gap: 28px; }

  .contact-grid { padding: 30px 0 50px; gap: 30px; }

  .lab-report-card { flex-direction: column; text-align: center; padding: 26px 20px; }

  .review-summary { flex-wrap: wrap; }

  .variant-form-row { grid-template-columns: 1fr !important; }
  .admin-topbar { flex-wrap: wrap; gap: 12px; }
  .stat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

  .bar-chart-row { grid-template-columns: 90px 1fr 40px; }

  .content-page { padding: 30px 0 50px; }
  .content-page h1 { font-size: 26px; }

  .auth-card { margin: 30px auto; padding: 28px 22px; }
}

/* ≤480px — most phones */
@media (max-width: 480px) {
  .wrap { padding: 0 14px; }
  .brand { font-size: 16px; gap: 6px; }
  .brand img { height: 32px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn, .header-actions .js-lang-toggle, .nav-toggle { width: 34px; height: 34px; }
  .header-actions .js-account-link { display: none; }

  .hero { min-height: 56vh; }
  .hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .eyebrow { font-size: 11px; padding: 5px 11px; }

  .section-head h2 { font-size: clamp(21px, 6vw, 28px); }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .product-card .info { padding: 12px 12px 14px; }
  .product-card h3 { font-size: 15px; }

  .trust-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
  .trust-card { padding: 18px 14px; }

  .pd-info h1 { font-size: 22px; }
  .pd-price .now { font-size: 24px; }
  .variant-options { gap: 8px; }
  .variant-btn { padding: 8px 14px; font-size: 13px; }

  .step-row img { height: 150px; }

  .checkout-section { padding: 16px; }
  .checkout-section h3 { font-size: 15px; }

  .offers-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .faq-q { padding: 13px 14px; font-size: 13.5px; }

  .admin-main { padding: 16px 12px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 16px; }
  .admin-topbar h1 { font-size: 19px; }

  th, td { padding: 10px 12px; font-size: 12.5px; }

  .btn { padding: 11px 18px; font-size: 13.5px; }
  .auth-card { padding: 24px 18px; }
  .auth-card h1 { font-size: 22px; }

  .footer-legal { font-size: 11px; }
}

/* ≤380px — smallest phones (e.g. iPhone SE) */
@media (max-width: 380px) {
  .brand span { display: none; }
  .header-actions .js-lang-toggle { display: none; }
  .top-strip { display: none; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .stat-grid { grid-template-columns: 1fr; }
}

/* Global overflow guard */
html, body { max-width: 100%; overflow-x: hidden; }
table { font-size: 12.5px; }

/* ---------- Mobile nav ---------- */
.nav-toggle {
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--silver);
  font-size: 18px;
}
.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0;
  width: 78%; max-width: 320px; height: 100%;
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  padding: 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav-panel a {
  padding: 14px 10px;
  font-size: 15.5px;
  border-bottom: 1px solid var(--border);
  color: var(--silver);
}
.mobile-nav-close { align-self: flex-end; font-size: 22px; color: var(--silver); margin-bottom: 10px; }

/* ---------- Wishlist heart ---------- */
.wishlist-heart {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--silver);
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.wishlist-heart:hover { transform: scale(1.08); }
.wishlist-heart.active { color: #ff6b6b; background: rgba(10,10,10,0.75); }
.wishlist-heart-standalone {
  position: static;
  width: 52px; height: 52px;
  flex: 0 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 20px;
}

/* ---------- Shop search / filter / sort controls ---------- */
.shop-controls {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 4px 0 26px;
}
.shop-search-input {
  flex: 1 1 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 11px 14px;
  color: var(--white);
  font-size: 14px;
}
.shop-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 11px 14px;
  color: var(--white);
  font-size: 13.5px;
}

/* ---------- Related products ---------- */
.related-section { max-width: 1180px; margin: 50px auto 0; padding: 0 24px; }

/* ---------- Newsletter signup ---------- */
.newsletter-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 0 0 30px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.newsletter-box h4 { font-size: 16px; margin-bottom: 4px; }
.newsletter-box p { font-size: 13px; color: var(--silver-dim); }
.newsletter-form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 420px; }
.newsletter-form input {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--white);
  font-size: 13.5px;
}
.newsletter-msg { font-size: 12.5px; margin-top: 6px; width: 100%; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  z-index: 150;
  font-size: 28px;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }

@media (max-width: 480px) {
  .whatsapp-float { width: 48px; height: 48px; font-size: 24px; bottom: 16px; right: 16px; }
  .newsletter-box { padding: 18px 16px; }
  .newsletter-form { flex: 1 1 100%; max-width: none; }
}

/* ---------- Out-of-stock (product cards + product page) ---------- */
.product-card.out-of-stock .thumb img { opacity: 0.45; filter: grayscale(0.6); }
.badge-outofstock { background: #3a3a3a; color: var(--silver-soft); }
.badge-ribbon { background: linear-gradient(135deg, var(--accent), var(--accent-dim)); color: #0a0a0a; font-weight: 700; }
#pdStockNotice { margin: 10px 0; }

/* ---------- Back-in-stock notify ---------- */
.notify-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 16px;
  margin: 14px 0;
}
.notify-box p { font-size: 13.5px; color: var(--silver-soft); margin-bottom: 10px; }
.notify-form { display: flex; gap: 8px; flex-wrap: wrap; }
.notify-form input {
  flex: 1 1 200px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--white);
  font-size: 13.5px;
}
.notify-msg { font-size: 12.5px; margin-top: 6px; width: 100%; }

/* ---------- Product image zoom-on-hover ---------- */
.zoom-hover { overflow: hidden; border-radius: var(--radius-lg); }
.zoom-hover img { transition: transform 0.35s ease; }
.zoom-hover:hover img { transform: scale(1.18); }

/* ---------- Cookie-consent banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  max-width: 640px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md, 10px);
  padding: 16px 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 200;
}
.cookie-banner p { font-size: 12.5px; color: var(--silver-soft); flex: 1 1 260px; }

/* ---------- Account: order search/filter ---------- */
.order-filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.order-filter-row input[type="text"] {
  flex: 1 1 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--white);
  font-size: 13.5px;
}
.order-filter-row select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--white);
  font-size: 13.5px;
}

/* ---------- Account: saved address book ---------- */
.address-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 13.5px;
}
.address-card p { color: var(--silver-soft); }
.address-card p:first-child { color: var(--white); }

/* ---------- Product Q&A ---------- */
.qa-section { max-width: 720px; margin: 50px auto 0; padding: 0 24px 0; }
.qa-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.qa-item:last-child { border-bottom: none; }
.qa-q { font-size: 14px; }
.qa-a { font-size: 13.5px; color: var(--silver-soft); }
.qa-date { font-size: 11.5px; color: var(--silver-dim); margin-left: 8px; }

/* ---------- Hero trust badges + dynamic offer strip ---------- */
.hero-offer-strip {
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  color: #0a0a0a;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
}
.hero-offer-strip a { color: #0a0a0a; text-decoration: underline; }
.hero-trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 22px;
}
.hero-trust-row span {
  font-size: 12.5px;
  color: var(--silver-soft);
  display: flex; align-items: center; gap: 6px;
}

/* ---------- Combo / bundle section ---------- */
.combo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between;
}
.combo-card .combo-info { flex: 1 1 280px; }
.combo-card .combo-info h3 { font-size: 20px; margin-bottom: 8px; }
.combo-card .combo-info p { color: var(--silver-soft); font-size: 13.5px; }

/* ---------- Recipes teaser (homepage) ---------- */
.recipes-teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.recipe-teaser-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 20px;
}
.recipe-teaser-card h4 { font-size: 15px; margin-bottom: 8px; }
.recipe-teaser-card p { font-size: 13px; color: var(--silver-soft); }

/* ---------- Landing page (campaign template) ---------- */
.landing-hero {
  min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.85)), var(--img) center/cover no-repeat;
}
.landing-hero .wrap { max-width: 640px; }
.landing-hero h1 { font-size: 40px; margin-bottom: 16px; }
.landing-hero p { font-size: 16px; color: var(--silver-soft); margin-bottom: 26px; }
.landing-hero .btn { font-size: 16px; padding: 16px 36px; }
.landing-trust-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; font-size: 12.5px; color: var(--silver-dim); }

@media (max-width: 480px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .landing-hero h1 { font-size: 28px; }
  .qa-section, .related-section { padding: 0 16px; }
}

/* =========================================================
   PREMIUM BLACK/SILVER — 3D depth & motion system
   ---------------------------------------------------------
   Site-wide scroll-reveal + floating + 3D-tilt utilities.
   Everything here is additive (opt-in via class), CSS-only
   where possible, small delegated-listener JS for tilt.
   Respects prefers-reduced-motion at the bottom of this file.
   ========================================================= */

@keyframes stsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes stsFloatSm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes stsGlowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,245,245,0.14); }
  50% { box-shadow: 0 0 0 8px rgba(245,245,245,0); }
}
@keyframes stsShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes stsSpinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Scroll-reveal (fade + rise), used site-wide ----------
   Deliberately uses the "animation" property (not "transition") so it
   never collides with a component's own hover "transition" rule (e.g.
   .product-card, .cart-item) — animation and transition are independent
   channels on the same element, so both work correctly together. */
@keyframes stsRevealIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stsRevealInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes stsRevealInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.reveal-left { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.in {
  animation-name: stsRevealIn;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.16, 0.8, 0.24, 1);
  animation-fill-mode: forwards;
}
.reveal.reveal-left.in { animation-name: stsRevealInLeft; }
.reveal.reveal-right.in { animation-name: stsRevealInRight; }

/* ---------- 3D tilt-on-hover (JS sets transform inline via js/animations.js) ---------- */
.tilt-3d {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.25s ease;
}

/* ---------- Gentle continuous float (applied to wrapper elements, never the
   same element as a hover-transform, to avoid transform conflicts) ---------- */
.float-loop { animation: stsFloatSm 4.5s ease-in-out infinite; }
.float-loop.float-lg { animation: stsFloat 6s ease-in-out infinite; }
.product-grid .product-card:nth-child(3n+1) .thumb { animation-delay: 0s; }
.product-grid .product-card:nth-child(3n+2) .thumb { animation-delay: 0.6s; }
.product-grid .product-card:nth-child(3n+3) .thumb { animation-delay: 1.2s; }

/* ---------- Deeper 3D-style shadows for elevated / hovered cards ---------- */
.shadow-3d {
  box-shadow:
    0 2px 0 rgba(255,255,255,0.05) inset,
    0 20px 40px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
}
.tilt-3d:hover, .tilt-3d:focus-within {
  box-shadow:
    0 2px 0 rgba(255,255,255,0.07) inset,
    0 28px 55px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08);
}

/* ---------- Metallic shimmer sweep, used sparingly on premium CTAs ---------- */
.shimmer {
  background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: stsShimmer 3.2s ease-in-out infinite;
}

/* ---------- About / process timeline — connecting line + step reveal ---------- */
#process .steps-list { position: relative; }
#process .steps-list::before {
  content: "";
  position: absolute;
  left: 45px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-light) 8%, var(--border-light) 92%, transparent);
}
#process .step-row { position: relative; }
#process .step-num {
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
}
#process .step-row img { transition: transform 0.5s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.4s ease; }
#process .step-row:hover img {
  transform: translateY(-6px) scale(1.03) rotate(-0.4deg);
  box-shadow: 0 22px 45px rgba(0,0,0,0.55);
}

/* ---------- Track Order — 3D animated status stepper ---------- */
.order-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 26px 0 8px;
  position: relative;
}
.order-stepper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.order-stepper .os-fill {
  content: "";
  position: absolute;
  top: 15px;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--silver-dim), var(--accent-strong));
  z-index: 0;
  transition: width 0.9s cubic-bezier(0.16, 0.8, 0.24, 1);
  width: 0%;
}
.order-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}
.order-step .os-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--silver-dim);
  transition: all 0.4s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.order-step.done .os-dot {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #0a0a0a;
  box-shadow: 0 6px 16px rgba(255,255,255,0.15);
}
.order-step.current .os-dot { animation: stsGlowPulse 1.8s ease-in-out infinite; }
.order-step .os-label { font-size: 11.5px; color: var(--silver-dim); text-transform: capitalize; }
.order-step.done .os-label { color: var(--silver-soft); }
.order-step.current .os-label { color: var(--white); font-weight: 600; }
@media (max-width: 620px) {
  .order-stepper { flex-wrap: wrap; row-gap: 20px; }
  .order-stepper::before, .order-stepper .os-fill { display: none; }
}

/* ---------- Cart — item entrance + floating summary ---------- */
.cart-item { transition: transform 0.3s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
.cart-item:hover {
  transform: translateY(-3px) translateZ(0);
  box-shadow: 0 16px 34px rgba(0,0,0,0.5);
}
.summary-card.float-loop { animation: stsFloatSm 6s ease-in-out infinite; }

/* ---------- Account / profile — panel + address-card lift ---------- */
.address-card, .qa-item, .combo-card { transition: transform 0.3s cubic-bezier(0.16, 0.8, 0.24, 1), box-shadow 0.3s ease; }
.address-card:hover, .combo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.5);
}

/* =========================================================
   PREMIUM MOTION — pass 2: custom cursor, magnetic buttons,
   nav underline, click ripple, page fade-in.
   Desktop-with-a-real-pointer only (hover:hover), and only on
   pages that load js/animations.js (customer-facing pages).
   ========================================================= */

/* ---------- Custom cursor: dot + trailing ring ---------- */
body.sts-cursor-on { cursor: none; }
body.sts-cursor-on a, body.sts-cursor-on button, body.sts-cursor-on .btn,
body.sts-cursor-on input, body.sts-cursor-on select, body.sts-cursor-on textarea { cursor: none; }
.sts-cursor-dot, .sts-cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  will-change: transform, width, height, opacity;
}
.sts-cursor-dot {
  width: 6px; height: 6px; background: var(--accent-strong);
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.sts-cursor-ring {
  width: 34px; height: 34px; border: 1px solid var(--silver-soft);
  opacity: 0.55; transition: width .22s cubic-bezier(.16,.8,.24,1), height .22s cubic-bezier(.16,.8,.24,1),
    border-color .22s ease, opacity .22s ease, background .22s ease;
}
body.sts-cursor-hover .sts-cursor-ring {
  width: 56px; height: 56px; border-color: var(--accent-strong);
  background: rgba(255,255,255,0.06); opacity: 0.9;
}
body.sts-cursor-down .sts-cursor-ring { width: 26px; height: 26px; opacity: 0.8; }
@media (max-width: 900px), (hover: none) {
  .sts-cursor-dot, .sts-cursor-ring { display: none !important; }
  body.sts-cursor-on { cursor: auto; }
}

/* ---------- Magnetic buttons ---------- */
.btn.magnetic { transition: transform .18s cubic-bezier(.16,.8,.24,1); }

/* ---------- Click ripple ---------- */
.sts-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,0.35); transform: scale(0);
  animation: stsRippleOut .55s ease-out forwards;
}
@keyframes stsRippleOut { to { transform: scale(1); opacity: 0; } }

/* ---------- Nav link animated underline ---------- */
.main-nav a { position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--accent-strong); transition: right .28s cubic-bezier(.16,.8,.24,1);
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

/* ---------- Page fade-in on load ---------- */
body.sts-page-fade { opacity: 0; }
body.sts-page-fade.sts-page-in { opacity: 1; transition: opacity .45s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; animation: none !important; }
  .float-loop, .shimmer, .order-step.current .os-dot { animation: none !important; }
  .tilt-3d { transition: none !important; }
  .sts-cursor-dot, .sts-cursor-ring { display: none !important; }
  body.sts-cursor-on { cursor: auto; }
  body.sts-page-fade { opacity: 1 !important; }
  * { scroll-behavior: auto !important; }
}
