:root{
  --gibus-red:#eb0000;
  --gibus-black:#111111;
  --gibus-bg:#fef6ec;
  --gibus-text:#181818;
  --gibus-muted:#6b6b6b;
  --gibus-border:#e8dfd3;
  --gibus-card:#ffffff;
  --gibus-soft:#f7efe5;
  --gibus-soft-2:#fffaf3;
  --gibus-shadow:0 24px 70px rgba(17,17,17,.08);
  --gibus-shadow-soft:0 14px 34px rgba(17,17,17,.05);
}

body{
  background:linear-gradient(180deg,#fff8ef 0%,#fef6ec 32%,#fcf3e8 100%);
  color:var(--gibus-text);
  position:relative;
}

body::before,
body::after{
  content:"";
  position:fixed;
  border-radius:999px;
  pointer-events:none;
  z-index:-1;
  filter:blur(54px);
  opacity:.45;
}

body::before{
  top:80px;
  left:-120px;
  width:320px;
  height:320px;
  background:rgba(235,0,0,.07);
}

body::after{
  top:240px;
  right:-110px;
  width:300px;
  height:300px;
  background:rgba(17,17,17,.05);
}

.gp-section{
  padding:4.5rem 0;
}

.gp-hero-shell{
  position:relative;
}

.gp-eyebrow{
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gibus-red);
  font-weight:700;
}

.gp-title{
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.02;
  font-weight:700;
  letter-spacing:-.03em;
}

.gp-text{
  font-size:1rem;
  line-height:1.75;
  color:var(--gibus-muted);
}

.gp-btn-primary{
  background:var(--gibus-red);
  border-color:var(--gibus-red);
  color:#fff;
}

.gp-btn-primary:hover{
  background:#c80000;
  border-color:#c80000;
  color:#fff;
}

.gp-btn-outline{
  border:1px solid var(--gibus-black);
  color:var(--gibus-black);
  background:transparent;
}

.gp-btn-outline:hover{
  background:var(--gibus-black);
  color:#fff;
}

.gp-hero-media,
.gp-card-media{
  border-radius:1.5rem;
  overflow:hidden;
  background:#ece2d7;
  box-shadow:var(--gibus-shadow-soft);
}

.gp-hero-media img,
.gp-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right bottom;
  display:block;
  transition:transform .45s ease,filter .35s ease;
}

.gp-card:hover .gp-card-media img{
  transform:scale(1.035);
  filter:saturate(1.03);
}

.gp-gallery-thumb{
  width:74px;
  height:54px;
  object-fit:cover;
  object-position:right bottom;
  border-radius:.75rem;
  cursor:pointer;
  border:1px solid var(--gibus-border);
  background:#f3eadf;
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease,opacity .2s ease;
  opacity:.72;
}

.gp-gallery-thumb:hover{
  opacity:1;
  transform:translateY(-2px);
  border-color:#d7c8b4;
}

.gp-gallery-thumb.is-active{
  opacity:1;
  border-color:var(--gibus-black);
  box-shadow:0 0 0 2px rgba(17,17,17,.08);
}

.gp-filter-wrap{
  background:rgba(255,255,255,.9);
  border:1px solid var(--gibus-border);
  border-radius:1.35rem;
  padding:.7rem;
  gap:.5rem;
  box-shadow:var(--gibus-shadow-soft);
  backdrop-filter:blur(12px);
}

.gp-grid-wrap{
  padding-top:1rem;
}

.gp-filter-btn{
  border:0;
  background:#f5f0ea;
  color:#403c38;
  padding:.85rem 1.05rem;
  border-radius:999px;
  font-size:.92rem;
  line-height:1;
  white-space:nowrap;
  transition:.22s ease;
  font-weight:600;
}

.gp-filter-btn.active,
.gp-filter-btn:hover{
  background:var(--gibus-red);
  color:#fff;
  transform:translateY(-1px);
}

.gp-card{
  background:linear-gradient(180deg,#ffffff 0%,#fffdf9 100%);
  border:1px solid rgba(232,223,211,.95);
  border-radius:1.55rem;
  overflow:visible;
  height:100%;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
  box-shadow:var(--gibus-shadow-soft);
}

.gp-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--gibus-shadow);
  border-color:#ddcdb9;
}

