/* ---------------------------------------
   NEXT LEVEL – Variations / Chips Styles
   --------------------------------------- */

/* Hide wishlist button */
button.shopengine_add_to_list_action.shopengine-wishlist { display: none !important; }
/* Hide qty */
div.quantity { display: none !important; }
/* Hide original value cell after split (keeps selects for logic) */
.variations tr.nlmm-split-row > td.value { display: none !important; }

/* Headings */
.variations tr.nlmm-split-row > th.label { 
    width: 100% !important; 
    text-align: left !important; 
    padding: 0 0 6px !important; 
}
.variations tr.nlmm-split-row > th.label label { 
    display: block !important; 
    font-weight: 700 !important; 
    margin: 0 !important; 
    text-align: left !important; 
}

/* Inserted rows */
.variations tr.nlmm-inserted-row > td { 
    padding-top: 8px !important; 
    padding-bottom: 12px !important; 
}

/* Segments + Chips */
.nlmm-seg { 
    display: flex !important; 
    flex-wrap: wrap !important; 
    gap: 12px !important; 
    border: 0 !important; 
    border-radius: 0 !important; 
    overflow: visible !important; 
    max-width: 700px !important; 
}
.nlmm-chip {
    display: inline-block !important; 
    background: #fff !important; 
    color: #0b2a3b !important;
    width: 150px !important;
    height: 60px !important;
    padding: 0 !important;
    font-weight: 700 !important;
    cursor: pointer !important; 
    user-select: none !important;
    line-height: 60px !important;
    text-align: center !important;
    border: 1px solid #41009f!important; 
    border-radius: 0 !important;
    transition: background .15s ease !important, color .15s ease !important, border-color .15s ease !important, border-width .15s ease !important, box-shadow .15s ease !important, transform .02s ease !important;
    box-sizing: border-box !important;
}

/* ===== MOBILE & TABLET RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .nlmm-seg {
        gap: 8px !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
        width: 100% !important;
    }
    
    .nlmm-chip {
        width: calc(33.333% - 6px) !important;
        min-width: calc(33.333% - 6px) !important;
        max-width: calc(33.333% - 6px) !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 14px !important;
        flex: 0 0 calc(33.333% - 6px) !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border: 1px solid #41009f !important;
        margin-bottom: 8px !important;
    }
    .nlmm-chip:nth-child(3n) { margin-right: 0 !important; }
    .nlmm-chip:nth-child(3n+1) { clear: left; }
}

/* ===== VERY SMALL MOBILE ENHANCEMENT ===== */
@media (max-width: 480px) {
    .nlmm-chip {
        width: calc(33.333% - 4px) !important;
        flex: 0 0 calc(33.333% - 4px) !important;
        height: 35px !important;
        line-height: 35px !important;
        font-size: 12px !important;
    }
}

/* Completely disable storage chip hover effects */
.nlmm-seg--storage .nlmm-chip:hover { 
    background: #fff !important; 
    color: #0b2a3b !important; 
    border-color: #41009f !important; 
    transform: none !important;
}

/* Fix for active storage chips - remove background, keep only border */
.nlmm-seg--storage .nlmm-chip.is-active { 
    background: #fff !important; 
    color: #0b2a3b !important; 
    border: 2px solid #41009f !important; 
    position: relative !important; 
    z-index: 1 !important; 
}

/* Fix for row hover on active storage chips */
tr.nlmm-inserted-row--storage:hover .nlmm-chip.is-active,
tr.nlmm-inserted-row--condition:hover .nlmm-chip.is-active {
    background: #fff !important;
    color: #0b2a3b !important;
    border-color: #41009F !important;
}  

/* Chip States */
.nlmm-seg--storage .nlmm-chip:not(.is-active):hover { 
    border-color: #41009F !important; 
}

/* Condition chips - no hover effect */
.nlmm-seg--condition .nlmm-chip:not(.is-active):hover { 
    border-color: #41009f !important;
}
 
