/*
Theme Name: RarePull Empire
Theme URI: https://rarepullempire.games/
Author: RarePull Empire
Description: Custom theme for RarePull Empire - Pokemon and One Piece TCG storefront converted from the static site.
Version: 3.8.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rarepull-empire
Tags: e-commerce, custom
*/

:root {
  --bg: #07111d;
  --bg-soft: #111b2f;
  --card: rgba(16, 24, 42, 0.82);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --text: #f4f6fb;
  --muted: #b7bfd2;
  --gold: #f2c14e;
  --gold-soft: rgba(242,193,78,0.16);
  --gold-border: rgba(242,193,78,0.24);
  --blue: #76b8ff;
  --green: #34d399;
  --shadow: 0 20px 60px rgba(0,0,0,0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  overflow-x: clip;
}

html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(118,184,255,0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(242,193,78,0.1), transparent 22%),
    linear-gradient(180deg, #07111d 0%, #0e1728 56%, #0b1321 100%);
  color: var(--text);
  overflow-x: hidden;
  overflow-x: clip;
}

::selection {
  background: rgba(242,193,78,0.28);
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.34), transparent 85%);
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

code {
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 8px;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.top-banner {
  padding: 9px 16px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #fff8e7;
  background: linear-gradient(90deg, rgba(242,193,78,0.14), rgba(118,184,255,0.09));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 12, 22, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.hero,
.shipping-notice-wrap,
.trust-strip-wrap,
.section {
  scroll-margin-top: 96px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.02);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.nav-links a.is-active {
  color: #fff;
  background: rgba(242,193,78,0.1);
  border-color: var(--gold-border);
}

.hero {
  padding: 84px 0 30px;
}

.shipping-notice-wrap {
  padding: 0 0 8px;
}

.shipping-notice {
  background: linear-gradient(90deg, rgba(242,193,78,0.2), rgba(52,211,153,0.14));
  border: 1px solid rgba(242,193,78,0.26);
  color: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.shipping-notice strong {
  color: var(--gold);
}

.shipping-notice span {
  color: #ffffff;
  font-weight: 800;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.trust-strip-wrap {
  padding: 12px 0 8px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.trust-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,193,78,0.4), transparent);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
}

.trust-item span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.card,
.product-card,
.info-card,
.proof-card,
.faq-card,
.guide-box,
.tracking-box,
.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-image {
  padding: 34px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -60px -100px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(242,193,78,0.18), transparent 72%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.hero-text {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 58ch;
  font-size: 1.03rem;
}

.hero-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 50px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero-metric {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-metric strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.hero-metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-box .hero-actions {
  width: 100%;
  max-width: 420px;
}

.contact-box .hero-actions .btn {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  text-align: center;
  min-width: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #111;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(242,193,78,0.24);
}

.btn-secondary {
  background: rgba(255,255,255,0.03);
  color: #fff;
}

.btn-secondary:hover {
  border-color: var(--gold-border);
}

.section {
  padding: 36px 0 10px;
}

.section-head {
  margin-bottom: 22px;
  max-width: 720px;
}

.section-head h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.section-head p {
  color: var(--muted);
  line-height: 1.7;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
}

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

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pokemon-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.onepiece-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.order-builder-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.order-summary-card,
.order-form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.checkout-shell {
  align-items: start;
}

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

.checkout-summary-card {
  position: sticky;
  top: 104px;
}

.checkout-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.018);
}

.checkout-block-head {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.checkout-block-head h3 {
  margin-bottom: 0;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-block-head p,
.checkout-note {
  color: var(--muted);
  line-height: 1.6;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-summary-card::before,
.order-form-card::before,
.product-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,193,78,0.38), transparent);
}

.order-summary-card.is-pinned {
  box-shadow: 0 22px 45px rgba(0,0,0,0.25);
  border-color: rgba(244,197,66,0.2);
}

.order-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.text-action {
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  font-weight: 700;
  padding: 0;
}

.empty-state {
  color: var(--muted);
  line-height: 1.6;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}

.cart-item-copy {
  display: grid;
  gap: 4px;
}

.cart-item-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.qty-btn,
.remove-btn {
  border: 1px solid var(--line);
  background: #0c1221;
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.remove-btn {
  color: #ffb4b4;
}

.qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-label {
  font-weight: 700;
  color: #f3ede2;
}

.required-mark {
  color: #ff7373;
  font-style: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 14, 26, 0.88);
  color: #fff;
  padding: 15px 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(244,197,66,0.4);
  box-shadow: 0 0 0 3px rgba(244,197,66,0.12);
  background: rgba(12, 18, 33, 0.96);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-checkbox {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.field-checkbox input {
  width: 18px;
  height: 18px;
}

.form-note {
  color: var(--muted);
  margin-bottom: 16px;
}

.payment-options {
  display: grid;
  gap: 12px;
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
}

.payment-option input {
  margin-top: 4px;
}

.payment-option strong {
  display: block;
  margin-bottom: 4px;
}

.payment-option small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.payment-option:has(input:checked) {
  border-color: rgba(244,197,66,0.38);
  background: rgba(244,197,66,0.08);
  box-shadow: 0 0 0 1px rgba(244,197,66,0.16) inset;
}

.checkout-trust-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.trust-point {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
}


.discount-box {
  display: grid;
  gap: 10px;
  margin: 16px 0 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}

.discount-field {
  margin-bottom: 0;
}

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

.discount-actions .btn {
  min-width: 110px;
}

.discount-message {
  color: var(--muted);
  min-height: 20px;
  line-height: 1.5;
}

.summary-row.is-discount span,
.summary-row.is-discount strong {
  color: var(--green);
}
.summary-divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  min-width: 0;
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.summary-row.is-total {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.summary-row.is-total span {
  color: #fff;
}



.checkout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.checkout-actions .btn {
  flex: 1 1 220px;
  justify-content: center;
}

.btn-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.btn-order {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  color: #fff;
  border-color: rgba(255,255,255,0.1);
}

.btn-order.is-added {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
  color: #d6fff0;
}

.product-card {
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244,197,66,0.35);
  box-shadow: 0 24px 45px rgba(0,0,0,0.24);
}

.product-image {
  padding: 12px;
  background: linear-gradient(180deg, #0c1221, #0e1730);
}

.product-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-body {
  padding: 18px;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.product-body h3 {
  font-size: 1.04rem;
  margin-bottom: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.product-body p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 14px;
  min-height: 54px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.price {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.stock {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-whatsapp {
  flex: 1;
  background: #25d366;
  color: #08101c;
  border-color: transparent;
}

.btn-whatsapp:hover {
  filter: brightness(1.05);
}

.buy-actions {
  display: flex;
  gap: 10px;
}

.btn-telegram {
  flex: 1;
  background: #229ed9;
  color: #fff;
  border-color: transparent;
}

.btn-telegram:hover {
  filter: brightness(1.05);
}

.product-card .buy-actions {
  display: none;
}
.product-detail-trigger {
  position: relative;
  cursor: pointer;
  outline: none;
}

.product-detail-trigger:focus-visible {
  box-shadow: 0 0 0 3px rgba(244,197,66,0.34);
}

.product-detail-modal[hidden] {
  display: none;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.product-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, 0.78);
  backdrop-filter: blur(10px);
}

.product-detail-dialog {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(244,197,66,0.26);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(13,24,40,0.98), rgba(7,17,29,0.98));
  box-shadow: 0 28px 80px rgba(0,0,0,0.58);
}

.product-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #07111d;
}

.product-detail-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 10px 42px 8px 4px;
}

.product-detail-copy h2 {
  font-size: 1.72rem;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0;
}

.product-detail-description {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.product-detail-meta,
.product-detail-facts,
.product-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.product-detail-facts span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: 0.88rem;
}

.product-detail-actions {
  margin-top: 4px;
}

.product-detail-actions .btn {
  flex: 1 1 130px;
}

.product-detail-is-open {
  overflow: hidden;
}

.info-card {
  padding: 20px;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.info-card p,
.guide-box p,
.guide-box li,
.tracking-box,
.contact-box p {
  color: var(--muted);
  line-height: 1.65;
}

.highlight-note {
  color: var(--gold);
  font-weight: 700;
}

.tracking-box,
.guide-box,
.contact-box {
  padding: 20px;
  margin-top: 18px;
}



.info-card,
.proof-card,
.faq-card {
  padding: 20px;
}

.proof-card,
.faq-card {
  position: relative;
  overflow: hidden;
}

.proof-card::before,
.faq-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,193,78,0.38), transparent);
}

.proof-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  font-weight: 800;
}

.info-card h3,
.proof-card h3,
.faq-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.info-card p,
.proof-card p,
.faq-card p {
  color: var(--muted);
  line-height: 1.65;
}

.assurance-band {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(242,193,78,0.26);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(242,193,78,0.13), rgba(52,211,153,0.08));
}

.assurance-band strong {
  color: var(--gold);
  white-space: nowrap;
}

.assurance-band span {
  color: #f5f1e7;
  line-height: 1.6;
}
.review-submit-card {
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  box-shadow: var(--shadow);
}

.review-form {
  display: grid;
  gap: 2px;
}

.review-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.review-form-actions .btn {
  min-width: 160px;
}

.review-status {
  color: var(--green);
  font-weight: 700;
  min-height: 22px;
}

.testimonial-card.is-customer-review {
  border-color: rgba(52, 211, 153, 0.2);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.testimonial-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.review-rating {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.testimonial-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.testimonial-card strong {
  display: block;
  color: #fff;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background:
    radial-gradient(circle at top right, rgba(242,193,78,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
}

.contact-box h2 {
  font-size: 2.1rem;
}

.floating-order-chip {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  min-width: 200px;
  background: rgba(10, 14, 26, 0.94);
  border: 1px solid rgba(244,197,66,0.25);
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
  border-radius: 18px;
  padding: 12px 14px;
  display: none;
  gap: 8px;
}

.floating-order-chip.is-visible {
  display: grid;
}

.floating-order-chip strong {
  font-size: 0.95rem;
}

.floating-order-chip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.floating-order-chip a {
  color: var(--gold);
  font-weight: 700;
}

.cart-chip-close{position:absolute;top:7px;right:8px;width:26px;height:26px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:1.25rem;line-height:1;cursor:pointer}.cart-chip-close:hover,.cart-chip-close:focus-visible{color:#fff;background:rgba(255,255,255,.09)}.floating-order-chip strong{padding-right:24px}
.storefront-nav{align-items:center}.shop-menu{position:relative}.shop-menu summary{list-style:none;cursor:pointer;padding:9px 13px;border-radius:999px;border:1px solid transparent;background:rgba(255,255,255,.02);font-size:.92rem}.shop-menu summary::-webkit-details-marker{display:none}.shop-menu summary::after{content:"⌄";margin-left:6px;color:var(--gold)}.shop-menu[open] summary{border-color:var(--gold-border);background:rgba(242,193,78,.1);color:#fff}.shop-menu-panel{position:absolute;top:calc(100% + 9px);left:0;display:grid;min-width:210px;padding:8px;border:1px solid var(--line-strong);border-radius:14px;background:#101a2c;box-shadow:var(--shadow)}.shop-menu-panel a{padding:9px 10px;border-radius:9px;white-space:nowrap}.shop-menu-panel a:hover,.shop-menu-panel a:focus-visible{background:rgba(255,255,255,.07);color:#fff}.nav-cart-link{display:inline-flex!important;align-items:center;gap:6px}.nav-cart-link [data-nav-cart-count]{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--gold);color:#08101c;font-size:.72rem;font-weight:800}.cart-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center}.cart-item-image{width:72px;height:72px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:#fff}
@media(max-width:760px){.shop-menu{width:100%}.shop-menu summary{width:100%;text-align:left}.shop-menu-panel{position:static;margin-top:6px;width:100%}.nav-cart-link{justify-content:space-between}}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  z-index: 140;
  background: rgba(10, 14, 26, 0.96);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.guide-box ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 30px 0 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.01));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-copy,
.footer-block p,
.footer-bottom p {
  color: var(--muted);
  line-height: 1.7;
}

.footer-block h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-block a {
  color: #f5f3ee;
  transition: color 0.18s ease;
}

.footer-block a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 18px;
}


@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy,
  .hero-image {
    padding: 28px;
  }

  .order-builder-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary-card {
    position: static;
    top: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid,
  .proof-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  
.testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 126px;
  }

  .hero,
  .shipping-notice-wrap,
  .trust-strip-wrap,
  .section {
    scroll-margin-top: 126px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-banner {
    padding: 8px 14px;
    font-size: 0.68rem;
    line-height: 1.45;
    letter-spacing: 0.8px;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 11px 0;
  }

  .brand {
    font-size: 1.08rem;
    line-height: 1.2;
  }

  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -14px;
    padding: 0 14px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    text-align: center;
    white-space: nowrap;
  }

  .hero {
    padding: 24px 0 18px;
  }

  .hero-grid {
    gap: 14px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shipping-notice {
    padding: 14px;
    border-radius: 14px;
    line-height: 1.5;
  }

  .trust-item {
    padding: 12px;
    border-radius: 14px;
  }

  .trust-item strong {
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .trust-item span {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .field-grid-two {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  
.testimonial-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .proof-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .assurance-band {
    display: grid;
    gap: 6px;
  }

  .assurance-band strong {
    white-space: normal;
  }

  .hero-copy,
  .hero-image {
    padding: 18px;
    border-radius: 16px;
  }

  h1 {
    font-size: 2.18rem;
    line-height: 1.04;
    letter-spacing: 0;
    margin-bottom: 12px;
  }

  .section-head h2,
  .contact-box h2 {
    font-size: 1.55rem;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn,
  .contact-box .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-metric {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .section {
    padding: 28px 0 6px;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .section-kicker {
    border-radius: 10px;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .order-summary-card,
  .order-form-card,
  .checkout-block,
  .product-card,
  .testimonial-card,
  .info-card,
  .proof-card,
  .faq-card,
  .contact-box {
    border-radius: 16px;
  }

  .order-summary-card,
  .order-form-card {
    padding: 16px;
  }

  .checkout-block {
    padding: 14px;
  }

  .checkout-block-head h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: 0;
  }

  .field {
    margin-bottom: 14px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 48px;
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 12px;
  }

  .cart-item,
  .order-summary-head,
  .summary-row {
    align-items: flex-start;
  }

  .cart-item {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
  }

  .cart-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .summary-row {
    gap: 10px;
  }

  .checkout-actions .btn {
    flex-basis: auto;
  }

  .buy-actions {
    flex-direction: column;
  }

  
.checkout-actions {
    flex-direction: column;
  }

  .product-image {
    padding: 6px;
  }
  .product-detail-trigger::after {
    content: "i";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(7, 17, 29, 0.82);
    border: 1px solid rgba(244,197,66,0.42);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    pointer-events: none;
  }

  .product-detail-modal {
    align-items: end;
    padding: 0;
  }

  .product-detail-dialog {
    width: 100%;
    max-height: 92dvh;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 20px 20px 0 0;
    border-inline: 0;
    border-bottom: 0;
  }

  .product-detail-media img {
    max-height: 42dvh;
  }

  .product-detail-copy {
    padding: 0;
    gap: 10px;
  }

  .product-detail-copy h2 {
    font-size: 1.28rem;
    line-height: 1.18;
  }

  .product-detail-description {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .product-detail-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-detail-close {
    top: 10px;
    right: 10px;
  }

  .product-image img {
    border-radius: 10px;
  }

  .product-body {
    padding: 10px;
  }

  .product-body p {
    display: none;
  }

  .tag {
    font-size: 0.62rem;
    letter-spacing: 0.7px;
    margin-bottom: 6px;
  }

  .product-body h3 {
    font-size: 0.84rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
  }

  .price {
    font-size: 0.98rem;
  }

  .stock {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .btn {
    width: 100%;
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 0.76rem;
  }

  .btn-order {
    margin-top: 8px;
  }

  .contact-box {
    align-items: stretch;
    padding: 18px;
  }

  .floating-order-chip {
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-width: 0;
    border-radius: 14px;
  }

  .site-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    transform: translateY(18px);
    border-radius: 14px;
    text-align: center;
  }

  .site-toast.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .trust-strip {
    gap: 8px;
  }

  .trust-item {
    padding: 10px;
  }

  .trust-item strong {
    font-size: 0.8rem;
  }

  .trust-item span {
    font-size: 0.72rem;
  }

  .product-grid {
    gap: 8px;
  }

  .nav-links a {
    min-height: 36px;
    padding-inline: 12px;
  }

  .product-body {
    padding: 9px;
  }

  .product-body h3 {
    font-size: 0.78rem;
  }

  .btn {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .hero-copy,
  .hero-image,
  .order-summary-card,
  .order-form-card,
  .contact-box {
    padding: 14px;
  }

  h1 {
    font-size: 1.88rem;
  }

  .hero-image img {
    border-radius: 12px;
  }

  .checkout-block-head {
    margin-bottom: 16px;
  }

  .order-summary-head {
    flex-direction: column;
  }

  .text-action {
    align-self: flex-start;
  }
}
/* Grid polish for buyer-confidence sections */
.proof-section .proof-grid,
.faq-section .faq-grid {
  display: grid !important;
  gap: 18px;
  align-items: stretch;
}

.proof-section .proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-section .faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-section .proof-card,
.faq-section .faq-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(242,193,78,0.2);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}

.proof-section .proof-card h3,
.faq-section .faq-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.proof-section .proof-card p,
.faq-section .faq-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.proof-section .assurance-band {
  margin-top: 20px;
}

@media (max-width: 1000px) {
  .proof-section .proof-grid,
  .faq-section .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .proof-section .proof-grid,
  .faq-section .faq-grid {
    grid-template-columns: 1fr;
  }
}





/* Final SEO fixes */
.category-seo-intro,.seo-product-copy{max-width:1100px;margin:2rem auto;line-height:1.7}.product-page-link{display:inline-block;margin-top:.5rem}


/* Shared catalog, product, and guide pages */
.site-footer{margin-top:72px;padding:42px 0;background:rgba(4,9,17,.75);border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}.site-footer p,.site-footer a{display:block;color:var(--muted);line-height:1.7}.site-footer h2{font-size:1.15rem;margin:0 0 12px}.breadcrumbs{display:flex;gap:9px;flex-wrap:wrap;color:var(--muted);padding:30px 0 18px;font-size:.9rem}.breadcrumbs a{color:var(--blue)}.page-intro{padding:26px 0 42px;max-width:760px}.page-intro h1{font-size:clamp(2.35rem,5vw,4.5rem)}.page-intro p{color:var(--muted);line-height:1.75;font-size:1.05rem}.category-page,.guide-page,.detail-page{min-height:65vh}.category-product-grid{padding-bottom:32px}.category-product-grid .product-card{overflow:hidden}.category-product-grid .product-image{display:block;aspect-ratio:1;overflow:hidden}.category-product-grid .product-image img{height:100%;object-fit:cover;transition:transform .25s ease}.category-product-grid .product-card:hover img{transform:scale(1.03)}.category-product-grid .product-body{padding:20px}.category-product-grid h2{font-size:1.3rem;margin:12px 0 16px}.category-product-grid .btn{margin-top:18px}.detail-page{padding-bottom:20px}.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start;padding:22px 0 48px}.product-detail-image{padding:16px;overflow:hidden}.product-detail-image img{aspect-ratio:1;object-fit:contain;border-radius:16px;background:#fff}.product-detail-content{padding:12px 0}.product-detail-content h1{font-size:clamp(2.35rem,4.7vw,4.5rem)}.product-detail-description{color:var(--muted);font-size:1.06rem;line-height:1.8;max-width:60ch}.product-detail-meta{display:flex;gap:16px;align-items:center;margin:28px 0}.product-detail-actions,.related-links{display:flex;gap:12px;flex-wrap:wrap}.product-assurance{margin-top:30px;padding:22px}.product-assurance h2{font-size:1.25rem;margin-bottom:10px}.product-assurance p{color:var(--muted);line-height:1.65}.related-section{padding-top:24px;border-top:1px solid var(--line)}.guide-article{padding:clamp(24px,5vw,56px);margin:16px 0 24px}.guide-article h1{font-size:clamp(2.25rem,4.5vw,4.1rem)}.guide-article h2{font-size:clamp(1.45rem,3vw,2rem);margin:34px 0 14px}.guide-article h3{font-size:1.2rem;margin:24px 0 10px}.guide-article p,.guide-article li{color:var(--muted);line-height:1.8}.guide-article p+ p{margin-top:16px}.guide-article ul,.guide-article ol{padding-left:22px}.guide-article a{color:var(--blue);text-decoration:underline}.guide-cta{padding-bottom:24px}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.guide-box{padding:26px}.guide-box h2{font-size:1.5rem;margin-bottom:12px}.guide-box p{color:var(--muted);line-height:1.65;margin-bottom:18px}@media(max-width:760px){.footer-grid,.product-detail-layout,.guide-grid{grid-template-columns:1fr}.product-detail-layout{gap:22px}.topbar .nav{align-items:flex-start}.nav-links{gap:4px}.nav-links a{padding:7px 9px;font-size:.8rem}.site-footer{margin-top:48px}.product-detail-actions .btn,.related-links .btn{width:100%;text-align:center}}

.product-detail-actions .product-cart-button{flex-basis:100%;text-align:center}.product-detail-actions .product-cart-button:hover{transform:translateY(-2px)}

/* Curated storefront homepage */
.storefront-hero{padding:clamp(38px,7vw,92px) 0 40px;background:radial-gradient(circle at 82% 12%,rgba(242,193,78,.18),transparent 28%),radial-gradient(circle at 15% 30%,rgba(118,184,255,.14),transparent 32%)}.storefront-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);gap:clamp(24px,5vw,66px);align-items:center}.storefront-hero-copy{max-width:670px}.storefront-hero-copy h1{font-size:clamp(3rem,6vw,5.6rem);margin-bottom:20px}.storefront-hero-copy>p:not(.eyebrow){max-width:59ch;color:var(--muted);font-size:1.08rem;line-height:1.75;margin-bottom:28px}.storefront-hero-image{padding:12px;border:1px solid var(--line-strong);border-radius:26px;background:rgba(255,255,255,.035);box-shadow:var(--shadow)}.storefront-hero-image img{aspect-ratio:1.05/1;object-fit:cover;border-radius:17px}.storefront-section{padding:clamp(46px,7vw,86px) 0}.storefront-section-head{max-width:680px;margin-bottom:28px}.storefront-section-head h2,.storefront-promo h2,.storefront-order-cta h2{font-size:clamp(2rem,4vw,3.2rem);margin-bottom:12px}.storefront-section-head p,.storefront-promo p,.storefront-order-cta p{color:var(--muted);line-height:1.7}.storefront-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.storefront-category-card{overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015));box-shadow:var(--shadow)}.storefront-category-image{display:block;aspect-ratio:1.35/1;overflow:hidden}.storefront-category-image img{height:100%;object-fit:cover;transition:transform .35s ease}.storefront-category-card:hover img{transform:scale(1.05)}.storefront-category-card>div{display:grid;align-content:start;gap:10px;padding:18px}.storefront-category-card h3{font-size:1.2rem}.storefront-category-card p{color:var(--muted);line-height:1.55;font-size:.92rem}.text-action{color:var(--gold);font-weight:800}.storefront-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.storefront-product-card{overflow:hidden;display:flex;flex-direction:column}.storefront-product-card .product-image{display:block;aspect-ratio:1/1;overflow:hidden;background:#fff}.storefront-product-card .product-image img{height:100%;object-fit:cover;transition:transform .3s ease}.storefront-product-card:hover .product-image img{transform:scale(1.035)}.storefront-product-card .product-body{display:grid;align-content:start;gap:12px;height:100%;padding:18px}.storefront-product-card h3{font-size:1.12rem;line-height:1.28;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.storefront-product-card .price-row{margin-top:auto}.storefront-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.storefront-product-actions .btn{width:100%;text-align:center}.storefront-section-action{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:28px 0 0}.storefront-promo{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:36px;padding:clamp(28px,5vw,52px);border:1px solid var(--gold-border);border-radius:26px;background:linear-gradient(110deg,rgba(242,193,78,.16),rgba(118,184,255,.11));box-shadow:var(--shadow)}.storefront-promo>div{max-width:700px}.storefront-promo p{margin:14px 0 24px}.storefront-promo img{width:min(100%,190px);justify-self:end;filter:drop-shadow(0 18px 28px rgba(0,0,0,.35))}.storefront-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.storefront-guide-grid .guide-box{padding:22px}.storefront-guide-grid h3{font-size:1.13rem;margin-bottom:9px}.storefront-guide-grid p{font-size:.93rem}.storefront-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.storefront-trust-grid article{padding:20px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.025)}.storefront-trust-grid strong{display:block;margin-bottom:8px}.storefront-trust-grid span{color:var(--muted);font-size:.92rem;line-height:1.55}.storefront-order-cta{padding:clamp(34px,6vw,64px) 0;background:linear-gradient(90deg,rgba(242,193,78,.14),rgba(118,184,255,.1));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.storefront-order-cta>.container{display:flex;gap:30px;align-items:center;justify-content:space-between}.storefront-order-cta p{max-width:620px;margin-top:10px}.storefront-order-cta .hero-actions{justify-content:flex-end}
@media(max-width:1000px){.storefront-category-grid,.storefront-guide-grid,.storefront-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storefront-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storefront-hero-grid{grid-template-columns:1fr}.storefront-hero-image{max-width:640px}.storefront-order-cta>.container{align-items:flex-start;flex-direction:column}.storefront-order-cta .hero-actions{justify-content:flex-start}}@media(max-width:560px){.storefront-category-grid,.storefront-guide-grid,.storefront-trust-grid{grid-template-columns:1fr}.storefront-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.storefront-product-card .product-body{padding:12px;gap:9px}.storefront-product-card h3{font-size:.88rem}.storefront-product-card .tag{font-size:.62rem}.storefront-product-card .price{font-size:1rem}.storefront-product-actions{grid-template-columns:1fr}.storefront-product-actions .btn{font-size:.69rem;min-height:34px}.storefront-promo{grid-template-columns:1fr;padding:28px}.storefront-promo img{display:none}.storefront-hero-copy h1{font-size:clamp(2.55rem,13vw,3.6rem)}.storefront-hero-image{padding:8px}.storefront-order-cta .hero-actions .btn{width:100%;text-align:center}}

/* ---- Mobile swipeable nav (v3.4.2): every pill keeps its natural width so the
   row overflows horizontally and can be swiped left/right. ---- */
@media (max-width: 680px) {
  .nav-links > a,
  .nav-links > details.shop-menu {
    flex: 0 0 auto;
    width: auto;
  }
  .nav-links > details.shop-menu > summary {
    width: auto;
    white-space: nowrap;
  }
}

/* ============ Mobile hamburger navigation (v3.5.0) ============
   Desktop is untouched: the toggle button and slide-down panel are
   display:none by default and only appear inside the max-width:680px
   media query below. */
.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 680px) {
  /* One-row header: logo left, hamburger right. */
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  /* Retire the swipeable pill row on phones. */
  .nav-links { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Slide-down panel anchored under the sticky header. */
  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(8, 12, 22, 0.98);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.32s ease, visibility 0s linear 0.32s;
  }
  .mobile-menu.open {
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: visible;
    transition: max-height 0.32s ease;
  }
  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 6px 18px 14px;
  }
  .mm-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    padding: 14px 2px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .mm-link:last-child { border-bottom: 0; }
  .mm-link:active { color: var(--gold); }
  .mm-shop { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .mm-shop summary {
    list-style: none;
    cursor: pointer;
    border-bottom: 0;
  }
  .mm-shop summary::-webkit-details-marker { display: none; }
  .mm-shop summary .mm-caret {
    color: var(--gold);
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.2s ease;
  }
  .mm-shop[open] summary .mm-caret { transform: rotate(180deg); }
  .mm-shop-links {
    display: flex;
    flex-direction: column;
    padding: 2px 0 10px;
  }
  .mm-shop-links a {
    display: block;
    min-height: 48px;
    padding: 13px 2px 13px 18px;
    color: var(--muted);
    font-size: 0.98rem;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .mm-shop-links a:active { color: var(--gold); }
  .mm-cart-link [data-nav-cart-count] {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--gold);
    color: #08101c;
    font-size: 0.78rem;
    font-weight: 800;
  }
}

/* ============ Product gallery (v3.6.0) ============
   Thumbnails under the main product photo; shown only when the product
   has extra photos picked in the Product details box. */
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.product-gallery-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}
.product-detail-image .product-gallery-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}
.product-gallery-thumb.is-active { border-color: var(--gold); }
.product-gallery-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ============ Product photos auto-fit (v3.6.2) ============
   Two fixes so every product photo fits its frame automatically, with no
   manual resizing of uploads:
   1. Card images set height:100% but never width:100%, so non-square
      photos broke out of their frames. Both dimensions at 100% lets
      object-fit do its job for any aspect ratio.
   2. The homepage cards are vertical flex containers, so the image frame
      (a flex item) was allowed to SHRINK below its aspect-ratio size
      whenever the card body needed space. flex-shrink:0 locks the frame. */
.product-image img,
.storefront-category-image img {
  width: 100%;
  height: 100%;
}
.storefront-product-card .product-image,
.storefront-category-card .storefront-category-image {
  flex-shrink: 0;
}
.product-detail-image > img {
  width: 100%;
  height: auto;
  /* Fill the frame edge-to-edge (v3.6.3): no empty gaps. Non-square
     photos are cropped to the square instead of letterboxed. */
  object-fit: cover;
}