.gp-badge{
  position:absolute;
  top:1rem;
  left:1rem;
  background:var(--gibus-red);
  color:#fff;
  border-radius:999px;
  padding:.52rem .9rem;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
  box-shadow:0 12px 24px rgba(235,0,0,.25);
}

.gp-card-body{
  padding:1.35rem 1.35rem 1.45rem;
}

.gp-card-title{
  font-size:1.82rem;
  line-height:1.02;
  font-weight:700;
  margin:0 0 .5rem;
}

.gp-card-subtitle{
  color:var(--gibus-muted);
  font-size:1rem;
  line-height:1.58;
  min-height:3.45rem;
}

.gp-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:1rem 0 1rem;
}

.gp-pill{
  position:relative;
  background:var(--gibus-soft);
  border:1px solid rgba(232,223,211,.95);
  border-radius:999px;
  padding:.56rem .84rem;
  font-size:.84rem;
  line-height:1;
  color:#2b2a28;
  cursor:help;
}

.gp-pill::after{
  content:attr(data-tooltip);
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  transform:translateX(-50%);
  min-width:230px;
  max-width:280px;
  background:#111;
  color:#fff;
  border-radius:.8rem;
  padding:.8rem .9rem;
  font-size:.78rem;
  line-height:1.45;
  opacity:0;
  pointer-events:none;
  transition:.18s ease;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  z-index:20;
}

.gp-pill:hover::after{
  opacity:1;
}

.gp-card-price{
  font-size:.92rem;
  color:var(--gibus-muted);
  display:flex;
  align-items:baseline;
  gap:.35rem;
  flex-wrap:wrap;
}

.gp-card-price strong{
  display:inline;
  font-size:1.55rem;
  color:var(--gibus-black);
  line-height:1.05;
}

.gp-price-prefix,
.gp-price-suffix{
  font-size:.78rem;
  line-height:1.2;
  color:var(--gibus-muted);
  font-weight:600;
  letter-spacing:.02em;
  display:inline;
}

.gp-price-note{
  display:block;
  margin-top:.35rem;
  font-size:.78rem;
  line-height:1.45;
  color:var(--gibus-muted);
}

.gp-price-asterisk{
  color:var(--gibus-red);
  font-size:.9em;
  font-weight:700;
  vertical-align:super;
  line-height:1;
}

.gp-link{
  color:var(--gibus-red);
  font-weight:700;
  text-decoration:none;
}

.gp-link:hover{
  text-decoration:underline;
}

.gp-compare{
  background:#fff;
  border:1px solid var(--gibus-border);
  border-radius:1.5rem;
  overflow:hidden;
  box-shadow:var(--gibus-shadow-soft);
}

.gp-compare-summary{
  background:linear-gradient(180deg,#fff 0%,#fffaf3 100%);
  border:1px solid var(--gibus-border);
  border-radius:1.25rem;
  padding:1.25rem;
  height:100%;
  box-shadow:var(--gibus-shadow-soft);
}

.gp-compare-summary h3{
  font-size:1.05rem;
  font-weight:700;
  margin-bottom:.45rem;
}

.gp-compare-summary p{
  margin:0;
  color:var(--gibus-muted);
  font-size:.94rem;
  line-height:1.65;
}

.gp-collapse-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  width:100%;
  padding:1rem 1.2rem;
  background:#fff;
  border:1px solid var(--gibus-border);
  border-radius:1rem;
  font-weight:700;
  color:var(--gibus-black);
  text-align:left;
  box-shadow:var(--gibus-shadow-soft);
}

.gp-collapse-toggle .gp-toggle-icon{
  transition:transform .2s ease;
}

.gp-collapse-toggle[aria-expanded="true"] .gp-toggle-icon{
  transform:rotate(45deg);
}

.gp-compare table{
  margin:0;
}

.gp-compare th,
.gp-compare td{
  padding:1rem .9rem;
  vertical-align:middle;
  border-color:#eee3d7;
  font-size:.94rem;
}

.gp-compare thead th{
  background:#161616;
  color:#fff;
  font-weight:700;
  white-space:nowrap;
}

