:root {
  --section-padding: 64px;
}

.main {
  max-width: 1440px;
  margin: 24px auto;
  padding: 0px var(--section-padding);
  overflow: hidden;
}

.main__breadcumb-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.main__breadcumb-nav__breadcumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main__breadcumb-nav__breadcumb-list li a {
  font-size: 1rem;
  color: var(--color-orange-900);
  transition: all .3s;
}

.breadcumb-list__separator {
  max-width: 14px;
  color: var(--color-orange-900);
}

.main__section-separator {
  margin: 58px 0;
  border: var(--color-orange-900) 1px solid;
}

.main__product-presentation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 42px;
  margin: 0 auto;
}

/* Product Gallery */

.main__product-presentation__product-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1 1 320px;
  margin-top: 16px;
}

.product-gallery__main-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  border: var(--color-orange-900) 1px solid;
  border-radius: 28px;
  overflow: hidden;
  background-color: #fff;
}

.product-gallery__main-image button {
  position: absolute;
  /*top: 50%;*/
  /*left: 50%;*/
  /*transform: translate(-50%, -50%);*/
  top: 0;
  left: 0;
  z-index: 10;
  clip-path: circle();
  padding: 18px;
  border: none;
  cursor: pointer;
  background-color: var(--color-orange-900);
}

.product-gallery__main-image button svg {
  width: 28px;
  fill: #fff;
}


.modal {
  display: none;
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 720px;
}

