/* Thành Phát EV v0.0.52 — complete luxury single-product hero.
   Applies to WooCommerce product pages only. Preserves native gallery/cart and
   existing gold ✓ product-feature icons; all commerce values are live. */
body.single-product .tpa-woo-main{padding-top:24px}
body.single-product .tpa-woo-main .product.type-product{
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  column-gap:40px;row-gap:0;align-items:start
}
body.single-product.woocommerce div.product div.images,
body.single-product.woocommerce div.product div.summary{min-width:0}
body.single-product.woocommerce div.product div.summary{padding-top:0}
body.single-product.woocommerce div.product .product_title{
  margin:0 0 15px!important;font-size:clamp(31px,3.25vw,46px)!important;
  line-height:1.13!important;letter-spacing:-.02em!important;color:#071e35
}
body.single-product .tpa-ev-v052-kicker{
  display:flex;align-items:center;gap:9px;margin:1px 0 11px!important;
  font-size:11px!important;line-height:1.5;color:#bb842f!important;
  font-weight:700;letter-spacing:.07em;text-transform:uppercase
}
body.single-product .tpa-ev-v052-kicker::before{content:"";width:20px;height:2px;background:#cc963d;flex:0 0 20px}

/* Only actual Woo reviews / sales are shown; no fabricated star rows. */
body.single-product .tpa-ev-v052-proof{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px;color:#305a73;font-size:12px}
body.single-product .tpa-ev-v052-rating{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.single-product .tpa-ev-v052-rating .star-rating{float:none;margin:0;color:#d9a03b}
body.single-product .tpa-ev-v052-sold{font-size:12px;font-weight:600;color:#385d71}

/* Headline price + actual savings, same row. */
body.single-product .tpa-ev-v052-price-line{display:flex;align-items:center;gap:12px 15px;flex-wrap:wrap;margin:2px 0 16px}
body.single-product.woocommerce div.product .tpa-ev-v052-price-line>p.price,
body.single-product.woocommerce div.product .tpa-ev-v052-price-line>span.price{
  display:inline-flex!important;align-items:baseline;flex-wrap:wrap;gap:8px;
  margin:0!important;font-size:clamp(26px,2.6vw,35px)!important;
  font-weight:700;color:#d42628!important;letter-spacing:-.02em
}
body.single-product .tpa-ev-v052-price-line .price del{color:#86909a!important;font-weight:500;font-size:16px;opacity:1}
body.single-product .tpa-ev-v052-price-line .price del .woocommerce-Price-amount{font-size:16px;color:#86909a}
body.single-product .tpa-ev-v052-price-line .price ins{text-decoration:none;color:#d42628}
body.single-product .tpa-ev-v052-saving{
  display:inline-flex;align-items:center;gap:3px;max-width:100%;
  min-height:30px;padding:5px 11px;border-radius:999px;
  color:#b8312b;background:#fff0f0;font-size:12px;font-weight:700;line-height:1.3
}
body.single-product .tpa-ev-v052-saving .woocommerce-Price-amount{font-size:inherit;color:inherit}

/* Notes: personal below price, shared note below the gallery. */
body.single-product.woocommerce div.product .tpa-ev-product-specific-notice{
  margin:0 0 15px;border-color:#d4e9f3;border-left:3px solid #129fc3;
  background:#f0f9fe;border-radius:10px;padding:11px 14px;color:#234b65
}
body.single-product.woocommerce div.product .tpa-ev-product-specific-notice p{font-size:12.5px;line-height:1.65}
body.single-product.woocommerce div.product .tpa-ev-product-general-notice{
  margin:15px 0 22px;padding:13px 15px;background:#f0f9fe;
  border:1px solid #ccebf8;border-left:3px solid #56b6d4;
  border-radius:11px;color:#35617a
}
body.single-product.woocommerce div.product .tpa-ev-product-general-notice p{font-size:12px;line-height:1.65}

/* One clean row replaces the previous separate stock and category panels. */
body.single-product.woocommerce div.product .tpa-ev-v052-facts{
  display:flex;align-items:stretch;gap:0;min-width:0;
  margin:0 0 18px;padding:11px 0;border-top:1px solid #e2eaf0;border-bottom:1px solid #e2eaf0
}
body.single-product .tpa-ev-v052-fact{
  flex:1 1 0;min-width:0;display:flex;flex-wrap:wrap;align-items:center;align-content:center;
  column-gap:7px;row-gap:3px;padding:2px 12px;
  font-size:12px;line-height:1.5
}
body.single-product .tpa-ev-v052-fact:first-child{padding-left:0}
body.single-product .tpa-ev-v052-fact+.tpa-ev-v052-fact{border-left:1px solid #dfe7ee}
body.single-product .tpa-ev-v052-fact-symbol{
  flex:0 0 19px;display:inline-flex;justify-content:center;align-items:center;
  width:19px;height:19px;border:1px solid #c5dce7;border-radius:6px;
  color:#0878a8;font-size:13px;line-height:1;font-weight:700
}
body.single-product .tpa-ev-v052-fact-symbol.is-stock{border-color:#b6decf;color:#138b58;border-radius:50%}
body.single-product .tpa-ev-v052-fact-label{font-weight:600;color:#34566d;white-space:nowrap}
body.single-product .tpa-ev-v052-fact-value{max-width:100%;min-width:0;color:#08699b;text-decoration:none;font-weight:700;overflow-wrap:anywhere}
body.single-product .tpa-ev-v052-fact-value.is-in-stock{color:#198651}
body.single-product .tpa-ev-v052-fact-value.is-out-of-stock{color:#a33e31}
body.single-product .tpa-ev-v052-fact-value.is-sku{font-size:11.5px;font-weight:600;color:#3c5870}
body.single-product .tpa-ev-v052-fact a:hover{text-decoration:underline}

/* Short description: one soft-toned feature block, not many cards. Keep gold ✓. */
body.single-product.woocommerce div.product .tpa-product-intro.is-feature-list{
  border:1px solid #eadfcc;background:linear-gradient(135deg,#fffdf9,#fbf7ef);
  border-radius:13px;padding:14px 17px;margin:0 0 18px;color:#304b60
}
body.single-product.woocommerce div.product .tpa-product-intro.is-feature-list li{padding-left:22px;font-size:12.5px;line-height:1.54;color:#385366}
body.single-product.woocommerce div.product .tpa-product-intro.is-feature-list li::before{color:#c18a2f}
body.single-product.woocommerce div.product .tpa-product-intro.is-feature-list ul,
body.single-product.woocommerce div.product .tpa-product-intro.is-feature-list ol{gap:5px}
body.single-product.woocommerce div.product .tpa-product-intro.is-feature-list p{color:#233e56;font-size:13px;line-height:1.55}

/* Existing authentic picture gallery and thumbnails. */
body.single-product.woocommerce div.product div.images .flex-viewport,
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image{
  border:1px solid #e1e8ed;border-radius:16px;overflow:hidden;background:#f5f8fa
}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image img{
  display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;background:#f5f8fa
}
body.single-product.woocommerce div.product div.images .flex-control-thumbs{
  display:flex;gap:10px;margin:11px 0 0!important;overflow-x:auto;
  padding:2px 2px 5px!important;scrollbar-width:thin
}
body.single-product.woocommerce div.product div.images .flex-control-thumbs li{
  flex:0 0 clamp(65px,18%,108px);width:auto!important;border:2px solid transparent;
  border-radius:10px;box-shadow:none;transition:border-color .18s
}
body.single-product.woocommerce div.product div.images .flex-control-thumbs li:has(.flex-active){border-color:#d7a03b}
body.single-product.woocommerce div.product div.images .flex-control-thumbs img{
  opacity:.8!important;aspect-ratio:1/1;object-fit:cover
}
body.single-product.woocommerce div.product div.images .flex-control-thumbs img.flex-active{opacity:1!important}
body.single-product.woocommerce span.onsale{
  background:linear-gradient(135deg,#f6d27e,#d59a25);border-radius:999px;
  padding:9px 13px;color:#101a28;box-shadow:0 4px 12px rgba(130,82,14,.12)
}

/* Keep the real Woo cart and buy-now actions, now visually consistent. */
body.single-product.woocommerce div.product form.cart{margin:0;padding-top:2px}
body.single-product.woocommerce div.product.product-type-simple form.cart{
  grid-template-columns:84px minmax(0,1fr) minmax(0,1fr);gap:10px
}
body.single-product.woocommerce .quantity .qty{
  height:52px;border:1px solid #d7dfe5;border-radius:10px;background:#fff;color:#0f2f4d
}
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button.button{
  background:#f1f9fe!important;color:#07547d!important;
  border:1px solid #a8d6eb!important;border-radius:10px
}
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button.button:hover{background:#e2f4fc!important}
body.single-product.woocommerce div.product form.cart .tpa-ev-buy-now,
body.single-product.woocommerce div.product form.cart .button.tpa-ev-buy-now{
  background:linear-gradient(105deg,#0869b9,#04b1be)!important;color:#fff!important;
  border:1px solid #0496bf!important;border-radius:10px;box-shadow:0 9px 20px rgba(3,119,162,.12)
}
body.single-product.woocommerce div.product form.cart .tpa-ev-buy-now:hover{filter:brightness(.95)}
body.single-product.woocommerce div.product .tpa-product-consult{
  display:flex;align-items:center;min-height:42px;margin-top:11px;
  padding:10px 12px;background:#f6f5f1;border-radius:9px;font-size:12px
}
body.single-product.woocommerce div.product .tpa-product-consult a{white-space:nowrap;font-size:13px;color:#112c48}

/* Combo from v0.0.51 remains fully functional; polish without recreating content. */
body.single-product.woocommerce div.product .tpa-ev-product-mini-combo{margin-top:19px}
body.single-product.woocommerce div.product .tpa-ev-product-mini-combo-head h2{
  font-size:19px;color:#0b3859;font-weight:700
}
body.single-product.woocommerce div.product .tpa-ev-product-mini-combo-card{
  border-color:#dae8f0;border-radius:11px;min-height:101px
}
body.single-product.woocommerce div.product .tpa-ev-product-mini-combo-card.is-selected{
  background:#eef9ff;border-color:#75bfdc
}

@media (max-width:1180px){
  body.single-product .tpa-woo-main .product.type-product{column-gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body.single-product .tpa-ev-v052-facts{flex-wrap:wrap}
  body.single-product .tpa-ev-v052-fact{flex:1 1 45%;padding:6px 12px}
  body.single-product .tpa-ev-v052-fact:nth-child(odd){padding-left:0;border-left:0}
}
@media (max-width:900px){
  body.single-product .tpa-woo-main .product.type-product{display:grid;grid-template-columns:minmax(0,1fr);row-gap:0}
  body.single-product.woocommerce div.product .tpa-ev-product-general-notice{margin-top:13px}
  body.single-product.woocommerce div.product div.summary{margin-bottom:24px}
  body.single-product .tpa-ev-v052-facts{flex-wrap:wrap}
  body.single-product .tpa-ev-v052-fact{flex:1 1 0;min-width:125px;padding:6px 10px}
  body.single-product .tpa-ev-v052-fact+.tpa-ev-v052-fact{border-left:1px solid #dfe7ee}
}
@media (max-width:600px){
  body.single-product .tpa-woo-main{padding-top:14px}
  body.single-product.woocommerce div.product .product_title{font-size:clamp(27px,7vw,35px)!important;margin-bottom:12px!important}
  body.single-product .tpa-ev-v052-price-line{gap:7px 12px;margin-bottom:13px}
  body.single-product.woocommerce div.product .tpa-ev-v052-price-line>p.price{font-size:26px!important}
  body.single-product .tpa-ev-v052-saving{font-size:11px;min-height:27px}
  body.single-product.woocommerce div.product .tpa-ev-v052-facts{gap:0;align-items:stretch}
  body.single-product .tpa-ev-v052-fact{flex:1 1 45%;min-width:0;padding:7px 8px}
  body.single-product .tpa-ev-v052-fact:nth-child(odd){border-left:0;padding-left:0}
  body.single-product .tpa-ev-v052-fact-label,body.single-product .tpa-ev-v052-fact-value{font-size:11px}
  body.single-product.woocommerce div.product .tpa-product-intro.is-feature-list{padding:13px 14px}
  body.single-product.woocommerce div.product.product-type-simple form.cart{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.single-product.woocommerce div.product.product-type-simple form.cart .quantity{grid-column:1 / -1}
  body.single-product.woocommerce div.product div.images .flex-control-thumbs li{flex:0 0 76px}
  body.single-product .tpa-ev-v052-kicker{font-size:10px!important}
}
