:root {
  color-scheme: light;
  --bg: #fefefe;
  --bg-2: #f3f6fc;
  --card: #ffffff;
  --accent: #1b55c7;
  --accent-2: #6891db;
  --success: #16a34a;
  --danger: #e11d48;
  --text: #14161f;
  --muted: #6b7280;
  --border: rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.86);
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --dark: #091d61;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1220px; }

.premium-nav {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: all 220ms ease;
}

.premium-nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--text);
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.16);
}

.brand-orbit {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 22px rgba(27, 85, 199, 0.32);
  position: relative;
}

.brand-orbit::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

.navbar-toggler {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-link:hover,
.nav-link:focus { color: var(--accent); }

.glass-menu {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  max-height: 60vh;
  overflow-y: auto;
}

.dropdown-item {
  border-radius: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item:hover { background: rgba(27, 85, 199, 0.08); color: var(--text); }

.search-shell {
  width: min(330px, 100%);
  position: relative;
}

.search-shell > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  z-index: 2;
}

.search-shell .form-control {
  height: 46px;
  padding-left: 42px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 16px;
}

.search-panel {
  position: absolute;
  inset: calc(100% + 10px) 0 auto 0;
  display: none;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.search-panel.open { display: grid; gap: 8px; }
.search-panel span { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; font-weight: 800; }
.search-panel a { color: var(--text); padding: 8px; border-radius: 10px; }
.search-panel a:hover { background: rgba(27, 85, 199, 0.08); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  position: relative;
}

.icon-btn:hover,
.icon-btn.active {
  transform: translateY(-2px);
  border-color: rgba(27, 85, 199, 0.35);
  background: rgba(27, 85, 199, 0.09);
}

.has-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--danger);
  position: absolute;
  right: 10px;
  top: 10px;
}