.gp-compare thead th:first-child{
  background:#0b0b0b;
}

.gp-compare tbody th{
  background:#faf6f0;
  font-weight:600;
  min-width:220px;
}

.gp-ok{
  color:#0d7a39;
  font-weight:700;
}

.gp-option{
  color:#555;
}

.gp-muted{
  color:var(--gibus-muted);
}

.gp-modal .modal-content{
  background:#fff;
  border:1px solid var(--gibus-border);
  border-radius:1.5rem;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(17,17,17,.18);
}

.gp-modal .modal-header{
  padding:1.25rem 1.5rem .9rem;
  border:0;
  position:sticky;
  top:0;
  z-index:5;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(232,223,211,.8);
}

.gp-modal .modal-body{
  padding:1.1rem 1.5rem 1.5rem;
}

.gp-modal-actions{
  position:sticky;
  bottom:-24px;
  z-index:4;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--gibus-border);
  box-shadow:0 -16px 30px rgba(17,17,17,.04);
  padding:1rem 1.5rem calc(1rem + env(safe-area-inset-bottom));
  margin:0 -1.5rem -1.5rem;
  justify-content:space-between;
  align-items:center;
}

.gp-modal-cta{
  min-height:52px;
  padding-inline:1.6rem;
  font-size:1rem;
  font-weight:700;
  align-content:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  margin-left:auto;
}

.gp-modal-cta:hover{
  background:#000;
  border-color:#000;
  color:#fff;
}

.gp-modal-cta-arrow{
  display:inline-block;
  transition:transform .2s ease;
}

.gp-modal-cta:hover .gp-modal-cta-arrow{
  transform:translateX(4px);
}

.gp-modal-textlink{
  display:inline-flex;
  align-items:center;
  color:var(--gibus-muted);
  font-weight:600;
  text-decoration:none;
  padding:.85rem 0;
  order:-1;
}

.gp-modal-textlink:hover{
  color:var(--gibus-black);
  text-decoration:underline;
}

.gp-detail-main{
  display:flex;
  flex-direction:column;
}

.gp-detail-aside{
  position:sticky;
  top:92px;
}

.gp-detail-specs{
  overflow:hidden;
}

.gp-detail-specs-head{
  padding:1rem 1.25rem .8rem;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gibus-red);
  font-weight:800;
  border-bottom:1px solid rgba(232,223,211,.8);
  background:rgba(255,255,255,.7);
}

.gp-detail-specs .list-group-item{
  padding:.68rem 1.25rem;
  border-color:#f0e7dd;
  align-items:center;
  background:transparent;
}

.gp-detail-specs .list-group-item .fw-semibold{
  font-weight:400 !important;
}

.gp-detail-specs small{
  display:block;
  color:var(--gibus-muted);
  font-size:.78rem;
}

.gp-note{
  font-size:.86rem;
  color:var(--gibus-muted);
}

.gp-usp{
  background:linear-gradient(180deg,#fff 0%,#fffdf9 100%);
  border:1px solid var(--gibus-border);
  border-radius:1.25rem;
  padding:1.25rem;
}

.gp-usp h3{
  font-size:1.08rem;
  font-weight:700;
  margin-bottom:.6rem;
}

.gp-usp p{
  margin:0;
  color:var(--gibus-muted);
  line-height:1.68;
  font-size:.95rem;
}

.gp-usp ul{
  margin:0;
  padding-left:1.1rem;
  color:var(--gibus-muted);
}

.gp-usp li + li{
  margin-top:.45rem;
}

.gp-usp[data-block-title="Klíčové výhody"] ul{
  list-style:none;
  padding-left:0;
}

.gp-usp[data-block-title="Klíčové výhody"] li{
  position:relative;
  padding-left:1.5rem;
}

.gp-usp[data-block-title="Klíčové výhody"] li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:.05rem;
  font-size:1rem;
  font-weight:800;
  color:#1f8f3a;
}

#detail-benefits .col,
#detail-benefits-fallback .col{
  width:100%;
}

#detail-benefits .col strong,
#detail-benefits-fallback .col strong{
  color:#000;
}

