.betraweb a {
    outline: none !important;
    text-decoration: none !important;
    transition: all 0.3s ease 0s;
}

/* Product Grid - Ensure "All" tab is visible by default */
.grid-tab-content .tab-pane.all.active {
    display: block !important;
}

.grid-tab-content .tab-pane {
    display: none;
}

/* Custom quantity buttons with arrows */
.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
}

.quantity-btn {
    background: #f7f7f7;
    border: none;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
    padding: 0 7px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #333;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    box-shadow: none;
}

.quantity-btn:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.quantity-btn:active {
    background: #d0d0d0;
    transform: scale(0.95);
}

.quantity-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: -2px;
}

.quantity-minus {
    border-right: 1px solid #ddd;
}

.quantity-plus {
    border-left: 1px solid #ddd;
}

.quantity-wrapper input[type="number"] {
    border: none !important;
    text-align: center;
    width: 45px !important;
    height: 40px !important;
    font-size: 14px;
    font-weight: 500;
    -moz-appearance: textfield;
    outline: none;
    background: transparent;
}

.quantity-wrapper input[type="number"]::-webkit-outer-spin-button,
.quantity-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-wrapper input[type="number"]::-moz-number-spin-box {
    opacity: 0;
}

/* Cart page quantity styling */
.woocommerce-cart-form .quantity-wrapper {
    max-width: 100px;
}

.woocommerce-cart-form .quantity-btn {
    width: 28px;
    height: 32px;
    font-size: 14px;
}

