/* =========================================================
   2Wolves Mock — CLEAN STATIC STYLE (FIXED)
   - Transparent hero (no panel)
   - Readable text
   - Image tiles only
   - Skip link only on focus
   - Fixes stray preview artifact + footer icon sizing
   ========================================================= */

:root{
  --text:#f2f4f6;
  --muted: rgba(242,244,246,.78);

  --radius:18px;
  --shadow: 0 12px 35px rgba(0,0,0,.35);

  --wrap: min(1080px, calc(100% - 36px));

  --bgOpacity:.62;
  --bgBright:.95;
  --bgSat:1.05;
}

*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  line-height:1.45;
  background:#0a0c10;
  overflow-x:hidden; /* prevents off-screen elements creating phantom width/scroll */
}

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

/* =======================
   KILL ANY OLD PREVIEW BADGES (defensive)
   ======================= */
.preview,
.preview-badge,
.dev-badge,
#preview,
#devPreview,
[data-preview]{
  display:none !important;
}

/* =======================
   SKIP LINK
   ======================= */
.skip{
  position:absolute;
  left:-9999px;
  top:12px;
  z-index:9999;

  padding:10px 12px;
  border-radius:12px;
  background:rgba(0,0,0,.85);
  color:var(--text);
  border:1px solid rgba(255,255,255,.25);
  text-decoration:none;
}

.skip:focus{
  left:12px;
  outline:none;
}

/* =======================
   GLOBAL BACKGROUND
   ======================= */
.page{
  position:relative;
}

.page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background: url("2w-bg.PNG") center / cover no-repeat;
  opacity:var(--bgOpacity);
  filter: saturate(var(--bgSat)) brightness(var(--bgBright));
}

/* Mobile background swap */
@media (max-width: 720px){
  .page::before{
    background-image: url("2w-bg-mobile.PNG");
    background-position: center;
    background-size: cover;
  }
}

.page::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.68));
}

/* =======================
   WRAPPER
   ======================= */
.wrap{
  width:var(--wrap);
  margin:0 auto;
}

/* =======================
   HERO (TRANSPARENT)
   ======================= */
.hero{
  min-height:72vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:56px 0;
  background:transparent;
}

.hero-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  padding:22px;
}

.brand-logo{
  width:clamp(200px, 45vw, 380px);
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.55));
}

.tagline{
  margin:0;
  max-width:42ch;
  font-size:clamp(16px, 4vw, 20px);
  color:var(--text);
  text-shadow:0 10px 22px rgba(0,0,0,.60);
}

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

/* =======================
   BUTTONS
   ======================= */
.btn{
  color:var(--text);
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.15);
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:650;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn:hover{
  background:rgba(255,255,255,.25);
}

.btn:focus{
  outline: 2px solid rgba(255,255,255,.45);
  outline-offset: 3px;
}

.btn.ghost{
  background:rgba(0,0,0,.20);
}

/* =======================
   SECTIONS
   ======================= */
.section{
  padding:48px 0;
}

.section h2{
  margin:0 0 14px;
  font-size:22px;
  color:var(--text);
  text-shadow:0 10px 22px rgba(0,0,0,.55);
}

.section p{
  margin:0;
  color:var(--muted);
  max-width:68ch;
  text-shadow:0 10px 22px rgba(0,0,0,.55);
}

/* =======================
   IMAGE GRID (NO TEXT)
   ======================= */
.cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}

@media (min-width:820px){
  .cards{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}

.card{
  appearance:none;
  border:0;
  padding:0;
  background:rgba(0,0,0,.25);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  cursor:pointer;
}

.card:focus{
  outline: 2px solid rgba(255,255,255,.45);
  outline-offset: 4px;
}

.thumb{
  aspect-ratio:4/3;
  overflow:hidden;
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
}

/* Remove tile text (keep markup for accessibility/SEO but hide it) */
.meta,
.meta h3,
.meta p{
  display:none !important;
}

/* =======================
   CTA
   ======================= */
.cta-inner{
  border-radius: var(--radius);
  padding:22px;
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cta-actions{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

/* =======================
   FOOTER
   ======================= */
.footer{
  padding:22px 0 28px;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:16px;
}

.footer-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.footer-right{
  color:rgba(242,244,246,.60);
  font-size:14px;
  text-shadow:0 10px 22px rgba(0,0,0,.45);
}

/* ✅ Critical: prevent “giant icon” from global img rules / flex weirdness */
.footer-icon{
  width:22px;
  height:22px;
  flex:0 0 22px;
  max-width:none;       /* overrides img { max-width:100% } */
  object-fit:contain;
  opacity:.95;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.55));
}

/* =======================
   LIGHTBOX
   ======================= */
.lightbox{
  position:fixed;
  inset:0;
  z-index:9990;
  display:grid;
  place-items:center;
}

.lightbox[aria-hidden="true"]{
  display:none;
}

.lightbox-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(0,0,0,.70);
  cursor:pointer;
}

