/* Single product polish — same layout, refined styling. */
body.single-product{--tp-ink:#18181b;--tp-muted:#71717a;--tp-line:#ececef;--tp-soft:#f7f7f9;--tp-accent:#FA5114}

/* Breadcrumb */
body.single-product .woocommerce-breadcrumb{font-size:13px;color:var(--tp-muted);text-transform:none;letter-spacing:0}
body.single-product .woocommerce-breadcrumb a{color:var(--tp-muted)}
body.single-product .woocommerce-breadcrumb a:hover{color:var(--tp-accent)}

/* Brand logo above title */
body.single-product .product-info.summary>div:first-child:has(>a>img){margin-bottom:12px!important}
body.single-product .product-info.summary>div:first-child>a:has(img){display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--tp-line);border-radius:12px;padding:6px;transition:border-color .2s,box-shadow .2s}
body.single-product .product-info.summary>div:first-child>a:has(img):hover{border-color:rgba(250,81,20,.4);box-shadow:0 4px 12px rgba(0,0,0,.06)}
body.single-product .product-info.summary>div:first-child>a>img{width:46px!important;height:46px!important}

/* Title */
body.single-product .product-info .product_title{font-size:26px;font-weight:700;line-height:1.3;letter-spacing:-.01em;color:var(--tp-ink);margin:0 0 14px}
body.single-product .product-info .is-divider{display:none}
body.single-product .product-info .price-wrapper{margin-bottom:14px}

/* Quantity + buttons box */
body.single-product .product-info form.cart:not(.variations_form),
body.single-product .product-info .woocommerce-variation-add-to-cart{
  flex-wrap:wrap!important;align-items:stretch;background:var(--tp-soft);border:1px solid var(--tp-line);border-radius:16px;padding:14px;margin:18px 0 16px}
