/* =============================================================
   store-premium.css  –  Vendor / Seller Store Profile Page
   Scope: .seller-detail  (all rules are scoped to avoid leaks)
   ============================================================= */

/* ── Design tokens ─────────────────────────────────────────── */
.seller-detail {
    --sp-radius: 14px;
    --sp-shadow: 0 4px 18px rgba(15, 23, 42, 0.09);
    --sp-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.07);
    --sp-border: 1px solid rgba(15, 23, 42, 0.08);
    --sp-bg-soft: #f8fafc;
    --sp-bg-card: #ffffff;
    --sp-text: #0f172a;
    --sp-muted: #64748b;
    --sp-accent: var(--theme-color, #e14e78);
    --sp-btn-h: 44px;
    background: #f8fafc;
}

/* ================================================================
   1. COVER IMAGE
   ================================================================ */
.seller-detail .s-cover-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    box-shadow: none;
}

.seller-detail .s-cover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.seller-detail .s-cover-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0) 50%,
            rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
}

/* ================================================================
   2. HEADER WRAPPER – sits just below cover, overlaps slightly
   ================================================================ */
.seller-detail .section-basic-info {
    background: rgba(15, 23, 42, 0.07);
    border-bottom: var(--sp-border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    position: relative;
}

.seller-detail .basic-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: -52px 0 0 0;
    padding: 0 0 16px 0;
    font-size: 14px;
}

/* ================================================================
   3. STORE LOGO
   ================================================================ */
.seller-detail .basic-info .s-logo {
    width: 108px;
    height: 108px;
    border-radius: 18px;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
    background: #ffffff;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 0;
    margin-right: 0;
    position: relative;
    z-index: 1;
}

.seller-detail .basic-info .s-level-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
    top: -14px;
    right: -10px;
    position: absolute;
    z-index: 2;
}

/* ================================================================
   4. STORE NAME, USERNAME, FLAG
   ================================================================ */
.seller-detail .basic-info .s-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--sp-text);
    margin: 0 0 4px 0;
    padding-top: 56px;
    /* push name below cover overlap */
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.seller-detail .basic-info .s-username {
    font-size: 13px;
    font-weight: 400;
    color: var(--sp-muted);
    display: block;
    margin-top: 2px;
}

.seller-detail .basic-info .s-falg {
    width: 22px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    vertical-align: middle;
}

/* ================================================================
   5. STAT PILLS (Member Since, Online/Offline, Rating, etc.)
   ================================================================ */
.seller-detail .basic-info .s-totals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 6px 0 4px;
}

.seller-detail .basic-info .s-totals>span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--sp-muted);
    background: var(--sp-bg-soft);
    padding: 4px 10px;
    border-radius: 999px;
    border: var(--sp-border);
    white-space: nowrap;
}

.seller-detail .basic-info .s-totals>span i {
    font-size: 11px;
}

.seller-detail .basic-info .s-count {
    background: #334155;
    color: #f1f5f9;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 600;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.seller-detail .basic-info .s-review .badge {
    font-size: 12px;
    border-radius: 6px !important;
}

/* ================================================================
   6. STICKY NAV TABS
   ================================================================ */
.seller-detail nav {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10002;
    border-bottom: 2px solid #f1f5f9;
    margin: 20px 0 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.seller-detail nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0 12px;
    gap: 0;
    line-height: 1;
}

.seller-detail nav li {
    margin: 0;
}

.seller-detail nav a {
    display: inline-block;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.seller-detail nav a:hover,
.seller-detail nav a:focus {
    color: var(--sp-accent);
    border-bottom-color: var(--sp-accent);
}

/* ================================================================
   7. ACTION BUTTONS (Message / Follow / Contact Me)
   ================================================================ */
.seller-detail .contact-section {
    margin: 24px 0;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 90px;
}

/* Remove Bootstrap overrides and re-style for equal-width premium look */
.seller-detail .contact-section .s-msg,
.seller-detail .contact-section .s-follow,
.seller-detail .contact-section .s-contact {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    letter-spacing: 0.02em;
    border: none;
}

/* Message – primary theme */
.seller-detail .contact-section .s-msg {
    background: #e14e78;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(225, 78, 120, 0.25);
}

.seller-detail .contact-section .s-msg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 78, 120, 0.35);
    background: #d43d67;
}

