/*---------------------------------------------------------------------------------

 Theme Name:   Fuel LAB - LL
 Theme URI:    https://lockedinlust.com
 Description:  Custom Wordpress Website for Locked in Lust, by ©Fuel LAB
 Author:       Pietro Mingotti
 Author URI:   https://fuellabstudio.com/
 Template:     Divi
 Version:      1.5.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

---------------------------------------------------------------------------------*/
/*
 * ===================================================================
 * AREA: HOMEPAGE STYLES
 * ===================================================================
 */

/* --- SLIDER BASE STYLES --- */
.home .et_pb_shop .products {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    white-space: nowrap;
    padding: 10px 0;
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
    scrollbar-width: none;    /* Hide scrollbar in Firefox */
}

.home .et_pb_shop .products::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers */
}

/* Prevent products from wrapping */
.home .et_pb_shop .products li.product {
    flex: 0 0 auto;
    margin: 0;
}

/* Limit max height of product cards in homepage slider */
.home #homepage-slider .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    max-height: 450px !important;
}


/* --- SLIDER ARROWS --- */
.home .slider-prev,
.home .slider-next {
    background-color: #840fea;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Position arrows outside slider on desktop */
.home .slider-prev {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
}
.home .slider-next {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
}

/* Arrow hover effect */
.home .slider-prev:hover,
.home .slider-next:hover {
    background-color: #6c0fba;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}


/* --- PAGINATION --- */
/* Hide dots if you don’t use pagination visually */
.home .slider-pagination {
    display: none !important;
}


/* --- RESPONSIVE BEHAVIOR --- */
@media (max-width: 980px) {
    .home #homepage-slider {
        margin-bottom: 0 !important;
    }
    .home .slider-controls-mobile {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        margin-top: 30px;
        gap: 10px;
    }
    .home .slider-prev,
    .home .slider-next {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 0 !important;
        z-index: 1;
    }
}


/* --- RESPONSIVE COLUMNS CONFIGURATION --- */

/* Up to 680px: 1.5 products visible */
@media (max-width: 680px) {
    .home.woocommerce-page ul.products li.product:nth-child(n) {
        flex: 0 0 calc(100% / 1.5) !important;
        max-width: calc(100% / 1.5) !important;
        margin: 0 !important;
    }
}

/* From 681px to 770px: 2 products */
@media (min-width: 681px) and (max-width: 770px) {
    .home.woocommerce-page ul.products li.product:nth-child(n) {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
        margin: 0 !important;
    }
}

/* From 771px to 980px: 3 products */
@media (min-width: 771px) and (max-width: 980px) {
    .home.woocommerce-page ul.products li.product:nth-child(n) {
        flex: 0 0 calc(33.333% - 10px) !important;
        max-width: calc(33.333% - 10px) !important;
        margin: 0 !important;
        min-height: fit-content;
    }
}

/* From 981px to 1480px: 4 products */
@media (min-width: 981px) and (max-width: 1480px) {
    .home.woocommerce-page ul.products li.product:nth-child(n) {
        flex: 0 0 calc(25% - 10px) !important;
        max-width: calc(25% - 10px) !important;
        margin: 0 !important;
    }
    .home .et_pb_shop_0.et_pb_shop li.product h2 {
        min-height: 40px !important;
    }
}

/* From 1481px to 1980px: 5 products */
@media (min-width: 1481px) and (max-width: 1980px) {
    .home.woocommerce-page ul.products li.product:nth-child(n) {
        flex: 0 0 calc(20% - 10px) !important;
        max-width: calc(20% - 10px) !important;
        margin: 0 !important;
    }
}

/* Over 1981px: 6 products */
@media (min-width: 1981px) {
    .home.woocommerce-page ul.products li.product:nth-child(n) {
        flex: 0 0 calc(16.666% - 10px) !important;
        max-width: calc(16.666% - 10px) !important;
        margin: 0 !important;
    }
}


/* --- WRAPPING RULES --- */

/* Allow product titles and prices to wrap naturally */
.home .woocommerce-loop-product__title,
.home .price {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Flexbox layout for price block */
.home .price {
    display: flex !important;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

/* Min-height constraint for specific slider layout */
.home .cat-page-in-slide .et_pb_module_inner {
    min-height: 300px !important;
}


/*
 * ===================================================================
 * AREA: CHECKOUT PAGE
 * ===================================================================
 */

/* Function: Hides all WooCommerce error notices specifically on this page */
.woocommerce-checkout .woocommerce-error {
    display: none !important;
}

/* Function: Styles the main layout columns (billing/shipping and order summary) */
.ds-checkout-two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.ds-checkout-left {
    flex: 1 1 60%;
    min-width: 300px;
    border-radius: 30px;
    border-style: solid;
    border-color: darkgrey;
    border-width: 1px;
    padding: 1.75rem;
    box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
}
.ds-checkout-right {
    flex: 1 1 35%;
    min-width: 250px;
}
@media (max-width: 980px) {
    .ds-checkout-two-columns {
        flex-direction: column;
    }
}

/* Function: Styles the order summary box on the right */
#order_review {
    border-radius: 30px;
    border-style: solid;
    border-color: darkgrey;
    border-width: 1px;
    padding: 1.75rem;
    -webkit-box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
    -moz-box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
    box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
}

/* Function: Adds top margin to the order summary heading */
#order_review_heading {
    margin-top: 30px;
}

/* Function: Styles the "Place Order" button */
.woocommerce-checkout #place_order.button.alt {
    background-color: #840fea;
    color: white;
    border-radius: 50px;
    font-weight: bold;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
}
.woocommerce-checkout #place_order.button.alt :after {
    top: 15px;
    font-size: 21px !important;
}

/* Function: Styles the form input fields */
.woocommerce-input-wrapper input.input-text {
    padding: 8px !important;
    border-radius: var(--wc-form-border-radius, 4px) !important;
}

/* Function: Removes the labels for Country and State fields */
#billing_country_field label,
#billing_state_field label {
    display: none;
}