.eyebrow {
  display: inline-flex;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero-actions,
.detail-actions,
.coupon-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 82px;
  background: linear-gradient(125deg, #fefefe 0%, #edf3ff 52%, #dce8ff 100%);
}

.landing-hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: center; gap: clamp(36px, 7vw, 100px); }
.landing-copy { position: relative; z-index: 2; }
.landing-copy h1 { max-width: 700px; margin: 0; font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 1.03; letter-spacing: -0.065em; font-weight: 900; }
.landing-copy p { max-width: 600px; margin: 20px 0 28px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; color: var(--dark); font-size: .88rem; font-weight: 800; }
.hero-trust i { color: var(--accent); margin-right: 6px; }
.hero-stage { position: relative; height: 440px; isolation: isolate; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -2; }
.glow-one { width: 320px; height: 320px; background: rgba(104, 145, 219, .33); top: 34px; right: 36px; animation: heroPulse 5s ease-in-out infinite; }
.glow-two { width: 180px; height: 180px; background: rgba(27, 85, 199, .18); bottom: 20px; left: 22px; animation: heroPulse 5s ease-in-out 1.2s infinite reverse; }
.orbit { position: absolute; border: 1px solid rgba(27, 85, 199, .24); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1; }
.orbit-one { width: 365px; height: 365px; animation: spin 18s linear infinite; }
.orbit-two { width: 455px; height: 455px; border-style: dashed; animation: spin 28s linear infinite reverse; }
.hero-device { position: absolute; display: grid; place-items: center; overflow: hidden; color: var(--accent); background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 28px 55px rgba(9,29,97,.18); backdrop-filter: blur(12px); }
.hero-device img { width: 100%; height: 100%; object-fit: cover; }
.hero-device-main { width: 250px; height: 330px; top: 45px; left: 50%; border-radius: 35px; transform: translateX(-50%) rotate(-7deg); animation: mainFloat 5.5s ease-in-out infinite; }
.hero-device-main i { font-size: 8rem; }
.hero-device-small { width: 128px; height: 128px; border-radius: 28px; animation: float 4.8s ease-in-out infinite; }
.hero-device-small i { font-size: 3.3rem; }
.device-left { left: 13px; bottom: 45px; animation-delay: -.8s; }
.device-right { right: 15px; top: 73px; animation-delay: -2.4s; }
.hero-float-card { position: absolute; right: -8px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 17px; color: var(--dark); background: rgba(255,255,255,.92); box-shadow: 0 18px 38px rgba(9,29,97,.16); font-size: .78rem; line-height: 1.35; animation: float 4.5s ease-in-out 1s infinite; }
.hero-float-card i { color: var(--accent); font-size: 1.35rem; }.hero-float-card strong { font-size: .9rem; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes mainFloat { 50% { transform: translateX(-50%) translateY(-15px) rotate(-4deg); } }
@keyframes heroPulse { 50% { transform: scale(1.13); opacity: .68; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.btn {
  min-height: 46px;
  border-radius: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 11px 18px;
}

.btn-gradient {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(27, 85, 199, 0.24);
}

.btn-gradient:hover { color: #ffffff; transform: translateY(-2px); }

.btn-ghost,
.btn-soft,
.btn-outline-accent {
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
}

.btn-outline-accent { border-color: rgba(27, 85, 199, 0.32); color: var(--accent); }
.btn-ghost:hover,
.btn-soft:hover,
.btn-outline-accent:hover { color: var(--accent); background: rgba(27, 85, 199, 0.1); }

.btn-whatsapp {
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.24);
  margin-top: 14px;
  width: 100%;
}

.btn-whatsapp:hover { color: #ffffff; transform: translateY(-2px); }

.section-pad { padding: 86px 0; }
.surface-band { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-heading {
  margin-bottom: 34px;
  max-width: 760px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
  margin: 0;
}

.category-grid,
.product-grid,
.brand-grid,
.benefit-grid,
.review-grid,
.account-grid {
  display: grid;
  gap: 18px;
}

.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.category-card,
.product-card,
.benefit-grid > div,
.review-card,
.filter-panel,
.summary-card,
.checkout-form,
.detail-panel,
.gallery-shell,
.tabs-shell,
.account-sidebar,
.account-grid > div,
.cart-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.category-card {
  min-height: 226px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 85, 199, 0.28);
  box-shadow: var(--shadow);
}

.category-visual,
.product-orb,
.mini-product {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 20%, rgba(27, 85, 199, 0.14), transparent 65%),
    linear-gradient(135deg, rgba(27, 85, 199, 0.08), rgba(104, 145, 219, 0.08));
  border: 1px solid var(--border);
  color: var(--accent);
}

.category-visual {
  width: 100%;
  height: 140px;
  border-radius: 18px;
  font-size: 1.8rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.category-visual i {
  font-size: 2rem;
}

.category-image,
.product-image,
.product-detail-image,
.thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-media {
  overflow: hidden;
}

.thumb-row button {
  overflow: hidden;
  padding: 0;
}

.category-card h3,
.product-card h3,
.benefit-grid h3,
.cart-item h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0;
}

.category-card p,
.product-card p,
.benefit-grid p,
.review-card p,
.footer p,
.muted {
  color: var(--muted);
}

.category-card span { color: var(--accent); font-weight: 800; }

.product-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-media {
  height: 220px;
  position: relative;
  display: block;
  background:
    radial-gradient(circle at 50% 45%, rgba(27, 85, 199, 0.1), transparent 60%),
    var(--bg-2);
  overflow: hidden;
  padding: 0;
}

.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.product-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.sale-badge {
  z-index: 4;
  position: absolute;
  pointer-events: auto;
}

.product-orb {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 2;
  width: 132px;
  height: 132px;
  border-radius: 35px;
  font-size: 4rem;
}

.sale-badge,
.detail-price span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
}

.product-body { padding: 18px; }
.rating { color: var(--accent); font-weight: 800; display: flex; gap: 8px; align-items: center; }
.rating span { color: var(--success); margin-left: auto; font-size: 0.82rem; }

.price-row,
.detail-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.price-row strong,
.detail-price strong { color: var(--text); font-size: 1.18rem; }
.price-row del,
.detail-price del { color: #9ca3af; }

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
}

.product-actions .product-whatsapp {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.deal-panel,
.newsletter-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--dark);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(104, 145, 219, 0.35), transparent 24rem),
    linear-gradient(135deg, #12347f, var(--dark));
  box-shadow: 0 24px 50px rgba(9, 29, 97, 0.28);
}

.deal-panel .eyebrow,
.newsletter-band .eyebrow { color: #93c5fd; }
.deal-panel p,
.newsletter-band p { color: rgba(255, 255, 255, 0.68); }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 86px);
  gap: 10px;
}

