/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000;
  --white: #fff;
  --gray1: #0d0d0d;
  --gray2: #161616;
  --gray3: #232323;
  --gray4: #333;
  --gray5: #888;
  --gray6: #b5b5b5;
  --accent: #fff;
  --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--white);
  color: var(--black);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.46rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ticker {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: ticker-scroll 42s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.ticker-group {
  display: inline-flex;
  gap: 1.8rem;
  margin-right: 1.8rem;
  flex: 0 0 auto;
}

.ticker span, .ticker b { white-space: nowrap; }
.ticker .sep { opacity: 0.45; }

@keyframes ticker-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ── HEADER ── */
.site-header {
  border-bottom: 1px solid var(--gray3);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
}

.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  height: 110px;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-logo {
  display: block;
  width: auto;
  height: 100px;
  max-width: 178px;
  object-fit: contain;
}

.icon-btn {
  background: transparent;
  border: 0;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}
.icon-btn:hover { background: var(--gray2); }

.header-actions { display: flex; gap: 0.2rem; }

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 3px;
}

/* ── DRAWERS ── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  height: 100dvh;
  width: min(90vw, 390px);
  background: #0a0a0a;
  border: 1px solid var(--gray3);
  z-index: 1110;
  display: flex;
  flex-direction: column;
  transition: transform 0.27s ease;
}

.drawer-left {
  left: 0;
  transform: translateX(-102%);
}

.drawer-right {
  right: 0;
  transform: translateX(102%);
}

.drawer.show {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--gray3);
}

.drawer-header h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--gray4);
  background: transparent;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--gray3);
  font-weight: 600;
}

.drawer-search {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--gray4);
  background: #101010;
  color: var(--white);
  padding: 0.78rem 0.85rem;
  outline: none;
}

.drawer-search:focus {
  border-color: var(--white);
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.search-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.65rem;
  align-items: center;
  border: 1px solid var(--gray3);
  border-radius: 10px;
  padding: 0.4rem;
}

.search-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(1) contrast(4) invert(1)
          drop-shadow(0 0 6px rgba(255,255,255,0.5));
}

.search-item h4 {
  font-size: 0.76rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.search-item p {
  color: var(--gray6);
  font-size: 0.78rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-item {
  border: 1px solid var(--gray3);
  border-radius: 10px;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.cart-item h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
}

.cart-item p {
  color: var(--gray6);
  font-size: 0.78rem;
}

.cart-qty-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--gray4);
  background: transparent;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.cart-qty-val {
  min-width: 18px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-remove-btn {
  border: 1px solid var(--gray4);
  background: transparent;
  color: var(--gray6);
  border-radius: 7px;
  padding: 0.2rem 0.45rem;
  font-size: 0.72rem;
  cursor: pointer;
  margin-top: 0.4rem;
}

.cart-remove-btn:hover,
.cart-qty-btn:hover {
  border-color: var(--white);
  color: var(--white);
}

.cart-footer {
  margin-top: auto;
  border-top: 1px solid var(--gray3);
  padding-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.drawer-empty {
  color: var(--gray6);
  font-size: 0.88rem;
}

/* ── HERO ── */
.hero {
  border-bottom: 1px solid var(--gray3);
  text-align: center;
  padding: 5rem 1.2rem 4.5rem;
  background: var(--black);
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--gray6);
  font-weight: 600;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero-sub {
  color: var(--gray6);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.72rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-primary:hover { background: transparent; color: var(--white); }
.btn-primary.large { padding: 0.88rem 2.2rem; font-size: 0.88rem; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray4);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  flex: 1;
  text-align: center;
}
.btn-outline:hover { border-color: var(--white); }

.btn-buy {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--white);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  flex: 1;
  text-align: center;
}
.btn-buy:hover { background: transparent; color: var(--white); }

/* ── PRODUCTS ── */
.products-section {
  max-width: 1260px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 4rem;
}

.section-header-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gray5);
  text-transform: uppercase;
  border-bottom: 2px solid var(--white);
  padding-bottom: 0.22rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

