/* Nexaura eBay-style Listing Flow v2.0.2 - Refined UI */
#nxsh-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55); z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    animation: nxshFadeIn 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@keyframes nxshFadeIn { from { opacity: 0; } to { opacity: 1; } }
#nxsh-modal {
    background: #fff; border-radius: 12px; width: 520px; max-width: 92vw;
    max-height: 88vh; overflow-y: auto; padding: 0;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    animation: nxshSlideUp 0.22s ease;
}
@keyframes nxshSlideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.nxsh-modal-header { padding: 28px 32px 0; position: relative; }
.nxsh-modal-close {
    position: absolute; top: 18px; right: 18px;
    background: none; border: none; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; font-size: 22px; color: #999; line-height: 1;
}
.nxsh-modal-close:hover { background: #f0f0f0; color: #333; }
.nxsh-modal-title { font-size: 20px; font-weight: 700; color: #191919; margin: 0 0 6px; letter-spacing: -0.2px; }
.nxsh-modal-subtitle { font-size: 14px; color: #707070; margin: 0 0 18px; line-height: 1.5; }
.nxsh-modal-body { padding: 0 32px 32px; }
.nxsh-step-dots { display: flex; gap: 6px; margin-bottom: 18px; }
.nxsh-dot { height: 3px; flex: 1; background: #e8e8e8; border-radius: 99px; }
.nxsh-dot.active { background: #FF5A00; }
.nxsh-title-input {
    width: 100%; padding: 13px 16px; font-size: 15px;
    border: 1px solid #c7c7c7; border-radius: 8px; box-sizing: border-box;
    font-family: inherit; color: #191919;
}
.nxsh-title-input:focus { border-color: #FF5A00; outline: none; box-shadow: 0 0 0 2px rgba(255,90,0,0.12); }
.nxsh-title-input::placeholder { color: #999; }
.nxsh-char-count { font-size: 12px; color: #999; text-align: right; margin-top: 6px; }
.nxsh-btn-primary {
    width: 100%; padding: 12px; margin-top: 18px;
    background: #FF5A00; color: #fff; border: none; border-radius: 24px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    font-family: inherit; transition: background 0.15s;
}
.nxsh-btn-primary:hover { background: #e04e00; }
.nxsh-btn-primary:disabled { background: #d4d4d4; cursor: not-allowed; }
.nxsh-btn-back-link {
    display: block; text-align: center; margin: 12px auto 0;
    background: none; border: none; color: #555; cursor: pointer; font-size: 14px;
    font-family: inherit;
}
.nxsh-btn-back-link:hover { color: #191919; text-decoration: underline; }
.nxsh-cat-search {
    width: 100%; padding: 12px 16px; font-size: 14px;
    border: 1px solid #c7c7c7; border-radius: 8px; box-sizing: border-box; margin-bottom: 14px;
    font-family: inherit;
}
.nxsh-cat-search:focus { border-color: #FF5A00; outline: none; box-shadow: 0 0 0 2px rgba(255,90,0,0.12); }
.nxsh-suggested-label { font-size: 12px; font-weight: 600; color: #555; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px; }
.nxsh-cat-list { max-height: 280px; overflow-y: auto; }
.nxsh-cat-item {
    padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 8px;
    margin-bottom: 6px; cursor: pointer; display: flex;
    align-items: center; justify-content: space-between;
    transition: border-color 0.12s, background 0.12s;
}
.nxsh-cat-item:hover { border-color: #FF5A00; background: #fffaf7; }
.nxsh-cat-item.selected { border-color: #FF5A00; background: #fff5f0; }
.nxsh-cat-name { font-weight: 500; font-size: 14px; color: #191919; }
.nxsh-cat-check { color: #FF5A00; font-weight: 700; display: none; font-size: 16px; }
.nxsh-cat-item.selected .nxsh-cat-check { display: inline; }
.nxsh-condition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nxsh-condition-card {
    border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px 12px;
    cursor: pointer; text-align: center; transition: all 0.12s;
}
.nxsh-condition-card:hover { border-color: #FF5A00; }
.nxsh-condition-card.selected { border-color: #FF5A00; background: #fff5f0; box-shadow: 0 0 0 1px #FF5A00; }
.nxsh-condition-icon { font-size: 26px; margin-bottom: 6px; }
.nxsh-condition-name { font-weight: 600; font-size: 14px; color: #191919; margin-bottom: 4px; }
.nxsh-condition-desc { font-size: 12px; color: #707070; line-height: 1.4; }
/* Error message */
.nxsh-error { background: #fdecea; border: 1px solid #f5c6cb; color: #a94442; padding: 12px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; display: none; }
/* Hide Dokan's default modal */
body.nxsh-modal-open .dokan-new-product-popup { display: none !important; }
/* Flash fix: keep dashboard content white until loaded */
.dokan-dashboard-wrap { background: #fff; min-height: 100vh; }
/* Messages button fix */
.dokan-dashboard .dokan-message-btn, #dokan-message-btn { margin-bottom: 0 !important; }

/* ============================================
   eBay-style product cards (homepage/shop)
   Based on eBay.com study 11 Oct 2026
   ============================================ */

/* Hide SALE/NEW badges - eBay has none */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale,
.product .badge,
.badge-container,
[class*="badge"] {
    display: none !important;
}

/* Title: 2 lines max + ellipsis */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3,
.product-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #191919 !important;
    line-height: 1.4 !important;
    min-height: 39px !important;
    margin: 8px 0 4px 0 !important;
}

/* Price: bold 16px black (eBay style) */
.woocommerce ul.products li.product .price,
.product .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #191919 !important;
}
.woocommerce ul.products li.product .price del,
.product .price del {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #707070 !important;
    text-decoration: line-through !important;
    margin-left: 6px !important;
}
.woocommerce ul.products li.product .price ins,
.product .price ins {
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #191919 !important;
}

/* Clean cards: no shadows/borders */
.woocommerce ul.products li.product,
.product-small {
    box-shadow: none !important;
    border: none !important;
}
.woocommerce ul.products li.product img {
    border-radius: 4px !important;
}

/* v2.6.1: Hide Flatsome badges (exact classes) */
.badge-container,
div.badge-container,
.badge-container.absolute.left.top.z-1 {
    display: none !important;
}
span.onsale,
.badge-inner.secondary.on-sale,
.badge-inner.is-small.new-bubble-auto,
div.callout.badge {
    display: none !important;
}

/* v2.6.3: Homepage product cards - Flatsome specific */
/* Title: 2 lines + ellipsis */
.product-small .title-wrapper .product-title a,
.product-small .product-title,
.box-text .title-wrapper a,
.woocommerce .product-small .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #191919 !important;
    line-height: 1.4 !important;
    max-height: 39px !important;
    font-style: normal !important;
}

/* Price: not italic, bold, proper dollar */
.product-small .price-wrapper .price,
.product-small .price,
.box-text .price-wrapper .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #191919 !important;
    font-style: normal !important;
}
.product-small .price del,
.box-text .price del {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #707070 !important;
    font-style: normal !important;
}
.product-small .price ins,
.box-text .price ins {
    font-style: normal !important;
    text-decoration: none !important;
}
/* Dollar sign not italic */
.price .woocommerce-Price-currencySymbol,
.price .amount {
    font-style: normal !important;
}
