:root{
  --bg:#f5f1ec;
  --left:#d7d7d7;
  --muted:#6f6f6f;
  --text:#101010;
  --gold:#b79b62;
  --card:#dcdcdc;
  --cardInner:#f2f2f2;
  --r:26px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial;
}
img{max-width:100%;display:block;height:auto}

/* Page layout */
.gg-page{padding:34px 0}
.gg-wrap{
  width:min(1320px, calc(100% - 64px));
  margin:0 auto;
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:34px;
  align-items:start;
}

/* Left heading */
.gg-head{margin:0 0 18px}
.gg-crumb{
  font-size:12px;
  letter-spacing:.06em;
  color:var(--gold);
  text-transform:uppercase;
  margin-bottom:10px;
}
.gg-title{
  margin:0;
  font-size:56px;
  line-height:1;
  font-weight:900;
}
.gg-count{
  margin-top:8px;
  color:var(--muted);
  font-size:16px;
}

/* Filters panel */
.gg-filters{
  background:var(--left);
  border-radius:18px;
  padding:22px;
}
.gg-filters__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.gg-filters__title{
  font-size:44px;
  font-weight:900;
  line-height:1;
}
.gg-clear{
  border:0;
  background:none;
  padding:8px 0 0;
  color:var(--muted);
  cursor:pointer;
  font-size:14px;
}

.gg-btn{
  border:1px solid rgba(0,0,0,.25);
  background:#efefef;
  color:#222;
  cursor:pointer;
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:13px;
}
.gg-btn--wide{width:100%; margin:14px 0 10px}
.gg-btn--pill{margin-top:14px; width:max-content}

.gg-search{
  position:relative;
  margin-bottom:6px;
}
.gg-search__icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  opacity:.65;
  font-size:14px;
}
.gg-input{
  width:100%;
  border:1px solid rgba(0,0,0,.25);
  background:#f3f3f3;
  border-radius:999px;
  padding:10px 14px;
  outline:none;
  font-size:13px;
}
.gg-input{padding-left:36px}
.gg-input--pill{padding-left:14px}

.gg-group{
  padding:18px 0;
  border-top:1px solid rgba(0,0,0,.12);
}
.gg-group__title{
  font-size:22px;
  font-weight:900;
  margin-bottom:2px;
}
.gg-note{
  font-size:12px;
  color:#333;
  opacity:.8;
  margin-bottom:10px;
}

.gg-check{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  margin:6px 0;
}
.gg-check input{
  width:12px;
  height:12px;
  accent-color: var(--gold);
}

/* Price */
.gg-price{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:8px;
}
.gg-price__field{
  position:relative;
  width:120px;
}
.gg-price__field .gg-input{
  padding-left:14px;
  padding-right:34px;
}
.gg-currency{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  color:#333;
  opacity:.7;
}
.gg-dash{font-weight:900; opacity:.55}

/* Sidebar image */
.gg-sideimg{
  margin-top:18px;
  border-radius:18px;
  overflow:hidden;
  background:#e7e2db;
}
.gg-sideimg img{width:100%}

/* Banner */
.gg-banner{
  border-radius:34px;
  overflow:hidden;
  background:#d9d2c8;
}
.gg-banner__img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}

/* Toolbar */
.gg-toolbar{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  margin:22px 0 18px;
}
.gg-view{justify-self:start;display:flex;gap:10px}
.gg-viewbtn{
  width:52px;height:34px;
  border-radius:8px;
  border:0;
  background:#d9d9d9;
  cursor:pointer;
  font-weight:800;
  color:#444;
}
.gg-viewbtn--active{color:var(--gold)}

.gg-sort{justify-self:center; text-align:center}
.gg-sort__label{
  font-size:13px;
  color:var(--gold);
  font-weight:800;
  margin-bottom:8px;
}
.gg-sort__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:280px;
  height:36px;
  border-radius:10px;
  background:#d9d9d9;
}
.gg-sort__text{font-weight:700; font-size:13px}

.gg-pager{justify-self:end;display:flex;align-items:center;gap:10px}
.gg-nav{
  width:34px;height:34px;
  border-radius:8px;
  border:0;
  background:#d9d9d9;
  cursor:pointer;
  font-weight:900;
  color:var(--gold);
}
.gg-pagebtn{
  min-width:44px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#e2e2e2;
  border:2px solid var(--gold);
  font-weight:900;
}
.gg-muted{color:var(--muted); font-size:13px}

/* Grid */
.gg-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:26px;
}

/* Product card */
.gg-card{
  background:var(--card);
  border-radius:28px;
  padding:18px;
}
.gg-card__media{display:block; text-decoration:none}
.gg-card__mediaInner{
  background:var(--cardInner);
  border-radius:22px;
  padding:16px;
  overflow:hidden;
}
.gg-card__mediaInner img{
  width:100%;
  border-radius:18px;
}
.gg-card__ph{
  height:220px;
  background:#eee;
  border-radius:18px;
}

.gg-card__body{padding:14px 6px 2px}
.gg-card__name{
  display:block;
  font-weight:900;
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  line-height:1.25;
  margin:6px 0 10px;
}
.gg-card__type{
  font-size:34px;
  font-weight:500;
  margin:2px 0 10px;
}
.gg-card__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.gg-card__price{font-weight:900; font-size:14px}

.gg-card__meta{
  display:flex;
  align-items:center;
  gap:10px;
}
.gg-cta{
  border:0;
  background:var(--gold);
  color:#fff;
  padding:7px 12px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
  font-size:12px;
}
.gg-rating{display:inline-flex; align-items:center; gap:8px; font-size:12px}
.gg-stars{color:#d2b15b; letter-spacing:1px}
.gg-score{font-weight:800; color:#333}

/* Responsive */
@media (max-width: 1200px){
  .gg-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .gg-title{font-size:48px}
}
@media (max-width: 920px){
  .gg-wrap{grid-template-columns:1fr}
  .gg-grid{grid-template-columns:1fr}
  .gg-toolbar{grid-template-columns:1fr;gap:14px}
  .gg-view,.gg-sort,.gg-pager{justify-self:start;text-align:left}
  .gg-sort__pill{width:100%}
}

/* 1) Wyrównanie banera do startu panelu filtrów */
.gg-right__offset{
  height: 128px; /* może wymagać +/- kilku px w zależności od fontów */
}

/* 2) Twarde kolory tekstów nagłówka po lewej */
.gg-crumb{ color: var(--gold) !important; }
.gg-title{ color: #111 !important; }
.gg-count{ color: #555 !important; }

.gg-page, .gg-page *{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial !important;
}

/* -------------------------
   HEADER
------------------------- */
.site-header{
  background:#000;
  color:#fff;
  height:78px;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.18); /* cienka linia jak na screenie */
}

.header-inner{
  width:100%;
  display:grid;
  grid-template-columns: 240px 1fr 76px; /* logo | menu | lupa */
  align-items:center;
}

/* Logo */
.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:#fff;
}
.brand__logo,
.brand .custom-logo{
  height:40px;
  width:auto;
  display:block;
}

/* Menu wycentrowane */
.nav{
  justify-self:center;
}
.nav__list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:88px;                 /* odległości jak na projekcie */
}
.nav__item{margin:0; padding:0}
.nav__link{
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-weight:500;
  letter-spacing:.01em;
  line-height:1;
  padding:8px 0;
  opacity:.95;
}
.nav__link:hover{opacity:.8}

/* Lupa po prawej */
.header-actions{
  justify-self:end;
  display:flex;
  align-items:center;
}
.icon-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  background:transparent;
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.icon-btn svg{display:block}
.icon-btn:hover{opacity:.9}

/* -------------------------
   FOOTER
------------------------- */
.footer{
  background:#000;
  color:#fff;
}

.footer__main{
  padding:90px 0 60px;
  display:grid;
  grid-template-columns: 1.1fr .9fr 1fr; /* logo | linki | social+btn */
  align-items:center;
  gap:40px;
}

/* Duże logo w stopce */
.footer__logo{
  font-weight:900;
  font-size:84px;
  line-height:1;
  letter-spacing:.02em;
  text-decoration:none;
  color:#fff;
  display:inline-flex;
  align-items:baseline;
}
.footer__logo span{ color:var(--gold); }

/* Linki w stopce */
.footer__nav{
  display:flex;
  flex-direction:column;
  gap:14px;
  font-size:22px;
  line-height:1.2;
}
.footer__nav a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
}
.footer__nav a:hover{opacity:.85}

/* Prawa strona: social + button */
.footer__right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
}

/* Social kółka */
.footer__social{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer__social a{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.95;
}
.footer__social a:hover{opacity:1}
.footer__social i{font-size:14px; line-height:1}

/* Button złoty */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:800;
  border-radius:999px;
  padding:12px 18px;
  line-height:1;
  border:0;
}
.btn--gold{
  background:var(--gold);
  color:#fff;
  min-width:250px; /* jak na screenie */
}

/* Dolny pasek */
.footer__bottom{
  background:var(--gold);
  color:#fff;
  text-align:center;
  padding:18px 0;
  font-weight:600;
}