/* Follow – outline slate */
.seller-detail .contact-section .s-follow {
    background: #f8fafc;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none;
}

.seller-detail .contact-section .s-follow:hover {
    background: #f1f5f9;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px);
}

/* Contact – soft dark */
.seller-detail .contact-section .s-contact {
    background: #f8fafc;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none;
}

.seller-detail .contact-section .s-contact:hover {
    background: #f1f5f9;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px);
}

/* Response time meta */
.seller-detail .contact-section>p.grey-c {
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 16px;
    margin-top: 20px;
    text-align: center;
    background: #f8fafc;
    margin: -24px -20px 20px -20px;
    /* pull to edges */
    padding: 16px 20px;
    border-radius: 16px 16px 0 0;
    border-top: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

/* ================================================================
   8. SOCIAL PROFILES (inside contact card)
   ================================================================ */
.seller-detail .s-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 0 !important;
    padding-top: 14px;
    border-top: var(--sp-border);
}

.seller-detail .s-social h5 {
    margin: 0 0 12px 0 !important;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.seller-detail .s-social .d-flex {
    flex-wrap: wrap;
    gap: 8px;
}

.seller-detail .s-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    font-size: 16px;
    color: #64748b !important;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.seller-detail .s-social a:hover {
    background: #f8fafc;
    color: #0f172a !important;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

/* ================================================================
   8b. COMPACT CONTACT SIDEBAR (cs-* namespace)
   ================================================================ */

/* Response time micro-badge */
.seller-detail .cs-response-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 14px;
    width: 100%;
    justify-content: center;
}

.seller-detail .cs-response-badge i {
    font-size: 11px;
    color: #f59e0b;
}

.seller-detail .cs-response-badge strong {
    color: #0f172a;
    font-weight: 700;
}

/* Primary CTA — Message */
.seller-detail .cs-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    background: #e14e78;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(225, 78, 120, 0.25);
    transition: all 0.2s ease;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.seller-detail .cs-btn-primary:hover {
    background: #d43d67;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 78, 120, 0.35);
}

/* Secondary actions — side-by-side row */
.seller-detail .cs-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.seller-detail .cs-btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    background: #f8fafc;
    color: #334155 !important;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.seller-detail .cs-btn-action:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a !important;
    transform: translateY(-1px);
}

/* Social section */
.seller-detail .cs-social {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 14px;
    margin-top: 4px;
}

.seller-detail .cs-social-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 8px 0;
}

.seller-detail .cs-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.seller-detail .cs-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    font-size: 15px;
    color: #64748b !important;
    text-decoration: none;
    transition: all 0.18s ease;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.seller-detail .cs-social-icon:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}


.seller-detail h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--sp-text);
    margin: 0 0 14px;
    padding: 4px 0 8px;
    border-bottom: 2px solid #f1f5f9;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.01em;
}

/* ================================================================
   10. SECTION CONTAINERS
   ================================================================ */
.seller-detail .section-about,
.seller-detail .section-listing,
.seller-detail .section-reviews,
.seller-detail .section-team,
.seller-detail .section-store {
    background: #ffffff;
    border-radius: var(--sp-radius);
    padding: 24px;
    margin-bottom: 20px;
    border: var(--sp-border);
    box-shadow: var(--sp-shadow-sm);
}

.seller-detail hr {
    display: none !important;
    /* sections replace <hr> separators */
}

/* ================================================================
   11. ABOUT SECTION – description + contact info
   ================================================================ */
.seller-detail .section-about .s-about {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sp-muted);
    padding: 0;
    margin-bottom: 0;
}

.seller-detail .section-about .s-contact-info {
    width: 100%;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
}

.seller-detail .section-about .s-contact-info h3 {
    color: var(--sp-text);
    font-size: 17px;
    text-transform: none;
    padding: 0 0 8px;
}

.seller-detail .s-phone,
.seller-detail .s-email,
.seller-detail .s-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--sp-muted);
    background: var(--sp-bg-soft);
    border-radius: 10px;
    padding: 10px 14px;
    border: var(--sp-border);
    margin-bottom: 8px !important;
}

