/* 2. The Text */
.header-marquee {
    display: inline-block;
    white-space: nowrap;
    padding-right: 50px;
    animation: seamless-loop 10s linear infinite;
}

/* 3. The "Magic" Animation */
@keyframes seamless-loop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 4. Optional: Smooth Hover Pause */
.header-marquee:hover {
    animation-play-state: paused;
}



.area-service-box:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fce0e0 100%);
    border-color: #fd4147 !important;
}



.nevigation-header ul.elementor-icon-list-items li.elementor-icon-list-item:first-child span.elementor-icon-list-text {
    font-weight: 700 !important;
    margin-bottom: 10px;
}

.nevigation-header ul.elementor-icon-list-items li.elementor-icon-list-item:first-child span.elementor-icon-list-text {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 17px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.nevigation-header ul.elementor-icon-list-items li.elementor-icon-list-item:first-child span.elementor-icon-list-text:hover {
    color: #f40303 !important;
}

.nevigation-header li.elementor-icon-list-item a span.elementor-icon-list-text:hover {
    color: #fff !important;
}

.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;
}

/* 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: #fcfbf9;
}

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

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

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

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

/* 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;
    }
}