:root {
  /* Hlavné firemné farby Sievert / quick-mix */
  --color-primary: #0b2750;       /* Tmavomodrá Sievert - primárna tmavá */
  --color-primary-dark: #7fc241;  /* Zelená - sekundárna tmavá pre hover */
  --color-accent: #FFC20E;        /* quick-mix Žltá */
  --color-accent-hover: #ffd947;

  --bg-dark: #0b2750; /* Tmavomodrá Sievert */

  /* Farby jednotlivých značiek koncernu */
  --brand-quickmix: #FFC20E;     /* Žltá */
  --brand-akurit: #E35205;       /* Oranžová */
  --brand-tubag: #617D36;        /* Zelená */
  --brand-hahne: #009BB6;        /* Tyrkysová */

  /* Neutrálne farby */
  --color-dark: #1E252B;
  --color-gray-dark: #4A5568;
  --color-gray-light: #F4F5F7;
  --color-white: #FFFFFF;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
}

.page-header {
  text-transform: uppercase;
  line-height: 2.5rem;
  height: auto;
  background: #0b2750;
  font-size: 1.25rem;
  border-bottom: none;
  padding: 0;
  margin: 2rem 0;
  color: #fff;
}


h1.page-header::before {
  display: inline-block;
  height: 2.5rem;
  width: 2.5rem;
  margin-right: 1.25rem;
  background: #7fc241;

  content: "";
  vertical-align: bottom;

}

/* LOGÁ ZNAIEK v obsahu – zmenšené na 50 % prirodzenej veľkosti */
.brand-logo {
  width: 50%;
  max-width: 118px; /* 50 % z prirodzenej šírky loga Sievert (236 px) */
  height: auto;
}

/* NADPIS STRÁNKY – veľký tmavý nadpis priamo v bielom obsahu,
   centrovaný, s celou zelenou linkou pod ním */
.page-title {
  margin: 1.5rem 0 2rem;
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid #7fc241;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-primary);
}

/* Úprava tlačidla výzvy k akcii (CTA) v žltej quick-mix farbe */
.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-weight: 700;
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators [data-bs-target] {
  background-color: #ccc;
}

.kostky{
  width: 200px;
  height: auto;
}

.brand-cards {
  background: transparent;
}

/* Akcentový pásik pre karty značiek podľa ich reálnej farby */
.brand-card--quickmix { border-top: 4px solid var(--brand-quickmix); }
.brand-card--akurit { border-top: 4px solid var(--brand-akurit); }
.brand-card--tubag { border-top: 4px solid var(--brand-tubag); }
.brand-card--hahne { border-top: 4px solid var(--brand-hahne); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--color-dark); background-color: var(--color-white); line-height: 1.6; }

/* Sticky footer – ak je obsahu málo, patička drží na spodku okna */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh; /* lepšie pre mobilné prehliadače s dynamickou lištou */
}

.site-footer { margin-top: auto; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container-max-width); margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }
.bg-light { background-color: var(--color-gray-light); }

