.custom-tittle h2.elementor-heading-title.elementor-size-default {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 18px;
}

.customer-review .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

/* The Left Gradient Fade */
.review-section {
    position: relative;
}

.customer-review::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    /* Width of the fade */
    height: 100%;
    background: linear-gradient(to right, #f9f5f5 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    pointer-events: none;
    /* Allows clicking through the fade */
}

/* The Right Gradient Fade */
.customer-review::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    /* Width of the fade */
    height: 100%;
    background: linear-gradient(to left, #f9f5f5 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.breadcrumb-c nav.woocommerce-breadcrumb,
.custom-product-loop p.price,
.product-content-area p.price {
    margin: 0;
}

/* Ensure the main container is constrained to your size */
.elementor-widget-woocommerce-product-images .flex-viewport {
    width: 721px !important;
    height: 721px !important;
}

/* The Lens - injected via JS later */
.custom-zoom-lens {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Ensure images fill the 721x721 area */
.woocommerce-product-gallery__image img {
    width: 721px !important;
    height: 721px !important;
    object-fit: cover !important;
}

.custom-product-img ol.flex-control-nav.flex-control-thumbs li img {
    height: 100px !important;
    object-fit: cover;
}



.custom-product-img .woocommerce-product-gallery__trigger {
    display: none;
}


.product-content-area p.price del span bdi {
    position: relative;
}


.product-content-area .price del,
.product-content-area .price del * {
    text-decoration: none !important;
}

.product-content-area p.price,
.custom-product-loop .price {
    display: flex;
}

.product-content-area .price del,
.custom-product-loop .price del {
    order: 1;
}

.product-content-area p.price del span bdi:before {
    position: absolute;
    content: "";
    z-index: 1;
    top: 50%;
    left: -8px;
    width: 120%;
    height: 2px;
    background-color: #b36d67;
    transform: rotate(45deg) translateY(-50%);
    -webkit-transform: rotate(345deg) translateY(-50%);
    -moz-transform: rotate(45deg) translateY(-50%);
    -ms-transform: rotate(45deg) translateY(-50%);
    -o-transform: rotate(45deg) translateY(-50%);
}


/* Hide the original dropdown */
.variations_form .variations .value select,
.product-content-area .variations_form .variations .value .reset_variations,
.woocommerce-notices-wrapper {
    display: none !important;
}

.woocommerce div.product form.cart .variations {
    background: #FFFEFB;
}

/* Container for the chips */
.custom-swatch-container {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Individual Chip Style */
.custom-swatch {
    border: 1px solid #d1d1d1;
    padding: 4px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 50px;
    text-align: center;
    background: #ffffff;
    text-transform: uppercase;
    /* font-family: "EB Garamond", Sans-serif; */
    display: flex;
    flex-direction: row;
    gap: 18px;
}

/* Active/Selected Chip (Matches your 1st image) */
.custom-swatch.active {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Label styling to match image */
.variations label {
    font-weight: bold;
    font-size: 1.2em;
    display: block;
}


/* Container for the whole quantity selector */
.quantity {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid #dcdcdc;
    /* Gray border from your image */
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    height: 45px;
    /* Adjust height to match your design */
}

/* Hide default spin arrows */
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity input[type=number] {
    -moz-appearance: textfield;
}

/* The Number Input */
.quantity .qty {
    width: 125px !important;
    height: 46px !important;
    border: none !important;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 0 !important;
    background: transparent !important;
}

/* The Plus/Minus Buttons */
.qty-btn {
    width: 36px;
    height: 46px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qty-btn:hover {
    background-color: #d8d8d8;
    color: #1a1a1a;
}

/* Vertical separators */
.qty-btn.minus {
    border-right: 1px solid #dcdcdc !important;
}

.qty-btn.plus {
    border-left: 1px solid #dcdcdc !important;
}

/* Adjust button styles to match the chip font if needed */
.qty-btn,
.quantity .qty {
    font-family: inherit;
}

.product-content-area .variations tbody tr {
    display: flex;
    flex-direction: column;
}

.product-content-area .variations tbody th.label,
.product-content-area .variations tbody td.value {
    padding: 0px;
    background: #ffffff;
}

.product-content-area .woocommerce-variation-add-to-cart {
    flex-direction: row;
    /*     gap: 40px; */
}

.product-content-area button.single_add_to_cart_button.button.alt {
    background: #0049E4;
    margin: 0px !important;
    padding: 12.5px;
}

.product-content-area button.single_add_to_cart_button.button.alt:hover {
    background: #0049E4;
}

.title-element a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.swatch-price span.woocommerce-Price-amount.amount {
    color: #222;
    font-size: 15px;
}

.custom-swatch.active .swatch-price span.woocommerce-Price-amount.amount {
    color: #fff;
}

/* Tablet Product Image Resize */
@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-widget-woocommerce-product-images .flex-viewport {
        width: 100% !important;
        height: 720px !important;
    }

    .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 720px !important;
    }
}


/* Mobile Product Image Resize */
@media (max-width: 767px) {
    .quantity .qty {
        width: 45px !important;
        height: 43px !important;
    }

    .qty-btn {
        height: 43px;
    }

    .elementor-widget-woocommerce-product-images .flex-viewport {
        width: 100% !important;
        height: 328px !important;
    }

    .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 328px !important;
        object-fit: cover !important;
    }

    .custom-product-img ol.flex-control-nav.flex-control-thumbs li img {
        width: 74.5px !important;
        height: 70px !important;
    }
}

.single-page-checkout td.product-name {
    padding: 0px !important;
}

.single-page-checkout .fw-product-name {
    font-family: "Anek Bangla", Sans-serif;
}

.e-checkout__container {
    border: solid 1px #eaeaea;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.04);
}

.col-1,
.e-checkout__order_review {
    margin: 0 !important;
}

.e-checkout__container {
    gap: 0px !important;
}

.checkout-var-title {
    font-family: "Anek Bangla", Sans-serif;
    font-weight: 500;
    font-size: 15px;
}

.checkout-var-btn {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: "Anek Bangla", Sans-serif;
}

.checkout-var-btn.active-var {
    border-color: #007bff;
    background: #f0f7ff;
}

.checkout-var-btn:hover {
    background: #f0f7ff;
    border-color: #007bff;
}

.var-name {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.var-price {
    font-size: 16px;
    color: #666;
}

p#billing_first_name_field {
    width: 100% !important;
}

.woocommerce-checkout .woocommerce-billing-fields .input-text,
.woocommerce-checkout .woocommerce-shipping-fields .input-text {
    width: 100% !important;
    height: 42px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #222222 !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    padding: 0 10px 0 52px !important;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row {
    position: relative;
}

.woocommerce-checkout #billing_first_name_field::before,
.woocommerce-checkout #shipping_first_name_field::before,
.woocommerce-checkout #billing_email_field::before,
.woocommerce-checkout #billing_phone_field::before,
.woocommerce-checkout #shipping_phone_field::before,
.woocommerce-checkout #billing_address_1_field::before,
.woocommerce-checkout #shipping_address_1_field::before,
.woocommerce-checkout #billing_delivery_date_field::before {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 18px;
    height: 18px;
    background-color: #999999;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    pointer-events: none;
    transition: background-color 0.2s ease;
}

/* Lucide "User" Icon */
.woocommerce-checkout #billing_first_name_field::before,
.woocommerce-checkout #shipping_first_name_field::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

/* Lucide "Mail" Icon */
.woocommerce-checkout #billing_email_field::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

/* Lucide "Phone" Icon */
.woocommerce-checkout #billing_phone_field::before,
.woocommerce-checkout #shipping_phone_field::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.woocommerce-checkout .fw-product-thumb img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 5px;
}

.woocommerce-checkout .fw-product-name {
    font-family: "Anek Bangla", sans-serif !important;
    font-size: 15px;
}

.woocommerce-checkout .fw-product-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

td.product-name {
    position: relative;
}

.product-quantity {
    font-weight: 400 !important;
    font-size: 8px;
    line-height: 16px;
    background-color: #2e2c2c;
    color: #fff;
    text-align: center;
    width: 17px;
    height: 17px;
    border-radius: 50px;
    position: absolute;
    top: -5px;
    left: 7%;
}

@media (max-width: 767px) {
    .woocommerce-checkout .fw-product-thumb img {
        min-width: 50px !important;
    }

    .product-quantity {
        top: -3px;
        left: 20%;
    }

    td.product-total {
        padding: 0 0 0 10px !important;
    }

    .woocommerce-checkout .fw-product-name {
        font-size: 14px;
        line-height: 17px;
        font-weight: 500;
    }

    .elementor-widget-woocommerce-checkout-page .woocommerce-privacy-policy-text p {
        font-size: 11px;
        line-height: 15px;
    }
}