
/* Soft, spacious product detail and native variation chips. */
.woocommerce .ts-product-detail .product-layout { gap: clamp(2rem, 4vw, 4rem); align-items: start; margin-top: 1.8rem; }
.ts-product-detail .product-media { padding: 12px; background: #f0f7fa; border: 1px solid #e1edf2; border-radius: 24px; overflow: hidden; }
.woocommerce .ts-product-detail .woocommerce-product-gallery img { border-radius: 16px; }
.woocommerce .ts-product-detail .flex-control-thumbs { display: flex; gap: 10px; padding-top: 12px; }
.woocommerce .ts-product-detail .flex-control-thumbs li { max-width: 22%; }
.woocommerce .ts-product-detail .summary { padding: clamp(1.2rem, 3vw, 2.5rem); background: #fff; border: 1px solid #e3edf2; border-radius: 24px; box-shadow: 0 12px 36px #62899d0a; }
.woocommerce .ts-product-detail .product_title { font-family: Georgia, serif; font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.12; color: #284b61; margin-bottom: 1.2rem; }
.woocommerce .ts-product-detail .summary p.price, .woocommerce .ts-product-detail .summary span.price { color: #325971; font-size: 1.5rem; font-weight: 600; }
.woocommerce .ts-product-detail .woocommerce-product-details__short-description { line-height: 1.8; color: #647984; }
.woocommerce .ts-product-detail form.cart .variations { margin: 1.5rem 0 .6rem; }
.woocommerce .ts-product-detail .variations tr, .woocommerce .ts-product-detail .variations th, .woocommerce .ts-product-detail .variations td { display: block; text-align: left; }
.woocommerce .ts-product-detail .variations th { padding-bottom: .6rem; }
.woocommerce .ts-product-detail .variations select[hidden] { display: none; }
.ts-size-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ts-size-chip { min-width: 48px; min-height: 46px; padding: .6rem 1rem; background: #fff; color: #34566b; border: 1px solid #ccdee7; border-radius: 13px; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.ts-size-chip:hover { background: #eff8fc; border-color: #81b5cc; }
.ts-size-chip[aria-pressed="true"] { background: #d2eaf6; border-color: #507f97; box-shadow: inset 0 0 0 1px #507f97; color: #234759; }
.ts-size-chip:focus-visible { outline: 3px solid #507f97; outline-offset: 3px; }
.ts-size-chip:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.woocommerce .ts-product-detail .reset_variations { display: inline-block; margin-top: .75rem; font-size: .78rem; color: #647984; }
.woocommerce .ts-product-detail .quantity .qty { border: 1px solid #ccdee7; border-radius: 12px; min-height: 48px; }
.woocommerce .ts-product-detail .single_add_to_cart_button.button { background: #c5e4f3; color: #284b61; border-radius: 999px; min-height: 48px; padding: .8rem 1.5rem; }
.woocommerce .ts-product-detail .single_add_to_cart_button.button:hover { background: #aed7eb; color: #234759; }
.woocommerce .ts-product-detail .single_add_to_cart_button.button.disabled { background: #e6eff3; color: #657985; }
.woocommerce .ts-product-detail .product_meta { line-height: 1.9; color: #748792; border-top-color: #e3edf2; }
.woocommerce .ts-product-detail .woocommerce-tabs { padding: 1.5rem; background: #f4f9fc; border-radius: 20px; }
.woocommerce .ts-product-detail .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 999px; margin-right: .5rem; }
.woocommerce .ts-product-detail .woocommerce-tabs ul.tabs li.active { background: #dceff8; color: #284b61; }
.woocommerce .ts-product-detail .woocommerce-tabs ul.tabs::before { border-bottom-color: #dfebf1; }
.woocommerce .ts-product-detail .woocommerce-tabs .panel { margin-bottom: 0; line-height: 1.8; }
@media (max-width: 768px) {
    .woocommerce .ts-product-detail .product-layout { gap: 1.2rem; }
    .woocommerce .ts-product-detail .summary { padding: 1.3rem; border-radius: 20px; }
    .ts-product-detail .product-media { padding: 8px; border-radius: 20px; }
    .woocommerce .ts-product-detail .single_add_to_cart_button.button { padding-inline: 1rem; }
}
/* Override WooCommerce's float layout and native select display rules. */
.woocommerce div.product.ts-product-detail .summary { width: 100%; float: none; box-sizing: border-box; min-width: 0; }
.woocommerce div.product.ts-product-detail form.cart .variations select[hidden] { display: none !important; }

/* Framed gallery with full garment photos and visible navigation. */
.woocommerce div.product.ts-product-detail .product-media { min-width: 0; padding: 10px; border-radius: 20px; }
.woocommerce div.product.ts-product-detail .woocommerce-product-gallery { float: none; width: 100%; margin: 0; position: relative; }
.woocommerce .ts-product-detail .woocommerce-product-gallery .flex-viewport { border-radius: 14px; background: #f5f9fb; }
.woocommerce .ts-product-detail .woocommerce-product-gallery__image > a { display: block; }
.woocommerce div.product.ts-product-detail .woocommerce-product-gallery__image > a > img { width: 100%; height: clamp(340px, 44vw, 550px); object-fit: contain; background: #f5f9fb; border-radius: 14px; }
.woocommerce div.product.ts-product-detail .flex-control-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 10px 2px 2px; margin: 0; }
.woocommerce div.product.ts-product-detail .flex-control-thumbs li { flex: 0 0 64px; width: 64px; max-width: none; float: none; }
.woocommerce div.product.ts-product-detail .flex-control-thumbs li img { height: 78px; width: 64px; object-fit: cover; border: 2px solid transparent; border-radius: 9px; padding: 2px; opacity: .65; }
.woocommerce div.product.ts-product-detail .flex-control-thumbs li img.flex-active { border-color: #80b6d1; opacity: 1; background: #fff; }
.woocommerce .ts-product-detail .flex-direction-nav { list-style: none; padding: 0; margin: 0; }
.woocommerce .ts-product-detail .flex-direction-nav a { position: absolute; z-index: 5; top: calc((clamp(340px, 44vw, 550px) - 42px) / 2); width: 42px; height: 42px; border: 1px solid #c5dfe9; border-radius: 50%; background: #fffffff0; color: #34566b; box-shadow: 0 3px 12px #284b6114; font-size: 0; text-decoration: none; display: grid; place-items: center; }
.woocommerce .ts-product-detail .flex-direction-nav .flex-prev { left: 10px; }
.woocommerce .ts-product-detail .flex-direction-nav .flex-next { right: 10px; }
.woocommerce .ts-product-detail .flex-direction-nav a::before { content: ''; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
.woocommerce .ts-product-detail .flex-direction-nav .flex-prev::before { transform: rotate(-135deg); margin-right: 0; margin-left: 4px; }
.woocommerce .ts-product-detail .flex-direction-nav a:hover { background: #d9eef8; }
.woocommerce .ts-product-detail .flex-direction-nav a:focus-visible { outline: 2px solid #54879f; outline-offset: 2px; }
.woocommerce .ts-product-detail .flex-direction-nav .flex-disabled { opacity: .35; pointer-events: none; }
@media(max-width:768px) {
 .woocommerce div.product.ts-product-detail .woocommerce-product-gallery__image > a > img { height: 390px; height: min(105vw, 460px); }
 .woocommerce .ts-product-detail .flex-direction-nav a { top: calc((min(105vw, 460px) - 42px) / 2); }
 .woocommerce div.product.ts-product-detail .flex-control-thumbs li { flex-basis: 54px; width: 54px; }
 .woocommerce div.product.ts-product-detail .flex-control-thumbs li img { width: 54px; height: 66px; }
}
/* One readable panel for garment description and specifications. */
.woocommerce .ts-product-detail .ts-unified-details { clear: both; margin: 1.5rem 0 2rem; padding: 1.5rem; border: 1px solid #dceaf2; border-radius: 20px; background: linear-gradient(120deg,#f0f8fc,#fbfdfe); color: #58778a; }
.woocommerce .ts-product-detail .ts-unified-details h2 { margin: 0 0 1.1rem; font: 400 1.5rem/1.3 Georgia,serif; color: #284b61; }
.ts-unified-details .ts-details-content { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 1.5rem; align-items: start; }
.ts-unified-details .ts-details-content > :only-child { grid-column: 1 / -1; }
.ts-details-description { font-size: .9rem; line-height: 1.85; overflow-wrap: anywhere; }
.ts-details-description > :last-child { margin-bottom: 0; }
.woocommerce .ts-unified-details table.shop_attributes { margin: 0; border: 1px solid #dceaf2; border-spacing: 0; border-collapse: separate; border-radius: 12px; overflow: hidden; background: #fff; font-size: .84rem; }
.woocommerce .ts-unified-details table.shop_attributes th,.woocommerce .ts-unified-details table.shop_attributes td { padding: .75rem 1rem; border: 0; border-bottom: 1px solid #e4eef4; background: transparent; color: #58778a; text-align: left; font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.woocommerce .ts-unified-details table.shop_attributes th { width: 35%; color: #34566b; font-weight: 600; background: #edf7fc; }
.woocommerce .ts-unified-details table.shop_attributes tr:last-child th,.woocommerce .ts-unified-details table.shop_attributes tr:last-child td { border-bottom: 0; }
.woocommerce .ts-unified-details table.shop_attributes td p { padding: 0; margin: 0; }
@media(max-width:768px) {
 .woocommerce .ts-product-detail .ts-unified-details { padding: 1.1rem; margin-top: 1.2rem; border-radius: 16px; }
 .ts-unified-details .ts-details-content { grid-template-columns: minmax(0,1fr); gap: 1rem; }
 .woocommerce .ts-product-detail .ts-unified-details h2 { font-size: 1.3rem; }
 .woocommerce .ts-unified-details table.shop_attributes th,.woocommerce .ts-unified-details table.shop_attributes td { padding: .65rem .75rem; }
}
.ts-size-chip[hidden]{display:none!important}
