/* I ty uličníku! Zalíbil se ti můj produktový popis? :-) Ale tak že jsi to ty, jen si posluž, pokud ti můj kód pomůže, budu jen rád. Ocením, pokud mi ho pošleš, ať taky můžu hodit očko. A jelikož ses dostal až sem, máš u mě slevu na ponožky. Napiš mi na masek@roxwear.cz, budu se těšit. */

/* ROX Short Description */

.rox-short-description {
  max-width: 100%;
  margin: 3rem 0;
}

.rox-short-description p {
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.rox-short-description hr.custom-separator {
  border: none;
  height: 2px;
  background-color: #f5f5f5;
  margin: 1.5rem 0;
}

.rox-short-description .icon-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.rox-short-description .rox-icon-box {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.4;
  min-width: 150px;
  font-family: 'Montserrat', sans-serif !important;
}

.rox-short-description .rox-icon-box *,
.rox-short-description .rox-icon-box span,
.rox-short-description .rox-icon-box p {
  font-family: 'Montserrat', sans-serif !important;
  font-style: normal !important;
  font-weight: normal !important;
}
.rox-short-description .rox-icon-box img {
  width: 42px;
  height: 42px;
  margin-right: 1rem;
}

/* ROX Main Description Blocks */

.rox-description-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 100%;
  grid-template-areas: "image text";
  margin-bottom: 3rem;
}

.rox-description-block:not(:first-of-type) {
  margin-top: 3rem;
}

/* odstranění spodní mezery u posledního bloku */
.rox-description-block:last-of-type {
  margin-bottom: 0;
}

.rox-description-block img {
  grid-area: image;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.rox-description-text {
  grid-area: text;
}

.rox-description-text h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 40px;
}

.rox-description-text p {
  line-height: 1.6;
}

/* Ikonky pod textem */
.rox-icon-row {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* menší mezera mezi ikonami ve sloupci */
  margin-top: 1.5rem;
}

.rox-icon {
  display: flex;
  align-items: center;
}

.rox-icon img {
  width: 42px;
  height: 42px;
  margin-right: 1.5rem;
}

/* Reverzní verze */
.rox-description-block.reverse {
  grid-template-areas: "text image";
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
  .rox-description-block,
  .rox-description-block.reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text";
  }
	
	.rox-description-text h1 {
    font-size: 32px;
  }
}

/* ROX Description Block 4pack */

.rox-description-4pack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 100%;
  margin-bottom: 3rem;
}

.rox-description-4pack:last-of-type {
  margin-bottom: 0;
}

/* Obrázky */
.rox-description-4pack-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 obrázky vedle sebe */
  gap: 1rem;
}

.rox-description-4pack-images img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

/* Horní část - text a ikony */
.rox-description-4pack-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.rox-description-4pack-text h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 40px;
}

.rox-description-4pack-text p {
  line-height: 1.6;
}

.rox-description-4pack-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rox-description-4pack-icon {
  display: flex;
  align-items: center;
}

.rox-description-4pack-icon img {
  width: 42px;
  height: 42px;
  margin-right: 1.5rem;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
  .rox-description-4pack {
    gap: 1.5rem;
  }

  .rox-description-4pack-top {
    display: flex;
    flex-direction: column;
  }

  .rox-description-4pack-images {
    order: -1; /* Zobrazit jako první */
    grid-template-columns: repeat(2, 1fr); /* 2 vedle sebe na mobilu */
  }

  .rox-description-4pack-text h1 {
    font-size: 32px;
  }

}


/* ROX Description Block 3pack */

.rox-description-3pack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 100%;
  margin-bottom: 3rem;
}

.rox-description-3pack:last-of-type {
  margin-bottom: 0;
}

/* Obrázky */
.rox-description-3pack-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rox-description-3pack-images img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

/* Horní část - text a ikony */
.rox-description-3pack-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.rox-description-3pack-text h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 40px;
}