/* Active condition chips - fill with background color on hover */
.nlmm-seg--condition .nlmm-chip.is-active,
.nlmm-seg--condition .nlmm-chip.is-active:hover {
    background: #41009F !important; 
    color: #fff !important; 
    border: 2px solid #41009F !important; 
    position: relative !important; 
    z-index: 3 !important;
}

/* Active condition chips with tick mark */
.nlmm-seg--condition .nlmm-chip.is-active::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Arrow indicator for active condition chips */
.nlmm-seg--condition .nlmm-chip.is-active::after {
    position: absolute !important;
    bottom: -14px !important;
    left: 50% !important;
    box-sizing: border-box !important;
    width: 12px !important;
    height: 12px !important;
    content: "" !important;
    border-top: 9px solid #41009f !important;
    border-right: 8px solid transparent !important;
    border-left: 8px solid transparent !important;
    transform: translateX(-50%) !important;
}

/* Focus states */
.nlmm-chip:focus-visible { 
    outline: 2px solid #41009f !important; 
    outline-offset: 2px !important; 
}

/* ===== STORAGE ROW - NO HOVER EFFECTS ===== */
tr.nlmm-inserted-row--storage:hover { background-color: transparent !important; }
tr.nlmm-inserted-row--storage:hover .nlmm-chip:not(.is-active) { 
    background: #fff !important; 
    color: #0b2a3b !important; 
    border-color: #41009f !important; 
}

