@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700&display=swap');

/* Globálne písmo */
* {
  font-family: 'League Spartan', sans-serif;
}

/* Odstránenie zbytočných medzier v produktoch */
.p-in,
.p-in-in,
.p-bottom,
.p-tools {
  margin: 0 !important;
  padding: 0 !important;
}

/* Skryté prvky */
.top-navigation-menu {
  display: none !important;
}

.homepage-box.welcome-wrapper {
  display: none !important;
}

.breadcrumbs-wrapper {
  display: none !important;
}

.sidebar {
  display: none;
}

.subcategories.with-image li a .image {
  display: none !important;
}

/* Hlavná navigácia */
#navigation .navigation-in > ul.menu-level-1 > li > a {
  display: flex;
  align-items: center;
  column-gap: 4px;
  margin: 0;
  color: #000;
}

@media (min-width: 768px) {
  .navigation-in {
    background-color: transparent;
  }

  .top-navigation-bar {
    z-index: 5;
    border: none;
  }

  #navigation {
    height: 46px;
    margin: -15px -20px 0 0;
  }

  #navigation .navigation-in > ul.menu-level-1 > li {
    border: none;
  }

  #navigation .navigation-in > ul.menu-level-1 > li > a {
    position: relative;
    height: 46px;
    padding: 0 16px;
    background-color: transparent;
    font-size: 14px;
    text-transform: uppercase;
  }

  .navigation-in > ul > li.ext > ul > li > a.menu-image {
    display: none !important;
  }
}

/* PC moderné submenu - elegantný dropdown zoznam */
@media (min-width: 992px) {
  .navigation-in > ul > li.ext {
    position: relative !important;
  }

  .navigation-in > ul > li.ext > ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;

    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;

    padding: 8px 0 !important;
    margin: 0 !important;

    background: #ffffff !important;
    border: 1px solid rgba(201, 6, 85, 0.16) !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13) !important;

    z-index: 9999 !important;
    overflow: hidden !important;
  }

  .navigation-in > ul > li.ext:hover > ul {
    display: block !important;
  }

  .navigation-in > ul > li.ext > ul > li {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navigation-in > ul > li.ext > ul > li > div {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .navigation-in > ul > li.ext > ul > li > div > a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;

    padding: 11px 18px !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;

    color: #c90655 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    white-space: normal !important;

    transition: all 0.18s ease !important;
  }

  .navigation-in > ul > li.ext > ul > li > div > a:hover {
    background: #c90655 !important;
    color: #ffffff !important;
    padding-left: 24px !important;
  }

  .navigation-in > ul > li.ext > ul > li > a.menu-image,
  .navigation-in > ul > li.ext > ul > li img {
    display: none !important;
  }
}

/* Varianty veľkostí */
.size-options {
  display: flex;
  gap: 10px;
  align-items: center;
}

.size-option {
  background-color: #f0f0f0;
  border: 3px solid #c90655;
  cursor: pointer;
  border-radius: 50% !important;
  text-align: center;
  width: 50px;
  height: 50px;
  margin: 10px 5px 0 0;
  padding: 5px 10px;
}

.size-option:hover {
  background-color: #ddd;
}

.size-option.selected {
  background-color: #eb8db3;
  color: white;
}

.size-option.nostock {
  background-color: red;
  color: black;
}