.seller-detail .s-phone i,
.seller-detail .s-email i,
.seller-detail .s-address i {
    font-size: 16px;
    color: var(--sp-accent);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ================================================================
   12. HOURS TABLE
   ================================================================ */
.seller-detail .s-time {
    width: 100%;
}

.seller-detail .s-time .d-flex {
    padding: 8px 12px !important;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.seller-detail .s-time .d-flex:hover {
    background: var(--sp-bg-soft);
}

/* ================================================================
   13. CERTIFICATE CARDS
   ================================================================ */
.seller-detail .section-about .s-cer {
    background: var(--sp-bg-soft) !important;
    border: var(--sp-border) !important;
    border-radius: 12px !important;
    padding: 14px !important;
    transition: box-shadow 0.2s ease;
}

.seller-detail .section-about .s-cer:hover {
    box-shadow: var(--sp-shadow);
}

/* ================================================================
   14. PRODUCT LISTING GRID — Enhanced Premium Cards
   ================================================================ */
.seller-detail .section-listing {
    padding: 24px;
}

.seller-detail .product-box-8.seller-shop-list {
    background: transparent;
}

/* Responsive grid for product cards */
.seller-detail .seller-shop-list .product-box-wrapper.product-card-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
}

/* Remove Bootstrap column widths — grid handles layout */
.seller-detail .seller-shop-list .product-box-wrapper .block-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

/* ── Enhanced Card ── */
.seller-detail .seller-shop-list .product-card {
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.7) !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04),
        0 2px 8px rgba(15, 23, 42, 0.03) !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease !important;
    max-width: none !important;
    overflow: hidden;
    position: relative;
}

.seller-detail .seller-shop-list .product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.10),
        0 8px 16px rgba(15, 23, 42, 0.06) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
}

/* ── Image ── */
.seller-detail .seller-shop-list .product-card .pc-img-wrap,
.seller-detail .seller-shop-list .product-card .product-image,
.seller-detail .seller-shop-list .product-card .p-img.product-image {
    aspect-ratio: 1 !important;
    height: auto !important;
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
    position: relative;
}

/* Subtle gradient overlay on image bottom for depth */
.seller-detail .seller-shop-list .product-card .pc-img-wrap::after,
.seller-detail .seller-shop-list .product-card .product-image::after,
.seller-detail .seller-shop-list .product-card .p-img.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.04), transparent);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.seller-detail .seller-shop-list .product-card:hover .pc-img-wrap::after,
.seller-detail .seller-shop-list .product-card:hover .product-image::after,
.seller-detail .seller-shop-list .product-card:hover .p-img.product-image::after {
    opacity: 0;
}

.seller-detail .seller-shop-list .product-card .pc-img-wrap img,
.seller-detail .seller-shop-list .product-card .product-image img,
.seller-detail .seller-shop-list .product-card .p-img.product-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.seller-detail .seller-shop-list .product-card:hover .pc-img-wrap img,
.seller-detail .seller-shop-list .product-card:hover .product-image img {
    transform: scale(1.08) !important;
}

/* ── Wishlist heart — refined ── */
.seller-detail .seller-shop-list .product-card .product-wishlist {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.seller-detail .seller-shop-list .product-card .product-wishlist:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 4px 16px rgba(225, 78, 120, 0.25) !important;
}

/* ── Body: enhanced typography ── */
.seller-detail .seller-shop-list .product-card .product-body,
.seller-detail .seller-shop-list .product-card .p-data.product-body {
    padding: 14px 14px 8px !important;
}

/* Title — bolder, clean */
.seller-detail .seller-shop-list .product-card .product-title,
.seller-detail .seller-shop-list .product-card .p-title.product-title {
    font-size: 14px !important;
    font-weight: 650 !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
    letter-spacing: -0.01em !important;
}

/* Price — accent color, larger */
.seller-detail .seller-shop-list .product-card .pc-price-main {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--theme-color, #362a89) !important;
    letter-spacing: -0.02em;
}

