/* ==========================================================================
   Postavgril – core.css: lehký redesign celého webu (Shoptet, šablona 13)
   Načítá se v záhlaví po CSS šablony → stačí stejně silné selektory.
   Navazuje na vlastní widgety pg-reviews a pg-about (tmavá #01161e,
   červená #cd3d2f, žlutá #ffc807, radius 20 / 14 / 10 px).

   Obsah:
    0. Tokeny          5. Nadpisy, drobečky    10. Bloky v popisech produktů
    1. Základ          6. Úvodní stránka       11. Patička
    2. Horní lišta     7. Produktové karty     12. Mobil
    3. Hlavička        8. Kategorie            13. Omezení animací
    4. Menu            9. Detail produktu
   ========================================================================== */

/* ---------- 0. Tokeny ---------- */
:root {
  --pg-red: #cd3d2f;
  --pg-red-dark: #b5321f;
  --pg-dark: #01161e;
  --pg-yellow: #ffc807;
  --pg-text: #1f1f1f;
  --pg-muted: #5c5c5c;
  --pg-line: #e9e9e9;
  --pg-soft: #f6f6f6;
  --pg-r-lg: 20px;
  --pg-r-md: 14px;
  --pg-r-sm: 10px;
  --pg-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  --pg-shadow-hover: rgba(1, 22, 30, 0.12) 0 16px 36px;
  --pg-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 1. Základ ---------- */
body.template-13 {
  color: var(--pg-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(205, 61, 47, 0.18); }

.template-13 h1,
.template-13 .h1,
.template-13 h2,
.template-13 .h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--pg-dark);
}