/* Produkty */
@media (min-width: 768px) {
  .products-block.products .product .flags-default {
    left: 8px;
    top: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .products-block.products .product {
    border: none !important;
  }

  .products-block.products .product .name {
    display: block;
    height: auto;
    margin: 0 0 10px 0;
    line-height: 1.28;
    max-width: calc(100% - 28px);
    font-weight: 300;
    color: var(--color-primary);
  }

  .products-block.products .product .p-bottom .prices .price-final strong {
    font-weight: 500;
    font-size: 22px;
  }
}

/* Zľavové príznaky */
.shoptak-titan .flag.flag-action-percentage,
.shoptak-dolomit .flag.flag-action-percentage,
.flags .flag.flag-action-percentage,
html body .flag-action-percentage {
  color: #fff !important;
  background-color: #c90655 !important;
}

/* Pôvodná cena pred zľavou */
html body .product .price-additional.price-action-before,
.products-block.products .product .prices .price-additional.price-action-before {
  color: #999 !important;
}

/* Wrapper */
@media (min-width: 768px) {
  #wrap {
    width: 70%;
    height: auto;
    object-fit: contain;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }
}
/* Moderné responzívne benefit dlaždice na detaile produktu */
.product-benefits-modern {
  margin: 16px 0 18px;
  padding: 14px;
  background: linear-gradient(135deg, #fff7fa 0%, #ffffff 100%);
  border: 1px solid rgba(201, 6, 85, 0.16);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(201, 6, 85, 0.08);
  box-sizing: border-box;
}

.product-benefits-modern__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.product-benefits-modern__eyebrow {
  margin-bottom: 3px;
  color: #c90655;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-benefits-modern__title {
  color: #111111;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.product-benefits-modern__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-benefit-tile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 74px;
  padding: 11px 12px;
  background: #ffffff;
  border: 1px solid rgba(201, 6, 85, 0.12);
  border-radius: 18px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.product-benefit-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 6, 85, 0.32);
  box-shadow: 0 9px 22px rgba(201, 6, 85, 0.11);
  background: #fffafd;
  text-decoration: none !important;
}

.product-benefit-tile__icon {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #fff0f6;
  border-radius: 999px;
  color: #c90655;
  font-size: 17px;
  line-height: 1;
}

.product-benefit-tile strong {
  display: block;
  margin-bottom: 4px;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
}

.product-benefit-tile span:not(.product-benefit-tile__icon) {
  display: block;
  color: #555555;
  font-size: 12px;
  line-height: 1.25;
}

.product-benefits-modern__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 12px 18px;
  background: #ffffff;
  color: #0084ff !important;
  text-decoration: none !important;
  border: 2px solid #0084ff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-sizing: border-box;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.product-benefits-modern__messenger:hover {
  background: #0084ff;
  border-color: #0084ff;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 132, 255, 0.22);
}

.product-benefits-modern__messenger img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* Tablet */
@media (max-width: 991px) {
  .product-benefits-modern {
    margin: 16px 0 18px;
    padding: 14px;
    border-radius: 20px;
  }

  .product-benefits-modern__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}

/* Mobil */
@media (max-width: 520px) {
  .product-benefits-modern {
    margin: 15px 0 18px;
    padding: 13px;
    border-radius: 18px;
  }

  .product-benefits-modern__title {
    font-size: 18px;
  }

  .product-benefits-modern__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-benefit-tile {
    min-height: auto;
    padding: 12px;
    border-radius: 16px;
  }

  .product-benefit-tile:hover {
    transform: none;
  }

  .product-benefit-tile__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .product-benefits-modern__messenger {
    padding: 12px 14px;
    font-size: 14px;
  }
}

.size-options {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
margin: 8px 0 14px;
}

.size-option {
min-width: 50px;
min-height: 50px;
padding: 6px 10px;
background-color: #ffffff;
border: 2px solid #c90655;
border-radius: 50% !important;
color: #c90655;
cursor: pointer;
text-align: center;
font-size: 13px;
font-weight: 600;
line-height: 1.1;
}

.size-option:hover {
background-color: #fff0f6;
}

.size-option.selected {
background-color: #c90655;
color: #ffffff;
}

.size-option.nostock {
background-color: #eeeeee;
border-color: #cccccc;
color: #999999;
text-decoration: line-through;
cursor: not-allowed;
opacity: 0.75;
}

.size-option.nostock:hover {
background-color: #eeeeee;
color: #999999;
}

/* Moderný blok Hodnotenie obchodu - opravená verzia */
#hodnoceniobchodu {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 38px auto 32px !important;
  padding: 28px !important;
  background: linear-gradient(135deg, #fff7fa 0%, #ffffff 60%, #fff0f6 100%) !important;
  border: 1px solid rgba(201, 6, 85, 0.16) !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 45px rgba(201, 6, 85, 0.10) !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}

/* Horná časť */
#hodnoceniobchodu > h2 {
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

#hodnoceniobchodu > h2::before {
  content: "Overené zákazníčkami";
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 12px;
  background: #ffffff;
  border: 1px solid rgba(201, 6, 85, 0.18);
  border-radius: 999px;
  color: #c90655;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#hodnoceniobchodu > h2 a {
  display: block !important;
  color: #111111 !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}

