@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  /* Brand */
  --accent:#ffd500;
  --accent-dark:#e6c100;

  /* Neutrals */
  --ink:#111111;
  --text:#1b1f24;
  --muted:#5f6368;
  --bg:#f6f7fb;
  --card:#ffffff;
  --soft:#f1f3f5;
  --line:rgba(17,17,17,0.10);

  /* Status */
  --green:#1db954;
  --green-dark:#137a36;

  /* Shadows / Radius */
  --shadow:0 10px 24px rgba(17,17,17,0.08);
  --shadow2:0 18px 42px rgba(17,17,17,0.14);
  --radius:18px;
  --radius-sm:14px;

  /* Layout */
  --container:min(1100px, 92vw);

  /* Focus */
  --focus:0 0 0 4px rgba(255,213,0,0.22);
}

/* =========================
   BASE
========================= */
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family:Inter, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;

  /* keeps footer at bottom on short pages */
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:Poppins, Arial, sans-serif; }
.muted{ color:var(--muted); font-size:14px; }
.hidden{ display:none !important; }

.container{
  width:var(--container);
  margin:0 auto;
  padding:18px 0 50px;
  flex:1; /* pushes footer down */
}

h1,h2,h3{
  font-family:Poppins, Arial, sans-serif;
  margin:0;
  letter-spacing:-0.2px;
}

:where(button,a,input,select,textarea):focus-visible{
  outline:none;
  box-shadow:var(--focus);
  border-radius:12px;
}

/* =========================
   HEADER
========================= */
.siteHeader{
  position:sticky;
  top:0;
  z-index:20;
  background:var(--ink);
  color:#fff;
  padding:14px 18px;
  border-bottom:4px solid var(--accent);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.leftHeader{
  display:flex;
  align-items:center;
  gap:12px;
}

.brandLink{ display:flex; align-items:center; }
.brand{ display:flex; align-items:center; gap:12px; }

.logoMark{
  width:44px;
  height:44px;
  border-radius:14px;
  background:var(--accent);
  color:var(--ink);
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 20px rgba(255,213,0,0.20);
}

.brandText h1{
  font-size:18px;
  line-height:1.1;
}

.iconBtn{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.06);
  color:#fff;
  font-size:18px;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:transform .12s ease, filter .12s ease, background .12s ease;
}
.iconBtn:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
  background:rgba(255,255,255,0.08);
}
.iconBtn:active{ transform:translateY(0) scale(.99); }

.cartPill{
  margin-left:6px;
  background:rgba(255,255,255,0.12);
  color:#fff;
  padding:4px 10px;
  border-radius:999px;
  font-weight:800;
}

/* =========================
   BUTTONS
========================= */
.primaryBtn,
.pillBtn,
.card button{
  border:none;
  background:var(--accent);
  color:var(--ink);
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
  box-shadow:0 10px 18px rgba(255,213,0,0.16);
  transition:transform .12s ease, filter .12s ease, box-shadow .18s ease;
}

.primaryBtn:hover,
.pillBtn:hover,
.card button:hover{
  transform:translateY(-2px);
  filter:brightness(.98);
  box-shadow:0 16px 28px rgba(17,17,17,0.12);
}
.primaryBtn:active,
.pillBtn:active,
.card button:active{
  transform:translateY(0) scale(.99);
}

.ghostBtn{
  border:1px solid var(--line);
  background:var(--soft);
  color:var(--ink);
  padding:9px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:900;
  box-shadow:none;
  transition:transform .12s ease, filter .12s ease, background .12s ease;
}
.ghostBtn:hover{
  transform:translateY(-1px);
  filter:brightness(.98);
  background:#eceff2;
}
.ghostBtn:active{ transform:translateY(0) scale(.99); }

/* Card: Quick View button */
.quickBtn{
  border:1px solid var(--line) !important;
  background:var(--soft) !important;
  color:var(--ink) !important;
  box-shadow:none !important;
}