body.single-product .product-info form.cart .ux-quantity{display:inline-flex;align-items:center;height:50px;margin:0!important;background:#fff;border:1px solid #e4e4e7;border-radius:12px;overflow:hidden;flex:0 0 auto}
body.single-product .product-info form.cart .ux-quantity__button{width:40px;height:48px;min-height:0;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--tp-ink);font-size:18px;font-weight:500;line-height:48px;transition:background .15s,color .15s}
body.single-product .product-info form.cart .ux-quantity__button:hover{background:#fff4ee!important;color:var(--tp-accent)}
body.single-product .product-info form.cart .ux-quantity .qty{width:44px;height:48px;margin:0;padding:0;border:0!important;border-left:1px solid #f0f0f2!important;border-right:1px solid #f0f0f2!important;border-radius:0;background:#fff;box-shadow:none!important;font-size:15px;font-weight:700;color:var(--tp-ink);text-align:center;-moz-appearance:textfield}
body.single-product .product-info form.cart .ux-quantity .qty::-webkit-inner-spin-button,body.single-product .product-info form.cart .ux-quantity .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.single-product .product-info form.cart .single_add_to_cart_button,
body.single-product .product-info form.cart .ux-buy-now-button{
  min-height:50px;height:50px;margin:0!important;border-radius:12px!important;font-size:15px;font-weight:700;text-transform:none;letter-spacing:.01em;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;line-height:1}

/* Category / brand meta as pills */
body.single-product .product-info .product_meta{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:4px 0 0;font-size:12px}
body.single-product .product-info .product_meta>span{display:inline-flex;align-items:center;gap:4px;margin:0;padding:6px 12px;background:#fff;border:1px solid var(--tp-line);border-radius:999px;color:var(--tp-muted);border-top:1px solid var(--tp-line)}
body.single-product .product-info .product_meta>span a{color:var(--tp-ink);font-weight:600}
body.single-product .product-info .product_meta>span a:hover{color:var(--tp-accent)}

/* Description content */
body.single-product .woocommerce-Tabs-panel h3{font-size:17px;font-weight:700;line-height:1.35;color:var(--tp-ink);padding-left:12px;border-left:3px solid var(--tp-accent);border-radius:0;margin:26px 0 8px}
body.single-product .woocommerce-Tabs-panel h3:first-child{margin-top:4px}
body.single-product .woocommerce-Tabs-panel p{margin-bottom:12px}
body.single-product .woocommerce-Tabs-panel .ds-scroll-area{overflow-x:auto;margin:12px 0 14px}
body.single-product .woocommerce-Tabs-panel .ds-scroll-area__gutters{display:none}
body.single-product .woocommerce-Tabs-panel table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--tp-line);border-radius:12px;overflow:hidden;margin:12px 0 14px;font-size:14px}
body.single-product .woocommerce-Tabs-panel .ds-scroll-area table{margin:0}
body.single-product .woocommerce-Tabs-panel th{background:var(--tp-soft);color:var(--tp-ink);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:11px 16px;border:0;border-bottom:1px solid var(--tp-line)}
body.single-product .woocommerce-Tabs-panel td{padding:11px 16px;border:0;border-top:1px solid #f2f2f4;color:#3f3f46;vertical-align:top}
body.single-product .woocommerce-Tabs-panel tbody tr:first-child td{border-top:0}
body.single-product .woocommerce-Tabs-panel tbody tr:nth-child(even) td{background:#fcfcfd}
body.single-product .woocommerce-Tabs-panel td strong{color:var(--tp-ink);font-weight:600}

/* Related products — same card language as the shop */
body.single-product .related{margin-top:16px}
body.single-product .related .product-section-title{font-size:20px;font-weight:700;text-transform:none;letter-spacing:-.01em;color:var(--tp-ink);border:0}
body.single-product .related .row-box-shadow-2 .col-inner,body.single-product .related .row-box-shadow-1-hover .col-inner:hover{box-shadow:none}
body.single-product .related .product-small.col>.col-inner{background:#fff;border:1px solid var(--tp-line);border-radius:14px;overflow:hidden;height:100%;transition:transform .25s ease,box-shadow .25s ease,border-color .25s}
body.single-product .related .product-small.col>.col-inner:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(17,17,26,.08);border-color:transparent}
body.single-product .related .product-small .box-image{background:var(--tp-soft)}
body.single-product .related .product-small .box-image img{mix-blend-mode:multiply;transition:transform .45s ease}
body.single-product .related .product-small.col>.col-inner:hover .box-image img{transform:scale(1.05)}
body.single-product .related .box-text-products{padding:14px 14px 16px;text-align:left}
body.single-product .related .product-cat{font-size:11px;letter-spacing:.06em;color:var(--tp-accent);opacity:1;margin-bottom:6px}
body.single-product .related .product-title{font-size:14px;line-height:1.45;font-weight:600;min-height:2.9em;margin-bottom:8px}
body.single-product .related .product-title a{color:var(--tp-ink)}
body.single-product .related .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;font-size:16px;font-weight:700;color:var(--tp-ink)}
body.single-product .related .price ins{order:-1;text-decoration:none;color:var(--tp-accent)}
body.single-product .related .price del{font-size:13px;font-weight:400;color:#a1a1aa;opacity:1}

@media (max-width:849px){
  body.single-product .product-info .product_title{font-size:22px}
}
@media (max-width:549px){
  body.single-product .product-info .product_title{font-size:19px;margin-bottom:12px}
  body.single-product .product-info form.cart:not(.variations_form),
  body.single-product .product-info .woocommerce-variation-add-to-cart{padding:12px;gap:10px!important}
  body.single-product .product-info form.cart .ux-quantity{flex:0 0 100%;justify-content:space-between}
  body.single-product .product-info form.cart .ux-quantity .qty{flex:1}
  body.single-product .product-info form.cart .single_add_to_cart_button,
  body.single-product .product-info form.cart .ux-buy-now-button{flex:1 1 0!important;font-size:14px;height:48px;min-height:48px}
  body.single-product .woocommerce-Tabs-panel th,body.single-product .woocommerce-Tabs-panel td{padding:9px 12px;font-size:13px}
  body.single-product .related .product-small.col>.col-inner:hover{transform:none}
}