/* TP Premium V2 - Layout Fix 2026-10-25. Replaces previous phase1 CSS.
   Scoped to product pages; leaves Journal3 Swiper, cart JS and product data intact. */
#product-product .tp-premium-v2,
#product-product .tp-premium-v2 * {box-sizing:border-box}
#product-product .tp-premium-v2 {min-width:0}
#product-product .tp-premium-v2 .product-left,
#product-product .tp-premium-v2 .product-right,
#product-product .tp-premium-v2 .product-details {min-width:0}
/* Wide desktop: original gallery left; readable middle + buying section right. */
@media (min-width:1200px) {
  #product-product .tp-premium-v2 {display:grid!important;grid-template-columns:minmax(0,39%) minmax(0,61%);gap:clamp(16px,1.6vw,26px);align-items:start}
  #product-product .tp-premium-v2 > .product-left,
  #product-product .tp-premium-v2 > .product-right {float:none!important;width:100%!important;max-width:none!important;margin:0!important;min-width:0}
  #product-product .tp-premium-v2 .product-right-wrapper > .product-details {display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:10px 18px;align-items:start;align-content:start}
  #product-product .tp-premium-v2 .product-details > .title {grid-column:1 / -1;grid-row:1;margin:0 0 8px;min-width:0;overflow-wrap:break-word;font-size:clamp(22px,2.05vw,30px);line-height:1.2}
  #product-product .tp-premium-v2 .product-details > .product-labels-outside {grid-column:1;grid-row:2}
  #product-product .tp-premium-v2 .product-details > .rating {grid-column:1;grid-row:3}
  #product-product .tp-premium-v2 .product-details > .product-stats {grid-column:1;grid-row:4}
  #product-product .tp-premium-v2 .product-details > .countdown-wrapper {grid-column:1;grid-row:4}
  #product-product .tp-premium-v2 .product-details > .product-price-group {grid-column:1;grid-row:5}
  #product-product .tp-premium-v2 .product-details > .tp-premium-facts {grid-column:1;grid-row:6}
  #product-product .tp-premium-v2 .product-details > .button-group-page {grid-column:2;grid-row:2 / span 5;align-self:start;min-width:0;background:#fff;border:1px solid #dfe5ed;border-radius:10px;padding:14px;margin:0!important;float:none!important;width:auto!important}
  #product-product .tp-premium-v2 .product-details > .product-options {grid-column:2;grid-row:7;margin:0;min-width:0}
  #product-product .tp-premium-v2 .product-details > .tp-deck-calc {grid-column:2;grid-row:8;min-width:0}
  #product-product .tp-premium-v2 .product-details > .tp-premium-inquiry {grid-column:2;grid-row:9;margin:0;min-width:0}
  #product-product .tp-premium-v2 .product-details > .minimum {grid-column:2;grid-row:10}
  #product-product .tp-premium-v2 .product-details > .description,
  #product-product .tp-premium-v2 .product-details > .recurring-title,
  #product-product .tp-premium-v2 .product-details > .form-group {grid-column:1 / -1;min-width:0}
  #product-product .tp-premium-v2 .product-details > :not(.title):not(.product-labels-outside):not(.rating):not(.product-stats):not(.countdown-wrapper):not(.product-price-group):not(.tp-premium-facts):not(.button-group-page):not(.product-options):not(.tp-deck-calc):not(.tp-premium-inquiry):not(.minimum):not(.description):not(.recurring-title):not(.form-group) {grid-column:1 / -1}
}
/* Smaller desktop/tablet: use original Journal3 stacking, not narrow 3-column layout. */
@media (min-width:1200px) and (max-width:1370px) {
  #product-product .tp-premium-v2 {grid-template-columns:minmax(0,37%) minmax(0,63%);gap:15px}
  #product-product .tp-premium-v2 .product-right-wrapper > .product-details {column-gap:12px}
}
@media (max-width:1199px) {
  #product-product .tp-premium-v2 .product-right-wrapper > .product-details {display:block!important}
  #product-product .tp-premium-v2 .button-group-page {margin-top:12px}
}
/* Legibility, restrained premium surfaces and no duplicated forced gallery sizing. */
#product-product .tp-premium-v2 .product-details .price-group {display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
#product-product .tp-premium-v2 .product-details .product-price,
#product-product .tp-premium-v2 .product-details .product-price-new {font-weight:750;font-size:clamp(25px,2.15vw,32px);line-height:1.18}
#product-product .tp-premium-v2 .product-stats {max-width:100%;font-size:13px;line-height:1.5}
#product-product .tp-premium-v2 .product-stats ul {margin:0;padding:0;overflow-wrap:anywhere}
#product-product .tp-premium-v2 .product-stats .brand-image img {object-fit:contain;max-width:100%}
#product-product .tp-premium-v2 .tp-premium-facts {display:flex;flex-wrap:wrap;gap:7px;margin:5px 0 10px;font-size:13px}
#product-product .tp-premium-v2 .tp-premium-facts > span {padding:7px 9px;border:1px solid #e4e9ef;background:#f7f9fc;border-radius:7px}
#product-product .tp-premium-v2 .tp-premium-facts .tp-premium-delivery {width:100%;font-size:13px}
#product-product .tp-premium-v2 .button-group-page .buttons-wrapper {min-width:0}
#product-product .tp-premium-v2 .tp-premium-inquiry-btn {display:block;text-align:center;border:1px solid #344659;border-radius:6px;background:#fff;color:#273849;padding:13px 12px;font-weight:700;text-decoration:none}
#product-product .tp-premium-v2 .tp-premium-inquiry p {font-size:12px;margin:6px 0;color:#687683}
#product-product .tp-premium-v2 .main-image img {max-width:100%;height:auto}
#product-product .tp-premium-v2 .tp-deck-calc {width:100%;max-width:100%;overflow:hidden}
@media (max-width:767px) {#product-product .tp-premium-v2 .product-details > .title {font-size:23px;line-height:1.25}#product-product .tp-premium-v2 .tp-premium-facts > span {padding:7px}}
