/*
Theme Name: Fibercan Premium
Theme URI: https://example.com/fibercan
Author: Antigravity
Description: A high-converting, premium ecommerce theme for health and organic products.
Version: 1.0.0
Text Domain: fibercan
*/

:root {
    --primary: #168d44;
    /* Green from logo gradient */
    --primary-dark: #003337;
    /* Dark Teal from logo text */
    --secondary: #6bb76a;
    /* Lighter Green from logo leaf */
    --accent: #2e984e;
    /* Mid Green */
    --text: #1a1a1a;
    --text-muted: #666666;
    --background: #ffffff;
    /* Pure white background */
    --white: #ffffff;
    --success: #168d44;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);
    --container: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main#main {
    padding: 20px;
    max-width: 1400px;
    margin: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-logo {
    max-height: 90px;
    width: auto;
    background-color: white;
    border-radius: 10px;

}

.logo img {
    max-height: 60px;
    height: auto !important;
    width: auto;
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
}

.main-navigation a:hover {
    color: var(--primary);
}

a.cart-link {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

a.cart-link .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff4757;
    color: white !important;
    font-size: 11px !important;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800 !important;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

/* Sales Banner */
.top-bar {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0 0 20px 20px;
}

.top-bar .live-status {
    font-weight: 700;
    color: #fff200;
    margin-left: 10px;
}

/* Proof Bar */
.proof-bar {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.2;
    display: block;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2000;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.proof-bar p {
    margin: 0;
}

@media (max-width: 768px) {
    .proof-bar {
        font-size: 12px;
        padding: 8px 15px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.woocommerce-price-amount {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1em;
}

.woocommerce-loop-product__link {
    text-decoration: none !important;
}

/* Sale Badge Fix */
.woocommerce ul.products li.product .onsale,
.onsale,
.wc-block-grid__product-onsale {
    background-color: #ff4757 !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    padding: 8px 12px !important;
    border-radius: 50px !important;
    min-height: auto !important;
    line-height: 1 !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3) !important;
    z-index: 10 !important;
    position: absolute !important;
    border: none !important;
    /* Explicitly remove any borders */
}

/* General Price Styling (Fixes missing style for regular prices) */
.woocommerce ul.products li.product .price,
.wc-block-grid__product-price {
    color: var(--primary);
    font-weight: 800 !important;
    font-size: 1.1em !important;
    margin-bottom: 15px;
    display: block;
}

.woocommerce ul.products li.product .price .amount,
.wc-block-grid__product-price .amount {
    color: var(--primary) !important;
    font-weight: 800 !important;
}

.woocommerce ul.products li.product .price del,
.wc-block-grid__product-price del {
    color: #aaa !important;
    opacity: 0.7;
    font-weight: 400 !important;
}

/* ========================================
   UNIFIED NOTIFICATION SYSTEM
   ======================================== */

/* Base Notification Styles */
.fibercan-notification-popup,
.recent-purchase-popup {
    position: relative;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-left: 5px solid var(--primary);
    max-width: 380px;
    min-width: 320px;
    width: 380px;
    opacity: 0;
    transform: translateX(100%);
}

.fibercan-notification-popup.active,
.recent-purchase-popup.active {
    opacity: 1;
    transform: translateX(0);
}

/* Notification Icon */
.notification-icon,
.rp-icon {
    font-size: 24px;
    background: #f0f7f0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Notification Content */
.notification-content,
.rp-content {
    flex-grow: 1;
    font-size: 12px;
}

.notification-content p,
.rp-content p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    color: var(--text);
}

.rp-time {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 3px;
}

/* Close Button */
.notification-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.notification-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Notification Type Variants */

/* Success (Green) - Cart additions, unlocked features */
.notification-success {
    border-left-color: #168d44;
}

.notification-success .notification-icon {
    background: #e8f5e9;
}

/* Info (Blue) - Cart updates, general info */
.notification-info {
    border-left-color: #2196F3;
}

.notification-info .notification-icon {
    background: #e3f2fd;
}

/* Warning (Orange) - Low stock, expiring offers */
.notification-warning {
    border-left-color: #ff9800;
}

.notification-warning .notification-icon {
    background: #fff3e0;
}

/* Error (Red) - Failed actions, validation errors */
.notification-error {
    border-left-color: #f44336;
}

.notification-error .notification-icon {
    background: #ffebee;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #fibercan-notification-container {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        bottom: 80px !important;
        /* Sit high enough to be seen above proof bar */
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 6px !important;
    }

    .fibercan-notification-popup,
    .recent-purchase-popup {
        width: 100% !important;
        min-width: auto !important;
        padding: 8px 12px !important;
        gap: 8px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 8px !important;
    }

    .notification-icon,
    .rp-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
        position: absolute;
        top: 5px;
        right: 5px;
    }

    .notification-content p,
    .rp-content p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .rp-time {
        font-size: 9px !important;
    }
}

/* Hide default WooCommerce notices (we use popup notifications instead) */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
#fibercan-global-ajax-notices {
    display: none !important;
}

.sticky-cart-mobile {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: bottom 0.3s ease;
}

.sticky-cart-mobile.visible {
    bottom: 0;
}

.sticky-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
}

