/* JAK VYBRAT SPRÁVNOU VELIKOST -- Úvodní sekce */
.js-introduction-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 86px;
  padding-bottom: 86px;
}

.js-introduction-description {
  padding-top: 30px;
}

.js-introduction-text h2 {
  font-size: 26px;
  font-weight: 500;
}

.js-introduction-text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
}

@media (max-width: 768px) {
  .js-introduction-text {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* JAK VYBRAT SPRÁVNOU VELIKOST -- Sekce pro výběr typu postavy */
.js-character-type {
  background-color: #f4f4f4;
  border-radius: 3px;
}

.js-character-type-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.js-character-type-text h2 {
  font-size: 20px;
  color: #000000;
  font-weight: 700;
}

.js-character-type-text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  padding-top: 16px;
}

.js-character-type-categories {
  display: flex;
  justify-content: center;
  gap: 68px;
  padding-top: 35px;
  flex-wrap: nowrap;
}

.js-character-type-option {
  max-width: 260px;
}

.js-character-type-option p {
  padding-top: 20px;
}

.js-character-type-categories .js-btn {
  text-align: center;
  border-radius: 3px;
  color: #ffffff;
  background-color: #000000;
  font-size: 16px;
  font-weight: 500;
  width: 164px;
  height: 40px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
  box-sizing: border-box;
}

.js-character-type-categories .js-btn:hover {
  border: 2px solid #000000;
  color: #000000;
  background: transparent;
  text-decoration: none;
}

@media (max-width: 768px) {
  .js-character-type-text {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .js-mobile-break {
    display: block;
  }
  .js-character-type-categories {
    gap: 10px;
  }
  .js-character-type-option {
    max-width: 164px;
  }
}

/* JAK VYBRAT SPRÁVNOU VELIKOST -- Sekce výběru trička podle výšky */

.js-height-tshirt-text {
  text-align: center;
  padding-top: 100px;
}

.js-height-tshirt-text h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
}

.js-height-tshirt p.subtitle {
  font-size: 14px;
  color: #000000;
  margin-top: 8px;
}

.js-height-tshirt .js-cards {
  padding-top: 25px;
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 100px;
}

.js-height-tshirt .js-card {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.js-height-tshirt .js-height-option {
  height: 450px;
  max-width: 300px;
}

.js-height-tshirt .js-card img {
  height: 250px;
  margin-bottom: 20px;
}

.js-height-tshirt .js-btn {
  text-align: center;
  border-radius: 3px;
  color: #ffffff;
  background-color: #000000;
  font-size: 16px;
  font-weight: 500;
  width: 164px;
  height: 40px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
  box-sizing: border-box;
}

.js-height-tshirt .js-btn:hover {
  border: 2px solid #000000;
  color: #000000;
  background: transparent;
  text-decoration: none;
}

.js-height-tshirt .js-sizes {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-top: 6px;
  font-weight: 500;
}

.js-height-tshirt .js-row-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.js-height-tshirt .js-row-buttons a {
  width: 120px;
}

.js-height-tshirt .js-option {
  text-align: center;
}

.js-height-tshirt .js-desc {
  max-width: 300px;
  background: #f7f7f7;
  padding: 25px;
  border-radius: 6px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .js-height-tshirt-text {
    padding-top: 50px;
  }

  .js-height-tshirt .js-cards {
    padding-bottom: 0px;
    gap: 20px;
  }

  .js-height-tshirt .js-height-option {
    height: unset;
  }

  .js-height-tshirt .js-desc {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
}

/* JAK VYBRAT SPRÁVNOU VELIKOST -- Výběr trička podle výšky - Video sekce */
.js-height-tshirt video {
  border-radius: 3px;
}

.js-height-tshirt .js-video-desktop {
  display: none;
}

.js-height-tshirt .js-video-mobile {
  display: block;
  max-width: 720px;
}

@media (min-width: 769px) {
  .js-height-tshirt .js-video-desktop {
    display: block;
    max-width: 1000px;
  }
  .js-height-tshirt .js-video-mobile {
    display: none;
  }
  .js-height-tshirt .js-card {
    max-width: none;
  }
  .js-height-tshirt video {
    border-radius: 0px;
  }
}

/* JAK VYBRAT SPRÁVNOU VELIKOST -- Sekce výběru kalhot podle výšky */

.js-height-pants-text h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
}

.js-height-pants-text p {
  font-size: 14px;
  color: #000000;
  margin-top: 8px;
}

.js-height-pants .js-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.js-height-pants .js-sizes.last-child {
  padding-bottom: 0;
}

.js-height-pants .js-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 25px;
}

.js-height-pants .js-btn {
  text-align: center;
  border-radius: 3px;
  color: #ffffff;
  background-color: #000000;
  font-size: 16px;
  font-weight: 500;
  width: 164px;
  height: 40px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
  box-sizing: border-box;
}

.js-height-pants .js-btn:hover {
  border: 2px solid #000000;
  color: #000000;
  background: transparent;
  text-decoration: none;
}

.js-height-pants-text {
  text-align: center;
  padding-top: 100px;
}

.js-height-pants-text h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
}

