/* --- GENERAL LAYOUT --- */
.breadcrumb-wrapper { max-width: 1400px; margin: 0 auto 20px auto; padding: 0 20px; }
.breadcrumb { font-size: 14px; color: #666; padding: 15px 0; border-bottom: 1px solid #eee; }
.breadcrumb a { color: #666; text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: #129978; }
.breadcrumb span.separator { margin: 0 8px; color: #999; }
.custom-product-container { max-width: 1400px; margin: 0 auto; overflow-x: hidden; }
.product-main-box { display: flex; gap: 0; margin: 0; padding: 0; }

/* --- GALLERY SIDE --- */
.product-gallery-side { 
    flex: 1; 
    display: flex; 
    align-items: stretch; 
    min-height: 600px; 
    background: #f5f5f5; 
    padding: 30px;
    position: relative;
}

/* --- LIGHTBOX ICON STYLES - NO BACKGROUND, NO BOX SHADOW, JUST GREEN ICON --- */
.lightbox-trigger {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background: transparent !important;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 50px;
    height: 50px;
    box-shadow: none !important;
}

.lightbox-trigger:hover {
    background: transparent !important;
    transform: translateY(-2px) scale(1.05);
}

.lightbox-trigger svg {
    width: 30px;
    height: 30px;
}

/* Make sure SVG icon is visible with green color */
.lightbox-trigger svg {
    fill: #129978;
    stroke: #129978;
}

.lightbox-trigger:hover svg {
    fill: #0f8266;
    stroke: #0f8266;
}

/* Remove text span from lightbox button */
.lightbox-trigger span {
    display: none;
}

/* Gallery column styles */
.thumbnail-carousel-column { width: 120px; margin-right: 20px; display: flex; flex-direction: column; }
.thumbnail-swiper { height: 600px !important; width: 100%; }
.thumbnail-swiper .swiper-wrapper { height: 600px; }
.thumbnail-slide { width: 110px; height: 110px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; margin-bottom: 10px; }
.thumbnail-slide:hover, .thumbnail-slide.swiper-slide-thumb-active { border-color: #129978; border-width: 3px; box-shadow: 0 0 10px rgba(18, 153, 120, 0.3); }
.thumbnail-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.main-image-column { flex: 1; display: flex; flex-direction: column; position: relative; }
.product-main-image { width: 100%; height: 600px !important; display: flex; align-items: center; justify-content: center; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; }
.product-main-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; padding: 10px; transition: transform 0.3s ease; }
.product-main-image:hover img { transform: scale(1.02); }

/* PhotoSwipe custom styles - UPDATED: Arrows without background */
.pswp__bg {
    background: rgba(0, 0, 0, 0.9) !important;
}

.pswp__button--close {
    background: rgba(18, 153, 120, 0.9) !important;
    border-radius: 50%;
    width: 44px !important;
    height: 44px !important;
    margin: 20px !important;
}

.pswp__button--close:hover {
    background: rgba(18, 153, 120, 1) !important;
}

/* Arrow buttons - COMPLETELY NO BACKGROUND, only arrow visible */
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    background: transparent !important;
    border-radius: 0 !important;
    width: 44px !important;
    height: 44px !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.pswp__button--arrow--left:hover,
.pswp__button--arrow--right:hover {
    background: transparent !important;
    box-shadow: none !important;
}

/* Ensure arrow icons are visible and have no background */
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    background: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Target any inline styles that might be adding background */
.pswp__button--arrow--left[style*="background"],
.pswp__button--arrow--right[style*="background"] {
    background: transparent !important;
}

/* Remove any possible background from child elements */
.pswp__button--arrow--left *,
.pswp__button--arrow--right * {
    background: transparent !important;
}

/* Ensure the button itself has no background */
button.pswp__button--arrow--left,
button.pswp__button--arrow--right {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.pswp__caption__center {
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    border-radius: 4px;
    margin-bottom: 20px;
}

/* --- PRODUCT DETAILS SIDE --- */
.product-details-side { flex: 1; background: white; padding: 0; display: flex; flex-direction: column; }
.product-title-box { padding: 40px 40px 0 40px; }
.product-title-box h1 { font-size: 28px; font-weight: bold; margin: 0 0 5px 0; color: #333; line-height: 1.2; }
.product-rating-box { display: flex; align-items: center; margin-bottom: 8px; gap: 4px; flex-wrap: wrap; padding: 0 40px; }
.rating-stars { color: #000000; font-size: 16px; letter-spacing: 1px; }
.review-count { color: #666; font-size: 13px; font-weight: normal; }
.price-display-single-line { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; padding: 0 40px; }
.price-sale { font-size: 26px; font-weight: 500; color: #333; }
.price-regular { font-size: 18px; color: #999; text-decoration: line-through; }

/* --- QUANTITY & BUTTONS --- */
.quantity-buynow-section { background: transparent; border-radius: 8px; padding: 0; margin-bottom: 0px; }
.quantity-buy-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; width: 100%; padding: 0 40px; }

.quantity-selector-new { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    border: 1px solid #ddd; 
    border-radius: 35px; 
    background: white; 
    width: 25%; 
    height: 50px; 
    padding: 0 5px; 
    position: relative; 
}

.qty-btn-new {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd !important;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #333;
    font-weight: bold;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    line-height: 1;
    background: #fff !important;
    flex-shrink: 0;
}

/* Minus button (-) styles - Product page */
.qty-btn-new.qty-minus-new {
    background: #fff !important;
    color: #333 !important;
    border-color: #ddd !important;
}

.qty-btn-new.qty-minus-new:hover,
.qty-btn-new.qty-minus-new:active,
.qty-btn-new.qty-minus-new.clicked {
    background: #fff2f2 !important;
    color: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* Plus button (+) styles - Product page - Now black on white by default */
.qty-btn-new.qty-plus-new {
    background: #fff !important;
    color: #333 !important;
    border-color: #ddd !important;
}

.qty-btn-new.qty-plus-new:hover,
.qty-btn-new.qty-plus-new:active,
.qty-btn-new.qty-plus-new.clicked {
    background: #c8e6c9 !important;
    color: #129978 !important;
    border-color: #129978 !important;
}

.qty-input-new { 
    flex: 1; 
    height: 100%; 
    border: none; 
    text-align: center; 
    font-size: 16px; 
    font-weight: 600; 
    background: transparent; 
    padding: 0; 
    color: #333; 
    margin: 0; 
    border-bottom: 0 !important; 
    -moz-appearance: textfield; 
    appearance: textfield; 
    min-width: 40px;
}

.qty-input-new::-webkit-outer-spin-button, 
.qty-input-new::-webkit-inner-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

.buy-now-main-button-new { 
    flex: 1; 
    background: #129978; 
    color: white; 
    border: none; 
    padding: 0; 
    border-radius: 35px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background 0.3s; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.buy-now-main-button-new:hover { background: #0f8266; }

/* --- MODAL WRAPPER --- */
.custom-cable-wrapper { position: relative !important; flex: 1 !important; }

.custom-cable-button-new { 
    width: 100% !important; 
    background: #f8f9fa !important; 
    color: #333 !important; 
    border: 2px solid #e0e0e0 !important; 
    padding: 0 !important; 
    border-radius: 35px !important; 
    font-size: 14px !important; 
    font-weight: 600 !important; 
    cursor: pointer !important; 
    transition: all 0.3s !important; 
    height: 50px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 6px !important; 
    white-space: nowrap !important; 
}

.custom-cable-button-new:hover { 
    border-color: #129978 !important; 
    background-color: #129978 !important; 
    color: white !important; 
}

.custom-cable-arrow { 
    font-size: 18px !important; 
    line-height: 1 !important; 
    flex-shrink: 0 !important; 
}

/* Small grey note below custom cable button only */
.custom-cable-note {
    font-size: 10px;
    color: #666;
    text-align: center;
    margin-top: 4px;
    font-style: italic;
    line-height: 1.2;
    padding: 0 5px;
    display: block;
    width: 100%;
}

/* --- COMPACT FLOATING MODAL CSS --- */
.custom-cable-floating-modal {
    display: none;
    position: absolute !important;
    top: 60px !important;
    right: 0 !important;
    width: 280px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    z-index: 99999 !important;
    padding: 10px !important;
    border: 1px solid #eee !important;
    text-align: left !important;
}

.custom-cable-floating-modal::before {
    content: "" !important;
    position: absolute !important;
    top: -10px !important;
    right: 40px !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
    border-bottom: 10px solid #ffffff !important;
}

/* Compact Typography */
.modal-header-h4 { margin: 0 0 2px 0 !important; font-size: 16px !important; font-weight: 700 !important; color: #333 !important; display: block !important; }
.modal-std-text { font-size: 12px !important; color: #666 !important; margin-bottom: 10px !important; display: block !important; line-height: 1.3 !important; }
.modal-std-text b { color: #129978 !important; }

/* Compact Grey Box */
.modal-grey-box {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 0px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 1px solid #f0f0f0 !important;
    
}
.modal-val-display { display: flex !important; align-items: baseline !important; }
.modal-val-display .num { font-size: 20px !important; font-weight: 800 !important; color: #333 !important; }
.modal-val-display .unit { font-size: 14px !important; margin-left: 3px !important; color: #666 !important; }

/* Compact buttons - Custom Cable Modal Quantity Buttons */
.modal-ctrl-group { display: flex !important; align-items: center !important; gap: 6px !important; }
.modal-small-btn { 
    width: 26px !important; 
    height: 26px !important; 
    border-radius: 50% !important; 
    border: 1px solid #ddd !important; 
    background: #fff !important; 
    cursor: pointer !important; 
    font-size: 16px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    padding: 0 !important; 
    line-height: 0 !important; 
    transition: 0.2s !important; 
    color: #333 !important;
    flex-shrink: 0 !important;
}

/* Minus button in modal */
.modal-small-btn {
    background: #fff !important;
    color: #333 !important;
    border-color: #ddd !important;
}

.modal-small-btn:hover,
.modal-small-btn:active,
.modal-small-btn.clicked {
    background: #fff2f2 !important;
    color: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* Plus button in modal - Now black on white by default */
.modal-small-btn.plus { 
    background: #fff !important; 
    color: #333 !important; 
    border-color: #ddd !important; 
}

.modal-small-btn.plus:hover,
.modal-small-btn.plus:active,
.modal-small-btn.plus.clicked {
    background: #c8e6c9 !important;
    color: #129978 !important;
    border-color: #129978 !important;
}

.modal-add5-lbl { text-align: center !important; font-size: 10px !important; font-weight: 700 !important; color: #333 !important; line-height: 1.1 !important; cursor: pointer !important; }

/* Compact Pricing */
.modal-pricing-sec { font-size: 12px !important; padding-bottom: 0px !important; margin-bottom: 0px !important; }
.modal-row-price { display: flex !important; justify-content: space-between !important; margin-bottom: 2px !important; }
.modal-row-price strong { color: #129978 !important; font-size: 13px !important; }

/* Compact Total Section */
.modal-total-price-sec { 
  
    border-top: 1px dashed #ddd !important;
   
}
.modal-total-price-sec .modal-row-price strong { 
    font-size: 15px !important; 
    font-weight: 800 !important;
    color: #333 !important;
}

/* Compact Notes */
.modal-notes-sec { margin-bottom: 12px !important; }
.modal-notes-sec p { font-size: 10px !important; color: #999 !important; text-transform: uppercase !important; margin-bottom: 5px !important; font-weight: 600 !important; }
.modal-notes-sec ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.modal-notes-sec li { font-size: 11px !important; color: #444 !important; margin-bottom: 3px !important; display: flex !important; gap: 6px !important; align-items: flex-start !important; line-height: 1.2 !important; }
.modal-notes-sec .tick { color: #129978 !important; font-weight: bold !important; font-size: 12px !important; }

.modal-action-btn-main { 
    width: 100% !important; 
    background: #129978 !important; 
    color: white !important; 
    border: none !important; 
    border-radius: 25px !important; 
    padding: 5px !important; 
    font-weight: 700 !important; 
    font-size: 14px !important; 
    cursor: pointer !important; 
    transition: 0.3s !important; 
}

.modal-action-btn-main:hover { background: #0f8266 !important; }

/* --- OTHER SECTIONS (Unchanged) --- */
.secure-checkout-section { background: transparent; padding: 10px 40px; width: 100%; }
.secure-checkout-row { display: flex; align-items: center; gap: 30px; width: 100%; justify-content: flex-start; }
.secure-checkout-item { display: flex; align-items: center; gap: 12px; position: relative; }
.secure-checkout-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.secure-checkout-icon svg { width: 32px; height: 32px; stroke: #129978; stroke-width: 1.5; fill: none; }
.secure-checkout-text { display: flex; flex-direction: column; }
.secure-checkout-title { font-size: 14px; font-weight: 600; color: #333; line-height: 1.2; }

.delivery-benefits-section { background: #f0f8f2; padding: 15px 40px; width: 100%; position: relative; margin: 25px 0; }
.delivery-benefits-row { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; position: relative; }
.delivery-benefit-item { display: flex; align-items: center; gap: 10px; position: relative; }
.delivery-benefit-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.delivery-benefit-icon svg { width: 22px; height: 22px; }
.delivery-benefit-text { display: flex; flex-direction: column; position: relative; }
.delivery-benefit-title { font-size: 11px; font-weight: 500; color: #333; line-height: 1.3; }
.delivery-benefit-subtitle { font-size: 11px; color: #666; line-height: 1.2; margin-top: 2px; }

.warranty-benefits-section { background: white; padding: 20px 40px; width: 100%; margin-bottom: 25px; border-radius: 0; }
.warranty-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%; }
.warranty-benefit-item { display: flex; align-items: flex-start; gap: 15px; }
.warranty-benefit-icon { min-width: 50px; height: 50px; background: #f0f8f2; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.warranty-benefit-icon svg { width: 28px; height: 28px; }
.warranty-benefit-icon svg.stroke-icon { fill: none !important; stroke: #129978 !important; }
.warranty-benefit-icon svg.fill-icon { fill: #129978 !important; stroke: none !important; }
.warranty-benefit-content { flex: 1; }
.warranty-benefit-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 4px; line-height: 1.3; }
.warranty-benefit-subtitle { font-size: 14px; color: #666; line-height: 1.3; }

.swiper-vertical > .swiper-wrapper { flex-direction: column; }
.thumbnail-swiper::-webkit-scrollbar { display: none; }

/* ===== DYNAMIC TABS CSS ===== */
.sober-tabs-wrapper {
    margin: 40px auto;
    max-width: 1400px;
    padding: 0 20px;
    overflow-x: hidden;
}

.sober-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0;
    list-style: none;
    margin-bottom: 0px;
}

.sober-tabs-nav li {
    font-size: 18px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.sober-tabs-nav li:hover {
    color: #333;
}

.sober-tabs-nav li.active {
    color: #333;
    border-bottom: 3px solid #129978;
}

.sober-tab-panel {
    display: none;
    padding: 20px 0;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    animation: fadeIn 0.4s ease;
    background: #fff;
}

.sober-tab-panel.active {
    display: block;
}

.sober-tab-panel h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

#reviews #comments { padding: 0; }
.woocommerce-Reviews-title { display: none; }

/* Cart drawer styles */
.custom-cart-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
}

.custom-cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.custom-cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cart-drawer-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-cart-drawer {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-cart-drawer:hover {
    background: #f0f0f0;
    color: #333;
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Cart drawer quantity buttons */
.cart-drawer-content .quantity {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 5px !important;
}

.cart-drawer-content .quantity .minus,
.cart-drawer-content .quantity .plus {
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.3s !important;
}

/* Minus button in cart drawer */
.cart-drawer-content .quantity .minus {
    background: #fff !important;
    color: #333 !important;
    border-color: #ddd !important;
}

.cart-drawer-content .quantity .minus:hover,
.cart-drawer-content .quantity .minus:active,
.cart-drawer-content .quantity .minus.clicked {
    background: #fff2f2 !important;
    color: #ff0000 !important;
    border-color: #ff0000 !important;
}

/* Plus button in cart drawer - FIXED: Now black on white by default, green on hover/click */
.cart-drawer-content .quantity .plus {
    background: #fff !important;
    color: #333 !important;
    border-color: #ddd !important;
}

.cart-drawer-content .quantity .plus:hover,
.cart-drawer-content .quantity .plus:active,
.cart-drawer-content .quantity .plus.clicked {
    background: #c8e6c9 !important;
    color: #129978 !important;
    border-color: #129978 !important;
}

.cart-drawer-content .quantity .qty {
    width: 35px !important;
    height: 25px !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0px;
    font-size: 16px;
    font-weight:500;
    padding-bottom: 0px;
    color:#000000;
    border-bottom: 1px solid #eee;
}

.cart-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.view-cart-btn, .checkout-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-cart-btn {
    background: #fff;
    color: #129978;
    border: 2px solid #129978;
}

.view-cart-btn:hover {
    background: #f0f8f2;
}

.checkout-btn {
    background: #129978;
    color: white;
    border: 2px solid #129978;
}

.checkout-btn:hover {
    background: #0f8266;
    border-color: #0f8266;
}

.cart-continue-shopping button {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
}

.cart-continue-shopping button:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.cart-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000000;
    display: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RELATED PRODUCTS - REMOVE BUY NOW BUTTON AND COMPARE ICON ===== */
.related-products-grid ul.products li.product .button,
.related-products-grid ul.products li.product .add_to_cart_button,
.related-products-grid ul.products li.product a.button,
.related-products-grid ul.products li.product .wcboost-products-compare-button,
.related-products-grid ul.products li.product .wcboost-products-compare-button__icon,
.related-products-grid ul.products li.product .wcboost-products-compare-button__text {
    display: none !important;
}

.related-products-grid ul.products li.product:hover .button,
.related-products-grid ul.products li.product:hover .add_to_cart_button,
.related-products-grid ul.products li.product:hover a.button,
.related-products-grid ul.products li.product:hover .wcboost-products-compare-button,
.related-products-grid ul.products li.product:hover .wcboost-products-compare-button__icon,
.related-products-grid ul.products li.product:hover .wcboost-products-compare-button__text {
    display: none !important;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    html {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .product-main-box { 
        flex-direction: column !important; 
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .product-gallery-side { 
        min-height: auto !important; 
        padding: 10px !important; 
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        background: #f5f5f5;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow-x: hidden !important;
    }

    /* 1. THUMBNAILS COLUMN - FIXED POSITION ON CLICK */
    .thumbnail-carousel-column { 
        width: 70px !important; 
        margin-right: 10px !important;
        flex-shrink: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .thumbnail-swiper { 
        height: 260px !important; 
        max-height: 260px !important;
        width: 100% !important;
        overflow-y: auto !important;
        position: relative !important;
        transform: none !important;
    }

    .thumbnail-swiper .swiper-wrapper { 
        height: auto !important; 
        flex-direction: column !important;
        display: flex !important;
        transform: none !important;
        position: relative !important;
    }

    .thumbnail-slide { 
        width: 60px !important; 
        height: 60px !important; 
        margin-bottom: 8px !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    .thumbnail-slide img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important;
        display: block !important;
        position: relative !important;
        transform: none !important;
    }

    /* Fix for active thumbnail state - no position change */
    .thumbnail-slide.swiper-slide-thumb-active {
        border-color: #129978 !important;
        border-width: 3px !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    /* 2. MAIN IMAGE COLUMN - FIXED POSITION */
    .main-image-column { 
        flex: 1 !important; 
        position: relative !important;
        height: 300px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0;
        overflow: hidden !important;
        transform: none !important;
    }

    .product-main-image { 
        width: 100% !important;
        height: 280px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #fff;
        border-radius: 8px;
        overflow: hidden !important;
        position: relative !important;
        transform: none !important;
    }

    .product-main-image img { 
        max-width: 95% !important;
        max-height: 95% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        position: relative !important; 
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* 3. LIGHTBOX ICON MOBILE */
    .lightbox-trigger {
        bottom: 5px !important;
        right: 5px !important;
        width: 35px !important;
        height: 35px !important;
        z-index: 20;
        transform: none !important;
    }

    .lightbox-trigger svg {
        width: 22px !important;
        height: 22px !important;
        transform: none !important;
    }

    /* 4. QUANTITY AND BUY NOW BUTTON - INLINE ON SAME LINE */
    .quantity-buy-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 0 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 10px !important;
    }

    /* Quantity selector adjustments for mobile */
    .quantity-selector-new {
        width: 120px !important;
        min-width: 120px !important;
        flex: 0 0 auto !important;
        height: 46px !important;
        padding: 0 3px !important;
    }

    /* Ensure quantity buttons are perfect circles on mobile */
    .qty-btn-new {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
        border: 1px solid #ddd !important;
        box-sizing: border-box !important;
    }

    /* Minus button styles - Mobile */
    .qty-btn-new.qty-minus-new {
        background: #fff !important;
        color: #333 !important;
        border-color: #ddd !important;
    }

    .qty-btn-new.qty-minus-new:hover,
    .qty-btn-new.qty-minus-new:active,
    .qty-btn-new.qty-minus-new.clicked {
        background: #fff2f2 !important;
        color: #ff0000 !important;
        border-color: #ff0000 !important;
    }

    /* Plus button styles - Mobile - Now black on white by default */
    .qty-btn-new.qty-plus-new {
        background: #fff !important;
        color: #333 !important;
        border-color: #ddd !important;
    }

    .qty-btn-new.qty-plus-new:hover,
    .qty-btn-new.qty-plus-new:active,
    .qty-btn-new.qty-plus-new.clicked {
        background: #c8e6c9 !important;
        color: #129978 !important;
        border-color: #129978 !important;
    }

    /* Quantity input field */
    .qty-input-new {
        font-size: 15px !important;
        min-width: 30px !important;
        max-width: 40px !important;
    }

    .buy-now-main-button-new {
        flex: 1 1 auto !important;
        min-width: 140px !important;
        white-space: nowrap !important;
        padding: 0 10px !important;
        height: 46px !important;
        font-size: 15px !important;
    }

    /* ===== CRITICAL FIX: MOVE SECURE CHECKOUT BELOW BUY NOW ===== */
    /* Force secure checkout to appear after quantity row */
    .secure-checkout-section {
        display: block !important;
        width: 100% !important;
        padding: 5px 20px 10px 20px !important;
        margin: 0 !important;
        clear: both !important;
        float: none !important;
        position: relative !important;
    }

    /* Ensure secure checkout row displays properly */
    .secure-checkout-row {
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }

    /* Force custom cable wrapper to appear after secure checkout */
    .custom-cable-wrapper {
        width: 100% !important;
        padding: 0 20px !important;
        margin-top: 0 !important;
        clear: both !important;
        float: none !important;
        position: relative !important;
        display: block !important;
    }

    .custom-cable-button-new {
        width: 100% !important;
        height: 46px !important;
    }

    .custom-cable-note {
        font-size: 9px;
        margin-top: 2px;
    }

    /* Sober tabs navigation mobile */
    .sober-tabs-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .sober-tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0;
        gap: 20px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    .sober-tabs-nav li {
        font-size: 16px;
        padding-bottom: 12px;
    }
    
    /* Accordion icon and arrow SVG styles for mobile - FIXED FOR CONSISTENT SIZE AND ALIGNMENT */
    .accordion-icon, .accordion-arrow-svg {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    /* Ensure all accordion icons have same dimensions and alignment */
    .accordion-icon img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
        display: block !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .accordion-arrow-svg svg {
        width: 18px !important;
        height: 18px !important;
        display: block !important;
    }
    
    /* Target the specific structure from your HTML */
    .wc-policy-card h3 span:first-child {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .wc-policy-card h3 span:first-child img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
    }

    /* Modal fixes */
    .custom-cable-floating-modal { 
        width: 95% !important; 
        left: 2.5% !important; 
        right: 2.5% !important;
        top: auto !important; 
        bottom: 0 !important; 
        position: fixed !important; 
        border-radius: 20px 20px 0 0 !important; 
        transform: none !important;
        max-width: 95% !important;
        box-sizing: border-box !important;
    }
    .custom-cable-floating-modal::before { display: none !important; }

    /* Product details padding and typography */
    .product-title-box,
    .product-rating-box,
    .price-display-single-line,
    .delivery-benefits-section,
    .warranty-benefits-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Product title font size 25px on mobile */
    .product-title-box h1 {
        font-size: 22px !important;
    }
    
    /* Remove margin-bottom from product-rating-box on mobile */
    .product-rating-box {
        margin-bottom: 0 !important;
    }
    
    /* Price sale font size 20px on mobile */
    .price-sale {
        font-size: 20px !important;
    }
    
    /* Remove margin-bottom from warranty-benefits-section on mobile */
    .warranty-benefits-section {
        margin-bottom: 0 !important;
    }
    
    /* Remove padding from sober-tab-panel on mobile */
    .sober-tab-panel {
        padding: 0 !important;
    }

    .secure-checkout-row {
        gap: 15px;
        width: 100%;
        flex-wrap: wrap;
    }

    .secure-checkout-title {
        font-size: 14px;
    }

    .delivery-benefits-row {
        overflow-x: auto;
        padding-bottom: 5px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .delivery-benefit-item {
        flex: 0 0 auto;
    }

    .warranty-benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Related products section */
    .related-products-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* ===== CART DRAWER RESPONSIVE FIXES ===== */
    .custom-cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
        right: -100% !important;
    }
    
    .cart-drawer-header {
        padding: 15px !important;
    }
    
    .cart-drawer-header h3 {
        font-size: 16px !important;
    }
    
    .close-cart-drawer {
        width: 35px !important;
        height: 35px !important;
        font-size: 24px !important;
    }
    
    .cart-drawer-content {
        padding: 15px !important;
    }
    
    /* Cart items in drawer */
    .cart-drawer-content .woocommerce-mini-cart-item {
        padding: 12px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .cart-drawer-content .woocommerce-mini-cart-item img {
        width: 50px !important;
        height: 50px !important;
        margin-right: 10px !important;
    }
    
    .cart-drawer-content .woocommerce-mini-cart-item a {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    
    .cart-drawer-content .woocommerce-mini-cart-item .quantity {
        font-size: 12px !important;
    }
    
    .cart-drawer-content .woocommerce-mini-cart-item .remove {
        font-size: 16px !important;
        width: 20px !important;
        height: 20px !important;
        line-height: 18px !important;
    }
    
    /* Cart drawer quantity buttons mobile */
    .cart-drawer-content .quantity .minus,
    .cart-drawer-content .quantity .plus {
        width: 22px !important;
        height: 22px !important;
        font-size: 14px !important;
    }
    
    .cart-drawer-footer {
        padding: 15px !important;
    }
    
    .cart-total {
        font-size: 14px !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
    }
    
    .cart-actions {
        gap: 8px !important;
        margin-bottom: 12px !important;
        flex-direction: row !important;
    }
    
    .view-cart-btn, .checkout-btn {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    .cart-continue-shopping button {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    /* Payment icons in cart drawer */
    .cart-drawer-footer .payment-icons {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 0px !important;
        justify-content: center !important;
    }
    
    .cart-drawer-footer .payment-icons svg {
        width: 35px !important;
        height: 18px !important;
    }
    
    .cart-drawer-footer .payment-icons .encrypted-lock {
        width: 12px !important;
        height: 12px !important;
    }
    
    .cart-success-message {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        width: calc(100% - 20px) !important;
        font-size: 14px !important;
        padding: 12px !important;
        text-align: center !important;
    }
}

/* Small phones (max-width: 480px) */
@media (max-width: 480px) {
    .thumbnail-carousel-column { 
        width: 70px !important; 
    }
    
    .thumbnail-slide { 
        width: 70px !important; 
        height: 70px !important; 
    }
    
    .main-image-column { 
        height: 260px !important; 
    }
    
    .product-main-image { 
        height: 240px !important; 
    }
    
    .product-main-image img { 
        max-height: 230px !important; 
    }
    
    .quantity-selector-new {
        width: 110px !important;
        min-width: 110px !important;
    }
    
    .qty-btn-new {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        font-size: 16px !important;
    }
    
    .buy-now-main-button-new {
        font-size: 14px !important;
        min-width: 120px !important;
    }
    
    .secure-checkout-row {
        gap: 15px !important;
    }
    
    .secure-checkout-title {
        font-size: 14px !important;
    }
    
    .secure-checkout-icon svg {
        width: 25px !important;
        height: 25px !important;
    }
    
    /* Cart drawer adjustments for very small phones */
    .cart-drawer-content .woocommerce-mini-cart-item {
        padding: 10px 0 !important;
    }
    
    .cart-drawer-content .woocommerce-mini-cart-item img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .cart-drawer-content .woocommerce-mini-cart-item a {
        font-size: 12px !important;
    }
    
    .view-cart-btn, .checkout-btn {
        padding: 8px !important;
        font-size: 12px !important;
    }
    
    .cart-continue-shopping button {
        padding: 8px !important;
        font-size: 12px !important;
    }
}

/* Payment Icons - Child Theme Override */
.cart-drawer-footer .payment-icons svg {
    width: 40px !important;
    height: 20px !important;
    filter: grayscale(100%) !important;
    opacity: 0.8 !important;
}

.cart-drawer-footer .payment-icons .encrypted-lock {
    width: 14px !important;
    height: 14px !important;
}

.cart-drawer-footer .payment-icons > div > div {
    border-radius: 6px !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ultra-specific overrides for PhotoSwipe arrows - NO BACKGROUND */
button.pswp__button--arrow--left,
button.pswp__button--arrow--right,
a.pswp__button--arrow--left,
a.pswp__button--arrow--right,
div.pswp__button--arrow--left,
div.pswp__button--arrow--right,
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    opacity: 1 !important;
}

/* Force remove any background from inline styles */
.pswp__button--arrow--left[style],
.pswp__button--arrow--right[style] {
    background: transparent !important;
    background-color: transparent !important;
}

/* Ensure the arrow icons are white and visible */
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    color: #ffffff !important;
    background: transparent !important;
    text-shadow: 0 0 2px rgba(0,0,0,0.5) !important;
}

/* ===== CUSTOM LIGHTBOX ARROW OVERRIDES - FOR INLINE STYLES ===== */
/* Target the specific IDs from your lightbox HTML */
#lb-prev,
#lb-next {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Target any element with lb-prev or lb-next ID that has inline styles */
#lb-prev[style],
#lb-next[style] {
    background: transparent !important;
    background-color: transparent !important;
}

/* Target the close button if needed (keep its background) */
#lb-close {
    /* Keep close button as is */
}

/* Ensure the arrows are visible with white color */
#lb-prev,
#lb-next {
    color: #ffffff !important;
    font-size: 32px !important;
    text-shadow: 0 0 5px rgba(0,0,0,0.5) !important;
}

/* Add a subtle hover effect if desired */
#lb-prev:hover,
#lb-next:hover {
    color: #129978 !important;
    background: transparent !important;
}