/* Product detail refinements, isolated from the rest of the CWS shop. */
.cws-page-product .cws-product-page {
  padding: clamp(20px, 4vw, 48px) 0 24px;
}

.cws-page-product .cws-product-layout > .container {
  padding: clamp(16px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--cws-border, #ebebeb);
  border-radius: 24px;
}

.cws-page-product .cws-product-layout__row {
  align-items: flex-start;
}

.cws-page-product .cws-product-gallery-column,
.cws-page-product .cws-product-info-column {
  min-width: 0;
}

.cws-page-product .cws-product-gallery-column .product-slick {
  overflow: hidden;
  border-radius: 20px;
  background: #f6f6f7;
}

.cws-page-product .cws-product-gallery-column .product-slick .slick-list {
  border-radius: 20px;
}

.cws-page-product .cws-product-gallery-column .product-slick .easyzoom {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f6f6f7;
  box-shadow: none;
}

.cws-page-product .cws-product-gallery-column .product-slick .easyzoom > a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.cws-page-product .cws-product-gallery-column .product-slick .easyzoom > a > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cws-page-product .cws-product-gallery-column .slider-nav {
  margin: 12px 20px 0;
}

.cws-page-product .cws-product-gallery-column .slider-nav .slick-slide {
  padding: 0 5px;
  cursor: pointer;
}

.cws-page-product .cws-product-gallery-column .slider-nav .img-container {
  overflow: hidden;
  border-radius: 12px;
  background: #f6f6f7;
}

.cws-page-product .cws-product-gallery-column .slider-nav .img-container img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--cws-border, #ebebeb);
  border-radius: 12px;
}

