/* 3Grafik Layout v2: only single-product storefront pages. CSS is additive and reversible. */
body.single-product.woocommerce div.product {
  --tg3-ink: #272329;
  --tg3-pink: #E64D87;
  --tg3-pink-hover: #CB316F;
  --tg3-soft: #FAF8F6;
  --tg3-line: #F1DCE6;
}
body.single-product.woocommerce div.product .summary {
  color: var(--tg3-ink);
}
body.single-product.woocommerce div.product .summary .tg3-layout-v2-category {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 750;
  color: #7652A3;
  background: #F6ECF6;
  padding: 7px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}
body.single-product.woocommerce div.product .summary h1.product_title,
body.single-product.woocommerce div.product .summary .product_title {
  font-size: clamp(27px, 2.7vw, 37px) !important;
  line-height: 1.16 !important;
  font-weight: 750 !important;
  letter-spacing: -.032em !important;
  color: var(--tg3-ink) !important;
  margin: 0 0 17px !important;
  max-width: 23ch;
}
body.single-product.woocommerce div.product .summary .price {
  display: block;
  font-size: 23px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  color: var(--tg3-pink) !important;
  margin: 0 0 20px !important;
}
body.single-product.woocommerce div.product .summary .price del,
body.single-product.woocommerce div.product .summary .price del .amount {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #8B858C !important;
}
body.single-product.woocommerce div.product .summary .price ins {
  text-decoration: none;
}
/* Compact purchase row; target simple product forms only, preserve variations and grouped products. */
body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: wrap;
  gap: 10px !important;
  width: 100%;
  margin: 8px 0 15px !important;
  padding: 0 !important;
  float: none !important;
  clear: both;
}
body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) .quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 118px;
  width: 118px !important;
  min-height: 54px !important;
  margin: 0 !important;
  border: 1px solid #EAE2E7 !important;
  border-radius: 11px !important;
  background: #fff !important;
  overflow: hidden;
  float: none !important;
  box-sizing: border-box !important;
}
body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) .quantity input.qty {
  min-height: 48px !important;
  max-width: 52px;
  flex: 1 1 45px;
  padding: 0 !important;
  font-weight: 700;
  color: var(--tg3-ink);
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center;
}
body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) button.single_add_to_cart_button,
body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) .single_add_to_cart_button.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  flex: 1 1 190px;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 12px 24px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: var(--tg3-pink) !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  letter-spacing: .01em;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  box-shadow: 0 6px 16px rgba(230,77,135,.16) !important;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) button.single_add_to_cart_button:hover,
body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) button.single_add_to_cart_button:focus-visible {
  background: var(--tg3-pink-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 9px 21px rgba(230,77,135,.22) !important;
}
body.single-product.woocommerce div.product .summary .ppc-button-wrapper,
body.single-product.woocommerce div.product .summary #ppc-button,
body.single-product.woocommerce div.product .summary .paypal-buttons,
body.single-product.woocommerce div.product .summary .wc-ppcp-product-payments__container {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 8px !important;
  margin-bottom: 12px !important;
  clear: both;
}
/* A visibly smaller, readable teaser. Full text remains accessible using Read more. */
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description {
  position: relative;
  clear: both;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #5B535D !important;
  padding: 13px 17px !important;
  margin: 16px 0 20px !important;
  border: 1px solid var(--tg3-line) !important;
  border-radius: 13px !important;
  background: #FCF9FB !important;
  box-shadow: none !important;
}
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description p {
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 0 9px !important;
}
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description p:last-child { margin-bottom: 0 !important; }
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description.tg3-layout-v2-collapsed {
  max-height: 116px !important;
  overflow: hidden !important;
}
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description.tg3-layout-v2-expanded {
  max-height: none !important;
  overflow: visible !important;
}
body.single-product.woocommerce div.product .summary .tg3-layout-v2-more {
  display: inline-flex;
  color: #7652A3;
  font-size: 13px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 2px 0 8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.single-product.woocommerce div.product .summary .tg3-layout-v2-more:focus-visible,
body.single-product.woocommerce div.product .summary .single_add_to_cart_button:focus-visible { outline: 3px solid #7652A3 !important; outline-offset: 3px; }
/* Soft gallery framing. Keep original WooCommerce slider functionality. */
body.single-product.woocommerce div.product .woocommerce-product-gallery,
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-viewport {
  border-radius: 15px;
}
body.single-product.woocommerce div.product .woocommerce-product-gallery img { max-width: 100%; height: auto; }
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 9px; border: 2px solid transparent; }
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--tg3-pink); }
/* Description below purchase: readable, full-width, not an unbroken wall of text. */
body.single-product.woocommerce div.product .woocommerce-tabs,
body.single-product.woocommerce div.product .product-details,
body.single-product.woocommerce div.product .tg3-product-details {
  margin-top: 30px;
}
body.single-product.woocommerce div.product .woocommerce-Tabs-panel--description,
body.single-product.woocommerce div.product .woocommerce-tabs .panel {
  color: #514A51;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
body.single-product.woocommerce div.product .woocommerce-Tabs-panel--description p,
body.single-product.woocommerce div.product .woocommerce-tabs .panel p { margin-bottom: 14px; }
body.single-product.woocommerce div.product .woocommerce-Tabs-panel--description h2,
body.single-product.woocommerce div.product .woocommerce-Tabs-panel--description h3 {
  color: var(--tg3-ink); line-height: 1.3; margin: 18px 0 12px;
}
@media (max-width: 767px) {
  body.single-product.woocommerce div.product .summary h1.product_title,
  body.single-product.woocommerce div.product .summary .product_title { font-size: clamp(25px, 6.3vw, 32px) !important; max-width: none; }
  body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) { gap: 9px !important; }
  body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) .quantity { flex-basis: 100px; width: 100px !important; }
  body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) button.single_add_to_cart_button { flex: 1 1 160px; }
  body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description { padding: 12px 14px !important; }
}
@media (max-width: 390px) {
  body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) .quantity { flex: 0 0 100%; width: 100% !important; }
  body.single-product.woocommerce div.product .summary form.cart:not(.variations_form):not(.grouped_form) button.single_add_to_cart_button { flex: 0 0 100%; width: 100% !important; }
}