.lightbox-panel{
  position:relative;
  width:min(920px, calc(100% - 36px));
  border-radius:var(--radius);
  background:rgba(10,12,16,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 60px rgba(0,0,0,.65);
  overflow:hidden;
}

.lightbox-close{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.35);
  color:var(--text);
  cursor:pointer;
}

.lightbox-close:hover{
  background:rgba(255,255,255,.12);
}

.lightbox-title{
  margin:0;
  padding:14px 52px 12px 16px;
  font-size:16px;
  color:var(--text);
  border-bottom:1px solid rgba(255,255,255,.10);
}

.lightbox-img{
  width:100%;
  height:auto;
  max-height:72vh;
  object-fit:contain;
  background:rgba(0,0,0,.20);
}

/* =======================
   MOBILE TUNING
   ======================= */
@media (max-width:520px){
  .hero{ min-height:68vh; padding:48px 0; }
  .hero-inner{ padding:18px; }
  .section{ padding:42px 0; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}

/* =======================
   CART BUTTON BADGE
   ======================= */
.cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 7px;
  margin-left:6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.25);
  font-size:13px;
  font-weight:700;
}

/* =======================
   QUICK VIEW LAYOUT
   ======================= */
.qv{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:0;
}

.qv-media{
  background:rgba(0,0,0,.18);
}

.qv-media img{
  width:100%;
  height:100%;
  max-height:72vh;
  object-fit:contain;
  display:block;
}

.qv-info{
  padding:16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.qv-price{
  color:rgba(242,244,246,.85);
  font-weight:700;
}

.qv-controls{
  display:flex;
  gap:12px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin-top:4px;
}

.qv-qty{
  display:flex;
  flex-direction:column;
  gap:6px;
  color:rgba(242,244,246,.78);
  font-size:14px;
}

.qv-qty input{
  width:110px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}

.qv-qty input:focus{
  border-color: rgba(255,255,255,.35);
}

.qv-note{
  margin:6px 0 0;
  color:rgba(242,244,246,.62);
  font-size:14px;
  text-shadow:0 10px 22px rgba(0,0,0,.45);
}

.qv-actions{
  margin-top:6px;
  display:flex;
  gap:12px;
}

@media (max-width:820px){
  .qv{ grid-template-columns:1fr; }
  .qv-media img{ max-height:56vh; }
}

/* =======================
   CART DRAWER
   ======================= */
.cart{
  position:fixed;
  inset:0;
  z-index:9992;
  display:grid;
  grid-template-columns: 1fr;
}

.cart[aria-hidden="true"]{ display:none; }

.cart-backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(0,0,0,.72);
  cursor:pointer;
}

.cart-panel{
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:min(420px, calc(100% - 36px));
  background:rgba(10,12,16,.94);
  border-left:1px solid rgba(255,255,255,.14);
  box-shadow: -18px 0 60px rgba(0,0,0,.65);
  display:flex;
  flex-direction:column;
}

.cart-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.cart-head h3{
  margin:0;
  font-size:16px;
}

.cart-close{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.35);
  color:var(--text);
  cursor:pointer;
}

.cart-body{
  padding:12px 14px;
  overflow:auto;
  flex:1;
}

.cart-item{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.cart-thumb{
  width:64px;
  height:64px;
  border-radius:14px;
  overflow:hidden;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
}

.cart-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.cart-meta{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.cart-name{
  font-weight:750;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.cart-line{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  color:rgba(242,244,246,.70);
  font-size:14px;
}

.cart-qty{
  display:flex;
  align-items:center;
  gap:8px;
}

.cart-qty button{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.25);
  color:var(--text);
  cursor:pointer;
}

.cart-remove{
  margin-left:auto;
  border:0;
  background:transparent;
  color:rgba(242,244,246,.70);
  cursor:pointer;
  text-decoration:underline;
}

.cart-foot{
  padding:12px 14px 14px;
  border-top:1px solid rgba(255,255,255,.10);
}

.cart-summary{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
  color:rgba(242,244,246,.85);
}

.cart-note{
  margin:0 0 12px;
  color:rgba(242,244,246,.62);
  font-size:14px;
}