.rox-description-3pack-text p {
  line-height: 1.6;
}

.rox-description-3pack-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rox-description-3pack-icon {
  display: flex;
  align-items: center;
}

.rox-description-3pack-icon img {
  width: 42px;
  height: 42px;
  margin-right: 1.5rem;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
  .rox-description-3pack {
    gap: 1.5rem;
  }

  .rox-description-3pack-top {
    display: flex;
    flex-direction: column;
  }

  .rox-description-3pack-images {
    order: -1; /* Zobrazit jako první */
    grid-template-columns: repeat(2, 1fr);
  }

  .rox-description-3pack-images img:nth-child(3) {
    grid-column: 1 / -1;
  }

  .rox-description-3pack-text h1 {
    font-size: 32px;
  }

}

/* ROX Benefits */

.rox-benefits {
  line-height: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.rox-benefits h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 40px;
}

.rox-benefits ul {
  list-style: none;         /* skryje výchozí puntíky */
  padding-left: 0;
  margin: 0;
}

.rox-benefits li {
  position: relative;
  padding-left: 1.6rem;     /* místo pro fajfku */
  margin-bottom: 0.75rem;
}

.rox-benefits li::before {
  content: "✓";             /* fajfka */
  position: absolute;
  left: 0;
  top: 0;
  color: #009933;           /* zelená barva fajfky */
  font-weight: bold;
  font-size: 1rem;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
	.rox-benefits h1 {
    font-size: 32px;
  }
}

/* ROX Product Parameters */

.rox-product-parameters {
  background-color: #f8ebe2;
  border-radius: 10px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.rox-product-parameters h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.rox-param-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  line-height: 1.4;
}

.rox-param-group ul {
  margin: 0;
  padding-left: 1.5rem; /* prostor pro odrážku */
  list-style-type: disc;
  list-style-position: outside; /* potřebné pro zarovnání */
}

.rox-param-group ul li {
  padding-left: 0.5rem;   /* odsazení textu od odrážky */
  text-indent: 0;   /* zarovnání druhého řádku s prvním */
}

/* Řádek s ikonami */
.rox-param-icon-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rox-param-icon {
  display: flex;
  align-items: center;
}

.rox-param-icon img {
  width: 42px;
  height: 42px;
  margin-right: 0.5rem;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
  .rox-product-parameters {
    grid-template-columns: 1fr;
  }
}

/* ROX Single Pack Container - link to 3packs */

  .rox-single-pack-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: transparent;
    border: 3px dashed #f8ebe2;
    border-radius: 10px;
    padding: 1.5rem;
    width: 100%;
    margin: 2rem 0;
    box-sizing: border-box;
    gap: 1.5rem;
  }
  .rox-single-pack-image {
    max-width: 150px;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
  }
  .rox-single-pack-image img {
    max-height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  .rox-single-pack-content {
    flex: 1;
    max-width: calc(100% - 160px);
    color: #333;
  }
  .rox-single-pack-content h2 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    font-size: 16px;
  }
  .rox-single-pack-content .btn {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
  }

/* ROX Multi Pack Container - link to 3packs */

 .rox-multipack-container {
    border: 3px dashed #f8ebe2;
    border-radius: 10px;
    padding: 1.5rem;
    background-color: transparent;
    max-width: 100%;
    box-sizing: border-box;
    margin: 2rem 0;
    text-align: left;
  }
  .rox-multipack-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 18px;
  }
  .rox-multipack-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .rox-multipack-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .rox-multipack-item a.rox-img-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 150px;
  }
  .rox-multipack-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  .rox-multipack-item a.btn {
    display: inline-block;
    margin-top: 0.75rem;
    width: 100%;
    max-width: 150px;
    white-space: nowrap;
    text-align: center;
  }

  @media (min-width: 600px) {
    .rox-multipack-items {
      grid-template-columns: repeat(5, 1fr);
    }
  
  }