.countdown div {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.countdown strong { font-size: 1.65rem; }
.countdown span { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; }

.progress-shell {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.progress-shell span {
  display: block;
  height: 100%;
  width: 67%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--success));
  animation: saleProgress 3s ease-in-out infinite alternate;
}

.brand-tile,
.benefit-grid > div,
.review-card,
.account-grid > div {
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}

.brand-tile {
  border-radius: 18px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 900;
  background: var(--bg-2);
}

.benefit-grid i,
.account-grid i {
  font-size: 2rem;
  color: var(--accent);
}

.review-card {
  place-items: start;
  text-align: left;
}

.review-card span { color: var(--accent); }

.h-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 32%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.slide-item { scroll-snap-align: start; }

.page-hero {
  padding: 148px 0 44px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.page-hero.compact h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 900; margin: 0 0 6px; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0; }

.policy-box {
  color: var(--muted);
  line-height: 1.8;
  max-width: 820px;
}

.filter-panel,
.summary-card,
.checkout-form,
.detail-panel,
.gallery-shell,
.tabs-shell,
.account-sidebar { padding: 22px; }

.filter-panel {
  position: sticky;
  top: 94px;
}

.filter-panel h2,
.summary-card h2,
.checkout-form h2 { font-size: 1.2rem; font-weight: 900; margin-bottom: 18px; }

.filter-panel label { color: var(--text); font-weight: 800; margin-bottom: 8px; }
.filter-group { margin-top: 20px; }
.form-check-label { color: var(--muted) !important; font-weight: 600 !important; }
.form-check-input { accent-color: var(--accent); }
.form-control,
.form-select,
.checkout-form textarea,
.coupon-row input,
.newsletter-form input {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 46px;
}

.form-control:focus,
.form-select:focus,
.coupon-row input:focus,
.newsletter-form input:focus {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(27, 85, 199, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(27, 85, 199, 0.12);
}

.form-control::placeholder,
.form-select::placeholder,
.checkout-form textarea::placeholder,
.coupon-row input::placeholder,
.newsletter-form input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

/* Browser autofill (name/email/phone/address on checkout) paints its own
   background + text color that ignores normal color/background rules. Force
   it back to the theme surface so it stays legible. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}

/* Zero-specificity fallback (via :where) so any input/select/textarea without
   a specific styled class still reads correctly, without overriding more
   specific component styles like .quantity-row input. */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--accent);
}

.form-control option,
.form-select option {
  background: #ffffff;
  color: var(--text);
}