/* -------------------------
   RESPONSIVE (mobile)
------------------------- */
@media (max-width: 980px){
  .header-inner{
    grid-template-columns: 1fr 76px;
  }
  .nav{display:none;} /* na mobile ukryte – później zrobimy hamburger */
  .site-header{height:74px}

  .footer__main{
    grid-template-columns: 1fr;
    gap:28px;
    padding:60px 0 40px;
  }
  .footer__right{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .footer__logo{font-size:56px}
  .btn--gold{min-width:220px}
}

.gg-banner__video{
  width:100%;
  height:260px;     /* jak było przy obrazku */
  object-fit:cover;
  display:block;
}

/* Pionowy baner pod filtrami – szerokość jak panel filtrów */
.gg-sidebanner{
  margin-top:18px;
  border-radius:18px;
  overflow:hidden;
  background:#e7e2db;
}

.gg-sidebanner__video{
  width:100%;
  height:520px;   /* pionowy format – podmień pod projekt */
  object-fit:cover;
  display:block;
}

/* ===== TOOLBAR: równo jak na projekcie ===== */
.gg-toolbar{
  display:grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  margin:22px 0 18px;
}

.gg-view{justify-self:start; display:flex; gap:10px; align-items:center}
.gg-sort{justify-self:center; text-align:center}
.gg-pager{justify-self:end; display:flex; align-items:center; gap:10px}

/* ===== PRODUCT CARD: stała wysokość, elementy zawsze równo ===== */
.gg-card{
  display:flex;
  flex-direction:column;
  min-height: 520px;          /* dopasuj: 500–560 pod Twoje fonty */
}

.gg-card__media{ display:block; }
.gg-card__body{
  display:flex;
  flex-direction:column;
  flex:1;
}

/* Tytuł: max 2 linie i stała wysokość */
.gg-card__name{
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: 34px;           /* 2 linie po ~17px */
}

/* „Profesjonalna” – zostaw miejsce */
.gg-card__type{
  min-height: 44px;           /* żeby nie skakało */
}

/* Dolny rząd (cena + CTA + rating) zawsze na dole */
.gg-card__row{
  margin-top:auto;
  padding-top:10px;
}

/* Cena zawsze w tym samym miejscu */
.gg-card__price{
  min-width: 120px;
}

/* CTA + rating niech się nie łamią */
.gg-card__meta{
  flex-wrap:nowrap;
  white-space:nowrap;
}

/* ===== GRID: równe kolumny ===== */
.gg-grid{
  align-items:stretch;
}

.gg-grid > *{
  height:100%;
}

.gg-card__mediaInner{
  height: 250px;     /* dopasuj pod projekt */
  display:flex;
  align-items:center;
  justify-content:center;
}
.gg-card__mediaInner img{
  height:100%;
  width:100%;
  object-fit:cover;  /* lub contain, jeśli nie chcesz kadrowania */
}

/* =========================================
   FILTERS UI – jak na screenie
========================================= */
:root{
  --gold:#b79b62;
  --panel:#d7d7d7;
  --stroke:rgba(0,0,0,.45);
  --text:#111;
  --muted:rgba(0,0,0,.6);
}

.filters-ui{
  background:var(--panel);
  border-radius:22px;
  padding:22px 22px 18px;
  color:var(--text);
}

/* Header */
.filters-ui__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.filters-ui__title{
  margin:0;
  font-size:44px;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
}
.filters-ui__clear{
  border:0;
  background:none;
  padding-top:10px;
  cursor:pointer;
  color:rgba(0,0,0,.55);
  font-size:14px;
}

/* Pill button */
.filters-ui__pill{
  width:100%;
  height:34px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#efefef;
  font-weight:600;
  cursor:pointer;
  margin-bottom:10px;
}

/* Search */
.filters-ui__search{
  position:relative;
  display:block;
  margin-bottom:16px;
}
.filters-ui__searchIcon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  opacity:.75;
}
.filters-ui__searchInput{
  width:100%;
  height:34px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#f5f5f5;
  padding:0 14px 0 36px;
  outline:none;
  font-size:13px;
}

/* Groups */
.filters-ui__group{
  padding:18px 0;
  border-top:1px solid rgba(0,0,0,.12);
}
.filters-ui__groupTitle{
  margin:0;
  font-size:26px;
  line-height:1.1;
  font-weight:900;
}
.filters-ui__hint{
  margin-top:2px;
  font-size:12px;
  color:rgba(0,0,0,.7);
}

/* Custom checkbox row */
.filters-ui__check{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:8px;
  font-size:13px;
}
.filters-ui__check input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.filters-ui__box{
  width:14px;
  height:14px;
  border-radius:3px;
  background:rgba(183,155,98,.75); /* złote kwadraty */
}
.filters-ui__label{
  color:rgba(0,0,0,.8);
}

/* Checked state (delikatnie ciemniejszy złoty) */
.filters-ui__check input:checked + .filters-ui__box{
  background:var(--gold);
}

/* Price */
.filters-ui__price{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}
.filters-ui__priceField{
  position:relative;
  width:130px;
}
.filters-ui__priceInput{
  width:100%;
  height:34px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#f5f5f5;
  padding:0 34px 0 14px;
  outline:none;
  font-size:13px;
}
.filters-ui__priceCurrency{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  color:rgba(0,0,0,.65);
}
.filters-ui__priceDash{
  font-weight:900;
  color:rgba(0,0,0,.55);
}

/* CTA */
.filters-ui__cta{
  margin-top:14px;
  height:32px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#efefef;
  padding:0 12px;
  font-size:12px;
  cursor:pointer;
}

/* =========================================================
   FILTERS UI FIX — wymuszenie jak na referencji (2. screen)
========================================================= */

.filters-ui{
  background:#d9d9d9 !important;
  border-radius:22px !important;
  padding:22px 22px 18px !important;
  color:#111 !important;
}

/* Header */
.filters-ui__title{
  color:#1a1a1a !important;
  font-size:44px !important;
  font-weight:900 !important;
  line-height:1 !important;
  margin:0 !important;
  text-shadow:none !important;
}
.filters-ui__clear{
  color:rgba(0,0,0,.55) !important;
  font-size:14px !important;
  font-weight:400 !important;
}

/* Pills + inputs */
.filters-ui__pill{
  background:#efefef !important;
  border:1px solid rgba(0,0,0,.45) !important;
  height:34px !important;
  border-radius:999px !important;
  font-weight:600 !important;
  color:#111 !important;
}

.filters-ui__searchInput{
  background:#f5f5f5 !important;
  border:1px solid rgba(0,0,0,.45) !important;
  height:34px !important;
  border-radius:999px !important;
  color:#111 !important;
}

.filters-ui__searchIcon{
  color:#111 !important;
  opacity:.75 !important;
}

/* Groups */
.filters-ui__group{
  border-top:1px solid rgba(0,0,0,.18) !important;
  padding:18px 0 !important;
}

.filters-ui__groupTitle{
  color:#1a1a1a !important;
  font-size:26px !important;
  font-weight:900 !important;
  margin:0 !important;
}

.filters-ui__hint{
  color:rgba(0,0,0,.65) !important;
  font-size:12px !important;
  margin-top:2px !important;
}

/* Checkbox rows */
.filters-ui__check{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-top:8px !important;
  font-size:14px !important;
  color:rgba(0,0,0,.85) !important;
}

/* Ukryj natywny checkbox, ale zostaw klikalność */
.filters-ui__check input{
  position:absolute !important;
  opacity:0 !important;
  inset:0 !important;
  cursor:pointer !important;
}

/* Złoty kwadrat */
.filters-ui__box{
  width:14px !important;
  height:14px !important;
  border-radius:3px !important;
  background:rgba(183,155,98,.75) !important; /* matowe jak na screenie */
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 14px !important;
}

/* Ptaszek po zaznaczeniu */
.filters-ui__check input:checked + .filters-ui__box{
  background:#b79b62 !important;
}
.filters-ui__check input:checked + .filters-ui__box::after{
  content:"✓" !important;
  color:#fff !important;
  font-size:12px !important;
  line-height:1 !important;
  transform:translateY(-1px) !important;
}

/* Tekst etykiety */
.filters-ui__label{
  color:rgba(0,0,0,.85) !important;
  font-weight:400 !important;
}

/* Price fields */
.filters-ui__priceInput{
  background:#f5f5f5 !important;
  border:1px solid rgba(0,0,0,.45) !important;
  height:34px !important;
  border-radius:999px !important;
  color:#111 !important;
}
.filters-ui__priceCurrency{
  color:rgba(0,0,0,.65) !important;
}
.filters-ui__priceDash{
  color:rgba(0,0,0,.75) !important;
  font-weight:900 !important;
}

/* CTA button */
.filters-ui__cta{
  background:#efefef !important;
  border:1px solid rgba(0,0,0,.45) !important;
  height:32px !important;
  border-radius:999px !important;
  color:#111 !important;
}

/* ===== SHOPBAR (nad produktami) ===== */
.shopbar{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items:center;
  margin:22px 0 18px;
}

.shopbar__left{justify-self:start; display:flex; align-items:center; gap:10px;}
.shopbar__center{justify-self:center; text-align:center;}
.shopbar__right{justify-self:end; display:flex; align-items:center; gap:10px;}