.gp-usage-box{
  background:linear-gradient(180deg,#fffaf3 0%,#fff7ee 100%);
}

.gp-usage-section + .gp-usage-section{
  margin-top:1rem;
  padding:1rem;
}

.gp-usage-section-split{
  background:#fff;
  padding-top:1rem;
  border-top:1px solid var(--gibus-border);
}

.gp-usage-section li strong{
  color:#000;
}

.gp-fallback-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:1050;
  display:none;
}

.gp-fallback-backdrop.show{
  display:block;
}

.gp-modal-fallback{
  position:fixed;
  inset:0;
  display:none;
  z-index:1055;
  padding:1rem;
  overflow:auto;
}

.gp-modal-fallback.show{
  display:block;
}

.gp-modal-fallback-dialog{
  max-width:1140px;
  margin:2rem auto;
  background:#fff;
  border:1px solid var(--gibus-border);
  border-radius:1.5rem;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(17,17,17,.18);
}

.gp-modal-fallback-header{
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:1rem;
  padding:1.25rem 1.5rem .9rem;
  position:sticky;
  top:0;
  z-index:5;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(232,223,211,.8);
}

.gp-modal-fallback-close{
  border:0;
  background:transparent;
  font-size:1.25rem;
  line-height:1;
  cursor:pointer;
}

.gp-nav-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-bottom:1.5rem;
}

.gp-nav-tab{
  border:1px solid var(--gibus-border);
  background:rgba(255,255,255,.92);
  border-radius:999px;
  padding:.82rem 1.08rem;
  font-weight:700;
  color:var(--gibus-black);
  cursor:pointer;
  transition:.22s ease;
  box-shadow:var(--gibus-shadow-soft);
}

.gp-nav-tab.active,
.gp-nav-tab:hover{
  background:var(--gibus-red);
  border-color:var(--gibus-red);
  color:#fff;
  transform:translateY(-1px);
}

.gp-detail-btn{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  border:0;
  background:transparent;
  color:var(--gibus-red);
  font-weight:700;
  padding:0;
}

.gp-arrow{
  transition:transform .2s ease;
}

.gp-detail-btn:hover .gp-arrow{
  transform:translateX(4px);
}

.gp-realizace-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
}

.gp-realizace-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:1.25rem;
}

.gp-stats{
  font-size:.95rem;
  color:var(--gibus-muted);
}

#gibus-model-grid .row{
  animation:gpFadeUp .32s ease;
}

@keyframes gpFadeUp{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (max-width: 991.98px){
  .gp-section{
    padding:3rem 0;
  }

  .gp-card-subtitle{
    min-height:auto;
  }

  .gp-pill::after{
    left:0;
    transform:none;
  }

  .gp-nav-tabs{
    flex-wrap:nowrap;
    overflow:auto;
    padding-bottom:.35rem;
    scroll-snap-type:x proximity;
  }

  .gp-nav-tab{
    white-space:nowrap;
    scroll-snap-align:start;
  }

  .gp-detail-aside{
    position:static;
  }

  .gp-modal-actions{
    padding:1rem;
    margin:0 -1rem -1rem;
    justify-content:flex-start;
    align-items:flex-start;
  }

  .gp-modal-cta{
    margin:0;
  }

  .gp-modal-textlink{
    order:0;
  }
}

@media (max-width: 767.98px){
  .gp-title{
    max-width:12ch;
  }

  .gp-filter-wrap{
    padding:.55rem;
  }

  .gp-card-body{
    padding:1.1rem 1.1rem 1.25rem;
  }

  .gp-card-title{
    font-size:1.55rem;
  }

  .gp-modal .modal-header,
  .gp-modal .modal-body,
  .gp-modal-fallback-header{
    padding-inline:1rem;
  }

  .gp-modal-actions{
    gap:.75rem;
    flex-direction:column;
    align-items:stretch;
  }

  .gp-modal-textlink{
    justify-content:flex-start;
    padding:.15rem 0;
  }

  .gp-modal-cta{
    width:100%;
  }

  .gp-detail-specs-head{
    padding-inline:1rem;
  }

  .gp-detail-specs .list-group-item{
    padding:.72rem 1rem;
  }
}