/* Function: Styles the custom coupon form button and layout */
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon,
.woocommerce-page .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    border-radius: 30px !important;
    background-color: purple !important;
    color: #fff !important;
    border: 1px solid purple !important;
    font-size: 13px !important;
    padding: 5px 12px !important;
    display: inline-block !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    white-space: nowrap;
}
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon:hover,
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon:focus {
    background-color: #5a0d5a !important;
    border-color: #5a0d5a !important;
    color: #fff !important;
}
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    margin-left: auto !important;
}

/* --- New styles for Checkout Login & Coupon Forms --- */

/*
.woocommerce-checkout #main-content > div > div.et_builder_inner_content.et_pb_gutters3.product > div.et_pb_section.et_pb_section_1_tb_body.et_section_regular > div.et_pb_row.et_pb_row_1_tb_body > div.et_pb_column.et_pb_column_1_3.et_pb_column_1_tb_body.et_pb_css_mix_blend_mode_passthrough > div.et_pb_module.et_pb_code.et_pb_code_0_tb_body > div > div > button {
    background-image: linear-gradient(45deg, #e5e0fb, #f1f2defa) !important;
    border-radius: 30px;
    border-style: solid !important;
    border-color: purple;
    border-width: 1px !important;
    color: purple !important;
    font-size: 18px;
    max-width: fit-content;
}
*/

/* Style for the login form container */
.woocommerce-checkout #login-form {
    border: none !important;
    padding: 10px 0px 0px 0px !important;
}

/* Stack username and password fields vertically */
.woocommerce-checkout .login-username,
.woocommerce-checkout .login-password {
    display: flex;
    flex-direction: column;
}

/* Style for WooCommerce login button */
.woocommerce-checkout.woocommerce-page input.button {
    border-radius: 30px !important;
    font-size: 18px !important;
    background-color: purple !important;
    color: white !important;
}

/* Style for username and password input fields */
.woocommerce-checkout #user_login,
.woocommerce-checkout #user_pass {
    border-radius: 30px !important;
    margin-top: 10px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    max-width: 400px !important;
}

/* Style for WooCommerce info boxes (e.g., messages, notices) */
.woocommerce-checkout .woocommerce .woocommerce-info {
    background-image: linear-gradient(45deg, #e5e0fb, #f1f2defa) !important;
    border-radius: 30px;
    font-size: 13px;
    /* border-style: solid; */
    color: purple !important;
    max-width: fit-content;
}

/* Hide WooCommerce Points & Rewards messages */
.woocommerce-checkout .et_pb_module_inner .wc_points_rewards_earn_points,
.woocommerce-checkout .et_pb_module_inner .wc_points_redeem_earn_points {
    display: none !important;
}

/* Show Points & Rewards redeem message only inside its specific placeholder */
.woocommerce-checkout .points-redeem-placeholder .woocommerce-info.wc_points_redeem_earn_points {
    display: flex !important;
}

/* Coupon form container */
.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(45deg, #f1f2defa, #e5e0fb);
    border-radius: 30px;
    padding: 5px 5px;
    border: 1px solid purple;
    max-width: 100%;
    align-items: center;
    margin-top: 20px;
}
.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
    width: 60% !important;
}
.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last {
    max-width: fit-content !important;
}

/* Coupon form input field */
.woocommerce-checkout form.checkout_coupon input#coupon_code {
    border-radius: 30px !important;
    padding: 5px 5px !important;
    font-size: 13px !important;
    border: 1px solid purple !important;
    flex: 1;
    color: #333;
    background-color: #f9f9f9;
}

/* Coupon form submit button */
.woocommerce-checkout form.checkout_coupon button.button {
    background: linear-gradient(45deg, #e5e0fb, #f1f2defa);
    border-radius: 30px;
    border: 1px solid purple;
    color: purple;
    font-size: 13px !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Coupon form button hover style */
.woocommerce-checkout form.checkout_coupon button.button:hover {
    background: purple !important;
    color: white !important;
}

/* Remove WooCommerce clearfix element from coupon form */
.woocommerce-checkout form.checkout_coupon .clear {
    display: none !important;
}


/*
 * ===================================================================
 * AREA: COLLAPSIBLE LOGIN FORM SHORTCODE
 * ===================================================================
 */

/* Main container for the shortcode */
.login-collapse-container {
    margin: 20px 0;
}

/* The button that toggles the form visibility */
.login-toggle {
    width: 100%;
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    cursor: pointer;
    text-align: left;
}

/* The container for the WordPress login form */
.login-form-content {
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}


/*
 * ===================================================================
 * AREA: SHOP & CATEGORY PAGES
 * ===================================================================
 */

.mob-cat-sel    {background-color: purple;
    border-radius: 30px;
    font-size: 13px;
    color: white;
    margin-top: 0px;
    padding: 7px 10px 7px 7px !important;;
    line-height: 1.2em;
	height: fit-content;}

#mega-toggle-block-2 {height:auto !important;}

/* Function: Styles for a custom upsell grid layout */
.cuw-gird {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

/* Function: Fixes product loop height and price position on mobile */
@media (max-width: 980px) {
    .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
        min-height: 82px !important;
    }
    .woocommerce-LoopProduct-link.woocommerce-loop-product__link .price {
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
    }
}
@media (max-width: 767px) {
    .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
        min-height: 82px !important;
    }
    .woocommerce-LoopProduct-link.woocommerce-loop-product__link .price {
        position: absolute !important;
        bottom: -8px !important;
        right: 0px !important;
    }
}


/* MARQUEE ON TOP */
.marquee-container {
  width: 100%;
  overflow: hidden !important;       /* Hide text that overflows the container */
  position: relative;                /* Required for absolute positioning inside */
  height: 40px;                      /* Important to define a height */
  line-height: 30px;
}

.marquee-text {
  position: absolute;
  white-space: nowrap;
  animation: marquee 30s linear infinite; /* Infinite horizontal scroll animation */
}

/* Marquee animation definition */
@keyframes marquee {
  0% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* WOO PRODUCTS GRID STYLE - MOST STYLES ARE ON THE MODULE */
.category-grid .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  max-height: 600px !important;
}

/* Product title height for uniform layout */
.woocommerce-loop-product__title {
  min-height: 58px;
}


/* RESPONSIVE STYLING FOR PRODUCTS ON SMALL DEVICES */
@media screen and (max-width: 480px) {
  .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    min-height: 300px !important;
  }

  .et-l .et_pb_shop ul.products.columns-2 li.product {
    min-width: 100% !important; /* Force full-width product cards on mobile */
  }
}

    .woocommerce-LoopProduct-link.woocommerce-loop-product__link .price
{bottom:15px !important;
right:10px !important;}
 


