/* GornaVision – Premium Dark Only (NO STRETCH hero + better mobile) */
:root{
  --bg:#0b0f17;
  --surface:#0f1524;
  --surface2:#0b1220;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --muted2:rgba(234,240,255,.55);
  --border:rgba(234,240,255,.12);
  --shadow:0 18px 55px rgba(0,0,0,.35);

  --brand:#0b8cc6;
  --accent:#ff2e2e;

  --radius2:26px;
  --container:1180px;

  color-scheme:dark;
}

*{box-sizing:border-box}
html,body{background:var(--bg); color:var(--text)}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.55;
  background:
    radial-gradient(900px 520px at 14% 0%, rgba(255,46,46,.12), transparent 60%),
    radial-gradient(760px 440px at 86% 12%, rgba(11,140,198,.16), transparent 60%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--container);margin:0 auto;padding:0 18px}

/* Topbar */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(11,15,23,.70);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(234,240,255,.10);
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px}
.brand img{height:44px;display:block}
.navlinks{display:flex;gap:10px;align-items:center}
.navlinks a{padding:9px 10px;border-radius:12px;color:var(--muted);font-weight:900;font-size:14px}
.navlinks a:hover{background:rgba(234,240,255,.06);color:var(--text)}
.actions{display:flex;gap:10px;align-items:center;flex:1 1 auto;justify-content:flex-end;flex-wrap:wrap}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  font-weight:900;gap:10px;white-space:nowrap
}
.btn:hover{filter:brightness(1.06)}
.btn.primary{
  border-color:rgba(255,46,46,.55);
  background:linear-gradient(135deg, rgba(255,46,46,.95), rgba(255,86,86,.85));
  box-shadow:0 16px 38px rgba(255,46,46,.18);
  color:#fff
}
.btn.brand{
  border-color:rgba(11,140,198,.45);
  background:linear-gradient(135deg, rgba(11,140,198,.95), rgba(10,160,223,.80));
  box-shadow:0 16px 38px rgba(11,140,198,.18);
  color:#fff
}
.btn.ghost{background:transparent}

/* Typography */
h1{font-size:clamp(28px,3.2vw,54px);line-height:1.06;margin:12px 0 10px;letter-spacing:-.8px}
h2{font-size:clamp(22px,2.2vw,34px);margin:0;letter-spacing:-.4px}
.muted{color:var(--muted);font-weight:700}
.tiny{color:var(--muted2);font-size:12px;font-weight:650}

/* Cards / items */
.card{
  border:1px solid rgba(234,240,255,.10);
  border-radius:var(--radius2);
  background:
    radial-gradient(800px 420px at 8% 0%, rgba(255,46,46,.10), transparent 60%),
    radial-gradient(720px 420px at 92% 16%, rgba(11,140,198,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}
.item{
  padding:16px;border-radius:22px;
  border:1px solid rgba(234,240,255,.10);
  background:rgba(255,255,255,.03);
}
.item-link{display:block;transition:transform .14s ease, filter .14s ease}
.item-link:hover{transform:translateY(-2px);filter:brightness(1.05)}

/* Grid */
.grid{display:grid;gap:16px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Inputs */
.input{
  width:100%;padding:12px;
  border-radius:14px;
  border:1px solid rgba(234,240,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-weight:750;
  outline:none;
  color-scheme:dark;
}
.input:focus{border-color:rgba(11,140,198,.45);box-shadow:0 0 0 3px rgba(11,140,198,.18)}
select.input option{background:#0f1524;color:#eaf0ff}
label{font-size:12px;color:var(--muted2);font-weight:950}
.formrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}

/* ✅ HERO: stop stretching + stable alignment */
.hero{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr);
  gap:18px;
  padding:22px;

  /* ✅ KEY FIX: do NOT stretch items vertically */
  align-items:start;
}
.hero .left,
.hero .right{min-width:0}

/* Right column: cards should keep natural height */
.hero .right{
  display:grid;
  gap:12px;
  align-content:start;  /* ✅ prevents vertical stretching inside */
}
.hero .right > .card{width:100%}

/* Feature bullets */
.hero-features{margin-top:18px;display:grid;gap:8px;font-weight:800;color:rgba(234,240,255,.86)}
.feature{padding:6px 0;font-size:14px;opacity:.95}

/* Section head */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.section-head p{margin:0}

/* Footer */
.footer{padding:26px 0 34px}
.foot{border-top:1px solid rgba(234,240,255,.12);padding-top:16px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:16px}
.foot h4{margin:0 0 10px;font-size:13px;letter-spacing:.2px;color:var(--muted2)}
.foot a{display:block;padding:6px 0;color:var(--muted);font-weight:750}
.foot a:hover{color:var(--text)}
.foot-logo{height:40px}

/* ✅ Responsive (mobile-first polish) */
@media (max-width:980px){
  /* optional: keep 2-col until 860 only; 980 helps medium laptops feel nicer if you want */
}

@media (max-width:860px){
  .hero{
    grid-template-columns:1fr;
    padding:16px;              /* ✅ tighter on mobile/tablet */
  }
  .grid-3{grid-template-columns:1fr}
  .grid-4{grid-template-columns:1fr 1fr}
  .foot{grid-template-columns:1fr 1fr}
  .navlinks{display:none}
}

@media (max-width:620px){
  .grid-4{grid-template-columns:1fr}
  .formrow{grid-template-columns:1fr} /* ✅ no squeezed inputs */
  .hero{padding:14px}
  h1{font-size:clamp(26px,7.6vw,40px)}
  .btn{width:100%}             /* ✅ buttons become full-width when wrapped */
}

@media (max-width:520px){
  .foot{grid-template-columns:1fr}
}


/* ==============================
   SHOP (products listing)
================================ */
.shop-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}
.shop-title{ margin:0; font-size: clamp(24px, 3vw, 34px); }
.shop-sub{ margin:6px 0 0; color: var(--muted); }

.shop-badges{ display:flex; gap:10px; flex-wrap:wrap; }
.shop-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.88);
  font-weight: 800;
  font-size: 13px;
}