.shopbar__view{display:flex; gap:10px;}
.shopbar__viewbtn{
  width:44px; height:34px;
  border-radius:8px;
  background:#d9d9d9;
  color:#444;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}
.shopbar__viewbtn.is-active{ color: var(--gold); }

.shopbar__caret{
  display:inline-flex;
  width:22px;
  justify-content:center;
  color:#777;
  transform: translateY(-1px);
}

.shopbar__label{
  font-size:13px;
  color:var(--gold);
  font-weight:800;
  margin-bottom:8px;
}

.shopbar__sort{display:flex; justify-content:center;}
.shopbar__select{
  width:260px;
  height:36px;
  border:0;
  background:#d9d9d9;
  border-radius:10px;
  padding:0 14px;
  outline:none;
  text-align:center;
  font-weight:700;
  appearance:none;
}

.shopbar__nav{
  width:34px; height:34px;
  border-radius:8px;
  background:#d9d9d9;
  color:var(--gold);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.shopbar__nav.is-disabled{
  opacity:.45;
  pointer-events:none;
}

.shopbar__page{
  min-width:44px;
  height:34px;
  border-radius:8px;
  background:#e2e2e2;
  border:2px solid var(--gold);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color: #101010;
}

.shopbar__muted{color:rgba(0,0,0,.55); font-size:13px;}

/* grid (domyślnie) */
.product-grid.is-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:26px;
}

/* list (na przyszłość) */
.product-grid.is-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.shopbar__nav{
  border:0;
  cursor:pointer;
}
.shopbar__nav.is-disabled{
  cursor:default;
}

/* =========================================================
   GG CARD — FINAL (jak na 2 screenie)
========================================================= */

:root{
  --gg-card-bg:#d9d9d9;
  --gg-panel:#eeeeee;          /* jasny panel pod obraz */
  --gg-text:#111;
  --gg-gold: var(--gold, #b79b62);

  --gg-radius:28px;
  --gg-radius-panel:22px;
  --gg-radius-img:18px;
}

/* grid (jeśli chcesz równo 3 w rzędzie) */
.product-grid.is-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* karta */
.gg-card{
  background: var(--gg-card-bg) !important;
  border-radius: var(--gg-radius) !important;
  overflow: hidden !important;
  padding: 18px !important;                 /* na 2 screenie jest większy padding */
  display:flex !important;
  flex-direction: column !important;

  /* żeby każda była równa */
  height: 560px !important;
}

/* ===== MEDIA (panel inset jak na 2 screenie) ===== */
.gg-card__media{
  display:block;
  text-decoration:none;
}

.gg-card__mediaInner{
  background: var(--gg-panel) !important;
  border-radius: var(--gg-radius-panel) !important;
  padding: 16px !important;

  height: 300px !important;                /* duża grafika jak na 2 screenie */
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.gg-card__img,
.gg-card__mediaInner img{
  width:100% !important;
  height:100% !important;
  object-fit: cover !important;
  border-radius: var(--gg-radius-img) !important;
  display:block !important;
}

.gg-card__ph{
  width:100%;
  height:100%;
  border-radius: var(--gg-radius-img);
  background: rgba(0,0,0,.06);
}

/* ===== BODY ===== */
.gg-card__body{
  padding: 18px 10px 6px !important;
  display:flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

/* tytuł 2 linie, stała wysokość */
.gg-card__name{
  color: var(--gg-text) !important;
  text-decoration:none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;

  display:-webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow:hidden !important;

  min-height: 40px !important;
}

/* "Profesjonalna" jak w referencji */
.gg-card__type{
  color: var(--gg-text) !important;
  font-size: 44px !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  margin-top: 14px !important;

  /* rezerwacja miejsca żeby dół był równo */
  min-height: 48px !important;
}

/* ===== dół: dociskamy na dół karty ===== */
.gg-card__bottom{
  margin-top: auto !important;
  display:flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-top: 14px !important;
}

/* cena bez łamań */
.gg-card__price,
.gg-card__price *{
  color: var(--gg-text) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* rząd: button lewo, rating prawo */
.gg-card__bottomRow{
  display:flex !important;
  align-items:center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

/* button */
.gg-cta{
  background: var(--gg-gold) !important;
  color:#fff !important;
  border:0 !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor:pointer !important;
  white-space: nowrap !important;
}

/* rating */
.gg-rating{
  display:flex !important;
  align-items:center !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

.gg-stars{
  color: var(--gg-gold) !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
}

.gg-score{
  color: var(--gg-text) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* =========================================================
   KOREKTY KART PRODUKTU – FINAL
========================================================= */

/* 1. USUŃ „białe obramowanie” / panel wokół obrazka */
.gg-card__mediaInner{
  background: transparent !important;
  padding: 0 !important;
}

/* obrazek ma być bez dodatkowej ramki */
.gg-card__img,
.gg-card__mediaInner img{
  border-radius: 18px !important;
}

/* 2. ZMNIEJSZ „Profesjonalna” */
.gg-card__type{
  font-size: 28px !important;     /* było ~44 */
  font-weight: 500 !important;
  line-height: 1.1 !important;
  margin-top: 10px !important;
  min-height: 32px !important;
}

/* 3. ZMNIEJSZ RATING */
.gg-score{
  font-size: 14px !important;     /* było ~18 */
  font-weight: 700 !important;
}

.gg-stars{
  font-size: 12px !important;     /* było ~14 */
  letter-spacing: 0.5px !important;
}

/* delikatne wyrównanie do linii przycisku */
.gg-rating{
  align-items: center !important;
  gap: 6px !important;
}

.gg-crumb__link{
  color:#c7a86a;
  text-decoration:none;
}
.gg-crumb__link:hover{ text-decoration:underline; }
.gg-crumb__sep{ margin:0 6px; color:#c7a86a; opacity:.7; }

.gg-cats__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.gg-cat{
  display:block;
  text-decoration:none;
  background:#d9d9d9;
  border-radius:28px;
  padding:18px;
  color:#111;
}

.gg-cat__top{
  display:flex;
  align-items:center;
  gap:14px;
}

.gg-cat__thumb,
.gg-cat__thumbPh{
  width:64px;
  height:64px;
  border-radius:16px;
  background:#eee;
  object-fit:cover;
}

.gg-cat__title{
  font-weight:800;
  font-size:18px;
}

.gg-cat__samples{
  margin-top:14px;
  display:flex;
  gap:10px;
}

.gg-cat__sample{
  width:72px;
  height:72px;
  border-radius:18px;
  overflow:hidden;
  background:#eee;
}

.gg-cat__sample img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.gg-cat:hover{
  transform: translateY(-1px);
}

/* === SINGLE PRODUCT (GG) === */
.gg-single { max-width: 1240px; margin: 0 auto; padding: 40px 24px 90px; }

.gg-singleHero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }

.gg-gallery { width: 100%; }
.gg-gallery__main { position: relative; border-radius: 42px; overflow: hidden; background: #e0dfdc; }
.gg-gallery__img { width: 100%; height: auto; display: block; }
.gg-gallery__ph { width: 100%; aspect-ratio: 1 / 1; background: #ddd; }

.gg-gallery__zoom {
  position: absolute; top: 0; right: 0;
  width: 88px; height: 88px;
  border: 0;
  border-bottom-left-radius: 42px;
  background: #b79a63;
  color: #fff;
  font-size: 30px;
  display: grid; place-items: center;
  cursor: pointer;
}

.gg-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gg-gallery__thumb { border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 18px; overflow: hidden; }
.gg-gallery__thumb img { width: 100%; height: 110px; object-fit: cover; display: block; border-radius: 18px; }
.gg-gallery__line { height: 4px; background: #b79a63; border-radius: 4px; margin-top: 12px; width: 70%; }

.gg-breadcrumb { font-size: 14px; color: #a89066; letter-spacing: .02em; }
.gg-breadcrumb a { color: #a89066; text-decoration: none; border-bottom: 1px solid rgba(168,144,102,.35); }
.gg-breadcrumb span { margin: 0 6px; color: rgba(0,0,0,.35); }

.gg-singleTitle { margin: 14px 0 10px; font-size: 46px; line-height: 1.05; font-weight: 800; color: #121212; }

.gg-stock { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; margin: 10px 0 18px; }
.gg-stock__dot { width: 12px; height: 12px; border-radius: 999px; background: #20c463; }
.gg-stock.is-no .gg-stock__dot { background: #d21f1f; }

.gg-singleLead { font-size: 20px; line-height: 1.35; color: #2b2b2b; max-width: 560px; }

.gg-singleBuy { margin-top: 26px; display: grid; gap: 14px; }
.gg-singlePrice { font-size: 44px; font-weight: 800; color: #121212; }
.gg-singlePrice .woocommerce-Price-amount { font-weight: 800; }

.gg-singleActions { display: flex; gap: 18px; align-items: center; justify-content: space-between; max-width: 520px; }
.gg-cta.gg-cta--gold {
  background: #b79a63; color: #fff;
  border: 0;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.gg-singleRating { display: flex; gap: 10px; align-items: center; }
.gg-singleRating .gg-stars { color: #f1c232; letter-spacing: 2px; }
.gg-singleRating .gg-score { font-weight: 800; color: #2b2b2b; }

/* Sections */
.gg-section { padding: 70px 0; }
.gg-h2 { font-size: 56px; line-height: 1.05; font-weight: 900; margin: 0 0 18px; color: #161616; }
.gg-gold { color: #b79a63; }
.gg-center { text-align: center; }
.gg-mt { margin-top: 46px; }

.gg-prose { font-size: 20px; line-height: 1.45; color: #2b2b2b; }
.gg-prose p { margin: 0 0 16px; }
.gg-prose ul { margin: 0 0 18px 22px; }
.gg-prose li { margin: 0 0 10px; }

.gg-twoCol { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.gg-sideImg { width: 100%; border-radius: 46px; display: block; }

.gg-twoText { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

/* Warranty */
.gg-warranty__grid { margin-top: 30px; max-width: 620px; margin-left: auto; margin-right: auto; display: grid; gap: 18px; }
.gg-warranty__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gg-warranty__cell { border: 2px solid rgba(0,0,0,.45); border-radius: 0; padding: 16px 18px; font-size: 38px; font-weight: 800; text-align: center; color: #111; }

/* Bestseller grid */
.gg-bestseller__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 34px; }

/* Responsive */
@media (max-width: 1024px) {
  .gg-singleHero { grid-template-columns: 1fr; gap: 32px; }
  .gg-twoCol { grid-template-columns: 1fr; }
  .gg-twoText { grid-template-columns: 1fr; }
  .gg-h2 { font-size: 44px; }
  .gg-singleTitle { font-size: 38px; }
  .gg-singlePrice { font-size: 36px; }
  .gg-bestseller__grid { grid-template-columns: 1fr; }
}

/* =========================
   SINGLE PRODUCT (GG)
========================= */

.gg-single { background: transparent; }
.gg-single__wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

/* HERO */
.gg-hero{
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 10px;
}

.gg-hero__left{ position: relative; }
.gg-hero__media{
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  background: #e0e0e0;
}

.gg-hero__img{
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.gg-hero__mainimg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gg-hero__ph{
  width: 100%;
  height: 100%;
  background: #d7d7d7;
}

.gg-hero__zoom{
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  border-bottom-left-radius: 34px;
  background: #b69b61;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 2;
}
.gg-hero__zoom span{
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.gg-hero__thumbs{
  display: flex;
  gap: 22px;
  margin-top: 18px;
}
.gg-hero__thumb{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 140px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  opacity: .55;
  filter: grayscale(.1);
  transition: opacity .15s ease, transform .15s ease;
}
.gg-hero__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gg-hero__thumb.is-active{
  opacity: 1;
  transform: translateY(-1px);
}

.gg-hero__thumbline{
  height: 6px;
  width: 100%;
  max-width: 520px;
  background: #b69b61;
  border-radius: 999px;
  margin-top: 16px;
  opacity: .65;
}

/* Right */
.gg-hero__right{
  padding-top: 6px;
}

.gg-crumb{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b69b61;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}
.gg-crumb a{
  color: inherit;
  text-decoration: none;
}
.gg-crumb a:hover{ text-decoration: underline; }

.gg-hero__title{
  font-size: 44px;
  line-height: 1.08;
  margin: 0 0 14px;
  font-weight: 800;
  color: #111;
  max-width: 680px;
}

.gg-hero__stock{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #111;
}
.gg-hero__dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #19b34a;
}
.gg-hero__stock.is-bad .gg-hero__dot{ background:#c0392b; }

.gg-hero__desc{
  max-width: 620px;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.gg-hero__buyrow{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gg-hero__price{
  font-size: 40px;
  font-weight: 900;
  color: #111;
  letter-spacing: .01em;
  margin-right: 10px;
}
.gg-hero__price .amount{ font-weight: 900; }

.gg-hero__cta{
  border: 0;
  background: #b69b61;
  color: #fff;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.gg-hero__cta:hover{ filter: brightness(.97); }

.gg-hero__rating{
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
}
.gg-hero__stars{
  color: #f5c542;
  letter-spacing: 4px;
  font-size: 16px;
}
.gg-hero__score{
  font-weight: 800;
  font-size: 18px;
}

/* SECTIONS */
.gg-sections{
  margin-top: 34px;
  padding-top: 18px;
}

.gg-sec{
  margin: 0 0 44px;
}

.gg-sec__title{
  font-size: 56px;
  line-height: 1.02;
  margin: 0 0 18px;
  font-weight: 900;
  color: #111;
}

.gg-sec__content{
  max-width: 720px;
  color: #1a1a1a;
  font-size: 18px;
  line-height: 1.62;
}
.gg-sec__content p{ margin: 0 0 14px; }
.gg-sec__content ul{
  margin: 0;
  padding-left: 18px;
}
.gg-sec__content li{
  margin: 0 0 10px;
}

/* Lepsza typografia dla “Specyfikacja techniczna” jeśli robisz listę/linijki */
.gg-sec__content strong{ font-weight: 900; }

/* Responsive */
@media (max-width: 1080px){
  .gg-hero{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gg-hero__rating{ margin-left: 0; }
  .gg-sec__title{ font-size: 44px; }
  .gg-hero__title{ font-size: 36px; }
  .gg-hero__price{ font-size: 34px; }
}

/* =========================
   FIX: single product text colors
   (dodaj NA KOŃCU main.css)
========================= */

.gg-single,
.gg-single *{
  color: #111; /* bazowo ciemny */
}

.gg-hero__desc,
.gg-hero__desc p,
.gg-hero__desc li,
.gg-hero__desc strong,
.gg-sec__content,
.gg-sec__content p,
.gg-sec__content li,
.gg-sec__content strong{
  color: #1a1a1a !important;
}

/* Breadcrumbs zostawiamy złote */
.gg-crumb,
.gg-crumb span,
.gg-crumb a{
  color: #b69b61 !important;
}

/* “Dostępny na magazynie!” */
.gg-hero__stock{
  color: #111 !important;
}
.gg-hero__stock.is-ok{ color: #111 !important; }
.gg-hero__stock.is-bad{ color: #111 !important; }

/* Kropka zostaje zielona/czerwona */
.gg-hero__dot{ background:#19b34a !important; }
.gg-hero__stock.is-bad .gg-hero__dot{ background:#c0392b !important; }

/* Ocena: gwiazdki złote, liczba ciemna */
.gg-hero__stars{ color:#f5c542 !important; }
.gg-hero__score{ color:#111 !important; }

/* Nie ruszaj CTA (ma zostać białe na złotym) */
.gg-hero__cta{
  color:#fff !important;
}

/* ====== HERO teksty (żeby nie były białe) ====== */
.gg-hero__desc,
.gg-hero__desc p,
.gg-hero__desc li,
.gg-hero__desc span {
  color: #1f1f1f;
}

/* Stock label */
.gg-hero__stock {
  color: #1f1f1f;
  font-weight: 600;
}
.gg-hero__stock.is-ok { color: #1f1f1f; } /* tekst czarny jak na projekcie */
.gg-hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 10px;
  background: #16a34a; /* zielona kropka */
}

/* ====== Lightbox ====== */
.gg-no-scroll { overflow: hidden; }

.gg-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.gg-lightbox.is-open{ display: block; }

.gg-lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.gg-lightbox__dialog{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  background: #0c0c0c;
  border-radius: 22px;
  padding: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 80px rgba(0,0,0,.45);
}

.gg-lightbox__img{
  width: 100%;
  height: auto;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border-radius: 14px;
}

.gg-lightbox__close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

/* ===== Fix: białe teksty w opisach (prose) ===== */
.gg-prose,
.gg-prose p,
.gg-prose li,
.gg-prose span,
.gg-prose strong,
.gg-prose em {
  color: #1f1f1f;
}

/* ===== Fix: "Dostępny na magazynie!" ===== */
.gg-stock,
.gg-stock span {
  color: #1f1f1f;
  font-weight: 600;
}
.gg-stock__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 10px;
  background: #16a34a;
}

/* ===== Galeria: aktywna miniatura ===== */
.gg-gallery__thumb.is-active{
  outline: 2px solid rgba(177, 149, 84, .9);
  border-radius: 12px;
}

/* Klikalne duże zdjęcie */
.gg-gallery__mainBtn{
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
}

/* ===== Lightbox ===== */
.gg-no-scroll { overflow: hidden; }

.gg-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.gg-lightbox.is-open{ display: block; }

.gg-lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.gg-lightbox__dialog{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  background: #0c0c0c;
  border-radius: 22px;
  padding: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 80px rgba(0,0,0,.45);
}

.gg-lightbox__img{
  width: 100%;
  height: auto;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border-radius: 14px;
}

.gg-lightbox__close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.gg-leftDesc{
  margin-top: 22px;
  max-width: 520px; /* dopasuj do szerokości galerii */
}

.gg-prose--left{
  font-size: 16px;
  line-height: 1.65;
  color: #1f1f1f;
}

.gg-prose--left p{
  margin: 0 0 14px;
}

/* żeby myślniki wyglądały czytelniej nawet bez list */
.gg-prose--left p{
  white-space: pre-line; /* zachowuje łamania linii */
}

/* =========================
   SINGLE: GALLERY (HERO LEFT)
   ========================= */

/* Zmniejszenie wysokości dużego zdjęcia */
.gg-gallery__main {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
}

.gg-gallery__mainBtn {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}

/* Klucz: kontrola wysokości */
.gg-gallery__img {
  width: 100%;
  height: 520px;          /* <- TU ustaw wysokość (np. 480 / 520) */
  object-fit: cover;
  display: block;
  border-radius: 42px;
}

/* Lupa */
.gg-gallery__zoom {
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 86px;
  border: 0;
  background: #b79a5c;
  color: #fff;
  border-bottom-left-radius: 42px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gg-gallery__zoom span {
  font-size: 28px;
  line-height: 1;
}

/* Miniatury */
.gg-gallery__thumbs {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gg-gallery__thumb {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  opacity: .55;
  transition: opacity .15s ease, transform .15s ease;
}

.gg-gallery__thumb img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
}

.gg-gallery__thumb.is-active {
  opacity: 1;
  transform: translateY(-1px);
}

.gg-gallery__line {
  margin-top: 14px;
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: #d4c08a;
  opacity: .9;
}

/* =========================
   SINGLE: OPIS POD ZDJĘCIAMI
   ========================= */

.gg-leftDesc {
  margin-top: 34px;
}

.gg-leftDesc__title {
  font-size: 54px;       /* jak na screenach “Opis” */
  line-height: 1;
  margin: 0 0 18px;
  color: #111;
  font-weight: 800;
}

.gg-prose--left {
  color: #1f1f1f;        /* pewne ciemne */
  font-size: 18px;
  line-height: 1.6;
}

.gg-prose--left p {
  margin: 0 0 16px;
}

/* jeśli masz listy */
.gg-prose--left ul,
.gg-prose--left ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

/* =========================
   LIGHTBOX
   ========================= */

.gg-no-scroll {
  overflow: hidden;
}

.gg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.gg-lightbox.is-open {
  display: block;
}

.gg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}

.gg-lightbox__dialog {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  margin: 40px auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.gg-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.75);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.gg-lightbox__img {
  width: 100%;
  height: auto;
  display: block;
}

/* RESPONSYWNE */
@media (max-width: 1024px) {
  .gg-gallery__img { height: 420px; border-radius: 28px; }
  .gg-gallery__main { border-radius: 28px; }
  .gg-gallery__zoom { width: 72px; height: 72px; border-bottom-left-radius: 28px; }
  .gg-leftDesc__title { font-size: 42px; }
}

@media (max-width: 640px) {
  .gg-gallery__img { height: 320px; }
  .gg-gallery__thumb img { height: 78px; }
  .gg-leftDesc__title { font-size: 36px; }
}

/* Opis produktu pod galerią */
.gg-prose--left p {
  margin-bottom: 14px;
  line-height: 1.6;
}

.gg-prose--left ul {
  margin: 12px 0 18px;
  padding-left: 18px;
}

.gg-prose--left li {
  margin-bottom: 8px;
  list-style: disc;
}

/* Lepsza czytelność długiego opisu */
.gg-leftDesc {
  margin-top: 32px;
  max-width: 560px; /* jak na screenach */
}

/* Tytuł "Opis" */
.gg-leftDesc__title {
  margin-bottom: 14px;
}

/* blokada scrolla pod modalem */
.gg-no-scroll { overflow: hidden; }

/* LIGHTBOX – naprawa rozmiaru i overflow */
.gg-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.gg-lightbox.is-open { display: block; }

.gg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.gg-lightbox__dialog {
  position: absolute;
  inset: 24px;
  margin: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;

  max-width: min(1200px, 92vw);
  max-height: 92vh;
}

.gg-lightbox__stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 22px;
}

.gg-lightbox__img {
  max-width: 100%;
  max-height: calc(92vh - 80px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.gg-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.65);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

/* strzałki */
.gg-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  font-size: 26px;
  line-height: 44px;
}

.gg-lightbox__nav--prev { left: 14px; }
.gg-lightbox__nav--next { right: 14px; }

.gg-lightbox__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-weight: 600;
  opacity: .75;
  z-index: 2;
}

/* mobile: mniejsze marginesy */
@media (max-width: 640px) {
  .gg-lightbox__dialog { inset: 12px; border-radius: 14px; }
  .gg-lightbox__stage { padding: 14px; }
  .gg-lightbox__img { max-height: calc(92vh - 70px); }
}

/* LIGHTBOX – twarde centrowanie i poprawne rozmiary */
.gg-lightbox{
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gg-lightbox.is-open{
  display: flex !important;
}

.gg-lightbox__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,.55) !important;
}

.gg-lightbox__dialog{
  position: relative !important;
  width: min(1200px, 92vw) !important;
  height: min(820px, 92vh) !important;
  max-height: 92vh !important;

  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.35) !important;

  overflow: hidden !important;
  z-index: 2 !important;

  display: flex;
  align-items: center;
  justify-content: center;
}

.gg-lightbox__stage{
  width: 100%;
  height: 100%;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gg-lightbox__img{
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}

.gg-lightbox__close{
  position: absolute !important;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.65);
  color: #fff;
  cursor: pointer;
  z-index: 3;
}

.gg-lightbox__nav{
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  font-size: 26px;
  line-height: 44px;
}

.gg-lightbox__nav--prev{ left: 14px; }
.gg-lightbox__nav--next{ right: 14px; }

.gg-lightbox__meta{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-weight: 600;
  opacity: .75;
  z-index: 3;
}

@media (max-width: 640px){
  .gg-lightbox{ padding: 12px; }
  .gg-lightbox__dialog{
    width: 96vw !important;
    height: 92vh !important;
    border-radius: 14px !important;
  }
  .gg-lightbox__stage{ padding: 14px; }
}

.gg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.gg-lightbox.is-open {
  display: block;
}

.gg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}

.gg-lightbox__dialog {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gg-lightbox__stage img {
  max-width: 90vw;
  max-height: 85vh;
  user-select: none;
  cursor: grab;
}

.gg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.gg-lightbox.is-open { display: block; }

.gg-lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}

/* KLUCZ: dialog też fixed + centrowanie na viewport */
.gg-lightbox__dialog{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gg-lightbox__stage{
  max-width: 92vw;
  max-height: 86vh;
}

.gg-lightbox__stage img{
  max-width: 92vw;
  max-height: 86vh;
  display: block;
  user-select: none;
  cursor: grab;
}

/* ===== GG LIGHTBOX FIX: zawsze na środku ===== */
html.gg-no-scroll,
body.gg-no-scroll{
  overflow: hidden !important;
}

.gg-lightbox{
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none;
}

.gg-lightbox.is-open{
  display: block !important;
}

.gg-lightbox__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,.75) !important;
}

/* full-screen flex = CENTROWANIE */
.gg-lightbox__dialog{
  position: fixed !important;
  inset: 0 !important;
  margin: 0 !important;
  padding: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* biała karta / scena */
.gg-lightbox__stage{
  width: min(92vw, 1200px) !important;
  height: min(86vh, 760px) !important;
  background: #fff !important;
  border-radius: 18px !important;
  overflow: hidden !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative !important;
}

/* obraz zawsze wyśrodkowany */
.gg-lightbox__img{
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  user-select: none;
  cursor: grab;
}

/* X */
.gg-lightbox__close{
  position: fixed !important;
  top: 18px !important;
  right: 18px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer !important;
  z-index: 1000000 !important;
}

/* strzałki */
.gg-lightbox__nav{
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer !important;
  z-index: 1000000 !important;
}

.gg-lightbox__nav--prev{ left: 18px !important; }
.gg-lightbox__nav--next{ right: 18px !important; }

/* licznik */
.gg-lightbox__meta{
  position: fixed !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  z-index: 1000000 !important;
}

html.gg-no-scroll,
body.gg-no-scroll{
  overflow: hidden !important;
}

/* overlay jako GRID centrowany */
.gg-lightbox{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: none !important;
  place-items: center !important; /* GRID centrowanie */
}

.gg-lightbox.is-open{
  display: grid !important; /* <- ważne */
}

.gg-lightbox__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,.75) !important;
}

/* dialog bez fixed inset (bo grid już centruje) */
.gg-lightbox__dialog{
  position: relative !important;
  width: min(92vw, 1200px) !important;
  height: min(86vh, 760px) !important;
  background: #fff !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.35) !important;
  z-index: 2 !important;
}

/* stage na full, img centrowany */
.gg-lightbox__stage{
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gg-lightbox__img{
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  user-select: none;
  cursor: grab;
}

/* X */
.gg-lightbox__close{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer !important;
  z-index: 5 !important;
}

/* strzałki */
.gg-lightbox__nav{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer !important;
  z-index: 5 !important;
}

.gg-lightbox__nav--prev{ left: 12px !important; }
.gg-lightbox__nav--next{ right: 12px !important; }

/* licznik */
.gg-lightbox__meta{
  position: absolute !important;
  left: 50% !important;
  bottom: 10px !important;
  transform: translateX(-50%) !important;
  color: rgba(255,255,255,.95) !important;
  font-weight: 600 !important;
  background: rgba(0,0,0,.35) !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  z-index: 5 !important;
}

/* ===========================
   GG LIGHTBOX — WHITE/BLACK/GOLD + CLOSED BY DEFAULT
   =========================== */

/* iOS-safe scroll lock */
body.gg-scroll-lock{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* CLOSED by default */
.gg-lightbox{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;

  /* NAJWAŻNIEJSZE: domyślnie zamknięty */
  display: none !important;

  /* pancerne centrowanie (aktywuje się dopiero w .is-open) */
  place-items: center !important;

  /* anty-bug fixed + transform */
  transform: none !important;
  filter: none !important;
  perspective: none !important;

  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
}

/* OPEN state */
.gg-lightbox.is-open{
  display: grid !important;
  place-items: center !important;
}

.gg-lightbox__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.82) !important; /* czarne tło */
}

/* dialog: biały panel, czarne detale, złote akcenty */
.gg-lightbox__dialog{
  position: relative !important;
  z-index: 2 !important;

  width: min(1100px, 94vw) !important;
  height: min(78vh, 760px) !important;

  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  grid-template-rows: auto 1fr auto !important;
  align-items: center !important;

  background: #fff !important;          /* białe tło */
  border: 2px solid #111 !important;     /* czarna ramka */
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;

  padding: 12px !important;

  transform: none !important;
}

.gg-lightbox__stage{
  grid-column: 2 !important;
  grid-row: 2 !important;

  width: 100% !important;
  height: 100% !important;

  display: grid !important;
  place-items: center !important;

  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.gg-lightbox__img{
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;

  user-select: none !important;
  -webkit-user-drag: none !important;

  cursor: grab !important;
  will-change: transform !important;
  touch-action: pan-y !important;
}

.gg-lightbox__img.is-grabbing{ cursor: grabbing !important; }

/* counter: czarny tekst + złoty akcent */
.gg-lightbox__meta{
  grid-column: 2 !important;
  grid-row: 3 !important;
  justify-self: center !important;

  font-size: 14px !important;
  color: #111 !important;
  padding: 10px 12px !important;
  border-radius: 999px !important;

  background: #fff !important;
  border: 2px solid #d4af37 !important; /* złoto */
}

/* close: czarny na białym + złoto na hover */
.gg-lightbox__close{
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 3 !important;

  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.gg-lightbox__close:hover{
  border-color: #d4af37 !important;
  color: #d4af37 !important;
}

/* nav: czarne przyciski + złote akcenty */
.gg-lightbox__nav{
  grid-row: 2 !important;
  z-index: 3 !important;

  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  font-size: 36px !important;
  line-height: 1 !important;

  display: grid !important;
  place-items: center !important;

  cursor: pointer !important;
}

.gg-lightbox__nav:hover{
  border-color: #d4af37 !important;
  color: #d4af37 !important;
}

.gg-lightbox__nav:disabled{
  opacity: .35 !important;
  cursor: default !important;
}

.gg-lightbox__nav--prev{ grid-column: 1 !important; }
.gg-lightbox__nav--next{ grid-column: 3 !important; }

/* mobile */
@media (max-width: 768px){
  .gg-lightbox__dialog{
    width: 96vw !important;
    height: 76vh !important;
    border-radius: 14px !important;
  }
  .gg-lightbox__nav{
    width: 42px !important;
    height: 42px !important;
    font-size: 34px !important;
  }
  .gg-lightbox__close{
    width: 38px !important;
    height: 38px !important;
  }
}

/* Licznik X / N zawsze na środku na dole */
.gg-lightbox__dialog{
  position: relative !important; /* ważne dla absolute licznika */
}

.gg-lightbox__meta{
  position: absolute !important;
  left: 50% !important;
  bottom: 14px !important;
  transform: translateX(-50%) !important;

  /* odcinamy wpływ grida, jeśli wcześniej był w grid-row/column */
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;

  z-index: 4 !important;
  margin: 0 !important;
}

/* ===========================
   HEADER SEARCH OVERLAY (GG)
   =========================== */

body.gg-scroll-lock{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.gg-search{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: none !important;

  /* pancerne centrowanie */
  place-items: center !important;

  transform: none !important;
  filter: none !important;
  perspective: none !important;

  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
}

.gg-search.is-open{
  display: grid !important;
  place-items: center !important;
}

.gg-search__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.78) !important;
}

.gg-search__panel{
  position: relative !important;
  z-index: 2 !important;

  width: min(720px, 94vw) !important;
  border-radius: 16px !important;

  background: #fff !important;
  border: 2px solid #111 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;

  padding: 22px !important;
}

.gg-search__title{
  margin: 0 0 14px 0 !important;
  font-size: 20px !important;
  letter-spacing: 0.02em !important;
  color: #111 !important;
}

.gg-search__form{
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
}

.gg-search__input{
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  padding: 0 14px !important;
  outline: none !important;
}

.gg-search__input:focus{
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18) !important;
}

.gg-search__submit{
  height: 48px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;

  border: 2px solid #111 !important;
  background: #111 !important;
  color: #fff !important;

  cursor: pointer !important;
  font-weight: 700 !important;
}

.gg-search__submit:hover{
  border-color: #d4af37 !important;
  background: #d4af37 !important;
  color: #111 !important;
}

.gg-search__close{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;

  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  cursor: pointer !important;
  line-height: 1 !important;
}

.gg-search__close:hover{
  border-color: #d4af37 !important;
  color: #d4af37 !important;
}

.gg-search__hint{
  margin: 12px 0 0 0 !important;
  color: rgba(0,0,0,0.65) !important;
  font-size: 13px !important;
}

@media (max-width: 640px){
  .gg-search__form{
    grid-template-columns: 1fr !important;
  }
  .gg-search__submit{
    width: 100% !important;
  }
}

/* ===========================
   HEADER SEARCH OVERLAY (GG)
   =========================== */

body.gg-scroll-lock{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.gg-search{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: none !important;

  place-items: center !important;

  transform: none !important;
  filter: none !important;
  perspective: none !important;

  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
}

.gg-search.is-open{
  display: grid !important;
}

.gg-search__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.78) !important;
}

.gg-search__panel{
  position: relative !important;
  z-index: 2 !important;

  width: min(720px, 94vw) !important;
  border-radius: 16px !important;

  background: #fff !important;
  border: 2px solid #111 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;

  padding: 22px !important;
}

.gg-search__title{
  margin: 0 0 14px 0 !important;
  font-size: 20px !important;
  letter-spacing: 0.02em !important;
  color: #111 !important;
}

.gg-search__form{
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
}

.gg-search__input{
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  padding: 0 14px !important;
  outline: none !important;
}

.gg-search__input:focus{
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18) !important;
}

.gg-search__submit{
  height: 48px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;

  border: 2px solid #111 !important;
  background: #111 !important;
  color: #fff !important;

  cursor: pointer !important;
  font-weight: 700 !important;
}

.gg-search__submit:hover{
  border-color: #d4af37 !important;
  background: #d4af37 !important;
  color: #111 !important;
}

.gg-search__close{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;

  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  cursor: pointer !important;
  line-height: 1 !important;
}

.gg-search__close:hover{
  border-color: #d4af37 !important;
  color: #d4af37 !important;
}

.gg-search__hint{
  margin: 12px 0 0 0 !important;
  color: rgba(0,0,0,0.65) !important;
  font-size: 13px !important;
}

@media (max-width: 640px){
  .gg-search__form{
    grid-template-columns: 1fr !important;
  }
  .gg-search__submit{
    width: 100% !important;
  }
}

/* ===========================
   HEADER SEARCH OVERLAY (GG)
   =========================== */

body.gg-scroll-lock{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.gg-search{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: none !important;

  place-items: center !important;

  transform: none !important;
  filter: none !important;
  perspective: none !important;

  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
}

.gg-search.is-open{
  display: grid !important;
}

.gg-search__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.78) !important;
}

.gg-search__panel{
  position: relative !important;
  z-index: 2 !important;

  width: min(720px, 94vw) !important;
  border-radius: 16px !important;

  background: #fff !important;
  border: 2px solid #111 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;

  padding: 22px !important;
}

.gg-search__title{
  margin: 0 0 14px 0 !important;
  font-size: 20px !important;
  letter-spacing: 0.02em !important;
  color: #111 !important;
}

.gg-search__form{
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
}

.gg-search__input{
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  padding: 0 14px !important;
  outline: none !important;
}

.gg-search__input:focus{
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18) !important;
}

.gg-search__submit{
  height: 48px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;

  border: 2px solid #111 !important;
  background: #111 !important;
  color: #fff !important;

  cursor: pointer !important;
  font-weight: 700 !important;
}

.gg-search__submit:hover{
  border-color: #d4af37 !important;
  background: #d4af37 !important;
  color: #111 !important;
}

.gg-search__close{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;

  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;

  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;

  cursor: pointer !important;
  line-height: 1 !important;
}

.gg-search__close:hover{
  border-color: #d4af37 !important;
  color: #d4af37 !important;
}

.gg-search__hint{
  margin: 12px 0 0 0 !important;
  color: rgba(0,0,0,0.65) !important;
  font-size: 13px !important;
}

@media (max-width: 640px){
  .gg-search__form{
    grid-template-columns: 1fr !important;
  }
  .gg-search__submit{
    width: 100% !important;
  }
}

body.gg-scroll-lock{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.gg-search{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: none !important;
  place-items: center !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
}
.gg-search.is-open{ display: grid !important; }

.gg-search__backdrop{
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.78) !important;
}

.gg-search__panel{
  position: relative !important;
  z-index: 2 !important;
  width: min(720px, 94vw) !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 2px solid #111 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;
  padding: 22px !important;
}

.gg-search__title{
  margin: 0 0 14px 0 !important;
  font-size: 20px !important;
  letter-spacing: 0.02em !important;
  color: #111 !important;
}

.gg-search__form{
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
}

.gg-search__input{
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;
  padding: 0 14px !important;
  outline: none !important;
}
.gg-search__input:focus{
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18) !important;
}

.gg-search__submit{
  height: 48px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  border: 2px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
  cursor: pointer !important;
  font-weight: 700 !important;
}
.gg-search__submit:hover{
  border-color: #d4af37 !important;
  background: #d4af37 !important;
  color: #111 !important;
}

.gg-search__close{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  border: 2px solid #111 !important;
  background: #fff !important;
  color: #111 !important;
  cursor: pointer !important;
  line-height: 1 !important;
}
.gg-search__close:hover{
  border-color: #d4af37 !important;
  color: #d4af37 !important;
}

.gg-search__hint{
  margin: 12px 0 0 0 !important;
  color: rgba(0,0,0,0.65) !important;
  font-size: 13px !important;
}

@media (max-width: 640px){
  .gg-search__form{ grid-template-columns: 1fr !important; }
  .gg-search__submit{ width: 100% !important; }
}

/* ===========================
   HEADER INLINE SEARCH (GG)
   =========================== */

.gg-headerSearch{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* form is collapsed until open */
.gg-headerSearch__form{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;

  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;

  transition: width .22s ease, opacity .18s ease;
}

/* open state */
.gg-headerSearch__form.is-open{
  width: min(520px, 46vw);
  opacity: 1;
  pointer-events: auto;
}

.gg-headerSearch__input{
  height: 40px;
  border-radius: 999px;

  border: 2px solid #fff;   /* białe na czarnym headerze */
  background: transparent;
  color: #fff;

  padding: 0 14px;
  outline: none;
}

.gg-headerSearch__input::placeholder{
  color: rgba(255,255,255,.65);
}

.gg-headerSearch__input:focus{
  border-color: #d4af37; /* złoto */
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18);
}

.gg-headerSearch__go{
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;

  border: 2px solid #d4af37; /* złoto */
  background: #d4af37;
  color: #111;

  font-weight: 700;
  cursor: pointer;
}

.gg-headerSearch__go:hover{
  filter: brightness(0.95);
}

/* Mobile: form under icon, full width-ish */
@media (max-width: 900px){
  .gg-headerSearch{
    gap: 10px;
  }
  .gg-headerSearch__form.is-open{
    width: min(420px, 62vw);
  }
}

@media (max-width: 640px){
  .gg-headerSearch__form.is-open{
    width: 68vw;
  }
  .gg-headerSearch__go{
    display: none; /* na małych ekranach tylko Enter */
  }
}

/* ===========================
   HEADER INLINE SEARCH (GG) — no button
   =========================== */

.gg-headerSearch{
  display:flex;
  align-items:center;
  gap: 12px;
}

.gg-headerSearch__form{
  position: relative;
  display: block;

  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;

  transition: width .22s ease, opacity .18s ease;
}

.gg-headerSearch__form.is-open{
  width: min(560px, 46vw);
  opacity: 1;
  pointer-events: auto;
}

.gg-headerSearch__input{
  width: 100%;
  height: 42px;
  border-radius: 999px;

  border: 2px solid rgba(255,255,255,.85);
  background: transparent;
  color: #fff;

  padding: 0 44px 0 16px; /* miejsce na X */
  outline: none;
}

.gg-headerSearch__input::placeholder{ color: rgba(255,255,255,.65); }

.gg-headerSearch__input:focus{
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18);
}

.gg-headerSearch__clear{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);

  width: 28px;
  height: 28px;
  border-radius: 999px;

  border: 2px solid rgba(255,255,255,.55);
  background: transparent;
  color: #fff;

  cursor: pointer;
  line-height: 1;
  display: grid;
  place-items: center;
}

.gg-headerSearch__clear:hover{
  border-color: #d4af37;
  color: #d4af37;
}

@media (max-width: 900px){
  .gg-headerSearch__form.is-open{ width: min(420px, 62vw); }
}
@media (max-width: 640px){
  .gg-headerSearch__form.is-open{ width: 70vw; }
}

/* =========================
   Filters: Kategorie panel
   ========================= */
.filters-ui__cats{
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.6);
}

.filters-ui__catsTitle{
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
  color: #111;
}

.filters-ui__catsList{
  display: grid;
  gap: 10px;
}

.filters-ui__catBtn{
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.25);
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: .15s ease;
}

.filters-ui__catBtn:hover{
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212,175,55,.15);
}

.filters-ui__catClear{
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: #111;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.filters-ui__catClear:hover{
  background: #000;
  border-color: #d4af37;
}

.filters-ui__catBtn.is-active{
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212,175,55,.22);
}

/* ========== Header / Menu ========== */
:root{
  --gold: #b3945e;
  --container: 1500px;
  --header-h: 72px;
}

*{ box-sizing:border-box; }
.container{
  width: min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

.site-header{
  position: sticky;
  top: 0;
  height: var(--header-h);
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand{
  display:flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
  min-width: 180px;
}
.brand__logo{
  height: 36px;
  width: auto;
  display:block;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 1;
}
.nav__toggle{
  display:none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle-line{
  display:block;
  height:2px;
  width: 18px;
  background: currentColor;
  margin: 4px auto;
  border-radius: 2px;
  opacity: .9;
}

.nav__list{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 42px;
  padding:0;
  margin:0;
}
.nav__link{
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.86);
  position: relative;
  padding: 10px 2px;
  text-decoration:none;
}
.nav__link::after{
  content:"";
  position:absolute;
  left:0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width .22s ease;
}
.nav__link:hover{ color:#fff; }
.nav__link:hover::after{ width: 100%; }

/* Actions */
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width: 80px;
}
.icon-btn{
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.92);
  display:grid;
  place-items:center;
  border-radius: 14px;
  cursor:pointer;
}
.icon-btn:hover{
  background: rgba(255,255,255,.06);
}

/* Responsive menu */
@media (max-width: 820px){
  :root{ --header-h: 68px; }

  .nav{ justify-content:flex-end; flex: 0; }
  .nav__toggle{ display:inline-grid; place-items:center; }

  .nav__list{
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 16px 24px 22px;
    margin: 0;
    display: grid;
    gap: 8px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav__item{ width: 100%; }
  .nav__link{
    display:block;
    width: 100%;
    padding: 14px 10px;
    border-radius: 14px;
  }
  .nav__link:hover{ background: rgba(255,255,255,.06); }
  .nav__link::after{ display:none; }

  .nav.is-open .nav__list{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ========== Footer ========== */
.footer{
  background: #000;
  color: #fff;
}

.footer__main{
  min-height: 65vh;
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.2fr;
  align-items: center;
  gap: 28px;
  padding: clamp(56px, 6vw, 90px) 0;
}

.footer__logo{
  display: inline-block;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
  text-decoration:none;
  color:#fff;
}
.footer__logo span{ color: var(--gold); }

.footer__nav{
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 18px;
  margin-left: 135px;
}
.footer__nav a{
  color: rgba(255,255,255,.86);
  text-decoration:none;
}
.footer__nav a:hover{ color: #fff; }

.footer__right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.footer__social{
  display: flex;
  gap: 12px;
}
.footer__social a{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  text-decoration:none;
}
.footer__social a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
  transform: translateY(-1px);
}
.footer__social i{
  font-size: 16px;
  line-height: 1;
}

.footer__btn{ white-space: nowrap; }

.footer__bottom{
  background: #cbb98c;
  color: #fff;
  text-align: center;
  padding: 18px 12px;
  font-size: 15px;
}

@media (max-width: 980px){
  .footer__main{
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 72px 0;
  }
  .footer__nav{ margin-left: 0; align-items: center; }
  .footer__right{ align-items: center; }
}

/* ===== FIX: warstwy tła/hero NIE mogą przechwytywać klików ===== */
.bg-gradient,
.bg-gradient *{
  pointer-events: none !important;
}

/* jeśli video/overlay też przykrywa header */
.hero__video,
.hero__overlay{
  pointer-events: none !important;
}

/* ===== FIX: menu mobilne zawsze nad wszystkim ===== */
@media (max-width: 820px){
  .site-header{
    position: sticky;
    top: 0;
    z-index: 99999 !important;
  }

  .nav__toggle{
    position: relative;
    z-index: 100000 !important;
    pointer-events: auto !important;
  }

  .nav__list{
    position: fixed !important;
    top: var(--header-h, 72px) !important;
    left: 0 !important;
    right: 0 !important;

    display: grid !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;

    margin: 0 !important;
    padding: 14px 18px 18px !important;
    list-style: none !important;

    background: rgba(0,0,0,.94) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.10);
    gap: 8px;

    z-index: 100001 !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .nav.is-open .nav__list{
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* =========================================================
   SHOP RESPONSIVE (GAMAWOO)
   Wklej na koniec assets/css/main.css
========================================================= */
.gg-page{ width:100%; }
.gg-wrap{
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar */
.gg-left{
  position: sticky;
  top: 86px;
  align-self: start;
}
.gg-head{ padding: 8px 0 10px; }

/* Prawa kolumna */
.gg-right{ min-width: 0; }
.gg-right__offset{ height: 10px; }

/* Banner video */
.gg-banner,
.gg-sidebanner{ border-radius: 22px; overflow:hidden; }
.gg-banner__video,
.gg-sidebanner__video{
  display:block;
  width:100%;
  height:auto;
  object-fit: cover;
}

/* Toolbar */
.shopbar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 14px;
  flex-wrap: wrap;
}
.shopbar__left,
.shopbar__center,
.shopbar__right{
  display:flex;
  align-items:center;
  gap: 10px;
}
.shopbar__center{ flex: 1 1 260px; justify-content:center; }
.shopbar__right{ justify-content:flex-end; }

/* Mobile Filters Button */
.shopbar__filtersBtn{
  display:none;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.8);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
}

/* Products grid */
.product-grid{
  display:grid;
  gap: 18px;
}
.product-grid.is-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-grid.is-list{
  grid-template-columns: 1fr;
}

/* Card */
.gg-card{ min-width:0; }
.gg-card__mediaInner{
  border-radius: 22px;
  overflow:hidden;
}
.gg-card__img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display:block;
}

/* Category grid */
.gg-cats__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gg-cat__thumb{
  width:100%;
  height:auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 18px;
}

/* ==========================
   SINGLE PRODUCT RESPONSIVE
========================== */
.gg-single{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.gg-singleHero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items:start;
}
.gg-gallery__mainBtn{
  width:100%;
}
.gg-gallery__img{
  width:100%;
  height:auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 22px;
  display:block;
}
.gg-gallery__thumbs{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.gg-gallery__thumb img{
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

/* Warranty grid */
.gg-warranty__grid{
  display:grid;
  gap: 10px;
}
.gg-warranty__row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* =========================================================
   BREAKPOINTS
========================================================= */

/* <= 1100px: mniej miejsca -> 2 kolumny produktów */
@media (max-width: 1100px){
  .gg-wrap{ grid-template-columns: 320px 1fr; }
  .product-grid.is-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-cats__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* <= 980px: MOBILE LAYOUT (sidebar nad contentem + filtry accordion) */
@media (max-width: 980px){
  .gg-wrap{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gg-left{
    position: static;
    top: auto;
    background: rgba(255,255,255,.6);
    border-radius: 22px;
    padding: 14px;
  }

  /* Filtry: na start zwinięte (otwierane przyciskiem) */
  .gg-left .gg-filtersWrap{
    display:none;
    margin-top: 10px;
  }
  .gg-left.is-open .gg-filtersWrap{
    display:block;
  }

  .shopbar__filtersBtn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .shopbar{
    position: sticky;
    top: 70px;
    z-index: 20;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 10px 12px;
  }

  .shopbar__center{ justify-content:flex-start; }
  .shopbar__right{ margin-left:auto; }

  .product-grid.is-grid{ grid-template-columns: 1fr; }

  .gg-cats__grid{ grid-template-columns: 1fr; }

  .gg-banner{ border-radius: 18px; }
  .gg-sidebanner{ display:none; } /* sidebar video chowamy na telefonie */
}

/* <= 560px: jeszcze ciaśniej */
@media (max-width: 560px){
  .shopbar{ gap: 10px; }
  .shopbar__left{ order: 2; }
  .shopbar__center{ order: 3; flex: 1 1 100%; }
  .shopbar__right{ order: 4; }
  .shopbar__filtersBtn{ order: 1; }

  .gg-gallery__thumb img{
    width: 56px;
    height: 56px;
  }

  .gg-warranty__row{
    grid-template-columns: 1fr;
  }
}

/* Single product stacking */
@media (max-width: 980px){
  .gg-singleHero{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* =========================================================
   SHOP RESPONSIVE (GAMAWOO) - WKLEJ NA KONIEC main.css
========================================================= */

/* Bezpieczniki na mobilne overflow */
html, body { max-width: 100%; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

/* Layout: desktop */
.gg-wrap{
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.gg-left{
  position: sticky;
  top: 86px;
  align-self: start;
}

.gg-right{ min-width: 0; }

/* Banner */
.gg-banner, .gg-sidebanner{
  border-radius: 22px;
  overflow: hidden;
}
.gg-banner__video, .gg-sidebanner__video{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Toolbar */
.shopbar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 14px;
  flex-wrap: wrap;
}
.shopbar__left,
.shopbar__center,
.shopbar__right{
  display:flex;
  align-items:center;
  gap: 10px;
}
.shopbar__center{ flex: 1 1 260px; justify-content:center; }
.shopbar__right{ justify-content:flex-end; }

/* Grid produktów */
.product-grid{
  display:grid;
  gap: 18px;
}
.product-grid.is-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-grid.is-list{
  grid-template-columns: 1fr;
}

/* Karta */
.gg-card{ min-width: 0; }
.gg-card__mediaInner{
  border-radius: 22px;
  overflow:hidden;
}
.gg-card__img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display:block;
}

/* CTA jako link wygląda jak button */
.gg-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
}

/* Kategorie */
.gg-cats__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gg-cat__thumb{
  width:100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 18px;
}

/* Single product */
.gg-single{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}
.gg-singleHero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items:start;
}
.gg-gallery__img{
  width:100%;
  height:auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 22px;
  display:block;
}
.gg-gallery__thumbs{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.gg-gallery__thumb img{
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

/* Warranty */
.gg-warranty__grid{ display:grid; gap: 10px; }
.gg-warranty__row{ display:grid; grid-template-columns: 1fr auto; gap: 10px; }

/* =======================
   BREAKPOINTS
======================= */

/* <= 1100px */
@media (max-width: 1100px){
  .gg-wrap{ grid-template-columns: 320px 1fr; }
  .product-grid.is-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-cats__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* <= 980px (telefony/tablety pion) */
@media (max-width: 980px){
  .gg-wrap{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gg-left{
    position: static;
    top: auto;
  }

  .product-grid.is-grid{ grid-template-columns: 1fr; }
  .gg-cats__grid{ grid-template-columns: 1fr; }

  /* Sidebar video schowane na telefonie (żeby nie rozpychało) */
  .gg-sidebanner{ display:none; }

  /* Sticky toolbar na górze listy */
  .shopbar{
    position: sticky;
    top: 70px;
    z-index: 20;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 10px 12px;
  }

  /* Single product stack */
  .gg-singleHero{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* <= 560px */
@media (max-width: 560px){
  .shopbar{ gap: 10px; }
  .shopbar__left{ order: 1; }
  .shopbar__center{ order: 2; flex: 1 1 100%; justify-content:flex-start; }
  .shopbar__right{ order: 3; }

  .gg-gallery__thumb img{
    width: 56px;
    height: 56px;
  }

  .gg-warranty__row{
    grid-template-columns: 1fr;
  }
}

/* =========================
   REALIZACJE / MARKETS HERO
========================= */

.markets-hero{
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
  color: #fff;
}

.markets-hero__bg{
  position: absolute;
  inset: 0;
  background: url("../img/rynki_bg.jpg") center / cover no-repeat;
  z-index: 1;
}

.markets-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.70) 0%,
      rgba(0,0,0,.65) 35%,
      rgba(0,0,0,.45) 50%,
      rgba(0,0,0,.15) 65%,
      rgba(0,0,0,0) 100%
    );
}

.markets-hero__content{
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 1200px;
  padding-left: clamp(32px, 6vw, 120px);
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.markets-hero__eyebrow{
  margin: 0 0 14px 0;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
}

.markets-hero__title{
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.15;
  max-width: 720px;
}

@media (max-width: 768px){
  .markets-hero{ height: 90vh; }
  .markets-hero__overlay{
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.75) 0%,
      rgba(0,0,0,.55) 55%,
      rgba(0,0,0,.25) 100%
    );
  }
  .markets-hero__content{
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* =========================
   REALIZACJE / INTRO (MORE)
========================= */

.more{
  min-height: 42vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(900px 520px at 0% 50%, rgba(179,148,94,.16), transparent 60%),
    radial-gradient(900px 520px at 100% 50%, rgba(179,148,94,.12), transparent 60%),
    #f3f1ee;
  padding: clamp(56px, 6vw, 90px) 24px;
}

.more__inner{
  width: min(1100px, 100%);
}

.more__title{
  margin: 0 0 18px 0;
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 56px);
  letter-spacing: .01em;
  color: #b3945e;
}

.more__text{
  margin: 0 auto;
  max-width: 1050px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(0,0,0,.78);
  font-weight: 600;
}

@media (max-width: 700px){
  .more{
    min-height: auto;
    padding: 56px 18px;
  }
  .more__text{ max-width: 62ch; }
}

/* =========================
   REALIZACJE / SEKCJE (ABOUT)
========================= */

.about{
  width: 100%;
  background: #0b0b0b; /* bazowe tło sekcji (u Ciebie potem bywa nadpisywane globalnie) */
}

.about__wrap{
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 50vw 50vw; /* 50/50 */
  height: 100vh;
}

.about__left{
  background: #f3f1ee;
  color: #171717;
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
}

.about__content{
  width: min(560px, 100%);
  margin-left: clamp(0px, 3vw, 44px);
}

.about__eyebrow{
  margin: 0 0 14px 0;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: clamp(22px, 2.6vw, 34px);
  color: #b3945e;
}

.about__desc{
  margin: 0 0 22px 0;
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
}

.about__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* prawa kolumna (media) */
.about__right{
  position: relative;
  overflow: hidden;
  width: 50vw;
}

.about__photo{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about__photo-overlay{
  position: absolute;
  inset: 0;
}

/* Kierunki layoutu */
.about--img-left .about__wrap{
  grid-template-columns: 50vw 50vw;
}
.about--img-right .about__wrap{
  grid-template-columns: 50vw 50vw;
}

/* Wspólny overlay (u Ciebie jest zduplikowany kilka razy – tu jedna wersja) */
.markets__overlay,
.about__photo-overlay{
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.65) 0%,
      rgba(0,0,0,.35) 55%,
      rgba(0,0,0,.20) 100%
    ),
    radial-gradient(900px 520px at 20% 30%, rgba(0,0,0,.35), transparent 60%);
}

/* Mobile: jedna pod drugą */
@media (max-width: 980px){
  .about__wrap{
    grid-template-columns: 1fr;
    height: auto;
  }
  .about__right{
    width: 100%;
    min-height: 340px;
  }
  .about__right{ order: 1; }
  .about__left{ order: 2; }
  .about__content{ margin-left: 0; }
}

/* =========================
   REALIZACJE / ZDJĘCIA (KLASY)
========================= */

/* Rynki (jeśli używasz tych klas też w realizacjach) */
.about__photo--kluby{ background-image: url("../img/rynki/kluby_fitness.jpg"); }
.about__photo--hotele{ background-image: url("../img/rynki/uslugi_hotelarskie.jpg"); }
.about__photo--silowe{ background-image: url("../img/rynki/treningi_silowe.jpg"); }
.about__photo--senior{ background-image: url("../img/rynki/aktywnosc_seniorow.png"); }
.about__photo--budownictwo{ background-image: url("../img/rynki/budownictwo.png"); }

/* Realizacje (kluby) */
.about__photo--kluby-forma{ background-image: url("../img/kluby/kluby_forma.png"); }
.about__photo--kluby-level{ background-image: url("../img/kluby/kluby_level.png"); }
.about__photo--kluby-polanka{ background-image: url("../img/kluby/kluby_polanka.png"); }
.about__photo--kluby-power-gym{ background-image: url("../img/kluby/kluby_power_gym.png"); }
.about__photo--kluby-evolution{ background-image: url("../img/kluby/kluby_evolution.png"); }


/* ===== CONTACT MODAL (dark / gold) ===== */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: 24px;
}

/* panel */
.contact-modal-content {
  width: min(520px, 92vw);
  background: #0b0b0b;              /* dark */
  color: #ffffff;                   /* text visible */
  border: 1px solid rgba(201, 163, 92, 0.35); /* gold-ish */
  border-radius: 16px;
  padding: 34px 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: 180ms ease;
}

/* state open animation */
.contact-modal.is-open .contact-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* title */
.contact-modal-content h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* lines */
.contact-modal-content p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
}

.contact-modal-content strong {
  color: #c9a35c; /* gold accent */
  font-weight: 700;
}

/* links */
.contact-modal-content a {
  color: #c9a35c;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,163,92,0.35);
}
.contact-modal-content a:hover {
  border-bottom-color: rgba(201,163,92,0.75);
}

/* close button */
.close-modal {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 22px;
  line-height: 1;
  transition: 160ms ease;
}
.close-modal:hover {
  background: rgba(201,163,92,0.10);
  border-color: rgba(201,163,92,0.35);
}

/* optional: subtle top accent line */
.contact-modal-content::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,163,92,0.9), transparent);
  opacity: 0.9;
  border-radius: 2px;
}

/* ===== Header Search (dark/gold) ===== */
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  position: relative;
}

.icon-btn{
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
  cursor: pointer;
  display:grid;
  place-items:center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  transition: 160ms ease;
}
.icon-btn:hover{
  background: rgba(255,255,255,.06);
}

/* search form hidden by default (desktop) */
.header-search{
  display:flex;
  align-items:center;
  gap:10px;
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: width 200ms ease, opacity 200ms ease;
}

.header-search.is-open{
  width: min(360px, 46vw);
  opacity: 1;
  pointer-events: auto;
}

.header-search__input{
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(201,163,92,.35);
  background: rgba(0,0,0,.55);
  color: #fff;
  outline: none;
}
.header-search__input::placeholder{
  color: rgba(255,255,255,.55);
}

.header-search__input:focus{
  border-color: rgba(201,163,92,.7);
  box-shadow: 0 0 0 4px rgba(201,163,92,.12);
}

.header-search__submit{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(201,163,92,.35);
  background: rgba(201,163,92,.10);
  color: #c9a35c;
  cursor: pointer;
  display:grid;
  place-items:center;
  transition: 160ms ease;
}
.header-search__submit:hover{
  background: rgba(201,163,92,.18);
  border-color: rgba(201,163,92,.55);
}

/* accessibility helper */
.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;
}

/* mobile: show as dropdown under header actions */
@media (max-width: 820px){
  .header-search{
    position:absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(92vw, 420px);
    padding: 10px;
    border-radius: 16px;
    background: rgba(0,0,0,.85);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 50px rgba(0,0,0,.55);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 180ms ease;
  }

  .header-search.is-open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-search__input{
    width: 100%;
  }
}

.open-contact{ text-decoration:none; color:inherit; }
.open-contact:hover{ text-decoration:none; }


/* =========================
   FIX: biały pas od dołu (overscroll / html bg / scroll-bounce)
   Wklej na sam koniec main.css
========================= */

/* ważne: html też musi mieć tło (inaczej podczas overscroll widać białe) */
html{
  background: var(--bg, #f5f1ec);
}

/* blokada “białego dołu” + stabilizacja wysokości */
html, body{
  min-height: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: none; /* blokuje scroll “poza stronę” w nowoczesnych */
}

/* iOS/Safari potrafi pokazać tło html przy “bounce” — to ogranicza efekt */
body{
  background: var(--bg, #f5f1ec);
  min-height: 100dvh; /* lepsze niż 100vh na mobile */
}

/* dodatkowo: żaden element nie może wypchnąć strony w pionie/poziomie */
main, footer, header, section{
  max-width: 100%;
}

/* jeśli coś czasem zostawia scroll-lock po akcji (AJAX/paginacja), wymuś normalny scroll */
body:not(.gg-scroll-lock){
  position: relative;
  top: auto !important;
}

/* =========================
   HOTFIX: białe tło tylko dla sklepu WooCommerce
========================= */
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.woocommerce,
body.woocommerce-page{
  background: #fff !important;
}

/* na wypadek “bounce/overscroll” */
html:has(body.post-type-archive-product),
html:has(body.tax-product_cat),
html:has(body.tax-product_tag),
html:has(body.woocommerce),
html:has(body.woocommerce-page){
  background: #fff !important;
}

/* =========================================================
   FIX: /sklep ma być białe (niezależnie od globalnego --bg)
   Wklej NA SAM KONIEC main.css
========================================================= */

/* 1) Jeśli sklep używa layoutu GG (custom listing) – to jest najpewniejszy selektor */
.gg-page,
.gg-page .gg-wrap{
  background: #fff !important;
}

/* 2) Wariant “pancerny”: żeby żółte tło body nie prześwitywało przez layout WP */
body.woocommerce,
body.woocommerce-page,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag{
  background: #fff !important;
}

/* 3) WordPressowe wrappery (często to one mają tło, a nie body) */
#page,
.site,
.site-content,
#content,
main{
  background: transparent;
}

/* 4) Jeśli listing sklepu siedzi w <main> i ma być białe, a reszta serwisu nie:
      biel tylko tam, gdzie jest .gg-page */
main:has(.gg-page),
.site-content:has(.gg-page),
#content:has(.gg-page){
  background: #fff !important;
}

/* 5) iOS / overscroll / bounce – podbijamy też html (tam też “wychodzi” tło) */
html:has(.gg-page){
  background: #fff !important;
}

/* =========================================================
   FIX: "Wyszukiwanie: ..." i link (np. matrix) ma być czytelny
   tylko w sklepie (GG listing)
========================================================= */

/* ogólnie: teksty i linki w nagłówku listingu */
.gg-page .gg-head,
.gg-page .gg-head a,
.gg-page .gg-head p,
.gg-page .gg-head span,
.gg-page .gg-head strong{
  color: #111 !important;
}

/* jeśli to jest link, daj złoty akcent na hover */
.gg-page .gg-head a{
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gg-page .gg-head a:hover{
  color: #b79b62 !important;
}

.gg-page #js-ggSubtitle{
  color: rgba(0,0,0,.65) !important;
}
.gg-page #js-ggSubtitle b,
.gg-page #js-ggSubtitle strong{
  color: #111 !important;
}

/* =========================
   FOOTER HOTFIX (CENTER MOBILE + NORMAL HEIGHT)
   Wklej NA SAM KONIEC main.css
========================= */

.footer .footer__main{
  min-height: auto !important; /* zabija 65vh */
}

@media (max-width: 980px){
  .footer .footer__main{
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .footer .footer__nav{
    margin-left: 0 !important;           /* zabija 135px */
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .footer .footer__nav a{
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
  }

  .footer .footer__right{
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .footer .footer__social{
    justify-content: center !important;
  }
}

/* =========================================
   SINGLE PRODUCT — usuń żółte pasy po bokach
   ========================================= */

/* 1) Cały viewport na biało */
html:has(body.single-product),
body.single-product{
  background: #fff !important;
}

/* 2) Nadpisz Twoje globalne var(--bg) tylko na single */
body.single-product{
  --bg: #fff;
}

/* 3) WP wrappery często mają własne tło / prześwit */
body.single-product #page,
body.single-product .site,
body.single-product .site-content,
body.single-product #content,
body.single-product main{
  background: #fff !important;
}

/* 4) Jeśli masz gdzieś pseudo-elementy robiące gradienty/tła */
body.single-product::before,
body.single-product::after{
  display: none !important;
  content: none !important;
}

/* =========================================
   SINGLE PRODUCT — pełne białe tło (bez pasów)
   ========================================= */
body.single-product,
body.single-product #page,
body.single-product .site,
body.single-product .site-content,
body.single-product #content,
body.single-product main,
body.single-product .gg-single,
body.single-product .gg-single__wrap {
  background: #fff !important;
}

/* na wypadek, gdy tło bierze się z zmiennej --bg */
body.single-product { --bg: #fff; }

/* overscroll/bounce (Safari/iOS) */
html { background: var(--bg, #f5f1ec); }
html:has(body.single-product) { background: #fff !important; }

/* =========================================
   GLOBAL RESET TŁA — usuwa żółte tło wszędzie
   ========================================= */

/* 1. wywalamy zmienną tła */
:root{
  --bg: #ffffff !important;
}

/* 2. html + body zawsze białe */
html,
body{
  background: #ffffff !important;
}

/* 3. wszystkie główne wrappery */
#page,
.site,
.site-content,
#content,
main{
  background: #ffffff !important;
}

/* =========================================
   USUNIĘCIE GRADIENTU TŁA (TEN ŻÓŁTY EFEKT)
   ========================================= */

.bg-gradient,
.bg-gradient__layer{
  display: none !important;
}

.wc-netto{
  font-size: 12px;
  opacity: .7;
  margin-left: 4px;
  white-space: nowrap;
  font-weight: 600;
}

/* === HEADER SEARCH (jak na stronie głównej) === */
.header-actions{ display:flex; align-items:center; gap:10px; position:relative; }

.icon-btn{
  background:transparent; border:0; color: rgba(255,255,255,.92);
  cursor:pointer; display:grid; place-items:center;
  width:42px; height:42px; border-radius:14px; transition:160ms ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.06); }

.header-search{
  display:flex; align-items:center; gap:10px;
  width:0; opacity:0; pointer-events:none; overflow:hidden;
  transition: width 200ms ease, opacity 200ms ease;
}
.header-search.is-open{ width:min(380px, 44vw); opacity:1; pointer-events:auto; }

.header-search__input{
  flex:1; height:42px; padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(201,163,92,.35);
  background: rgba(0,0,0,.55);
  color:#fff; outline:none;
}
.header-search__input::placeholder{ color: rgba(255,255,255,.55); }

.header-search__submit{
  width:42px; height:42px; border-radius:14px;
  border:1px solid rgba(201,163,92,.35);
  background: rgba(201,163,92,.10);
  color:#c9a35c; cursor:pointer;
  display:grid; place-items:center; transition:160ms ease;
}
.header-search__submit:hover{
  background: rgba(201,163,92,.18);
  border-color: rgba(201,163,92,.55);
}

.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;
}

/* Mobile: dropdown search pod ikoną */
@media (max-width: 820px){
  .header-search{
    position:absolute;
    right:0;
    top: calc(100% + 10px);
    width: min(92vw, 420px);
    padding:10px;
    border-radius:16px;
    background: rgba(0,0,0,.88);
    border:1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 50px rgba(0,0,0,.55);
    opacity:0; pointer-events:none;
    transform: translateY(-6px);
    transition:180ms ease;
  }
  .header-search.is-open{
    opacity:1; pointer-events:auto;
    transform: translateY(0);
    width: min(92vw, 420px);
  }
}