:root{
  --blue1:#0b3b86;
  --blue2:#1e63c9;
  --yellow:#f4c430;
  --text:#0f172a;
  --muted:#475569;
  --bg:#f6f8fc;
  --card:#ffffff;

  --radius:18px;
  --radius2:22px;

  --shadow:0 12px 30px rgba(15,23,42,.08);
  --shadow2:0 18px 45px rgba(15,23,42,.10);
}

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

#ponuka{ scroll-margin-top: 90px; }

/* ===== HERO ===== */
.page-hero{
  background: linear-gradient(90deg, var(--blue1), var(--blue2));
  padding: 80px 18px 70px;
}
.hero-inner{ max-width:1100px; margin:0 auto; }
.hero-badge{
  display:inline-block;
  background: var(--yellow);
  color:#111827;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}
.hero-title{
  margin: 18px 0 10px;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  color:#fff;
}
.hero-subtitle{
  max-width: 760px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  line-height: 1.7;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-btn{
  display:inline-block;
  background: var(--yellow);
  color:#111827;
  font-weight: 900;
  padding: 14px 22px;
  border-radius: 12px;
  border: 5px solid var(--yellow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

/* ===== SECTION ===== */
.page-section{ padding: 48px 0 60px; }
.container-merch{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section-title{
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.section-title span{ color: var(--blue2); }
.section-subtitle{
  margin:0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ===== GRID (responzívne + 3+3+1 na desktop) ===== */
.merch-grid{
  display:grid;
  gap: 22px;
  margin-top: 20px;
}

/* Desktop: 3 stĺpce */
@media (min-width: 992px){
  .merch-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablet: 2 stĺpce */
@media (min-width: 640px) and (max-width: 991.98px){
  .merch-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobil: 1 stĺpec */
@media (max-width: 639.98px){
  .merch-grid{ grid-template-columns: 1fr; }
}

/* posledný prvok (7.) vycentruj na desktop */
@media (min-width: 992px){
  .merch-grid--center-last > :nth-child(7){
    grid-column: 2;          /* stredný stĺpec */
  }
}

/* ===== CARD (väčšie) ===== */
.merch-card{
  appearance:none;
  border: 1px solid rgba(15,23,42,.06);
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  cursor:pointer;
  text-align:left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  min-height: 300px;
}

/* border na hover */
.merch-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
  border-color: rgba(244,196,48,.95);
}

/* border iba pri kliknutí (len jedna karta) */
.merch-card.is-active{
  border-color: rgba(244,196,48,.95);
  box-shadow: 0 0 0 4px rgba(244,196,48,.20), var(--shadow2);
}
.merch-card:focus{ outline:none; }

.merch-thumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.merch-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.merch-info{ padding-top: 12px; }
.merch-name{
  font-weight: 900;
  font-size: 15px;
  line-height: 1.25;
}
.merch-note{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

/* ===== MODAL ===== */
.merch-modal{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: var(--shadow2);
}
.merch-modal-head{
  background: #fff;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.merch-close{ font-size: 28px; opacity: .6; }
.merch-close:hover{ opacity: 1; }
.merch-modal-body{ padding: 18px; }

.modal-grid{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 760px){
  .modal-grid{ grid-template-columns: 1fr; }
}

.modal-imgwrap{
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  overflow:hidden;
}

.slide-wrap{ position: relative; }
.slide-label{
  position:absolute;
  top: 10px;
  left: 10px;
  background: rgba(244,196,48,.92);
  color:#111827;
  font-weight: 900;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
}

.modal-imgwrap img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  aspect-ratio: 1 / 1;
}

/* šípky – čierne */
.carousel-control-prev,
.carousel-control-next{
  width: 56px;
  opacity: 1;
}
.carousel-dark.carousel-control-prev-icon,
.carousel-dark.carousel-control-next-icon{
  background-color: rgba(0,0,0,.78) !important;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  background-size: 16px 16px;
}
.carousel-control-prev:hover .carousel-dark.carousel-control-prev-icon,
.carousel-control-next:hover .carousel-dark.carousel-control-next-icon{
  background-color: rgba(0,0,0,.95) !important;
}

.modal-desc{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.85;
}
.modal-meta{
  color: rgba(71,85,105,.95);
  font-weight: 800;
  font-size: 12px;
  background: rgba(244,196,48,.18);
  border: 1px solid rgba(244,196,48,.35);
  padding: 10px 12px;
  border-radius: 14px;
}
.modal-cta{
  display:flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* button */
.order-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--yellow);
  color:#111827;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid var(--yellow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.order-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
  color:#111827;
}
.order-btn-ghost{
  background: transparent;
  border: 2px solid rgba(15,23,42,.14);
  color: var(--text);
}
.order-btn-ghost:hover{ color: var(--text); }

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}