/* ===== CONDITION ROW - KEEP HOVER EFFECTS ===== */
tr.nlmm-inserted-row--condition:hover { background-color: #f0f0f0 !important; }
tr.nlmm-inserted-row--storage:hover .nlmm-chip.is-active { 
    background: #fff !important; 
    color: #0b2a3b !important; 
    border-color: #41009F !important;
}
tr.nlmm-inserted-row--condition:hover .nlmm-chip.is-active { 
    background: #41009F !important; 
    color: #fff !important; 
    border-color: #41009F !important;
}
tr.nlmm-inserted-row--condition:hover .nlmm-chip:not(.is-active) { 
    background: #fff !important; 
    color: #000 !important; 
    border-color: #41009f !important; 
}

/* ShopEngine cleanup */
.nlmm-seg .shopengine_swatches .swatch, 
.nlmm-seg .shopengine_swatches .swatch_label { 
    all: unset !important; 
    display: inline-block !important; 
    padding: 0 !important; 
    margin: 0 !important; 
}
.nlmm-seg .shopengine_swatches { display: contents !important; }

/* Condition description */
.nlmm-cond-desc { 
    margin: 12px 0 0 !important; 
    color: #0b2a3b !important; 
    width: 180% !important; 
}
.nlmm-cond-desc .title { 
    font-weight: 700 !important; 
    display: block !important; 
    margin-bottom: 6px !important; 
    color: #00537e !important; 
    font-size: 18px !important; 
}
.nlmm-cond-desc ul { 
    margin: 8px 0 0 0 !important; 
    padding-left: 18px !important; 
}
.nlmm-cond-desc li { margin: 6px 0 !important; }

/* Spacing fixes */
tr.nlmm-inserted-row--storage .nlmm-seg--storage,
tr.nlmm-inserted-row--condition .nlmm-seg--condition { gap: 8px !important; }
tr.nlmm-inserted-row--storage .nlmm-seg--storage .nlmm-chip,
tr.nlmm-inserted-row--condition .nlmm-seg--condition .nlmm-chip { margin: 0 !important; }

/* FIXED: Only hide Woo add-to-cart on Sell category products */
body.single-product.product_cat-sell .woocommerce-variation-add-to-cart{ display: none !important; }
body.single-product.product_cat-sell .single_add_to_cart_button.button.alt{ display: none !important; }

/* Our green Sell button */
.nlmm-sell-button{
    display: none !important; 
    background: #1ca32c !important; 
    color: #fff !important;
    border: 2px solid #1ca32c !important; 
    padding: 12px 16px !important; 
    font-size: 17px !important; 
    font-weight: 600 !important;
    border-radius: 1px !important; 
    cursor: pointer !important; 
    width: 100% !important; 
    text-transform: none !important;
}
.nlmm-sell-button:hover{ 
    background: #008801 !important; 
    border: 2px solid #008801 !important; 
    color: #fff !important; 
}
.nlmm-sell-button.visible{ display: block !important; }

/* -------- Details Card (shortcode) ---------- */
.nlmm-details-card{
    background: #f4f6f7;     
    padding: 16px !important; 
    max-width: 360px !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04) !important; 
    font-family: inherit !important;
}
.nlmm-card-title{     
    margin: 0 0 10px !important;  
    font-size: 22px !important;  
    font-weight: 700 !important;  
    color: #000000 !important;  
    padding-top: 10px !important;  
    padding-bottom: 10px !important; 
}
.nlmm-card-hr{ border: 0 !important; border-top: 2px solid #cfd6db !important; margin: 8px 0 14px !important; }
.nlmm-card-rows{ font-size: 15px !important; color: #0b2a3b !important; line-height: 1.6 !important; padding-top: 20px !important; padding-bottom: 20px !important; }
.nlmm-card-rows a{ color: #0b6bdc !important; text-decoration: none !important; font-weight: 700 !important; }
.nlmm-card-rows a:hover{ text-decoration: underline !important; }
.nlmm-card-row{ margin: 2px 0 !important; }

/* labels black & 700 */
.nlmm-card-row{ color: #000 !important; font-weight: 700 !important; }

/* selected values dark blue & 700 */
.nlmm-card-row .nlmm-item-title,
.nlmm-card-row .nlmm-item-storage,
.nlmm-card-row .nlmm-item-condition{ color: #00619b !important; font-weight: 700 !important; }

.nlmm-card-pay-label{ text-align: center !important; font-weight: 700 !important; margin: 14px 0 6px !important; color: #0b2a3b !important; }
.nlmm-card-price{ text-align: center !important; font-weight: 700 !important; font-size: 44px !important; color: #00619b !important; letter-spacing: 1px !important; }
.nlmm-card-actions{ margin-top: 12px !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }

/* Outlined blue secondary button */
.nlmm-email-btn{
    display: block !important; width: 100% !important; background: #f4f6f7 !important; color: #00619b !important;
    border: 2px solid #00619b !important; font-weight: 600 !important; padding: 12px 17px !important; border-radius: 1px !important;
    text-align: center !important; cursor: pointer !important;
}
.nlmm-email-btn:hover{ background: #00619b !important; color: #fff !important; }

/* Space below the Email button */
.nlmm-details-card .nlmm-email-btn{ margin-bottom: 20px !important; }

.woocommerce div.product form.cart .variations label{ 
    font-weight: 700 !important; color: #000 !important; text-align: left !important; font-size: 17px !important; margin-top: 26px !important; 
}
.woocommerce div.product form.cart .variations{
  width: 180% !important;
}
.elementor-5364 .elementor-element.elementor-element-195fa2d .shopengine-swatches .variations tr{
  flex-direction:column !important;
}

/* ===== Email Modal (800x500 fixed) ===== */
.nlmm-modal-backdrop{
    position: fixed !important; inset: 0 !important; background: rgba(0,0,0,.55) !important; display: none !important; z-index: 9999 !important;
}
.nlmm-modal-backdrop.is-open{ display: block !important; }
.nlmm-modal{ position: fixed !important; inset: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 20px !important; }
.nlmm-modal__card{
    width: 800px !important; height: 500px !important; max-width: none !important; max-height: none !important; background: #fff !important; border-radius: 6px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.35) !important; padding: 28px !important; position: relative !important; font-family: inherit !important; color: #0b2a3b !important;
    display: flex !important; flex-direction: column !important; justify-content: flex-start !important; align-items: center !important; overflow: auto !important;
}

/* top-right controls (X + timer) */
.nlmm-modal__controls{
    position: absolute !important; top: 10px !important; right: 12px !important; display: flex !important; align-items: center !important; gap: 10px !important;
}
.nlmm-modal__close{
    border: none !important; background: transparent !important; font-size: 35px !important; line-height: 1 !important; cursor: pointer !important; color: #000 !important;
}
.nlmm-modal__close:hover { background: #fff !important; color: red !important; border-radius: 50% !important; }

/* RED alert countdown pill */
.nlmm-modal__timer{
    display: none !important; font-size: 14px !important; color: #fff !important; background: #ef4444 !important; border-radius: 0px !important; padding: 4px 10px !important;
    min-width: 46px !important; text-align: center !important; box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important; animation: nlmmPulse 1s infinite !important;
}
@keyframes nlmmPulse { 0% { transform: scale(1) !important; } 50% { transform: scale(1.06) !important; } 100% { transform: scale(1) !important; } }

.nlmm-modal__title{ text-align: center !important; font-weight: 700 !important; font-size: 28px !important; margin: 44px 0 15px !important; }
.nlmm-modal__text{ text-align: center !important; font-size: 16px !important; color: #334 !important; margin: 0 0 18px !important; max-width: 680px !important; margin-bottom: 30px !important; }
.nlmm-modal__text b{ font-weight: 700 !important; }
.nlmm-modal__form{ display: flex !important; gap: 10px !important; margin: 10px auto 8px !important; max-width: 560px !important; width: 100% !important; }
.nlmm-modal__form input[type="email"]{
    flex: 1 !important; height: 50px !important; padding: 0 14px !important; border: 1px solid #cbd5e1 !important; border-radius: 0px !important; font-size: 16px !important;
}
.nlmm-modal__form button{
    width: 140px !important; height: 50px !important; border-radius: 0px !important; border: 0 !important; font-weight: 700 !important; font-size: 16px !important; cursor: pointer !important;
    background: #41009f !important; color: #fff !important;
}
.nlmm-modal__form button:hover,
.nlmm-modal__form button:focus { background: #2f0073 !important; color: #fff !important; }
.nlmm-modal__form button[disabled]{ opacity: .6 !important; cursor: not-allowed !important; }

/* Optin row */
.nlmm-modal__optin{ justify-content: flex-start !important; margin-left: -131px !important; margin-top: 20px !important; margin-bottom: 30px !important; }
.nlmm-modal__note{ text-align: center !important; margin-top: 12px !important; font-size: 14px !important; color: #64748b !important; }

/* Success line */
.nlmm-modal__success{ text-align: center !important; font-size: 22px !important; font-weight: 700 !important; margin: 18px 0 4px !important; color: #1ca32c !important; }

/* Modal icon */
.nlmm-modal__icon{
    display: block !important; margin: 2px auto 12px !important; width: 102px !important; height: 120px !important; border-radius: 50% !important;
    background-image: url(/wp-content/uploads/2025/09/cash-mobile.jpg) !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; box-shadow: none !important; background-color: transparent !important;
}

/* iCloud notice layout */
.nlmm-icloud-row { display: flex !important; align-items: center !important; gap: 10px !important; margin-top: 10px !important; margin-bottom: 10px !important; }
.nlmm-icloud-row img.nlmm-card-attachment { width: 70px !important; height: 50px !important; max-width: none !important; display: block !important; object-fit: contain !important; flex-shrink: 0 !important; }
.nlmm-icloud-text { line-height: 1.25 !important; color: #0b2a3b !important; flex: 1 !important; }
.nlmm-icloud-text b { font-weight: 800 !important; font-size: 14px !important; font-family: 'IBM Plex Sans JP' !important; }
.nlmm-icloud-text .nlmm-icloud-please, .nlmm-icloud-text .nlmm-icloud-rest { font-size: 11px !important; font-weight: 500 !important; }

/* Arrow indicator for active navigation items */
.selling-basket .product .edition .nav .nav-item a.active::after {
    position: absolute !important; bottom: -12px !important; left: 50% !important; box-sizing: border-box !important; width: 18px !important; height: 12px !important; content: "" !important;
    border-top: 15px solid #00243d !important; border-right: 10px solid transparent !important; border-left: 10px solid transparent !important; transform: translateX(-50%) !important;
}