/* Card: "View" is an <a> */
.linkBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:42px;
  border-radius:12px;
  padding:10px 12px;
  box-shadow:0 10px 18px rgba(255,213,0,0.16);
}

/* =========================
   OPTIONAL HERO (index)
========================= */
.hero{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 22px rgba(17,17,17,0.06);
  margin:18px 0;
}
.heroText h2{ font-size:22px; }
.heroText p{ margin:10px 0 0; color:var(--muted); line-height:1.6; }
.heroBadges{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  font-size:12px;
}

/* =========================
   GRID + CARDS
========================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:14px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease;

  display:flex;
  flex-direction:column;
  min-height:100%;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow2); }

.cardMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.badge{
  display:inline-block;
  background:var(--accent);
  color:var(--ink);
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
}

.avail{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(29,185,84,0.25);
  background:rgba(29,185,84,0.10);
  font-weight:900;
  font-size:12px;
  color:var(--green-dark);
}
.availDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--green);
  box-shadow:0 0 0 3px rgba(29,185,84,0.16);
}

.card img,
.productImg{
  width:100%;
  height:170px;
  object-fit:contain;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--line);
  padding:10px;
  cursor:pointer;
}

.card h3{
  margin:12px 0 6px;
  font-size:16px;
  cursor:pointer;
}

.price{
  font-size:18px;
  font-weight:900;
  margin:8px 0 6px;
  background:transparent !important;
  text-shadow:none !important;
  filter:none !important;
}

.cardDesc{
  margin:0 0 12px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

/* JS creates cardBody; keep it flexible */
.cardBody{
  flex:1;
  display:flex;
  flex-direction:column;
}

/* ✅ aligned bottom actions across cards */
.cardActions{
  margin-top:auto;
  padding-top:10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cardBtns{
  display:flex;
  gap:10px;
}
.cardBtns button,
.cardBtns a{
  flex:1;
  width:100%;
}
.cardBtns button{
  min-height:42px;
  border-radius:12px;
  padding:10px 12px;
}

.addBtn{
  width:100%;
  min-height:44px;
  border-radius:12px;
  padding:11px 14px;
}

/* =========================
   BACKDROP
========================= */
.backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  z-index:40;
}

/* =========================
   CART
========================= */
.cart{
  position:fixed;
  top:0;
  right:-380px;
  width:360px;
  height:100%;
  background:#fff;
  border-left:1px solid var(--line);
  padding:18px;
  transition:right .28s ease;
  overflow:auto;
  z-index:50;
  box-shadow:-18px 0 40px rgba(0,0,0,0.14);
}
.cart.open{ right:0; }

.cartHeader{
  position:sticky;
  top:0;
  background:#fff;
  z-index:2;
  padding-bottom:12px;
  margin-bottom:12px;
  border-bottom:1px solid var(--line);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.cartHeader h3{
  font-family:Poppins, Arial, sans-serif;
  margin:0;
  font-size:22px;
  letter-spacing:-0.2px;
}
.cartHeaderBtns{
  display:flex;
  gap:8px;
}

/* Rows are generated with .cartRow */
#cartItems{ margin-top:10px; }
.cartRow{
  display:flex;
  gap:12px;
  align-items:flex-start;

  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:#fff;
  box-shadow:0 10px 22px rgba(17,17,17,0.06);
  margin:10px 0;
}

/* Title class exists in your JS */
.cartRowTitle{
  font-weight:900;
  margin-bottom:4px;
  color:var(--ink);
  line-height:1.2;
}

/* Qty UI exists in your JS */
.qtyControls{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}

.qtyBtn{
  width:42px;
  height:42px;
  border-radius:12px !important;
  border:1px solid var(--line) !important;
  background:#fff !important;
  color:var(--ink) !important;
  box-shadow:none !important;
  padding:0 !important;
  font-weight:900;
  cursor:pointer;
  transition:transform .12s ease, filter .12s ease;
}
.qtyBtn:hover{ transform:translateY(-1px); filter:brightness(.98); }
.qtyBtn:active{ transform:translateY(0) scale(.99); }

.qtyPill{
  min-width:44px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--soft);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  padding:0 10px;
}