/* BRAND BAR */
.brand-bar { background-color: var(--color-dark); color: var(--color-white); font-size: 13px; padding: 8px 0; }
.brand-bar__container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.brand-bar__nav { display: flex; gap: 8px; }
.brand-chip { padding: 3px 10px; background: rgba(255,255,255,0.1); border-radius: var(--radius-sm); color: #ccc; transition: 0.2s; }
.brand-chip.active, .brand-chip:hover { background: var(--color-primary); color: #fff; font-weight: 600; }
.brand-bar__right { display: flex; gap: 15px; }
.top-link { color: #ccc; }
.top-link:hover { color: #fff; }

/* HEADER */
.site-header { background-color: var(--color-primary) !important; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.navbar {
  padding: 0;
  background: transparent !important;
}

.main-nav__list { display: flex; list-style: none; gap: 25px; margin: 0; padding: 0; }
.main-nav__link { font-weight: 600; font-size: 15px; color: #fff; }
.main-nav__link:hover { color: var(--color-primary-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Navbar toggler for mobile */
.navbar-toggler {
  border: none;
  padding: 0;
}

/* No ugly outline on click (keyboard focus ring stays) */
.navbar-toggler:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mega Menu - Desktop */
@media (min-width: 992px) {
  .main-nav__list > li.dropdown {
    position: static !important;
  }

  .main-nav__item > .dropdown-menu {
    position: fixed !important;
    top: 80px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 600px !important; /* 50% of the 1200px container */
    min-width: 0 !important;
    margin: 0 !important;
    z-index: 9999 !important;
    display: none;
    background-color: #fff;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding-top:0;
    padding-bottom:0;
  }

  /* Bootstrap 5 adds .show to the dropdown-menu itself */
  .main-nav__item > .dropdown-menu.show,
  .main-nav__item.dropdown.show > .dropdown-menu {
    display: block !important;
  }

  .mega-menu {
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* Accordion in mega menu */
.accordion-item {
  border: none;
  border-bottom: 1px solid #eee;
}

.accordion-button {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 15px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-primary-dark);
  color: #fff;
}

/* Remove light focus ring around clicked (active) accordion button */
.accordion-button:focus:not(:focus-visible) {
  border-color: transparent;
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  padding: 15px 20px;
  background-color: #f8f9fa;
}

.accordion-body a {
  display: block;
  padding: 8px 0;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
}

.accordion-body a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile Menu - Hidden by default */
.mobile-menu {
  display: none;
}

/* Mobile icons inside menu - hidden (icons only in header) */
.mobile-icons {
  display: none !important;
}

/* LANGUAGE SELECTOR */
.language-selector {
  margin-right: 8px;
}

.dropdown-menu {
  min-width: 140px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: rgba(0, 56, 114, 0.05);
  color: var(--color-primary);
}

.dropdown-item.active {
  background-color: var(--color-primary);
  color: #fff;
}

/* SEARCH BUTTON & MODAL */
.btn-search {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-search:hover {
  color: var(--color-primary-dark);
}

/* SEARCH MODAL - SLIDE FROM TOP */
.slide-from-top.modal .modal-dialog {
  transform: translateY(-100%);
  transition: transform 0.3s ease-out;
  max-width: 500px;
  margin: 0 auto;
}

.slide-from-top.modal.show .modal-dialog {
  transform: translateY(0);
}

.slide-from-top .modal-content {
  border-radius: 0 0 12px 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-modal .modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
}

.search-modal .modal-body {
  padding: 20px;
}

.search-modal .form-control {
  border-radius: 6px 0 0 6px;
  font-size: 16px;
}

.modal-body .btn-primary {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary) !important;
  border-radius: 6px;
  font-weight: 600;
}

.modal-body .btn-primary:hover {
  background-color: #fff !important;
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

#navbarNav {
  margin-right: 25px;
}

/* HERO (Swiss Style) */
.hero { padding: 30px 0; }
.hero__container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero__badge { background: var(--color-primary); font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; letter-spacing: 1px; }
.hero__title { font-size: 42px; line-height: 1.2; margin: 15px 0; font-weight: 800; }
.hero__text { font-size: 18px; color: margin-bottom: 25px; }
.hero__actions { display: flex; gap: 15px; }
.hero__image { width: 100%; height: 350px; object-fit: cover; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* BUTTONS */
.btn { padding: 12px 24px; font-weight: 700; border-radius: var(--radius-sm); display: inline-block; transition: 0.2s; }
.btn--primary { background: var(--color-primary); color: #fff; border: 2px solid var(--color-primary); }
.btn--primary:hover { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline { border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }

.btn-lang {
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  height: 36px;
  width: 36px;
}

.btn-lang:hover {
  color: var(--color-primary-dark);
}

/* BRAND CARDS GRID - Full width, one row */
.brand-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* grid-template-columns: repeat(5, 1fr); */
  gap: 20px;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1920px;
}

.brand-logo-wrapper {
  background: #fff;
  padding: 20px;
  border-radius: 0;
  margin: 0 0 15px 0;
  width: 100%;
}

.brand-logo {
  max-width: 100%;
  height: auto;
  display: block;
}
/*
.brand-card {
  background: #fff;
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
  */

.brand-card {
      position: relative;
      padding: 20px;
      border-radius: 8px;
      overflow: hidden;
      color: white; /* Biela farba textu pre lepšiu čitateľnosť na tmavšom pozadí */
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 250px;
      background-size: cover;
      background-position: center;
}
/* Stmavenie pozadia (overlay) pre lepšiu čitateľnosť */
.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Polopriesvitná čierna */
  z-index: 1;
}
/* Zabezpečenie, že obsah je nad overlayom */
.brand-card > * {
  position: relative;
  z-index: 2;
}  

.brand-card.card-quick-mix {
      background-image: url('/img/cihly.png');
    }

.brand-card.card-akurit {
      background-image: url('/img/omítka.png');
    }

.brand-card.card-tubag {
      background-image: url('/img/renovace.png');
    }
.brand-card.card-strasser {
      background-image: url('/img/dlažba.png');
    }
.brand-card.card-maltop {
      background-image: url('/img/podlaha.png');
    }



.brand-logo {
  max-width: 100px;
  height: auto;
  display: block;
}
.brand-card p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary-dark);
  margin-top: auto;
}

.mega-dropdown {
  position: static !important;
}

#block-onas .wrapper-kontakt {
  background: url(/img/spolecnost.jpg);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
  background-repeat: no-repeat;
  background-position: 10px 10px;
}

#block-kontakt .wrapper-kontakt {
  background: url(../img/kontakt.jpg);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
  background-repeat: no-repeat;
  background-position: 10px 10px;
}

.region-pata .block {
  border: 1px solid #d9d9d9;
  position: relative;
  height: 100%;
}

.adresa {
  width: 70%;
  float: left;
}

.qr-code {
  width: 30%;
  float: left;
}

.qr-code img {
  width: 100%;
  height: auto;
}

.pata {
  background: #d9d9d9;
}

.wrapper-kontakt {
  padding: 10px 30px 40px 100px;
}

/* NEWS GRID */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.news-card { background: #ddd; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding-bottom: 20px; position:relative;}
.news-card__image img { width: 100%; height: 300px; object-fit: cover; }
.news-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.news-card__date { font-size: 12px; color: #888; font-weight: 600; }
.news-card__title { font-size: 18px; margin: 8px 0; line-height: 1.3; }
.news-card__excerpt { font-size: 14px; color: var(--color-gray-dark); margin-bottom: 15px; flex-grow: 1; }
.news-card .btn-link {
  color: var(--color-primary) !important;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  position: absolute;
  bottom: 20px;
}

/* FOOTER */
.site-footer { background-color: var(--color-primary) !important; color: #ccc; padding-top: 50px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 15px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 13px; text-align: center; color: #ccc; }


/* RESPONSIVE */
@media (max-width: 991px) {
  .hero__container { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }

  .site-header__container {
    flex-wrap: wrap;
  }

  /* Logo */
  .site-header__logo {
    width: 120px;
  }

  .site-header__logo img {
    width: 100% !important;
    height: auto;
  }

  /* Navbar collapse - full width below header */
  .navbar {
    position: static;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-primary);
    padding: 15px;
    z-index: 999;
  }

  .main-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .main-nav__item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-nav__item:last-child {
    border-bottom: none;
  }

  .main-nav__link {
    display: block;
    padding: 12px 10px;
    color: #fff !important;
    font-size: 16px;
  }

  .main-nav__link:hover {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
  }

  /* Mega menu dropdown in mobile */
  .main-nav__item .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    background: rgba(255,255,255,0.1);
  }

  .mega-menu {
    max-height: none;
  }

  .main-nav__item .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: transparent;
  }

  .main-nav__item .accordion-button {
    background-color: transparent !important;
    color: #fff !important;
    font-size: 14px;
    padding: 10px;
  }

  .main-nav__item .accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--color-primary-dark) !important;
  }

  .main-nav__item .accordion-button::after {
    filter: invert(1);
  }

  .main-nav__item .accordion-body {
    padding: 5px 10px 10px 20px;
    background: transparent;
  }

  .main-nav__item .accordion-body a {
    color: #fff !important;
    padding: 5px 0;
    display: block;
  }

  /* Language dropdown - keep as normal dropdown with white bg */
  .language-selector {
    position: relative;
  }

  .language-selector .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff !important;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .language-selector .dropdown-item {
    color: var(--color-dark);
  }

  .language-selector .dropdown-item.active {
    background-color: var(--color-primary);
    color: #fff;
  }

  .language-selector .dropdown-item:hover {
    background-color: rgba(0, 56, 114, 0.05);
    color: var(--color-primary);
  }

  .accordion-body a:hover {
    color: var(--color-primary-dark);
  }

  /* Header icons in mobile */
  .header-icons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
  }

  .btn-lang, .btn-search {
    color: #fff !important;
  }

  .btn-search {padding:0 25px 0 0;}

  /* Brand cards on mobile */
  .brand-cards__grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
}
/* PRODUCT PAGE */
.produkt .row {
  position: relative;
}

.produkt .field--name-field-obrazek-produktu {
  position: relative;
  z-index: 2;
}

.produkt .product-image-link {
  display: block;
}

.produkt .product-image-link img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.produkt .product-image-link img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* PRODUCT IMAGE MODAL */
#productImageModal .modal-body img {
  max-height: 90vh;
  width: auto;
  border-radius: var(--radius-md);
}

.product-image-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px;
  border-radius: 50%;
}

/* DOKUMENTY – tabs */
.dokumenty {
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0 15px;
}

.dokumenty-tabs .nav-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

.dokumenty-tabs .nav-link.active {
  color: var(--color-dark);
  border-bottom-color: #fff;
}

.dokumenty-tab-content {
  border: 1px solid #dee2e6;
  border-top: none;
  padding: 15px;
  /* Aby patička neposkakovala pri prepnutí záložky s iným počtom súborů */
  min-height: 160px;
}

.dokumenty-vypis .field--item {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.dokumenty-vypis .field--item:last-child {
  border-bottom: none;
}

.dokumenty-vypis .file-icon {
  font-size: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.dokumenty-vypis .file-link a {
  color: var(--color-primary);
  font-weight: 600;
}

.dokumenty-vypis .file-link a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.dokumenty-vypis .file-size {
  color: var(--color-gray-dark);
  font-size: 12px;
  margin-left: 10px;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  padding: 10px 0;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb .br-popis {
  color: var(--color-gray-dark);
  font-weight: 600;
}

/* Oddeľovač medzi položkami – šípka */
.breadcrumb li + li {
  padding-left: 4px;
}

.breadcrumb li + li::before {
  content: '›';
  display: inline-block;
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1;
  padding-right: 8px;
  font-weight: 700;
}

/* Za „Nacházíte se zde:" je dvojbodka už v HTML, netreba ju dávať ani zo CSS */
.breadcrumb .br-popis + li {
  padding-left: 0;
}

.breadcrumb .br-popis + li::before {
  content: none;
}

.breadcrumb a {
  color: var(--color-primary);
  transition: 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb .active {
  color: var(--color-gray-dark);
  font-weight: 600;
}

/* DOKUMENTY tabs – mobil: záložky pod sebou */
@media (max-width: 767.98px) {
  .dokumenty-tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .dokumenty-tabs .nav-item {
    width: 100%;
  }

  .dokumenty-tabs .nav-link {
    border: 1px solid #dee2e6;
    border-radius: 0;
    text-align: left;
    padding: 10px 15px;
  }

  /* zjednotenie susedných okrajov, aby nevznikla dvojitá čiara */
  .dokumenty-tabs .nav-item + .nav-item .nav-link {
    margin-top: -1px;
  }

  /* aktívna záložka vizuálne nadväzuje na obsahový panel */
  .dokumenty-tabs .nav-link.active {
    background-color: var(--color-gray-light);
    border-right-color: var(--color-gray-light);
    position: relative;
    z-index: 1;
  }

  .dokumenty-tab-content {
    min-height: 0;
    border-top: 1px solid #dee2e6;
  }
}

/* PRODUCT CATEGORY CARDS (Naše produkty) */
.product-cards {
  background: #d9d9d9;
  margin-bottom: 40px; /* biela medzera pred sekciou Naše značky */
}
.product-cards h2 strong {
  font-weight: 900;
}

/* Rovnaká šírka/odsadenie ako .brand-cards__grid, ale vždy 5 kariet v rade */
.product-cards__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0 auto 20px;
  padding: 0 20px;
  max-width: 1920px;
  align-items: stretch; /* karty v rade majú rovnakú výšku */
}

.product-card {
  --card-text: #fff;
  background: #fff;
  color: var(--color-dark);
  border-radius: 8px;
  overflow: hidden;
  min-height: 250px; /* ako .brand-card */
  /* subgrid: farebné hlavičky v jednom rade majú rovnakú výšku */
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.product-card__title {
  background: var(--cat-color);
  color: var(--card-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  padding: 15px 20px;
  margin: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
}

.product-card__links {
  list-style: none;
  margin: 0;
  padding: 15px 20px 20px;
}
.product-card__links li + li {
  margin-top: 6px;
}
.product-card__links a {
  display: inline-block;
  padding-left: 14px;
  position: relative;
  font-size: 14px; /* ako text v .brand-card */
  line-height: 1.35;
  color: var(--color-dark);
  text-decoration: none;
}
.product-card__links a::before {
  content: "›";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--cat-color); /* šípka vo farbe kategórie */
}
.product-card__links a:hover,
.product-card__links a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1199.98px) {
  .product-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .product-cards__grid { grid-template-columns: 1fr; padding: 0 15px; }
}