.js-height-pants p.subtitle {
  font-size: 14px;
  color: #000000;
  margin-top: 8px;
}

.js-height-pants img {
  width: auto;
  max-height: 325px;
}

.js-height-pants .js-desc {
  font-size: 14px;
  display: flex;
  justify-content: center;
  padding-top: 50px;
}

.js-height-pants .js-sizes {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 20px;
  padding-top: 6px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .js-height-pants {
    margin-left: 10px;
    margin-right: 10px;
  }

  .js-height-pants img {
    width: auto;
    max-height: 280px;
  }

  .js-height-pants-text {
    padding-top: 50px;
  }

  .js-height-pants .js-desc {
    padding-top: 25px;
    text-align: center;
  }

  .js-height-pants .js-card:nth-child(3) {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
  }

  .js-height-pants .js-card:nth-child(3) button,
  .js-height-pants .js-card:nth-child(3) .js-sizes {
    margin-bottom: 0;
  }
}

/* JAK VYBRAT SPRÁVNOU VELIKOST -- Jak vybrat správnou velikost - mikiny a tepláky sekce */
.js-how-to-choose-size {
  padding-top: 100px;
  text-align: center;
}

.js-how-to-choose-size h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  padding-bottom: 25px;
}

@media (max-width: 768px) {
  .js-how-to-choose-size {
    padding-top: 50px;
  }
}

/* JAK VYBRAT SPRÁVNOU VELIKOST -- Sekce výběru mikiny podle výšky - Video sekce */
.js-how-to-choose-size video {
  border-radius: 3px;
}

.js-how-to-choose-size .js-video-desktop {
  display: none;
}

.js-how-to-choose-size .js-video-mobile {
  display: block;
  max-width: 720px;
}

@media (min-width: 769px) {
  .js-how-to-choose-size .js-video-desktop {
    display: block;
    max-width: 1000px;
  }
  .js-how-to-choose-size .js-video-mobile {
    display: none;
  }
  .js-how-to-choose-size .js-card {
    max-width: none;
  }
  .js-how-to-choose-size video {
    border-radius: 0px;
  }
}

/* JAK VYBRAT SPRÁVNOU VELIKOST -- Vyber si podle materiálu sekce */

.js-select-by-material {
  padding-bottom: 20px;
  padding-top: 100px;
}

.js-select-by-material-text {
  text-align: center;
}

.js-select-by-material h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
}

.js-select-by-material p {
  font-size: 14px;
  color: #000000;
  margin-top: 8px;
}

.js-select-by-material .js-grid-container {
  padding-top: 25px;
  display: grid;
  width: 80%;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.js-select-by-material .js-image-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 3px;
}

.js-select-by-material .js-image-card img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.js-select-by-material .js-image-card:hover img {
  transform: scale(1.05);
}

.js-select-by-material .js-image-card .js-overlay {
  text-align: center;
  width: 160px;
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f4f4f4;
  padding: 0.5rem 1rem;
  border-radius: 2px;
}

.js-select-by-material .js-image-card:hover .js-overlay,
.js-select-by-material .js-image-card .js-overlay:hover {
  background-color: #e0e0e0;
  transition: background 0.2s;
}

.js-select-by-material .js-image-card .js-overlay span {
  color: #1a202c;
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 768px) {
  .js-select-by-material .js-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .js-select-by-material {
    padding-top: 50px;
    padding-bottom: 0px;
  }

  .js-select-by-material .js-grid-container {
    width: auto;
    padding: 25px 10px;
  }
}