/* GENERAL BEHAVIOR OF LAYOUT */
/* Adjust z-index for a specific row when screen is narrow */
@media all and (max-width: 960px) {
  div.et_pb_with_border.et_pb_row.et_pb_row_2_tb_body {
    z-index: 1 !important;
  }
}


/* LEFT COLUMN STICKY BEHAVIOR */
.specialita-colonna {
  position: sticky !important;              /* Stick to top of screen */
  max-width: 280px;                         /* Limit column width */
  top: 60px;                                /* Distance from top */
  max-height: calc(100vh - 60px);           /* Dynamic height */
  overflow-y: auto !important;              /* Enable vertical scroll */
  -ms-overflow-style: none;                 /* Hide scrollbar in IE/Edge */
  box-sizing: border-box;
  background-color: rgba(255, 0, 0, 0.2);   /* Temporary background for debug */
  z-index: 1;                               /* Behind any fixed menus */
  position: relative;                       /* Prevent interference with submenu */
  overflow-x: visible !important;           /* Allow submenu overflow */
}

/* Hide scrollbar on WebKit browsers */
.specialita-colonna::-webkit-scrollbar {
  display: none;
}

/* Additional spacing when sticky class is present */
.specialita-colonna.sticky {
  padding-top: 20px;
  margin-top: 20px;
  max-height: calc(100vh - 60px);
}


/* Ensure body is tall enough to accommodate sticky content */
body {
  height: auto;
  min-height: 100vh;
}


/* FOR WOO ESSENTIALS GRID ONLY - UNCOMMENT IF USED */
/*
.woocommerce-page ul.products li.product:nth-child(n) {
  width: 100% !important;
}
*/
/* FIX FIREFOX PRICE WRAPPING ON SALE PRODUCTS */
.woocommerce span.price del {
  display: inline !important;
  white-space: nowrap !important;
}
/* RESPONSIVE BEHAVIOR FOR LEFT COLUMN */
@media all and (max-width: 960px) {
  .specialita-colonna {
    display: none; /* Hide left column on narrow screens */
  }

  .colonna-numero-due {
    max-width: 95%;
    float: unset !important;
    margin: 20px;
  }

  .html-banner {
    flex: 1;
  }
}


/*
 * ===================================================================
 * AREA: PRODUCT PAGE
 * ===================================================================
 */

/* Function: Hides the "1-click checkout" button on the e-Gift Card and Keyholding products */
.postid-69059 .buy-now-button,
.postid-12710 .buy-now-button {
    display: none;
}

/* Function: Hides all WooCommerce notices (e.g., "Product added to cart") specifically on single product pages. */
.single-product .woocommerce-notices-wrapper {
    display: none !important;
}


/* Function: Forces the quantity input to always be visible */
.woocommerce div.product form.cart div.quantity {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/*
 * ===================================================================
 * AREA: BUY NOW BUTTON
 * ===================================================================
 */

/* Wrapper for side-by-side Add to Cart and Buy Now buttons */
.button-container {
    display: flex;
    gap: 10px;
    align-items: stretch; /* Make buttons same height */
}

/* General styles for the Buy Now button */
#buy-now {
    text-align: center;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-color: #d22cd2;
    border-width: 2px;
    border-style: solid;
    z-index: 999;
    color: #ffffff;
    background-color: #000000;
    white-space: nowrap;
    line-height: 1.2;
    flex: 1; /* Make it share space with Add to Cart button */
    display: inline-block;
    padding: 18px 28px;
    font-size: 13px;
}

/* Style for the button when disabled */
#buy-now.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Wrapper for the repositioned Quantity field */
.quantity-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 2%; /* Add space between label and input */
}

/* Responsive styles for buttons on mobile */
@media (max-width: 410px) {
    .button-container {
        flex-direction: column;
    }
    #buy-now {
        display: block;
        width: 100%;
        padding: 18px 20px;
        font-size: 12px;
    }
}

/*
 * ===================================================================
 * AREA: HEADER & MENU
 * ===================================================================
 */

/* Function: Styles for the AJAX cart counter icon */
.et_pb_icon_0_tb_header .et_pb_icon_wrap {
    position: relative;
}
.cart-counter {
    position: absolute;
    top: 0;
    right: 27px;
    background-color: #ff0000;
    border-radius: 50%;
    border: 2px solid #fff;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    z-index: 99;
}
@media (min-width: 981px) {
    .cart-counter {
        margin-left: 22px;
    }
}

/* Function: Removes the border from the mini cart widget */
.woocommerce-mini-cart {
    border: none !important;
}

/* Function: Creates an invisible bridge to prevent menu flickering on hover */
.ds-hover-bridge {
    display: block;
}

/*
 * ===================================================================
 * AREA: MODALS & POPUPS (Frequently Bought Together, etc.)
 * ===================================================================
 */

/* Function: General layout for product cards inside the modal */
.cuw-product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: white !important;
    border-radius: 12px !important;
    padding: 10px !important;
    border: 1px solid #ccc !important;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between !important;
}

/* Function: Image, title, price, and checkbox styling within the modal product cards */
.cuw-product-image {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
}
.cuw-product-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: block !important;
}
.cuw-product-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
    max-width: calc(100% - 80px) !important;
}
.cuw-product-price {
    font-size: 14px !important;
    font-weight: normal !important;
}
.cuw-product-card input[type="checkbox"] {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

/* Function: Styles the "Add to Cart" button inside the modal */
.cuw-add-to-cart, .cuw-modal-footer .cuw-add-to-cart {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 30px !important;
    background-color: #8410ea !important;
    color: white !important;
    font-size: 16px !important;
    text-transform: none !important;
}

/* Function: Removes unnecessary margins */
.cuw-actions div {
    margin-top: 0 !important;
}
.cuw-column.cuw-buy-section {
    max-width: unset !important;
    padding: 0px 26px 26px 26px !important;
}

/* Function: Responsive adjustments for modal product cards on mobile */
@media screen and (max-width: 768px) {
    .cuw-product-card {
        flex-direction: row !important;
        align-items: center !important;
    }
    .cuw-product-image {
        width: 50px !important;
        height: 50px !important;
    }
    .cuw-product-info {
        width: 100% !important;
        max-width: calc(100% - 80px) !important;
    }
    .cuw-product-checkbox {
        position: relative !important;
        right: 0px !important;
        top: 0px !important;
    }
}

/* Function: Loading spinner animation for the modal */
#fbt-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #840fea;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #840fea transparent transparent transparent;
}
.lds-ring div:nth-child(1) { animation-delay: -0.45s; }
.lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }
@keyframes lds-ring {
    0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }}
	