/* tlačítka – jednotně radius 10 px, tučně */
.template-13 .btn {
  border-radius: var(--pg-r-sm);
  font-weight: 800;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.template-13 .btn:active { transform: translateY(1px); }
.template-13 .btn.btn-primary,
.template-13 a.btn.btn-primary {
  border-width: 2px;
}
.template-13 .btn.btn-primary:hover,
.template-13 a.btn.btn-primary:hover {
  background-color: var(--pg-red);
  border-color: var(--pg-red);
  color: #fff;
}
.template-13 .btn.btn-conversion,
.template-13 a.btn.btn-conversion {
  background-color: var(--pg-red);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(205, 61, 47, 0.28);
}
.template-13 .btn.btn-conversion:hover,
.template-13 a.btn.btn-conversion:hover {
  background-color: var(--pg-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(1, 22, 30, 0.25);
}
.template-13 .btn:focus-visible,
.template-13 a:focus-visible {
  outline: 3px solid var(--pg-yellow);
  outline-offset: 2px;
}

/* formuláře */
.template-13 input[type="text"],
.template-13 input[type="email"],
.template-13 input[type="password"],
.template-13 input[type="tel"],
.template-13 input[type="search"],
.template-13 input[type="number"],
.template-13 textarea,
.template-13 select {
  border-radius: var(--pg-r-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.template-13 input[type="text"]:focus,
.template-13 input[type="email"]:focus,
.template-13 input[type="password"]:focus,
.template-13 input[type="tel"]:focus,
.template-13 input[type="search"]:focus,
.template-13 input[type="number"]:focus,
.template-13 textarea:focus,
.template-13 select:focus {
  border-color: var(--pg-red);
  box-shadow: 0 0 0 3px rgba(205, 61, 47, 0.15);
  outline: 0;
}

/* hvězdičky hodnocení – žlutá jako ve widgetu recenzí */
.template-13 .stars .star.star-half:before,
.template-13 .stars .star.star-on:before { color: var(--pg-yellow); }

/* štítky produktů */
.template-13 .flag {
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- 2. Horní lišta – tmavá jako sekce recenzí ---------- */
@media (min-width: 768px) {
  .template-13 .top-navigation-bar {
    background-color: var(--pg-dark);
    border-color: var(--pg-dark);
  }
  .template-13 .top-navigation-bar a,
  .template-13 .top-navigation-bar button,
  .template-13 .top-navigation-bar .dropdown-toggle,
  .template-13 .top-navigation-bar .top-navigation-menu-trigger {
    color: rgba(255, 255, 255, 0.78);
    transition: color .2s ease;
  }
  .template-13 .top-navigation-bar a:hover,
  .template-13 .top-navigation-bar button:hover,
  .template-13 .top-navigation-bar .top-navigation-menu-trigger:hover {
    color: #fff;
    text-decoration: none;
  }
  .template-13 .top-navigation-bar .dropdown-menu a,
  .template-13 .top-navigation-bar .dropdown-menu a:hover { color: var(--pg-text); }
  .template-13 .top-navigation-bar .dropdown-menu {
    border-radius: 0 0 var(--pg-r-md) var(--pg-r-md);
    box-shadow: var(--pg-shadow);
    border-color: var(--pg-line);
  }
}

/* ---------- 3. Hlavička ---------- */
@media (min-width: 768px) {
  /* vyhledávání jako šedá „pilulka“ */
  .template-13 #header .search-form,
  .template-13 #header .search .search-form {
    border-radius: 999px;
    background: var(--pg-soft);
    border: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .template-13 #header .search-form:focus-within {
    background: #fff;
    border-color: rgba(205, 61, 47, 0.45);
    box-shadow: 0 0 0 3px rgba(205, 61, 47, 0.12);
  }
  .template-13 #header .search-form input,
  .template-13 #header .search-form input:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  /* košík */
  .template-13 #header .navigation-buttons a[data-target=cart] {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-r-md);
    background: #fff;
    box-shadow: var(--pg-shadow);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--pg-ease);
  }
  .template-13 #header .navigation-buttons a[data-target=cart]:hover {
    border-color: rgba(205, 61, 47, 0.35);
    box-shadow: var(--pg-shadow-hover);
    transform: translateY(-1px);
  }
}

/* ---------- 4. Hlavní menu – červený pás ---------- */
.template-13 #header .header-bottom { background: var(--pg-red); }

@media (min-width: 768px) {
  .template-13 .navigation-in { background-color: var(--pg-red); }
  .template-13 .navigation-in > ul > li {
    display: flex;
    align-items: center;
  }
  .template-13 .navigation-in > ul > li > a,
  .template-13 .navigation-in > ul > li.exp > a,
  .template-13 .navigation-in > ul > li > a:hover {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
  }
  .template-13 .navigation-in > ul > li > a b { font-weight: 700; }

  /* žlutá linka při najetí / u aktivní kategorie */
  .template-13 .navigation-in > ul > li > a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 14px;
    height: 3px;
    border-radius: 3px;
    background: var(--pg-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--pg-ease);
  }
  .template-13 .navigation-in > ul > li > a:hover,
  .template-13 .navigation-in > ul > li.exp > a { background-color: rgba(0, 0, 0, 0.12); }
  .template-13 .navigation-in > ul > li > a:hover::after,
  .template-13 .navigation-in > ul > li.exp > a::after,
  .template-13 .navigation-in > ul > li > a.active::after { transform: scaleX(1); }

  /* ikony kategorií (skript menu-icons.js) */
  .template-13 .menu-level-1 .img_cat {
    flex: 0 0 auto;
    width: 30px;
    height: auto;
    margin-right: 0;
    transition: transform .3s var(--pg-ease);
  }
  .template-13 .navigation-in > ul > li > a:hover .img_cat { transform: translateY(-2px) rotate(-6deg); }

  /* rozbalovací podmenu */
  .template-13 .navigation-in .menu-level-2 {
    border: 0;
    border-radius: 0 0 var(--pg-r-lg) var(--pg-r-lg);
    box-shadow: 0 24px 48px rgba(1, 22, 30, 0.16);
    overflow: hidden;
  }
  .template-13 .navigation-in .menu-level-2 a { transition: color .2s ease; }
  .template-13 .navigation-in .menu-level-2 a:hover { color: var(--pg-red); }
}

/* ---------- 5. Nadpisy sekcí, drobečková navigace ---------- */
.template-13 .breadcrumbs { font-size: 14px; }
.template-13 .breadcrumbs a {
  color: var(--pg-muted);
  text-decoration: none;
  transition: color .2s ease;
}
.template-13 .breadcrumbs a:hover { color: var(--pg-red); }

