/* Keep gallery dimensions stable for every aspect ratio. */
.single-product .wd-gallery-images .woocommerce-product-gallery__image > a{display:flex;height:440px;align-items:center;justify-content:center;padding:24px;}
.single-product .wd-gallery-images .woocommerce-product-gallery__image img{width:100%!important;height:100%!important;object-fit:contain;}
.single-product .wd-gallery-thumb .wd-carousel-item img,.single-product .wd-gallery-thumbs .wd-carousel-item img{width:100%!important;height:76px!important;object-fit:contain;padding:6px;}
.single-product .wd-gallery-thumb .wd-carousel-item,.single-product .wd-gallery-thumbs .wd-carousel-item{border:1px solid #e2e8f2;border-radius:10px;overflow:hidden;}
.single-product .wpb_wrapper:has(> .wd-single-title){display:flex;flex-direction:column;gap:12px;}
.single-product .wpb_wrapper:has(> .wd-single-title)>*{margin-bottom:0!important;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.wd-single-title{order:0;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.wd-single-meta{order:1;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.gasp-single-specs{order:2;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.wd-single-price{order:3;padding:16px 18px!important;background:#f7f5ff;border:1px solid #e8e2ff;border-radius:14px;}
.single-product .wd-single-price .price{margin:0!important;font-size:32px!important;font-weight:700;color:#4c18e9;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.wd-single-add-cart{order:4;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.wd-single-action-btn{order:5;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.wpb-content-wrapper{order:6;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.wpb_text_column{order:7;}
.single-product .wpb_wrapper:has(> .wd-single-title)>.vc_empty_space{display:none;}
.single-product .product_title{font-size:28px!important;line-height:1.3!important;}
.single-product .product_meta{font-size:13px;color:#718096;}
.gasp-single-specs{display:flex;flex-wrap:wrap;gap:7px;}
.gasp-single-specs span{background:#f1f4f9;border:1px solid #e3e9f2;border-radius:8px;padding:7px 10px;font-size:13px;color:#263650;}
.single-product .wd-single-add-cart form.cart{gap:10px;}
.single-product .single_add_to_cart_button{background:#087cff!important;border-radius:12px!important;min-height:50px;font-weight:700;}
.single-product .wd-buy-now-btn{background:#f1f4f9!important;color:#192b48!important;border:1px solid #dfe6f2;border-radius:12px!important;min-height:46px;}
.single-product .vc_custom_1767791476334{padding:14px!important;border:1px solid #e2e8f2!important;border-radius:14px!important;background:#fafbfd;}
.single-product .vc_custom_1767791476334 .vc_inner{margin-bottom:12px!important;}
.single-product .vc_custom_1767791476334 .vc_inner:last-child{margin-bottom:0!important;}
.single-product .vc_custom_1767791476334 .wd-wpb{margin-bottom:3px!important;}
.single-product .vc_custom_1767791476334 .wd-text-block{font-size:12px;line-height:1.4;}
.single-product .gasp-history-open{font-size:12px;padding:10px 12px;}
@media(max-width:767px){
.single-product .wd-gallery-images .woocommerce-product-gallery__image>a{height:300px;padding:18px;}
.single-product .product_title{font-size:23px!important;}
.single-product .wd-gallery-thumb .wd-carousel-item img,.single-product .wd-gallery-thumbs .wd-carousel-item img{height:60px!important;}
.single-product .wd-single-price .price{font-size:29px!important;}
}
.single-product .wd-gallery-images .woocommerce-product-gallery__image>a{height:440px!important;min-height:0!important;max-height:440px!important;}
.single-product .wd-gallery-images .woocommerce-product-gallery__image img{max-height:392px!important;min-height:0!important;}
@media(max-width:767px){.single-product .wd-gallery-images .woocommerce-product-gallery__image>a{height:300px!important;max-height:300px!important;}.single-product .wd-gallery-images .woocommerce-product-gallery__image img{max-height:264px!important;}}
.single-product .wd-gallery-images,.single-product .wd-gallery-images .woocommerce-product-gallery__wrapper,.single-product .wd-gallery-images .woocommerce-product-gallery__image{height:440px!important;}
@media(max-width:767px){.single-product .wd-gallery-images,.single-product .wd-gallery-images .woocommerce-product-gallery__wrapper,.single-product .wd-gallery-images .woocommerce-product-gallery__image{height:300px!important;}}
/* Purchase controls and secondary actions. */
.single-product .wd-single-add-cart form.cart{display:grid!important;grid-template-columns:72px minmax(0,1fr);gap:10px!important;align-items:stretch;}
.single-product .wd-single-add-cart form.cart .quantity{width:72px!important;margin:0!important;display:flex;align-items:center;justify-content:center;border:1px solid #dfe6f2;border-radius:12px;background:#fff;overflow:hidden;}
.single-product .wd-single-add-cart form.cart .quantity input.qty{width:100%!important;height:50px!important;border:0!important;background:transparent!important;text-align:center;font-size:16px;padding:0 6px!important;}
.single-product .wd-single-add-cart .single_add_to_cart_button{width:100%!important;margin:0!important;text-transform:none!important;font-size:15px!important;}
.single-product .wd-single-add-cart .wd-buy-now-btn{grid-column:1/-1;width:100%!important;margin:0!important;text-transform:none!important;font-size:14px!important;}
.single-product .wpb_wrapper:has(>.wd-single-title)>.wd-single-action-btn:not(.wd-single-size-guide-btn){width:100%!important;}
.single-product .wd-single-action-btn .wd-action-btn{width:100%;}
.single-product .wd-single-action-btn .wd-action-btn>a{display:flex!important;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:9px 14px;border:1px solid #e2e8f2;border-radius:10px;background:#fafbfd;font-size:13px;font-weight:500;color:#31435f;line-height:1.4;}
.single-product .wd-single-action-btn .wd-action-btn>a:hover{border-color:#087cff;background:#f0f7ff;color:#087cff;}
.single-product .wd-single-size-guide-btn:empty{display:none;}
.single-product .wpb_wrapper:has(>.wd-single-title){gap:14px;}
.gasp-single-installments{font-size:13px;line-height:1.5;color:#0870e8;margin-top:5px;}
.single-product .wpb_wrapper:has(>.wd-single-title)>.wd-single-action-btn{--wd-width:100%!important;max-width:none!important;align-self:stretch!important;display:block!important;}
.single-product .wd-single-action-btn .wd-action-btn{display:block!important;width:100%!important;}
.single-product .wd-single-action-btn .wd-action-btn>a{width:100%!important;}
.single-product .wd-single-add-cart form.cart{grid-template-columns:120px minmax(0,1fr);}
.single-product .wd-single-add-cart form.cart .quantity{width:120px!important;}
.single-product .quantity .woopq-quantity-input{display:flex!important;align-items:center;width:100%;}
.single-product .quantity .woopq-quantity-input-minus,.single-product .quantity .woopq-quantity-input-plus{display:flex!important;align-items:center;justify-content:center;flex:0 0 34px;width:34px!important;height:50px!important;padding:0!important;border:0!important;background:#f1f4f9;font-size:22px;color:#24364f;cursor:pointer;}
.single-product .wd-single-add-cart form.cart .quantity .woopq-quantity-input input.qty{width:50px!important;min-width:0!important;flex:1;}
.single-product .quantity .woopq-quantity-input input.qty::-webkit-inner-spin-button{appearance:none;}
/* Align secondary controls with the purchase column. */
.single-product .wpb_wrapper:has(>.wd-single-title)>.wd-single-action-btn{margin-left:0!important;margin-right:0!important;padding:0!important;}
.single-product .wd-single-action-btn .wd-action-btn>a{box-sizing:border-box!important;margin:0!important;}
.single-product .wpb_wrapper:has(>.wd-single-title)>.wpb-content-wrapper:has(.vc_custom_1767791476334){display:none;}
.gasp-delivery-tabs{margin:24px 0 30px;width:100%;}
.single-product .gasp-delivery-tabs .vc_custom_1767791476334{border:0!important;padding:0!important;margin:0!important;background:transparent!important;}
.gasp-delivery-tabs .vc_custom_1767791476334>.vc_column_container>.vc_column-inner{padding:0!important;}
.gasp-delivery-tabs .vc_custom_1767791476334>.vc_column_container>.vc_column-inner>.wpb_wrapper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.single-product .gasp-delivery-tabs .vc_custom_1767791476334 .vc_inner{margin:0!important;border:1px solid #e1e8f3;border-radius:14px;background:#f8faff;padding:18px 12px!important;align-items:center;}
.gasp-delivery-tabs .vc_inner .vc_column-inner{padding-left:8px!important;padding-right:8px!important;}
.single-product .gasp-delivery-tabs .wd-list-content{font-size:14px!important;}
.single-product .gasp-delivery-tabs .wd-text-block{font-size:13px!important;}
@media(max-width:1024px){.gasp-delivery-tabs .vc_custom_1767791476334>.vc_column_container>.vc_column-inner>.wpb_wrapper{grid-template-columns:1fr;gap:10px;}}
/* Remove empty builder elements that still create flex gaps. */
.single-product .wpb_wrapper:has(>.wd-single-title)>.wpb-content-wrapper:not(:has(.vc_custom_1767791476334)){display:none!important;}
.single-product .wpb_wrapper:has(>.wd-single-title)>.wd-single-size-guide-btn:not(:has(a)){display:none!important;}
.single-product .wpb_wrapper:has(>.wd-single-title)>.vc_inner:has(.wd-single-stock-status:empty){display:none!important;}
.single-product .gasp-price-history{margin-top:0!important;margin-bottom:0!important;}
.single-product .vc_custom_1767792443245>.vc_column_container>.vc_column-inner{padding-top:8px!important;}
.single-product .gasp-delivery-tabs{margin-top:10px!important;margin-bottom:24px!important;}
.single-product .gasp-history-stable{margin:0;padding:22px;background:#f3f7ff;border:1px solid #e0e9fb;border-radius:12px;color:#263650;font-size:16px;line-height:1.6;}
.single-product .gasp-history-chart:has(.gasp-history-stable){min-height:0;height:auto;}
.single-product .gasp-history-note{display:none!important;}
.single-product .wd-sticky-btn .quantity,.single-product .wd-sticky-btn-cart .quantity{width:120px!important;display:flex!important;align-items:center;border:1px solid #dfe6f2!important;border-radius:12px!important;background:#fff;overflow:hidden;margin:0!important;}
.single-product .wd-sticky-btn .quantity .woopq-quantity-input,.single-product .wd-sticky-btn-cart .quantity .woopq-quantity-input{width:100%!important;display:flex!important;align-items:center;}
.single-product .wd-sticky-btn .quantity input.qty,.single-product .wd-sticky-btn-cart .quantity input.qty{width:50px!important;min-width:0!important;flex:1;height:48px!important;padding:0!important;border:0!important;border-radius:0!important;text-align:center;background:#fff!important;font-size:15px;}
.single-product .wd-sticky-btn .woopq-quantity-input-minus,.single-product .wd-sticky-btn .woopq-quantity-input-plus,.single-product .wd-sticky-btn-cart .woopq-quantity-input-minus,.single-product .wd-sticky-btn-cart .woopq-quantity-input-plus{height:48px!important;background:#f2f5fa!important;}
.single-product .wd-single-attrs>.wd-el-title{display:none;}
.gasp-spec-groups{display:grid;gap:12px;}
.gasp-spec-group{border:1px solid #e1e8f3;border-radius:14px;background:#fff;overflow:hidden;}
.gasp-spec-group summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:18px 20px;color:#1b2d49;font-size:16px;font-weight:600;}
.gasp-spec-group summary::-webkit-details-marker{display:none;}
.gasp-spec-group summary span{margin-left:auto;font-size:12px;font-weight:400;color:#718096;}
.gasp-spec-group summary:after{content:'+';color:#087cff;font-size:23px;}
.gasp-spec-group[open] summary{background:#f6f9fe;border-bottom:1px solid #e7edf6;}
.gasp-spec-group[open] summary:after{content:'−';}
.gasp-spec-group table{width:100%;margin:0;border-collapse:collapse;table-layout:fixed;}
.gasp-spec-group th,.gasp-spec-group td{padding:13px 20px!important;border:0!important;border-bottom:1px solid #eef2f7!important;text-align:left!important;vertical-align:top;color:#33445e;font-size:14px!important;line-height:1.6;overflow-wrap:anywhere;}
.gasp-spec-group th{width:45%;font-weight:500!important;color:#63738a;background:#fcfdff;}
.gasp-spec-group tr:last-child th,.gasp-spec-group tr:last-child td{border-bottom:0!important;}
@media(max-width:767px){.gasp-spec-group summary{padding:15px;font-size:14px;}.gasp-spec-group summary span{font-size:10px;}.gasp-spec-group th,.gasp-spec-group td{padding:10px 12px!important;font-size:12px!important;}}
.single-product .wd-single-attrs>.wd-el-title{display:none!important;}
.single-product .product_meta{display:flex;flex-wrap:wrap;gap:6px 20px;line-height:1.6;}
.single-product .gasp-manufacturer-code{display:inline-flex;flex-wrap:wrap;gap:5px;}
.single-product .gasp-manufacturer-code .meta-label{font-weight:600;color:#263650;}
.single-product .wd-single-content{background:#fff!important;border:1px solid #e2e8f2!important;border-radius:16px!important;padding:28px!important;color:#3c4b60!important;font-size:16px!important;line-height:1.8!important;}
.single-product .wd-single-content p{max-width:100ch;margin-bottom:18px;}
.single-product .wd-single-content strong{color:#1b2d49;}
.single-product .wd-single-content h2,.single-product .wd-single-content h3,.single-product .wd-single-content h4{margin:24px 0 12px;line-height:1.4;color:#1b2d49;}
.single-product .wd-single-content ul,.single-product .wd-single-content ol{padding-left:22px;margin:14px 0 0;}
.single-product .wd-single-content li{padding-left:5px;margin-bottom:8px;}
.single-product .wd-single-content li::marker{color:#087cff;}
.single-product .wd-single-content>:last-child{margin-bottom:0!important;}
@media(max-width:767px){.single-product .wd-single-content{padding:18px!important;font-size:15px!important;line-height:1.75!important;}.single-product .product_meta{gap:5px;font-size:12px;}.single-product .gasp-manufacturer-code{width:100%;}}
.gasp-accessories{margin:30px 0;}
.gasp-accessories h2{font-size:28px;margin-bottom:22px;}
.gasp-accessory-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;}
.gasp-accessory-grid>.gasp-catalog-card{width:100%!important;max-width:none!important;margin:0!important;}
@media(max-width:1024px){.gasp-accessory-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:767px){.gasp-accessory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.gasp-accessories h2{font-size:23px;}}
@media(max-width:767px){.single-product .gasp-spec-group th,.single-product .gasp-spec-group td{font-size:14px!important;}.single-product .gasp-spec-group summary{font-size:15px;}.single-product .wd-single-attrs{padding-left:0!important;padding-right:0!important;}}
/* A fixed quantity must not leave the cart button in the narrow quantity column. */
.single-product .wd-single-add-cart form.cart:has(> .quantity:is(.hidden,.woopq-quantity-hidden,.woopq-input-type-hidden)),
.single-product .wd-single-add-cart form.cart:not(:has(.quantity)){grid-template-columns:minmax(0,1fr)!important;}
.single-product .wd-single-add-cart form.cart:has(> .quantity:is(.hidden,.woopq-quantity-hidden,.woopq-input-type-hidden))>.single_add_to_cart_button,
.single-product .wd-single-add-cart form.cart:not(:has(.quantity))>.single_add_to_cart_button{grid-column:1/-1;}
.single-product .wd-single-add-cart form.cart>.quantity:is(.hidden,.woopq-quantity-hidden,.woopq-input-type-hidden),
.single-product .wd-sticky-btn .quantity:is(.hidden,.woopq-quantity-hidden,.woopq-input-type-hidden),
.single-product .wd-sticky-btn-cart .quantity:is(.hidden,.woopq-quantity-hidden,.woopq-input-type-hidden){display:none!important;}