/*
 * ===================================================================
 * AREA: MY ACCOUNT PAGE
 * ===================================================================
 */

/* Function: Styles the main info container for a cleaner layout */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Function: Custom styling for forward buttons (e.g., "View Orders", "Browse products") */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward {
    color: white !important;
    background-color: purple !important;
    margin-top: 30px !important;
    font-size: 16px !important;
    width: fit-content !important;
    border: 2px solid purple !important;
    border-radius: 30px !important;
    padding: 10px 40px 10px 20px !important; /* reserve space on the right for chevron icon */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    line-height: 1 !important; /* prevents ::after from increasing height */
    height: auto !important;
    overflow: hidden;
}

/* Function: Adds a hover effect with a chevron icon to the forward buttons */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward::after {
    content: '›';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward:hover::after {
    opacity: 1;
}

/* Function: Adjusts the heading font size within the main content area */
.woocommerce-account .woocommerce-MyAccount-content h2 {
    font-size: 26px !important;
}

/*
 * ===================================================================
 * AREA: ORDER RECEIVED PAGE (THANK YOU PAGE)
 * ===================================================================
 */

/*** Responsive Styles for Large Desktop and Above ***/
@media all and (min-width: 1405px) {
    .woocommerce-order-received .woocommerce-order-details h2 {
        font-size: 26px !important;
        font-weight: 800 !important;
    }
    .woocommerce-order-received .woocommerce-order-details p {
        padding-bottom: unset !important;
    }
    .woocommerce-order-received .woocommerce-order-details h3 {
        font-size: 26px !important;
        font-weight: 800 !important;
        margin-top: 20px;
    }
}

/*** Responsive Styles for Standard Desktop (980px to 1404px) ***/
@media all and (min-width: 980px) and (max-width: 1405px) {
    .woocommerce-order-received .woocommerce-order-details h2 {
        font-size: 26px !important;
        font-weight: 800 !important;
    }
    .woocommerce-order-received .woocommerce-order-details p {
        padding-bottom: unset !important;
    }
    .woocommerce-order-received .woocommerce-order-details h3 {
        font-size: 22px !important;
        font-weight: 800 !important;
        margin-top: 20px;
    }
}

/*** Responsive Styles for Tablets Only (768px to 979px) ***/
@media all and (min-width: 768px) and (max-width: 980px) {
    .woocommerce-order-received .woocommerce-order-details h2 {
        font-size: 26px !important;
        font-weight: 800 !important;
    }
    .woocommerce-order-received .woocommerce-order-details p {
        padding-bottom: unset !important;
    }
    .woocommerce-order-received .woocommerce-order-details h3 {
        font-size: 22px !important;
        font-weight: 800 !important;
        margin-top: 20px;
    }
}

/*** Responsive Styles for Smartphones Only (up to 767px) ***/
@media all and (max-width: 767px) {
    .woocommerce-order-received .woocommerce-order-details h2 {
        font-size: 22px !important;
        font-weight: 800 !important;
    }
    .woocommerce-order-received .woocommerce-order-details p {
        padding-bottom: unset !important;
    }
    .woocommerce-order-received .woocommerce-order-details h3 {
        font-size: 22px !important;
        font-weight: 800 !important;
        margin-top: 20px;
    }

    /*** Transform the order details table into a block layout for better mobile UX ***/
    .woocommerce-order-received .woocommerce-table.shop_table.order_details,
    .woocommerce-order-received .woocommerce-table.shop_table.order_details thead,
    .woocommerce-order-received .woocommerce-table.shop_table.order_details tbody,
    .woocommerce-order-received .woocommerce-table.shop_table.order_details tr,
    .woocommerce-order-received .woocommerce-table.shop_table.order_details th,
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td {
        display: block;
        width: 100%;
    }

    /* Hide table headers */
    .woocommerce-order-received .woocommerce-table.shop_table.order_details thead {
        display: none;
    }

    /* Make each row look like a card */
    .woocommerce-order-received .woocommerce-table.shop_table.order_details tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        padding: 10px;
        background: #f9f9f9;
        border-radius: 5px;
    }

    /* Style each cell inside the card */
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td {
        text-align: left;
        padding: 5px 0;
        position: relative;
        border: none;
    }

    /* Inject column labels before each value for clarity */
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td:nth-of-type(1):before {
        content: "Product: ";
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td:nth-of-type(2):before {
        content: "Name: ";
        font-weight: bold;
        display: block;
    }
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td:nth-of-type(3):before {
        content: "Quantity: ";
        font-weight: bold;
        display: block;
    }
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td:nth-of-type(4):before {
        content: "Price: ";
        font-weight: bold;
        display: block;
    }

    /* Align product image */
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td:nth-of-type(1) {
        text-align: left;
    }
    .woocommerce-order-received .woocommerce-table.shop_table.order_details td:nth-of-type(1) img {
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px;
    }
}


/*
 * ===================================================================
 * AREA: CART PAGE & CART POPUP STYLES
 * ===================================================================
 */

/* --- Styles for Custom Upsells (CUW) on Cart Page & Popup --- */

/* Purple border for upsells container on the cart page */
.woocommerce-cart .cuw-offers[data-location="shortcode"] {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #8410ea; /* Purple border */
    border-radius: 30px; /* Rounded corners */
    background-color: #ffffff;
}

/* General styles for the upsell component, applicable on both cart and popup */
.cuw-product-section {
    justify-content: space-between;
}
.cuw-container {
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}
.cuw-container:last-child {
    border-bottom: none;
}
.cuw-product-image {
    flex: 1;
    max-width: 60px;
}
.cuw-product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.cuw-product-title {
    font-size: 16px;
    max-width: 250px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0;
}
.cuw-product-variants select {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}
.cuw-offer-title {
    font-size: 13px;
    font-weight: bold;
    color: #8410ea;
    text-align: center;
}
.cuw-product-price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    max-width: 90px;
}
.cuw-product-quantity {
    text-align: center;
    font-size: 14px;
    color: #666;
    min-width: 80px;
    max-width: 90px;
}
.cuw-offer-cta-section {
    text-align: right;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 150px;
    border-radius: 30px !important;
    margin-left: 20px !important;
}
.cuw-button {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background: #8410ea;
    border: 2px solid #8410ea;
    border-radius: 30px !important;
    transition: all 0.2s ease-in-out;
}
.cuw-button:hover {
    background: #ffffff;
    color: #8410ea;
}
.quantity-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.quantity-input input {
    width: 40px;
    height: 30px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.cuw-plus, .cuw-minus {
    width: 20px;
    height: 20px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    color: #8410ea;
}

/* Responsive fix for upsell buttons */
@media (max-width: 1480px) {
    .cuw-product-section {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .cuw-offer-cta-section {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        margin-top: 10px;
    }
    .cuw-button {
        width: auto;
        min-width: 140px;
    }
}


/* --- Styles Specifically for Cart Page --- */

/* Limit the width of the 2nd column in the Divi cart layout */
.woocommerce-cart #main-content .et_pb_wc_cart_products form > div:nth-child(4) > div > div > div > div:nth-child(2) {
    max-width: 280px;
}

/* General styles for the custom cart totals table */
.woocommerce-cart .custom-cart-totals .shop_table {
    width: 100%;
    /* border-collapse: collapse; */
}
.woocommerce-cart .custom-cart-totals .shop_table tr {
    display: block;
    width: auto;
    margin-bottom: 15px;
	padding: 0px 20px;
}
.woocommerce-cart .custom-cart-totals .shop_table th,
.woocommerce-cart .custom-cart-totals .shop_table td {
    display: block;
    width: 100%;
    text-align: left !important;
    padding-left: 0;
}
.woocommerce-cart .custom-cart-totals #shipping_method {
    padding-left: 0;
}
.woocommerce-cart .custom-cart-totals #shipping_method li {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}
.woocommerce-cart .custom-cart-totals #shipping_method li input[type="radio"] {
    margin-right: 10px;
    flex-shrink: 0;
}
.woocommerce-cart .custom-cart-totals #shipping_method li label {
    text-align: left;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.woocommerce-cart .custom-cart-totals .woocommerce-shipping-destination {
    text-align: left;
    padding-left: 0;
}
.woocommerce-cart .custom-cart-totals .woocommerce-Price-amount,
.woocommerce-cart .custom-cart-totals .woocommerce-shipping-methods,
.woocommerce-cart .custom-cart-totals .woocommerce-shipping-destination,
.woocommerce-cart .custom-cart-totals .wc-proceed-to-checkout {
    width: 100%;
}
.woocommerce-cart .custom-cart-totals .order-total td {
    text-align: left !important;
	width: auto;
	/* padding: 0px 20px; */
}
.woocommerce-cart .custom-cart-totals .wc-proceed-to-checkout a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
}