.shop-toolbar{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin: 10px 0 14px;
}
.shop-search{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.shop-search input[type="search"]{
  flex: 1 1 220px;
  min-width: 180px;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}
.shop-search select{
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}
.shop-cats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.86);
  font-weight: 900;
  text-decoration: none;
  font-size: 13px;
}
.chip:hover{ filter: brightness(1.05); }
.chip.is-active{
  background: rgba(37,99,235,.18);
  border-color: rgba(37,99,235,.35);
  color:#fff;
}

.shop-grid{ margin-top: 6px; }
.shop-card{ padding: 0; overflow:hidden; }
.shop-card__img{
  display:block;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.shop-card__img img{
  width:100%;
  height: 180px;
  object-fit: cover;
  display:block;
}
.shop-card__ph{
  height:180px;
  background:
    radial-gradient(160px 90px at 25% 30%, rgba(11,140,198,.22), transparent 70%),
    radial-gradient(160px 90px at 75% 60%, rgba(255,46,46,.16), transparent 72%),
    rgba(255,255,255,.03);
}
.shop-card__body{ padding: 14px; }
.shop-card__title{
  display:block;
  font-weight: 950;
  font-size: 16px;
  line-height: 1.25;
  text-decoration:none;
  color: var(--text);
}
.shop-card__title:hover{ text-decoration: underline; }
.shop-card__meta{ margin-top: 8px; color: var(--muted); font-size: 12px; }
.shop-card__price{ margin-top: 10px; font-size: 18px; font-weight: 950; }
.shop-card__actions{ display:grid; gap:10px; margin-top: 12px; }
.shop-card__form{ margin:0; }

.shop-empty{ padding: 18px; }
.shop-empty__title{ font-weight: 950; font-size: 16px; margin-bottom: 6px; }

.shop-pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  margin: 18px 0 6px;
  flex-wrap:wrap;
}
.pager-btn{
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.92);
  text-decoration:none;
  font-weight: 900;
}
.pager-btn.is-disabled{ opacity:.45; pointer-events:none; }
.pager-pages{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:center; }
.pager-page{
  min-width: 38px;
  text-align:center;
  padding: 9px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.92);
  text-decoration:none;
  font-weight: 950;
}
.pager-page.is-active{
  background: rgba(37,99,235,.18);
  border-color: rgba(37,99,235,.35);
  color:#fff;
}
.pager-dots{ color: var(--muted); padding: 0 4px; }

.shop-seo{
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.shop-seo h2{ margin:0 0 8px; font-size: 18px; }
.shop-seo__cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px; }

/* ==============================
   PRODUCT VIEW (conversion)
================================ */
.p-actions{ display:grid; gap: 10px; margin-top: 12px; }
.p-cartform{ margin:0; }
.p-trust{
  margin-top: 12px;
  display:grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.p-trust__item{
  display:flex; align-items:center; gap:10px;
  color: rgba(234,240,255,.90);
  font-weight: 850;
  font-size: 13px;
}

/* Accessibility helpers */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