.woocommerce-cart-form .quantity-wrapper input[type="number"] {
    width: 44px !important;
    height: 32px !important;
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .woocommerce-cart-form .quantity-wrapper {
        max-width: 90px;
    }
    
    .woocommerce-cart-form .quantity-btn {
        width: 26px;
        height: 30px;
        font-size: 13px;
    }
    
    .woocommerce-cart-form .quantity-wrapper input[type="number"] {
        width: 38px !important;
        height: 30px !important;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .quantity-wrapper {
        max-width: 100px;
    }
    
    .woocommerce-cart-form .quantity-wrapper {
        max-width: 85px;
    }
    
    .quantity-btn {
        width: 28px;
        height: 36px;
        font-size: 16px;
    }
    
    .woocommerce-cart-form .quantity-btn {
        width: 25px;
        height: 32px;
        font-size: 14px;
    }
    
    .quantity-wrapper input[type="number"] {
        width: 44px !important;
        height: 36px !important;
        font-size: 13px;
    }
    
    .woocommerce-cart-form .quantity-wrapper input[type="number"] {
        width: 35px !important;
        height: 32px !important;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .woocommerce-cart-form .quantity-wrapper {
        max-width: 80px;
    }
    
    .woocommerce-cart-form .quantity-btn {
        width: 22px;
        height: 28px;
        font-size: 12px;
    }
    
    .woocommerce-cart-form .quantity-wrapper input[type="number"] {
        width: 36px !important;
        height: 28px !important;
        font-size: 11px;
    }
}

/* Loading and pending states for cart updates */
.quantity-wrapper.updating {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.quantity-wrapper.updating .quantity-btn {
    background: #e8e8e8;
    color: #999;
}

.quantity-wrapper.updating::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border: 2px solid #0073aa;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.quantity-wrapper.pending-update {
    position: relative;
}

.quantity-wrapper.pending-update .quantity-btn {
    background: #fff3e0;
    border-color: #ffb74d;
}

.quantity-wrapper.pending-update input[type="number"] {
    background-color: #fff8e1;
    border-color: #ffb74d;
    color: #e65100;
}

.quantity-wrapper.updating input[type="number"] {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #666;
    cursor: wait;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.woocommerce-cart-form .quantity-wrapper {
    position: relative;
}
.betraweb ol,
.betraweb ul,
.betraweb p,
.betraweb form {
    padding: 0;
    margin: 0;
}
/* Typegraphy */
body {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: var(--font-xs);
}
body p,
p {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    font-family: var(--font-text);
    margin-bottom: 15px;
    color: var(--color-text);
}
body a {
    color: var(--primary-color);
}
.bangla_text {
    font-family: "Hind Siliguri", sans-serif !important;
}
body h1, body h2, body h3, body h4, body h5, body h6, body .font-heading, body .display-1, body .display-2, body .heading-sm-1, h1, h2, h3, h4, h5, h6, .font-heading, .display-1, .display-2 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
}
.section-title h3 {
    font-size: 32px;
    line-height: 30px;
}
/* Button */
.betraweb button.single_add_to_cart_button,
.betraweb .whmc-body .whmc_ft-buttons-con a,
button.view_cart_button,
.betraweb .buy_now_button,
.betraweb .buy-now-loop {
    background: var(--primary-color) !important;
    border: none;

}
.betraweb .whmc-body .whmc_ft-buttons-con a:hover,
.betraweb .buy_now_button:hover,
.betraweb .buy-now-loop:hover {
    border: none !important;
    opacity: 0.9;
}

/* Buy Now button styles - simplified since we're using direct links */
.betraweb .whmc-body .whmc_ft-buttons-con a {
    border: none !important;
    outline: none !important;
    margin-bottom: 10px;
}
.betraweb button.reset_variations {
    background: red;
    padding: 5px 10px;
    color: #fff;
    border-radius: 5px;
}

/* Modern Order Received Page Styles */
.woocommerce-order {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.woocommerce-order .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
    border: none;
}

.woocommerce-order .woocommerce-order-overview li {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.woocommerce-order .woocommerce-order-overview li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.woocommerce-order .woocommerce-order-overview li:not(:last-child) {
    border-bottom: none;
    margin-bottom: 0;
}

.woocommerce-order .woocommerce-order-overview li strong {
    display: block;
    font-size: 18px;
    color: #333;
    margin-top: 8px;
    font-weight: 600;
}

.woocommerce-order .woocommerce-order-overview li > :first-child {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Special styling for payment details */
.woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__payment-method {
    grid-column: span 2;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__payment-method strong {
    display: inline-block;
    margin-right: 15px;
}

/* Order received title */
.woocommerce-order h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.woocommerce-order p.woocommerce-thankyou-order-received {
    font-size: 18px;
    text-align: center;
    color: #28a745;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-order .woocommerce-order-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .woocommerce-order .woocommerce-order-overview li.woocommerce-order-overview__payment-method {
        grid-column: span 1;
    }
    
    .woocommerce-order h2 {
        font-size: 24px;
    }
};

/* WBW Product Filter Modern CSS Overrides */
.wpfFilterWrapper {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.wpfFilterWrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.wpfFilterTitle {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.wpfFilterTitle .wfpTitle {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wpfFilterTitle .wfpTitle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Price Range Slider */
.wpfFilterWrapper .ui-slider-horizontal {
    height: 8px !important;
    background: #f0f0f0 !important;
    border-radius: 4px !important;
    margin: 15px 0 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.wpfFilterWrapper .ui-slider .ui-slider-handle {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: var(--primary-color) !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.wpfFilterWrapper .ui-slider .ui-slider-handle:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3) !important;
}

.wpfFilterWrapper .ui-slider .ui-slider-range {
    background: var(--primary-color) !important;
    border-radius: 4px !important;
}

/* Price Input Fields */
.wpfPriceInputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.wpfPriceInputs input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.wpfPriceInputs input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.wpfPriceInputs span {
    font-weight: 500;
    color: #666;
}

/* Dropdown Selects */
.wpfFilterWrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.wpfFilterWrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.wpfFilterWrapper select:hover {
    border-color: #ddd;
}

/* Checkbox and Radio Styles */
.wpfFilterWrapper input[type="checkbox"],
.wpfFilterWrapper input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.wpfFilterWrapper label {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #555;
}

.wpfFilterWrapper label:hover {
    color: var(--primary-color);
}

/* Filter Buttons */
.wpfFilterWrapper button,
.wpfFilterWrapper .wpfButton {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wpfFilterWrapper button:hover,
.wpfFilterWrapper .wpfButton:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wpfFilterWrapper button:active,
.wpfFilterWrapper .wpfButton:active {
    transform: translateY(0);
}

/* Reset Button */
.wpfFilterWrapper .wpfResetButton {
    background: #6c757d;
    margin-left: 10px;
}

.wpfFilterWrapper .wpfResetButton:hover {
    background: #5a6268;
}

/* Color Swatches */
.wpfFilterWrapper .wpfColorSwatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 8px;
    display: inline-block;
}

.wpfFilterWrapper .wpfColorSwatch:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.wpfFilterWrapper .wpfColorSwatch.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Rating Stars */
.wpfFilterWrapper .wpfRatingStars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wpfFilterWrapper .wpfRatingStars .star {
    color: #ffc107;
    font-size: 16px;
}

.wpfFilterWrapper .wpfRatingStars .star.empty {
    color: #ddd;
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
    .wpfFilterWrapper {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .wpfFilterTitle .wfpTitle {
        font-size: 15px;
    }
    
    .wpfPriceInputs {
        flex-direction: column;
        gap: 8px;
    }
    
    .wpfPriceInputs input {
        width: 100%;
    }
    
    .wpfFilterWrapper button,
    .wpfFilterWrapper .wpfButton {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .wpfFilterWrapper .wpfResetButton {
        margin-left: 0;
    }
}