/* Responsive fixes for cart totals on mobile */
@media (max-width: 768px) {
    .woocommerce-cart .custom-cart-totals .shop_table { width: 100%; }
    .woocommerce-cart .custom-cart-totals .shop_table tr,
    .woocommerce-cart .custom-cart-totals .shop_table th,
    .woocommerce-cart .custom-cart-totals .shop_table td {
        display: block;
        width: auto;
		padding:0px 20px;
        text-align: left !important;
    }
    .woocommerce-cart .custom-cart-totals #shipping_method { padding-left: 0; }
    .woocommerce-cart .custom-cart-totals #shipping_method li {
        display: flex;
        align-items: center;
        width: 100%;
    }
    .woocommerce-cart .custom-cart-totals #shipping_method li input[type="radio"] {
        margin-right: 8px;
        flex-shrink: 0;
    }
    .woocommerce-cart .custom-cart-totals .woocommerce-shipping-destination { text-align: left; }
    .woocommerce-cart .custom-cart-totals .order-total td { text-align: left !important; }
    .woocommerce-cart .custom-cart-totals .wc-proceed-to-checkout a {
        font-size: 18px;
        padding: 15px 20px;
    }
}

/* FIX: restore thumbnail display on mobile WooCommerce cart */
@media (max-width: 980px) {
    .woocommerce-cart.woocommerce table.cart .product-thumbnail,
    .woocommerce-cart.woocommerce-page table.cart .product-thumbnail {
        display: block;
        text-align: left !important;
    }
    .woocommerce-cart.woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before {
        display: none;
    }
}

/* Prevent duplicate empty cart messages on cart page */
.woocommerce-cart .et_pb_module.et_pb_wc_cart_notice.et_pb_wc_cart_notice_0_tb_footer.woocommerce.et_pb_fields_layout_default.et_pb_bg_layout_.et_pb_text_align_left > div > div.wc-empty-cart-message,
.woocommerce-cart .et_pb_module.et_pb_wc_cart_notice.et_pb_wc_cart_notice_0_tb_footer.woocommerce.et_pb_fields_layout_default.et_pb_bg_layout_.et_pb_text_align_left > div > p {
    display: none !important;
}


/* --- Styles Specifically for the "Add to Cart" Popup --- */

/* Modal upsell block: gradient background + purple text */
#openaddtocart > div.et_pb_row.et_pb_row_6_tb_footer > div > div.et_pb_module.et_pb_wc_cart_notice.et_pb_wc_cart_notice_0_tb_footer.woocommerce.et_pb_fields_layout_default.et_pb_bg_layout_.et_pb_text_align_left > div > div > div {
    background-image: linear-gradient(45deg, #e5e0fb, #f1f2defa) !important;
    border-radius: 30px;
    border-style: solid;
    border-width: 1px;
    color: purple !important;
}
/* CTA button inside modal upsell block */
#openaddtocart > div.et_pb_row.et_pb_row_6_tb_footer > div > div.et_pb_module.et_pb_wc_cart_notice.et_pb_wc_cart_notice_0_tb_footer.woocommerce.et_pb_fields_layout_default.et_pb_bg_layout_.et_pb_text_align_left > div > div > div > a {
    border-radius: 30px;
    background-color: purple;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
}