.swatches { display: flex; gap: 8px; }
.swatches span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); }
.swatches span:nth-child(1) { background: #fff; }
.swatches span:nth-child(2) { background: var(--accent); }
.swatches span:nth-child(3) { background: var(--accent-2); }
.swatches span:nth-child(4) { background: #e11d48; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.shop-toolbar > div { display: flex; gap: 10px; align-items: center; }

.pagination-shell {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination-shell a {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.pagination-shell a.active,
.pagination-shell a:hover { color: #ffffff; background: var(--accent); border-color: var(--accent); }

.gallery-main {
  min-height: 480px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(27, 85, 199, 0.12), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--border);
  font-size: 9rem;
  color: var(--accent);
  overflow: hidden;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb-row button {
  min-height: 82px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--accent);
  font-size: 1.8rem;
}

.thumb-row button.active { border-color: var(--accent); }

.detail-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 900; }
.detail-price { position: relative; }
.detail-price span { position: static; }

.quantity-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
}

.quantity-row div,
.quantity-row.mini {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.quantity-row button,
.quantity-row a,
.quantity-row input {
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--bg-2);
  color: var(--text);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quantity-row a:hover { background: rgba(27, 85, 199, 0.1); color: var(--accent); }
.cart-remove { color: var(--danger); font-size: 0.82rem; font-weight: 700; }
.cart-remove:hover { text-decoration: underline; }
.mini-product img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }

.info-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.info-strip span {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--muted);
}

.tabs-shell { margin: 40px 0; }
.nav-pills { gap: 10px; margin-bottom: 18px; }
.nav-pills .nav-link {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--muted);
}
.nav-pills .nav-link.active { background: var(--accent); color: #ffffff; }
.tab-content { color: var(--muted); }

.cart-list { display: grid; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.mini-product {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  font-size: 2rem;
}

.coupon-row { margin-top: 18px; }
.coupon-row input { padding: 0 14px; flex: 1; min-width: 210px; }

.summary-card p {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.summary-card .total { color: var(--text); font-size: 1.2rem; }
.success { color: var(--success); }

.checkout-form {
  display: grid;
  gap: 22px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-grid label {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  background: var(--bg-2);
}

.account-sidebar {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 94px;
}

.account-sidebar a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  color: var(--muted);
}

.account-sidebar a:hover { background: rgba(27, 85, 199, 0.08); color: var(--text); }

.newsletter-band { margin-bottom: 54px; }
.newsletter-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; max-width: 620px; color: #ffffff; }
.newsletter-form { display: flex; gap: 10px; min-width: min(460px, 100%); }
.newsletter-form input { padding: 0 16px; flex: 1; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #ffffff; }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }

.quick-view-modal {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.quick-view-modal .btn-close { filter: none; }
.quick-view-modal #qvName { font-weight: 900; font-size: 1.5rem; }
.quick-view-modal #qvBrand { color: var(--muted); }
.quick-view-image { width: 100%; border-radius: 16px; object-fit: contain; }
.quick-view-modal .product-orb { width: 100%; min-height: 220px; }

.footer {
  padding: 84px 0 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-grid h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 900;
}

.footer-grid a:not(.brand-mark) {
  display: block;
  color: var(--muted);
  margin: 9px 0;
}

.footer-grid a:hover { color: var(--accent); }
.footer-brand { margin-bottom: 18px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid !important; place-items: center; border: 1px solid var(--border); border-radius: 14px; background: #ffffff; }
.socials a:hover { color: var(--accent); border-color: rgba(27, 85, 199, 0.32); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

@keyframes saleProgress {
  from { width: 54%; }
  to { width: 78%; }
}

@media (max-width: 1199px) {
  .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }
  .search-shell { width: 100%; margin-bottom: 14px; }
  .nav-actions { justify-content: flex-start; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid,
  .benefit-grid,
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .landing-hero { padding: 136px 0 64px; }
  .landing-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .landing-copy { text-align: center; }
  .landing-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-stage { width: min(100%, 500px); margin: 0 auto; }
  .deal-panel,
  .newsletter-band,
  .section-heading.split { align-items: flex-start; flex-direction: column; }
  .countdown { grid-template-columns: repeat(4, minmax(64px, 1fr)); width: 100%; }
  .filter-panel,
  .account-sidebar { position: static; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item strong,
  .cart-item .quantity-row { justify-self: start; }
  .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .section-pad { padding: 62px 0; }
  .landing-hero { padding-top: 120px; }
  .landing-copy h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .landing-copy p { font-size: 1rem; }
  .hero-stage { height: 345px; transform: scale(.84); transform-origin: top center; margin-bottom: -52px; }
  .page-hero { padding-top: 118px; }
  .category-grid,
  .product-grid,
  .benefit-grid,
  .review-grid,
  .brand-grid,
  .account-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .countdown div { min-height: 70px; }
  .newsletter-form,
  .shop-toolbar,
  .shop-toolbar > div,
  .info-strip,
  .payment-grid,
  .footer-bottom { flex-direction: column; display: flex; width: 100%; }
  .gallery-main { min-height: 340px; font-size: 6rem; }
  .thumb-row { grid-template-columns: repeat(2, 1fr); }
  .h-scroll { grid-auto-columns: 86%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
