/* Premium marketplace redesign for /products */
.marketplace-products-page.section-box>.container>h2.text-heading-4{font-size:34px;line-height:1.2}
.marketplace-products-page .marketplace-hero{position:relative;overflow:hidden;border-radius:18px;padding:30px;border:1px solid #e2e8f0;background:linear-gradient(180deg,#f8f8f8 0%,#fff 50%)!important;margin-bottom:24px!important}
.marketplace-products-page .marketplace-hero__mesh{position:absolute;inset:0;background-image:linear-gradient(rgba(148,163,184,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.1) 1px,transparent 1px);background-size:34px 34px;mask-image:radial-gradient(circle at 50% 35%,#000 22%,transparent 80%);pointer-events:none}
.marketplace-products-page .marketplace-hero__content{position:relative;z-index:1;max-width:980px;margin-inline:auto;text-align:center}
.marketplace-products-page .marketplace-hero__eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid #dbeafe;color:#2563eb;font-size:15px;font-weight:700;letter-spacing:.01em;padding:9px 14px;margin-bottom:14px}
@keyframes marketplace-hero-dot-pulse{0%{transform:scale(.98);box-shadow:0 0 0 0 rgba(34,197,94,.45)}70%{transform:scale(1);box-shadow:0 0 0 8px rgba(34,197,94,0)}100%{transform:scale(.98);box-shadow:0 0 0 0 rgba(34,197,94,0)}}.marketplace-products-page .marketplace-hero__dot{width:8px;height:8px;flex-shrink:0;border-radius:999px;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.45);animation:marketplace-hero-dot-pulse 2s ease-out infinite}
.marketplace-products-page .marketplace-hero__title{font-size:40px;line-height:1.12;letter-spacing:-.02em;color:#3c3c43;margin-bottom:12px}
.marketplace-products-page .marketplace-hero__desc{max-width:760px;color:#475569;font-size:16px;line-height:1.65;margin:0 auto 20px}
.marketplace-products-page .marketplace-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px;justify-content:center}
.marketplace-products-page .marketplace-hero__categories{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:16px}
.marketplace-products-page .marketplace-category-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;border:1px solid #dbe4f0;background:rgba(255,255,255,.82);color:#3c3c43;padding:8px 14px;font-size:13px;font-weight:600;transition:all .25s ease}
.marketplace-products-page .marketplace-category-pill__icon{font-size:8px;color:#60a5fa}
.marketplace-products-page .marketplace-category-pill:hover{border-color:#bfdbfe;background:#eff6ff;color:#3c3c43;transform:translateY(-1px)}
.marketplace-products-page .marketplace-category-pill.active{border-color:#93c5fd;background:#dbeafe;color:#1d4ed8}
.marketplace-products-page .marketplace-toolbar{border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04);margin-bottom:24px!important;align-items:center!important}
.marketplace-products-page .marketplace-toolbar{position:relative;top:auto;z-index:auto;backdrop-filter:none;background:#fff}
.marketplace-products-page .marketplace-toolbar>[class*=col-]{display:flex;align-items:center}
.marketplace-products-page .marketplace-toolbar>[class*=col-]>.d-flex{align-items:center!important;width:100%;min-height:44px}
.marketplace-products-page .marketplace-layout-toggle{display:inline-flex;align-items:center;gap:8px;padding:4px;border-radius:999px;border:1px solid #dbe4f0;background:#f8fafc}
.marketplace-products-page .marketplace-layout-toggle .filter-link{margin-right:0;width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#3c3c43;transition:all .2s ease;background-image:none!important;background-position:initial!important;background-repeat:no-repeat}
.marketplace-products-page .marketplace-layout-toggle .filter-link.active,.marketplace-products-page .marketplace-layout-toggle .filter-link:hover{color:#2563eb;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.marketplace-products-page .product-list .card-product{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.marketplace-products-page .product-list .row>[class*=col-]{display:flex}
.marketplace-products-page .product-list .card-product{width:100%}
.marketplace-products-page .product-list .card-product .card-image{overflow:hidden;border-radius:14px;margin-bottom:14px;aspect-ratio:16/10;border:1px solid #eef2f7}
.marketplace-products-page .product-list .card-product .card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.marketplace-products-page .product-list .card-product .card-info{display:flex;flex-direction:column;flex:1 1 auto;height:auto;min-height:0;padding-bottom:4px}
.marketplace-products-page .product-list .card-product:hover{transform:translateY(-4px);border-color:#cbd5e1;box-shadow:0 16px 34px rgba(15,23,42,.08)}
.marketplace-products-page .product-list .card-product:hover .card-image img{transform:scale(1.04)}
.marketplace-products-page .marketplace-product-badges{position:absolute;z-index:3;top:14px;left:14px;display:flex;gap:8px;flex-wrap:wrap;max-width:calc(100% - 84px)}
.marketplace-products-page .marketplace-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700;letter-spacing:.01em;border:1px solid transparent}
.marketplace-products-page .marketplace-badge--new{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}
.marketplace-products-page .marketplace-badge--hot{color:#b45309;background:#fef3c7;border-color:#fde68a}
.marketplace-products-page .marketplace-badge--discount{color:#991b1b;background:#fee2e2;border-color:#fecaca}
.marketplace-products-page .marketplace-inline-badge{padding:4px 9px;font-size:10px;line-height:1.1}
.marketplace-products-page .marketplace-unrated-stars{opacity:.45;filter:grayscale(1)}
.marketplace-products-page .marketplace-category-label{font-size:12px;font-weight:700;color:#6B7280;text-transform:uppercase;letter-spacing:.04em}
.marketplace-products-page .marketplace-category-label:hover{color:#3b82f6!important}
.marketplace-products-page .marketplace-product-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px;color:#3c3c43;font-size:18px;line-height:1.3;transition:color .2s ease;margin-bottom:8px}
.marketplace-products-page .product-list .card-product .card-info>a:hover,.marketplace-products-page .product-list .card-product .card-info>a:hover h6{color:#3b82f6!important}
.marketplace-products-page .marketplace-product-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#3c3c43;font-size:13px;line-height:1.5;min-height:36px;margin-bottom:8px}
.marketplace-products-page .marketplace-rating-row{min-height:20px;margin-bottom:6px;gap:8px}
.marketplace-products-page .marketplace-rating-row .rating{width:auto!important;flex:0 0 auto}
.marketplace-products-page .marketplace-rating-row .marketplace-rating-separator{color:#9ca3af;font-size:12px;line-height:1}
.marketplace-products-page .marketplace-sales-proof{margin-bottom:0;color:#6B7280;font-size:12px;font-weight:600;line-height:1.35}
.marketplace-products-page .marketplace-price-row{margin-top:auto;margin-bottom:6px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.marketplace-products-page .marketplace-price-row .price .price-regular{font-size:24px;font-weight:800;color:#3c3c43}
.marketplace-products-page .marketplace-price-row .price .price-line{font-size:15px;font-weight:600;color:#6B7280;text-decoration:line-through;text-decoration-thickness:1.5px}
.marketplace-products-page .marketplace-price-row .btn.btn-white-circle{min-height:36px;padding:8px 14px;border-radius:999px;border:1px solid #d9e2ef;background:#f8fbff;color:#3c3c43!important;font-size:12px;font-weight:700;line-height:1.2;transition:all .22s ease;white-space:nowrap;min-width:112px;text-align:center}
.marketplace-products-page .marketplace-price-row .btn.btn-white-circle:hover{background:#eaf2ff;border-color:#bfd4ff;color:#1d4ed8!important;transform:translateY(-1px)}
.marketplace-products-page .marketplace-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.marketplace-products-page .marketplace-actions .btn{min-height:40px;padding:9px 14px;font-size:13px;font-weight:700;line-height:1.2}
.marketplace-products-page .marketplace-actions .btn-white-circle{border-radius:10px}
.marketplace-products-page .marketplace-actions .btn-brand-1{border-radius:10px;color:#fff}
.marketplace-products-page .marketplace-actions .btn-brand-1:hover{color:#fff}
.marketplace-products-page .marketplace-actions .add-to-cart{position:static!important;right:auto!important;bottom:auto!important;display:inline-flex!important;align-items:center;justify-content:center;min-width:132px}
.marketplace-products-page .marketplace-empty-state{border:1px dashed #cbd5e1;border-radius:14px;padding:34px 20px;background:#fff}
.marketplace-products-page .box-sortby{gap:10px}
.marketplace-products-page .show-information-product .text-showing{font-size:13px!important;line-height:1.2;font-weight:500!important;color:#3c3c43!important;margin-right:0!important}
.marketplace-products-page .marketplace-sort-select{width:min(180px,100%)}
.marketplace-products-page .box-sortby .form-select-soft-by{min-height:44px;max-width:100%;padding:8px 34px 8px 12px;font-size:14px}
.marketplace-products-page .box-sortby .font-md{font-size:13px!important;line-height:1.2!important;font-weight:500!important;color:#3c3c43!important;margin-right:0!important}
.marketplace-products-page .marketplace-filter-card{border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04);padding:16px}
.marketplace-products-page .marketplace-filter-card+.marketplace-filter-card{margin-top:14px}
.marketplace-products-page .marketplace-filter-card__title{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #edf2f7}
.marketplace-products-page .marketplace-filter-card__title h3{font-size:16px;line-height:1.35;margin:0}
.marketplace-products-page .marketplace-filter-card__content{padding:0}
.marketplace-products-page .marketplace-filter-block{padding-top:12px;margin-top:12px;border-top:1px solid #f1f5f9}
.marketplace-products-page .marketplace-filter-block:first-child{padding-top:0;margin-top:0;border-top:none}
.marketplace-products-page .marketplace-filter-block__label{font-size:13px;font-weight:700;color:#3c3c43}
.marketplace-products-page #form-search-products{border:1px solid #dbe4f0;border-radius:12px;overflow:hidden;background:#f8fafc}
.marketplace-products-page #form-search-products .form-control{border:none;background:transparent;min-height:44px;box-shadow:none}
.marketplace-products-page #form-search-products .input-group-text{background:transparent;color:#3c3c43}
.marketplace-products-page .marketplace-filter-form .list-type{margin-top:10px}
.marketplace-products-page .marketplace-filter-form .list-type li{padding:0;margin:0}
.marketplace-products-page .marketplace-filter-form .form-check{padding:7px 0;margin:0}
.marketplace-products-page .marketplace-filter-form .form-check-label{font-size:13px;color:#475569}
.marketplace-products-page .marketplace-filter-form .form-check-input{border-color:#cbd5e1}
.marketplace-products-page .marketplace-filter-form .form-check-input:checked{background-color:#2563eb;border-color:#2563eb}
.marketplace-products-page .marketplace-filter-form .nonlinear{height:6px}
.marketplace-products-page .marketplace-filter-form .slider__value{font-weight:700}
@media (max-width:991.98px){.marketplace-products-page .marketplace-hero{padding:22px}.marketplace-products-page .marketplace-hero__title{font-size:30px}.marketplace-products-page .marketplace-toolbar{padding:12px}.marketplace-products-page .box-sortby .form-select-soft-by{max-width:100%}}
@media (max-width:575.98px){.marketplace-products-page .marketplace-hero__title{font-size:26px}.marketplace-products-page .marketplace-hero__desc{font-size:14px}.marketplace-products-page .marketplace-actions .btn{width:100%;justify-content:center}}

/* Marketplace refinements: new left / discount right, larger badges, category pill+dot */
.marketplace-products-page .marketplace-product-badges{align-items:flex-start}
.marketplace-products-page .marketplace-badge{padding:6px 12px;font-size:12px}
.marketplace-products-page .marketplace-badge--discount-right{margin-left:auto}
.marketplace-products-page .marketplace-category-label{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;border:1px solid #e2e8f0;background:#f8fafc;transition:all .2s ease}
.marketplace-products-page .marketplace-category-label::before{content:"";width:6px;height:6px;border-radius:50%;background:#3b82f6;box-shadow:0 0 0 0 rgba(59,130,246,.45);animation:marketplaceCategoryDotPulse 2s ease-out infinite;flex-shrink:0}
.marketplace-products-page .marketplace-category-label:hover{background:#eef4ff;border-color:#bfd4ff;color:#3b82f6!important}
.marketplace-products-page .card-product .card-info>.mb-1{margin-bottom:10px!important}
@keyframes marketplaceCategoryDotPulse{0%{box-shadow:0 0 0 0 rgba(59,130,246,.45)}70%{box-shadow:0 0 0 6px rgba(59,130,246,0)}100%{box-shadow:0 0 0 0 rgba(59,130,246,0)}}

/* Consistent vertical rhythm: hero -> toolbar -> products */
.marketplace-products-page .marketplace-hero{margin-bottom:24px!important}
.marketplace-products-page .marketplace-toolbar{margin-bottom:24px!important}
.marketplace-products-page .product-area>.row{margin-top:0!important}
.marketplace-products-page #marketplace-list{margin-bottom:64px}