/* Remove button generated with .ghostBtn.rm inline margin-left:auto in JS
   We make it look nicer even with inline style */
.qtyControls .ghostBtn{
  border-radius:14px;
  height:42px;
}

.cartTotal{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line);
  font-weight:900;
  font-size:18px;
  color:var(--ink);
}

.checkoutLinkBtn{
  display:block;
  width:100%;
  text-align:center;
  margin-top:14px;
  padding:14px 16px !important;
  border-radius:999px !important;
}

/* =========================
   SIDE MENU
========================= */
.sideMenu{
  position:fixed;
  top:0;
  left:-320px;
  width:300px;
  height:100%;
  background:#fff;
  border-right:1px solid var(--line);
  padding:16px;
  z-index:60;
  transition:left .28s ease;
  box-shadow:14px 0 30px rgba(0,0,0,0.12);
}
.sideMenu.open{ left:0; }

.menuTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.menuLinks{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.menuLink{
  display:block;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  transition:background .12s ease, transform .12s ease;
}
.menuLink:hover{
  background:rgba(255,213,0,0.14);
  transform:translateY(-1px);
}

/* =========================
   MODAL (Quick View)
========================= */
.modal{
  position:fixed;
  top:50%;
  left:50%;
  width:min(980px, 92vw);
  max-height:88vh;
  transform:translate(-50%, -50%);
  background:#fff;
  border-radius:22px;
  padding:14px 14px 18px;
  z-index:70;
  overflow:auto;
  box-shadow:0 18px 50px rgba(0,0,0,0.30);
  border:1px solid var(--line);
}

.modalTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 8px 12px;
  border-bottom:1px solid var(--line);
}
.modalTop h2{
  font-size:22px;
  font-weight:900;
}

.modalBody{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:16px;
  padding:14px 8px 0;
}
@media (max-width:860px){
  .modalBody{ grid-template-columns:1fr; }
}

.heroWrap{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
}
#modalHero{
  width:100%;
  height:420px;
  object-fit:contain;
  display:block;
  background:#fff;
}

.navBtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background:rgba(17,17,17,0.70);
  color:#fff;
  width:44px;
  height:44px;
  border-radius:999px;
  cursor:pointer;
  font-size:22px;
  font-weight:900;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .12s ease, filter .12s ease;
}
.navBtn:hover{ filter:brightness(1.08); transform:translateY(-50%) scale(1.03); }
#prevImg{ left:12px; }
#nextImg{ right:12px; }

.thumbs{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
}
.thumb{
  width:72px;
  height:54px;
  object-fit:cover;
  border-radius:14px;
  border:2px solid transparent;
  cursor:pointer;
  background:#f2f2f2;
}
.thumb.active{ border-color:var(--accent-dark); }

.priceRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.modalPrice{
  font-size:22px;
  font-weight:900;
  background:transparent !important;
}

.tabs{
  display:flex;
  gap:8px;
  margin-top:10px;
  border-bottom:1px solid var(--line);
  padding-bottom:10px;
}
.tab{
  border:none;
  background:var(--soft);
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
  font-weight:900;
  color:var(--ink);
  transition:transform .12s ease, background .12s ease;
}
.tab:hover{ transform:translateY(-1px); }
.tab.active{
  background:var(--ink);
  color:#fff;
}

.tabPanel{
  padding-top:12px;
  line-height:1.6;
  color:#222;
}

/* pretty long-text formatting */
.tabPanel h4{
  margin:12px 0 6px;
  font-family:Poppins, Arial, sans-serif;
}
.tabPanel ul{
  margin:8px 0 0 18px;
  padding:0;
}
.tabPanel p{ margin:8px 0 0; }

.review{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  margin-top:10px;
  background:#fff;
}
.reviewTop{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-weight:900;
}