.seller-detail .seller-shop-list .product-card .p-old-p {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

/* Free shipping tag — pill style */
.seller-detail .seller-shop-list .product-card .pc-free-ship {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 700;
}

/* Reviews — refined */
.seller-detail .seller-shop-list .product-card .p-review {
    margin-top: 6px;
}

.seller-detail .seller-shop-list .product-card .pc-stars i {
    color: #f59e0b;
}

/* ══════════════════════════════════════════════════
   SELLER STORE — Beat product-box-8 global rules
   Use both classes in selector for max specificity
══════════════════════════════════════════════════ */

/* 1. Reset the absolute-positioned p-conditional_div back to normal flow */
.seller-detail .product-box-8.seller-shop-list .p-conditional_div,
.seller-detail .product-box-8.seller-shop-list .p-conditional_div:has(.product-card-footer) {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    padding: 10px 12px 13px !important;
    background: transparent !important;
    z-index: auto !important;
    height: auto !important;
    border-top: none !important;
}

/* 2. Full-width gradient ATC — beats the white circle */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn,
.seller-detail .product-box-8.seller-shop-list .product-card .pc-atc-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg,
            var(--theme-color, #362a89) 0%,
            color-mix(in srgb, var(--theme-color, #362a89) 80%, #5b4fcf) 100%) !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    letter-spacing: 0.02em !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--theme-color, #362a89) 35%, transparent) !important;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease,
        filter 0.2s ease !important;
    border-radius: 50% !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Override the border-radius after the overrides above */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn,
.seller-detail .product-box-8.seller-shop-list .product-card .pc-atc-btn {
    border-radius: 12px !important;
}

/* Shimmer sweep */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.seller-detail .product-box-8.seller-shop-list .pc-atc-btn:hover::before {
    left: 130%;
}

/* Show text label (hidden by product-box-8 globally) */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn span {
    display: inline !important;
}

/* SVG icon — proper size, white */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn svg,
.seller-detail .product-box-8.seller-shop-list .product-card .pc-atc-btn svg {
    width: 17px !important;
    height: 17px !important;
    stroke: #fff !important;
    flex-shrink: 0 !important;
}

/* Hover */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn:hover,
.seller-detail .product-box-8.seller-shop-list .product-card .pc-atc-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--theme-color, #362a89) 45%, transparent) !important;
    filter: brightness(1.07) !important;
    background: linear-gradient(135deg,
            var(--theme-color, #362a89) 0%,
            color-mix(in srgb, var(--theme-color, #362a89) 80%, #5b4fcf) 100%) !important;
    color: #fff !important;
}

/* Active press */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn:active {
    transform: scale(0.97) !important;
}

/* Success state */
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn.pc-added,
.seller-detail .product-box-8.seller-shop-list .pc-atc-btn.atc-success {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35) !important;
}

/* Hide qty control & hover actions panel on seller page */
.seller-detail .product-box-8.seller-shop-list .qty-control,
.seller-detail .seller-shop-list .qty-control {
    display: none !important;
}

.seller-detail .product-box-8.seller-shop-list .pc-hover-actions,
.seller-detail .seller-shop-list .pc-hover-actions {
    display: none !important;
}

/* Hide badges (cleaner look) */
.seller-detail .product-box-8.seller-shop-list .product-card .p-badges,
.seller-detail .seller-shop-list .product-card .p-badges {
    display: none !important;
}

/* ================================================================
   15. REVIEW SECTION
   ================================================================ */
.seller-detail .section-reviews {
    padding: 24px;
    min-height: 80px;
}

/* ================================================================
   16. TEAM MEMBER CARDS
   ================================================================ */
.seller-detail .section-team .s-team-box {
    background: var(--sp-bg-card);
    border: var(--sp-border);
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    box-shadow: var(--sp-shadow-sm);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    margin: 6px;
}

.seller-detail .section-team .s-team-box:hover {
    box-shadow: var(--sp-shadow);
    transform: translateY(-4px);
}

.seller-detail .section-team .s-team-box .team-img {
    height: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seller-detail .section-team .s-team-box .team-img img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
    background: #f1f5f9;
}

.seller-detail .section-team .s-team-box .t-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-text);
    margin: 12px 6px 2px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.seller-detail .section-team .s-team-box .t-prof {
    font-size: 12px;
    color: var(--sp-accent);
    font-weight: 600;
    margin: 2px 6px 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.seller-detail .section-team .s-team-box .t-exp {
    font-size: 12px;
    color: var(--sp-muted);
    margin: 2px 6px;
}

/* ================================================================
   17. OTHER STORES / LOCATIONS
   ================================================================ */
.seller-detail .section-store {
    padding: 24px;
}

.seller-detail .s-store-box {
    padding: 6px;
}

.seller-detail .s-store-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--sp-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.seller-detail .s-store-box .s-address {
    font-size: 13px;
    background: var(--sp-bg-soft);
    border: var(--sp-border);
    border-radius: 10px;
    padding: 10px 14px;
    gap: 8px;
}

/* ================================================================
   18. VIDEO
   ================================================================ */
.seller-detail .s-video {
    border-radius: 10px;
    overflow: hidden;
    border: var(--sp-border);
    background: var(--sp-bg-soft);
    /* collapse when empty (videoContainer has no children) */
    min-height: 0;
}

/* Only show height when there's actual iframe content */
.seller-detail .s-video:has(iframe),
.seller-detail .s-video:has([src]) {
    min-height: 120px;
}

/* Hide the entire s-video block when it's empty */
.seller-detail .s-video:empty,
#videoContainer:empty {
    display: none;
}

.seller-detail .s-video iframe {
    width: 100%;
    height: 160px;
    border-radius: 0;
    border: none;
    background: #f1f5f9;
}

/* ================================================================
   19. RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    .seller-detail .contact-section {
        position: relative;
        top: 0;
        margin: 16px 0;
    }

    .seller-detail .seller-shop-list .product-box-wrapper.product-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .seller-detail .basic-info {
        margin-top: -44px;
        gap: 14px;
    }

    .seller-detail .basic-info .s-logo {
        width: 88px;
        height: 88px;
        border-radius: 14px;
    }

    .seller-detail .basic-info .s-name {
        font-size: 18px;
        padding-top: 46px;
    }
}

@media (max-width: 767px) {
    .seller-detail .s-cover-img {
        height: 190px;
    }

    .seller-detail .basic-info {
        flex-direction: row;
        align-items: flex-end;
        margin-top: -36px;
        gap: 12px;
    }

    .seller-detail .basic-info .s-logo {
        width: 72px;
        height: 72px;
        border-radius: 12px;
        border-width: 3px;
    }

    .seller-detail .basic-info .s-name {
        font-size: 16px;
        padding-top: 36px;
    }

    .seller-detail nav a {
        padding: 12px 12px;
        font-size: 13px;
    }

    .seller-detail .section-about,
    .seller-detail .section-listing,
    .seller-detail .section-reviews,
    .seller-detail .section-team,
    .seller-detail .section-store {
        padding: 16px;
        border-radius: 10px;
    }

    .seller-detail .contact-section {
        padding: 16px;
        border-radius: 10px;
    }

    .seller-detail .seller-shop-list .product-box-wrapper.product-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .seller-detail .s-cover-img {
        height: 150px;
    }

    .seller-detail .basic-info {
        margin-top: -30px;
        gap: 10px;
    }

    .seller-detail .basic-info .s-logo {
        width: 62px;
        height: 62px;
    }

    .seller-detail .basic-info .s-name {
        font-size: 15px;
        padding-top: 28px;
    }

    .seller-detail .seller-shop-list .product-box-wrapper.product-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .seller-detail .basic-info .s-totals>span {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* ================================================================
   20. 2026 REFINEMENT LAYER (Noon-inspired readability)
   ================================================================ */
.seller-detail .section-basic-info {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.35), rgba(248, 250, 252, 0.95));
}

.seller-detail .seller-nav-tabs {
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.seller-detail .seller-nav-tabs a.is-active {
    color: var(--sp-accent);
    border-bottom-color: var(--sp-accent);
    background: linear-gradient(180deg, rgba(225, 78, 120, 0.08), rgba(225, 78, 120, 0.02));
}

.seller-detail .listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #fff;
}

.seller-detail .listing-toolbar-title {
    font-size: 13px;
    color: #64748b;
}

.seller-detail .listing-toolbar-title strong {
    color: #0f172a;
    font-size: 15px;
}

.seller-detail .section-empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    padding: 18px 14px;
    text-align: center;
    color: #64748b;
    margin-top: 8px;
}

.seller-detail .section-empty-state i {
    color: var(--sp-accent);
    margin-right: 6px;
}

.seller-mobile-actions {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 10030;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(8px);
}

.seller-mobile-actions .sma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.seller-mobile-actions .sma-btn.sma-primary {
    background: var(--sp-accent);
    border-color: var(--sp-accent);
    color: #fff;
}

@media (min-width: 768px) {
    .seller-mobile-actions {
        display: none !important;
    }
}