.cws-page-product .cws-product-gallery-column .slider-nav .slick-current img {
  border: 2px solid var(--cws-accent, #5433eb);
}

.cws-page-product .cws-product-details {
  padding: 4px 8px 0 18px;
}

.cws-page-product .cws-product-name {
  max-width: 20ch;
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.cws-page-product .cws-product-price {
  margin: 0 0 20px;
}

.cws-page-product .cws-product-price .cws-price-original {
  margin: 0 0 2px;
  color: var(--cws-muted, #787574);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.cws-page-product .cws-product-price .cws-price-original del {
  color: inherit;
}

.cws-page-product .cws-product-price .cws-price-current {
  margin: 0;
  color: var(--cws-accent, #5433eb) !important;
  font-size: clamp(29px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.cws-page-product .cws-product-options {
  margin: 0 0 16px;
}

.cws-page-product .cws-product-options ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cws-page-product .cws-product-options .size-text {
  flex: 0 0 100%;
  margin: 0 0 2px;
  line-height: 1.45;
}

.cws-page-product .cws-product-options li {
  margin: 0;
}

.cws-page-product .cws-product-options li > a.checks,
.cws-page-product .cws-product-options li > a.vachecks {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px !important;
  border: 1px solid var(--cws-border, #ebebeb) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--cws-ink, #000) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.cws-page-product .cws-product-options li > a.checks:hover,
.cws-page-product .cws-product-options li > a.vachecks:hover {
  border-color: var(--cws-accent, #5433eb) !important;
  color: var(--cws-accent, #5433eb) !important;
}

.cws-page-product .cws-product-options li > a.checks.botao_active,
.cws-page-product .cws-product-options li > a.vachecks.botao_active {
  border-color: var(--cws-accent, #5433eb) !important;
  background: #f5f2ff !important;
  color: var(--cws-accent-ink, #3a22c7) !important;
  font-weight: 700;
}

.cws-page-product .cws-product-options li > a i {
  font-size: 12px;
}

.cws-page-product .cws-product-details #resta22 {
  width: auto !important;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 12px;
  padding: 0 !important;
  border: 0 !important;
  color: var(--cws-muted, #787574);
  font-size: 13px;
  text-align: left !important;
}

.cws-page-product .cws-quantity-label {
  display: block;
  margin: 14px 0 7px;
}

.cws-page-product .cws-product-details .qty-box {
  margin: 0 0 20px;
}

.cws-page-product .cws-product-details .qty-box .input-group {
  width: 168px;
  min-height: 46px;
  border: 1px solid #d9d9df;
  border-radius: 10px;
  background: #fff;
}

.cws-page-product .cws-product-details .qty-box .input-group-prepend {
  display: flex;
}

.cws-page-product .cws-product-details .qty-box .input-group .btn {
  display: inline-flex;
  width: 46px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f6f6f7 !important;
  color: var(--cws-ink, #000) !important;
}

.cws-page-product .cws-product-details .qty-box .input-group .input-number {
  min-width: 42px;
  min-height: 44px;
  padding: 8px 4px;
  background: #fff;
  color: var(--cws-ink, #000);
  font-size: 16px;
}

.cws-page-product .cws-product-details .product-description {
  padding-bottom: 20px;
}

.cws-page-product .cws-product-details .cws-add-to-cart {
  min-width: 210px;
  min-height: 50px;
  padding: 13px 28px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--cws-accent, #5433eb) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700 !important;
  letter-spacing: 0.035em !important;
  transition: background-color 0.15s ease;
}

.cws-page-product .cws-product-details .cws-add-to-cart:hover {
  transform: none;
  background: var(--cws-accent-ink, #3a22c7) !important;
}

.cws-page-product .cws-product-details #html_retorno {
  margin-top: 12px;
  line-height: 1.5;
}

.cws-page-product .cws-product-category,
.cws-page-product .cws-product-description,
.cws-page-product .cws-product-reference {
  border-top: 1px solid var(--cws-border, #ebebeb);
}

.cws-page-product .cws-product-category .product-title,
.cws-page-product .cws-product-description .product-title {
  margin-bottom: 10px;
  color: var(--cws-ink, #000) !important;
  font-weight: 600 !important;
}

.cws-page-product .cws-product-category a {
  color: var(--cws-accent-ink, #3a22c7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cws-page-product .cws-product-description > p,
.cws-page-product .cws-product-description > div,
.cws-page-product .cws-product-description li {
  max-width: 72ch;
  color: #45434a;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.cws-page-product .cws-product-description img,
.cws-page-product .cws-product-description table {
  max-width: 100%;
}

.cws-page-product .cws-product-reference {
  color: var(--cws-muted, #787574);
  font-size: 13px;
}

.cws-page-product .cws-product-gallery-column a:focus-visible,
.cws-page-product .cws-product-details a:focus-visible,
.cws-page-product .cws-product-details button:focus-visible,
.cws-page-product .cws-product-details input:focus-visible {
  outline: 3px solid var(--cws-accent, #5433eb);
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .cws-page-product .cws-product-gallery-column {
    flex: 0 0 52%;
    max-width: 52%;
  }

  .cws-page-product .cws-product-info-column {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

@media (max-width: 991.98px) {
  .cws-page-product .cws-product-layout > .container {
    max-width: 760px !important;
  }

  .cws-page-product .cws-product-gallery-column {
    margin: 0 auto 26px;
  }

  .cws-page-product .cws-product-details {
    padding: 0 8px;
  }
}

@media (max-width: 575.98px) {
  .cws-page-product .cws-product-page {
    padding: 14px 0 20px;
  }

  .cws-page-product .cws-product-layout > .container {
    padding: 14px 12px 20px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .cws-page-product .cws-product-gallery-column {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 22px;
  }

  .cws-page-product .cws-product-gallery-column .slider-nav {
    margin-right: 16px;
    margin-left: 16px;
  }

  .cws-page-product .cws-product-details {
    padding: 0 4px;
  }

  .cws-page-product .cws-product-name {
    margin-bottom: 14px;
    font-size: clamp(24px, 7vw, 30px);
  }

  .cws-page-product .cws-product-price {
    margin-bottom: 16px;
  }

  .cws-page-product .cws-product-details .cws-add-to-cart {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .cws-page-product .cws-product-page {
    padding-top: 12px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .cws-page-product .cws-product-layout > .container {
    min-width: 0;
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  .cws-page-product .cws-product-gallery-column,
  .cws-page-product .cws-product-info-column,
  .cws-page-product .cws-product-details {
    min-width: 0;
  }

  .cws-page-product .cws-product-gallery-column .slider-nav {
    margin-right: 12px;
    margin-left: 12px;
  }

  .cws-page-product .cws-product-gallery-column .slider-nav .slick-slide {
    min-width: 48px;
    min-height: 48px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .cws-page-product .cws-product-gallery-column .slider-nav .img-container,
  .cws-page-product .cws-product-gallery-column .slider-nav .img-container img {
    min-height: 48px;
  }

  .cws-page-product .cws-product-price .cws-price-current {
    max-width: 100%;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.2;
  }

  .cws-page-product .cws-product-options li > a.checks,
  .cws-page-product .cws-product-options li > a.vachecks {
    min-width: 48px;
    min-height: 48px;
    padding: 10px 14px !important;
  }

  .cws-page-product .cws-product-details .qty-box .input-group {
    width: 168px;
    min-height: 48px;
  }

  .cws-page-product .cws-product-details .qty-box .input-group .btn,
  .cws-page-product .cws-product-details .qty-box .input-group .input-number {
    min-height: 48px;
  }

  .cws-page-product .cws-product-details .qty-box .input-group .btn {
    width: 48px;
  }

  .cws-page-product .cws-product-details .cws-add-to-cart {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 14px 16px !important;
  }

  .cws-page-product .no-slider .cws-card-actions a {
    width: 44px !important;
    min-width: 44px;
    height: 44px !important;
    min-height: 44px;
  }

  .cws-page-product .cws-product-description > p,
  .cws-page-product .cws-product-description > div,
  .cws-page-product .cws-product-description li {
    font-size: 16px;
    line-height: 1.65;
  }

  .cws-page-product .cws-product-description img,
  .cws-page-product .cws-product-description table {
    max-width: 100%;
  }
}

@media (max-width: 359.98px) {
  .cws-page-product .cws-product-layout > .container {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }

  .cws-page-product .cws-product-gallery-column {
    padding-right: 4px;
    padding-left: 4px;
  }

  .cws-page-product .cws-product-gallery-column .slider-nav {
    margin-right: 8px;
    margin-left: 8px;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) and (max-height: 500px) {
  .cws-page-product .cws-product-gallery-column .product-slick .easyzoom {
    aspect-ratio: 4 / 3;
    max-height: 56vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cws-page-product .cws-product-details *,
  .cws-page-product .cws-product-gallery-column * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