/* krátká žhavá linka pod nadpisy sekcí */
.template-13 .homepage-group-title,
.template-13 .products-header,
.template-13 .category-title {
  font-weight: 800;
  color: var(--pg-dark);
}
.template-13 .homepage-group-title::after,
.template-13 .products-related-header::after,
.template-13 .products-alternative-header::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pg-red), #ff8a00);
}
.template-13 .products-related-header::after,
.template-13 .products-alternative-header::after { margin-left: 0; }

/* ---------- 6. Úvodní stránka ---------- */
.template-13 .banners-row img,
.template-13 #carousel { border-radius: var(--pg-r-lg); }
.template-13 #carousel { overflow: hidden; box-shadow: var(--pg-shadow); }

/* benefity (Vyrobeno v ČR …) jako karty */
.template-13 .benefitBanner { gap: 16px; }
.template-13 .benefitBanner__item {
  gap: 14px;
  margin-bottom: 0;
  padding: 18px 20px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  background: #fff;
  box-shadow: var(--pg-shadow);
  transition: transform .3s var(--pg-ease), box-shadow .3s ease;
}
.template-13 .benefitBanner__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--pg-shadow-hover);
}
@media (min-width: 480px) {
  .template-13 .benefitBanner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-13 .benefitBanner__item { width: auto; }
}
@media (min-width: 992px) {
  .template-13 .benefitBanner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.template-13 .benefitBanner__picture { flex: 0 0 60px; width: 60px; max-width: 60px; }
.template-13 .benefitBanner__content { flex: 1 1 auto; width: auto; padding-right: 0; }
.template-13 .benefitBanner__title {
  font-family: var(--template-headings-font), sans-serif;
  font-weight: 800;
  color: var(--pg-dark);
}
.template-13 .benefitBanner__content { color: var(--pg-muted); line-height: 1.45; }

/* ---------- 7. Produktové karty ---------- */
/* vnější prvek = mezera mezi kartami (šířky počítá slider), karta = .p */
.template-13 .products-block > div {
  border-color: transparent;
  padding: 0 8px 16px;
}
.template-13 .products-block > div .p {
  height: 100%;
  padding-top: 10px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  background: #fff;
  overflow: hidden;            /* obrázek nepřeteče zaoblené rohy */
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--pg-ease);
}
.template-13 .products-block > div:hover { box-shadow: none; }   /* stín šablony – teď ho kreslí .p */
.template-13 .products-block > div:hover .p-in-in a { text-decoration: none; }
.template-13 .products-block > div:hover .p {
  border-color: rgba(205, 61, 47, 0.25);
  box-shadow: var(--pg-shadow-hover);
  transform: translateY(-4px);
}
/* slider karet potřebuje místo na stín a zvednutí */
.template-13 .product-slider-holder .products-block { padding-top: 6px; }

.template-13 .products-block > div .p .image { overflow: hidden; border-radius: var(--pg-r-md); }
.template-13 .products-block > div .p .image img {
  border-radius: var(--pg-r-md);
  transition: transform .5s var(--pg-ease);
}
.template-13 .products-block > div:hover .p .image img { transform: scale(1.04); }

.template-13 .products-block > div .p .name {
  font-weight: 600;
  color: var(--pg-text);
  transition: color .2s ease;
}
.template-13 .products-block > div .p .name:hover { color: var(--pg-red); text-decoration: none; }

.template-13 .products-block .p .price-final strong {
  font-family: var(--template-headings-font), sans-serif;
  font-weight: 800;
  color: var(--pg-dark);
}
.template-13 .products-block .p .price-final small { font-weight: 600; color: var(--pg-muted); }

/* spodní část karty – bez šedého podkladu, čistě bílá */
@media (min-width: 768px) {
  .template-13 .products-block .p-bottom { background: transparent; }
}