.sticky-price {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
}

.btn-sticky {
    padding: 10px 20px;
    font-size: 12px;
}

/* Checkout Timer */
.checkout-timer-box {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    display: table-cell;
}

#checkout-timer {
    font-family: monospace;
    font-size: 1.2em;
}

/* Dynamic Button Pulse */
.single_add_to_cart_button,
.btn-primary {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 90, 39, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(45, 90, 39, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(45, 90, 39, 0);
    }
}

/* Force Woo Grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product .button {
    display: block;
    text-align: center;
    margin-top: 15px;
}

/* WooCommerce Global & Shop Styles */
.woocommerce-page {
    min-height: calc(100vh - 250px);
    margin-bottom: 40px !important;
    padding-bottom: 20px !important;
    clear: both;
}

/* Product Card Improvements */
.woocommerce ul.products li.product {
    background: #fff !important;
    border-radius: 24px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: 1px solid #f5f5f5 !important;
    margin-bottom: 30px !important;
    overflow: hidden;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(22, 141, 68, 0.1) !important;
}

.woocommerce ul.products li.product img {
    border-radius: 16px !important;
    margin-bottom: 15px !important;
    background: #fdfcf9 !important;
    transition: transform 0.4s ease !important;
    width: 100% !important;
    height: 250px !important;
    object-fit: contain !important;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.03) !important;
}

.woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    color: var(--primary-dark) !important;
    margin: 10px 0 !important;
    line-height: 1.2 !important;
    min-height: 2.4em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
}

.woocommerce ul.products li.product .button {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 20px !important;
    border-radius: 50px !important;
    margin-top: 15px !important;
    width: 100% !important;
    text-align: center !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: block !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.woocommerce ul.products li.product .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
    z-index: -1;
}

.woocommerce ul.products li.product .button:hover::before {
    left: 100%;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(22, 141, 68, 0.25) !important;
}

/* Added to Cart Button State */
.woocommerce ul.products li.product .button.added::after {
    content: ' \2713';
    margin-left: 5px;
}

/* View Cart styling after adding to cart */
.added_to_cart.wc-forward {
    display: block !important;
    text-align: center !important;
    margin-top: 10px !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    padding: 10px !important;
    background: #f0f7f2 !important;
    border-radius: 12px !important;
    border: 1px dashed var(--primary) !important;
    transition: all 0.3s ease !important;
}

.added_to_cart.wc-forward:hover {
    background: var(--primary) !important;
    color: white !important;
    border-style: solid !important;
}

.price {
    display: block !important;
    margin-bottom: 5px !important;
}