.fullLink{
  display:inline-block;
  margin-top:12px;
  font-weight:900;
  color:#1a1a1a;
}
.fullLink:hover{ text-decoration:underline; }

/* =========================
   PRODUCT PAGE (product.html)
========================= */
.crumbs{
  display:flex;
  gap:10px;
  align-items:center;
  margin:10px 0 14px;
}
.crumbs a{ font-weight:900; color:var(--ink); }
.crumbs a:hover{ text-decoration:underline; }

.productTop{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:16px;
  align-items:start;
}
@media (max-width:900px){
  .productTop{ grid-template-columns:1fr; }
}

.productMetaRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.pHeroWrap{
  position:relative;
  overflow:visible; /* left arrow never clips */
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  padding:18px 56px; /* space for arrows */
}
#pageHero{
  width:100%;
  height:520px;
  object-fit:contain;
  display:block;
}
@media (max-width:900px){
  .pHeroWrap{ padding:14px 52px; }
  #pageHero{ height:420px; }
}

/* Product page arrows use #pPrev/#pNext */
#pPrev, #pNext{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;

  width:44px;
  height:44px;
  border-radius:999px;

  border:none;
  background:rgba(17,17,17,0.70);
  color:#fff;
  font-size:22px;
  font-weight:900;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:transform .12s ease, filter .12s ease;
}
#pPrev{ left:12px; }
#pNext{ right:12px; }
#pPrev:hover, #pNext:hover{
  filter:brightness(1.08);
  transform:translateY(-50%) scale(1.03);
}

/* thumbs row already styled by .thumbs/.thumb */
.pThumbs{ margin-top:10px; }

.productInfo{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 10px 22px rgba(17,17,17,0.06);
}
.productInfo h2{
  margin:0 0 10px;
  font-size:22px;
}

.buyRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 12px;
}
.bigPrice{
  font-size:26px;
  font-weight:900;
  color:var(--ink);
}
.productShort{
  color:var(--muted);
  line-height:1.6;
  margin:0 0 8px;
}

/* =========================
   CHECKOUT PAGE (styles used by your HTML)
========================= */
.pageCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 10px 22px rgba(17,17,17,0.06);
}

.miniCard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
}

.formGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
}
@media (max-width:680px){
  .formGrid{ grid-template-columns:1fr; }
}

.field label{
  display:block;
  font-weight:900;
  font-size:12px;
  margin-bottom:6px;
  color:#202124;
}

.field input, .field select{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  outline:none;
  font-family:Inter, Arial, sans-serif;
  background:#fff;
  transition:box-shadow .12s ease, border-color .12s ease;
}
.field input:focus, .field select:focus{
  border-color:rgba(255,213,0,0.78);
  box-shadow:var(--focus);
}

.checkout{
  display:grid;
  grid-template-columns:1.25fr 0.75fr;
  gap:16px;
  margin-top:14px;
}
@media (max-width:900px){
  .checkout{ grid-template-columns:1fr; }
}

.checkoutHeaderCard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:0 10px 22px rgba(17,17,17,0.06);
}

.stepPills{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.stepPill{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--soft);
  font-weight:900;
  font-size:12px;
}
.stepPill.active{
  background:var(--ink);
  color:#fff;
  border-color:rgba(17,17,17,0.2);
}

.rowBetween{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.secureBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,213,0,0.16);
  border:1px solid rgba(255,213,0,0.32);
  font-weight:900;
  font-size:12px;
}

.radioGroup{ display:grid; gap:10px; }
.radioCard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease;
}
.radioCard:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(17,17,17,0.08);
}
.radioCard input{ transform:scale(1.05); }
.priceRight{ font-weight:900; }

.sumLine{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding-top:10px;
  margin-top:10px;
  border-top:1px solid var(--line);
  font-weight:800;
}
.sumLine.total{
  font-weight:900;
  font-size:16px;
}