/* tlačítko Detail / Do košíku v kartě */
.template-13 .products-block > div .p .p-bottom > div .p-tools .btn,
.template-13 .products-block > div .p .p-bottom > div .p-tools .btn.btn-cart {
  border: 2px solid var(--pg-red);
  border-radius: var(--pg-r-sm);
  background: var(--pg-red);
  color: #fff;
}
.template-13 .products-block > div:hover .p .p-bottom > div .p-tools .btn,
.template-13 .products-block > div .p .p-bottom > div .p-tools .btn:hover {
  border-color: var(--pg-dark);
  background: var(--pg-dark);
  color: #fff;
}

/* množství v kartách se nezobrazuje (stejně jako dřív) */
.template-13 .products-wrapper .quantity,
.template-13 .products .quantity { display: none; }

/* tečky a šipky sliderů */
.template-13 .product-slider-holder .product-slider-pagination .pagination-button {
  border-radius: 999px;
  transition: width .3s ease, background-color .3s ease;
}
.template-13 .product-slider-holder .product-slider-pagination .pagination-button.active {
  width: 24px;
  background: linear-gradient(90deg, var(--pg-red), #ff8a00);
}

/* ---------- 8. Kategorie ---------- */
.template-13 .category-perex,
.template-13 .category__secondDescription { color: #3a3a3a; line-height: 1.65; }

.template-13 .banner-category img { border-radius: var(--pg-r-lg); }

/* podkategorie jako dlaždice */
.template-13 .subcategories { margin: 0 -6px 20px; }
.template-13 .subcategories li { padding: 6px !important; }
.template-13 .subcategories li a {
  min-height: 84px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-md);
  background-color: #fff;
  box-shadow: var(--pg-shadow);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--pg-ease);
}
.template-13 .subcategories li a:hover {
  border-color: rgba(205, 61, 47, 0.35);
  box-shadow: var(--pg-shadow-hover);
  transform: translateY(-2px);
}
.template-13 .subcategories li a:hover .text {
  color: var(--pg-red);
  text-decoration: none;
}

/* řazení, stránkování, „Zobrazit více“ */
.template-13 .pagination .pagination__list .pagination__link,
.template-13 .btn.loadMore__button,
.template-13 a.btn.goToTop__button {
  border-width: 2px;
  border-radius: var(--pg-r-sm);
  font-weight: 800;
}
.template-13 .pagination .pagination__list .pagination__link:hover,
.template-13 .btn.loadMore__button:hover,
.template-13 a.btn.goToTop__button:hover {
  background-color: var(--pg-red);
  border-color: var(--pg-red);
  color: #fff;
}