/* ── PRODUCT CARD ── */
.card {
  background: var(--gray1);
  border: 1px solid var(--gray3);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--gray5); }

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--gray2);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
  /* strip green bg → black bg, make product white, add glow */
  filter: grayscale(1) contrast(4) invert(1)
          drop-shadow(0 0 6px rgba(255,255,255,0.95))
          drop-shadow(0 0 18px rgba(255,255,255,0.55))
          drop-shadow(0 0 32px rgba(255,255,255,0.25));
}
.card-media .img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.card:hover .img-secondary { opacity: 1; }
.card:hover .img-primary   { opacity: 0; }

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--white);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.card-price {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.price-compare {
  color: var(--gray5);
  text-decoration: line-through;
  font-size: 0.84rem;
}
.price-sale {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

/* ── PROOF ── */
.proof-section {
  border-top: 1px solid var(--gray3);
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.proof-track-wrap { overflow: hidden; }

.proof-track {
  display: flex;
  gap: 0;
  width: max-content;
  min-width: 200%;
  animation: proof-scroll 34s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.proof-group {
  display: flex;
  gap: 1rem;
  flex: 0 0 auto;
}

.proof-card {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray3);
  flex-shrink: 0;
  background: var(--gray2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes proof-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ── CTA ── */
.cta-section {
  border-top: 1px solid var(--gray3);
  border-bottom: 1px solid var(--gray3);
  text-align: center;
  padding: 5rem 1.2rem;
  background: var(--gray1);
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.cta-inner p {
  color: var(--gray6);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ── FAQ ── */
.faq-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.2rem 5rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--gray3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 0.97rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gray5);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }

.faq-body {
  color: var(--gray6);
  font-size: 0.93rem;
  padding-bottom: 1.1rem;
  line-height: 1.7;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--gray3);
  background: var(--black);
  padding: 2.5rem 1.2rem;
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.4rem;
}
.footer-links a {
  color: var(--gray6);
  text-decoration: none;
  font-size: 0.84rem;
}
.footer-links a:hover { color: var(--white); }

.footer-copy { color: var(--gray5); font-size: 0.8rem; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 1.4rem;
  left: 1.4rem;
  background: var(--gray2);
  border: 1px solid var(--gray3);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,.7);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── DETAILS MODAL ── */
.details-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  padding: 1rem;
}

.details-modal.show { display: grid; }

.details-dialog {
  width: min(96vw, 720px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.72);
  padding: 1.4rem 1.5rem 1.5rem;
  position: relative;
}

.details-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

#detailsTitle {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-right: 3rem;
}

.details-divider {
  margin: 0.75rem 0 1.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.details-content {
  display: grid;
  gap: 0.95rem;
  color: #efefef;
  font-size: 2rem;
}

.details-label {
  font-weight: 800;
  text-transform: uppercase;
}

.details-content p {
  font-size: 1.9rem;
  line-height: 1.45;
}

/* ── CHECKOUT MODAL ── */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  padding: 1rem;
}

.checkout-modal.show { display: grid; }

.checkout-dialog {
  width: min(96vw, 560px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(21,21,21,0.97), rgba(8,8,8,0.97));
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.76);
  padding: 1.2rem 1.15rem;
  position: relative;
}

.checkout-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--gray4);
  background: transparent;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}

#checkoutTitle {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.checkout-sub {
  color: var(--gray6);
  margin: 0.2rem 0 0.9rem;
}

.checkout-secure-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(88, 214, 141, 0.4);
  background: rgba(88, 214, 141, 0.08);
  color: #b8f6cf;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.checkout-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.checkout-trust-row span {
  border: 1px solid var(--gray4);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.66rem;
  color: var(--gray6);
  letter-spacing: 0.04em;
}

.checkout-summary {
  border: 1px solid var(--gray3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.7rem;
  margin-bottom: 0.75rem;
}

.checkout-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.checkout-summary-head strong {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-summary-head span {
  color: var(--gray6);
  font-size: 0.76rem;
}

.checkout-items-list {
  display: grid;
  gap: 0.35rem;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e8e8e8;
  font-size: 0.79rem;
}

.checkout-form {
  display: grid;
  gap: 0.55rem;
}

.checkout-form label {
  font-size: 0.78rem;
  color: var(--gray6);
  margin-top: 0.15rem;
}

.checkout-form input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--gray4);
  background: #101010;
  color: var(--white);
  padding: 0.7rem 0.78rem;
  outline: none;
}

.checkout-form input:focus {
  border-color: #d9d9d9;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.checkout-total-row {
  margin-top: 0.45rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray3);
  padding-top: 0.7rem;
}

.checkout-note {
  color: var(--gray6);
  font-size: 0.76rem;
  text-align: center;
}

.checkout-test-btn {
  width: 100%;
  margin-top: 0.15rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .header-inner { height: 72px; padding: 0 0.75rem; }
  .brand {
    display: inline-flex !important;
    left: 50%;
    transform: translateX(-50%);
  }
  .brand-logo { width: auto; height: 64px; max-width: 220px; object-fit: contain; }
  .card-actions {
    flex-direction: column;
    gap: 0.4rem;
  }
  .card-actions .btn-primary,
  .card-actions .btn-outline {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .brand {
    display: inline-flex !important;
    left: 50%;
    transform: translateX(-50%);
  }
  .brand-logo {
    display: block !important;
    width: auto;
    height: 58px;
    max-width: 140px;
    object-fit: contain;
  }
  .header-inner { height: 78px; padding: 0 0.6rem; }
  .card-title { font-size: 0.8rem; }
  .card-body { padding: 0.7rem 0.7rem 0.85rem; }
  .card-actions { flex-direction: column; gap: 0.4rem; }
  .card-actions .btn-primary,
  .card-actions .btn-outline {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0.75rem 0.5rem;
    font-size: 0.78rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #detailsTitle { font-size: 1.35rem; }
  .details-content p { font-size: 1rem; }
}