/* Hide price in upsell product list (modal with specific ID) */
#carrellodidio > div.et_pb_row.et_pb_row_6_tb_footer > div > div.et_pb_with_border.et_pb_module.et_pb_wc_cart_products.et_pb_wc_cart_products_1_tb_footer.woocommerce-cart.woocommerce.et_pb_woo_custom_button_icon.et_pb_wc_no_coupon_code.et_pb_wc_no_update_cart_button.et_pb_wc_no_remove_item_icon.et_multi_view__hover_selector.et_pb_row_layout_horizontal.et_multi_view_swapped > div > form > table > tbody > tr.woocommerce-cart-form__cart-item.cart_item > td.product-price > span {
    display: none !important;
}
/* Force layout of specific variation content (modal with specific ID) */
#carrellodidio > div.et_pb_row.et_pb_row_3_tb_footer > div > div > div > form > table > tbody > tr:nth-child(3) > td > div {
    float: none !important;
    display: flex !important;
}
/* Gradient styling for Points & Rewards inside the modal (modal with specific ID) */
#carrellododio > div.et_pb_row.et_pb_row_3_tb_footer > div > div > div > div.wc_points_rewards_earn_points > div {
    background-image: linear-gradient(45deg, #e5e0fb, #f1f2defa) !important;
    border-radius: 30px;
    border-style: solid;
    color: purple !important;
}
/* Fix layout for last cart row inside modal (modal with specific ID) */
#carrellodidio > div.et_pb_row.et_pb_row_3_tb_footer > div > div > div > form > table > tbody > tr:nth-child(4) > td > div {
    float: none !important;
    display: flex !important;
}


/* --- Styles Specifically for Product Page --- */

/* Product page upsell block */
.single-product #main-content > div.et-l.et-l--body > div.et_builder_inner_content.et_pb_gutters3.product > div.et_pb_section.et_pb_section_0_tb_body.et_section_regular > div > div > div.et_pb_with_border.et_pb_module.et_pb_wc_cart_notice.et_pb_wc_cart_notice_0_tb_body.woocommerce.et_pb_fields_layout_default.et_pb_bg_layout_.et_pb_text_align_left > div > div > div {
    background-image: linear-gradient(45deg, #e5e0fb, #f1f2defa) !important;
    border-radius: 30px;
    border-style: solid;
    color: purple !important;
}

/* Ensure consistent title height for product recommendations on product page */
.single-product .ymal-pp .woocommerce-loop-product__title {
    min-height: 58px;
}

/*
 * ===================================================================
 * AREA: WOOCOMMERCE GLOBAL NOTICES
 * ===================================================================
 */

/* Function: Base container to prevent Divi from centering inner content oddly */
.woocommerce .woocommerce-notices-wrapper {
    width: 100%;
}

/* Function: Generic notice styles (info / message / error) */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
    background-image: linear-gradient(45deg, #e5e0fb, #f1f2defa) !important;
    border-radius: 30px;
    /*border: 1px solid purple;*/
    font-size: 13px !important;
    color: purple !important;
    padding: 18px 22px;
    margin: 24px 0;
    line-height: 1.4;
    max-width: 565px;
}

/* Function: Styles links inside notices */
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-error a {
    color: purple !important;
    text-decoration: none;
}

/* Function: Styles primary buttons shown inside notices (“View cart”, “Apply Discount”, etc.) */
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-error .button,
.woocommerce .wc_points_rewards_apply_discount.button {
    border-radius: 30px !important;
    background-color: purple !important;
    color: #fff !important;
    border: 1px solid purple !important;
    font-size: 13px !important;
    /*padding: 10px 24px !important;*/
    display: inline-block;
}

/* Function: Ensures Points & Rewards messages are always visible */
.wc_points_rewards_earn_points,
.woocommerce-info.wc_points_redeem_earn_points {
    display: block !important;
}

/* Function: Keeps the specific layout tweak for the My Account page */
.woocommerce-MyAccount-content .woocommerce-info {
    align-items: flex-start;
}

/* Function: Styles the redeem notice specifically when placed inside cart totals */
.cart_totals .wc-points-redeem-cell .woocommerce-info.wc_points_redeem_earn_points {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 10px !important;
    min-width: 100% !important;
}

/* Function: Removes padding from the host cell in cart totals */
.cart_totals .wc-points-redeem-cell {
    padding: 0 !important;
}

/*
 * ===================================================================
 * AREA: GLOBAL STYLES & UTILITIES
 * ===================================================================
 */

/* Collection of Backdrop blur section colors */

.blurry-background-brand {
    background-color:rgba(223,124,234,0.37) !important;
    backdrop-filter: blur(19px) !important; /* Imposta la quantità di sfocatura desiderata */
	    -webkit-backdrop-filter: blur(19px) !important; /* Prefisso per Safari */

}

.blurry-background-dark {
    background-color: #463a59db !important;
    backdrop-filter: blur(9px) !important;
	    -webkit-backdrop-filter: blur(9px) !important; /* Prefisso per Safari */

}
.blurry-background-light {
    background-color: #f6f3fa9c !important;
    backdrop-filter: blur(9px) !important;
	    -webkit-backdrop-filter: blur(9px) !important; /* Prefisso per Safari */

}

.blurry-background {
    background-color:rgba(223,124,234,0.37) !important;
    backdrop-filter: blur(19px) !important; /* Imposta la quantità di sfocatura desiderata */
	    -webkit-backdrop-filter: blur(19px) !important; /* Prefisso per Safari */

}

.blurry-background-ll {
    background-color: rgb(51 36 64 / 60%) !important;
    backdrop-filter: blur(9px) !important;
	    -webkit-backdrop-filter: blur(9px) !important; /* Prefisso per Safari */

}
.blurry-background-llhf {
    background-color: rgba(125,52,135,0.85) !important;
    backdrop-filter: blur(9px) !important;
	    -webkit-backdrop-filter: blur(9px) !important; /* Prefisso per Safari */

}