/* legenda (kategorie Redukce) */
.legend {
  padding: 20px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  background: #fff;
  box-shadow: var(--pg-shadow);
}
.legend ul { list-style: none; padding: 0; }
.legend ul li { display: flex; gap: 1rem; padding-bottom: 0; }
.legend ul li:before { display: none; }
.legend ul li span {
  display: block;
  flex-shrink: 0;
  width: 30px !important;
  height: 20px;
  margin-top: 3px;
  border-radius: 10px;
}
.legend ul li span.blue { background: #05bff1; }
.legend ul li span.red { background: #af1211; }
.legend ul li span.green { background: #02a131; }

/* ---------- 9. Detail produktu ---------- */
@media (min-width: 1200px) {
  .template-13 .p-image-wrapper {
    position: sticky;
    top: 1px;
    height: 100%;
  }
}
@media (min-width: 992px) {
  .template-13.type-product .breadcrumbs {
    width: 50%;
    margin-top: 20px;
    margin-left: auto;
    padding-bottom: 0;
    padding-left: 0;
  }
}

.template-13 .p-image img { border-radius: var(--pg-r-lg); }
.template-13 .p-thumbnails a,
.template-13 .p-thumbnails img {
  border-radius: var(--pg-r-sm);
}
.template-13 .p-thumbnails a {
  border: 1px solid var(--pg-line);
  overflow: hidden;
  transition: border-color .2s ease;
}
.template-13 .p-thumbnails a:hover,
.template-13 .p-thumbnails a.highlighted { border-color: var(--pg-red); }

.template-13 .p-final-price-wrapper .price-final {
  font-weight: 800;
  color: var(--pg-dark);
}

/* box s cenou a tlačítkem do košíku */
.template-13 .p-to-cart-block {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.08), 0 3px 10px rgba(17, 24, 39, 0.05);
}
.template-13 .add-to-cart-button,
.template-13 .cart-related-button .btn.btn-sm,
.template-13 .surcharge-list select,
.template-13 .variant-list select {
  height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 50px;
  border-radius: var(--pg-r-sm);
}
.template-13 .add-to-cart-button { padding-left: 28px; padding-right: 28px; }
.template-13 .quantity { border-radius: var(--pg-r-sm); overflow: hidden; }

@media (min-width: 768px) {
  .template-13 .surcharge-list,
  .template-13 .variant-list {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 50px;
    padding: 20px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-r-lg);
    background: #f7f7f8;
  }
}

/* parametry v detailu */
.template-13 table.detail-parameters { margin-top: 0 !important; }
.template-13 table.detail-parameters th,
.template-13 table.detail-parameters td { border-color: var(--pg-line); }

/* záložky Popis / Parametry / Hodnocení */
.template-13 .shp-tabs-wrapper { border-bottom: 1px solid var(--pg-line); }
.template-13 .shp-tabs-holder ul.shp-tabs a.shp-tab-link {
  position: relative;
  color: var(--pg-muted);
  text-decoration: none;
  transition: color .2s ease;
}
.template-13 .shp-tabs-holder ul.shp-tabs a.shp-tab-link::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--pg-red);
  transform: scaleX(0);
  transition: transform .3s var(--pg-ease);
}
.template-13 .shp-tabs-holder ul.shp-tabs a.shp-tab-link:hover,
.template-13 .shp-tabs-holder ul.shp-tabs .active a.shp-tab-link,
.template-13 .shp-tabs-holder ul.shp-tabs a.shp-tab-link.active { color: var(--pg-dark); }
.template-13 .shp-tabs-holder ul.shp-tabs a.shp-tab-link:hover::after,
.template-13 .shp-tabs-holder ul.shp-tabs .active a.shp-tab-link::after,
.template-13 .shp-tabs-holder ul.shp-tabs a.shp-tab-link.active::after { transform: scaleX(1); }

@media (min-width: 1200px) {
  .template-13 .extended-description {
    max-width: 600px !important;
    width: auto !important;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--pg-line);
    border-radius: var(--pg-r-lg);
    box-shadow: var(--pg-shadow);
  }
}

/* souhrn hodnocení obchodu / produktu */
.rate-wrap { display: flex; justify-content: center; }
.rate-average-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  line-height: 1;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  box-shadow: var(--pg-shadow);
}

/* ---------- 10. Bloky v popisech produktů (HTML v popisu) ---------- */
.para_block .parameters table { width: 100%; }

.short_redukce {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  box-shadow: var(--pg-shadow);
}
.short_redukce h3 { margin-top: 5px !important; }
.short_redukce p { margin-bottom: 5px !important; }
.short_redukce p.short_redukce_lead { font-weight: 600; }
.short_redukce p.short_redukce_lead span { color: var(--pg-red); }
.short_redukce img { width: 150px; height: 120px; }

.product_detail .detail-button-secondary {
  display: inline-block;
  margin-top: 20px !important;
  padding: 12px 30px;
  border-radius: var(--pg-r-sm);
  background: var(--pg-dark);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.product_detail .detail-button-secondary:hover {
  background: var(--pg-red);
  color: #fff !important;
}

.product_detail div.jehly div.prolog { max-width: 700px; margin: 0 auto; text-align: center; }
.product_detail div.jehly div.choose { display: flex; }
.product_detail div.jehly div.choose .item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform .4s var(--pg-ease);
}
.product_detail div.jehly div.choose .item:hover { transform: scale(1.06); }
.product_detail div.jehly div.choose .item img {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  box-shadow: var(--pg-shadow);
}

.product_detail div.gift { padding-block: 50px; margin-block: 50px; }
.product_detail div.gift img { border-radius: var(--pg-r-lg); }

