
:root{
  --bg:#f4f5f7;
  --ink:#111315;
  --muted:#747982;
  --card:#fff;
  --line:#e5e8ec;
  --lime:#b9ff38;
  --orange:#ff5a36;
  --purple:#dff3ff;
  --blue:#2563eb;
  --cyan:#20c7e8;
  --yellow:#ffd84d;
  --dark:#111315;
  --content:1440px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
.wrap{
  width:min(var(--content),calc(100% - 32px));
  margin-inline:auto;
}

/* ================= HEADER ================= */
.siteTop{
  position:sticky;
  top:0;
  z-index:70;
  background:rgba(244,245,247,.95);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.nav{
  min-height:82px;
  display:grid;
  grid-template-columns:minmax(220px,320px) minmax(280px,1fr) auto;
  align-items:center;
  gap:18px;
}
.brand{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:visible;
  min-width:0;
}
.brand span{font-size:27px;font-weight:950;letter-spacing:-1.2px}
.brand b{font-size:27px;font-weight:950;background:var(--lime);padding:2px 7px;border-radius:8px;margin-left:3px}

/* FORCE the uploaded logo to be visibly larger */
.brand img{
  width:300px;
  height:68px;
  max-width:none;
  object-fit:contain;
  object-position:left center;
  transform-origin:left center;
}
.topSearch{position:relative;min-width:0}
.topSearch input{
  width:100%;
  height:46px;
  border:1px solid #dfe2e7;
  background:#fff;
  border-radius:999px;
  padding:0 52px 0 18px;
  outline:none;
}
.topSearch button{
  position:absolute;
  right:6px;
  top:5px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:#111;
  color:#fff;
  cursor:pointer;
}
.navLinks{display:flex;gap:3px;white-space:nowrap}
.navLinks a{
  font-weight:850;
  font-size:13px;
  padding:10px 12px;
  border-radius:999px;
}
.navLinks a:hover{background:#fff}

/* moving ticker */
.ticker{
  width:100%;
  overflow:hidden;
  border-top:1px solid rgba(0,0,0,.05);
  background:#fff;
}
.tickerTrack{
  display:flex;
  width:max-content;
  animation:tickerMove 96s linear infinite;
  will-change:transform;
}
.ticker:hover .tickerTrack{animation-play-state:paused}
.tickerItem{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 16px 6px 7px;
  border-right:1px solid var(--line);
  white-space:nowrap;
  font-size:11px;
}
.tickerItem img{
  width:30px;
  height:30px;
  min-width:30px;
  max-width:30px;
  border-radius:7px;
  object-fit:cover;
  background:#eee;
}
.tickerItem span{
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tickerItem b{font-size:11px}
@keyframes tickerMove{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ================= HERO ================= */
.hero{padding:18px 0 8px}
.heroGrid{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(290px,.45fr);
  gap:12px;
}
.heroMain{
  min-height:430px;
  background:var(--dark);
  border-radius:28px;
  padding:42px;
  position:relative;
  overflow:hidden;
  color:#fff;
}
.heroCopy{position:relative;z-index:3}
.kicker{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.2);
  padding:7px 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
}
.hero h1{
  font-size:clamp(48px,6vw,88px);
  line-height:.86;
  letter-spacing:-5px;
  margin:24px 0 18px;
  max-width:850px;
}
.hero h1 em{font-style:normal;color:var(--lime)}
.hero p{
  max-width:650px;
  color:#bbc0c8;
  font-size:17px;
  line-height:1.5;
}
.actions{display:flex;gap:9px;margin-top:24px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  padding:13px 17px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  text-align:center;
}
.btnLime{background:var(--lime);color:#111}
.btnDark{background:#26292d;color:#fff}
.randomSoft{background:#fff;border:1px solid var(--line);color:#111}
.blob{
  position:absolute;width:360px;height:360px;
  border-radius:48% 52% 63% 37%;
  background:linear-gradient(135deg,var(--orange),#ffb038);
  right:-110px;top:-120px;transform:rotate(25deg)
}
.ring{
  position:absolute;width:250px;height:250px;
  border:38px solid var(--lime);border-radius:50%;
  right:100px;bottom:-165px
}
.heroSide{display:grid;grid-template-rows:1fr 1fr;gap:12px}
.featureBox{
  border-radius:28px;
  padding:24px;
  position:relative;
  overflow:hidden;
  min-height:205px;
}
.featureBox.primary{background:var(--lime)}
.featureBox.secondary{background:#dff3ff}
.featureBox small{font-weight:900;text-transform:uppercase;font-size:10px}
.featureBox h3{font-size:29px;line-height:.98;letter-spacing:-1.4px;margin:9px 0}
.featureBox p{font-size:13px;line-height:1.45;max-width:250px}
.featureIcon{position:absolute;right:7px;bottom:-28px;font-size:95px;transform:rotate(-8deg)}

.quickLinks{display:flex;gap:8px;padding:14px 0 2px;flex-wrap:wrap}
.chip{
  background:#fff;
  border:1px solid var(--line);
  padding:9px 13px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
}
.chip:hover{background:#111;color:#fff}

/* ================= PRODUCTS ================= */
.sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin:28px 0 14px;
  gap:20px;
}
.sectionHead h2{font-size:32px;letter-spacing:-1.4px;margin:0}
.sectionHead p{color:var(--muted);margin:4px 0 0}
.sectionHead a{font-weight:900}
.productGrid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  width:100%;
}
.productCard{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  transition:.2s;
  min-width:0;
}
.productCard:hover{transform:translateY(-3px);box-shadow:0 15px 38px rgba(0,0,0,.07)}
.cardImage{
  display:block;
  aspect-ratio:1/1;
  background:#eceef1;
  overflow:hidden;
  position:relative;
}
.cardImage img{
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
  background:#fff;
  transition:.3s;
}
.productCard:hover .cardImage img{transform:scale(1.02)}
.cardTag{
  position:absolute;left:9px;top:9px;
  background:rgba(255,255,255,.95);
  padding:6px 8px;border-radius:999px;
  font-size:10px;font-weight:950
}
.cardBody{padding:12px}
.cardCat{font-size:10px;color:var(--muted);font-weight:850;text-transform:uppercase}
.cardTitle{
  display:block;font-weight:780;font-size:14px;line-height:1.32;
  min-height:38px;margin:6px 0
}
.cardBottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.cardPrice{font-size:20px;font-weight:950;letter-spacing:-.5px}
.roundArrow{
  width:32px;height:32px;background:#111;color:#fff;border-radius:50%;
  display:grid;place-items:center;flex:0 0 auto
}
.bigStrip{
  margin:40px 0;
  background:var(--orange);
  border-radius:28px;
  padding:32px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:20px;
  color:#fff;
}
.bigStrip h2{font-size:38px;letter-spacing:-2px;line-height:1;margin:0 0 8px}
.bigStrip p{max-width:760px;margin:0;color:#ffe2db}
.bigStrip .btn{background:#fff;color:#111}

/* ================= COMMON PAGES ================= */
.pageHero{padding:38px 0 22px}
.pageHero h1{font-size:clamp(44px,6vw,70px);letter-spacing:-3.5px;line-height:.94;margin:10px 0}
.pageHero p{font-size:17px;color:var(--muted);max-width:760px;line-height:1.5}
.darkKicker{display:inline-block;background:#111;color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900}
.controls{
  background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:13px;display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px
}
.controls input,.controls select{
  border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;min-width:150px
}
.controls input{flex:1}
.discoverIntro{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;margin-bottom:18px}
.counter{background:#111;color:#fff;padding:10px 14px;border-radius:999px;font-size:12px;font-weight:850}
.emptyState{background:#fff;border:1px solid var(--line);border-radius:22px;padding:38px;text-align:center;grid-column:1/-1}
.emptyState h3{font-size:26px;margin:0 0 7px}.emptyState p{color:var(--muted)}

/* ================= RANDOM / MEME MODE ================= */
.randomMode{
  height:100svh;
  overflow:hidden;
}
.randomMode .siteTop{
  position:relative;
  height:78px;
  overflow:hidden;
}
.randomMode .ticker{display:none}
.randomMode .nav{
  min-height:78px;
  height:78px;
  grid-template-columns:320px 1fr auto;
}
.randomMode .brand{height:70px}
.randomMode .brand img{
  width:300px;height:66px;transform:scale(1.2);transform-origin:left center
}
.randomPage{
  height:calc(100svh - 78px);
  padding:8px 0;
}
.randomStage{
  height:100%;
  display:grid;
  grid-template-rows:38px minmax(0,1fr);
  gap:6px;
}
.randomMiniNav{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  align-items:center;
  font-size:12px;
  font-weight:850;
}
.randomMiniNav a{
  background:#fff;border:1px solid var(--line);
  padding:7px 11px;border-radius:999px
}
.randomProduct{
  min-height:0;
  height:100%;
  max-height:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  box-shadow:0 18px 55px rgba(17,19,21,.08);
}
.randomPhoto{
  position:relative;
  background:#f0f1f3;
  overflow:hidden;
  min-width:0;
}
.randomPhoto img{
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
  background:#fff;
}
.randomInfo{
  padding:26px 28px 92px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  position:relative;
}
.randomInfo h1{
  font-size:clamp(30px,3vw,46px);
  line-height:1.02;
  letter-spacing:-2px;
  margin:8px 0 11px;
}
.randomPrice{font-size:34px;font-weight:950;letter-spacing:-1px}
.randomSummary{
  font-size:15px;
  line-height:1.48;
  color:var(--muted);
  margin:12px 0 0;
  max-width:620px;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.randomActions{
  position:absolute;
  left:28px;
  right:28px;
  bottom:22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.randomPrimary{grid-column:1/-1}
.randomActions .btn{min-height:44px;padding:11px 12px;font-size:13px}
.randomSuggestions{display:none} /* no scroll distraction in meme mode */
.randomMode .footer{display:none}

/* ================= PRODUCT PAGE ================= */
.productPage{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,1fr);
  gap:30px;
  padding:30px 0;
}
.productVisual{
  background:#fff;border-radius:26px;overflow:hidden;
  min-height:520px;max-height:680px
}
.productVisual img{width:100%;height:100%;object-fit:contain}
.productInfo{padding:12px 0}
.productInfo h1{font-size:44px;line-height:1.02;letter-spacing:-2.2px;margin:8px 0 15px}
.mainPrice{font-size:36px;font-weight:950}
.productSummary{font-size:16px;line-height:1.55;color:var(--muted);max-width:650px}
.facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}
.fact{background:#fff;border-radius:15px;border:1px solid var(--line);padding:14px}
.fact small{display:block;color:var(--muted)}.fact b{display:block;margin-top:4px}
.productActions{display:flex;gap:9px;flex-wrap:wrap}

/* ================= INFINITE FEED ================= */
.infiniteLoader{
  display:flex;align-items:center;justify-content:center;gap:11px;
  min-height:86px;color:var(--muted);font-weight:800;opacity:0;transition:.2s
}
.infiniteLoader.visible{opacity:1}
.loaderDot{
  width:13px;height:13px;border-radius:50%;background:var(--lime);
  box-shadow:20px 0 0 #111,-20px 0 0 var(--orange);
  animation:loaderPulse 1s infinite ease-in-out
}
@keyframes loaderPulse{0%,100%{transform:scale(.78);opacity:.55}50%{transform:scale(1);opacity:1}}
.discoverEnd{text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 20px;margin:5px auto 25px;max-width:620px}
.discoverEnd strong{display:block}.discoverEnd span{display:block;color:var(--muted);font-size:13px;margin-top:3px}
#discoverSentinel{height:2px}
.feedCard{animation:feedIn .35s ease both}
@keyframes feedIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ================= FOOTER ================= */
.footer{background:#111315;color:#fff;margin-top:48px;padding:42px 0}
.footerGrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}
.footer p,.footer a{display:block;color:#aeb3bc;font-size:13px;line-height:1.7;margin:0 0 5px}
.footer h4{margin-top:0}.footerBrand{font-size:24px;font-weight:950}.footerBrand span{color:var(--lime)}

/* ================= TABLET ================= */
@media(max-width:1150px){
  .nav{grid-template-columns:250px minmax(240px,1fr) auto}
  .brand img{width:240px;transform:scale(1.18)}
  .productGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .heroGrid{grid-template-columns:1fr}
  .heroSide{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .productPage{grid-template-columns:1fr}
}

/* ================= MOBILE ================= */
@media(max-width:800px){
  .wrap{width:calc(100% - 14px)}
  .siteTop{position:sticky}
  .nav{
    min-height:auto;
    padding:6px 0 8px;
    grid-template-columns:1fr auto;
    gap:6px 8px;
  }
  .brand{
    grid-column:1/2;
    height:58px;
    min-width:0;
  }
  .brand img{
    width:205px;
    height:56px;
    max-width:none;
    transform-origin:left center;
  }
  .topSearch{grid-column:1/-1;grid-row:2}
  .topSearch input{height:40px;font-size:13px}
  .topSearch button{top:2px}
  .navLinks{
    grid-column:2/3;
    display:flex;
    justify-content:flex-end;
    gap:0;
  }
  .navLinks a{font-size:10.5px;padding:7px 6px}

  .tickerItem{padding:4px 10px 4px 5px;font-size:10px}
  .tickerItem img{width:25px;height:25px}
  .tickerItem span{max-width:110px}

  .hero{padding-top:8px}
  .heroMain{padding:22px;min-height:335px;border-radius:22px}
  .hero h1{font-size:44px;letter-spacing:-3px;margin:18px 0 14px}
  .hero p{font-size:14px;line-height:1.42}
  .blob{width:250px;height:250px;right:-95px;top:-95px}
  .ring{width:180px;height:180px;border-width:28px;right:35px;bottom:-125px}
  .heroSide{grid-template-columns:1fr 1fr;gap:7px}
  .featureBox{min-height:150px;padding:15px;border-radius:18px}
  .featureBox h3{font-size:21px}.featureBox p{font-size:10.5px;max-width:140px}
  .featureIcon{font-size:65px}

  .quickLinks{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    padding:9px 0 0;
  }
  .chip{
    text-align:center;
    padding:9px 6px;
    font-size:11px;
    border-radius:12px;
    white-space:normal;
  }

  .sectionHead{align-items:flex-start;flex-direction:column;margin:21px 0 10px}
  .sectionHead h2{font-size:27px}
  .sectionHead p{font-size:12px}
  .productGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .productCard{border-radius:13px}
  .cardBody{padding:8px}
  .cardTitle{font-size:12px;min-height:33px}
  .cardPrice{font-size:16px}
  .roundArrow{width:28px;height:28px}
  .cardTag{font-size:8.5px;padding:5px 6px}
  .bigStrip{grid-template-columns:1fr;padding:22px;border-radius:20px}
  .bigStrip h2{font-size:30px}

  .footerGrid{grid-template-columns:1fr}

  /* Random mode - truly one-screen, no page scrolling */
  .randomMode{
    height:100svh;
    overflow:hidden;
  }
  .randomMode .siteTop{
    height:58px;
    overflow:hidden;
  }
  .randomMode .nav{
    height:58px;
    min-height:58px;
    padding:2px 0;
    display:flex;
    align-items:center;
  }
  .randomMode .brand{height:54px}
  .randomMode .brand img{
    width:205px;
    height:52px;
    transform-origin:left center;
  }
  .randomMode .topSearch,.randomMode .navLinks{display:none}
  .randomPage{
    height:calc(100svh - 58px);
    padding:5px 0;
  }
  .randomStage{
    height:100%;
    grid-template-rows:30px minmax(0,1fr);
    gap:4px;
  }
  .randomMiniNav{
    margin:0;
    justify-content:space-between;
    font-size:9.5px;
  }
  .randomMiniNav a{
    padding:5px 8px;
    border-radius:999px;
  }
  .randomProduct{
    height:100%;
    min-height:0;
    grid-template-columns:43% 57%;
    border-radius:15px;
  }
  .randomPhoto{
    min-height:0;
    height:100%;
  }
  .randomPhoto img{
    width:100%;
    height:100%;
    object-fit:contain;
  }
  .randomInfo{
    height:100%;
    padding:10px 9px 128px;
    justify-content:center;
    overflow:hidden;
  }
  .randomInfo h1{
    font-size:18px;
    line-height:1.02;
    letter-spacing:-.7px;
    margin:4px 0 5px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .randomPrice{font-size:22px}
  .randomSummary{
    font-size:10px;
    line-height:1.3;
    margin:5px 0 0;
    -webkit-line-clamp:3;
  }
  .randomActions{
    left:9px;
    right:9px;
    bottom:9px;
    grid-template-columns:1fr;
    gap:5px;
  }
  .randomPrimary{grid-column:auto}
  .randomActions .btn{
    min-height:34px;
    padding:7px 6px;
    font-size:9.5px;
  }

  .productPage{grid-template-columns:1fr;gap:14px;padding:18px 0}
  .productVisual{min-height:0;max-height:none;aspect-ratio:1/1}
  .productInfo{padding:0}
  .productInfo h1{font-size:31px}
  .facts{grid-template-columns:1fr 1fr}
}

/* small phones */
@media(max-width:430px){
  .brand img{width:185px;transform:scale(1.2)}
  .hero h1{font-size:40px}
  .featureBox{min-height:142px;padding:13px}
  .featureBox h3{font-size:19px}
  .randomProduct{grid-template-columns:41% 59%}
  .randomInfo{padding:8px 7px 122px}
  .randomInfo h1{font-size:16.5px}
  .randomPrice{font-size:20px}
  .randomSummary{font-size:9.5px;-webkit-line-clamp:2}
  .randomActions{left:7px;right:7px;bottom:7px}
  .randomActions .btn{min-height:32px;font-size:9px}
}


/* ===== V4: PREMIUM BUMPER / CARDS ===== */
.ticker{
  width:min(var(--content),calc(100% - 32px));
  margin:12px auto 0;
  border:1px solid #d9dee7;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 32px rgba(17,19,21,.06);
  overflow:hidden;
  position:relative;
}
.ticker::before,.ticker::after{
  content:"";
  position:absolute;
  z-index:4;
  top:0;bottom:0;
  width:52px;
  pointer-events:none;
}
.ticker::before{left:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}
.ticker::after{right:0;background:linear-gradient(270deg,#fff,rgba(255,255,255,0))}
.tickerTrack{min-height:82px;align-items:center}
.tickerItem{
  height:68px;
  margin:7px 4px;
  padding:6px 12px 6px 6px;
  gap:10px;
  border:1px solid #e8ebef;
  border-radius:14px;
  background:#f8fafc;
  min-width:220px;
  max-width:260px;
}
.tickerItem img{
  width:56px!important;height:56px!important;
  min-width:56px!important;max-width:56px!important;
  border-radius:10px!important;
  object-fit:cover!important;
}
.tickerItem span{
  font-size:12px;font-weight:750;line-height:1.18;
  max-width:125px;white-space:normal;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.tickerItem b{font-size:13px;white-space:nowrap;color:#2563eb}

/* colorful modern cards */
.productGrid{gap:14px}
.productCard{
  border:1px solid rgba(17,19,21,.08);
  border-radius:22px;
  box-shadow:0 8px 26px rgba(17,19,21,.055);
  background:linear-gradient(180deg,#fff 0%,#fff 72%,#f8fafc 100%);
}
.productCard:nth-child(6n+1){box-shadow:0 8px 28px rgba(37,99,235,.10)}
.productCard:nth-child(6n+2){box-shadow:0 8px 28px rgba(255,138,48,.10)}
.productCard:nth-child(6n+3){box-shadow:0 8px 28px rgba(32,199,232,.11)}
.productCard:nth-child(6n+4){box-shadow:0 8px 28px rgba(185,255,56,.13)}
.productCard:nth-child(6n+5){box-shadow:0 8px 28px rgba(255,216,77,.12)}
.productCard:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(17,19,21,.13);
  border-color:rgba(37,99,235,.22);
}
.cardImage{background:#f3f6fa}
.cardBody{padding:14px 14px 13px}
.cardCat{
  display:inline-flex;
  padding:5px 8px;
  border-radius:999px;
  background:#e8f0ff;
  color:#1748a5;
  font-size:9px;
  letter-spacing:.2px;
}
.productCard:nth-child(6n+2) .cardCat{background:#fff0e3;color:#a94700}
.productCard:nth-child(6n+3) .cardCat{background:#e2f9fd;color:#08758a}
.productCard:nth-child(6n+4) .cardCat{background:#efffd2;color:#527900}
.productCard:nth-child(6n+5) .cardCat{background:#fff7ce;color:#8b6900}
.cardTitle{font-size:14px;font-weight:850}
.cardPrice{color:#2563eb}
.roundArrow{
  background:#111315;
  transition:.18s;
}
.productCard:hover .roundArrow{background:#2563eb;transform:translateX(2px)}

/* replace ugly pink-ish accent box */
.featureBox.secondary{
  background:linear-gradient(135deg,#dff3ff 0%,#bdeaff 100%);
  border:1px solid #9eddf8;
}
.featureBox.primary{
  background:linear-gradient(135deg,#c8ff55 0%,#aef22b 100%);
}

/* browse/search panel more polished */
.controls{
  border:1px solid #dfe4eb;
  box-shadow:0 8px 30px rgba(17,19,21,.05);
  padding:10px;
}
.controls input,.controls select{background:#f8fafc}
.controls .btn,.controls button[type=submit]{background:#2563eb!important;color:#fff!important}

/* category/quick chips get color, but remain clean */
.quickLinks .chip:nth-child(6n+1){background:#e8f0ff;border-color:#cfddff}
.quickLinks .chip:nth-child(6n+2){background:#efffd8;border-color:#daf6ad}
.quickLinks .chip:nth-child(6n+3){background:#fff0e3;border-color:#ffdbc0}
.quickLinks .chip:nth-child(6n+4){background:#e4f9fd;border-color:#c6eff7}
.quickLinks .chip:nth-child(6n+5){background:#fff7d6;border-color:#f5e6a0}
.quickLinks .chip:nth-child(6n+6){background:#f1f4f8;border-color:#dfe4eb}
.quickLinks .chip:hover{background:#111315;color:#fff;border-color:#111315}

@media(max-width:800px){
  .ticker{
    width:calc(100% - 14px);
    margin-top:6px;
    border-radius:15px;
  }
  .tickerTrack{min-height:66px}
  .tickerItem{
    min-width:180px;max-width:205px;height:56px;margin:5px 3px;padding:4px 8px 4px 4px;
  }
  .tickerItem img{
    width:46px!important;height:46px!important;
    min-width:46px!important;max-width:46px!important;
  }
  .tickerItem span{font-size:10px;max-width:100px}
  .tickerItem b{font-size:11px}
  .ticker::before,.ticker::after{width:24px}
  .productGrid{gap:9px}
  .productCard{border-radius:16px}
  .cardBody{padding:9px}
}


/* ===== V5 POLISH ===== */

/* Remove browser's ugly blue mobile tap flash */
a, button, input, select {
  -webkit-tap-highlight-color: transparent;
}
a:focus, button:focus {
  outline: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(37,99,235,.25);
  outline-offset: 2px;
}

/* Rounded uploaded logo, no need to edit JPG */
.brand img{
  border-radius:16px !important;
  overflow:hidden;
  background:#fff;
}

/* Navigation buttons: defined hit area and deliberate press state */
.navLinks a,
.randomMiniNav a{
  transition:background .14s ease, color .14s ease, transform .08s ease, box-shadow .14s ease;
}
.navLinks a:hover,
.randomMiniNav a:hover{
  background:#e9edf2;
}
.navLinks a:active,
.randomMiniNav a:active{
  background:#d8dde5;
  transform:scale(.97);
  box-shadow:inset 0 0 0 1px rgba(17,19,21,.06);
}

/* Slightly darker page so cards separate visually */
body{
  background:#eceff3;
}

/* stronger modern card separation */
.productCard{
  background:#f9fbfd;
  border:1.5px solid #cfd6df;
  box-shadow:0 10px 26px rgba(17,19,21,.07);
}
.productCard:nth-child(6n+1){border-color:#bfcef8}
.productCard:nth-child(6n+2){border-color:#f3c7aa}
.productCard:nth-child(6n+3){border-color:#b9e7ef}
.productCard:nth-child(6n+4){border-color:#d6eda7}
.productCard:nth-child(6n+5){border-color:#eadb91}
.productCard:nth-child(6n+6){border-color:#cfd6df}

.cardBody{
  background:linear-gradient(180deg,#ffffff 0%,#f6f8fb 100%);
}

/* Every product image uses the same visual viewport */
.cardImage{
  aspect-ratio:1/1 !important;
  height:auto !important;
  background:linear-gradient(135deg,#eef2f6,#f8fafc);
  display:grid;
  place-items:center;
}
.cardImage img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
}

/* badges always sit on image */
.cardTag{
  z-index:3;
  top:10px;
  left:10px;
  max-width:calc(100% - 20px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Random mode image viewport: fixed and clean */
.randomPhoto{
  background:linear-gradient(135deg,#eef2f6,#f8fafc);
  display:grid;
  place-items:center;
}
.randomPhoto img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
}
.randomPhoto .cardTag{
  top:14px;
  left:14px;
}

/* Random action layout:
   BIG "next" on left; smaller information / Allegro stack on right */
.randomActions{
  grid-template-columns:1.15fr .85fr !important;
  grid-template-rows:1fr 1fr !important;
  gap:8px !important;
}
.randomActions .randomNext{
  grid-column:1;
  grid-row:1 / span 2;
  min-height:96px !important;
  font-size:16px !important;
  background:#111315;
  color:#fff;
}
.randomActions .randomPrimary{
  grid-column:2 !important;
  grid-row:1;
  min-height:44px !important;
  background:var(--lime);
  color:#111;
}
.randomActions .randomSoft{
  grid-column:2;
  grid-row:2;
  min-height:44px !important;
}
.randomActions .btn:active{
  transform:scale(.985);
}

/* product page buttons also separated */
.productActions{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  grid-template-rows:1fr 1fr;
  gap:8px;
}
.productActions .btnDark{
  grid-column:1;
  grid-row:1 / span 2;
  min-height:96px;
}
.productActions .btnLime{
  grid-column:2;
  grid-row:1;
}
.productActions .randomSoft{
  grid-column:2;
  grid-row:2;
}

/* More deliberate loading/pacing block */
.infiniteLoader{
  min-height:140px;
  opacity:1;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.infiniteLoader::after{
  content:"Chwila — układamy kolejną porcję";
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}
.loaderDot{
  width:16px;
  height:16px;
}

/* Mobile */
@media(max-width:800px){
  body{background:#e9edf2}

  .brand img{
    border-radius:13px !important;
  }

  .navLinks a{
    background:#f7f8fa;
    border:1px solid #dde2e8;
    border-radius:10px;
    min-width:44px;
    text-align:center;
  }
  .navLinks a:active{
    background:#dfe4ea;
  }

  .productCard{
    border-width:1.3px;
  }

  .cardImage{
    aspect-ratio:1/1 !important;
  }

  /* random mode: everything still fits, but buttons are safer */
  .randomActions{
    grid-template-columns:1fr 1fr !important;
    grid-template-rows:auto auto !important;
  }
  .randomActions .randomNext{
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
    min-height:78px !important;
    font-size:12px !important;
  }
  .randomActions .randomPrimary{
    grid-column:2 !important;
    grid-row:1 !important;
    min-height:36px !important;
  }
  .randomActions .randomSoft{
    grid-column:2 !important;
    grid-row:2 !important;
    min-height:36px !important;
  }

  .productActions{
    grid-template-columns:1fr 1fr;
  }
  .productActions .btnDark{
    grid-column:1;
    grid-row:1 / span 2;
    min-height:82px;
  }

  .infiniteLoader{
    min-height:120px;
  }
}


/* ===== V6: LOGO 1619x972 + robust discovery loader ===== */

/*
  logo.jpg ma proporcje ok. 1.665:1.
  Nie wciskamy go już w szeroki prostokąt.
  Sterujemy wysokością i pozwalamy przeglądarce zachować naturalne proporcje.
*/
.brand{
  width:max-content !important;
  min-width:0 !important;
  height:auto !important;
  padding:4px !important;
  border-radius:18px;
  transition:background .14s ease, transform .08s ease;
}
.brand:hover{background:rgba(17,19,21,.045)}
.brand:active{
  background:rgba(17,19,21,.09);
  transform:scale(.985);
}
.brand img{
  display:block !important;
  height:76px !important;
  width:auto !important;
  max-height:76px !important;
  max-width:127px !important; /* 76 * 1619/972 ≈ 126.6 */
  aspect-ratio:1619/972;
  object-fit:contain !important;
  border-radius:15px !important;
  transform:none !important;
}

/* Keep header balanced around the real logo dimensions */
.nav{
  grid-template-columns:150px minmax(280px,1fr) auto !important;
  min-height:92px !important;
}

/* Loader is visible only while a batch is actually being prepared */
.infiniteLoader{
  display:none !important;
}
.infiniteLoader.visible{
  display:flex !important;
}

/* Mobile logo keeps same proportions and compact tap target */
@media(max-width:800px){
  .nav{
    grid-template-columns:118px minmax(0,1fr) !important;
    min-height:auto !important;
  }
  .brand{
    padding:3px !important;
    border-radius:14px;
  }
  .brand img{
    height:58px !important;
    width:auto !important;
    max-height:58px !important;
    max-width:97px !important; /* 58 * 1.665 */
    border-radius:12px !important;
  }

  .randomMode .nav{
    display:flex !important;
    min-height:62px !important;
    height:62px !important;
  }
  .randomMode .brand img{
    height:54px !important;
    width:auto !important;
    max-height:54px !important;
    max-width:90px !important;
  }
}


/* ===== V7: instant discovery + fast random transition ===== */
.randomProduct{
  transition:opacity .14s ease, transform .14s ease, filter .14s ease;
}
.randomProduct.randomChanging{
  opacity:.2;
  transform:scale(.985);
  filter:blur(1px);
}
.randomProduct.randomArrived{
  animation:randomArrive .18s ease-out both;
}
@keyframes randomArrive{
  from{opacity:.65;transform:scale(.99)}
  to{opacity:1;transform:scale(1)}
}
.randomNext:disabled{
  opacity:.65;
  cursor:default;
  pointer-events:none;
}
.infiniteLoader::after{
  content:"" !important;
}
.infiniteLoader{
  min-height:70px !important;
}


/* ===== V8: discovery navigation + random spacing ===== */

/* In discovery mode keep the useful navigation permanently visible. */
.discoverMode .siteTop{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  z-index:100;
  box-shadow:0 8px 24px rgba(17,19,21,.08);
}
.discoverMode .ticker{
  display:none !important;
}
.discoverMode main{
  padding-top:calc(var(--discover-header-h, 96px) + 14px);
}

/* Floating return-to-top control as a second escape hatch. */
.backToTop{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:120;
  width:48px;
  height:48px;
  border:0;
  border-radius:16px;
  background:#111315;
  color:#fff;
  font-size:24px;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(17,19,21,.22);
  opacity:0;
  transform:translateY(12px) scale(.92);
  pointer-events:none;
  transition:.18s ease;
}
.backToTop.show{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.backToTop:hover{
  background:#2563eb;
}
.backToTop:active{
  transform:scale(.96);
}

/* Random generator had almost no air between header and card. */
.randomMode .randomPage{
  padding-top:14px !important;
  height:calc(100svh - 78px) !important;
}
.randomMode .randomStage{
  padding-top:4px;
}
.randomMode .randomProduct{
  max-height:calc(100svh - 142px);
}

/* Mobile discover fixed header compensation */
@media(max-width:800px){
  .discoverMode main{
    padding-top:calc(var(--discover-header-h, 104px) + 10px);
  }
  .backToTop{
    right:14px;
    bottom:14px;
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:21px;
  }

  .randomMode .randomPage{
    padding-top:8px !important;
    height:calc(100svh - 62px) !important;
  }
  .randomMode .randomProduct{
    max-height:calc(100svh - 104px);
  }
}


/* ===== PERFORMANCE + CLEAN COPY PATCH ===== */

/* Po usunięciu opisów sekcje nie zostawiają pustej przestrzeni. */
.heroCopy .actions{margin-top:18px}
.featureBox h3{margin-bottom:0}
.sectionHead h2{margin-bottom:0}
.bigStrip h2{margin-bottom:0}

/* Kafelki daleko poza viewportem nie muszą być od razu renderowane.
   Szczególnie pomaga po przewinięciu setek produktów w trybie Odkrywaj. */
.feedCard{
  content-visibility:auto;
  contain-intrinsic-size:360px 280px;
}

/* Obraz nie wpływa na układ podczas doładowywania. */
.cardImage img{
  display:block;
  contain:paint;
}

/* Stabilniejsza karta podczas lazy-loadingu. */
.cardImage{
  contain:layout paint;
}

@media(max-width:800px){
  .feedCard{
    contain-intrinsic-size:300px 180px;
  }
  .heroCopy .actions{margin-top:14px}
}


/* ===== V9: NOWOCZESNY TRYB LOSUJ ===== */

/* Sam tryb Losuj ma własny, czysty canvas. */
.randomMode{
  background:#eef1f5 !important;
}

.randomMode .randomPage{
  width:min(1380px,calc(100% - 36px)) !important;
  padding-top:14px !important;
  padding-bottom:18px !important;
}

.randomMode .randomStage{
  grid-template-rows:34px minmax(0,1fr) !important;
  gap:10px !important;
}

.randomMiniNav{
  justify-content:flex-start !important;
  gap:7px !important;
}

.randomMiniNav a{
  background:rgba(255,255,255,.78) !important;
  border:1px solid rgba(17,19,21,.08) !important;
  box-shadow:0 4px 18px rgba(17,19,21,.04);
  backdrop-filter:blur(10px);
}

/* Główna karta — wyraźnie oddzielona od tła. */
.randomMode .randomProduct{
  background:#fff !important;
  border:0 !important;
  border-radius:30px !important;
  overflow:hidden !important;
  grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr) !important;
  box-shadow:
    0 30px 90px rgba(17,19,21,.12),
    0 2px 8px rgba(17,19,21,.04) !important;
  max-height:calc(100svh - 148px) !important;
}

/* Stały viewport obrazu; pion/poziom nie zmienia układu strony. */
.randomMode .randomPhoto{
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  padding:28px !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(37,99,235,.055), transparent 34%),
    linear-gradient(145deg,#f8fafc 0%,#eef2f6 100%) !important;
  display:grid !important;
  place-items:center !important;
}

.randomMode .randomPhoto img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 36px rgba(17,19,21,.06);
}

.randomMode .randomPhoto .cardTag{
  top:18px !important;
  left:18px !important;
  background:rgba(255,255,255,.9) !important;
  border:1px solid rgba(17,19,21,.06);
  backdrop-filter:blur(8px);
}

/* Informacje — bez zbędnych boxów, dużo oddechu. */
.randomMode .randomInfo{
  padding:48px 44px 126px !important;
  justify-content:center !important;
  background:#fff !important;
  border-left:1px solid #edf0f3;
}

.randomMode .randomInfo .cardCat{
  align-self:flex-start;
  background:#eef4ff;
  color:#2456b8;
  border-radius:999px;
  padding:7px 10px;
  font-size:10px;
  letter-spacing:.35px;
}

.randomMode .randomInfo h1{
  font-size:clamp(34px,3.2vw,54px) !important;
  line-height:.98 !important;
  letter-spacing:-2.5px !important;
  margin:14px 0 16px !important;
  max-width:720px;
}

.randomMode .randomPrice{
  font-size:40px !important;
  line-height:1;
  letter-spacing:-1.5px !important;
}

.randomMode .randomSummary{
  max-width:580px !important;
  margin-top:16px !important;
  font-size:14px !important;
  line-height:1.55 !important;
  -webkit-line-clamp:3 !important;
}

/* Dokładnie dwa, równe, duże CTA. */
.randomMode .randomActions{
  left:44px !important;
  right:44px !important;
  bottom:34px !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  grid-template-rows:1fr !important;
  gap:12px !important;
}

.randomMode .randomActions .randomNext,
.randomMode .randomActions .randomPrimary{
  grid-column:auto !important;
  grid-row:auto !important;
  min-height:64px !important;
  padding:16px 20px !important;
  border-radius:18px !important;
  font-size:15px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

.randomMode .randomActions .randomNext{
  background:#17191c !important;
  color:#fff !important;
}

.randomMode .randomActions .randomPrimary{
  background:var(--lime) !important;
  color:#111 !important;
}

.randomMode .randomActions .randomNext:hover{
  background:#000 !important;
}

.randomMode .randomActions .randomPrimary:hover{
  filter:brightness(.96);
}

/* Szybsze i subtelniejsze przejście między produktami. */
.randomMode .randomProduct{
  transition:opacity .11s ease, transform .11s ease !important;
}

.randomMode .randomProduct.randomChanging{
  opacity:.7 !important;
  transform:scale(.992) !important;
  filter:none !important;
}

.randomMode .randomProduct.randomArrived{
  animation:randomArriveV9 .16s ease-out both !important;
}

@keyframes randomArriveV9{
  from{opacity:.82;transform:scale(.995)}
  to{opacity:1;transform:scale(1)}
}

/* Tablet */
@media(max-width:1050px){
  .randomMode .randomProduct{
    grid-template-columns:minmax(0,1fr) minmax(340px,.9fr) !important;
  }
  .randomMode .randomInfo{
    padding:34px 28px 112px !important;
  }
  .randomMode .randomActions{
    left:28px !important;
    right:28px !important;
    bottom:24px !important;
  }
}

/* Telefon: nadal kompaktowo, ale bez dziwnego wciskania pionowych zdjęć w wąską kolumnę. */
@media(max-width:800px){
  .randomMode{
    height:100svh !important;
    overflow:hidden !important;
  }

  .randomMode .randomPage{
    width:calc(100% - 14px) !important;
    height:calc(100svh - 62px) !important;
    padding:7px 0 9px !important;
  }

  .randomMode .randomStage{
    grid-template-rows:28px minmax(0,1fr) !important;
    gap:6px !important;
  }

  .randomMode .randomProduct{
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(0,52%) minmax(0,48%) !important;
    border-radius:22px !important;
    max-height:none !important;
  }

  .randomMode .randomPhoto{
    padding:12px !important;
    border-bottom:1px solid #edf0f3;
  }

  .randomMode .randomPhoto img{
    border-radius:12px;
    box-shadow:0 8px 24px rgba(17,19,21,.05);
  }

  .randomMode .randomPhoto .cardTag{
    top:10px !important;
    left:10px !important;
  }

  .randomMode .randomInfo{
    height:100% !important;
    padding:15px 14px 78px !important;
    justify-content:flex-start !important;
    border-left:0 !important;
    overflow:hidden !important;
  }

  .randomMode .randomInfo .cardCat{
    padding:5px 8px;
    font-size:8.5px;
  }

  .randomMode .randomInfo h1{
    font-size:20px !important;
    line-height:1.02 !important;
    letter-spacing:-.8px !important;
    margin:7px 0 6px !important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .randomMode .randomPrice{
    font-size:25px !important;
  }

  .randomMode .randomSummary{
    margin-top:6px !important;
    font-size:10.5px !important;
    line-height:1.3 !important;
    -webkit-line-clamp:2 !important;
  }

  .randomMode .randomActions{
    left:14px !important;
    right:14px !important;
    bottom:12px !important;
    grid-template-columns:1fr 1fr !important;
    gap:7px !important;
  }

  .randomMode .randomActions .randomNext,
  .randomMode .randomActions .randomPrimary{
    min-height:48px !important;
    padding:9px 8px !important;
    border-radius:14px !important;
    font-size:11px !important;
  }
}


/* ===== V10: MOBILE LOSUJ — zero nakładania przycisków na zdjęcie ===== */
@media(max-width:800px){
  /* Nie blokujemy strony do sztucznej wysokości ekranu.
     Nagłówek mobilny ma zmienną wysokość, więc stare 100svh - 62px
     powodowało obcinanie dolnej części karty. */
  body.randomMode{
    height:auto !important;
    min-height:100svh !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
  }

  .randomMode .randomPage{
    width:calc(100% - 14px) !important;
    height:auto !important;
    min-height:0 !important;
    padding:8px 0 22px !important;
    overflow:visible !important;
  }

  .randomMode .randomStage{
    height:auto !important;
    min-height:0 !important;
    display:block !important;
  }

  .randomMode .randomMiniNav{
    min-height:34px !important;
    margin:0 0 8px !important;
  }

  /* Na telefonie karta jest naturalnym pionowym flow:
     zdjęcie -> informacje -> przyciski. Nic nie jest absolutnie nakładane. */
  .randomMode .randomProduct{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
    border-radius:22px !important;
  }

  /* Jeden stabilny viewport dla zdjęć pionowych i poziomych.
     contain pokazuje cały produkt bez rozciągania i bez cropowania. */
  .randomMode .randomPhoto{
    position:relative !important;
    width:100% !important;
    height:clamp(300px,48svh,470px) !important;
    min-height:300px !important;
    flex:0 0 auto !important;
    padding:12px !important;
    overflow:hidden !important;
    border-bottom:1px solid #edf0f3 !important;
    box-sizing:border-box !important;
  }

  .randomMode .randomPhoto img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center !important;
  }

  .randomMode .randomInfo{
    position:relative !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    padding:18px 16px 16px !important;
    overflow:visible !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    box-sizing:border-box !important;
  }

  .randomMode .randomInfo .cardCat{
    align-self:flex-start !important;
    padding:5px 8px !important;
    font-size:9px !important;
  }

  .randomMode .randomInfo h1{
    font-size:22px !important;
    line-height:1.04 !important;
    letter-spacing:-.8px !important;
    margin:8px 0 8px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .randomMode .randomPrice{
    font-size:28px !important;
    margin-top:1px !important;
  }

  .randomMode .randomSummary{
    margin:9px 0 0 !important;
    font-size:12px !important;
    line-height:1.35 !important;
    -webkit-line-clamp:3 !important;
  }

  /* Kluczowa poprawka: przyciski są częścią normalnego układu,
     a nie position:absolute. Nigdy nie przykryją zdjęcia. */
  .randomMode .randomActions{
    position:static !important;
    inset:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    width:100% !important;
    margin:18px 0 0 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    grid-template-rows:1fr !important;
    gap:8px !important;
  }

  .randomMode .randomActions .randomNext,
  .randomMode .randomActions .randomPrimary{
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
    min-height:54px !important;
    padding:12px 8px !important;
    border-radius:15px !important;
    font-size:12px !important;
    line-height:1.15 !important;
  }
}

@media(max-width:420px){
  .randomMode .randomPhoto{
    height:44svh !important;
    min-height:280px !important;
  }

  .randomMode .randomInfo h1{
    font-size:20px !important;
  }

  .randomMode .randomActions .randomNext,
  .randomMode .randomActions .randomPrimary{
    min-height:52px !important;
    font-size:11px !important;
  }
}


/* ===== V11: MOBILE LOSUJ — cały obraz, bez kadrowania ===== */
@media(max-width:800px){
  /*
   * Na telefonie NIE wymuszamy już wysokości pola zdjęcia.
   * To właśnie sztywne 44–48svh powodowało, że pionowe fotografie
   * wyglądały jak ucięte. Kontener rośnie teraz do rzeczywistego
   * rozmiaru wyświetlanego zdjęcia.
   */
  .randomMode .randomPhoto{
    height:auto !important;
    min-height:300px !important;
    max-height:none !important;
    padding:12px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
    box-sizing:border-box !important;
  }

  /*
   * Klucz: obraz zachowuje własne proporcje.
   * Nie rozciągamy go do wysokości kontenera.
   * max-height ogranicza tylko wielkość na ekranie — NIE kadruje obrazu.
   */
  .randomMode .randomPhoto img{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:68svh !important;
    min-width:0 !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    flex:0 0 auto !important;
  }
}

@media(max-width:420px){
  .randomMode .randomPhoto{
    height:auto !important;
    min-height:280px !important;
  }

  .randomMode .randomPhoto img{
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:66svh !important;
  }
}


/* ===== V12: MOBILE LOSUJ — STAŁY EKRAN I STAŁE PRZYCISKI ===== */
@media(max-width:800px){

  /*
   * Cały tryb LOSUJ zawsze mieści się w jednym ekranie.
   * Nic nie przewija się i wysokość produktu nie zależy od zdjęcia ani opisu.
   */
  body.randomMode{
    height:100svh !important;
    min-height:100svh !important;
    max-height:100svh !important;
    overflow:hidden !important;
  }

  .randomMode .siteTop{
    height:62px !important;
    min-height:62px !important;
    max-height:62px !important;
    overflow:hidden !important;
  }

  .randomMode .nav{
    height:62px !important;
    min-height:62px !important;
    max-height:62px !important;
  }

  .randomMode .randomPage{
    width:calc(100% - 14px) !important;
    height:calc(100svh - 62px) !important;
    min-height:0 !important;
    max-height:calc(100svh - 62px) !important;
    padding:7px 0 9px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }

  .randomMode .randomStage{
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    display:grid !important;
    grid-template-rows:38px minmax(0,1fr) !important;
    gap:6px !important;
    overflow:hidden !important;
  }

  .randomMode .randomMiniNav{
    height:38px !important;
    min-height:38px !important;
    max-height:38px !important;
    margin:0 !important;
    overflow:hidden !important;
  }

  /*
   * Karta ma dwa STAŁE obszary:
   * 1. zdjęcie — dostaje całe wolne miejsce,
   * 2. informacje + przyciski — stała wysokość.
   *
   * Dzięki temu przyciski zawsze są dokładnie w tym samym miejscu.
   */
  .randomMode .randomProduct{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(0,1fr) 214px !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
    border-radius:22px !important;
  }

  /*
   * Zdjęcie NIGDY nie ustala wysokości karty.
   * Pionowe jest automatycznie pomniejszane aż całe zmieści się
   * w dostępnej przestrzeni.
   */
  .randomMode .randomPhoto{
    position:relative !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    padding:10px !important;
    overflow:hidden !important;
    display:grid !important;
    place-items:center !important;
    box-sizing:border-box !important;
    border-bottom:1px solid #edf0f3 !important;
  }

  .randomMode .randomPhoto img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    border-radius:12px !important;
  }

  /*
   * Dolny panel ma zawsze tę samą wysokość.
   * Tekst ma ograniczoną liczbę linii, żeby nigdy nie przesunął CTA.
   */
  .randomMode .randomInfo{
    position:relative !important;
    width:100% !important;
    height:214px !important;
    min-height:214px !important;
    max-height:214px !important;
    padding:14px 14px 78px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    display:block !important;
  }

  .randomMode .randomInfo .cardCat{
    display:inline-flex !important;
    max-width:100% !important;
    padding:4px 8px !important;
    font-size:8.5px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .randomMode .randomInfo h1{
    margin:7px 0 5px !important;
    font-size:20px !important;
    line-height:1.02 !important;
    letter-spacing:-.7px !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    max-height:42px !important;
  }

  .randomMode .randomPrice{
    margin:0 !important;
    font-size:27px !important;
    line-height:1 !important;
  }

  /* W Losuj opis nie może wpływać na pozycję przycisków. */
  .randomMode .randomSummary{
    display:none !important;
  }

  /*
   * CTA są zakotwiczone na dole panelu.
   * Niezależnie od zdjęcia, kategorii, długości nazwy czy ceny
   * zawsze stoją w identycznym miejscu.
   */
  .randomMode .randomActions{
    position:absolute !important;
    left:14px !important;
    right:14px !important;
    bottom:12px !important;
    width:auto !important;
    height:56px !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    grid-template-rows:56px !important;
    gap:8px !important;
  }

  .randomMode .randomActions .randomNext,
  .randomMode .randomActions .randomPrimary{
    grid-column:auto !important;
    grid-row:1 !important;
    width:100% !important;
    height:56px !important;
    min-height:56px !important;
    max-height:56px !important;
    padding:8px 8px !important;
    border-radius:15px !important;
    font-size:12px !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
  }
}

/* Mniejsze / krótsze telefony — zmniejszamy treść, NIE ruszamy pozycji przycisków. */
@media(max-width:420px){
  .randomMode .randomProduct{
    grid-template-rows:minmax(0,1fr) 198px !important;
  }

  .randomMode .randomInfo{
    height:198px !important;
    min-height:198px !important;
    max-height:198px !important;
    padding:11px 12px 72px !important;
  }

  .randomMode .randomInfo h1{
    font-size:18px !important;
    max-height:38px !important;
  }

  .randomMode .randomPrice{
    font-size:24px !important;
  }

  .randomMode .randomActions{
    left:12px !important;
    right:12px !important;
    bottom:10px !important;
    height:52px !important;
    grid-template-rows:52px !important;
    gap:7px !important;
  }

  .randomMode .randomActions .randomNext,
  .randomMode .randomActions .randomPrimary{
    height:52px !important;
    min-height:52px !important;
    max-height:52px !important;
    font-size:11px !important;
  }
}

/* Bardzo niski ekran — zmniejszamy panel tekstowy, żeby zdjęcie nadal miało miejsce. */
@media(max-width:800px) and (max-height:740px){
  .randomMode .randomProduct{
    grid-template-rows:minmax(0,1fr) 182px !important;
  }

  .randomMode .randomInfo{
    height:182px !important;
    min-height:182px !important;
    max-height:182px !important;
    padding:9px 12px 66px !important;
  }

  .randomMode .randomInfo h1{
    margin:5px 0 4px !important;
    font-size:17px !important;
    max-height:35px !important;
  }

  .randomMode .randomPrice{
    font-size:22px !important;
  }

  .randomMode .randomActions{
    bottom:8px !important;
    height:48px !important;
    grid-template-rows:48px !important;
  }

  .randomMode .randomActions .randomNext,
  .randomMode .randomActions .randomPrimary{
    height:48px !important;
    min-height:48px !important;
    max-height:48px !important;
    font-size:10.5px !important;
  }
}


/* ===== V13: DESKTOP LOSUJ — zdjęcie zawsze wewnątrz ramy ===== */
@media(min-width:801px){

  /*
   * Pole zdjęcia ma stałą wysokość wynikającą z karty.
   * Obraz NIE może już wypełniać elementu przez width:100% + height:100%,
   * bo przy niektórych proporcjach wizualnie dochodził do górnej/dolnej
   * krawędzi niebieskawego kontenera.
   */
  .randomMode .randomPhoto{
    position:relative !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    padding:28px !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
  }

  /*
   * Kluczowa zmiana:
   * naturalne proporcje + tylko limity max.
   * Pionowe zdjęcie kurczy się po wysokości, poziome po szerokości.
   * Zawsze zostaje równy margines dookoła.
   */
  .randomMode .randomPhoto img{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    flex:0 1 auto !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:0 12px 36px rgba(17,19,21,.06) !important;
  }

  /*
   * Prawa część także ma stały układ.
   * Przyciski pozostają zakotwiczone na dole i nie zmieniają pozycji
   * niezależnie od długości nazwy produktu.
   */
  .randomMode .randomInfo{
    position:relative !important;
    min-height:0 !important;
    overflow:hidden !important;
  }

  .randomMode .randomInfo h1{
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:4 !important;
    overflow:hidden !important;
  }

  .randomMode .randomActions{
    position:absolute !important;
  }
}

/* Trochę mniejsze ekrany laptopowe: zachowujemy widoczny margines zdjęcia. */
@media(min-width:801px) and (max-height:800px){
  .randomMode .randomPhoto{
    padding:20px !important;
  }

  .randomMode .randomInfo{
    padding-top:30px !important;
    padding-bottom:108px !important;
  }

  .randomMode .randomInfo h1{
    font-size:clamp(28px,2.7vw,42px) !important;
    -webkit-line-clamp:3 !important;
  }

  .randomMode .randomPrice{
    font-size:34px !important;
  }

  .randomMode .randomActions{
    bottom:24px !important;
  }
}


/* ===== V15: TOP OFERTY — RĘCZNIE WYBIERANY PASEK ===== */

/* W Odkrywaj pasek TOP ma być widoczny tak samo jak na innych stronach. */
.discoverMode .ticker{
  display:flex !important;
}

/* Etykieta zostaje nieruchoma, a produkty przesuwają się obok niej. */
.topOffersTicker{
  position:relative !important;
  display:flex !important;
  align-items:stretch;
  min-height:82px;
  padding:0 !important;
}

.topOffersTicker::before,
.topOffersTicker::after{
  display:none !important;
}

.tickerTopLabel{
  position:relative;
  z-index:8;
  flex:0 0 122px;
  width:122px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  background:#111315;
  color:#fff;
  font-size:11px;
  font-weight:950;
  letter-spacing:.2px;
  white-space:nowrap;
  border-right:1px solid #25282d;
}

.tickerTopLabel span{
  color:var(--lime);
  font-size:13px;
}

.tickerMarquee{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
  position:relative;
}

.tickerMarquee::before,
.tickerMarquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:38px;
  z-index:5;
  pointer-events:none;
}

.tickerMarquee::before{
  left:0;
  background:linear-gradient(90deg,#fff,rgba(255,255,255,0));
}

.tickerMarquee::after{
  right:0;
  background:linear-gradient(270deg,#fff,rgba(255,255,255,0));
}

/* TOP ma wyglądać jak selekcja, ale pozostaje tym samym lekkim tickerem. */
.topOffersTicker .tickerTrack{
  min-height:82px;
  align-items:center;
}

.topOffersTicker .tickerItem{
  background:#fbfcfd;
}

.topOffersTicker .tickerItem:hover{
  border-color:#c9ec7c;
  background:#f8ffea;
}

/* Fixed header w Odkrywaj dostaje wysokość z JS, więc ticker niczego nie zasłania. */
.discoverMode main{
  padding-top:calc(var(--discover-header-h, 184px) + 14px) !important;
}

@media(max-width:800px){
  .topOffersTicker{
    min-height:66px;
  }

  .tickerTopLabel{
    flex-basis:88px;
    width:88px;
    font-size:9px;
  }

  .tickerTopLabel span{
    font-size:11px;
  }

  .topOffersTicker .tickerTrack{
    min-height:66px;
  }

  .tickerMarquee::before,
  .tickerMarquee::after{
    width:18px;
  }

  .discoverMode main{
    padding-top:calc(var(--discover-header-h, 172px) + 10px) !important;
  }
}
/* ===== V16: LEJEK / ZAUFANIE / ALLEGRO CTA ===== */

.allegroTrustStrip{
  width:min(1440px,calc(100% - 32px));
  margin:8px auto 0;
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:6px 14px;
  border:1px solid #ffd8c2;
  border-radius:14px;
  background:#fff7f2;
  color:#373b40;
  font-size:12px;
  line-height:1.25;
  text-align:center;
}
.allegroTrustStrip strong{color:#ff5a00;font-weight:950}
.allegroTrustCheck{
  display:inline-flex;
  width:19px;height:19px;
  align-items:center;justify-content:center;
  border-radius:50%;
  background:#ff5a00;color:#fff;
  font-size:11px;font-weight:950;
  flex:0 0 auto;
}

/* Oficjalnego logotypu Allegro nie kopiujemy — własny CTA w czytelnym pomarańczowym stylu. */
.btnAllegro{
  background:#ff5a00!important;
  color:#fff!important;
  border-color:#ff5a00!important;
  box-shadow:none!important;
}
.btnAllegro:hover{
  background:#e94f00!important;
  color:#fff!important;
}

/* Losuj: dwa główne przyciski zostają nieruchome, a szczegóły są lekkim linkiem. */
.randomMode .randomTitleLink{
  color:inherit!important;
  text-decoration:none!important;
}
.randomMode .randomTitleLink:hover{
  text-decoration:underline!important;
  text-decoration-thickness:2px!important;
  text-underline-offset:5px!important;
}
.randomMode .randomDetailsLink{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  margin:4px 0 10px!important;
  color:#4a5058!important;
  font-size:12px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.randomMode .randomDetailsLink:hover{color:#111!important;text-decoration:underline!important}
.randomMode .randomActions .randomPrimary{
  background:#ff5a00!important;
  color:#fff!important;
  border-color:#ff5a00!important;
}
.randomMode .randomActions .randomPrimary:hover{
  background:#e94f00!important;
}

/* Przypomnienie po pierwszych 20 produktach w infinite scroll. */
.discoverTrustReminder{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 20px;
  border-radius:20px;
  border:1px solid #ffd8c2;
  background:linear-gradient(100deg,#fff7f2,#fff);
  color:#202327;
  min-height:76px;
}
.discoverTrustReminder .discoverTrustIcon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;height:42px;
  min-width:42px;
  border-radius:50%;
  background:#ff5a00;
  color:#fff;
  font-size:20px;
  font-weight:950;
}
.discoverTrustReminder strong{
  display:block;
  font-size:18px;
  margin-bottom:3px;
}
.discoverTrustReminder span{
  color:#5b626b;
  font-size:13px;
  line-height:1.4;
}
.discoverTrustReminder b{color:#ff5a00}

@media(max-width:800px){
  .allegroTrustStrip{
    width:calc(100% - 14px);
    margin-top:5px;
    padding:6px 9px;
    border-radius:11px;
    font-size:10px;
    min-height:30px;
  }
  .allegroTrustCheck{width:17px;height:17px;font-size:10px}
  .discoverTrustReminder{
    padding:14px;
    border-radius:16px;
    gap:10px;
  }
  .discoverTrustReminder .discoverTrustIcon{
    width:34px;height:34px;min-width:34px;font-size:16px;
  }
  .discoverTrustReminder strong{font-size:15px}
  .discoverTrustReminder span{font-size:11px}
}

/* Tryb Losuj pozostaje maksymalnie kompaktowy / one-screen. */
.randomMode .allegroTrustStrip{display:none!important}


/* ===== V17: ALLEGRO SMART ===== */
.cardImage{position:relative}
.smartBadge{
  position:absolute;
  top:10px;
  right:10px;
  z-index:8;
  display:inline-flex;
  align-items:center;
  min-height:25px;
  max-width:calc(100% - 20px);
  padding:5px 8px;
  border-radius:999px;
  background:#4b2783;
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:950;
  letter-spacing:.1px;
  box-shadow:0 3px 10px rgba(0,0,0,.13);
  white-space:nowrap;
}
.smartBadge[hidden]{display:none!important}
.randomPhoto{position:relative}
.randomSmart{top:14px;right:14px;font-size:10px;padding:6px 9px}
.smartProductBadge{
  background:#4b2783!important;
  color:#fff!important;
  border-color:#4b2783!important;
}
@media(max-width:800px){
  .smartBadge{
    top:7px;
    right:7px;
    min-height:21px;
    padding:4px 6px;
    font-size:8px;
  }
  .randomSmart{top:10px;right:10px}
}

/* ===== SKLEP V1: własny sklep Outlet Marzeń ===== */
.shopPage{padding-top:26px;padding-bottom:54px;min-height:62vh}
.narrowShop{max-width:980px}
.shopEmpty{grid-column:1/-1;padding:44px 28px;background:#fff;border:1px solid var(--line);border-radius:22px;text-align:center}
.shopEmpty h3{font-size:26px;margin:0 0 8px;letter-spacing:-.8px}.shopEmpty p{color:var(--muted);max-width:680px;margin:0 auto 18px;line-height:1.55}
.productGridTop{margin-top:18px}.categoryChips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.filterBar{display:grid;grid-template-columns:minmax(200px,1fr) minmax(180px,260px) minmax(170px,230px) auto;gap:9px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px}.filterBar input,.filterBar select{height:44px;border:1px solid #dfe2e7;border-radius:12px;background:#fff;padding:0 12px;min-width:0}.filterBar .btn{padding:0 18px}
.addCartMini{border:0;cursor:pointer;font-size:22px;font-weight:700}.addCartMini:hover{background:var(--lime);color:#111}
.notice{margin:14px 0;padding:12px 14px;border-radius:14px;border:1px solid #dbe1e8;background:#fff;font-size:14px;line-height:1.45}.notice.success{background:#f2ffe0;border-color:#cde99b}.notice.error{background:#fff0ef;border-color:#ffc8c0;color:#8e2c22}.notice.warning{background:#fff8df;border-color:#edd98b}.notice.info{background:#eef7ff;border-color:#bfdcf2}
.muted{color:var(--muted)}.shopFooter{margin-top:40px}
.ekToast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#111;color:#fff;border-radius:999px;padding:11px 18px;font-weight:850;font-size:13px;z-index:999;transition:.2s}.ekToast.show{opacity:1;transform:translate(-50%,0)}

/* product */
.productDetail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:24px;align-items:start}.productGallery,.productInfo,.descriptionBox{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px}.mainProductImage{aspect-ratio:1/1;background:#f5f6f7;border-radius:18px;overflow:hidden;display:grid;place-items:center}.mainProductImage img{width:100%;height:100%;object-fit:contain;background:#fff}.thumbRow{display:flex;gap:8px;margin-top:10px;overflow:auto}.thumbBtn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:3px;width:72px;height:72px;flex:0 0 auto;cursor:pointer}.thumbBtn img{width:100%;height:100%;object-fit:contain}.productMeta{font-size:12px;color:var(--muted);font-weight:850;text-transform:uppercase}.productInfo h1{font-size:clamp(30px,4vw,50px);letter-spacing:-2px;line-height:1.02;margin:10px 0 14px}.detailPrice{font-size:34px;font-weight:950;letter-spacing:-1.2px}.stockBadge{display:inline-flex;margin:10px 0 16px;background:#eef6df;border:1px solid #d7e8b5;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.detailRow{padding:9px 0;border-top:1px solid var(--line);font-size:14px;line-height:1.5}.freeShippingBox{margin:16px 0;background:#111;color:#fff;border-radius:16px;padding:14px 16px}.freeShippingBox b{color:var(--lime)}.buyRow{display:grid;grid-template-columns:90px 1fr;gap:9px;margin:14px 0 9px}.qtyInput{height:48px;border:1px solid #dfe2e7;border-radius:12px;padding:0 10px}.descriptionBox{margin-top:18px}.descriptionBox h2{margin:0 0 12px;font-size:26px}.descriptionText{line-height:1.65;color:#383c42}

/* cart */
.cartPanel{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.cartItems{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.cartRow{display:grid;grid-template-columns:78px minmax(0,1fr) auto 110px 34px;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.cartRow:last-child{border-bottom:0}.cartRow>img{width:78px;height:78px;object-fit:contain;background:#fff;border-radius:12px;border:1px solid var(--line)}.cartRowMain{display:flex;flex-direction:column;gap:4px;min-width:0}.cartRowMain b{font-size:14px;line-height:1.3}.cartRowMain span{font-size:12px;color:var(--muted)}.cartQty{display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#fff}.cartQty button{width:31px;height:34px;border:0;background:#f5f6f7;cursor:pointer;font-size:18px}.cartQty input{width:42px;height:34px;border:0;text-align:center;outline:0}.cartLine{text-align:right}.cartRemove{border:0;background:#fff;font-size:24px;color:#777;cursor:pointer}.cartTotals{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;position:sticky;top:150px}.cartTotals>div:first-child{display:flex;justify-content:space-between;font-size:18px}.freeReached{margin:15px 0;background:#ecffd0;border:1px solid #cce99a;border-radius:12px;padding:11px;font-weight:900}.freeProgress{margin:15px 0;background:#f4f5f7;border-radius:12px;padding:11px;font-size:13px}.cartCheckoutBtn{width:100%;box-sizing:border-box}.loadingBox{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;color:var(--muted)}

/* checkout */
.checkoutWrap{max-width:1200px}.checkoutGrid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}.checkoutCard{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px}.checkoutCard h3{margin:4px 0 12px;font-size:18px}.checkoutCard h3:not(:first-child){margin-top:24px}.formGrid{display:grid;gap:10px;margin-bottom:10px}.formGrid.two{grid-template-columns:1fr 1fr}.checkoutCard label{font-size:12px;font-weight:800;color:#4f555d;display:block}.checkoutCard input:not([type=radio]):not([type=checkbox]),.checkoutCard textarea,.checkoutCard select{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #dfe2e7;border-radius:11px;padding:11px 12px;background:#fff;font:inherit;color:#111}.inlineChoices{display:flex;gap:16px;flex-wrap:wrap}.inlineChoices label,.termsLine,.paymentBox label{display:flex;align-items:center;gap:7px;color:#111;font-size:14px}.shippingChoices{display:grid;gap:8px}.shippingOption{display:flex!important;gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:11px;cursor:pointer}.shippingOption:has(input:checked){border-color:#111;background:#f7f8f9}.shippingOption span{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;color:#111}.shippingOption small{color:var(--muted);font-weight:700}.paymentBox{background:#f5f6f7;border-radius:14px;padding:13px}.paymentBox p{margin:7px 0 0;font-size:12px;color:var(--muted);line-height:1.45}.termsLine{margin-top:18px!important}.orderSummary{position:sticky;top:150px}.summaryLine{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.summaryLine span{max-width:70%}.summaryLine.total{margin-top:8px;font-size:14px}.summaryGrand{display:flex;justify-content:space-between;align-items:end;margin:18px 0;font-size:18px}.summaryGrand b{font-size:28px}.submitOrderBtn{width:100%}.submitOrderBtn:disabled{opacity:.45;cursor:not-allowed}
.testPaymentCard,.orderThanks{background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;text-align:center}.testPaymentCard h1,.orderThanks h1{font-size:36px;letter-spacing:-1.5px;margin:12px 0}.darkKicker{color:#111;border-color:#d6d9dd}.testPaymentActions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:22px}.successIcon{width:62px;height:62px;border-radius:50%;background:var(--lime);display:grid;place-items:center;margin:0 auto;font-size:28px;font-weight:950}.orderStatusGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}.orderStatusGrid>div{background:#f5f6f7;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:5px}.orderStatusGrid span{font-size:11px;color:var(--muted);text-transform:uppercase;font-weight:850}.legalPage{max-width:900px}.legalPage h1{font-size:40px;letter-spacing:-1.5px}.legalPage p{line-height:1.7;color:#40454d}

/* admin */
.adminShell{padding:22px 0 56px;min-height:70vh}.adminTop{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.adminTop h1{margin:0;font-size:34px;letter-spacing:-1.4px}.adminNav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.adminNav a{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 12px;font-size:12px;font-weight:850}.adminNav a:hover,.adminNav a.active{background:#111;color:#fff}.adminCards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.adminStat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}.adminStat span{display:block;color:var(--muted);font-size:12px;font-weight:800}.adminStat b{display:block;font-size:32px;letter-spacing:-1px;margin-top:5px}.adminPanel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin-top:14px}.adminPanel h2{margin:0 0 14px;font-size:22px}.adminTableWrap{overflow:auto}.adminTable{width:100%;border-collapse:collapse;min-width:760px}.adminTable th,.adminTable td{text-align:left;padding:10px;border-bottom:1px solid var(--line);font-size:12px;vertical-align:middle}.adminTable th{color:#6d737c;font-size:10px;text-transform:uppercase;letter-spacing:.4px}.adminThumb{width:52px;height:52px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#fff}.statusPill{display:inline-flex;border-radius:999px;padding:5px 8px;background:#f2f3f5;font-size:10px;font-weight:900}.statusPill.paid,.statusPill.active{background:#e9ffd0}.statusPill.pending{background:#fff3c7}.statusPill.failed,.statusPill.cancelled{background:#ffe5e1}.statusPill.shipped{background:#e0f1ff}.adminActions{display:flex;gap:6px;flex-wrap:wrap}.smallBtn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 9px;font-size:11px;font-weight:850;cursor:pointer}.smallBtn.dark{background:#111;color:#fff;border-color:#111}.smallBtn.danger{color:#a12920;border-color:#efc2bd}.adminForm{display:grid;gap:13px}.adminForm .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.adminForm .three{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.adminForm label{font-size:12px;font-weight:850;color:#545a62}.adminForm input,.adminForm select,.adminForm textarea{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #dfe2e7;border-radius:10px;padding:10px 11px;background:#fff;font:inherit}.adminForm input[type=checkbox]{width:auto;margin:0 6px 0 0}.checkboxLabel{display:flex!important;align-items:center;color:#111!important}.adminSubmit{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.imageAdminGrid{display:flex;gap:8px;flex-wrap:wrap}.imageAdminItem{width:112px;border:1px solid var(--line);border-radius:12px;padding:6px;background:#fff}.imageAdminItem img{width:100%;height:90px;object-fit:contain}.imageAdminItem label{display:flex;gap:5px;margin-top:5px;font-size:10px}.shippingProfileCard{border:1px solid var(--line);border-radius:16px;padding:14px;margin:10px 0;background:#fff}.shippingMethodRow{display:grid;grid-template-columns:minmax(130px,1.4fr) 120px 150px 120px 90px;gap:8px;align-items:end;margin-top:8px}.shippingMethodRow input,.shippingMethodRow select{width:100%;box-sizing:border-box;border:1px solid #dfe2e7;border-radius:9px;padding:9px}.integrationBox{border:1px dashed #cfd5db;border-radius:15px;padding:14px;background:#fbfcfd}.integrationBox h3{margin:0 0 5px}.integrationBox p{color:var(--muted);font-size:12px;line-height:1.5}.codeBox{background:#111;color:#d8fca1;border-radius:12px;padding:12px;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}

@media(max-width:1000px){.productGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.productDetail{grid-template-columns:1fr}.cartPanel,.checkoutGrid{grid-template-columns:1fr}.cartTotals,.orderSummary{position:static}.adminCards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.filterBar{grid-template-columns:1fr}.productGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.productDetail{gap:10px}.productGallery,.productInfo,.descriptionBox{border-radius:18px;padding:12px}.productInfo h1{font-size:30px;letter-spacing:-1px}.cartRow{grid-template-columns:62px minmax(0,1fr) auto}.cartRow>img{width:62px;height:62px}.cartQty{grid-column:2/3}.cartLine{grid-column:3/4;grid-row:2}.cartRemove{grid-column:3/4;grid-row:1}.formGrid.two,.adminForm .two,.adminForm .three{grid-template-columns:1fr}.orderStatusGrid{grid-template-columns:1fr}.adminCards{grid-template-columns:1fr 1fr}.shippingMethodRow{grid-template-columns:1fr 1fr}.shippingMethodRow>*:first-child{grid-column:1/-1}}
@media(max-width:520px){.productGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cardBody{padding:9px}.cardTitle{font-size:12px}.cardPrice{font-size:16px}.adminCards{grid-template-columns:1fr}.adminTop{align-items:flex-start;flex-direction:column}.legalPage h1{font-size:30px}}

/* Konto klienta */
.accountPage{display:flex;justify-content:center;padding-top:42px;padding-bottom:70px}.accountAuthCard{width:min(560px,100%);background:#fff;border:1px solid #e2e5e9;border-radius:24px;padding:28px;box-shadow:0 14px 45px rgba(0,0,0,.05)}.accountAuthCard h1,.accountDashboard h1{margin:0 0 8px;font-size:34px;letter-spacing:-1px}.accountAuthCard .muted,.accountHead p,.accountCheckoutHint,.accountSection .muted{color:#6b7078}.captchaField b{display:inline-block;margin-left:6px;background:#f1f3f5;border-radius:8px;padding:4px 8px}.accountSwitch{margin-top:18px;text-align:center}.accountSwitch a,.accountCheckoutHint a{font-weight:800;color:#111}.accountDashboard{padding-top:36px;padding-bottom:70px}.accountHead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.accountHead p{margin:0}.accountTiles{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:14px;margin-bottom:30px}.accountTiles a{background:#fff;border:1px solid #e1e4e8;border-radius:20px;padding:20px;text-decoration:none;color:#111;display:flex;flex-direction:column}.accountTiles b{font-size:32px}.accountTiles span{font-weight:800}.accountSection{background:#fff;border:1px solid #e1e4e8;border-radius:22px;padding:22px}.accountSection>h2{margin-top:0}.accountOrders{display:grid;gap:10px}.accountOrder{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #e6e8eb;border-radius:15px;text-decoration:none;color:#111}.accountOrder div{display:flex;flex-direction:column}.accountOrder small{color:#747981;margin-top:3px}.accountOrder span{font-weight:750}.addressLayout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(400px,1.2fr);gap:18px}.addressCards{display:grid;gap:12px}.addressCard{border:1px solid #e3e6ea;border-radius:16px;padding:16px}.addressCardTop{display:flex;justify-content:space-between;align-items:center;gap:10px}.addressCardTop span{background:#b9ff38;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.addressCard p{line-height:1.55;margin:10px 0}.addressActions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.addressActions form{margin:0}.addressActions a,.addressActions button{border:0;background:none;padding:0;color:#111;text-decoration:underline;font:inherit;font-weight:750;cursor:pointer}.saveAddressBox{border:1px solid #e5e7ea;background:#fafbfc;border-radius:14px;padding:12px 14px;margin:8px 0 18px}.saveAddressLabel{margin-top:10px}.accountCheckoutHint{margin:10px 0 18px}.navLinks{white-space:nowrap}
@media(max-width:900px){.addressLayout{grid-template-columns:1fr}.accountOrder{grid-template-columns:1fr auto}.accountOrder strong{grid-column:2;grid-row:1/3}.accountTiles{grid-template-columns:1fr 1fr}.navLinks{flex-wrap:wrap}}
@media(max-width:560px){.accountAuthCard{padding:20px;border-radius:18px}.accountHead{align-items:flex-start;flex-direction:column}.accountTiles{grid-template-columns:1fr}.accountOrder{grid-template-columns:1fr}.accountOrder strong{grid-column:auto;grid-row:auto}.accountPage{padding-top:20px}}


/* Konto klienta – spójne formularze */
.accountPage{align-items:flex-start}
.accountAuthCard{box-sizing:border-box;height:auto;min-height:0}
.accountAuthCard form.formGrid{width:100%;margin-top:18px;gap:14px}
.accountAuthCard .formGrid.two{width:100%;gap:12px}
.accountAuthCard form.formGrid>label,
.accountAuthCard .formGrid.two>label,
.accountSection form.formGrid>label,
.accountSection .formGrid.two>label{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
  font-size:14px;
  font-weight:750;
  color:#20242a;
}
.accountAuthCard input:not([type=checkbox]):not([type=radio]),
.accountAuthCard select,
.accountAuthCard textarea,
.accountSection form.formGrid input:not([type=checkbox]):not([type=radio]),
.accountSection form.formGrid select,
.accountSection form.formGrid textarea{
  display:block;
  width:100%;
  min-width:0;
  height:48px;
  box-sizing:border-box;
  margin:0;
  padding:0 13px;
  border:1px solid #d9dde2;
  border-radius:11px;
  background:#fff;
  color:#111;
  font:inherit;
  outline:none;
}
.accountAuthCard input:focus,
.accountSection form.formGrid input:focus,
.accountSection form.formGrid select:focus,
.accountSection form.formGrid textarea:focus{
  border-color:#111;
  box-shadow:0 0 0 3px rgba(185,255,56,.28);
}
.accountAuthCard .captchaField{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
.accountAuthCard .captchaField b{align-self:flex-start;margin:0;background:#f1f3f5;border-radius:8px;padding:6px 10px;font-size:16px;color:#111}
.accountAuthCard .termsLine,
.accountSection .termsLine{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  gap:9px!important;
  margin:2px 0 0!important;
  font-size:13px!important;
  line-height:1.45;
  font-weight:650!important;
}
.accountAuthCard .termsLine input,
.accountSection .termsLine input{width:18px!important;height:18px!important;min-width:18px!important;margin:1px 0 0!important;padding:0!important}
.accountAuthCard .btnLime{width:100%;height:48px;margin-top:2px;font-size:15px}
.accountSwitch{padding-top:2px;font-size:14px}
.accountSection form.formGrid{gap:13px}
.accountSection form.formGrid textarea{height:auto;min-height:120px;padding:11px 13px}

@media(max-width:620px){
  .accountAuthCard{width:100%;padding:20px 16px}
  .accountAuthCard h1{font-size:30px}
  .accountAuthCard .formGrid.two,
  .accountSection .formGrid.two{grid-template-columns:1fr!important}
}


/* === PICKUP MAP V14 === */
.pickupSelectorBlock{margin-top:16px;padding:18px;border:1px solid #dfe4ea;border-radius:18px;background:#f8fafc}
.pickupHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.pickupHeading b{display:block;font-size:17px}.pickupHeading small{display:block;margin-top:4px;color:#667085}
.pickupAction{margin-top:10px}.pickupMapButton{width:100%;min-height:50px;font-weight:800}
.pickupFinePrint{margin:8px 2px 0;color:#667085;font-size:12px;line-height:1.45}.pickupConfigNotice{margin:0}
.pickupSelectedCard{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid #b9e56b;background:#f3ffd9;border-radius:15px;padding:13px 14px;margin-bottom:12px}
.pickupSelectedCard[hidden],.pickupAction[hidden],#pickupSelectorBlock[hidden],#courierAddressBlock[hidden],.summaryPickupRow[hidden]{display:none!important}
.pickupSelectedIcon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#a7ff1c;font-weight:900;font-size:20px}
.pickupSelectedCard small,.pickupSelectedCard b,.pickupSelectedCard span{display:block}.pickupSelectedCard small{color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.03em}.pickupSelectedCard b{margin:2px 0 3px;font-size:15px}.pickupSelectedCard span{color:#475467;font-size:13px;line-height:1.35}
.summaryPickupRow{padding:12px 0;border-top:1px solid #e8eaed;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start}.summaryPickupRow b{text-align:right;font-size:12px;line-height:1.35}
.pickupModal{position:fixed;inset:0;z-index:99999;background:rgba(9,14,25,.66);display:none;align-items:center;justify-content:center;padding:4vh 4vw}
.pickupModal.isOpen{display:flex}.pickupModalOpen{overflow:hidden}
.pickupModalDialog{width:min(1100px,92vw);max-height:92vh;background:#fff;border-radius:22px;box-shadow:0 25px 80px rgba(0,0,0,.28);overflow:hidden;display:flex;flex-direction:column}
.pickupModalDialogWide{width:min(1320px,94vw)}
.pickupModalHead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #e7e9ee;background:#fff;flex:0 0 auto}
.pickupModalHead b{display:block;font-size:19px}.pickupModalHead small{display:block;color:#667085;margin-top:2px}
.pickupModalClose{border:0;background:#f2f4f7;width:42px;height:42px;border-radius:50%;font-size:27px;line-height:1;cursor:pointer}
.pickupModalBody{position:relative;min-height:620px;overflow:auto;flex:1 1 auto;background:#fff}
.inpostWidgetBody{padding:0}.inpostWidgetBody inpost-geowidget{display:block;width:100%;height:72vh;min-height:600px}
.orlenWidgetBody{padding:12px}.orlenWidgetBody #ekOrlenWidgetCanvas{width:100%;min-height:650px;height:72vh}.pickupWidgetStatus{padding:10px 12px;margin:0 0 10px;border-radius:10px;background:#f2f4f7;font-size:13px}.pickupWidgetStatus.isError{background:#fff0ee;color:#b42318}
@media(max-width:760px){
 .pickupModal{padding:0}.pickupModalDialog,.pickupModalDialogWide{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
 .pickupModalHead{padding:12px 14px}.pickupModalBody{min-height:0}.inpostWidgetBody inpost-geowidget,.orlenWidgetBody #ekOrlenWidgetCanvas{height:calc(100dvh - 72px);min-height:0}
 .pickupSelectedCard{grid-template-columns:auto 1fr}.pickupSelectedCard .smallBtn{grid-column:1/-1;width:100%}
}

/* === V29: zwroty zgłaszane przez klienta === */
.returnPage{padding-bottom:44px}.returnHead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.returnHead h1{margin:4px 0 6px}.returnItems{display:grid;gap:10px;margin-top:14px}.returnItem{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #dfe3e8;border-radius:16px;padding:16px;background:#fff}.returnItem small{display:block;color:#697386;margin-top:5px}.returnQty{display:grid;grid-template-columns:auto 90px;gap:5px 10px;align-items:center;min-width:240px}.returnQty label{font-size:12px;font-weight:800}.returnQty input{width:90px;padding:10px;border:1px solid #cfd6df;border-radius:10px}.returnQty small{grid-column:2}.returnForm textarea,.returnForm select{width:100%;padding:12px;border:1px solid #cfd6df;border-radius:12px;background:#fff}.returnForm label{display:block;font-weight:700;margin-top:12px}.returnConsent .checkLine{display:flex;align-items:flex-start;gap:10px}.returnConsent .checkLine input{margin-top:3px}.returnStatusHero{display:grid;gap:7px}.returnStatusHero span{font-size:12px;font-weight:800;color:#667085;text-transform:uppercase}.returnStatusHero b{font-size:28px}.returnStatusHero small{color:#667085}.orderCustomerActions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}.accountTilesPro{grid-template-columns:repeat(4,minmax(0,1fr))}.adminTable small{color:#667085}.summaryLine span small{display:block;color:#667085;margin-top:4px}
@media(max-width:760px){.returnHead,.returnItem{flex-direction:column}.returnQty{min-width:0;width:100%}.accountTilesPro{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* === V30: instrukcja zwrotu + dokumenty PDF === */
.returnHeroV30{display:grid;gap:18px}.returnTimeline{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:4px}.returnTimelineStep{position:relative;background:#f5f6f8;border:1px solid #e1e5ea;border-radius:14px;padding:13px 10px;text-align:center;color:#7b828c}.returnTimelineStep span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;margin:0 auto 7px;background:#e6e9ed;color:#555;font-weight:900}.returnTimelineStep b{font-size:12px}.returnTimelineStep.isDone{background:#f2ffd9;border-color:#cde99a;color:#111}.returnTimelineStep.isDone span{background:var(--lime);color:#111}.returnNextSteps h2{margin-bottom:10px}.returnStepsList{list-style:none;padding:0;margin:0;display:grid;gap:10px}.returnStepsList li{display:grid;grid-template-columns:28px 1fr;gap:3px 12px;padding:12px 0;border-bottom:1px solid var(--line);counter-increment:retstep}.returnStepsList{counter-reset:retstep}.returnStepsList li:before{content:counter(retstep);grid-row:1/3;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:900;font-size:12px}.returnStepsList li b{font-size:14px}.returnStepsList li span{font-size:13px;color:var(--muted);line-height:1.5}.returnDocActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.returnCarrierNote{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#fff8df;border:1px solid #edd98b;font-size:12px;line-height:1.5}.integrationBox textarea[name=return_instructions]{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #dfe2e7;border-radius:11px;padding:11px 12px;background:#fff;font:inherit;color:#111}
@media(max-width:700px){.returnTimeline{grid-template-columns:1fr 1fr}.returnDocActions .btn{width:100%;box-sizing:border-box;text-align:center}}

/* V31 — zwroty: instrukcja płatności za odesłanie + dwa formaty etykiety */
.returnPayInfo{margin:18px 0;padding:16px 18px;border:1px solid #dfe5ec;border-radius:16px;background:#f7f9fb}
.returnPayInfo h3{margin:0 0 8px;font-size:18px}
.returnPayInfo p{margin:0;line-height:1.55;color:#48515e}
.returnDocActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* === V33: wyraźna zgoda na regulamin i politykę prywatności w checkout === */
#checkoutForm .checkoutCard > .termsLine{
  margin-top:22px!important;
  padding:15px 16px;
  border:1px solid #dfe3e8;
  border-radius:14px;
  background:#f8fafc;
  align-items:flex-start!important;
  gap:11px!important;
  font-size:16px!important;
  line-height:1.55!important;
  font-weight:700!important;
  color:#111!important;
}
#checkoutForm .checkoutCard > .termsLine input[type="checkbox"]{
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  margin:2px 0 0!important;
  accent-color:#111;
  cursor:pointer;
}
#checkoutForm .checkoutCard > .termsLine a{
  display:inline-block;
  color:#075dcc!important;
  font-weight:900!important;
  text-decoration:underline!important;
  text-decoration-thickness:2px!important;
  text-underline-offset:3px!important;
  border-radius:5px;
  padding:0 2px;
  transition:background .15s ease,color .15s ease;
}
#checkoutForm .checkoutCard > .termsLine a::after{
  content:" ↗";
  font-size:.82em;
  font-weight:900;
}
#checkoutForm .checkoutCard > .termsLine a:hover,
#checkoutForm .checkoutCard > .termsLine a:focus-visible{
  background:#eaf3ff;
  color:#003f91!important;
  outline:none;
}
@media(max-width:620px){
  #checkoutForm .checkoutCard > .termsLine{
    font-size:15px!important;
    padding:14px;
  }
}

/* === V35 MEGA: anulowania, reklamacje, historia zamówienia === */
.orderCancelReasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.orderCancelReason{display:flex;align-items:flex-start;gap:10px;border:1px solid #dfe3e8;border-radius:14px;padding:13px 14px;background:#fff;cursor:pointer;font-weight:750;line-height:1.35}
.orderCancelReason:has(input:checked){border-color:#111;background:#f3ffd9;box-shadow:0 0 0 2px rgba(167,255,28,.2)}
.orderCancelReason input{margin:2px 0 0;accent-color:#111}.orderCancelReason span{display:block}
.orderCancelMeta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}.inlineCheck{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;font-weight:700!important}.inlineCheck input{width:18px!important;height:18px!important;min-width:18px!important;margin:2px 0 0!important}
.orderAlertCard{border-left:5px solid #111}.orderAlertCard h3{margin-top:0}.orderSelfService h3{margin-bottom:5px}.orderActionButtons{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.orderActionButtons .btn{min-width:170px;text-align:center}
.orderTimeline{position:relative;display:grid;gap:0;margin-top:12px}.orderTimelineItem{position:relative;display:grid;grid-template-columns:24px 1fr;gap:10px;padding:0 0 18px}.orderTimelineItem:before{content:"";position:absolute;left:7px;top:17px;bottom:-2px;width:2px;background:#e2e5e9}.orderTimelineItem:last-child:before{display:none}.orderTimelineDot{width:16px;height:16px;border-radius:50%;background:var(--lime);border:3px solid #111;box-sizing:border-box;margin-top:2px;z-index:1}.orderTimelineItem b{display:block;font-size:14px}.orderTimelineItem small{display:block;color:#697386;margin-top:3px;font-size:12px}.compactOrderRow{margin-top:8px}.dangerText{color:#b42318!important}.complaintPhotos{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.complaintPhotos a{display:block;border:1px solid #e1e5ea;border-radius:14px;overflow:hidden;background:#f7f8fa;aspect-ratio:1/1}.complaintPhotos img{width:100%;height:100%;object-fit:cover;display:block}.complaintDeadline{font-weight:900}.complaintDeadline.overdue{color:#b42318}.complaintInfoGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.complaintInfoGrid>div{border:1px solid #e1e5ea;border-radius:14px;padding:14px;background:#fff}.complaintInfoGrid span{display:block;color:#697386;font-size:11px;text-transform:uppercase;font-weight:800;margin-bottom:5px}.complaintInfoGrid b{font-size:16px}
.accountTilesPro{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:900px){.orderCancelReasons,.complaintInfoGrid{grid-template-columns:1fr 1fr}.accountTilesPro{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.orderCancelReasons,.complaintInfoGrid{grid-template-columns:1fr}.orderActionButtons .btn{width:100%}.accountTilesPro{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== V41: mocne komunikaty, kolejki operacyjne i wysyłki ===== */
.noticeStrong,.notice.error,.notice.success,.notice.warning,.notice.info{
  border-width:2px!important;border-style:solid!important;border-radius:16px!important;
  padding:16px 18px!important;font-size:16px!important;line-height:1.45!important;
  font-weight:650!important;box-shadow:0 8px 24px rgba(0,0,0,.06);margin-top:14px;margin-bottom:14px;
}
.noticeStrong{display:flex;gap:12px;align-items:flex-start}
.noticeStrong .noticeIcon{width:28px;height:28px;min-width:28px;border-radius:50%;display:grid;place-items:center;font-weight:950;font-size:18px;margin-top:1px}
.noticeStrong.error .noticeIcon::before{content:'!'}
.noticeStrong.success .noticeIcon::before{content:'✓'}
.noticeStrong.warning .noticeIcon::before{content:'!'}
.noticeStrong.info .noticeIcon::before{content:'i'}
.noticeStrong .noticeTitle{display:block;font-size:17px;margin-bottom:2px}
.notice.error{background:#fff0ef!important;border-color:#ef665f!important;color:#9d1f1a!important}
.notice.error .noticeIcon{background:#cf3128;color:#fff}
.notice.success{background:#efffdc!important;border-color:#9bd72d!important;color:#244800!important}
.notice.success .noticeIcon{background:#80c51b;color:#111}
.notice.warning{background:#fff7d8!important;border-color:#e0b82f!important;color:#6a4d00!important}
.notice.warning .noticeIcon{background:#e6bd2e;color:#111}
.notice.info{background:#eaf5ff!important;border-color:#65aeea!important;color:#123e63!important}
.notice.info .noticeIcon{background:#2c86c8;color:#fff}
.checkoutWrap>.notice.error{font-size:17px!important;font-weight:800!important;padding:18px 20px!important}
.termsLine.termsError{border:2px solid #ef665f!important;background:#fff0ef!important;padding:14px!important;border-radius:14px!important}
.adminQueueGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0}
.adminQueueCard{display:block;background:#fff;border:1px solid #dde3e9;border-radius:18px;padding:16px;text-decoration:none;color:inherit}
.adminQueueCard:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.adminQueueCard span{display:block;color:#68707a;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.3px}.adminQueueCard b{display:block;font-size:28px;margin-top:5px}.adminQueueCard em{display:block;font-style:normal;font-size:12px;color:#68707a;margin-top:4px}
.statusPill.ready{background:#fff2a8}.statusPill.delivered{background:#d9f9dc}.statusPill.attention{background:#ffd6d2;color:#8b1f17}
.shippingMini{border:1px solid #dce2e8;border-radius:16px;padding:16px;background:#fafbfc;margin-top:14px}.shippingMiniHead{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
@media(max-width:800px){.noticeStrong,.notice.error,.notice.success,.notice.warning,.notice.info{font-size:15px!important;padding:14px!important}.noticeStrong .noticeTitle{font-size:16px}.adminQueueGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== V64: szybka weryfikacja produktów i zdjęć ===== */
.skuBadge{border:0;border-radius:10px;background:#111;color:#b8ff38;padding:9px 12px;font:900 18px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.5px;cursor:pointer;white-space:nowrap}.skuBadge:hover{background:#262626}.skuHero{position:sticky;top:8px;z-index:20;display:grid;grid-template-columns:auto auto auto 1fr;align-items:center;gap:8px 14px;margin:0 0 14px;padding:13px 16px;border:2px solid #111;border-radius:16px;background:#f4ffc9;box-shadow:0 8px 20px rgba(0,0,0,.08)}.skuHero span{font-size:11px;font-weight:950}.skuHero strong{font:950 27px/1 ui-monospace,SFMono-Regular,Consolas,monospace}.skuHero button{border:0;border-radius:9px;background:#111;color:#fff;padding:8px 11px;font-weight:850;cursor:pointer}.skuHero small{color:#545a62}.pasteImageZone{display:grid;gap:7px;place-items:center;border:2px dashed #747c86;border-radius:16px;padding:22px;background:#fafbfc;text-align:center;outline:none;cursor:pointer}.pasteImageZone:focus{border-color:#111;box-shadow:0 0 0 4px rgba(184,255,56,.45)}.pasteImageZone.pasteSuccess{background:#efffd6;border-color:#4b8b00}.pasteImageZone span{max-width:680px;color:#667085;font-size:12px}.visuallyHidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.imageAdminItem{position:relative}.imageRemoveX{position:absolute;right:-8px;top:-8px;width:28px;height:28px;border:2px solid #fff;border-radius:999px;background:#d92d20;color:#fff;font:900 21px/21px Arial;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25)}.imageAdminItem.willRemove{opacity:.38;filter:grayscale(1)}.imageAdminItem.willRemove .imageRemoveX{background:#111}.imageRemoveState{display:none;color:#a12920;font-size:9px;font-weight:850;line-height:1.2}.imageAdminItem.willRemove .imageRemoveState{display:block}.imageNewState{display:block;color:#357300;font-size:9px;font-weight:850;margin-top:4px}@media(max-width:800px){.skuHero{position:static;grid-template-columns:1fr auto}.skuHero span,.skuHero small{grid-column:1/-1}.skuHero strong{font-size:23px}}

/* ===== V65: filtry, sortowanie i operacje grupowe produktów ===== */
.adminReviewTabs{margin-bottom:14px}.adminProductFilters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;align-items:end}.adminProductFilters label{font-size:11px;font-weight:850;color:#5c626b}.adminProductFilters input,.adminProductFilters select,.bulkToolbar input,.bulkToolbar select{display:block;width:100%;box-sizing:border-box;margin-top:5px;height:42px;border:1px solid #dfe2e7;border-radius:10px;background:#fff;padding:0 10px;font:inherit}.adminProductFilters .filterSearch{grid-column:span 2}.filterButtons{display:flex;align-items:center;gap:8px;height:42px}.productResultHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.productResultHead small{color:var(--muted)}.bulkToolbar{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(150px,220px) auto auto;gap:8px;align-items:center;padding:10px;background:#f5f7f9;border:1px solid var(--line);border-radius:13px;margin-bottom:10px}.bulkToolbar input,.bulkToolbar select{margin:0}.deleteAllRow{justify-content:flex-end;margin:8px 0}.sortLink{color:inherit;text-decoration:none;white-space:nowrap}.sortLink:hover{color:#111;text-decoration:underline}.adminProductsTable{min-width:1180px}.adminProductsTable tbody tr:hover{background:#fafbf7}.smallBtn:disabled,.btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:800px){.adminProductFilters{grid-template-columns:1fr 1fr}.adminProductFilters .filterSearch{grid-column:1/-1}.bulkToolbar{grid-template-columns:1fr 1fr}.bulkToolbar>b{grid-column:1/-1}}
@media(max-width:520px){.adminProductFilters,.bulkToolbar{grid-template-columns:1fr}.adminProductFilters .filterSearch,.bulkToolbar>b{grid-column:auto}.filterButtons{height:auto;flex-wrap:wrap}}

/* ===== V66: ekspozycja, pasek promowanych produktów i mobile ===== */
.productTicker{display:block!important;border-top:1px solid #e7eaee;border-bottom:1px solid #e7eaee;box-shadow:0 3px 14px rgba(17,19,21,.04);position:relative;z-index:18}.productTicker .tickerTrack{animation-duration:var(--ticker-duration,55s)!important}.productTicker .tickerItem{min-height:58px;padding:6px 16px 6px 8px}.productTicker .tickerItem:hover{background:#f3ffd9}.productTicker .tickerItem span{max-width:240px}.productTicker .tickerItem b{color:#2563eb}.randomMode .ticker,.discoverMode .ticker{display:block!important}
.exposureBox{border-style:solid;background:#f6ffe7}.exposureBadge{display:inline-flex;margin-top:5px;padding:4px 7px;border-radius:999px;background:#eef7ff;color:#1f5f98;font-size:10px;font-weight:900}.tickerBadge{display:inline-flex;margin-top:4px;padding:4px 7px;border-radius:999px;background:#eaffc8;color:#315d00;font-size:10px;font-weight:900}
.navLinks a{border:1px solid rgba(17,19,21,.08);transition:transform .12s ease,filter .12s ease,background .12s ease}.navLinks a:nth-child(1){background:#dff3ff}.navLinks a:nth-child(2){background:#ffe57a}.navLinks a:nth-child(3){background:#dfffaa}.navLinks a:nth-child(4){background:#ffd8cd}.navLinks a:nth-child(5){background:#e8dcff}.navLinks a:hover{filter:saturate(1.25) brightness(.94);transform:translateY(-1px);background:inherit}.adminMode .navLinks a{background:#fff}.adminMode .navLinks a.active{background:#111}
.cardTitle{height:auto!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;display:block!important;-webkit-line-clamp:unset!important;min-height:0!important}.randomMode .randomInfo h1,.randomMode #randomName{display:block!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important}.randomDetailsLink{font-size:13px!important;font-weight:850}.randomMiniNav a{font-size:12px!important;padding:8px 11px!important}
@media(max-width:800px){.productTicker .tickerItem{min-height:46px;padding:4px 10px 4px 5px}.productTicker .tickerItem img{width:34px;height:34px;min-width:34px}.productTicker .tickerItem span{max-width:150px;font-size:11px}.siteTop .navLinks{display:flex!important;grid-column:1/-1!important;grid-row:3!important;width:100%;overflow-x:auto;gap:6px;padding:2px 0 1px;scrollbar-width:none}.siteTop .navLinks::-webkit-scrollbar{display:none}.siteTop .navLinks a{flex:0 0 auto;padding:8px 11px!important;font-size:11px!important}.randomMode .navLinks{display:none!important}.randomMode .randomInfo{overflow:visible!important}.randomMode .randomInfo h1{font-size:clamp(17px,5vw,23px)!important;line-height:1.06!important;margin:8px 0!important}.randomMode .randomDetailsLink{font-size:12px!important;padding:5px 0}.cardBody{padding:10px}.cardTitle{font-size:12px!important;line-height:1.3!important;margin:5px 0 8px!important}.cardCat{font-size:9px!important}.categoryChips .chip{font-size:12px;padding:9px 11px}.discoverIntro{grid-template-columns:1fr}.counter{justify-self:start}.pageHero h1{font-size:clamp(34px,11vw,52px)}}
@media(max-width:430px){.randomMode .randomPhoto{height:clamp(260px,42svh,390px)!important;min-height:260px!important}.randomMode .randomActions{grid-template-columns:1fr!important}.randomMode .randomActions .btn{min-height:46px!important}.randomMode .randomInfo{padding-bottom:125px!important}.productGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.cardPrice{font-size:17px!important}}
/* V41: opcjonalne informacje producenta są oddzielone od opisu produktu. */
.complianceDetails{padding:0!important;overflow:hidden}
.complianceDetails>summary{cursor:pointer;list-style:none;padding:22px 24px;font-size:20px;font-weight:900;display:flex;align-items:center;justify-content:space-between;gap:16px}
.complianceDetails>summary::-webkit-details-marker{display:none}
.complianceDetails>summary:after{content:'+';font-size:26px;line-height:1}
.complianceDetails[open]>summary:after{content:'−'}
.complianceDetailsBody{padding:0 24px 22px;border-top:1px solid rgba(20,25,30,.08)}
.gpsrBadge{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:950;line-height:1.2;white-space:nowrap}.gpsrBadge.verified{background:#e3f8df;border-color:#8acb7f;color:#185d20}.gpsrBadge.review{background:#fff2b8;border-color:#e3c34d;color:#705400}.gpsrBadge.missing{background:#ffe1dc;border-color:#e59a90;color:#8a251c}.adminGpsrTabs{align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.adminGpsrTabs>b{font-size:12px;margin-right:2px}.adminGpsrTabs .selected{box-shadow:0 0 0 2px #111}.gpsrVerifiedTab{background:#effbe9;border-color:#a7d89b}.gpsrReviewTab{background:#fff7cf;border-color:#e7cf6c}.gpsrMissingTab{background:#fff0ed;border-color:#e7aaa2}.gpsrAdminHead{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,260px);gap:16px;align-items:start}.gpsrAdminHead h2{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.gpsrCandidateBox{border:1px solid #ead47d;border-radius:13px;background:#fffaf0;padding:14px}.gpsrCandidateBox h3{color:#6e5400}.gpsrDecisionActions{margin-top:12px}.smallBtn.gpsrApprove{background:#e3f8df;border-color:#8acb7f;color:#185d20}.smallBtn.gpsrApprove:hover{background:#cff1c7}.gpsrAdminBox>small{display:block;margin-top:4px;line-height:1.5}
.gpsrFieldMissing{color:#8a251c}.gpsrFieldMissing input{border-color:#d96f63;background:#fff7f5;box-shadow:0 0 0 1px rgba(217,111,99,.15)}
@media(max-width:800px){.gpsrAdminHead{grid-template-columns:1fr}.gpsrAdminHead>label{max-width:none}}

/* ===== V67: rejestracja Google i zweryfikowane opinie ===== */
.navLinks a.navRegister{background:#b9ff38!important;color:#111!important;border-color:#8ed300!important}
.googleAuthBtn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;box-sizing:border-box;margin-top:18px;border:1px solid #cfd4da;border-radius:12px;background:#fff;color:#17191c;text-decoration:none;font-size:15px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.googleAuthBtn:hover{border-color:#8e959e;background:#fafafa}.googleAuthMark{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#4285f4;color:#fff;font:900 16px/1 Arial}.googleAuthTerms{margin:9px 4px 0!important;font-size:11px!important;line-height:1.45!important;color:#6b7078!important;text-align:center}.googleAuthTerms a{text-decoration:underline}.authDivider{display:flex;align-items:center;gap:12px;margin:17px 0 2px;color:#7b8189;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.authDivider:before,.authDivider:after{content:'';height:1px;flex:1;background:#e1e4e8}
.reviewsPage{padding-bottom:64px}.reviewsHero{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:34px 0 24px}.reviewsHero h1{margin:4px 0 8px;font-size:clamp(38px,6vw,68px);letter-spacing:-2.5px}.reviewsHero p{max-width:740px;margin:0;color:#626872;line-height:1.6}.reviewsAverage{flex:0 0 auto;display:grid;place-items:center;min-width:150px;padding:18px;border:1px solid var(--line);border-radius:22px;background:#fff}.reviewsAverage>b{font-size:38px;line-height:1}.reviewsAverage>span,.reviewStars{color:#f5aa00;letter-spacing:1px;font-size:19px}.reviewsAverage>small{margin-top:5px;color:#6b7078}.reviewsGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.reviewCard{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid #dfe3e8;border-radius:20px;background:#fff}.reviewCardTop{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.verifiedPurchase{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eaffc8;color:#315d00;font-size:10px;font-weight:900}.reviewCard>p{flex:1;margin:17px 0;font-size:15px;line-height:1.58;color:#30353b}.reviewCard>footer{display:flex;align-items:end;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px solid #eceef1}.reviewCard>footer div{display:flex;flex-direction:column}.reviewCard>footer small{margin-top:3px;color:#7a8088}.reviewCard>footer a,.reviewCard>footer>span{max-width:55%;text-align:right;color:#363b42;font-size:11px;font-weight:800}.reviewsMethod{max-width:900px;margin:20px auto 0;color:#6b7078;font-size:12px;line-height:1.55;text-align:center}.homeReviewsSection{margin-top:52px}.reviewsGridHome{grid-template-columns:repeat(3,minmax(0,1fr))}.productReviews .sectionHead{margin-bottom:14px}.productReviews .reviewsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.reviewAccountPage{padding-bottom:70px}.reviewPolicyNote{margin-bottom:16px}.reviewFormList{display:grid;gap:14px}.reviewFormCard{border:1px solid #e0e4e8;border-radius:18px;padding:17px;background:#fbfcfd}.reviewProductHead{display:flex;align-items:center;gap:13px}.reviewProductHead img{width:70px;height:70px;object-fit:contain;border:1px solid #e2e5e9;border-radius:12px;background:#fff}.reviewProductHead>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.reviewProductHead small{color:#6b7078}.reviewForm{display:grid;gap:12px;margin-top:15px}.reviewForm>label{display:grid;gap:6px;font-size:13px;font-weight:800}.reviewForm textarea{width:100%;min-height:105px;box-sizing:border-box;padding:12px;border:1px solid #d8dde2;border-radius:12px;resize:vertical;font:inherit}.reviewForm .btn{justify-self:start}.starPicker{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px;margin:0;padding:0;border:0}.starPicker legend{display:block;width:100%;margin-bottom:7px;font-size:13px;font-weight:800}.starPicker input{position:absolute;opacity:0;pointer-events:none}.starPicker label{color:#d5d9de;font-size:32px;line-height:1;cursor:pointer}.starPicker label:hover,.starPicker label:hover~label,.starPicker input:checked~label{color:#f5aa00}.starPicker input:focus-visible+label{outline:2px solid #111;outline-offset:2px;border-radius:3px}.publishedReviewPreview{margin-top:14px;padding:14px;border-radius:14px;background:#fff}.publishedReviewPreview p{line-height:1.55}.publishedReviewPreview small{color:#6b7078}.reviewStatusList{display:grid;gap:8px}.reviewStatusList>div{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px;border:1px solid #e5e8eb;border-radius:13px}.reviewStatusList em{font-style:normal}.statusPill.approved{background:#e9ffd0}.statusPill.rejected{background:#ffe5e1;color:#8c2921}
.adminReviewList{display:grid;gap:12px}.adminReviewCard{margin-top:0}.adminReviewMeta{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.adminReviewMeta h2{margin:5px 0 4px}.adminReviewMeta p{margin:0;color:#68707a;font-size:12px}.adminReviewCard blockquote{margin:16px 0;padding:15px 17px;border-left:4px solid #b9ff38;border-radius:0 12px 12px 0;background:#f7f9f3;font-size:15px;line-height:1.55}.adminReviewCard form{margin-top:10px}
@media(max-width:900px){.reviewsGrid,.reviewsGridHome{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.reviewsHero{align-items:flex-start;flex-direction:column}.reviewsAverage{width:100%;box-sizing:border-box}.reviewsGrid,.reviewsGridHome,.productReviews .reviewsGrid{grid-template-columns:1fr}.reviewStatusList>div{grid-template-columns:1fr}.adminReviewMeta{flex-direction:column}.reviewForm .btn{width:100%}}

/* V41: czytelne potwierdzenie stanu tylko dla koszyka z produktem nienowym. */
.outletReview{margin:22px 0;padding:20px;border:2px solid #111;border-radius:18px;background:#fbfff3}
.outletReviewEyebrow{display:inline-block;margin-bottom:4px;font-size:11px;font-weight:950;letter-spacing:.08em;color:#466900}
.outletReviewIntro h3{margin:0 0 10px}.outletReviewIntro p{margin:8px 0;line-height:1.55}
.outletReviewList{display:grid;gap:10px;margin:16px 0}
.outletReviewItem{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;background:#fff;border:1px solid rgba(20,25,30,.13);border-radius:13px}
.outletReviewItem>img{width:72px;height:72px;object-fit:contain;border-radius:9px;background:#f4f5f6}
.outletReviewItem b,.outletReviewItem small{display:block}.outletReviewItem small{margin-top:4px;line-height:1.35;color:#626870}
.outletReviewAck{display:flex!important;gap:11px;align-items:flex-start;margin:14px 0 0!important;padding:16px!important;border:2px solid #111;border-radius:12px;background:#adff2f;color:#111!important;font-size:14px!important;font-weight:950;line-height:1.45;cursor:pointer;box-shadow:0 4px 0 #111}
.outletReviewAck span{color:#111!important}.outletReviewAck input{flex:0 0 auto;width:19px;height:19px;min-width:19px;margin-top:1px;accent-color:#111}.outletReviewAck:has(input:focus-visible){outline:3px solid rgba(31,111,235,.35);outline-offset:3px}.outletReviewRights{margin:11px 2px 0!important;font-size:12px;line-height:1.45;color:#596069}
.outletReviewAck.checkoutConsentError,
#checkoutForm .checkoutCard > .termsLine.checkoutConsentError{
  border:2px solid #d92d20!important;
  background:#ffe1dc!important;
  color:#111!important;
  box-shadow:0 4px 0 #d92d20!important;
}
.outletReviewAck.checkoutConsentError input,
#checkoutForm .checkoutCard > .termsLine.checkoutConsentError input{accent-color:#d92d20!important}
@media(max-width:680px){.outletReview{padding:14px}.outletReviewItem{grid-template-columns:58px minmax(0,1fr)}.outletReviewItem>img{width:58px;height:58px}.outletReviewItem>a{grid-column:2;width:max-content}}

/* V67: krótkie, dyskretne akceptacje bezpośrednio pod podsumowaniem. */
.checkoutConsents{display:grid;gap:7px;margin:-2px 0 14px}
#checkoutForm .checkoutConsent{display:flex;align-items:flex-start;gap:8px;margin:0;padding:9px 10px;border:1px solid #dfe3e8;border-radius:10px;background:#f8fafc;color:#303740!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important;cursor:pointer;box-shadow:none}
#checkoutForm .checkoutConsent input[type="checkbox"]{flex:0 0 auto;width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;accent-color:#111;cursor:pointer}
#checkoutForm .checkoutConsent span{color:inherit}
#checkoutForm .checkoutConsent a{color:#075dcc!important;font-weight:850;text-decoration:underline;text-underline-offset:2px}
#checkoutForm .checkoutConsent:has(input:focus-visible){outline:3px solid rgba(31,111,235,.25);outline-offset:2px}
.checkoutConsentNote{margin:-2px 4px 1px 35px!important;color:#69717c;font-size:10.5px;line-height:1.35}
#checkoutForm .checkoutConsent.checkoutConsentError{border:2px solid #d92d20!important;background:#fff0ed!important;color:#7f1d16!important;box-shadow:none!important}
#checkoutForm .checkoutConsent.checkoutConsentError input{accent-color:#d92d20!important}
@media(max-width:430px){#checkoutForm .checkoutConsent{padding:9px;font-size:11.5px!important}.checkoutConsentNote{margin-left:34px!important}}

/* Produkcyjny tryb weryfikacji operatora płatności. */
.launchReviewBanner{display:grid;gap:2px;padding:9px 18px;background:#fff3bf;border-bottom:1px solid #e0bd35;color:#4d3a00;text-align:center;font-size:14px;line-height:1.4}.launchReviewBanner>span{display:block}.launchReviewBanner b{color:#111}.launchDisabled{background:#e7e9ec!important;color:#656b73!important;cursor:not-allowed!important;pointer-events:none!important}.launchReviewBanner+.ticker{border-top:0}
@media(max-width:680px){.launchReviewBanner{padding:9px 12px;font-size:12px}}

/* Keep filter actions usable when the form stacks on small screens. */
.filterBar .btn{min-height:44px;line-height:1.25}
.p24Footer{margin-top:30px;padding-top:24px;border-top:1px solid rgba(255,255,255,.16)}
.p24FooterHead{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:13px;font-weight:800}
.p24FooterHead img{display:block;width:132px;height:auto;background:#fff;border-radius:8px;padding:6px 9px}
.p24MethodGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}
.p24Method{min-height:52px;padding:8px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:10px}
.p24Method img{display:block;max-width:100%;width:auto;height:auto;max-height:34px;object-fit:contain}
.p24MethodText{color:#182637;text-align:center;font-size:11px;font-weight:800;line-height:1.2}
.p24Footer p{margin:12px 0 0;color:rgba(255,255,255,.72);font-size:12px}
@media(max-width:600px){.p24MethodGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.p24Method{min-height:46px;padding:6px}.p24Method img{max-height:28px}.p24FooterHead img{width:116px}}

/* Jednoznaczny widok weryfikacji płatności Przelewy24. */
.orderThanks.paymentStatePending{border-color:#9cc7e8;background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)}
.paymentStatePending .successIcon{background:#eaf5ff;color:#17689f;animation:paymentPulse 1.15s ease-in-out infinite}
.orderThanks.paymentStateRetry{border-color:#e1b91f;background:linear-gradient(180deg,#fff 0%,#fff9df 100%)}
.paymentStateRetry .successIcon{background:#ffe15a;color:#111;animation:none}
.paymentStatePaid .successIcon{background:var(--lime);color:#111;animation:none}
.orderThanks.paymentStateFailed{border-color:#d92d20;background:linear-gradient(180deg,#fff 0%,#fff0ed 100%);box-shadow:0 16px 44px rgba(166,35,28,.13)}
.paymentStateFailed .successIcon{background:#ffe5e2;color:#a3231d;animation:none}
.paymentStateFailed .paymentLiveMessage{color:#7f1d16}
.paymentStateRefunded .successIcon{background:#e8dcff;color:#4d2b88;animation:none}
.paymentLiveMessage{max-width:620px;margin:4px auto 18px;font-size:15px;line-height:1.55;font-weight:750;color:#2b536e}
.paymentRetry{margin:18px auto 0;padding-top:16px;border-top:1px solid #dfe7ed;max-width:620px}
.paymentRetry[hidden]{display:none!important}.paymentRetry p{margin:0 0 10px;color:var(--muted);font-size:13px}
.paymentReturnActions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
@keyframes paymentPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(44,134,200,.2)}50%{transform:scale(1.06);box-shadow:0 0 0 10px rgba(44,134,200,0)}}
@media(prefers-reduced-motion:reduce){.paymentStatePending .successIcon{animation:none}}

/* V68: panel klientów i prywatne statystyki pierwszej strony. */
.customerFilters{grid-template-columns:minmax(260px,2fr) repeat(3,minmax(150px,1fr)) auto}.customerTable{min-width:1050px}.statsPeriodCards a{text-decoration:none;color:inherit}.statsPeriodCards .selected{border-color:#111;box-shadow:0 0 0 2px #111;background:#f3ffd9}.adminStat small{display:block;margin-top:6px;color:#6b727b;font-size:11px;font-weight:700}.statsFunnel{display:grid;grid-template-columns:repeat(7,minmax(105px,1fr));gap:8px}.statsFunnel>div{padding:14px;border:1px solid #e0e4e8;border-radius:14px;background:#f8fafb}.statsFunnel span{display:block;min-height:32px;color:#626a74;font-size:11px;font-weight:800}.statsFunnel b{display:block;margin-top:8px;font-size:26px}.statsTwoCols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.statsTwoCols>.adminPanel{margin-top:0}.statsPrivacyNote{margin-top:16px}
@media(max-width:1000px){.statsFunnel{grid-template-columns:repeat(4,minmax(110px,1fr))}.statsTwoCols{grid-template-columns:1fr}.customerFilters{grid-template-columns:1fr 1fr}.customerFilters .filterSearch{grid-column:1/-1}}
@media(max-width:560px){.statsFunnel{grid-template-columns:repeat(2,minmax(0,1fr))}.customerFilters{grid-template-columns:1fr}.customerFilters .filterSearch{grid-column:auto}}

/* V68: bezpieczny import danych własnej oferty Apilo/Allegro. */
.productOfferImporter{border:2px solid #111;background:linear-gradient(135deg,#f4ffdf,#fff 58%)}.productImporterHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.productImporterHead h2{margin-bottom:5px}.productImporterHead p{max-width:820px;margin:0;line-height:1.5}.productImporterControls{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:10px;margin-top:16px}.productImporterControls label{margin:0}.productImporterControls .btn{min-height:46px}.importOverwriteLabel{margin:10px 0!important;font-size:12px}.importCategoryPath{margin:10px 0;padding:10px 12px;border-radius:10px;background:#eef5ff;font-size:12px;line-height:1.45}.importSummary{display:grid;gap:5px;margin:10px 0;padding:11px 13px;border:1px solid #dce2e8;border-radius:11px;background:#fff;font-size:12px;line-height:1.5}.importRightsNote{margin:12px 0 8px;padding:10px 12px;border-left:4px solid #e3b400;background:#fff9db;color:#5b4700;font-size:11px;line-height:1.5}.importImageGrid:empty{display:none}.importedImageItem{border-color:#d7b62f;background:#fffbea}.linkCheckLine{line-height:1.6}.linkCheckBadge{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid;border-radius:999px;font-size:10px;font-weight:950;line-height:1.2}.linkCheckBadge.active{border-color:#7fc66f;background:#e5f9df;color:#185d20}.linkCheckBadge.review{border-color:#e1bd3c;background:#fff4bd;color:#6e5400}.linkCheckBadge.missing{border-color:#df8a80;background:#ffe6e2;color:#8a251c}
@media(max-width:680px){.productImporterHead{display:block}.productImporterHead>.statusPill{margin-top:8px}.productImporterControls{grid-template-columns:1fr}.productImporterControls .btn{width:100%}}

/* V69: czytelne konto klienta i opinie dostępne bez szukania po menu. */
.accountHero{padding:24px 26px;border:1px solid #dfe4e8;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f5ffe4 100%)}
.accountProGrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;margin-bottom:18px}
.accountProGrid>.accountSection{margin:0}.accountSectionTitle{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.accountSectionTitle h2{margin:0 0 4px}.accountSectionTitle p{margin:0;color:#6b7078;font-size:13px;line-height:1.45}
.profileRows{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profileRow{min-width:0;padding:13px 14px;border:1px solid #e5e8eb;border-radius:14px;background:#f9fafb}.profileRow>span{display:block;margin-bottom:6px;color:#69717a;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.profileRow b{overflow-wrap:anywhere}.profileRow>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.passwordMasked a{font-size:11px;font-weight:900;color:#111}.verifyPill{display:inline-flex;align-items:center;width:max-content;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;font-style:normal}.verifyPill.ok{background:#e7ffd0;color:#285900}.verifyPill.warn{background:#fff0b9;color:#745600}.accountVerifyNotice{margin-top:12px}
.securityActions{display:grid;gap:9px}.securityActions>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:13px 14px;border:1px solid #e4e7ea;border-radius:14px;background:#fafbfc;color:#111;text-decoration:none;transition:.18s ease}.securityActions>a:hover{border-color:#111;background:#f5ffe5;transform:translateY(-1px)}.securityActions b{grid-column:1}.securityActions span{grid-column:1;color:#6d737c;font-size:11px}.securityActions i{grid-column:2;grid-row:1/3;align-self:center;font-size:20px;font-style:normal}
.accountTilesPro{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.accountTilesPro a{min-height:82px;justify-content:center}.accountOrdersSection{margin-top:18px}.accountOrderCard{overflow:hidden;border:1px solid #e2e6e9;border-radius:16px;background:#fff}.accountOrderCard .accountOrder{border:0;border-radius:0}.accountOrderCard .accountOrder:hover{background:#fafcf7}.orderReviewCta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-top:1px solid #e3e7e9;color:#111;text-decoration:none;font-size:13px;font-weight:950}.orderReviewCta.needsReview{background:#b9ff38}.orderReviewCta.reviewSent{background:#f3f5f6;color:#515861}.orderReviewCta:hover{filter:brightness(.97)}
.dangerZone{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;border-color:#efcbc7;background:#fffafa}.dangerZone h2{margin:0 0 5px}.dangerZone p{max-width:850px;margin:0;color:#6b7078;line-height:1.5}
.accountEditLayout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:18px}.accountIdentityCard{text-align:center}.accountAvatar{display:grid;place-items:center;width:74px;height:74px;margin:2px auto 13px;border:3px solid #111;border-radius:22px;background:#b9ff38;font-size:32px;font-weight:950}.accountIdentityCard h2{margin:0 0 4px}.accountIdentityCard>p{margin:0 0 10px;color:#6b7078;overflow-wrap:anywhere}.accountIdentityCard>.verifyPill{margin:0 auto}.accountIdentityLinks{display:grid;gap:9px;margin-top:22px;text-align:left}.accountIdentityLinks a{display:flex;flex-direction:column;gap:3px;padding:13px;border:1px solid #e3e7ea;border-radius:13px;background:#fafbfc;color:#111;text-decoration:none}.accountIdentityLinks span{color:#6b7078;font-size:11px}.accountProfileForm{display:grid;gap:15px}.accountProfileForm label{display:grid;gap:6px;font-size:13px;font-weight:850}.accountProfileForm input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #cfd5da;border-radius:12px;background:#fff;font:inherit}.accountProfileForm input:disabled{background:#f1f3f5;color:#5f6670}.accountProfileForm .btn{justify-self:start;min-width:190px}
.reviewOrderFilter{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:12px 15px;border:1px solid #c8e598;border-radius:13px;background:#f4ffe4;font-size:13px}.reviewOrderFilter a{color:#111;font-weight:900}.reviewQuickAnswers{display:grid;gap:9px}.reviewQuickAnswers>b{font-size:13px}.reviewQuickAnswers>b span{color:#6b7078;font-weight:600}.reviewTagGroups{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reviewTagGroup{margin:0;padding:12px;border:1px solid #dfe3e6;border-radius:14px;background:#fff}.reviewTagGroup legend{padding:0 5px;font-size:11px;font-weight:900}.reviewTagGroup>div{display:flex;flex-wrap:wrap;gap:7px}.reviewTagGroup label{position:relative;cursor:pointer}.reviewTagGroup input{position:absolute;opacity:0;pointer-events:none}.reviewTagGroup span,.reviewTagList span{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #d8dde1;border-radius:999px;background:#f7f8f9;color:#333;font-size:11px;font-weight:850;line-height:1.25}.reviewTagGroup.positive input:checked+span{border-color:#70b65c;background:#e8ffd9;color:#245b16;box-shadow:0 0 0 1px #70b65c}.reviewTagGroup.negative input:checked+span{border-color:#d8786e;background:#ffe8e4;color:#82251d;box-shadow:0 0 0 1px #d8786e}.reviewTagGroup input:focus-visible+span{outline:3px solid rgba(31,111,235,.28);outline-offset:2px}.reviewFormHint{margin:-4px 0 0;color:#6b7078;font-size:11px}.reviewTagList{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 3px}.reviewTagList span.positive{border-color:#a8d996;background:#efffe8;color:#285d1d}.reviewTagList span.negative{border-color:#e4aaa3;background:#fff0ed;color:#812b24}.reviewCard .reviewTagList{margin-top:14px}.reviewCard>footer{margin-top:auto}.reviewFormCard{scroll-margin-top:120px}
.reviewFormHint.isError{padding:9px 10px;border-radius:9px;background:#fff0ed;color:#9b261e;font-weight:850}
@media(max-width:900px){.accountProGrid,.accountEditLayout{grid-template-columns:1fr}.profileRows{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.accountHero{padding:18px}.profileRows,.reviewTagGroups{grid-template-columns:1fr}.accountSectionTitle{flex-direction:column}.dangerZone,.reviewOrderFilter{align-items:flex-start;flex-direction:column}.accountProfileForm .btn{width:100%}.orderReviewCta{font-size:12px}}

/* V70: szybka galeria Przeglądaj — lekkie miniatury i płynne przewijanie. */
.discoverMode .feedCard{contain:layout style paint}
.discoverMode .feedImage{display:block;transform:translateZ(0)}
.ekConstrainedMedia .discoverMode .feedCard{animation:none!important}
.ekConstrainedMedia .discoverMode .feedImage{transition:none!important}
@media(hover:none),(pointer:coarse){
  .discoverMode .feedCard{animation:none!important;transition:none!important;box-shadow:0 3px 10px rgba(0,0,0,.035)!important}
  .discoverMode .feedCard:hover{transform:none!important}
  .discoverMode .feedCard .cardImage img{transition:none!important;transform:none!important}
}

/* V71: strona produktu naprawdę responsywna — bez maskowania i ucinania treści. */
.shopPage,
.shopPage .productDetail,
.shopPage .productGallery,
.shopPage .productInfo,
.shopPage .descriptionBox,
.shopPage .mainProductImage{
  min-width:0;
  max-width:100%;
}
.shopPage .productDetail{width:100%;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.shopPage .productGallery,
.shopPage .productInfo,
.shopPage .descriptionBox{width:100%}
.shopPage .mainProductImage{width:100%}
.shopPage .mainProductImage img{
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  max-width:100%;
  object-fit:contain;
  object-position:center;
}
.shopPage .productInfo h1,
.shopPage .freeShippingBox,
.shopPage .descriptionText,
.shopPage .detailRow,
.shopPage .complianceDetailsBody{
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}
.shopPage .loginToBuy{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px;
  align-items:stretch;
  margin:14px 0 9px;
  min-width:0;
  max-width:100%;
}
.shopPage .loginToBuy .btn,
.shopPage .buyRow .btn,
.shopPage .productInfo>.randomSoft{
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.25;
}
.shopPage .productInfo>.randomSoft{width:max-content}
.shopPage .buyRow{grid-template-columns:90px minmax(0,1fr)}
.shopPage .qtyInput{width:100%;min-width:0;max-width:100%}
.shopPage .thumbRow{max-width:100%;overscroll-behavior-inline:contain}

@media(max-width:1000px){
  .shopPage .productDetail{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
  .shopPage{width:calc(100% - 14px);padding-top:14px}
  .shopPage .productDetail{gap:10px}
  .shopPage .productGallery,
  .shopPage .productInfo,
  .shopPage .descriptionBox{padding:12px;border-radius:18px}
  .shopPage .productInfo h1{
    font-size:clamp(25px,8vw,30px);
    line-height:1.08;
    letter-spacing:-.8px;
  }
  .shopPage .freeShippingBox{font-size:15px;line-height:1.45;padding:13px 14px}
  .shopPage .loginToBuy,
  .shopPage .buyRow{grid-template-columns:minmax(0,1fr)}
  .shopPage .loginToBuy .btn,
  .shopPage .buyRow .btn,
  .shopPage .productInfo>.randomSoft{width:100%}
  .shopPage .descriptionText{font-size:16px;line-height:1.65}
  .shopPage .complianceDetails>summary{padding:17px 16px;font-size:17px;overflow-wrap:anywhere}
  .shopPage .complianceDetailsBody{padding:0 16px 17px}
}

/* V77: strona produktu — stała ramka galerii i pełne zdjęcie bez kadrowania.
 * Obraz jest wyjęty z układu ramki, dzięki czemu jego pionowe proporcje nie
 * powiększają ani nie rozpychają kontenera. `contain` zawsze pokazuje całość. */
.shopPage .mainProductImage{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  min-height:0;
  aspect-ratio:1 / 1;
  overflow:hidden;
  background:#fff;
}
.shopPage .mainProductImage > img#mainProductImage{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
  transform:none!important;
  clip-path:none!important;
}

/* V72: pełna responsywność iOS/Safari bez elementów uciekających poza ekran. */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body,main,header,footer,section,article,nav,form,fieldset,
.wrap,.siteTop .nav,.topSearch,.navLinks,.adminShell,.adminPanel,
.checkoutGrid,.checkoutCard,.accountSection,.productDetail,.productInfo{
  min-width:0;
  max-width:100%;
}
button,.btn,.smallBtn,input,select,textarea{max-width:100%}
.btn,.smallBtn,button{overflow-wrap:anywhere}
.orderProductReviewLink{max-width:100%!important;width:fit-content!important;white-space:normal;overflow-wrap:anywhere}
.topSearch{width:100%}
.topSearch input{min-width:0;-webkit-appearance:none;appearance:none}
.topSearch button{touch-action:manipulation}
.adminTableWrap,.shipmentItemsTableWrap{
  max-width:100%;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
}
.adminPanel,.checkoutCard,.accountSection,.integrationBox,.shippingProfileCard{overflow-wrap:anywhere}

@media(max-width:980px){
  input:not([type="checkbox"]):not([type="radio"]),select,textarea{font-size:16px!important}
  .siteTop .navLinks{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .siteTop .navLinks a{
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.adminMode .siteTop .navLinks{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .adminNav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    width:100%;
  }
  .adminNav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    min-height:42px;
    padding:8px 6px;
    border-radius:12px;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:center;
    line-height:1.2;
  }
  .adminTop,.productResultHead,.adminSubmit,.shipmentPrepareTopbar{
    min-width:0;
    max-width:100%;
    flex-wrap:wrap;
  }
  .adminTop>*{min-width:0;max-width:100%}
  .adminTop .adminActions{width:100%}
  .adminTop .adminActions>*{flex:1 1 150px;min-width:0}
  .adminTop .adminActions .btn{width:100%;white-space:normal;text-align:center}
  .adminPanel{padding:14px;border-radius:16px}
  .adminActions,.filterButtons,.shipmentTopActions,.shipmentGeneratedActions{
    min-width:0;
    max-width:100%;
  }
  .skuBadge,.gpsrBadge,.linkCheckBadge,.statusPill{
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .shippingOption,.shippingOption span,.summaryLine,.summaryGrand{min-width:0}
  .shippingOption span,.summaryLine span{overflow-wrap:anywhere}
  .orderThanks,.testPaymentCard{padding:20px 14px}
  .orderThanks h1,.testPaymentCard h1{font-size:clamp(27px,9vw,36px);overflow-wrap:anywhere}
  .paymentReturnActions>.btn,.testPaymentActions>.btn{flex:1 1 170px;min-width:0;white-space:normal}
}

/* Na telefonie tabele panelu są kartami. Nic nie jest ukrywane i nie trzeba
   przesuwać całej strony w prawo. Etykiety kolumn ustawia assets/app.js. */
@media(max-width:980px){
  body.adminMode .adminTableWrap,
  body.adminMode .shipmentItemsTableWrap{overflow:visible}
  body.adminMode table.adminTable,
  body.adminMode table.shipmentItemsTable{
    display:block;
    width:100%;
    min-width:0!important;
  }
  body.adminMode table.adminTable thead,
  body.adminMode table.shipmentItemsTable thead{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
  }
  body.adminMode table.adminTable tbody,
  body.adminMode table.shipmentItemsTable tbody{
    display:grid;
    gap:12px;
    width:100%;
  }
  body.adminMode table.adminTable tbody tr,
  body.adminMode table.shipmentItemsTable tbody tr{
    display:block;
    min-width:0;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
  }
  body.adminMode table.adminTable tbody td,
  body.adminMode table.shipmentItemsTable tbody td{
    display:grid;
    grid-template-columns:minmax(78px,34%) minmax(0,1fr);
    gap:10px;
    align-items:start;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding:10px 11px!important;
    border:0!important;
    border-bottom:1px solid var(--line)!important;
    text-align:left!important;
    overflow-wrap:anywhere;
  }
  body.adminMode table.adminTable tbody td:last-child,
  body.adminMode table.shipmentItemsTable tbody td:last-child{border-bottom:0!important}
  body.adminMode table.adminTable tbody td::before,
  body.adminMode table.shipmentItemsTable tbody td::before{
    content:attr(data-label);
    color:#6d737c;
    font-size:10px;
    font-weight:900;
    line-height:1.3;
    text-transform:uppercase;
    letter-spacing:.04em;
  }
  body.adminMode table.adminTable tbody td.mobileTableFull,
  body.adminMode table.shipmentItemsTable tbody td.mobileTableFull{display:block}
  body.adminMode table.adminTable tbody td.mobileTableFull::before,
  body.adminMode table.shipmentItemsTable tbody td.mobileTableFull::before{display:none}
  body.adminMode table.adminTable td>*,
  body.adminMode table.shipmentItemsTable td>*{min-width:0;max-width:100%}
  body.adminMode table.adminTable .adminActions,
  body.adminMode table.shipmentItemsTable .adminActions{justify-content:flex-start}
  body.adminMode table.adminTable .adminActions form{min-width:0;max-width:100%}
}

@media(max-width:420px){
  .siteTop .navLinks{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.adminMode .siteTop .navLinks,.adminNav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .wrap{width:calc(100% - 12px)!important}
  .adminPanel{padding:11px}
}
@media(max-width:350px){
  .siteTop .navLinks,.adminNav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.adminMode .siteTop .navLinks{grid-template-columns:1fr!important}
}

/* ===== V73: świadoma mikroprzerwa w trybie „Losuj” ===== */
.randomPause{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:clamp(14px,4vw,42px);background:rgba(12,15,19,.82);backdrop-filter:blur(10px);opacity:0;transition:opacity .18s ease}.randomPause[hidden]{display:none!important}.randomPause.isVisible{opacity:1}.randomPauseCard{width:min(720px,100%);min-height:min(520px,78svh);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:clamp(28px,6vw,64px);border-radius:34px;background:linear-gradient(145deg,#fff,#f4f7fa);box-shadow:0 30px 100px rgba(0,0,0,.32);transform:translateY(12px) scale(.98);transition:transform .18s ease}.randomPause.isVisible .randomPauseCard{transform:none}.randomPauseEyebrow{display:inline-flex;padding:7px 11px;border-radius:999px;background:#111;color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.randomPauseIcon{display:grid;place-items:center;width:74px;height:74px;margin:22px 0 12px;border-radius:24px;background:var(--lime);font-size:34px;font-weight:950;box-shadow:0 14px 32px rgba(154,230,31,.28)}.randomPause[data-accent="blue"] .randomPauseIcon{background:#dce9ff;box-shadow:0 14px 32px rgba(37,99,235,.18)}.randomPause[data-accent="orange"] .randomPauseIcon{background:#ffe2d1;box-shadow:0 14px 32px rgba(255,90,0,.18)}.randomPauseCard h2{max-width:620px;margin:8px 0 12px;font-size:clamp(34px,6vw,64px);line-height:.96;letter-spacing:-2.8px}.randomPauseCard p{max-width:580px;margin:0 0 28px;color:#525b65;font-size:clamp(15px,2vw,19px);line-height:1.55}.randomPauseContinue{min-width:min(100%,340px);min-height:58px;border-radius:18px!important;font-size:16px!important}.randomPauseBrowse{margin-top:18px;color:#565f69!important;font-size:13px;font-weight:800;text-decoration:underline!important;text-underline-offset:4px}
@media(max-width:600px){.randomPause{padding:12px}.randomPauseCard{min-height:min(500px,82svh);padding:28px 18px;border-radius:24px}.randomPauseIcon{width:62px;height:62px;margin-top:18px}.randomPauseCard h2{font-size:clamp(32px,10vw,46px);letter-spacing:-1.8px}.randomPauseCard p{font-size:15px}.randomPauseContinue{width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.randomPause,.randomPauseCard{transition:none!important}}

/* ===== V74: odzyskiwanie przerwanej płatności z pustego koszyka ===== */
.cartPaymentRecovery{max-width:820px;margin:0 auto}.cartPaymentRecovery>p{max-width:680px;margin-left:auto;margin-right:auto;line-height:1.55;color:#4d555e}.cartPaymentRecovery .paymentRetry{border-top:0;padding-top:0}.cartPaymentRecovery .paymentRetry>.btn{min-width:min(100%,330px)}.pendingPaymentCancel{margin-top:10px}.pendingPaymentCancel[hidden]{display:none!important}.pendingPaymentCancel form{margin:0}.pendingPaymentCancel .btn{max-width:100%;white-space:normal;background:#fff;border:1px solid #c8cdd3;color:#222}.pendingPaymentCancel .btn:hover{background:#f2f4f6}.cartPaymentRecovery>.paymentReturnActions{padding-top:14px;border-top:1px solid #e4e7ea}.cartPaymentRecovery.paymentStateFailed .successIcon{background:#ffe1dc;color:#a5231c}.cartPaymentRecovery.paymentStateFailed>form>.btn{min-width:min(100%,360px)}
@media(max-width:600px){.cartPaymentRecovery{padding:22px 14px}.cartPaymentRecovery .orderStatusGrid{grid-template-columns:1fr}.cartPaymentRecovery .paymentRetry>.btn,.cartPaymentRecovery.paymentStateFailed>form>.btn,.pendingPaymentCancel .btn{width:100%;min-width:0}.cartPaymentRecovery .paymentReturnActions{display:grid;grid-template-columns:1fr}.cartPaymentRecovery .paymentReturnActions>*{width:100%;box-sizing:border-box;text-align:center}}