/* =========================
   TOAST
========================= */
.toast{
  position:fixed;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  background:#111;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  box-shadow:0 14px 30px rgba(0,0,0,0.25);
  z-index:90;
  font-weight:900;
}

/* =========================
   FOOTER (always bottom)
========================= */
.siteFooter{
  width:100%;
  padding:22px 0;
  border-top:1px solid var(--line);
  background:#fff;
  margin-top:auto;
}
.footerInner{
  width:var(--container);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}
.footerCopy{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}
.paymentRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.payChip{
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:6px 10px;
  font-weight:900;
  font-size:12px;
}

/* =========================
   SMALL QUALITY-OF-LIFE
========================= */
img, button, .card, .pillBtn, .primaryBtn{
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
}

@media (max-width:520px){
  .iconBtn{ width:44px; height:44px; }
  .cardBtns button, .cardBtns a{ min-height:44px; }
  .addBtn{ min-height:46px; }
}
/* =========================
   FOOTER (miniFooter)
========================= */
.miniFooter{
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 26px;
}

.footerBar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  padding: 18px 0;
}

.footerLeft{
  display:flex;
  flex-direction:column;
  gap: 10px;
  min-width: 240px;
}

.footerBrandRow{
  display:flex;
  align-items:center;
  gap: 12px;
}

.footerLogoMark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
  font-family: Poppins, Arial, sans-serif;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 18px rgba(255,213,0,0.18);
}

.footerBrand{
  font-family: Poppins, Arial, sans-serif;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}

.footerTrust{
  font-size: 13px;
  line-height: 1.35;
}

.footerCopy{
  font-size: 13px;
}

.footerLinks{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  align-items:center;
  justify-content:flex-end;
  text-align:right;
}

.footerLink{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
  font-size: 13px;
  color: var(--ink);
  transition: transform 0.12s ease, background 0.12s ease, filter 0.12s ease;
}

.footerLink:hover{
  transform: translateY(-1px);
  background: rgba(255,213,0,0.14);
  filter: brightness(0.99);
}

@media (max-width: 720px){
  .footerBar{
    flex-direction:column;
    align-items:flex-start;
  }
  .footerLinks{
    justify-content:flex-start;
    text-align:left;
  }
}

/* =========================
   TERMS ROW (checkout checkbox)
========================= */
.termsRow{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.termsRow input{
  margin-top: 3px;
  transform: scale(1.05);
}

.termsRow a{
  text-decoration: underline;
  font-weight: 900;
}
.rule{
  border: none;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}
/* =========================
   Free shipping progress
========================= */
.freeShipBox{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  margin: 10px 0 12px;
}

.freeShipTop{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.freeShipTitle{
  font-weight: 900;
  font-size: 13px;
}

.freeShipMsg{
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}

.freeShipTrack{
  height: 10px;
  border-radius: 999px;
  background: rgba(17,17,17,0.08);
  overflow: hidden;
  margin-top: 10px;
}

.freeShipFill{
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 220ms ease;
}

.freeShipNote{
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
/* ===== Free shipping progress (polish) ===== */
.freeShipBox.unlocked{
  border-color: rgba(29,185,84,0.35);
  background: rgba(29,185,84,0.06);
}

.freeShipBox.unlocked .freeShipFill{
  background: var(--green);
}

.freeShipBox.unlocked .freeShipMsg{
  color: var(--green-dark);
  font-weight: 800;
}
.checkoutTitle { margin: 0; }
.checkoutSub { margin-top: 6px; }

.sectionTitle { margin: 0; }
.sectionGap { margin-top: 14px; }

.checkoutBtn { width: 100%; margin-top: 14px; }
.checkoutMsg { margin-top: 10px; }

.paypalNote { margin-top: 6px; line-height: 1.6; }

.confirmText { margin-top: 8px; line-height: 1.6; }
.confirmBtn { display: block; text-align: center; margin-top: 14px; }

.summaryLoading { margin-top: 10px; }
.summaryHelp { margin-top: 12px; line-height: 1.6; }
