/* =========================================================
   Blue Gecko Studio — styles.css (FULL REWRITE)
   ========================================================= */

/* ---------- Variables / Base ---------- */
:root{
  /* layout */
  --container: 1200px;
  --gap: 24px;

  /* palette */
  --bg:#0b0b0e;
  --text:#e9e9ef;
  --muted:#bcbcc5;

  --surface:#141418;    /* header/footer/panels */
  --surface-2:#19191f;  /* cards/blocks */
  --border:#232327;

  --accent:#d11b1b;
  --accent-2:#e72b2b;
  --gold:#f5c518;
}

*{ box-sizing:border-box; margin:0; padding:0; min-width:0; }
html,body{
  height:100%;
  background:var(--bg);
  color:var(--text);
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.5;
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
}
img,video{ display:block; max-width:100%; height:auto; }
html.lock,body.lock{ overflow:hidden; }

/* ---------- Helpers / Layout ---------- */
.container{ max-width:var(--container); margin:0 auto; padding:24px 16px; }
.section{ max-width:var(--container); margin:40px auto; padding:0 16px; }
.section h2{ font-size:1.5rem; font-weight:800; margin-bottom:14px; letter-spacing:.2px; }
.row{ display:flex; gap:8px; }
.split{ display:grid; grid-template-columns:1.2fr 1fr; gap:var(--gap); }
@media (max-width:980px){ .split{ grid-template-columns:1fr; gap:16px; } }
.bullets{ margin-top:12px; padding-left:18px; line-height:1.8; color:#d0d0d5; }
.figure img{ border-radius:12px; }
.caption{ font-size:.9rem; opacity:.8; margin-top:8px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:.65rem .8rem; border-radius:10px;
  background:#1a1a20; color:#fff; border:1px solid #2a2a30; text-decoration:none;
  font-weight:600; transition:background .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover{ background:#2a2a30; }
.btn:active{ transform:translateY(1px); }

.cta{
  display:inline-block; background:var(--accent); color:#fff; font-weight:800;
  border-radius:12px; padding:.7rem 1.1rem; text-decoration:none; transition:background .15s ease;
}
.cta:hover{ background:var(--accent-2); }

.icon-btn{
  border:1px solid #2a2a30; background:#1a1a20; color:#fff;
  border-radius:10px; padding:6px 10px; min-width:36px; height:36px; cursor:pointer;
}

/* =========================================================
   HEADER / NAV (robust, works with your existing markup)
   ========================================================= */
header{
  position:sticky; top:0; z-index:100;
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.nav{
  display:grid;
  grid-template-columns:auto 1fr auto; /* logo | nav | actions */
  align-items:center;
  gap:16px;
  padding:10px 16px;
}
.brand{ display:inline-flex; align-items:center; gap:10px; color:#fff; text-decoration:none; }
.logo{ height:64px; width:auto; object-fit:contain; }
@media (max-width:900px){ .logo{ height:48px; } }

/* IMPORTANT: style the actual UL present in your HTML */
.desktop-nav{ justify-self:center; }
.desktop-nav ul{
  list-style:none;
  display:flex; align-items:center; gap:18px;
  margin:0; padding:0;
}
.desktop-nav a{
  color:#fff; font-weight:600; text-decoration:none; padding:6px 8px; border-radius:6px;
}
.desktop-nav a:hover{ color:var(--accent); background:#19191f; }

/* Right-side actions: cart & hamburger */
.nav-actions{ display:flex; align-items:center; gap:10px; justify-self:end; }

.cart-btn{
  display:inline-flex; align-items:center; gap:8px; height:36px;
  padding:.5rem .7rem; border-radius:10px; border:1px solid #2a2a30; background:#1a1a20; color:#fff;
}
.cart-btn svg{ width:18px; height:18px; }
#cartCount{
  background:#2a2a30; border-radius:6px; padding:0 6px;
  height:18px; line-height:18px; font-size:12px; display:inline-flex; align-items:center;
}

/* Hamburger: hidden on desktop, visible on mobile, stays on RIGHT */
.hamburger{
  display:none; justify-content:center; align-items:center;
  width:36px; height:36px; border-radius:8px; border:0; background:none; color:#fff;
  justify-self:end;  /* keep on far right when shown */
}
.hamburger:active{ background:#1a1a20; }

@media (max-width:900px){
  .desktop-nav{ display:none; }
  .hamburger{ display:inline-flex; }
}
@media (min-width:901px){ .hamburger{ display:none !important; } }

/* Mobile drawer + shared overlay */
.overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.55);
  opacity:0; transition:opacity .24s ease; z-index:1190; pointer-events:none;
}
.overlay.show{ opacity:1; pointer-events:auto; }
.overlay[hidden]{ display:none; }

.mobile-drawer{
  position:fixed; top:0; right:0; height:100vh; width:clamp(260px,76vw,320px);
  background:var(--surface); color:#e9e9ef; border-left:1px solid var(--border);
  transform:translateX(100%); transition:transform .24s ease; z-index:1200; display:flex; flex-direction:column;
}
.mobile-drawer.open{ transform:translateX(0); }
.mobile-drawer[hidden]{ display:none; }
.mobile-drawer-header{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--border); }
.mobile-nav ul{ list-style:none; display:flex; flex-direction:column; gap:8px; padding:12px 14px; }
.mobile-nav a{ display:block; padding:10px 12px; border-radius:10px; color:#fff; text-decoration:none; background:#15151b; border:1px solid var(--border); }
.mobile-nav a:hover{ background:#1d1d24; }

/* =========================================================
   HERO (safe overlay; no accidental page-wide grey boxes)
   ========================================================= */
.hero{ position:relative; height:min(70vh,700px); overflow:hidden; isolation:isolate; }
.hero video,.hero img{ width:100%; height:100%; object-fit:cover; filter:brightness(.58) saturate(1.05); }
.hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(1100px 520px at 15% 18%, rgba(209,27,27,.32), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.72) 100%);
  z-index:0; pointer-events:none;
}
.hero-content{ position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:0 16px; z-index:1; }
.hero-content h1{ font-size:clamp(32px,7vw,62px); font-weight:900; letter-spacing:.2px; margin:6px 0 10px; }
.hero-content p{ font-size:clamp(15px,2.5vw,18px); opacity:.95; }

/* Optional: centered translucent box for CTA (used on home only) */
.hero-box{
  display:inline-flex; flex-direction:column; align-items:center; gap:12px;
  padding:18px 28px; border-radius:14px;
  background:rgba(20,20,24,.56);           /* transparent grey */
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

/* =========================================================
   PRODUCT GRID / CARDS
   ========================================================= */
.grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:980px){ .grid{ grid-template-columns:repeat(2,1fr); gap:16px; } }
@media (max-width:560px){ .grid{ grid-template-columns:1fr; gap:14px; } }

.card{
  position:relative;
  background:var(--surface-2); border:1px solid var(--border); border-radius:12px;
  padding:12px; display:flex; flex-direction:column; overflow:hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover{ border-color:var(--accent); transform: translateY(-2px); }

/* Image slot locked to square */
.card > img{
  width:100%; aspect-ratio:1/1; object-fit:contain; object-position:center;
  background:#0d0d12; border-radius:10px; margin-bottom:12px;
}

.card h3{ font-size:1.02rem; font-weight:700; margin-bottom:6px; }
.card p{ font-size:.95rem; margin-bottom:10px; color:var(--muted); }
.variant-select{
  margin-bottom:10px; width:100%; border-radius:10px; border:1px solid #2a2a30;
  background:#0f0f12; color:#fff; padding:.55rem .65rem; font-size:.92rem;
}
.shop-status{ margin-top:10px; color:#c7c7d0; }

/* =========================================================
   PRODUCT PAGE BASICS (gallery/info/tabs/qty)
   ========================================================= */
#product .product-page{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:24px; align-items:start; }
@media (max-width:980px){ #product .product-page{ grid-template-columns:1fr; } }

#product .breadcrumb{
  display:flex; align-items:center; flex-wrap:wrap; gap:6px;
  max-width:var(--container); margin:16px auto 24px; padding:0 16px;
  font-size:.95rem; color:var(--muted);
}
#product .breadcrumb a{ color:var(--accent); font-weight:600; text-decoration:none; }
#product .breadcrumb a:hover{ text-decoration:underline; }
#product .breadcrumb .separator{ color:var(--muted); margin:0 4px; user-select:none; }

#product .gallery-panel{ background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:12px; align-self:start; }
#product .hero-wrap{ position:relative; border-radius:12px; overflow:hidden; background:#0d0d12; }
#product #hero{ width:100%; height:auto; display:block; }
#product .thumbs{ display:grid; grid-template-columns:repeat(auto-fit,minmax(72px,1fr)); gap:8px; margin-top:10px; padding-bottom:8px; }
#product .thumbs img{ width:100%; height:auto; border-radius:8px; background:#111; }

#product .info-panel{ background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px; }
#product .info-panel h1{ font-size:clamp(22px,4vw,40px); margin-bottom:6px; }
#product .price-line{ font-size:1.2rem; font-weight:700; margin-bottom:6px; }
#product .info-panel .muted{ color:var(--muted); margin:6px 0 14px; }

.qty-wrap{
  display:inline-flex; align-items:center; gap:10px;
  background:#141418; border:1px solid var(--border); border-radius:10px;
  padding:6px 10px; margin-bottom:16px;
}
.qty-btn{
  width:36px; height:36px; border-radius:8px; border:1px solid #2a2a30;
  background:#1a1a20; color:#fff; font-size:18px; font-weight:600; cursor:pointer;
}
.qty-btn:hover{ background:#2a2a30; }
.qty-input{
  width:60px; height:36px; text-align:center; padding:.4rem; border-radius:8px;
  border:1px solid #2a2a30; background:#0f0f12; color:#fff; font:inherit; font-weight:600; font-size:1rem;
}

#product .tabs{ display:flex; gap:8px; margin:14px 0 10px; }
#product .tab{ border:1px solid #2a2a30; background:#1a1a20; color:#fff; border-radius:10px; padding:6px 10px; cursor:pointer; }
#product .tab.active, #product .tab:hover{ background:#2a2a30; }
#product .tab-content{ border-top:1px solid var(--border); padding-top:12px; color:#eaeaf0; }

#product #addToCart{
  display:inline-flex; align-items:center; justify-content:center;
  width:100%; height:40px; border-radius:10px;
  background:var(--accent); color:#fff; border:1px solid var(--accent); font-weight:700; cursor:pointer;
}
#product #addToCart:hover{ background:var(--accent-2); }

/* =========================================================
   TRUSTMARK (above Reviews) & REVIEWS
   ========================================================= */
.truststrip{ background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trustbar{ display:grid; gap:12px; align-items:stretch; grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:640px){ .trustbar{ grid-template-columns:1fr; } }
.tmark{
  display:flex; align-items:center; gap:12px;
  background:var(--surface-2); border:1px solid var(--border); border-radius:12px; padding:12px;
}
.tmark svg{ flex:0 0 auto; width:22px; height:22px; }
.tmark .txt{ display:flex; flex-direction:column; line-height:1.25; }
.tmark .title{ font-weight:800; font-size:.95rem; }
.tmark .sub{ color:var(--muted); font-size:.85rem; }

.review-grid{ display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); margin-top:16px; }
.review-card{
  background:var(--surface-2); border:1px solid var(--border); border-radius:12px; padding:16px;
  color:#eaeaf0; font-size:.95rem; line-height:1.65;
}
.review-card .stars{
  color:var(--gold); font-size:1.15rem; letter-spacing:2px; margin-bottom:6px;
  text-shadow:0 0 8px rgba(245,197,24,.25);
}
.review-card .reviewer{ display:block; margin-top:10px; font-size:.9rem; color:#a9a9b1; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:var(--gap); align-items:start; }
@media (max-width:980px){ .contact-grid{ grid-template-columns:1fr; gap:16px; } }

.form{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
  background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px;
}
@media (max-width:720px){ .form{ grid-template-columns:1fr; } }
.label{ font-size:.92rem; color:#ddd; }
.input,.textarea{
  width:100%; padding:.65rem .75rem; border-radius:10px;
  border:1px solid var(--border); background:#0f0f12; color:#fff; font:inherit;
}
.textarea{ min-height:140px; resize:vertical; }
.g-recaptcha{ grid-column:1/-1; margin-top:4px; }
.services{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:8px; }
@media (max-width:560px){ .services{ grid-template-columns:1fr; } }

/* =========================================================
   CART DRAWER (shared)
   ========================================================= */
#cartOverlay{ display:none; backdrop-filter:blur(2px); z-index:1100; }
#cartOverlay.show{ display:block; animation:fadeIn .2s ease; }
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }

.cart-drawer{
  position:fixed; top:0; right:0; width:clamp(280px,84vw,380px); height:100vh;
  background:var(--surface); color:#e9e9ef; border-left:1px solid var(--border);
  transform:translateX(100%); transition:transform .28s ease; z-index:1200; display:flex; flex-direction:column; contain:content;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-drawer[hidden]{ display:none; }
.cart-header{ position:sticky; top:0; z-index:1; padding:14px 16px; border-bottom:1px solid var(--border); background:var(--surface); display:flex; align-items:center; justify-content:space-between; }
.cart-close{ border:1px solid #2a2a30; background:#1a1a20; color:#fff; border-radius:10px; padding:6px 10px; cursor:pointer; font-size:18px; min-width:36px; height:36px; }
.cart-close:active{ transform:scale(.98); }
.cart-lines{ flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.line{ display:flex; gap:10px; align-items:center; padding:12px 16px; border-bottom:1px solid #1d1d22; }
.line img{ width:60px; height:60px; object-fit:cover; object-position:center; border-radius:8px; background:#111; }
.meta h4{ margin:0; font-size:.95rem; }
.remove-line{ margin-left:auto; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; background:transparent; border:1px solid transparent; color:#9a9aa2; border-radius:10px; cursor:pointer; transition:all .15s; }
.remove-line:hover{ background:#1c1c22; border-color:#2a2a30; color:#fff; }
.cart-footer{ position:sticky; bottom:0; z-index:1; padding:14px 16px; border-top:1px solid var(--border); background:var(--surface); }
.cart-totals{ display:flex; justify-content:space-between; margin-bottom:10px; }
.checkout-btn{ width:100%; height:42px; padding:12px 14px; border:0; border-radius:10px; background:var(--accent); color:#fff; font-weight:800; cursor:pointer; }
.checkout-btn:hover{ background:var(--accent-2); }
.cart-footer::after{
  content:"🔒 We use Shopify as our payment processor.\A You’ll be redirected to complete your order.";
  display:block; white-space:pre-line; margin-top:8px; font-size:.7rem; line-height:1.3; text-align:center; color:#c8c8ce; opacity:.9;
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer{ background:var(--surface); border-top:1px solid var(--border); color:#c6c6cc; }
#site-footer .footer-inner{ max-width:var(--container); margin:0 auto; padding:14px 16px; text-align:center; }
.footer-logo{ display:inline-flex; align-items:center; justify-content:center; margin-bottom:8px; }
.footer-logo img{ height:48px; width:auto; object-fit:contain; }
.footer-nav ul{ display:inline-flex; align-items:center; gap:12px; list-style:none; margin:4px 0 6px; padding:0; flex-wrap:wrap; }
.footer-nav li+li::before{ content:"•"; color:#7b7b86; margin:0 10px 0 6px; }
.footer-nav a{ color:#cfcfd6; text-decoration:none; font-size:.95rem; }
.footer-nav a:hover{ color:#ffffff; }
.footer-copy{ font-size:.85rem; color:#8c8c95; margin-top:6px; }