/* =========================================================
   CSHP WOO PRODUCT DESIGN
========================================================= */

.cshp-single-product{
    --cshp-primary:#163a6c;
    --cshp-accent:#f49138;
    --cshp-text:#202733;
    --cshp-muted:#667085;
    --cshp-border:#e3e8ef;
    --cshp-soft:#f7f8fa;
    --cshp-white:#fff;
    background:#fff;
    color:var(--cshp-text);
    font-family:inherit;
}

.cshp-single-product *{box-sizing:border-box}
.cshp-product-shell{width:min(1200px,calc(100% - 40px));margin:0 auto;padding:24px 0 72px}
.cshp-breadcrumb-wrap{margin:0 0 22px}
.cshp-breadcrumb-wrap .woocommerce-breadcrumb{margin:0!important;color:#7b8492!important;font-size:13px!important;line-height:1.6!important}
.cshp-breadcrumb-wrap .woocommerce-breadcrumb a{color:var(--cshp-primary)!important;text-decoration:none!important}

.cshp-product-detail{margin:0!important}
.cshp-product-hero{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:54px;align-items:start}

/* Gallery */
.cshp-product-gallery{min-width:0}
.cshp-product-gallery .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
.cshp-product-gallery .woocommerce-product-gallery__wrapper{margin:0!important}
.cshp-product-gallery .woocommerce-product-gallery__image{background:var(--cshp-soft);border:1px solid var(--cshp-border);border-radius:14px;overflow:hidden}
.cshp-product-gallery .woocommerce-product-gallery__image img{display:block;width:100%!important;height:auto!important;max-height:560px;object-fit:contain;padding:10px;background:var(--cshp-soft);margin:0!important}
.cshp-product-gallery .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px!important;margin:12px 0 0!important;padding:0!important}
.cshp-product-gallery .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important;list-style:none!important}
.cshp-product-gallery .flex-control-thumbs img{width:100%!important;height:86px!important;object-fit:contain!important;padding:5px!important;border:1px solid var(--cshp-border)!important;border-radius:9px!important;background:#fff!important;opacity:1!important}
.cshp-product-gallery .flex-control-thumbs img.flex-active{border-color:var(--cshp-primary)!important;box-shadow:0 0 0 2px rgba(22,58,108,.08)}

/* Summary */
.cshp-product-summary{position:sticky;top:26px;min-width:0;padding-top:4px}
.cshp-product-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;color:var(--cshp-accent);font-size:12px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.cshp-product-eyebrow:before{content:"";width:26px;height:2px;background:var(--cshp-accent)}
.cshp-product-title{margin:0 0 12px!important;color:var(--cshp-primary)!important;font-size:36px!important;font-weight:750!important;line-height:1.22!important;letter-spacing:-.5px!important}
.cshp-product-rating-row{min-height:0;margin-bottom:10px}
.cshp-product-rating-row .woocommerce-product-rating{margin:0!important}
.cshp-product-price{margin:8px 0 16px}
.cshp-product-price .price{margin:0!important;color:var(--cshp-accent)!important;font-size:26px!important;font-weight:800!important}
.cshp-product-price del{color:#98a2b3!important;font-size:.72em!important;margin-right:6px}
.cshp-product-price ins{background:none!important;color:var(--cshp-accent)!important;text-decoration:none!important}
.cshp-product-shortdesc{margin:0 0 20px;color:#475467;font-size:16px;line-height:1.75}
.cshp-product-shortdesc p{margin:0 0 10px}

.cshp-product-meta-box{margin:18px 0 22px;border:1px solid var(--cshp-border);border-radius:10px;background:#fff;overflow:hidden}
.cshp-meta-item{display:flex;justify-content:space-between;gap:20px;padding:12px 15px;border-bottom:1px solid #edf0f3;font-size:14px;line-height:1.45}
.cshp-meta-item:last-child{border-bottom:0}
.cshp-meta-item span{color:var(--cshp-muted)}
.cshp-meta-item strong{color:var(--cshp-text);font-weight:700;text-align:right}
.cshp-meta-item .stock{margin:0!important;padding:0!important;color:#27864a!important}
.cshp-meta-item .out-of-stock{color:#c43b32!important}

.cshp-product-actions{display:block;margin:0 0 22px}
.cshp-consult-actions{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.95fr);gap:14px;align-items:stretch}
.cshp-consult-actions.has-one{grid-template-columns:minmax(0,1fr)}
.cshp-consult-card{display:flex;align-items:center;gap:14px;min-height:72px;padding:14px 18px;border-radius:12px;text-decoration:none!important;transition:.2s ease;box-shadow:none!important}
.cshp-consult-card:hover{transform:translateY(-2px)}
.cshp-consult-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,.16)}
.cshp-consult-icon svg{width:22px;height:22px;fill:currentColor}
.cshp-consult-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.cshp-consult-copy small{display:block;color:inherit;font-size:12px;font-weight:700;line-height:1.2;opacity:.95}
.cshp-consult-copy strong{display:block;color:inherit;font-size:17px;font-weight:800;line-height:1.2;letter-spacing:.2px}
.cshp-consult-card-call{background:linear-gradient(135deg,#163a6c 0%,#102f59 100%)!important;color:#fff!important;border:1px solid transparent}
.cshp-consult-card-call:hover{box-shadow:0 12px 26px rgba(22,58,108,.18)!important}
.cshp-consult-card-quote{justify-content:space-between;background:#fff!important;color:var(--cshp-primary)!important;border:1px solid rgba(244,145,56,.42)}
.cshp-consult-card-quote .cshp-consult-copy small{color:#8a94a6}
.cshp-consult-card-quote .cshp-consult-copy strong{color:var(--cshp-primary)}
.cshp-consult-card-quote:hover{border-color:var(--cshp-accent);box-shadow:0 12px 26px rgba(244,145,56,.12)!important}
.cshp-consult-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;color:var(--cshp-accent);font-size:20px;font-weight:700;line-height:1}

/* Woo add to cart */
.cshp-cart-wrap{width:100%;margin-bottom:12px}
.cshp-cart-wrap form.cart{display:flex!important;flex-wrap:wrap;gap:10px!important;margin:0!important}
.cshp-cart-wrap .quantity .qty{height:48px!important;min-width:72px!important;border:1px solid var(--cshp-border)!important;border-radius:8px!important}
.cshp-cart-wrap .single_add_to_cart_button{min-height:48px!important;padding:11px 20px!important;background:var(--cshp-primary)!important;border-radius:8px!important;color:#fff!important;font-size:14px!important;font-weight:750!important}
.cshp-cart-wrap .single_add_to_cart_button:hover{background:#102f59!important}
.cshp-cart-wrap table.variations{margin:0 0 14px!important}
.cshp-cart-wrap table.variations td,.cshp-cart-wrap table.variations th{padding:7px 8px 7px 0!important}
.cshp-cart-wrap select{min-height:42px;border:1px solid var(--cshp-border);border-radius:7px;padding:0 10px}

.cshp-trust-grid{display:grid;grid-template-columns:1fr;gap:8px;padding:16px;background:var(--cshp-soft);border-radius:10px}
.cshp-trust-item{display:flex;gap:10px;align-items:flex-start;color:#475467;font-size:14px;line-height:1.45}
.cshp-trust-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:rgba(22,58,108,.09);color:var(--cshp-primary);font-size:12px;font-weight:900}

/* Content & tabs */
.cshp-product-content{margin-top:64px;padding-top:4px}
.cshp-section-heading{margin-bottom:22px}
.cshp-section-heading>span{display:block;margin-bottom:5px;color:var(--cshp-accent);font-size:12px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.cshp-section-heading h2{margin:0!important;color:var(--cshp-primary)!important;font-size:28px!important;font-weight:750!important;line-height:1.3!important}
.cshp-section-heading-center{text-align:center}
.cshp-product-content .woocommerce-tabs{margin:0!important}
.cshp-product-content .woocommerce-tabs ul.tabs{display:flex!important;gap:8px!important;margin:0 0 22px!important;padding:0!important;border-bottom:1px solid var(--cshp-border)!important;overflow-x:auto!important;white-space:nowrap!important}
.cshp-product-content .woocommerce-tabs ul.tabs:before{display:none!important}
.cshp-product-content .woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
.cshp-product-content .woocommerce-tabs ul.tabs li:before,.cshp-product-content .woocommerce-tabs ul.tabs li:after{display:none!important}
.cshp-product-content .woocommerce-tabs ul.tabs li a{display:block!important;padding:12px 14px!important;color:#667085!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important;border-bottom:2px solid transparent!important}
.cshp-product-content .woocommerce-tabs ul.tabs li.active a{color:var(--cshp-primary)!important;border-bottom-color:var(--cshp-primary)!important}
.cshp-product-content .woocommerce-Tabs-panel{margin:0!important;padding:30px 32px!important;border:1px solid var(--cshp-border)!important;border-radius:12px!important;background:#fff!important;color:#344054!important;font-size:16px!important;line-height:1.78!important}
.cshp-product-content .woocommerce-Tabs-panel h2:first-child{display:none!important}
.cshp-product-content .woocommerce-Tabs-panel h2,.cshp-product-content .woocommerce-Tabs-panel h3{color:var(--cshp-primary)!important}
.cshp-product-content .woocommerce-Tabs-panel>p,
.cshp-product-content .woocommerce-Tabs-panel>ul,
.cshp-product-content .woocommerce-Tabs-panel>ol,
.cshp-product-content .woocommerce-Tabs-panel>h2,
.cshp-product-content .woocommerce-Tabs-panel>h3,
.cshp-product-content .woocommerce-Tabs-panel>h4,
.cshp-product-content .woocommerce-Tabs-panel>blockquote{max-width:1040px;margin-left:auto!important;margin-right:auto!important}
.cshp-product-content .woocommerce-Tabs-panel p{margin-top:0!important;margin-bottom:15px!important}
.cshp-product-content .woocommerce-Tabs-panel p:last-child{margin-bottom:0!important}
.cshp-product-content .woocommerce-Tabs-panel ul,
.cshp-product-content .woocommerce-Tabs-panel ol{padding-left:22px!important;margin-top:10px!important;margin-bottom:18px!important}
.cshp-product-content .woocommerce-Tabs-panel li{margin-bottom:7px}
.cshp-product-content .woocommerce-Tabs-panel hr{height:0;border:0;border-top:1px solid #e7ebf0;margin:26px 0!important}
.cshp-product-content .woocommerce-Tabs-panel img{max-width:100%;height:auto}
.cshp-product-content table.shop_attributes{border-collapse:collapse!important;width:100%!important}
.cshp-product-content table.shop_attributes th,.cshp-product-content table.shop_attributes td{padding:11px 12px!important;border:1px solid #edf0f3!important;background:#fff!important}
.cshp-product-content table.shop_attributes th{width:28%;color:#344054!important;font-weight:700!important}

/* Related */
.cshp-related-section{margin-top:66px}
.cshp-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.cshp-related-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--cshp-border);border-radius:11px;background:#fff;transition:.22s ease}
.cshp-related-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(22,58,108,.10);border-color:#ccd5df}
.cshp-related-image{display:block;background:var(--cshp-soft);overflow:hidden}
.cshp-related-image img{display:block;width:100%!important;height:220px!important;object-fit:contain!important;padding:5px!important;margin:0!important;background:var(--cshp-soft)!important;transition:.25s ease}
.cshp-related-card:hover .cshp-related-image img{transform:scale(1.025)}
.cshp-related-body{display:flex;flex:1;flex-direction:column;padding:15px 16px 17px}
.cshp-related-body h3{margin:0 0 10px!important;font-size:15px!important;line-height:1.45!important;font-weight:700!important}
.cshp-related-body h3 a{color:var(--cshp-text)!important;text-decoration:none!important}
.cshp-related-price{margin:0 0 10px;color:var(--cshp-accent);font-size:14px;font-weight:750}
.cshp-related-link{display:inline-flex;align-items:center;gap:7px;margin-top:auto;color:var(--cshp-primary)!important;font-size:13px;font-weight:750;text-decoration:none!important}
.cshp-related-link span{transition:.2s ease}.cshp-related-card:hover .cshp-related-link span{transform:translateX(4px)}

/* CTA */
.cshp-product-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:34px;align-items:center;margin-top:66px;padding:34px 40px;border-radius:24px;background:linear-gradient(135deg,#163a6c 0%,#102f59 100%);color:#fff;box-shadow:0 24px 60px rgba(22,58,108,.16)}
.cshp-product-cta-main{display:flex;align-items:center;gap:22px;min-width:0}
.cshp-product-cta-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 88px;width:88px;height:88px;border-radius:22px;background:rgba(244,145,56,.16);border:1px solid rgba(244,145,56,.32)}
.cshp-product-cta-icon svg{width:40px;height:40px;fill:#fff}
.cshp-product-cta-kicker{display:block;margin-bottom:6px;color:#f7bd7f;font-size:12px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.cshp-product-cta h2{margin:0 0 8px!important;color:#fff!important;font-size:28px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.3px!important}
.cshp-product-cta p{max-width:720px;margin:0!important;color:rgba(255,255,255,.9);font-size:15px;line-height:1.65}
.cshp-product-cta-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px}
.cshp-cta-hotline,.cshp-cta-quote{display:inline-flex;align-items:center;text-decoration:none!important;transition:.2s ease}
.cshp-cta-hotline{gap:14px;min-height:74px;padding:12px 20px;border-radius:16px;background:#fff!important;color:#111b2f!important;border:1px solid rgba(255,255,255,.75);box-shadow:0 14px 30px rgba(0,0,0,.08)}
.cshp-cta-hotline:hover{transform:translateY(-2px);background:#fff!important;color:#111b2f!important}
.cshp-cta-hotline-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:var(--cshp-accent);color:#fff}
.cshp-cta-hotline-icon svg{width:23px;height:23px;fill:currentColor}
.cshp-cta-hotline-copy{display:flex;flex-direction:column;gap:3px}
.cshp-cta-hotline-copy small{color:#8b93a4;font-size:12px;font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.4px}
.cshp-cta-hotline-copy strong{color:#111b2f;font-size:18px;font-weight:800;line-height:1.2;letter-spacing:.2px}
.cshp-cta-quote{justify-content:space-between;gap:14px;min-height:74px;padding:12px 24px;border-radius:16px;background:var(--cshp-accent)!important;color:#fff!important;border:1px solid var(--cshp-accent)}
.cshp-cta-quote:hover{transform:translateY(-2px);background:#df7e2d!important;border-color:#df7e2d!important;color:#fff!important}
.cshp-cta-quote span:first-child{font-size:16px;font-weight:800;line-height:1.2}
.cshp-cta-quote-arrow{font-size:26px;font-weight:700;line-height:1}

/* Hide default Elementor/Woo duplicate wrappers if theme injects them */
.cshp-single-product .product_meta{display:none!important}

@media(max-width:1024px){
    .cshp-product-shell{width:min(100% - 32px,1100px)}
    .cshp-product-hero{grid-template-columns:1fr 1fr;gap:32px}
    .cshp-product-title{font-size:31px!important}
    .cshp-product-summary{position:static}
    .cshp-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .cshp-product-cta{grid-template-columns:1fr;padding:30px 30px 32px;border-radius:20px}
    .cshp-product-cta-actions{justify-content:flex-start}
}

@media(max-width:767px){
    .cshp-product-shell{width:calc(100% - 24px);padding:16px 0 42px}
    .cshp-breadcrumb-wrap{margin-bottom:14px}
    .cshp-product-hero{grid-template-columns:1fr;gap:24px}
    .cshp-product-gallery .woocommerce-product-gallery__image img{max-height:420px;padding:5px}
    .cshp-product-gallery .flex-control-thumbs{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px!important}
    .cshp-product-gallery .flex-control-thumbs img{height:60px!important;padding:3px!important}
    .cshp-product-title{font-size:27px!important;line-height:1.28!important}
    .cshp-product-price .price{font-size:22px!important}
    .cshp-product-shortdesc{font-size:15px}
    .cshp-consult-actions{grid-template-columns:1fr;gap:10px}
    .cshp-consult-card{padding:13px 14px;min-height:66px}.cshp-consult-copy strong{font-size:16px}
    .cshp-cart-wrap form.cart{width:100%}
    .cshp-cart-wrap .single_add_to_cart_button{flex:1}
    .cshp-meta-item{font-size:13px}
    .cshp-product-content{margin-top:44px}
    .cshp-section-heading h2{font-size:23px!important}
    .cshp-product-content .woocommerce-Tabs-panel{padding:18px!important;font-size:15px!important}
    .cshp-related-section{margin-top:46px}
    .cshp-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
    .cshp-related-image img{height:155px!important;padding:3px!important}
    .cshp-related-body{padding:11px 11px 13px}
    .cshp-related-body h3{font-size:13px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
    .cshp-related-link{font-size:12px}
    .cshp-product-cta{margin-top:46px;padding:24px 18px;border-radius:18px;gap:22px}
    .cshp-product-cta-main{align-items:flex-start;gap:16px}
    .cshp-product-cta-icon{flex:0 0 64px;width:64px;height:64px;border-radius:18px}
    .cshp-product-cta-icon svg{width:30px;height:30px}
    .cshp-product-cta h2{font-size:22px!important}
    .cshp-product-cta p{font-size:14px}
    .cshp-cta-hotline,.cshp-cta-quote{width:100%;min-height:64px;border-radius:14px}
    .cshp-cta-hotline-copy strong{font-size:17px}
}

@media(max-width:390px){
    .cshp-related-grid{gap:8px}
    .cshp-related-image img{height:140px!important}
}
