
:root{--nx:#ff6600;--text:#171717;--muted:#6b6b6b;--line:#e4e4e4;--soft:#f7f7f7}
.nx-market-product .product-main{padding-top:24px}
.nx-market-product .product-gallery{padding-right:22px}
.nx-market-product .product-gallery img{border-radius:12px}
.nx-market-product .product-info{padding-left:18px}
.nx-market-product .product-title{font-size:32px!important;line-height:1.14!important;font-weight:700!important}
.nx-market-product .product-info .price{font-size:30px!important;color:var(--text)!important;font-weight:700!important;margin:12px 0!important}
.nx-market-product .product-short-description{line-height:1.48;color:#444}
.nx-market-product .product_meta .tagged_as{display:none}

.nx-seller-card{display:flex;gap:12px;align-items:center;padding:12px 0;margin:5px 0 10px;border-bottom:1px solid var(--line)}
.nx-seller-avatar,.nx-seller-card img{width:48px!important;height:48px!important;border-radius:50%}
.nx-seller-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.nx-seller-top a{font-weight:700;color:var(--text)!important;text-decoration:none!important}
.nx-seller-top span{font-size:10px;padding:3px 7px;background:#fff0e6;color:var(--nx);border-radius:12px;font-weight:700}
.nx-seller-sub{font-size:12px;color:#777}.nx-seller-links{display:flex;gap:6px;font-size:12px}.nx-seller-links a{color:var(--nx)!important;text-decoration:none!important}

.nx-market-meta{display:flex;flex-direction:column;gap:6px;margin:10px 0 14px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nx-market-meta>div{display:grid;grid-template-columns:90px 1fr;gap:10px}
.nx-market-meta span,.nx-market-meta strong{font-size:13px}.nx-market-meta .ok{color:#16823b}.nx-market-meta .no{color:#b42318}

/* Purchase buttons */
.nx-market-product form.cart{display:flex!important;flex-direction:column!important;gap:10px!important;align-items:stretch!important;width:100%!important}
.nx-market-product form.cart .quantity{order:1!important;align-self:flex-start!important;margin:0 0 2px!important}
.nx-market-product form.cart .nx-buy-now{order:2!important}
.nx-market-product form.cart .single_add_to_cart_button{order:3!important}
.nx-buy-now{width:100%!important;min-height:48px!important;border:2px solid var(--nx)!important;border-radius:24px!important;background:var(--nx)!important;color:#fff!important;text-align:center!important;text-transform:none!important;padding:12px 18px!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important}
.nx-market-product .single_add_to_cart_button{width:100%!important;min-height:48px!important;border:2px solid var(--nx)!important;border-radius:24px!important;background:#fff!important;color:var(--nx)!important;text-transform:none!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important;box-shadow:none!important}
.nx-market-product .single_add_to_cart_button:hover,.nx-market-product .single_add_to_cart_button:focus{background:#fff7f2!important;color:var(--nx)!important;border-color:var(--nx)!important}
.nx-market-product .ppc-button-wrapper,.nx-market-product .paypal-button-container,.nx-market-product .wc-stripe-payment-request-wrapper{margin-top:10px!important;width:100%!important}

/* Hide any empty button accidentally output by seller/express plugins */
.nx-market-product form.cart button:empty{display:none!important}

/* Policies */
.nx-commerce-panel{margin-top:18px;padding-top:2px}
.nx-commerce-panel h3,.nx-confidence h3{font-size:18px;margin:0 0 8px}
.nx-policy-row{display:grid;grid-template-columns:92px 1fr;gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.nx-policy-row:first-of-type{border-top:0}
.nx-policy-label{font-size:13px;color:#333}
.nx-policy-value strong{display:block;font-size:13px;line-height:1.4}
.nx-policy-value small{display:block;font-size:11px;color:var(--muted);line-height:1.4;margin-top:3px}
.nx-confidence{margin-top:14px;padding:14px;background:var(--soft);border-radius:14px}
.nx-confidence>div{display:flex;gap:10px;padding:7px 0}.nx-confidence>div>span{width:24px;height:24px;border-radius:50%;background:#fff;color:var(--nx);display:flex;align-items:center;justify-content:center;font-weight:800}
.nx-confidence p{margin:0;font-size:12px;color:#555;line-height:1.4}.nx-confidence b{color:var(--text)}

/* Gallery extras moved below gallery by JS */
.nx-gallery-extras{margin-top:18px}
.nx-gallery-share{position:relative;margin-bottom:20px}
.nx-share-trigger{display:inline-flex;align-items:center;gap:7px;border:1px solid #999;background:#fff;color:#222;border-radius:22px;padding:9px 16px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:none}
.nx-share-trigger:hover{border-color:#555;background:#fafafa}
.nx-share-menu{display:none;position:absolute;left:0;top:46px;z-index:99;min-width:165px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px rgba(0,0,0,.12);border-radius:10px;padding:7px}
.nx-share-menu.is-open{display:block}
.nx-share-menu a,.nx-share-menu button{display:block;width:100%;padding:8px 10px;border:0;background:#fff;text-align:left;font-size:13px;color:#222!important;text-decoration:none!important;border-radius:7px;text-transform:none}
.nx-share-menu a:hover,.nx-share-menu button:hover{background:#f5f5f5}

.nx-similar-items{padding-top:18px;border-top:1px solid var(--line)}
.nx-subhead h3{font-size:22px;margin:0}.nx-subhead span{font-size:12px;color:#777}
.nx-similar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.nx-similar-card{color:var(--text)!important;text-decoration:none!important;min-width:0}
.nx-similar-img{aspect-ratio:1;border-radius:10px;overflow:hidden;background:#f5f5f5}
.nx-similar-img img{width:100%!important;height:100%!important;object-fit:cover!important}
.nx-similar-title{font-size:11px;line-height:1.3;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nx-similar-price{font-size:12px;font-weight:700;margin-top:4px}

/* Item specifics */
.nx-item-specifics{max-width:1280px;margin:38px auto 0;padding:0 15px}
.nx-item-specifics h2{font-size:28px;margin:0 0 16px}
.nx-specifics-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.nx-specific-row{display:grid;grid-template-columns:145px 1fr;gap:14px;padding:11px 14px;border-bottom:1px solid var(--line)}
.nx-specific-row:nth-child(odd){border-right:1px solid var(--line)}
.nx-specific-row span{font-size:12px;color:#666}.nx-specific-row strong{font-size:12px;font-weight:600;color:#222}

.nx-market-product .woocommerce-tabs{margin-top:34px}
.nx-market-product .woocommerce-tabs .nav-line>li>a{text-transform:none!important;font-weight:600!important}
.nx-market-product .woocommerce-tabs .nav-line>li.active>a{color:var(--nx)!important}

.nx-about-seller,.nx-more-seller{max-width:1280px;margin:42px auto 0;padding:0 15px}
.nx-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}
.nx-section-head h2{font-size:28px;margin:0}.nx-section-head a{color:var(--nx)!important}
.nx-about-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:20px}
.nx-about-card,.nx-seller-help{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fff}
.nx-about-card{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:14px}
.nx-about-card img{width:72px!important;height:72px!important;border-radius:50%}
.nx-about-card h3,.nx-seller-help h3{font-size:18px;margin:0 0 6px}
.nx-about-card p{margin:0;color:#777;font-size:13px}
.nx-about-card .button{background:var(--nx)!important;border-radius:20px!important;text-transform:none!important}
.nx-policy-mini{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
.nx-policy-mini:first-of-type{border-top:0}.nx-policy-mini b{font-size:13px}.nx-policy-mini span{font-size:12px;color:#666;line-height:1.4}

.nx-mini-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.nx-mini{color:var(--text)!important;text-decoration:none!important}
.nx-mini-img{aspect-ratio:1;background:#f5f5f5;border-radius:12px;overflow:hidden}
.nx-mini-img img{width:100%!important;height:100%!important;object-fit:cover!important}
.nx-mini-title{font-size:13px;line-height:1.3;margin-top:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nx-mini-price{font-weight:700;font-size:14px;margin-top:5px}

/* Owner-view: don't style Dokan's "own product" notice as CTA */
.nx-market-product .dokan-alert,.nx-market-product .woocommerce-info{border-radius:8px}

@media(max-width:849px){
 .nx-market-product .product-info{padding-left:0}
 .nx-market-product .product-title{font-size:28px!important}
 .nx-about-grid{grid-template-columns:1fr}
 .nx-mini-grid{grid-template-columns:repeat(3,1fr)}
 .nx-specifics-grid{grid-template-columns:1fr}
 .nx-specific-row:nth-child(odd){border-right:0}
 .nx-similar-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:549px){
 .nx-market-product .product-title{font-size:24px!important}
 .nx-market-product .product-info .price{font-size:26px!important}
 .nx-policy-row{grid-template-columns:80px 1fr}
 .nx-about-card{grid-template-columns:58px 1fr}
 .nx-about-card img{width:58px!important;height:58px!important}
 .nx-about-card .button{grid-column:1/-1;width:100%}
 .nx-mini-grid{grid-template-columns:repeat(2,1fr)}
 .nx-similar-grid{grid-template-columns:repeat(2,1fr)}
 .nx-specific-row{grid-template-columns:105px 1fr}
}


/* =========================
   V1.7 HARD FIXES
   ========================= */

/* Force actual WooCommerce Add to Cart to remain OUTLINE at rest and hover.
   High specificity + !important beats Flatsome/button presets. */
html body.nx-market-product .product-main .product-info form.cart button.single_add_to_cart_button,
html body.nx-market-product .product-main .product-info form.cart .single_add_to_cart_button.button,
html body.nx-market-product .product-main .product-info form.cart button.single_add_to_cart_button.alt {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:48px!important;
    margin:0!important;
    padding:11px 18px!important;
    border:2px solid var(--nx)!important;
    border-radius:24px!important;
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
    color:var(--nx)!important;
    opacity:1!important;
    box-shadow:none!important;
    text-shadow:none!important;
    text-transform:none!important;
    font-size:16px!important;
    font-weight:700!important;
    line-height:1.2!important;
}

html body.nx-market-product .product-main .product-info form.cart button.single_add_to_cart_button:hover,
html body.nx-market-product .product-main .product-info form.cart button.single_add_to_cart_button:focus,
html body.nx-market-product .product-main .product-info form.cart button.single_add_to_cart_button:active,
html body.nx-market-product .product-main .product-info form.cart .single_add_to_cart_button.button:hover,
html body.nx-market-product .product-main .product-info form.cart .single_add_to_cart_button.button:focus,
html body.nx-market-product .product-main .product-info form.cart .single_add_to_cart_button.button:active {
    background:#fff7f2!important;
    background-color:#fff7f2!important;
    background-image:none!important;
    color:var(--nx)!important;
    border-color:var(--nx)!important;
    box-shadow:none!important;
    transform:none!important;
}

/* Buy It Now stays solid orange. */
html body.nx-market-product .product-main .product-info form.cart .nx-buy-now,
html body.nx-market-product .product-main .product-info .nx-buy-now {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:48px!important;
    margin:0!important;
    border:2px solid var(--nx)!important;
    border-radius:24px!important;
    background:var(--nx)!important;
    background-color:var(--nx)!important;
    color:#fff!important;
    font-size:16px!important;
    font-weight:700!important;
    text-transform:none!important;
    box-shadow:none!important;
}

/* Do not allow blank orange CTA bars. */
html body.nx-market-product form.cart .single_add_to_cart_button:empty {
    background:#fff!important;
    color:var(--nx)!important;
}

/* Remove duplicate default Related Products and sticky bottom purchase bar. */
body.nx-market-product .related-products-wrapper,
body.nx-market-product .related.products,
body.nx-market-product .sticky-add-to-cart,
body.nx-market-product .sticky-add-to-cart-wrapper {
    display:none!important;
}

/* Tighter eBay-like gallery/share/similar hierarchy. */
body.nx-market-product .nx-gallery-share {
    margin:18px 0 18px!important;
}
body.nx-market-product .nx-share-trigger {
    min-height:38px;
    padding:8px 15px;
    border-radius:20px;
}
body.nx-market-product .nx-similar-items {
    margin-top:0;
    padding-top:18px;
}
body.nx-market-product .nx-similar-grid {
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:9px;
}
body.nx-market-product .nx-similar-title {
    font-size:10px;
}
body.nx-market-product .nx-similar-price {
    font-size:11px;
}

/* Description/item specifics order clarity */
body.nx-market-product .nx-item-specifics {
    margin-top:34px;
    margin-bottom:8px;
}
body.nx-market-product .nx-item-specifics + .product-footer,
body.nx-market-product .nx-item-specifics ~ .product-footer {
    margin-top:0;
}

@media(max-width:849px){
  body.nx-market-product .nx-similar-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:549px){
  body.nx-market-product .nx-similar-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* =========================
   V1.8 LAYOUT + SPECIFICS
   ========================= */

/* Remove excess Flatsome spacing between top marketplace block and lower content */
html body.nx-market-product .product-main{
    padding-bottom:12px!important;
    margin-bottom:0!important;
}
html body.nx-market-product .product-footer{
    padding-top:8px!important;
    margin-top:0!important;
}
html body.nx-market-product .product-footer > .container{
    padding-top:0!important;
}
html body.nx-market-product .woocommerce-tabs{
    margin-top:18px!important;
    padding-top:0!important;
}

/* Item specifics must sit immediately after top product area */
html body.nx-market-product .nx-item-specifics{
    max-width:1280px!important;
    margin:18px auto 0!important;
    padding:0 15px!important;
}
.nx-specifics-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}
.nx-specifics-head h2{
    margin:0!important;
    font-size:27px!important;
}
.nx-specifics-head span{
    font-size:12px;
    color:#777;
    padding-bottom:3px;
}
html body.nx-market-product .nx-specifics-grid{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    border:0!important;
    border-top:1px solid #e4e4e4!important;
    border-bottom:1px solid #e4e4e4!important;
    border-radius:0!important;
}
html body.nx-market-product .nx-specific-row{
    display:grid!important;
    grid-template-columns:145px minmax(0,1fr)!important;
    gap:16px!important;
    padding:12px 10px!important;
    border-bottom:1px solid #ececec!important;
}
html body.nx-market-product .nx-specific-row:nth-child(odd){
    border-right:1px solid #ececec!important;
}
html body.nx-market-product .nx-specific-row span{
    font-size:12px!important;
    color:#6b6b6b!important;
}
html body.nx-market-product .nx-specific-row strong{
    font-size:12px!important;
    color:#222!important;
    font-weight:600!important;
}

/* Larger Similar Items - closer to eBay density */
html body.nx-market-product .nx-similar-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
}
html body.nx-market-product .nx-similar-img{
    border-radius:11px!important;
}
html body.nx-market-product .nx-similar-title{
    font-size:11.5px!important;
    line-height:1.28!important;
    margin-top:7px!important;
}
html body.nx-market-product .nx-similar-price{
    font-size:12px!important;
    margin-top:4px!important;
}
html body.nx-market-product .nx-similar-items{
    padding-top:16px!important;
    margin-bottom:0!important;
}
html body.nx-market-product .nx-subhead h3{
    font-size:21px!important;
}
html body.nx-market-product .nx-subhead span{
    font-size:11px!important;
}

/* Tighten policy block slightly so left/right columns finish closer together */
html body.nx-market-product .nx-policy-row{
    padding:9px 0!important;
}
html body.nx-market-product .nx-confidence{
    margin-top:10px!important;
    padding:12px!important;
}
html body.nx-market-product .nx-confidence>div{
    padding:5px 0!important;
}
html body.nx-market-product .nx-commerce-panel{
    margin-top:14px!important;
}

/* Keep Add to Cart outline in every state */
html body.nx-market-product .single_add_to_cart_button,
html body.nx-market-product .single_add_to_cart_button:hover,
html body.nx-market-product .single_add_to_cart_button:focus,
html body.nx-market-product .single_add_to_cart_button:active{
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
    color:#ff6600!important;
    border:2px solid #ff6600!important;
    box-shadow:none!important;
}
html body.nx-market-product .single_add_to_cart_button:hover{
    background:#fff7f2!important;
    background-color:#fff7f2!important;
}

/* Cleaner description block following specifics */
html body.nx-market-product .woocommerce-tabs .tab-panels{
    padding-top:16px!important;
}
html body.nx-market-product .woocommerce-tabs .panel{
    margin-bottom:12px!important;
}

@media(max-width:849px){
    html body.nx-market-product .nx-similar-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    html body.nx-market-product .nx-specifics-grid{
        grid-template-columns:1fr!important;
    }
    html body.nx-market-product .nx-specific-row:nth-child(odd){
        border-right:0!important;
    }
}
@media(max-width:549px){
    html body.nx-market-product .nx-similar-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .nx-specifics-head{
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
    }
    html body.nx-market-product .nx-specific-row{
        grid-template-columns:110px minmax(0,1fr)!important;
    }
}


/* =========================
   V1.9 FULL PRODUCT FLOW
   ========================= */

/* Left gallery area fills vertical space before lower sections */
body.nx-market-product .nx-product-strip{
    margin-top:18px!important;
    padding-top:18px!important;
    border-top:1px solid #e5e5e5!important;
}
body.nx-market-product .nx-explore-items{
    margin-top:20px!important;
}
body.nx-market-product .nx-similar-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.nx-market-product .nx-explore-items .nx-similar-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.nx-market-product .nx-explore-items .nx-similar-img{
    aspect-ratio:1.15!important;
}

/* Top section should not inject giant min-heights */
html body.nx-market-product .product-main,
html body.nx-market-product .product-main .row,
html body.nx-market-product .product-main .product-gallery,
html body.nx-market-product .product-main .product-info{
    min-height:0!important;
}

/* Item specifics */
body.nx-market-product .nx-item-specifics{
    margin-top:24px!important;
}
body.nx-market-product .nx-specifics-head{
    align-items:center!important;
}
body.nx-market-product .nx-specifics-grid{
    grid-template-columns:1fr 1fr!important;
}

/* Completely remove old Woo tabs/nav */
body.nx-market-product .woocommerce-tabs,
body.nx-market-product .product-footer .woocommerce-tabs{
    display:none!important;
}

/* Stacked eBay-like description */
.nx-ebay-description,
.nx-ebay-reviews,
.nx-about-seller,
.nx-more-seller,
.nx-category-products{
    max-width:1280px;
    margin:34px auto 0;
    padding:0 15px;
}
.nx-ebay-description h2,
.nx-ebay-reviews h2,
.nx-category-products h2{
    font-size:27px;
    margin:0 0 16px;
}
.nx-description-body{
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:20px 22px;
    font-size:14px;
    line-height:1.65;
    background:#fff;
}
.nx-description-body > :last-child{margin-bottom:0}

/* Reviews */
.nx-reviews-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px solid #e5e5e5;
    padding-bottom:12px;
    margin-bottom:16px;
}
.nx-reviews-head h2{margin:0}
.nx-reviews-head span{font-size:13px;color:#777}
.nx-review-summary{
    display:grid;
    grid-template-columns:220px 1fr;
    gap:32px;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:20px;
    background:#fff;
}
.nx-score strong{font-size:48px;line-height:1}
.nx-stars,.nx-card-stars{color:#ff9900;letter-spacing:1px}
.nx-score span{display:block;color:#777;font-size:12px;margin-top:5px}
.nx-rating-bars{display:flex;flex-direction:column;gap:7px}
.nx-rating-row{display:grid;grid-template-columns:38px 1fr 42px;gap:10px;align-items:center;font-size:12px}
.nx-rating-row>div{height:8px;background:#eee;border-radius:99px;overflow:hidden}
.nx-rating-row i{display:block;height:100%;background:#ff6600}
.nx-review-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.nx-review-card{border:1px solid #e5e5e5;border-radius:10px;padding:14px;background:#fff}
.nx-review-meta{display:flex;justify-content:space-between;gap:10px}
.nx-review-meta span{font-size:11px;color:#777}
.nx-review-card p{font-size:13px;line-height:1.5;margin:8px 0 0}
.nx-no-reviews{border:1px solid #e5e5e5;border-radius:12px;padding:18px;background:#fff}
.nx-no-reviews p{color:#666}
.nx-review-btn{background:#ff6600!important;border-radius:22px!important}

/* More from seller */
body.nx-market-product .nx-more-seller{
    margin-top:34px!important;
}
body.nx-market-product .nx-mini-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
body.nx-market-product .nx-mini-img{
    aspect-ratio:1.05!important;
}

/* Same category: 6-12 product section after seller */
.nx-category-products{
    margin-top:36px;
    margin-bottom:32px;
}
.nx-category-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:16px;
}
.nx-category-card{color:#171717!important;text-decoration:none!important;min-width:0}
.nx-category-img{
    aspect-ratio:1;
    border-radius:12px;
    overflow:hidden;
    background:#f5f5f5;
}
.nx-category-img img{width:100%!important;height:100%!important;object-fit:cover!important}
.nx-category-title{
    font-size:12px;
    line-height:1.3;
    margin-top:7px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.nx-category-price{font-size:13px;font-weight:700;margin-top:4px}

/* Reduce remaining inter-section whitespace */
body.nx-market-product .nx-item-specifics + .nx-ebay-description{margin-top:28px!important}
body.nx-market-product .nx-ebay-description + .nx-ebay-reviews{margin-top:32px!important}
body.nx-market-product .nx-ebay-reviews + .nx-about-seller{margin-top:36px!important}

@media(max-width:849px){
  body.nx-market-product .nx-similar-grid,
  body.nx-market-product .nx-explore-items .nx-similar-grid{
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .nx-review-summary{grid-template-columns:170px 1fr}
  .nx-review-list{grid-template-columns:1fr}
  .nx-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.nx-market-product .nx-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:549px){
  body.nx-market-product .nx-similar-grid,
  body.nx-market-product .nx-explore-items .nx-similar-grid{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .nx-review-summary{grid-template-columns:1fr}
  .nx-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.nx-market-product .nx-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* =========================
   V2.0 FULL-WIDTH EXPLORE CAROUSEL
   ========================= */

/* Explore is no longer inside the left gallery column */
body.nx-market-product .nx-gallery-extras .nx-explore-items{
    display:none!important;
}

.nx-explore-full{
    max-width:1280px;
    margin:24px auto 0;
    padding:0 15px;
    clear:both;
}
.nx-carousel-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;
}
.nx-carousel-head h2{
    margin:0;
    font-size:27px;
    line-height:1.15;
}
.nx-carousel-head p{
    margin:5px 0 0;
    color:#777;
    font-size:12px;
}
.nx-carousel-controls{
    display:flex;
    gap:8px;
}
.nx-carousel-controls button{
    width:38px;
    height:38px;
    min-width:38px;
    border:1px solid #d8d8d8;
    border-radius:50%;
    background:#fff;
    color:#222;
    font-size:26px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    cursor:pointer;
    box-shadow:none;
}
.nx-carousel-controls button:hover{
    border-color:#ff6600;
    color:#ff6600;
    background:#fff8f3;
}
.nx-carousel-track{
    display:flex;
    gap:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    padding:2px 1px 10px;
}
.nx-carousel-track::-webkit-scrollbar{
    display:none;
}
.nx-carousel-card{
    flex:0 0 calc((100% - 80px)/6);
    min-width:0;
    scroll-snap-align:start;
    color:#171717!important;
    text-decoration:none!important;
}
.nx-carousel-img{
    aspect-ratio:1;
    border-radius:12px;
    overflow:hidden;
    background:#f5f5f5;
}
.nx-carousel-img img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
.nx-carousel-title{
    margin-top:7px;
    font-size:12px;
    line-height:1.3;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.nx-carousel-price{
    margin-top:4px;
    font-size:13px;
    font-weight:700;
}

/* Start Item specifics directly after the carousel */
body.nx-market-product .nx-explore-full + .nx-item-specifics{
    margin-top:30px!important;
}

/* Keep Similar Items compact under the gallery */
body.nx-market-product .nx-similar-items .nx-similar-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

@media(max-width:849px){
    .nx-carousel-card{
        flex-basis:calc((100% - 32px)/3);
    }
}
@media(max-width:549px){
    .nx-explore-full{
        padding:0 12px;
    }
    .nx-carousel-card{
        flex-basis:calc((100% - 12px)/2);
    }
    .nx-carousel-head h2{
        font-size:23px;
    }
    .nx-carousel-controls button{
        width:34px;
        height:34px;
        min-width:34px;
    }
}


/* V2.2 Dokan seller policy page */
.nx-dokan-policies .nx-policy-form{max-width:980px}
.nx-dokan-policies .nx-policy-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:20px;
    margin-bottom:18px;
}
.nx-dokan-policies .nx-policy-card h2{margin:0 0 16px;font-size:22px}
.nx-dokan-policies .nx-policy-fields{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.nx-dokan-policies .nx-policy-card label{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-weight:600;
}
.nx-dokan-policies .nx-policy-card input,
.nx-dokan-policies .nx-policy-card select,
.nx-dokan-policies .nx-policy-card textarea{
    width:100%;
    border:1px solid #ddd;
    border-radius:7px;
    padding:10px 11px;
    font-weight:400;
}
.nx-dokan-policies .nx-policy-full{margin-top:14px}
.nx-dokan-policies .nx-policy-actions{margin:18px 0 30px}
@media(max-width:767px){
    .nx-dokan-policies .nx-policy-fields{grid-template-columns:1fr}
}


/* V2.3 seller policy polish */
.nx-policy-help{
    margin:-7px 0 18px;
    color:#666;
    font-size:13px;
}
.nx-policy-preview{
    background:#fff7f2;
    border:1px solid #ffd8c2;
    border-radius:12px;
    padding:18px;
    margin:18px 0;
}
.nx-policy-preview h2{
    margin:0 0 14px;
    font-size:20px;
}
.nx-preview-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.nx-preview-grid>div{
    background:#fff;
    border:1px solid #f0ded4;
    border-radius:9px;
    padding:12px;
}
.nx-preview-grid span{
    display:block;
    color:#777;
    font-size:11px;
    margin-bottom:4px;
}
.nx-preview-grid strong{
    display:block;
    font-size:13px;
    color:#222;
}
@media(max-width:767px){
    .nx-preview-grid{grid-template-columns:1fr}
}

/* Slightly cleaner storefront policy rows */
body.nx-market-product .nx-policy-value small{
    max-width:520px;
}
body.nx-market-product .nx-commerce-panel{
    border-top:1px solid #e8e8e8;
    padding-top:14px;
}


/* =========================
   V2.3.5 NEXAURA TYPOGRAPHY POLISH
   ========================= */

/* Use the site's actual Flatsome typography everywhere instead of plugin-like sizing */
body.nx-market-product,
body.nx-market-product button,
body.nx-market-product input,
body.nx-market-product select,
body.nx-market-product textarea,
body.nx-market-product .nx-gallery-extras,
body.nx-market-product .nx-item-specifics,
body.nx-market-product .nx-ebay-description,
body.nx-market-product .nx-ebay-reviews,
body.nx-market-product .nx-about-seller,
body.nx-market-product .nx-more-seller,
body.nx-market-product .nx-category-products,
body.nx-market-product .nx-explore-full {
    font-family: inherit!important;
}

/* Main product area */
body.nx-market-product .product-title {
    font-family: inherit!important;
    font-size: 31px!important;
    line-height: 1.22!important;
    font-weight: 700!important;
    letter-spacing: -0.015em!important;
}
body.nx-market-product .product-info .price {
    font-family: inherit!important;
    font-size: 29px!important;
    line-height: 1.2!important;
    font-weight: 700!important;
}
body.nx-market-product .product-short-description,
body.nx-market-product .product-short-description p {
    font-size: 14px!important;
    line-height: 1.55!important;
    color:#4b4b4b!important;
}

/* Major section headings */
body.nx-market-product .nx-subhead h3,
body.nx-market-product .nx-carousel-head h2,
body.nx-market-product .nx-specifics-head h2,
body.nx-market-product .nx-ebay-description h2,
body.nx-market-product .nx-ebay-reviews h2,
body.nx-market-product .nx-section-head h2,
body.nx-market-product .nx-category-products h2 {
    font-family: inherit!important;
    font-weight: 700!important;
    letter-spacing: -0.015em!important;
    color:#202020!important;
}
body.nx-market-product .nx-subhead h3 {
    font-size: 21px!important;
    line-height:1.25!important;
}
body.nx-market-product .nx-carousel-head h2,
body.nx-market-product .nx-specifics-head h2,
body.nx-market-product .nx-ebay-description h2,
body.nx-market-product .nx-ebay-reviews h2,
body.nx-market-product .nx-section-head h2,
body.nx-market-product .nx-category-products h2 {
    font-size: 25px!important;
    line-height:1.25!important;
}

/* Supporting labels */
body.nx-market-product .nx-subhead span,
body.nx-market-product .nx-carousel-head p,
body.nx-market-product .nx-specifics-head span {
    font-size: 12.5px!important;
    line-height:1.4!important;
    color:#777!important;
}

/* Similar items: make titles look like real product cards */
body.nx-market-product .nx-similar-title {
    font-family: inherit!important;
    font-size: 13px!important;
    line-height: 1.35!important;
    font-weight: 500!important;
    color:#222!important;
    margin-top:8px!important;
}
body.nx-market-product .nx-similar-price {
    font-family: inherit!important;
    font-size: 13px!important;
    line-height:1.3!important;
    font-weight:700!important;
    color:#171717!important;
    margin-top:5px!important;
}

/* Full-width related carousel */
body.nx-market-product .nx-carousel-title {
    font-family: inherit!important;
    font-size: 13px!important;
    line-height:1.35!important;
    font-weight:500!important;
    margin-top:8px!important;
}
body.nx-market-product .nx-carousel-price {
    font-family: inherit!important;
    font-size: 13px!important;
    font-weight:700!important;
}

/* More from this seller */
body.nx-market-product .nx-mini-title {
    font-family: inherit!important;
    font-size: 13px!important;
    line-height:1.35!important;
    font-weight:500!important;
}
body.nx-market-product .nx-mini-price {
    font-family: inherit!important;
    font-size:13px!important;
    font-weight:700!important;
}

/* Category / picked-for-you cards */
body.nx-market-product .nx-category-title {
    font-family: inherit!important;
    font-size: 13px!important;
    line-height:1.35!important;
    font-weight:500!important;
}
body.nx-market-product .nx-category-price {
    font-family: inherit!important;
    font-size:13px!important;
    font-weight:700!important;
}

/* Specifications */
body.nx-market-product .nx-specific-row span {
    font-size:12.5px!important;
    line-height:1.4!important;
}
body.nx-market-product .nx-specific-row strong {
    font-size:13px!important;
    line-height:1.4!important;
    font-weight:600!important;
}

/* Description supports plain text + formatted HTML cleanly */
body.nx-market-product .nx-description-body {
    font-family: inherit!important;
    font-size: 14px!important;
    line-height: 1.65!important;
    color:#333!important;
}
body.nx-market-product .nx-description-body h2 {
    font-size:24px!important;
    margin:24px 0 10px!important;
}
body.nx-market-product .nx-description-body h3 {
    font-size:20px!important;
    margin:20px 0 8px!important;
}
body.nx-market-product .nx-description-body h4 {
    font-size:17px!important;
    margin:16px 0 7px!important;
}
body.nx-market-product .nx-description-body p {
    margin:0 0 12px!important;
}
body.nx-market-product .nx-description-body ul,
body.nx-market-product .nx-description-body ol {
    margin:10px 0 14px 22px!important;
}
body.nx-market-product .nx-description-body li {
    margin-bottom:5px!important;
}
body.nx-market-product .nx-description-body table {
    width:100%!important;
    border-collapse:collapse!important;
    margin:14px 0!important;
}
body.nx-market-product .nx-description-body th,
body.nx-market-product .nx-description-body td {
    padding:9px 10px!important;
    border:1px solid #e5e5e5!important;
    text-align:left!important;
}
body.nx-market-product .nx-description-body img {
    max-width:100%!important;
    height:auto!important;
    border-radius:8px!important;
}

/* Seller / review typography */
body.nx-market-product .nx-about-card h3,
body.nx-market-product .nx-seller-help h3 {
    font-size:17px!important;
    font-weight:700!important;
}
body.nx-market-product .nx-policy-mini,
body.nx-market-product .nx-review-card,
body.nx-market-product .nx-no-reviews {
    font-family:inherit!important;
}

/* Mobile */
@media(max-width:549px){
    body.nx-market-product .product-title{font-size:25px!important}
    body.nx-market-product .nx-carousel-head h2,
    body.nx-market-product .nx-specifics-head h2,
    body.nx-market-product .nx-ebay-description h2,
    body.nx-market-product .nx-ebay-reviews h2,
    body.nx-market-product .nx-section-head h2,
    body.nx-market-product .nx-category-products h2{font-size:22px!important}
    body.nx-market-product .nx-similar-title,
    body.nx-market-product .nx-carousel-title,
    body.nx-market-product .nx-mini-title,
    body.nx-market-product .nx-category-title{font-size:12.5px!important}
}


/* =========================
   V2.3.6 FULL-WIDTH SELLER DESCRIPTION
   ========================= */

/* Description must use the complete marketplace content width */
body.nx-market-product .nx-ebay-description,
body.nx-market-product .nx-ebay-description .nx-description-body,
body.nx-market-product .nx-description-body .woocommerce-product-details__short-description,
body.nx-market-product .nx-description-body > div,
body.nx-market-product .nx-description-body > section {
    width:100%!important;
    max-width:none!important;
}

/* Remove theme/editor width caps that create a blank right side */
body.nx-market-product .nx-description-body .row,
body.nx-market-product .nx-description-body .section-content,
body.nx-market-product .nx-description-body .container,
body.nx-market-product .nx-description-body .container-width,
body.nx-market-product .nx-description-body .col,
body.nx-market-product .nx-description-body [class*="col-"] {
    max-width:100%!important;
    width:100%!important;
    flex-basis:100%!important;
}

/* Imported HTML product descriptions often contain fixed widths.
   Let them expand responsively instead of occupying a narrow left column. */
body.nx-market-product .nx-description-body [style*="width"] {
    max-width:100%!important;
}
body.nx-market-product .nx-description-body table {
    width:100%!important;
    max-width:100%!important;
}
body.nx-market-product .nx-description-body img {
    max-width:100%!important;
    height:auto!important;
}

/* Rich-image descriptions: center individual artwork but don't constrain its parent */
body.nx-market-product .nx-description-body p > img:only-child,
body.nx-market-product .nx-description-body div > img:only-child {
    display:block!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* Keep long HTML descriptions from inheriting Woo/Flatsome narrow article widths */
body.nx-market-product .nx-ebay-description .entry-content,
body.nx-market-product .nx-ebay-description .product-description,
body.nx-market-product .nx-ebay-description article {
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* v3.2.2 — requested product gallery-only polish */
@media (min-width: 850px){
  body.nx-market-product .product-main .product-gallery{
    flex-basis:54%!important;
    max-width:54%!important;
    width:54%!important;
  }
  body.nx-market-product .product-main .product-info{
    flex-basis:46%!important;
    max-width:46%!important;
    width:46%!important;
  }
  body.nx-market-product .product-gallery .woocommerce-product-gallery__image,
  body.nx-market-product .product-gallery .product-gallery-slider .slide,
  body.nx-market-product .product-gallery .flickity-slider > div{
    overflow:hidden!important;
  }
  body.nx-market-product .product-gallery .woocommerce-product-gallery__image img,
  body.nx-market-product .product-gallery .product-gallery-slider .slide img{
    transform-origin:50% 50%;
    transition:transform .12s ease-out;
    will-change:transform;
  }
  body.nx-market-product .product-gallery .nx-hover-zoom-active img{
    transform:scale(1.85);
    cursor:zoom-in;
  }
}
/* Hover zoom replaces the separate Flatsome zoom control. */
body.nx-market-product .product-gallery .zoom-button,
body.nx-market-product .product-gallery .image-tools .zoom-button,
body.nx-market-product .product-gallery a.zoom-button{
  display:none!important;
}