#hodnoceniobchodu > h2 a::after {
  content: "Zákazníčky oceňujú rýchle doručenie, kvalitné materiály, ochotné poradenstvo a šaty, ktoré sedia podľa veľkosti.";
  display: block;
  max-width: 720px;
  margin-top: 10px;
  color: #444444;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

/* Skóre */
#hodnoceniobchodu .shop-eval-stars {
  position: absolute !important;
  right: 32px !important;
  top: 24px !important;
  width: 200px !important;
  padding: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(201, 6, 85, 0.14) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.055) !important;
  text-align: center !important;
}

#hodnoceniobchodu {
  position: relative !important;
}

#hodnoceniobchodu .rate-average-inner,
#hodnoceniobchodu .rate-star-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#hodnoceniobchodu .rate-average {
  color: #c90655 !important;
  font-size: 52px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

#hodnoceniobchodu .stars-label {
  color: #555555 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

/* Skryť zbytočný br */
#hodnoceniobchodu > br {
  display: none !important;
}

/* Grid recenzií - toto opravuje úzke karty */
#hodnoceniobchodu .shop-eval {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 24px 0 0 0 !important;
  padding: 0 !important;
}

/* Zobraz len prvé 4 recenzie */
#hodnoceniobchodu .shop-eval .vote-wrap:nth-of-type(n+5) {
  display: none !important;
}

/* Karty recenzií */
#hodnoceniobchodu .shop-eval > .vote-wrap {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 175px !important;
  float: none !important;
  margin: 0 !important;
  padding: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(201, 6, 85, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#hodnoceniobchodu .vote-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  background: #c90655;
  border-radius: 999px;
}

#hodnoceniobchodu .vote-wrap {
  position: relative !important;
}

#hodnoceniobchodu .vote-header,
#hodnoceniobchodu .vote-summary,
#hodnoceniobchodu .vote-name,
#hodnoceniobchodu .vote-rating,
#hodnoceniobchodu .vote-content {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: initial !important;
}

#hodnoceniobchodu .vote-name {
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

#hodnoceniobchodu .vote-rating {
  margin-top: 7px !important;
  color: #777777 !important;
  font-size: 12px !important;
}

#hodnoceniobchodu .vote-content {
  margin-top: 10px !important;
  color: #333333 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* Tlačidlo */
#hodnoceniobchodu .shop-stat-all {
  display: flex !important;
  justify-content: center !important;
  margin-top: 22px !important;
  padding: 0 !important;
}

#hodnoceniobchodu .shop-stat-all .btn {
  min-width: 210px !important;
  padding: 14px 26px !important;
  background: #c90655 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 24px rgba(201, 6, 85, 0.24) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

/* Tablet */
@media (max-width: 991px) {
  #hodnoceniobchodu {
    padding: 20px !important;
  }

  #hodnoceniobchodu .shop-eval-stars {
    position: static !important;
    width: 100% !important;
    margin: 18px 0 0 0 !important;
  }

  #hodnoceniobchodu .shop-eval {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobil */
@media (max-width: 600px) {
  #hodnoceniobchodu {
    margin: 24px auto 22px !important;
    padding: 15px !important;
    border-radius: 20px !important;
  }

  #hodnoceniobchodu > h2 a {
    font-size: 25px !important;
  }

  #hodnoceniobchodu > h2 a::after {
    font-size: 14px !important;
  }

  #hodnoceniobchodu .shop-eval {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #hodnoceniobchodu .shop-eval .vote-wrap:nth-of-type(n+4) {
    display: none !important;
  }

  #hodnoceniobchodu .shop-stat-all .btn {
    width: 100% !important;
  }
}


.product-trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin: 8px 0 14px;
  color: #555555;
  font-size: 13px;
  line-height: 1.35;
}

.product-trust-stars {
  color: #f5a400;
  letter-spacing: 1px;
  font-size: 13px;
}

.product-trust-line strong {
  color: #111111;
  font-weight: 800;
}

@media (max-width: 768px) {
  .product-trust-line {
    justify-content: center;
    text-align: center;
    margin-top: 10px;
  }
}