/* pás s parametry – dřív obrázek ohně z cizího webu, teď vlastní žhavý gradient */
.product_detail div.para_block {
  margin-block: 50px;
  padding: 50px 20px;
  border-radius: var(--pg-r-lg);
  background-color: var(--pg-dark);
  background-image:
    radial-gradient(700px 360px at 0% 100%, rgba(205, 61, 47, 0.45), transparent 65%),
    radial-gradient(600px 320px at 100% 0%, rgba(255, 140, 0, 0.2), transparent 65%),
    linear-gradient(180deg, #021c26 0%, #01161e 100%);
}
.product_detail div.parameters {
  max-width: 500px;
  margin: 0 auto;
  margin-block: 50px;
  padding: 24px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-lg);
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}
.product_detail div.para_block div.parameters { margin-block: 0; }
.product_detail div.parameters h3 { margin-top: 0; }
.product_detail div.parameters table tr { height: 40px; border-bottom: 1px solid var(--pg-line); }
.product_detail div.parameters table tr:last-child { border-bottom: 0; }
.product_detail div.parameters strong { padding-right: 5px; }

.product_detail div.redukce {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-md);
  box-shadow: var(--pg-shadow);
}
.product_detail div.redukce img { width: 200px; }
.product_detail div.redukce h4 { font-size: 30px; }
.product_detail div.redukce .inter { display: flex; align-items: center; gap: 2rem; }

.product_detail div.service {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-r-md);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.product_detail div.service:hover { border-color: rgba(205, 61, 47, 0.3); box-shadow: var(--pg-shadow); }
.product_detail div.service img { width: 60px; height: 60px; }
.product_detail div.service h3 { margin: 0 !important; }

.product-widget img { width: 100%; }

/* ---------- 11. Patička ---------- */
.template-13 .footer { border-top: 0; }
.template-13 .custom-footer .pageElement__heading {
  font-weight: 800;
  color: var(--pg-dark);
}
.template-13 .custom-footer .pageElement__heading::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pg-red), #ff8a00);
}
/* odkazy na články ve sloupci (Shoptet je vypisuje jako h4) – jako běžné odkazy */
.template-13 .custom-footer .newsItemWidget__heading {
  font-family: var(--template-font), sans-serif;
  font-size: 16px;
  font-weight: 400;
}
.template-13 .custom-footer a {
  text-decoration: none;
  transition: color .2s ease, padding-left .25s var(--pg-ease);
}
.template-13 .custom-footer__articles a:hover,
.template-13 .custom-footer__section2 a:hover {
  color: var(--pg-dark);
  padding-left: 4px;
}
.template-13 .custom-footer__login,
.template-13 .custom-footer [class*="login"] form {
  border-radius: var(--pg-r-lg);
}
.template-13 .footer-bottom {
  border-top: 1px solid var(--pg-line);
  color: var(--pg-muted);
  font-size: 14px;
}

/* ---------- 12. Mobil ---------- */
@media (max-width: 767px) {
  .template-13 .products-block > div { margin-bottom: 0; }   /* mezeru dělá padding */
  .template-13 .products-block > div:hover .p { transform: none; }
  .template-13 .homepage-group-title::after { margin-top: 10px; }
  /* benefity 2 × 2, ikona nad textem */
  .template-13 .benefitBanner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .template-13 .benefitBanner__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: auto;
    padding: 14px;
  }
  .template-13 .benefitBanner__picture { flex: 0 0 auto; width: 48px; max-width: 48px; }
  .template-13 .benefitBanner__title { font-size: 15px; line-height: 1.25; }
  .template-13 .benefitBanner__content { font-size: 13.5px; }
  .product_detail div.service { gap: 1rem; }
  .product_detail div.jehly div.choose { flex-wrap: wrap; justify-content: center; }
}

/* ---------- 13. Omezení animací ---------- */
@media (prefers-reduced-motion: reduce) {
  .template-13 *,
  .template-13 *::before,
  .template-13 *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .template-13 .products-block > div:hover .p,
  .template-13 .products-block > div:hover .p .image img,
  .template-13 .benefitBanner__item:hover,
  .template-13 .subcategories li a:hover { transform: none; }
}