.close {
  color: #aaa;
  display: inline-block;
  text-align: end;
  width: 100%;
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-gallery__main-image img {
  max-width: 295px;
}

.product-gallery__gallery-navigation {
  width: 100%;
}

.product-gallery__gallery-navigation__list-images {
  display: flex;
  gap: 16px;
  max-width: 470px;
  overflow-y: auto;
}

.product-gallery__gallery-navigation__list-images li {
  display: block;
  width: 100px;
  height: 100px;
  border: var(--color-orange-900) 1px solid;
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
  cursor: pointer;
}

.--active-gallery-image {
  border: 1px solid var(--color-orange-900) !important;
}

.product-gallery__gallery-navigation__list-images li img {
  pointer-events: none;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* Product Description */

.main__product-presentation__product-description {
  position: relative;
  overflow: hidden;
  flex: 1 1 320px;
}

.product-description__product-preview {
  position: absolute;
  top: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #ffff;
  background-size: 200%;
  background-position: 0% 0%;
  border: 1px solid var(--gray600);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.zoom-square {
  position: absolute;
  display: none;
  width: 150px;
  height: 150px;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.product-description__wrapper-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.product-description__wrapper-title h1 {
  max-width: 420px;
  font-weight: 500;
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  line-height: 1.4;
  color: var(--color-orange-900);
}

.product-description__wrapper-title h3,
.product-description__wrapper-title h4,
.product-description__wrapper-title h5,
.product-description__wrapper-title h2 {
  max-width: 420px;

  font-weight: 500;
  font-size: clamp(1rem, 5vw, 1.5rem);
  color: #1a1a1a;
}

.product-description__wrapper-title p {

  font-weight: 400;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  color: #000;
}

.product-description__wrapper-price {
  margin-top: 6px;

}

.product-description__wrapper-price span {
  display: flex;
  align-items: center;
  gap: 12px;
}

figcaption {
  display: none;
}

.product-description__wrapper-price__discount {

  font-weight: 400;
  font-size: clamp(1.2rem, 5vw, 1.2rem);
  color: var(--gray800);
  text-decoration: line-through;
}

.product-description__wrapper-price__mark {
  max-width: max-content;
  padding: 4px 6px;

  font-weight: 900;
  font-size: clamp(1.2rem, 5vw, 1.2rem);
  color: #fff;
  background-color: var(--red);
}

.product-description__wrapper-price h2 {
  font-weight: 500;
  font-size: clamp(1rem, 5vw, 1.6rem);
  color: var(--color-orange-900);
}


.product-description__description {
  max-width: 580px;
  margin-top: 12px;
  font-weight: 400;
  font-size: .9rem;
  color: var(--color-gray-500);
}

.product-description__description.--parcelas {
  margin-top: 0px;
  margin-bottom: 12px;
}

.product-description__description.--pix-text {
  margin-top: 0px;
  font-size: 1.2rem;
  font-style: italic;
}

.product-description__description.--shipping-message {
  margin-top: 6px;
}

.product-description__separator {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 16px;
  background-color: var(--gray600);
}

.product-description__shipping h2 {
  margin-top: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
}

.product-description__shipping__postal-calculate {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.product-description__form.--upon-request {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.product-description__form label {

  font-weight: 600;
  font-size: 1rem;
  color: #000;
}

.product-description__form button {
  position: relative;
  padding: 6px 16px;
  height: fit-content;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--color-orange-900);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s;
}

.product-description__form button:hover {
  background-color: var(--color-orange-950);
}

.product-description__form.--upon-request input {
  max-width: unset;
  width: 100%;
  text-align: start;
}

.product-description__cnpj-link a {
  display: inline-block;
  margin-top: 6px;

  font-weight: 500;
  font-size: .95rem;
  color: #0E4B73;
  text-decoration: underline;
}

.wrapper-input {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.wrapper-input input {
  max-width: 130px;
  padding: 6px 8px;
  height: fit-content;
  font-weight: 400;
  font-size: 1rem;
  border: 1px solid var(--color-gray-500);
  text-align: center;
  background: none;
}

.shipping__postal-calculate__wrapper-input input:focus {
  border: 1px solid var(--color-orange-900);
}

.postal-calculate__button {
  position: relative;
  padding: 8px 16px;
  font-size: 1rem;

  font-weight: 600;
  color: #fff;
  background-color: var(--color-orange-900);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s;
}

.postal-calculate__button:hover {
  background-color: var(--color-orange-950);
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: all .3s;
}

.message-error {
  width: max-content;
  padding: 12px 16px;
  margin-top: -40px;
  font-size: clamp(1.2rem, 5vw, 1.4rem);

  font-weight: 500;
  color: #141414;
  background-color: #ff775f40;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.--active-message-error {
  margin-top: 10px;
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
}

.product-description__shipping__postal-calculate a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-700);
  text-decoration: underline;
  transition: all .3s;
}

.product-description__shipping__postal-calculate a:hover {
  color: var(--blue600);
}

.shipping__postal-calculate__shipping-options {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s;
  margin-top: 16px;
  border: none
}

.shipping__postal-calculate__shipping-options>div {
  overflow: hidden;
}

.--active-postal-result {
  grid-template-rows: 1fr !important;
}

.shipping__postal-calculate__shipping-options legend {
  max-width: 0px;
  max-height: 0px;
  overflow: hidden;
}

.postal-calculate__shipping-options__wrapper-inputs {
  display: flex;
  width: 100%;
  margin-bottom: 6px;
  padding-left: 24px;
  background-color: var(--gray450);
}

.postal-calculate__shipping-options__wrapper-inputs input {
  padding: 15px 0px;
  cursor: pointer;
  accent-color: var(--color-orange-900);
}

.postal-calculate__shipping-options__wrapper-inputs img {
  max-width: 28px;
}

.postal-calculate__shipping-options__wrapper-inputs label {
  display: block;
  width: 100%;
  padding: 10px 0px;
  margin-left: 6px;
  cursor: pointer;
}

.product-description__amount {
  display: flex;
  margin-top: 16px;
}

.product-description__amount__wrapper-input {
  position: relative;
  display: flex;
  align-items: center;
}

.product-description__amount label {
  max-width: 0;
  max-height: 0;
  overflow: hidden;
}

.product-description__amount__wrapper-input input {
  max-width: 80px;
  padding: 8px 8px;
  font-weight: 400;
  font-size: 1rem;
  border: 1px solid var(--color-gray-500);
  text-align: center;
  background: none;
}

.product-description__amount__wrapper-input input:focus {
  border: 1px solid var(--color-orange-900);
}

.product-description__amount__wrapper-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.product-description__amount__wrapper-input button {
  position: absolute;
  display: block;
  height: 100%;
  padding: 0 6px;
  border: none;
  background-color: transparent;
}

.amount-minus {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.amount-plus {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.product-description__amount button img {
  max-width: 10px;
  pointer-events: none;
}

.product-description__amount__cart-button {
  width: 100%;
  margin-left: 12px;
  padding: 8px 0px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  border: none;
  background-color: var(--color-green-500);
  cursor: pointer;
  transition: all .3s;
}

.product-description__amount__cart-button:hover {
  background-color: var(--color-green-700);
}

.product-description__buy-button {
  margin-top: 16px;
  width: 100%;
  padding: 8px 0px;
  text-align: center;

  font-size: clamp(1.2rem, 5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  border: none;
  background-color: var(--color-orange-900);
  cursor: pointer;
  transition: all .3s;
}

.product-description__buy-button:hover {
  background-color: var(--blue600);
}

.product-description__buy-button.out-of-stock {
  opacity: .6;
  cursor: default;
}

.form-out-of-stock label {
  margin: 48px 0 6px 0;
  display: inline-block;

  font-size: clamp(1.2rem, 5vw, 1.6rem);
}

.form-out-of-stock .input-field {
  display: flex;
  gap: 6px;
}

.form-out-of-stock .input-field input {
  flex-basis: 70%;
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 16px;
  font-size: 1.6rem;

  border: #dadada 1px solid;
}

.form-out-of-stock .input-field button {
  flex-basis: 20%;
  margin: 0;
}

/* Navigation Tabs */

.main__details__navigation-tabs {
  display: flex;
  align-items: center;
  gap: 56px;
  width: 100%;
  margin: 0 auto;
  border-bottom: 2px solid var(--color-orange-900);
}

.details__navigation-tabs__navigation-button {
  display: block;
  padding-bottom: 8px;
  background-color: transparent;
  border: none;
  font-size: 1.08rem;
  font-weight: 500;
  color: #000;
  cursor: pointer;
}

.details__navigation-tabs__navigation-button.--active-tab {
  border-bottom: 3px solid var(--color-orange-900);
}

.main__details__content-tabs {
  margin-top: 16px;
}

.content-tabs__product-description {
  display: none;
}

.content-tabs__product-description ul {
  margin-bottom: 20px;
}

.content-tabs__product-description li {

  font-size: 1.6rem;
  font-weight: 300;
  line-height: 2.4rem;
  color: #000;
  list-style-type: disc;
  list-style-position: inside;
}

.content-tabs__product-description p {
  font-size: 1rem;
  font-weight: 300;
  color: #000;
  margin-bottom: 24px;
}

.content-tabs__product-description h2,
.content-tabs__product-description h3,
.content-tabs__product-description h4,
.content-tabs__product-description h5,
.content-tabs__product-description h1 {
  font-weight: 500;
  font-size: clamp(1rem, 5vw, 1.2rem);
  color: #000;
  margin-bottom: 20px;
}

.--active-tab-content {
  display: block !important;
}

.content-tabs__product-specifications {
  width: 70vw;
  display: none;
  margin: 0 auto;
}

.content-tabs__product-specifications table {
  width: 100%;
  padding: 16px 0;
}

.content-tabs__product-specifications tr {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.content-tabs__product-specifications th,
.content-tabs__product-specifications td {
  padding: 10px 16px;

  font-size: 1rem;
  color: var(--gray800);
  text-align: left;
  border-top: 1px solid var(--gray600);
}

.content-tabs__product-specifications th {
  background-color: var(--gray300);
  border-right: 1px solid var(--gray600);
}

.content-tabs__product-specifications tr:last-child th,
.content-tabs__product-specifications tr:last-child td {
  border-bottom: 1px solid var(--gray600);
}

/* Generic Section */

.--generic-section {
  width: 100%;
  margin: 60px auto auto auto;
}

.section__wrapper-title {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.section__title {
  font-size: clamp(1.8rem, 5vw, 2.4rem);

  font-weight: 500;
  color: #000;
}

.section-separator {
  position: relative;
  display: flex;
  align-items: center;
  width: 100px;
  height: 6px;
  margin-top: 12px;
  background-color: var(--blue600);
}

.section-separator::after {
  content: '';
  position: absolute;
  display: block;
  width: 80vw;
  height: 2px;
  background-color: var(--blue600);
}

/* List Products */

.products-list {
  margin-top: 30px;
  height: 420px;
}

.splide__track {
  padding-bottom: 10px !important;
}

.splide__slide {
  /* margin: 0 16px !important; */
}

.splide__arrow {
  background-color: #fff !important;
}

.splide__arrow--next {
  right: -1em !important;
}

.splide__arrow--prev {
  left: -1em !important;
}

@media(max-width: 1200px) {
  :root {
    --section-padding: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 16px;
  }

  .main__breadcumb-nav {
    display: none;
  }

  /* Product presentation */

  .main__product-presentation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
  }

  .product-description__product-preview {
    display: none !important;
  }

  /* Product Gallery */

  .main__product-presentation__product-gallery {
    width: 100%;
    margin-top: 0px;
  }

  .product-gallery__main-image img {
    max-width: 250px;
  }

  /* Product Description */
  .main__product-presentation__product-description {
    width: 100%;
  }

  /* Navigation Tabs */

  .main__details__navigation-tabs {
    width: 100%;
    justify-content: start;
  }

  .details__navigation-tabs__navigation-button {
    font-size: clamp(1.4rem, 5vw, 1.6rem);
  }

  .details__navigation-tabs__navigation-button:first-child {
    margin-left: 0px;
  }

  .content-tabs__product-specifications {
    width: 100%;
  }

  /* Generic Section */

  .section__wrapper-title {
    max-width: 100%;
  }

  /* Cards */

  .products-list {
    height: auto;
  }

  .card-product {
    max-width: 200px;
    margin: initial;
    padding: 12px 12px;
  }

  .card-product:hover {
    border: 1px solid var(--color-orange-900);
    transition-delay: 0ms;
  }

  .splide__slide {
    margin: 0 6px !important;
  }

  .card-product__wrapper-image {
    max-width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .card-product h3 {
    font-size: clamp(1.2rem, 5vw, 1.4rem);
  }

  .product-ref {
    font-size: clamp(1.2rem, 5vw, 1.4rem);
  }

  .card-product h4 {
    align-items: center;
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .card-product h4 span {
    margin-top: 0px;
  }

  .--card-button {
    display: none;
    padding: 10px clamp(2px, 3vw, 24px);
    font-size: clamp(1.2rem, 5vw, 1.3rem);
    max-height: 0px;
    transition: all 0.2s !important;
  }

  .card-product:hover .--card-button,
  .card-product:focus .--card-button {
    max-height: 50px;
    transition: all 0.2s !important;
  }

}

@media (max-width: 600px) {
  .splide__track {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

@media (max-width: 400px) {
  .splide__track {
    padding-left: 2rem !important;
    padding-right: 9rem !important;
  }

  .splide__pagination {
    bottom: -2em !important;
  }

  .splide__pagination__page.is-active {
    background: var(--color-orange-900) !important;
  }

}

@media (max-width: 350px) {
  .splide__track {
    padding-left: 2rem !important;
    padding-right: 0rem !important;
  }
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.buy_together {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.buy_together>ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  flex-basis: 75%;
  gap: 20px;
  column-gap: 40px;
  overflow: hidden;
}

.buy_together>ul li {
  position: relative;
}

.buy_together>ul li:not(:last-child)::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: -29px;
  transform: translate(0, -50%);
  font-size: 3rem;
  font-weight: bolder;
  width: fit-content;
}

.buy_together>ul li .card-product {
  max-width: 200px;
}

.buy_together>ul li .card-product__wrapper-image {
  max-width: 120px;
  margin: 0 auto;
}

.buy_together>div {
  flex-basis: 25%;
}

.buy_together__button {
  padding: 8px 16px;
  font-size: clamp(1.2rem, 5vw, 1.4rem);

  font-weight: 600;
  color: #fff;
  background-color: var(--color-orange-900);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s;
}

@media(max-width: 768px) {
  .buy_together {
    flex-direction: column;
    gap: 20px;
  }

  .buy_together>ul {
    gap: 64px;
  }

  .buy_together>ul li:not(:last-child)::after {
    top: initial;
    right: initial;
    left: 50%;
    transform: translate(-50%, 12px);
  }
}