.blurry-background-dark {
    background-color: rgba(56,56,56,0.85) !important;
    backdrop-filter: blur(9px) !important;
	    -webkit-backdrop-filter: blur(9px) !important; /* Prefisso per Safari */

}

/* Callout that responds to a span for attention, to use in short product descriptions */

.attention-callout {background-color: #8410ea; 
    color: #ffffff;
    padding: 10px 20px; 
    font-size: 13px; 
    border-radius: 30px;
    text-align: center;
    display: inline-block;
margin-bottom:10px;}

.attention-callout a {color:white !important; text-decoration:underline;}

/* Callout that responds to a span for a premium feature, to use in short product descriptions */


.premium-callout {background-image: linear-gradient( 136deg, rgba(0,0,0,0.65) 12.9%, rgba(0,0,0,1) 145.4% ); /* Adjust color as seen in the screenshot */
    color: #ffffff;
    padding: 10px 20px; /* Adjust padding for desired size */
    font-size: 13px; /* Adjust font size as needed */
    border-radius: 30px;
    text-align: center;
    display: inline-block;
margin-bottom:10px;
border-style: solid; border-color:#840fea; border-width:1px;}

.premium-callout a {color:white !important; text-decoration:underline;}



/* Function: Hides special PayPal content for non-US users */
.not-us .paypal-special {
    display: none !important;
}

/* Function: Styles a Divi popup close button */
#et-boc > div > div.area-outer-wrap.popup_outer_wrap.et-l.entry-content > span > a {
    position: absolute;
    right: 15px;
    top: 15px;
    background-color: purple;
    border-radius: 100px;
    color: white;
}

/* Function: Styles a button in the Custom Upsell (CUW) Modal */
.cuw-modal-footer button {
    background-color: purple !important;
    margin-left: auto !important;
    border-radius: 30px !important;
    color: white !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    border: none !important;
}

/* Function: Global styles for payment icons list */
/* CRITICAL: Replace 'dev.lockedinlust.com' with your live domain URLs */
ul.payment-icons {
    display: flex;
    column-gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 var(--spacing-15);
    align-items: center;
}
ul.payment-icons li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
ul.payment-icons li.visa {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-visa.svg");
}
ul.payment-icons li.mastercard {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-mastercard.svg");
}
ul.payment-icons li.maestro {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-maestro.svg");
}
ul.payment-icons li.americanexpress {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-amex.svg");
}
ul.payment-icons li.klarna {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-klarna.svg");
}
ul.payment-icons li.paypal {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-paypal.svg");
}
ul.payment-icons li.applepay {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-applepay.svg");
}
ul.payment-icons li.googlepay {
    background-image: url("https://dev.lockedinlust.com/wp-content/uploads/2024/10/icon-gpay.svg");
}

/* Function: Global styles for superscript text */
sup {
    font-size: 0.8em;
    vertical-align: super;
    position: relative;
    top: -0.2em;
}

/* Function: Global styles for Divi's back to top button */
body .et_pb_scroll_top:before {
    color: white;
    position: relative;
    top: 3px;
}
body .et_pb_scroll_top:after {
    content: "Back To Top" !important;
    font-family: Inter, sans-serif !important;
    line-height: 30px !important;
    font-size: 13px !important;
    position: relative;
    top: -4px;
    margin-left: 10px !important;
}

/* Function: Global utility class for list item spacing */
.spacey ol li,
.spacey ul li {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Function: Global utility class for blurring adult content images */
.et_pb_image.adultcontent {
    position: relative;
    overflow: hidden;
}
.et_pb_image.adultcontent img {
    filter: blur(18px);
    transition: filter 0.3s ease-in-out;
}
.et_pb_image.adultcontent:hover img {
    filter: none;
}
.et_pb_image.adultcontent::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,  255, 255, 0.5);
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}
.et_pb_image.adultcontent:hover::before {
    opacity: 0;
}
.et_pb_image.adultcontent::after {
    content: "Adult content. Hover on the image to see this content.";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 16px;
    text-align: center;
    width: 90%;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 2;
    white-space: normal;
    line-height: 1.4;
}
.et_pb_image.adultcontent:hover::after {
    display: none;
}

/* Function: Global utility class for visually hiding elements (SEO/Accessibility) */
.visuallyhidden {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}


/*
 * ===================================================================
 * AREA: HEADER & MENU STYLES
 * ===================================================================
 */

/* Function: Adds spacing for sticky header with mega menu */
.et_pb_sticky_module.is-sticky #mega-menu-primary-menu .mega-sub-menu {
    margin-top: 15px !important;
}
.et_pb_sticky_module:not(.is-sticky) #mega-menu-primary-menu .mega-sub-menu {
    margin-top: 0px !important;
}

/* Function: Styles the main desktop shop menu button */
.menuitem-shop-main .mega-menu-link {
    font-weight: bold !important;
    border-radius: 30px !important;
    box-shadow: 0 0 0 0 rgba(163, 85, 235, 1);
    background-color: red !important;
    color: white !important;
    padding: 5px 20px 0 20px !important;
    height: 40px !important;
    transform: scale(1);
}

/* Function: Styles the mobile cart button */
.menuitem-shop > a,
.et_mobile_menu .menuitem-shop > a {
    font-weight: bold !important;
    border-radius: 30px !important;
    background-color: white !important;
    color: black !important;
    padding: 6px 20px !important;
    margin: -6px 1px 0 5px !important;
    text-decoration: none !important;
}

/* Function: Adds spacing for the search icon */
.et_pb_menu__icon.et_pb_menu__search-button {
    margin-left: 20px;
}

/* Function: Hides a specific menu item on desktop */
@media (min-width: 980px) {
    .menuitem-shop.et_pb_menu_page_id-683 {
        display: none !important;
    }
}

/* Function: Styles the Ajax search input */
.aws-container .aws-search-field {
    border-top-left-radius: 30px !important;
    border-bottom-left-radius: 30px !important;
}
.aws-search-btn.aws-form-btn {
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
}