.price del {
    color: #999 !important;
    font-size: 0.9em !important;
    margin-right: 5px !important;
}

.price ins {
    text-decoration: none !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
}

.woocommerce-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

.woocommerce-products-header {
    padding: 100px 0 60px;
    background: linear-gradient(to bottom, #fdfcf9, #ffffff);
    margin-bottom: 60px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.woocommerce-products-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm26 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm16 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM5 69c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm73-32c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-7-20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM27 33c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm51 72c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM9 55c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm71-49c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23168d44' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.woocommerce-products-header__title,
.page-title {
    font-size: 56px;
    margin: 0 0 20px 0;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

/* Sorting Dropdown Styling */
.woocommerce-ordering {
    margin-bottom: 40px !important;
    float: none !important;
    display: flex;
    justify-content: flex-end;
}

.woocommerce-ordering select {
    padding: 12px 20px !important;
    border-radius: 12px !important;
    border: 1px solid #ddd !important;
    background-color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: var(--text) !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 40px !important;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(22, 141, 68, 0.1) !important;
}

/* WooCommerce Single Product Styles */
.single-product .woocommerce-page {
    padding: 20px;
}

.woocommerce div.product form.cart .button {
    padding: 15px !important;
}

.product-main-info {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Ensure bottom sections are full width outside the main info grid */
.product-tabs-section,
.product-upsells-related-section {
    width: 100%;
    clear: both;
}

.woocommerce-tabs,
.related.products,
.upsells.products {
    width: 100% !important;
    clear: both;
}

/* Force 2 column layout for Related and Upsells */
.related.products ul.products,
.upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin: 40px 0 !important;
    padding: 0 !important;
}

.related.products ul.products::before,
.related.products ul.products::after,
.upsells.products ul.products::before,
.upsells.products ul.products::after {
    display: none !important;
}

@media (max-width: 768px) {

    .woocommerce-result-count,
    .woocommerce-ordering {
        width: 100% !important;
        float: none !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        display: block !important;
    }

    .woocommerce-ordering {
        justify-content: center !important;
    }

    .woocommerce-ordering select {
        width: 100% !important;
    }

    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

.woocommerce-product-gallery {
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-product-gallery__wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #ffffff;
}

.woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.summary {
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

.product_title {
    font-size: 38px !important;
    line-height: 1.2 !important;
    color: var(--primary-dark);
    margin-bottom: 15px !important;
}

.summary .price {
    font-size: 32px !important;
    font-weight: 800;
    color: var(--primary) !important;
    margin-bottom: 25px !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary .price del {
    font-size: 20px;
    color: #999;
    font-weight: 400;
}

.summary .price ins {
    text-decoration: none;
}

.woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

form.cart {
    display: flex;
    gap: 15px;
    margin: 30px 0 !important;
    align-items: center;
}

.quantity {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px 15px;
    border: 1px solid #eee;
}

.quantity input {
    border: none !important;
    background: transparent;
    font-weight: 700;
    font-size: 16px;
    width: 45px !important;
    text-align: center;
}

.single_add_to_cart_button {
    background: var(--primary) !important;
    color: white !important;
    padding: 18px 40px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-grow: 1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.single_add_to_cart_button:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 141, 68, 0.2);
}

.product_meta {
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product_meta span {
    display: block;
    margin-bottom: 5px;
}

/* Product Page Guarantee Box & Icons */
.checkout-guarantee-box {
    margin-top: 30px;
    text-align: center;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.checkout-guarantee-box p {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
}

.guarantee-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.guarantee-icons img {
    max-height: 20px;
    width: auto;
    opacity: 0.8;
}

.guarantee-icons span {
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

/* Sold Count & Trust Signals Styles */
.sold-count-trigger {
    font-size: 14px;
    color: #168d44;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.viewers-count {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.viewers-count .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.delivery-notice {
    background: #fffbeb;
    color: #92400e;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    border-left: 4px solid #f59e0b;
}

.trust-signals {
    margin-top: 25px;
    padding: 25px;
    background: #fdfcf9;
    border: 1px dashed #168d44;
    border-radius: 16px;
}

.trust-signals p {
    font-size: 15px;
    margin-bottom: 12px;
    color: #444;
    display: flex;
    gap: 12px;
    align-items: center;
}

.trust-signals p strong {
    color: var(--primary-dark);
}

.product_meta a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* Tabs Upgrade */
.woocommerce-tabs {
    margin-top: 80px;
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 60px !important;
    list-style: none;
}

.woocommerce-tabs ul.tabs li {
    padding-bottom: 15px;
    position: relative;
    background: transparent !important;
    border: none !important;
}

.woocommerce-tabs ul.tabs li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 4px;
    background: var(--primary);
    border-radius: 10px;
}

.woocommerce-tabs ul.tabs li a {
    color: #aaa;
    font-weight: 700;
    text-decoration: none;
    font-size: 22px;
    letter-spacing: 1px;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-dark);
}

.woocommerce-Tabs-panel {
    max-width: 900px;
    margin: 0 auto;
    color: #444;
    line-height: 1.8;
    font-size: 18px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.woocommerce-Tabs-panel--description {
    text-align: left;
}

.woocommerce-Tabs-panel h2 {
    display: none;
}

/* Reviews Styling */
#reviews #comments ol.commentlist {
    padding: 0;
    list-style: none;
}

#reviews #comments ol.commentlist li {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

#reviews #comments ol.commentlist li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

#reviews #comments ol.commentlist li img.avatar {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-text {
    border: none !important;
    padding: 0 !important;
}

.comment-text .meta {
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

#review_form_wrapper {
    background: #fdfcf9;
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .product-main-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.sample-product {
    animation: fadeIn 0.8s ease backwards;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* WooCommerce Notices (Fixed) */
.woocommerce-notices-wrapper {
    margin: 20px 0;
    width: 100%;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background-color: #fff;
    color: var(--text);
    border: none;
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 500;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: right;
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    margin-left: auto;
}

.woocommerce-message .button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 141, 68, 0.2);
}

.woocommerce-error {
    border-left-color: #e53e3e;
    background: #fff5f5;
    color: #c53030;
}

/* CART PAGE STYLING */
.woocommerce-cart .woocommerce {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    padding: 40px;
    margin-top: 30px;
}

.shop_table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 15px !important;
    width: 100%;
}

.shop_table thead th {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
    padding-bottom: 20px !important;
}

.shop_table.cart tbody tr.cart_item {
    background: #fdfcf9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease;
}

.shop_table.cart tbody tr.cart_item:hover {
    transform: translateY(-2px);
}

.shop_table.cart td {
    border: none !important;
    padding: 20px !important;
    vertical-align: middle;
}

.shop_table.cart td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.shop_table.cart td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.product-thumbnail img {
    border-radius: 12px !important;
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    background: #fff;
}

.product-name a {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 16px;
}

.product-name a:hover {
    color: var(--primary);
}

.product-price,
.product-subtotal {
    font-weight: 700;
    color: var(--text);
    font-size: 15px;
}

/* Quantity Input in Cart */
/* Quantity Input in Cart */
.quantity {
    display: inline-flex !important;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0;
    overflow: hidden;
    height: 44px;
}

.quantity input.qty {
    width: 50px !important;
    height: 100% !important;
    border: none !important;
    background: white !important;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    margin: 0 !important;
    padding: 0 !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Remove Icon */
.product-remove a.remove {
    color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-remove a.remove:hover {
    background: #ff6b6b !important;
    color: #fff !important;
}

/* Cart Actions */
.actions {
    padding-top: 30px !important;
    text-align: right;
}

.actions .coupon {
    float: left;
    display: flex;
    gap: 10px;
}

.actions .coupon input {
    border: 1px solid #eee !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    width: 200px !important;
}

.button[name="update_cart"] {
    background: #e2e8f0 !important;
    color: #4a5568 !important;
}

.button[name="update_cart"]:hover {
    background: #cbd5e0 !important;
    color: #2d3748 !important;
}

/* Cart Totals */
.cart-collaterals {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed #eee;
}

.cart_totals {
    width: 100% !important;
    float: none !important;
    max-width: 500px;
    margin-left: auto;
}

.cart_totals h2 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: right;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart_totals table th,
.cart_totals table td {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart_totals table th {
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
}

.cart_totals table td {
    text-align: right;
    font-weight: 700;
}

/* Checkout Button Fix */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 18px 30px !important;
    font-size: 18px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 20px rgba(22, 141, 68, 0.2) !important;
    margin-bottom: 20px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(22, 141, 68, 0.3) !important;
}

/* Empty Cart State */
.cart-empty {
    font-size: 24px;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    padding: 60px 0 20px;
}

.cart-empty::before {
    content: '\f158';
    font-family: 'dashicons';
    display: block;
    font-size: 60px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.return-to-shop {
    text-align: center;
    margin-bottom: 60px;
}

.return-to-shop .button {
    background: var(--primary);
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Cross Sells / Related Products in Cart */
.cross-sells,
.up-sells {
    margin-top: 60px;
}

.cross-sells h2,
.up-sells h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

/* Empty Cart Products Grid */
.woocommerce-cart .cart-empty~.products,
.woocommerce-cart .cart-empty+h2+.products,
.woocommerce-cart .return-to-shop+.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.woocommerce-cart .cart-empty~.products li.product,
.woocommerce-cart .cart-empty+h2+.products li.product {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    list-style: none;
    text-align: center;
    transition: transform 0.3s ease;
}

.woocommerce-cart .cart-empty~.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.woocommerce-cart .cart-empty~.products li.product img {
    border-radius: 12px;
    margin-bottom: 15px;
    height: 200px;
    object-fit: contain;
}

.woocommerce-cart .cart-empty~.products li.product .price {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin: 10px 0;
}

.woocommerce-cart .cart-empty~.products li.product .button {
    margin-top: 10px;
    width: 100%;
}

/* Discount Badges in Cart */
.fibercan-save-badge {
    background-color: #e6fffa;
    color: #168d44;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #168d44;
    display: inline-block;
    margin-top: 4px;
    text-transform: uppercase;
}

.fibercan-save-badge-total {
    background: #168d44;
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(22, 141, 68, 0.2);
}

/* Fix for WooCommerce Blocks (New In Store / Empty Cart) - MATCHING SHOP STYLES */
.woocommerce-cart .wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Matches main grid */
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.woocommerce-cart .wc-block-grid__product {
    background: #fff !important;
    border-radius: 24px !important;
    /* Match shop */
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: 1px solid #f5f5f5 !important;
    margin-bottom: 30px !important;
    text-align: center;
    overflow: hidden;
    float: none !important;
    max-width: none !important;
    width: 100% !important;
    position: relative !important;
}

.woocommerce-cart .wc-block-grid__product:hover {
    transform: translateY(-8px) !important;
    /* Match shop hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(22, 141, 68, 0.1) !important;
}

.woocommerce-cart .wc-block-grid__product-image {
    margin-bottom: 15px !important;
}

.woocommerce-cart .wc-block-grid__product-image img {
    border-radius: 16px !important;
    background: #fdfcf9 !important;
    transition: transform 0.4s ease !important;
    width: 100% !important;
    height: 250px !important;
    /* Match shop height */
    object-fit: contain !important;
}

.woocommerce-cart .wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.03) !important;
}

.woocommerce-cart .wc-block-grid__product-link {
    text-decoration: none !important;
    display: block;
}

.woocommerce-cart .wc-block-grid__product-title {
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    /* Match shop */
    font-weight: 700;
    color: var(--primary-dark) !important;
    margin: 10px 0 !important;
    line-height: 1.2 !important;
    min-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce-cart .wc-block-grid__product-price {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 1.1em !important;
    margin-bottom: 15px;
    display: block;
}

.woocommerce-cart .wc-block-grid__product-price del {
    color: #999 !important;
    font-size: 0.9em !important;
    margin-right: 5px;
    font-weight: 400;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart {
    margin-top: 15px;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 20px !important;
    border-radius: 50px !important;
    width: 100% !important;
    text-align: center !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: block !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none !important;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(22, 141, 68, 0.25) !important;
}




/* Force Checkout Button Style - Standard & Blocks */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart a.checkout-button,
.woocommerce-checkout #place_order,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 18px 30px !important;
    font-size: 18px !important;
    background-color: var(--primary) !important;
    background-image: none !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 20px rgba(22, 141, 68, 0.2) !important;
    text-decoration: none !important;
    margin-bottom: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart a.checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background-color: var(--primary-dark) !important;
    background-image: none !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(22, 141, 68, 0.3) !important;
}

/* WooCommerce Block Cart Styling */
.wp-block-woocommerce-cart {
    font-family: var(--font-body);
}

.wc-block-cart-items,
.wc-block-cart__sidebar {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    padding: 30px;
    border: 1px solid #f0f0f0;
}

.wc-block-cart-items__header span {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wc-block-cart-items__row {
    border-bottom: 1px solid #f0f0f0;
}

.wc-block-cart-item__image img {
    border-radius: 12px;
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    background: #fdfcf9;
}

.wc-block-components-product-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

.wc-block-components-product-price__value {
    font-weight: 700;
    color: var(--text);
}

.wc-block-components-product-price__value.is-discounted {
    color: var(--primary);
}

.wc-block-components-product-price__regular {
    color: #a0aec0;
    font-weight: 400;
}

.wc-block-components-sale-badge {
    background: #e6fffa;
    color: #168d44;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #168d44;
    display: inline-block;
    margin-top: 5px;
    text-transform: uppercase;
}

.wc-block-components-quantity-selector {
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
    height: 36px;
}

.wc-block-components-quantity-selector__input {
    border: none !important;
    background: transparent;
    font-weight: 700;
    color: var(--primary-dark);
}

.wc-block-components-quantity-selector__button {
    background: transparent;
    color: var(--primary);
    transition: background 0.2s;
}

.wc-block-components-quantity-selector__button:hover {
    background: #f7fafc;
}

.wc-block-cart-item__remove-link {
    color: #e53e3e !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.wc-block-cart-item__remove-link:hover {
    text-decoration: underline;
}

/* Cart Sidebar / Totals */
.wc-block-cart__totals-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.wc-block-components-totals-item {
    border-bottom: 1px dashed #e2e8f0;
    padding: 15px 0;
}

.wc-block-components-totals-item__label {
    color: var(--text-muted);
    font-weight: 500;
}

.wc-block-components-totals-item__value {
    color: var(--primary-dark);
    font-weight: 700;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px;
    color: var(--primary);
}

/* Block Checkout Button */
.wc-block-cart__submit-button {
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(22, 141, 68, 0.2) !important;
    transition: all 0.3s ease !important;
}

.wc-block-cart__submit-button:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(22, 141, 68, 0.3) !important;
}

/* Free Shipping Progress Notice */
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
    background: linear-gradient(135deg, #e6fffa 0%, #f0fdf4 100%);
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(22, 141, 68, 0.1);
}

.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left-color: #059669;
}

.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before {
    display: none;
}

#fibercan-global-ajax-notices {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 320px;
}

.fibercan-ajax-toast-wrapper .wc-notice-item {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #168d44;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    animation: slideInRight 0.3s ease-out;
}

.wc-notice-item.info {
    border-left-color: #2196F3;
}

.wc-notice-item.success {
    border-left-color: #168d44;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE IMPROVEMENTS
   ============================================ */

/* Force all notices to be hidden except our custom container */
.woocommerce-notices-wrapper,
#fibercan-global-ajax-notices {
    display: none !important;
}

/* Product Page Quantity Selector with +/- Buttons */
.single-product .quantity {
    display: inline-flex !important;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    padding: 0;
    overflow: hidden;
    margin-right: 15px;
    height: 40px;
}

.quantity input.qty {
    width: 60px !important;
    height: 100%;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin: 0 !important;
    padding: 0 !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Add +/- buttons styling */
.product-qty-btn {
    width: 36px;
    height: 44px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    user-select: none;
    border: none;
}

.product-qty-btn:hover {
    background: #f7fafc;
}

/* Product Tabs - Full Width Modern Design */
.woocommerce-tabs {
    margin-top: 60px !important;
    border-top: 2px solid #f0f0f0;
    padding-top: 40px;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    float: none !important;
    display: block !important;
}

.woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 5px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px !important;
    padding: 0 !important;
    list-style: none;
    width: 100%;
    overflow-x: auto;
}

.woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0;
    background: transparent !important;
    border: none !important;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 40px !important;
    font-weight: 600;
    font-size: 16px;
    color: #888 !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: transparent !important;
    white-space: nowrap;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--primary) !important;
    border-bottom-color: var(--primary);
    background: transparent !important;
}

.woocommerce-tabs .panel {
    padding: 40px 0;
    line-height: 1.8;
    font-size: 16px;
    width: 100% !important;
    max-width: 1100px;
    margin: 0 auto;
    float: none !important;
    clear: both !important;
}

.woocommerce-tabs .panel h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #222;
    font-weight: 700;
}

/* Related Products - Horizontal Carousel */
.related.products {
    margin-top: 80px !important;
    padding: 80px 0;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
}

.related.products h2 {
    font-size: 32px !important;
    margin-bottom: 40px !important;
    text-align: center;
    color: #222;
    font-weight: 800;
}

.related.products ul.products {
    display: flex !important;
    gap: 25px !important;
    margin: 0 !important;
    padding: 0 40px 40px 40px !important;
    list-style: none !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #eee;
}

.related.products ul.products::-webkit-scrollbar {
    height: 6px;
}

.related.products ul.products::-webkit-scrollbar-track {
    background: #eee;
}

.related.products ul.products::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.related.products .product {
    min-width: 280px !important;
    max-width: 280px !important;
    margin: 0 !important;
    padding: 20px;
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
    text-align: center;
    float: none !important;
}

.related.products .product:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.related.products .product img {
    border-radius: 12px;
    margin-bottom: 20px;
    width: 100% !important;
    height: auto !important;
}

.related.products .product h2 {
    font-size: 18px !important;
    font-weight: 600;
    margin-bottom: 12px !important;
    color: #333;
    text-align: center !important;
}

.related.products .product .price {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 15px;
}

.related.products .product .button {
    background: var(--secondary) !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .related.products ul.products {
        padding: 0 20px 20px 20px !important;
    }

    .related.products .product {
        min-width: 240px !important;
        max-width: 240px !important;
    }

    .woocommerce-tabs ul.tabs li a {
        padding: 12px 20px !important;
        font-size: 14px;
    }
}

/* Mobile Navigation Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: 1;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        z-index: 3000;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 50px 30px;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
        visibility: hidden;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .main-navigation.toggled {
        left: 0;
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column !important;
        gap: 20px;
    }

    .main-navigation a {
        font-size: 20px;
        font-weight: 700;
        color: var(--primary-dark);
        display: block;
        padding: 10px 0;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation a:hover {
        color: var(--secondary);
    }

    /* Overlay effect */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
    }
}