/*
 * Tandem-branded WooCommerce single-product treatment.
 * Loaded only for product IDs 197-207 by tandem-commerce-products.php.
 */
body.tv-commerce-product #main-content {
  background:
    radial-gradient(circle at 12% 8%, rgba(22, 150, 163, 0.10), transparent 26rem),
    linear-gradient(180deg, #f7fbfc 0%, #edf6f9 100%);
}

body.tv-commerce-product #main-content .container {
  width: min(90%, 1160px);
  max-width: 1160px;
  padding-top: 54px;
}

body.tv-commerce-product #main-content .container::before {
  display: none;
}

body.tv-commerce-product #left-area {
  float: none;
  width: 100%;
  padding: 0 0 84px;
}

body.tv-commerce-product #sidebar {
  display: none;
}

body.tv-commerce-product #main-content,
body.tv-commerce-product #main-content button,
body.tv-commerce-product #main-content input {
  font-family: "Poppins", Arial, sans-serif;
}

body.tv-commerce-product .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #607386;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

body.tv-commerce-product .woocommerce-breadcrumb a {
  color: #1696a3;
}

body.tv-commerce-product #main-content div[id^="product-"] > .clearfix {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

body.tv-commerce-product #main-content div[id^="product-"] div.images,
body.tv-commerce-product #main-content div[id^="product-"] div.summary {
  float: none;
  width: auto;
  margin: 0;
}

body.tv-commerce-product .woocommerce-product-gallery {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(15, 34, 53, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(15, 34, 53, 0.13);
}

body.tv-commerce-product .woocommerce-product-gallery__wrapper,
body.tv-commerce-product .woocommerce-product-gallery__image,
body.tv-commerce-product .woocommerce-product-gallery__image a {
  display: block;
  border-radius: 17px;
}

body.tv-commerce-product .woocommerce-product-gallery img {
  display: block;
  width: 100%;
  border-radius: 17px;
}

body.tv-commerce-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  top: 32px;
  right: 32px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 34, 53, 0.16);
}

body.tv-commerce-product #main-content div[id^="product-"] div.summary {
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(15, 34, 53, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 54px rgba(15, 34, 53, 0.12);
}

body.tv-commerce-product #main-content div[id^="product-"] .product_title {
  margin: 0 0 16px;
  padding: 0;
  color: #0f2235;
  font-size: clamp(30px, 3.2vw, 43px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

body.tv-commerce-product #main-content div[id^="product-"] p.price,
body.tv-commerce-product #main-content div[id^="product-"] span.price {
  margin: 0 0 22px;
  color: #1696a3;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
}

body.tv-commerce-product .tv-currency-code {
  color: #607386;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.tv-commerce-product .woocommerce-product-details__short-description {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 4px solid #1696a3;
  border-radius: 0 12px 12px 0;
  color: #465c70;
  background: #eef7f9;
  font-size: 15px;
  line-height: 1.7;
}

body.tv-commerce-product .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}

body.tv-commerce-product #main-content div[id^="product-"] form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin: 0;
}

body.tv-commerce-product.woocommerce .quantity .qty {
  width: 76px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid #bfd1d8;
  border-radius: 999px;
  color: #0f2235;
  background: #f7fbfc;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

body.tv-commerce-product.woocommerce .quantity .qty:focus {
  border-color: #1696a3;
  outline: 3px solid rgba(22, 150, 163, 0.16);
}

body.tv-commerce-product #main-content div[id^="product-"] form.cart .button {
  min-height: 52px;
  padding: 0 30px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #1696a3 !important;
  box-shadow: 0 10px 24px rgba(22, 150, 163, 0.28);
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  line-height: 52px !important;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body.tv-commerce-product #main-content div[id^="product-"] form.cart .button::after {
  display: none;
}

body.tv-commerce-product #main-content div[id^="product-"] form.cart .button:hover,
body.tv-commerce-product #main-content div[id^="product-"] form.cart .button:focus {
  padding: 0 30px !important;
  background: #0f7f8a !important;
  box-shadow: 0 13px 30px rgba(22, 150, 163, 0.34);
  transform: translateY(-1px);
}

body.tv-commerce-product #main-content div[id^="product-"] .product_meta {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #dfeaed;
  color: #607386;
  font-size: 13px;
  line-height: 1.7;
}

body.tv-commerce-product #main-content div[id^="product-"] .woocommerce-tabs,
body.tv-commerce-product #main-content div[id^="product-"] .related {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  body.tv-commerce-product #main-content .container {
    width: min(92%, 760px);
    padding-top: 36px;
  }

  body.tv-commerce-product #main-content div[id^="product-"] > .clearfix {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  body.tv-commerce-product #left-area {
    padding-bottom: 60px;
  }

  body.tv-commerce-product .woocommerce-product-gallery {
    padding: 10px;
    border-radius: 18px;
  }

  body.tv-commerce-product .woocommerce-product-gallery__wrapper,
  body.tv-commerce-product .woocommerce-product-gallery__image,
  body.tv-commerce-product .woocommerce-product-gallery__image a,
  body.tv-commerce-product .woocommerce-product-gallery img {
    border-radius: 12px;
  }

  body.tv-commerce-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 20px;
    right: 20px;
  }

  body.tv-commerce-product #main-content div[id^="product-"] div.summary {
    padding: 28px 22px;
    border-radius: 18px;
  }

  body.tv-commerce-product #main-content div[id^="product-"] .product_title {
    font-size: 30px;
  }

  body.tv-commerce-product #main-content div[id^="product-"] p.price,
  body.tv-commerce-product #main-content div[id^="product-"] span.price {
    font-size: 25px;
  }

  body.tv-commerce-product #main-content div[id^="product-"] form.cart {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
  }

  body.tv-commerce-product #main-content div[id^="product-"] form.cart .quantity {
    float: none;
    grid-column: 1;
    grid-row: 1;
    width: 74px !important;
    margin: 0 !important;
  }

  body.tv-commerce-product.woocommerce .quantity .qty {
    width: 74px;
  }

  body.tv-commerce-product #main-content div[id^="product-"] form.cart .button {
    float: none;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    padding: 0 18px !important;
    white-space: nowrap;
  }

  body.tv-commerce-product #main-content div[id^="product-"] form.cart .button:hover,
  body.tv-commerce-product #main-content div[id^="product-"] form.cart .button:focus {
    padding: 0 18px !important;
  }
}