/* Function: Overrides Divi mobile menu visibility */
@media (max-width: 980px) {
    .lwp-hide-mobile-menu.et_pb_menu .et_pb_menu__menu,
    .lwp-hide-mobile-menu.et_pb_fullwidth_menu .et_pb_menu__menu {
        display: flex !important;
    }
    .lwp-hide-mobile-menu .et_mobile_nav_menu {
        display: none !important;
    }
}


/*
 * ===================================================================
 * AREA: SHOP & CATEGORY PAGES
 * ===================================================================
 */

/* Function: Blend mode fix for the Divi theme builder header */
.woocommerce-archive .et-db #et-boc .et-l .et_pb_column_12_tb_header {
    mix-blend-mode: lighten !important;
}

/* Function: Styles a mobile flyout category button */
.woocommerce-archive .mob-cat-sel {
    background-color: purple;
    border-radius: 30px;
    padding: 10px 20px !important;
    color: white;
    vertical-align: middle;
    line-height: 1.3em;
}

/* Function: Sets a minimum height for sliders to prevent layout shift */
.woocommerce-archive .cat-page-in-slide .et_pb_module_inner {
    min-height: 300px !important;
}


/*
 * ===================================================================
 * AREA: PRODUCT PAGE
 * ===================================================================
 */

/* Function: Styles the price of a selected variation */
.single-product .woocommerce-variation.single_variation > div.woocommerce-variation-price > span.price > span {
    font-family: Inter !important;
    font-weight: 600 !important;
    color: #840fea;
}


/*
 * ===================================================================
 * AREA: CHECKOUT PAGE
 * ===================================================================
 */

/* Function: Overrides default WooCommerce error notice styles */
.woocommerce-checkout .woocommerce-error {
    background-image: linear-gradient(45deg, #e5e0fb, #f1f2defa) !important;
    border-radius: 30px;
    border-color: red;
    border-style: solid;
    color: purple !important;
    max-width: fit-content;
}

/* Function: Adds a border and shadow to billing & shipping columns */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout .col-2 {
    border-radius: 30px;
    border-style: solid;
    border-color: darkgrey;
    border-width: 1px;
    padding: 1.75rem;
    -webkit-box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
    -moz-box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
    box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
}

/* Function: Styles checkout form input fields */
.woocommerce-checkout .woocommerce-input-wrapper input.input-text {
    padding: 8px !important;
    border-radius: var(--wc-form-border-radius, 4px) !important;
}

/* Function: Adds spacing to the order review heading */
.woocommerce-checkout #order_review_heading {
    margin-top: 30px;
}

/* Function: Adds a border and shadow to the order summary panel */
.woocommerce-checkout #order_review {
    border-radius: 30px;
    border-style: solid;
    border-color: darkgrey;
    border-width: 1px;
    padding: 1.75rem;
    -webkit-box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
    -moz-box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
    box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
}

/* Function: Defines the main two-column checkout layout */
.woocommerce-checkout .ds-checkout-two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.woocommerce-checkout .ds-checkout-left {
    flex: 1 1 60%;
    min-width: 300px;
    border-radius: 30px;
    border-style: solid;
    border-color: darkgrey;
    border-width: 1px;
    padding: 1.75rem;
    box-shadow: -1px 1px 33px -4px rgba(164, 89, 194, 0.55);
}
.woocommerce-checkout .ds-checkout-right {
    flex: 1 1 35%;
    min-width: 250px;
}
@media (max-width: 980px) {
    .woocommerce-checkout .ds-checkout-two-columns {
        flex-direction: column;
    }
}

/* Function: Defines a wrapper for the login and coupon sections */
.woocommerce-checkout .ds-login-coupon-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Function: Aligns the Points & Rewards notification */
.woocommerce-checkout .woocommerce-info.wc_points_redeem_earn_points {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Function: Styles the "Place Order" button */
.woocommerce-checkout #place_order.button.alt {
    background-color: #840fea;
    color: white;
    border-radius: 50px;
    font-weight: bold;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
}
.woocommerce-checkout #place_order.button.alt :after {
    top: 15px;
    font-size: 21px !important;
}

/*
 * ===================================================================
 * AREA: RESPONSIVE VIDEO COMPONENT
 * ===================================================================
 */

/* Wrapper inherits the container's sizing from Divi */
.fl-responsive-video {
    display: block;
    max-width: 100%;
    height: auto;
    line-height: 0; /* Prevents empty space before video loads */
}

/* Link wrapper takes same dimensions as video */
.fl-responsive-video > a {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

/* Video element itself */
.fl-responsive-video-elt {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain; /* keeps full video visible */
}

/*
 * ===================================================================
 * AREA: CUSTOM UPSELLS (CUW) MODAL - MOBILE STYLES
 * ===================================================================
 */
@media screen and (max-width: 768px) {
    /* Stack product title and variants vertically */
    .cuw-product-info-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .cuw-product-info-container select {
        width: 100%;
        max-width: 100%;
        font-size: 12px !important;
        padding: 4px !important;
        height: 28px !important;
    }

    .cuw-product-row td {
        text-align: left !important;
    }

    /* Compact modal body layout */
    .cuw-modal-body {
        padding: 6px 10px !important;
        max-height: 420px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* More flexible table layout */
    .cuw-modal table {
        width: 100% !important;
        font-size: 14px !important;
        table-layout: auto !important;
    }

    /* Smaller padding in table cells */
    .cuw-modal table th,
    .cuw-modal table td {
        padding: 5px 6px !important;
        font-size: 13px !important;
    }

    /* Prevent product titles from being truncated */
    .cuw-modal table td:nth-child(2) {
        max-width: none !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .cuw-product-variants,
    .cuw-product-price {
        vertical-align: middle !important;
    }

    /* Smaller product images */
    .cuw-modal table td img {
        width: 40px !important;
        height: 40px !important;
        object-fit: contain !important;
    }

    /* Reduced padding in modal footer */
    .cuw-modal-footer {
        padding: 6px 10px !important;
    }

    /* Compact style for Add to Cart button */
    .cuw-add-to-cart {
        font-size: 14px !important;
        padding: 6px !important;
        width: 100% !important;
    }
}