/* WooCommerce Style Resets - Override any remaining WooCommerce styles */
.woocommerce,
.woocommerce-page {
    /* Reset WooCommerce container styles */
    font-family: inherit !important;
    line-height: inherit !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
    /* Reset WooCommerce product grid styles */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    /* Reset individual product item styles */
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering {
    /* Reset WooCommerce result count and ordering styles */
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination {
    /* Reset pagination styles */
    text-align: center !important;
    margin: 2rem 0 !important;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce-page nav.woocommerce-pagination ul {
    display: inline-flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.5rem !important;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-page nav.woocommerce-pagination ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-page nav.woocommerce-pagination ul li a,
.woocommerce-page nav.woocommerce-pagination ul li span {
    display: block !important;
    padding: 0.5rem 1rem !important;
    border: 1px solid #ddd !important;
    text-decoration: none !important;
    color: #333 !important;
    background: white !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-page nav.woocommerce-pagination ul li a:hover {
    background: #f8f9fa !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-page nav.woocommerce-pagination ul li span.current {
    background: #333 !important;
    color: white !important;
}

/* Reset WooCommerce form styles */
.woocommerce form,
.woocommerce-page form {
    margin: 0 !important;
}

.woocommerce .select2-container,
.woocommerce-page .select2-container {
    /* Reset Select2 dropdown styles if used */
    width: 100% !important;
}

/* Contact Form 7 Styling for Homepage Form */
.footer-subscribe .wpcf7-form {
    position: relative; /* Needed for the absolute positioned button */
}

.footer-subscribe-wrapper {
    position: relative;
    width: 100%;
}

/* Style the input field */
.footer-subscribe .wpcf7-form-control.w-input {
    width: 100%; /* Ensure it fills the container */
    margin-bottom: 0; /* Remove any default margins */
}

/* Style the submit button */
.footer-subscribe .wpcf7-submit.w-button {
    /* The original design has an empty value and a background image for the arrow */
    background-image: url('../images/Submit-Arrow.svg'); /* YOU NEED TO FIND AND ADD THIS IMAGE */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    width: 60px; /* Adjust as needed */
    height: 100%;

    border: none;
    padding: 0;
}

/* Hide the spinning icon on submission for a cleaner look */
.footer-subscribe .wpcf7-spinner {
    display: none !important;
}

/* Additional styling to match the original form design */
.footer-subscribe .wpcf7-form {
    display: flex;
    align-items: center;
}

.footer-subscribe .footer-subscribe-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

/* Ensure the input and button work together */
.footer-subscribe .wpcf7-form-control.text-field {
    flex: 1;
    padding-right: 70px; /* Make room for the button */
}

.footer-subscribe .wpcf7-submit.submit-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

/* Hide Contact Form 7 default validation messages styling */
.footer-subscribe .wpcf7-not-valid-tip {
    display: none !important;
}

.footer-subscribe .wpcf7-validation-errors {
    display: none !important;
}

/* WooCommerce Cart Button Styling */
.cart-wrapper {
    position: relative;
}

.cart-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cart-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.cart-icon,
.cart-icon-fallback {
    width: 24px;
    height: 24px;
    display: block;
    color: #333;
    transition: color 0.3s ease;
}

/* Ensure cart icon is visible */
.cart-button .cart-icon,
.cart-button .cart-icon-fallback {
    opacity: 1;
    visibility: visible;
}

/* Cart icon hover effect */
.cart-button:hover .cart-icon,
.cart-button:hover .cart-icon-fallback {
    color: #000;
}

/* SVG specific styling */
.cart-button svg.cart-icon,
.cart-button svg.cart-icon-fallback {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Fallback cart icon using CSS if SVG fails to load */
.cart-button::before {
    content: '';
    display: none; /* Hidden by default, shown if image fails */
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3 3H5L5.4 5M7 13H17L21 5H5.4M7 13L5.4 5M7 13L4.7 15.3C4.3 15.7 4.6 16.5 5.1 16.5H17M17 13V16.5M9 19.5C9.8 19.5 10.5 20.2 10.5 21S9.8 22.5 9 22.5 7.5 21.8 7.5 21 8.2 19.5 9 19.5ZM20 19.5C20.8 19.5 21.5 20.2 21.5 21S20.8 22.5 20 22.5 18.5 21.8 18.5 21 19.2 19.5 20 19.5Z' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Show fallback icon if main image fails */
.cart-button .cart-icon[src*="Cart-Icon.svg"]:not([src]) + ::before,
.cart-button .cart-icon[alt]:empty + ::before {
    display: block;
}

.cart-quantity-container {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    text-align: center;
    z-index: 10;
}

/* Hide the counter if cart is empty */
.cart-quantity-container.empty {
    display: none !important;
}

.cart-quantity-container .cart-quantity {
    display: block;
    color: #fff;
}

/*
----------------------------------------------------------------
Slide-out Cart Sidebar
----------------------------------------------------------------
*/

/* Cart overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

/* Cart header */
.cart-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart content */
.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-sidebar-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Cart items */
.cart-sidebar-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-sidebar-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.cart-item-price {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cart-item-quantity {
    font-size: 12px;
    color: #999;
    margin: 5px 0 0 0;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    margin-left: 10px;
}

.cart-item-remove:hover {
    color: #000;
}

/* Cart footer */
.cart-sidebar-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.cart-buttons {
    display: flex;
    gap: 10px;
}

.cart-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.cart-btn-view {
    background-color: #f0f0f0;
    color: #333;
}

.cart-btn-view:hover {
    background-color: #e0e0e0;
}

.cart-btn-checkout {
    background-color: #000;
    color: #fff;
}

.cart-btn-checkout:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Shop Page Styling */
.shop-page {
    /* Main shop page container */
}

.shop-header-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.shop-header-bg-holder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shop-header-bg-holder .shop-header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback background image if no ACF image is set */
.shop-header-bg-holder:not(:has(.shop-header-bg)) {
    background-image: url('../images/Cover-Shop.jpg'); /* Add this image to assets/images/ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.shop-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.shop-header-content {
    position: relative;
    z-index: 2;
}

.shop-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.shop-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.shop-filters-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.shop-filters-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.shop-search-wrapper,
.shop-category-filter,
.shop-results-count,
.shop-sorting {
    flex: 1;
    min-width: 200px;
}

.category-dropdown {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.shop-products-section {
    padding: 3rem 0;
}

.products-grid {
    margin-top: 2rem;
}

/* Shop Page - 3 Column Grid Layout to match shop.html */
.products-list,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns as in shop.html */
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .products-list,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .products-list,
    .blog-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 1.5rem;
    }
}

/* New Shop Page Header Styling */
.small-heading-holder {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.small-heading-image-holder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.small-heading-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.background-overlay.soft {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.center-text {
    position: relative;
    z-index: 2;
}

.shop-heading-holder {
    margin-bottom: 1rem;
}

.heading-paragrah-holder {
    margin-top: 1rem;
}


.white-text {
    color: white;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filter Bar Styling - Matching shop.html layout */
.filters-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.search.w-form {
    flex: 1;
    max-width: 400px;
}

.category-holder {
    flex-shrink: 0;
}

.category-holder select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    min-width: 200px;
}

/* Search form styling to match shop.html */
.search.w-form .woocommerce-product-search {
    display: flex;
    width: 100%;
}

.search.w-form .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    border-right: none;
}

.search.w-form .search-submit {
    padding: 0.75rem 1.5rem;
    background: #333;
    color: white;
    border: 1px solid #333;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.search.w-form .search-submit:hover {
    background: #555;
}

/* Blog Grid Wrapper */
.blog-grid-wrapper {
    margin-top: 2rem;
}

/* WooCommerce Search Form Styling */
.search-form-wrapper .woocommerce-product-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-form-wrapper .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-form-wrapper .search-submit {
    padding: 0.75rem 1.5rem;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.search-form-wrapper .search-submit:hover {
    background: #555;
}

/* WooCommerce Filter Elements */
.category-holder .woocommerce-result-count {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.category-holder .woocommerce-ordering {
    margin-bottom: 0;
}

.category-holder .woocommerce-ordering select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
}

/* Hide default WooCommerce notices in filter area */
.filters-holder .woocommerce-notices-wrapper {
    display: none;
}

/* Responsive adjustments for filters */
@media (max-width: 768px) {
    .filters-holder {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-form-wrapper,
    .category-holder {
        min-width: auto;
        width: 100%;
    }
}

/*
----------------------------------------------------------------
Shop Page (archive-product.php) v2 Styling
----------------------------------------------------------------
*/

/* Main 3-column grid for products */
.blog-grid.w-dyn-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Filter bar styling */
.filters-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px 0;
}
.filters-holder .search.w-form {
    display: flex;
    flex-grow: 1;
    margin-right: 20px;
}
.filters-holder .search input[type="search"] {
    width: 100%;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 0;
}
.filters-holder .search button {
    padding: 12px 25px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
}
.filters-holder .category-holder select {
    padding: 13px 40px 13px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    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 15px center;
    background-size: 1em;
}

/* Shop Product Card Styling */
.blog-item {
    text-align: left;
}
.blog-item .product-title-wrapper {
    margin-top: 10px;
}
.blog-item h3.product-title {
    font-size: 1.2rem;
    color: #000;
    margin: 0;
}
.blog-item .pricing-wrapper {
    margin-top: 5px;
}
.blog-item .category-simple, .blog-item .caption {
    font-family: "Archivo Variable", sans-serif !important;
    margin: 0;
    color: #000;
    font-size: 0.9rem;
}
.blog-item .price {
    color: #000;
    font-weight: 500;
}
.blog-item .price del {
    color: #999;
    margin-right: 5px;
}

/* Responsive Grid Adjustments */
@media screen and (max-width: 991px) {
    .blog-grid.w-dyn-items {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 767px) {
    .filters-holder {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .filters-holder .search.w-form {
        margin-right: 0;
    }
}
@media screen and (max-width: 479px) {
    .blog-grid.w-dyn-items {
        grid-template-columns: 1fr;
    }
}

/*
----------------------------------------------------------------
Single Product Page - Precise v3 Styling
----------------------------------------------------------------
*/

/* This targets our manually built form */
form.cart {
    margin: 0;
}

/* This is our custom main container for quantity + button */
form.cart .card-items {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* --- Quantity Holder Styling --- */
form.cart .quantity-holder {
    flex: 1; /* Make it take up half the space */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #000;
    padding: 0 18px;
    height: 50px;
    background-color: #fff;
}

form.cart .quantity-holder .field-label {
    /* This is our custom label */
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    color: #000;
}

form.cart .quantity {
    /* This is the div WooCommerce wraps the input in */
    margin: 0;
}

form.cart .quantity .input-text.qty {
    /* This is the actual number input */
    border: none !important;
    background: transparent !important;
    text-align: right;
    width: 40px !important;
    padding: 0 !important;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    box-shadow: none !important;
    outline: none !important;
}

/* Hide default browser arrows for number input */
form.cart .quantity .input-text.qty::-webkit-outer-spin-button,
form.cart .quantity .input-text.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
form.cart .quantity .input-text.qty[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

/* --- Add to Cart Button Styling --- */
form.cart button.single_add_to_cart_button {
    flex: 1; /* Make it take up the other half */
    height: 50px;
    width: auto;
    /* Use !important to override any stubborn default Woo styles */
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: center;
    line-height: 50px;
    padding: 10px 50px !important;
    transition: background-color 0.3s;
}
form.cart button.single_add_to_cart_button:hover {
    background-color: #333 !important;
}

/* Styling for variable product dropdowns if they exist */
form.cart .variations {
    margin-bottom: 20px;
}
form.cart .variations td.label {
    padding-right: 1em;
}

/*
----------------------------------------------------------------
Header & Footer Dynamic Content Styling
----------------------------------------------------------------
*/

/* Header CTA Button */
.button.header-cta {
    margin-right: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button.header-cta:hover {
    background-color: #333;
    color: #fff;
}

/* Footer Newsletter Subtitle */
.footer-newsletter-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0.5rem 0 1rem 0;
    line-height: 1.4;
}

/* Responsive adjustments for header */
@media (max-width: 768px) {
    .button.header-cta {
        margin-right: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 12px;
    }
}

/*
----------------------------------------------------------------
No Products Found Styling
----------------------------------------------------------------
*/

.no-products-found-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 60px 20px;
    text-align: center;
}

.no-products-content {
    max-width: 500px;
    width: 100%;
}

.no-products-icon {
    margin-bottom: 30px;
    color: #ccc;
    display: flex;
    justify-content: center;
}

.no-products-icon svg {
    width: 80px;
    height: 80px;
}

.no-products-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.no-products-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.no-products-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.no-products-actions .button {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.no-products-actions .button.primary {
    background-color: #000;
    color: #fff;
}

.no-products-actions .button.primary:hover {
    background-color: #333;
    color: #fff;
}

.no-products-actions .button.secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.no-products-actions .button.secondary:hover {
    background-color: #e0e0e0;
    color: #333;
}

.browse-categories {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.browse-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-link {
    padding: 8px 16px;
  /*   background-color: #f8f9fa; */
    color: #666;
    text-decoration: none;
   /*  border-radius: 20px; */
    font-size: 14px;
    transition: all 0.3s ease;
   /*  border: 1px solid #e9ecef; */
}

.category-link:hover {
    /* background-color: #e9ecef; */
    color: #333;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .no-products-found-wrapper {
        min-height: 300px;
        padding: 40px 15px;
    }

    .no-products-title {
        font-size: 24px;
    }

    .no-products-message {
        font-size: 15px;
    }

    .no-products-actions {
        flex-direction: column;
        align-items: center;
    }

    .no-products-actions .button {
        width: 100%;
        max-width: 250px;
    }

    .category-links {
        gap: 8px;
    }

    .category-link {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/*
----------------------------------------------------------------
Shop Page Filter Bar - Precise Styling Fix
----------------------------------------------------------------
*/

/* Filter bar layout */
.filters-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
}

/* Search form styling */
.filters-holder .search.w-form {
    display: flex;
    flex: 1;
    max-width: 400px;
    position: relative;
}

.filters-holder .text-field-simple.search-bar {
    flex: 1;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 0;
    border-right: none;
    background: #fff;
    outline: none;
}

.filters-holder .text-field-simple.search-bar:focus {
    border-color: #999;
    box-shadow: none;
}

.filters-holder .search-button {
    padding: 12px 25px;
    border: 1px solid #ddd;
    border-left: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 14px;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.filters-holder .search-button:hover {
    background: #333;
}

/* Category dropdown styling */
.filters-holder .category-holder {
    flex-shrink: 0;
    position: relative;
}

.filters-holder .dropdown {
    position: relative;
}

.filters-holder .dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 13px 40px 13px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    min-width: 200px;
    position: relative;
}

.filters-holder .drop-down-text {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.filters-holder .w-icon-dropdown-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: transform 0.3s ease;
}

/* Style the SVG arrow inside the dropdown toggle */
.filters-holder .w-icon-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Fallback: CSS-only arrow if SVG is not present */
.filters-holder .w-icon-dropdown-toggle:empty::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #333;
}

/* Rotate arrow when dropdown is open */
.filters-holder .dropdown.w--open .w-icon-dropdown-toggle {
    transform: translateY(-50%) rotate(180deg);
}

/* Hover effect for dropdown toggle */
.filters-holder .dropdown-toggle:hover .w-icon-dropdown-toggle {
    color: #000;
}

.filters-holder .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filters-holder .dropdown.w--open .dropdown-list {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Ensure dropdown is above other elements */
.filters-holder .dropdown {
    position: relative;
    z-index: 100;
}

.filters-holder .dropdown.w--open {
    z-index: 1001;
}

.filters-holder .drop-down-list {
    padding: 0;
}

.filters-holder .category-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.filters-holder .category-link:hover,
.filters-holder .category-link.w--current {
  /*   background-color: #f8f9fa; */
    color: #000;
}

.filters-holder .category-link:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .filters-holder {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filters-holder .search.w-form {
        max-width: none;
    }

    .filters-holder .dropdown-toggle {
        min-width: auto;
        width: 100%;
    }
}

/*
----------------------------------------------------------------
Contact Page Styling
----------------------------------------------------------------
*/

/* Contact page layout */
.contact-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 500px;
}

.contact-us-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Contact form styling */
.contact-form-block .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-block .contact-us-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form fields holder for side-by-side inputs */
.contact-form-block .form-fields-holder {
    display: flex;
    gap: 20px;
}

.contact-form-block .form-fields-holder .w-input {
    flex: 1;
}

/* Input field styling */
.contact-form-block .text-field.w-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.contact-form-block .text-field.w-input:focus {
    border-color: #999;
    outline: none;
    box-shadow: none;
}

.contact-form-block .text-field.message {
    min-height: 120px;
    resize: vertical;
}

/* Submit button styling */
.contact-form-block .w-button {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.contact-form-block .w-button:hover {
    background-color: #333;
}

/* Contact Form 7 specific styling */
.contact-form-block .wpcf7-form p {
    margin: 0;
}

.contact-form-block .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.contact-form-block .wpcf7-validation-errors,
.contact-form-block .wpcf7-mail-sent-ok {
    border: none;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.contact-form-block .wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
}

.contact-form-block .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
}

/* Additional info styling */
.contact-additional-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-additional-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-additional-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-additional-info ul,
.contact-additional-info ol {
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
}

/* Contact image styling */
.contact-us-image-holder {
    position: relative;
}

.contact-us-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive design */
@media screen and (max-width: 991px) {
    .contact-us-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-us-image-holder {
        order: -1;
    }
}

@media screen and (max-width: 767px) {
    .contact-form-block .form-fields-holder {
        flex-direction: column;
        gap: 15px;
    }

    .contact-us-wrapper {
        gap: 30px;
    }

    .contact-subtitle {
        font-size: 16px;
    }
}

@media screen and (max-width: 479px) {
    .contact-form-block .text-field.w-input {
        padding: 12px 15px;
        font-size: 15px;
    }

    .contact-form-block .w-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
}

/*
----------------------------------------------------------------
Search Results Page Styling Fix
----------------------------------------------------------------
*/

/* Ensure search results pages get proper WooCommerce styling */
body.product-search-results,
body.search .woocommerce,
body.search.woocommerce-page {
    /* Apply same styling as shop pages */
}

/* Force search results to use shop page layout */
.product-search-results .filters-holder,
.search .woocommerce .filters-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
}

/* Ensure product grid displays correctly on search results */
.product-search-results .blog-grid-wrapper,
.search .woocommerce .blog-grid-wrapper {
    width: 100%;
}

.product-search-results .blog-grid.w-dyn-items,
.search .woocommerce .blog-grid.w-dyn-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Search results specific styling */
.search-results-info {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.search-results-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.search-results-count {
    font-size: 16px;
    color: #666;
}

/*
----------------------------------------------------------------
Search Results Page Styling Fix
----------------------------------------------------------------
*/

/* Ensure search results pages get proper WooCommerce styling */
body.product-search-results,
body.search .woocommerce,
body.search.woocommerce-page {
    /* Apply same styling as shop pages */
}

/* Force search results to use shop page layout */
.product-search-results .filters-holder,
.search .woocommerce .filters-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
}

/* Ensure product grid displays correctly on search results */
.product-search-results .blog-grid-wrapper,
.search .woocommerce .blog-grid-wrapper {
    width: 100%;
}

.product-search-results .blog-grid.w-dyn-items,
.search .woocommerce .blog-grid.w-dyn-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Search results specific styling */
.search-results-info {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.search-results-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.search-results-count {
    font-size: 16px;
    color: #666;
}

/* Responsive adjustments for search results */
@media screen and (max-width: 991px) {
    .product-search-results .blog-grid.w-dyn-items,
    .search .woocommerce .blog-grid.w-dyn-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 767px) {
    .product-search-results .blog-grid.w-dyn-items,
    .search .woocommerce .blog-grid.w-dyn-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .search-results-info h1 {
        font-size: 20px;
    }
}


/* --- Final Polish for Quantity Input --- */

/* Align the number to the right */
form.cart .quantity .input-text.qty {
    text-align: right;
}

/* Remove the blue focus outline from the quantity input */
form.cart .quantity .input-text.qty:focus,
form.cart .quantity .input-text.qty:focus-visible {
    outline: none; /* Removes the default browser outline */
    box-shadow: none; /* Removes any potential shadow effect */
}

/*
----------------------------------------------------------------
Coupon Integration Styling for Checkout
----------------------------------------------------------------
*/

/* Coupon toggle styling */
.woocommerce-form-coupon-toggle {
    margin-bottom: 30px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    margin: 0;
    border-radius: 0;
    font-size: 14px;
    color: #333;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
}

.woocommerce-form-coupon-toggle .woocommerce-info a:hover {
    color: #333;
}

/* Coupon form styling */
.checkout_coupon.woocommerce-form-coupon {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 30px;
    display: none;
}

.checkout_coupon.woocommerce-form-coupon.woocommerce-form-coupon-toggle {
    display: block;
}

.checkout_coupon p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.checkout_coupon input[type="text"] {
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 12px 15px;
    width: 70%;
    margin-right: 10px;
    font-size: 14px;
    background: #fff;
}

.checkout_coupon input[type="text"]:focus {
    border-color: #999;
    outline: none;
    box-shadow: none;
}

.checkout_coupon .button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.checkout_coupon .button:hover {
    background-color: #333;
}

/* Coupon display in checkout receipt */
.w-commerce-commercecheckoutsummarylineitem.line-item .coupon-discount {
    color: #28a745;
    font-weight: 500;
}

/* Applied coupon styling in order summary */
.w-commerce-commercecheckoutsummarylineitem.line-item .woocommerce-remove-coupon {
    color: #dc3545;
    text-decoration: none;
    font-size: 12px;
    margin-left: 5px;
}

.w-commerce-commercecheckoutsummarylineitem.line-item .woocommerce-remove-coupon:hover {
    color: #c82333;
    text-decoration: underline;
}

/* Responsive coupon form */
@media screen and (max-width: 767px) {
    .checkout_coupon input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .checkout_coupon .button {
        width: 100%;
    }

    .woocommerce-form-coupon-toggle {
        margin-bottom: 20px;
    }

    .checkout_coupon.woocommerce-form-coupon {
        padding: 15px;
        margin-bottom: 20px;
    }
}

/*
----------------------------------------------------------------
Checkout Page - Final Minimalist Design CSS
----------------------------------------------------------------
*/

/* Main layout grid */
.minimalist-checkout .checkout-layout-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.minimalist-checkout .checkout-main-column {
    flex: 2; /* Left column takes 2/3 of space */
    min-width: 320px;
}
.minimalist-checkout .checkout-sidebar-column {
    flex: 1; /* Right column takes 1/3 of space */
    min-width: 300px;
}
.minimalist-checkout .checkout-receipt-wrapper {
    border: 1px solid #ddd;
    padding: 25px;
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
}

/* Section headings */
.minimalist-checkout h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 20px;
}
.minimalist-checkout h3:first-child {
    margin-top: 0;
}
.minimalist-checkout .required-text {
    font-size: 0.8rem;
    font-weight: 400;
    color: #777;
    float: right;
}

/* Form fields */
.minimalist-checkout .form-row {
    margin-bottom: 15px;
}
.minimalist-checkout .form-row label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}
.minimalist-checkout .form-row .input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    border-radius: 0;
}

/* Order items list */
.minimalist-checkout .checkout-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.minimalist-checkout .checkout-cart-item img {
    width: 60px;
    height: auto;
}
.minimalist-checkout .checkout-cart-item-details {
    flex-grow: 1;
}
.minimalist-checkout .item-name {
    font-weight: 600;
}
.minimalist-checkout .item-quantity {
    font-size: 0.9em;
    color: #666;
}
.minimalist-checkout .item-subtotal {
    font-size: 0.9em;
    font-weight: 500;
}

/* Receipt / Order review */
#order_review_heading {
    font-size: 1.8rem;
}
.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-top: 20px;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #777;
}
.woocommerce-checkout-review-order-table .product-name,
.woocommerce-checkout-review-order-table .product-total { display: none; }
.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.5rem;
    color: #000;
    font-weight: 600;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

/* Payment section and button */
.woocommerce-checkout-payment {
    background: transparent;
    padding: 0;
}
.wc_payment_methods {
    list-style: none;
    padding: 0;
    border: none;
}
.wc_payment_method > label {
    font-weight: 600;
}
.payment_box {
    background: #f9f9f9;
    padding: 1em;
    margin-top: 1em;
    font-size: 0.9em;
}
#place_order {
    background: #000;
    color: #fff;
    border-radius: 0;
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .minimalist-checkout .checkout-layout-grid {
        flex-direction: column-reverse;
    }
    .minimalist-checkout .checkout-sidebar-column {
        width: 100%;
        position: static;
    }
}

/*
----------------------------------------------------------------
Single Product Page - Final Minimalist Style v2
----------------------------------------------------------------
*/

/* General layout */
.single-product div.product {
    padding-top: 40px;
    font-family: "Archivo Variable", sans-serif !important;
}
.product-gird {
    display: grid;
    gap: 50px; /* Space between image and summary */
    grid-template-columns: 1.25fr 1fr;
}
.product-content .sticky-card {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; /* Adjust as needed */
}

/* Left column - Images and Details */
.links-holder {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    font-family: "Archivo Variable", sans-serif !important;
}
.links-holder a {
    color: #888;
    text-decoration: none;
}
.links-holder .active {
    color: #111;
    font-weight: 500;
}
.product-image-holder .product-image {
    border-radius: 5px;
}
.more-images-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.light-box-item img {
    border-radius: 3px;
    cursor: pointer;
}
.more-details-holder {
    margin-top: 40px;
}
.more-details-holder .title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: "Archivo Variable", sans-serif !important;
}

/* Right column - Product Summary */
.tag-text {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    
    font-family: "Archivo Variable", sans-serif !important;
}
.tag-text a { /* Make category links match the muted style */
    color: inherit !important;
    text-decoration: none !important;
}
h1.product_title {
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    
    font-family: "Archivo Variable", sans-serif !important;
}
.price-and-description {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding-top : 0px !important;
    
}
.price-holder {
    flex-shrink: 0 !important;
}
.price-big {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    font-family: "Archivo Variable", sans-serif !important;
}
/* Stacked sale price styling */
.price-big del {
    display: block !important;
    font-size: 1.1rem !important;
    color: #999 !important;
    opacity: 0.7 !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    font-family: "Archivo Variable", sans-serif !important;
}
.price-big ins {
    text-decoration: none !important;
    font-family: "Archivo Variable", sans-serif !important;
}
.product-description .small-paragraph {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #555 !important;
    margin: 0 !important;
    font-family: "Archivo Variable", sans-serif !important;
}

/*
----------------------------------------------------------------
Add to Cart Form - Final Precise Styling
----------------------------------------------------------------
*/

form.cart {
    margin: 0;
    font-family: "Archivo Variable", sans-serif !important;
}
form.cart .variations {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
form.cart .variations td {
    padding: 0;
}
form.cart .variations label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    font-family: "Archivo Variable", sans-serif !important;
}
form.cart .variations select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: "Archivo Variable", sans-serif !important;
}
form.cart .reset_variations {
    font-size: 12px;
    margin-top: 10px;
    font-family: "Archivo Variable", sans-serif !important;
}

/* This is our custom main container for quantity + button */
form.cart .card-items {
    display: flex;
    align-items: stretch; /* Make both items the same height */
    gap: 12px;
}

/* Style the quantity holder box */
form.cart .quantity-holder {
    flex: 1; /* Make it take up half the space */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #000;
    padding: 0 18px;
    height: 50px;
}
form.cart .quantity-holder .field-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Archivo Variable", sans-serif !important;
}
form.cart .quantity {
    /* The div WooCommerce wraps the input in */
    margin: 0;
}
form.cart .quantity .input-text.qty {
    /* The actual number input */
    border: none !important;
    background: transparent !important;
    text-align: right;
    width: 40px !important;
    padding: 0 !important;
    font-weight: 500;
    box-shadow: none !important;
    outline: none !important;
    color: #000;
    font-family: "Archivo Variable", sans-serif !important;
}
form.cart .quantity .input-text.qty:focus {
    outline: none;
    box-shadow: none;
}

/* Style the Add to Cart button */
form.cart button.single_add_to_cart_button {
    flex: 1; /* Make it take up the other half */
    height: 50px;
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-align: center;
    padding: 10px 50px !important;
    line-height: 50px; /* Vertically center text */
    font-family: "Archivo Variable", sans-serif !important;
    cursor: pointer;
    border: none;
}

form.cart button.single_add_to_cart_button:hover {
    background-color: #333 !important;
}

/* Hide any leftover Webflow commerce elements */
.text-animate-05,
._100width,
.product-price,
.w-commerce-commerceaddtocartform,
.default-state,
.card-items .quantity-holder:empty,
.w-commerce-commerceaddtocartform.default-state,
form[data-node-type="commerce-add-to-cart-form"],
form[data-commerce-sku-id],
form[data-commerce-product-id] {
    display: none !important;
}

/* Also hide any empty card-items containers */
.card-items:empty,
.quantity-holder:empty {
    display: none !important;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .product-gird {
        grid-template-columns: 1fr !important;
    }
    .product-content .sticky-card {
        position: static !important;
    }
    h1.product_title {
        font-size: 2rem !important;
    }
    .price-and-description {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Ensure correct order on mobile: price first, then description */
    .price-and-description .price-holder {
        order: 1 !important;
    }

    .price-and-description .product-description {
        order: 2 !important;
    }

    /* Hide original Details section on mobile devices */
    .content .more-details-holder,
    .content .animate-on-load-04 {
        display: none !important;
    }

    /* Show mobile Details section on mobile devices */
    .mobile-details {
        display: block !important;
        margin-top: 30px !important;
    }
}

/* General Details section styling */
.more-details-holder {
    margin-top: 40px !important;
    font-family: "Archivo Variable", sans-serif !important;
}

.more-details-holder .title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: #333 !important;
    font-family: "Archivo Variable", sans-serif !important;
}

.more-details-holder .w-richtext {
    font-family: "Archivo Variable", sans-serif !important;
    color: #666 !important;
    line-height: 1.6 !important;
}

.more-details-holder .w-richtext p {
    margin-bottom: 15px !important;
    font-family: "Archivo Variable", sans-serif !important;
}

/* Hide mobile Details section on desktop */
@media screen and (min-width: 768px) {
    .mobile-details {
        display: none !important;
    }

    /* Show original Details section on desktop */
    .content .more-details-holder,
    .content .animate-on-load-04 {
        display: block !important;
    }
}

/*
----------------------------------------------------------------
Checkout Form - French Medical Scrubs Fields
----------------------------------------------------------------
*/

/* Checkout form field styling */
.woocommerce-checkout .form-row {
    margin-bottom: 20px !important;
}

.woocommerce-checkout .form-row label {
    font-family: "Archivo Variable", sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #333 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    font-family: "Archivo Variable", sans-serif !important;
    font-size: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease !important;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #000 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
}

/* Phone field specific styling */
.woocommerce-checkout .form-row input[type="tel"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%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/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
    background-size: 16px !important;
    padding-left: 40px !important;
}

/* Email field styling */
.woocommerce-checkout .form-row input[type="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 12px center !important;
    background-size: 16px !important;
    padding-left: 40px !important;
}

/* Message textarea styling */
.woocommerce-checkout .form-row textarea {
    min-height: 100px !important;
    resize: vertical !important;
    font-family: "Archivo Variable", sans-serif !important;
}

/* Required field asterisk */
.woocommerce-checkout .form-row .required {
    color: #e74c3c !important;
    font-weight: bold !important;
}

/* Field validation styling */
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid textarea {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1) !important;
}

.woocommerce-checkout .form-row.woocommerce-validated input,
.woocommerce-checkout .form-row.woocommerce-validated textarea {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.1) !important;
}

/* Hide unwanted fields */
.woocommerce-checkout .hidden-field {
    display: none !important;
}

/* Mobile responsive */
@media screen and (max-width: 767px) {
    .woocommerce-checkout .form-row input,
    .woocommerce-checkout .form-row textarea {
        padding: 10px 14px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
    }

    .woocommerce-checkout .form-row input[type="tel"],
    .woocommerce-checkout .form-row input[type="email"] {
        padding-left: 36px !important;
        background-size: 14px !important;
        background-position: 10px center !important;
    }
}