:root {
    --cg-vp-blue: #2d337f;
    --cg-vp-blue-dark: #171d58;
    --cg-vp-gold: #b89b65;
    --cg-vp-gold-soft: #f4ead6;
    --cg-vp-ink: #1f2433;
    --cg-vp-muted: #6d7280;
    --cg-vp-line: #e7e2d7;
    --cg-vp-bg: #faf8f3;
    --cg-vp-card: #ffffff;
    --cg-vp-shadow: 0 22px 60px rgba(26, 32, 76, .12);
}

.marketplace-seller-profile .page-title-wrapper { display: none !important; }
.marketplace-seller-profile .page-main { background: linear-gradient(180deg, #fff 0%, var(--cg-vp-bg) 100%); }
.marketplace-seller-profile .wk-mp-banner:not(.cg-vendor-banner) { display: none !important; }
.marketplace-seller-profile .wk_mp_design.cg-vendor-premium { margin-top: 18px; }
.marketplace-seller-profile .wk-mp-collection-container.cg-vendor-content { max-width: 1220px; margin: 0 auto; padding: 0 18px 46px; }

.cg-vendor-banner { max-width: 1220px; margin: 16px auto 0; border-radius: 28px; overflow: hidden; min-height: 0 !important; box-shadow: var(--cg-vp-shadow); }
.cg-vendor-banner .wk-mp-banner-image { display: block; width: 100%; max-height: 320px; object-fit: cover; }

.marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card {
    max-width: 1220px;
    margin: 18px auto 26px;
    padding: clamp(22px, 3vw, 38px);
    background:
        radial-gradient(circle at 0 0, rgba(184,155,101,.20), transparent 34%),
        linear-gradient(135deg, #fff 0%, #fbf8ef 45%, #f6f0e2 100%);
    border: 1px solid rgba(184, 155, 101, .32);
    border-radius: 30px;
    box-shadow: var(--cg-vp-shadow);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    float: none !important;
    min-height: 0 !important;
}

.cg-vendor-main { display: flex; gap: 22px; align-items: center; min-width: 0; }
.cg-vendor-logo-link { flex: 0 0 auto; text-decoration: none !important; }
.cg-vendor-logo,
.cg-vendor-monogram,
.marketplace-seller-profile .wk-mp-collection-logo.cg-vendor-logo,
.marketplace-seller-profile .wk-mp-collection-logo.cg-vendor-monogram {
    width: 104px !important;
    height: 104px !important;
    min-width: 104px;
    border-radius: 24px !important;
    border: 1px solid rgba(184,155,101,.45);
    background: linear-gradient(145deg, var(--cg-vp-blue), #11184b);
    box-shadow: 0 14px 30px rgba(45,51,127,.20);
    object-fit: cover;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 34px;
    letter-spacing: .08em;
}

.cg-vendor-copy { min-width: 0; }
.cg-vendor-eyebrow,
.cg-vendor-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cg-vp-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cg-vendor-eyebrow::before,
.cg-vendor-contact-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--cg-vp-gold); box-shadow: 0 0 0 4px rgba(184,155,101,.17); }
.cg-vendor-title { margin: 8px 0 10px !important; font-size: clamp(34px, 5vw, 62px) !important; line-height: .98 !important; font-weight: 900 !important; color: var(--cg-vp-blue-dark) !important; float: none !important; display: block !important; }
.cg-vendor-title a { color: inherit !important; text-decoration: none !important; }
.cg-vendor-summary { max-width: 700px; margin: 0; color: var(--cg-vp-muted); font-size: 16px; line-height: 1.65; }
.cg-vendor-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cg-vendor-chips span,
.cg-vendor-chips a {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(184,155,101,.28);
    color: var(--cg-vp-ink) !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
}

.cg-vendor-side { display: grid; gap: 14px; }
.marketplace-seller-profile .cg-vendor-metrics { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; float: none !important; width: 100% !important; }
.marketplace-seller-profile .cg-vendor-metric {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 82px;
    padding: 16px !important;
    border: 1px solid rgba(45,51,127,.11) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.84) !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(45,51,127,.07);
    width: auto !important;
    float: none !important;
}
.cg-vendor-metric strong { color: var(--cg-vp-blue); font-size: 26px; line-height: 1; font-weight: 900; }
.cg-vendor-metric span { margin-top: 6px; color: var(--cg-vp-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cg-vendor-metric--new strong { color: var(--cg-vp-gold); }

.marketplace-seller-profile .cg-vendor-nav { display: flex !important; flex-wrap: wrap; gap: 8px; align-items: center; float: none !important; width: 100% !important; }
.marketplace-seller-profile .cg-vendor-nav .wk-mp-seller-profile-box,
.cg-vendor-contact-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px !important;
    border: 1px solid rgba(45,51,127,.13) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.78) !important;
    color: var(--cg-vp-blue) !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
    width: auto !important;
    float: none !important;
    cursor: pointer;
}
.cg-vendor-contact-button { background: var(--cg-vp-blue) !important; color: #fff !important; border-color: var(--cg-vp-blue) !important; box-shadow: 0 12px 24px rgba(45,51,127,.22); }
.cg-vendor-contact-nav-item { padding: 0 !important; border: 0 !important; background: transparent !important; }
.cg-vendor-nav a:hover,
.cg-vendor-contact-button:hover { transform: translateY(-1px); }

.cg-vendor-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.cg-vendor-trust-row article,
.cg-vendor-section,
.cg-vendor-products,
.cg-vendor-rating-empty,
.cg-vendor-rating {
    background: var(--cg-vp-card);
    border: 1px solid var(--cg-vp-line);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(45,51,127,.07);
}
.cg-vendor-trust-row article { padding: 18px; }
.cg-vendor-trust-row strong { display: block; color: var(--cg-vp-blue); font-size: 15px; margin-bottom: 4px; }
.cg-vendor-trust-row span { color: var(--cg-vp-muted); font-size: 13px; line-height: 1.45; }

.cg-vendor-block-head,
.marketplace-seller-profile .cg-vendor-products .block-title { display: flex !important; justify-content: space-between; gap: 18px; align-items: flex-end; padding: 24px 26px 0 !important; margin: 0 !important; border: 0 !important; }
.cg-vendor-block-head h2 { margin: 6px 0 0; color: var(--cg-vp-blue-dark); font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.cg-vendor-block-head a { color: var(--cg-vp-blue); font-weight: 800; text-decoration: none; }
.cg-vendor-products { padding-bottom: 24px; margin-bottom: 24px; }
.cg-vendor-products-shell { padding: 0 !important; }
.cg-vendor-product-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; padding: 22px 26px 0 !important; }
.cg-vendor-product-card { width: auto !important; margin: 0 !important; }
.cg-vendor-product-card .product-item-info { height: 100%; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid rgba(45,51,127,.10); box-shadow: 0 12px 28px rgba(45,51,127,.06); transition: transform .2s ease, box-shadow .2s ease; }
.cg-vendor-product-card .product-item-info:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(45,51,127,.12); }
.cg-vendor-product-card .product-image-wrapper { border-radius: 18px; overflow: hidden; background: #f7f4ed; }
.cg-vendor-product-card .product-item-name a { color: var(--cg-vp-blue-dark) !important; font-weight: 850; text-decoration: none; }
.cg-vendor-product-card .price { color: var(--cg-vp-blue); font-weight: 900; }
.cg-vendor-product-actions { display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.cg-vendor-product-actions .tocart,
.cg-vendor-link-button,
.cg-vendor-view-collection a,
.cg-vendor-view-all-reviews a,
.cg-vendor-policy-links a,
.cg-vendor-primary {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    border: 1px solid var(--cg-vp-blue) !important;
    background: var(--cg-vp-blue) !important;
    color: #fff !important;
    font-weight: 850 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}
.cg-vendor-wishlist,
.cg-vendor-secondary { color: var(--cg-vp-blue) !important; font-weight: 800; text-decoration: none !important; background: #fff !important; border: 1px solid rgba(45,51,127,.16) !important; border-radius: 999px !important; padding: 10px 14px !important; }
.cg-vendor-view-collection { padding: 18px 26px 0; text-align: center; }

.cg-vendor-section { padding: clamp(22px, 3vw, 34px); margin: 0 0 24px; }
.cg-vendor-section-title { margin: 0 0 14px !important; color: var(--cg-vp-blue-dark) !important; font-size: clamp(24px, 3vw, 34px) !important; font-weight: 900 !important; text-align: left !important; border: 0 !important; float: none !important; width: auto !important; padding: 0 !important; }
.cg-vendor-section-title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 10px; border-radius: 99px; background: var(--cg-vp-gold); }
.marketplace-seller-profile .cg-vendor-prose { max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--cg-vp-ink); line-height: 1.75; font-size: 16px; text-align: left !important; }
.marketplace-seller-profile .cg-vendor-prose::before { display: none !important; }

.cg-vendor-rating-empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: clamp(22px, 3vw, 34px); margin: 0 0 24px; }
.cg-vendor-rating-empty__badge { width: 86px; height: 86px; border-radius: 22px; display: grid; place-items: center; text-align: center; background: linear-gradient(145deg, var(--cg-vp-blue), #12184b); color: #fff; font-weight: 900; line-height: 1.1; }
.cg-vendor-rating-empty h2,
.cg-vendor-policy-fallback h2 { margin: 0 0 8px; color: var(--cg-vp-blue-dark); font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.cg-vendor-rating-empty p,
.cg-vendor-policy-fallback p { margin: 0; color: var(--cg-vp-muted); line-height: 1.6; }

.cg-vendor-rating { padding: clamp(22px, 3vw, 34px); margin: 0 0 24px; }
.cg-vendor-rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.cg-vendor-rating-summary strong { color: var(--cg-vp-blue); font-size: 42px; line-height: 1; }
.cg-vendor-rating-summary a { color: var(--cg-vp-blue); font-weight: 800; }
.cg-vendor-rating-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.cg-vendor-rating-metrics article { padding: 16px; border-radius: 18px; background: var(--cg-vp-bg); border: 1px solid var(--cg-vp-line); }
.cg-vendor-rating-metrics strong { display: block; color: var(--cg-vp-blue); font-size: 24px; }
.cg-vendor-rating-metrics span { color: var(--cg-vp-muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.cg-vendor-review-list { display: grid; gap: 12px; }
.cg-vendor-review-card { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(45,51,127,.10); }
.cg-vendor-review-card header { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cg-vendor-review-card strong { color: var(--cg-vp-blue-dark); }
.cg-vendor-review-card header span { color: var(--cg-vp-muted); font-size: 13px; }
.cg-vendor-review-card p { margin: 10px 0 0; color: var(--cg-vp-ink); line-height: 1.65; }
.cg-vendor-view-all-reviews { margin-top: 18px; }

.cg-vendor-policies { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.cg-vendor-policy-fallback { display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.cg-vendor-policy-links { display: flex; gap: 10px; flex-wrap: wrap; }
.cg-vendor-policy-links a + a { background: #fff !important; color: var(--cg-vp-blue) !important; }

.cg-vendor-contact-modal .modal-inner-wrap { border-radius: 26px; overflow: hidden; box-shadow: 0 30px 90px rgba(17,24,75,.28); }
.cg-vendor-contact-modal .modal-header { background: linear-gradient(135deg, #fff, #f7f1e2); border-bottom: 1px solid var(--cg-vp-line); }
.cg-vendor-contact-modal .modal-title { color: var(--cg-vp-blue-dark); font-weight: 900; }
.cg-vendor-contact-form { padding: 0 6px 8px; }
.cg-vendor-contact-intro { margin-bottom: 20px; }
.cg-vendor-contact-intro h2 { margin: 8px 0; color: var(--cg-vp-blue-dark); font-weight: 900; font-size: 28px; }
.cg-vendor-contact-intro p { color: var(--cg-vp-muted); line-height: 1.6; margin: 0; }
.cg-vendor-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cg-vendor-contact-form .field { margin-bottom: 14px; }
.cg-vendor-contact-form .label { display: block; margin: 0 0 6px; color: var(--cg-vp-ink); font-weight: 800; }
.cg-vendor-contact-form input[type="text"],
.cg-vendor-contact-form input[type="email"],
.cg-vendor-contact-form textarea {
    width: 100% !important;
    border: 1px solid rgba(45,51,127,.18) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.cg-vendor-field-note { margin: 6px 0 0; color: var(--cg-vp-muted); font-size: 12px; }
.cg-vendor-honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cg-vendor-verification { padding: 14px; border-radius: 18px; background: var(--cg-vp-bg); border: 1px solid var(--cg-vp-line); }
.cg-vendor-verification-row { display: flex; align-items: center; gap: 10px; }
.cg-vendor-captcha-equation { color: var(--cg-vp-blue); font-weight: 900; }
.cg-vendor-verification input { max-width: 120px; }
.cg-vendor-contact-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 14px; }
.cg-vendor-contact-status { flex: 1 1 220px; font-weight: 800; }
.cg-vendor-contact-status.is-error { color: #a91d1d; }
.cg-vendor-contact-status.is-success { color: #147a42; }
.cg-vendor-contact-status.is-info { color: var(--cg-vp-blue); }
.cg-vendor-primary[disabled] { opacity: .7; cursor: wait; }

@media (max-width: 900px) {
    .marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card { grid-template-columns: 1fr; }
    .cg-vendor-trust-row { grid-template-columns: 1fr; }
    .cg-vendor-rating-empty { grid-template-columns: 1fr; }
    .cg-vendor-policy-fallback { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    .marketplace-seller-profile .wk-mp-collection-container.cg-vendor-content { padding-left: 12px; padding-right: 12px; }
    .marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card { margin-left: 12px; margin-right: 12px; border-radius: 24px; padding: 20px; }
    .cg-vendor-main { align-items: flex-start; flex-direction: column; }
    .cg-vendor-logo,
    .cg-vendor-monogram,
    .marketplace-seller-profile .wk-mp-collection-logo.cg-vendor-logo,
    .marketplace-seller-profile .wk-mp-collection-logo.cg-vendor-monogram { width: 82px !important; height: 82px !important; min-width: 82px; font-size: 27px; border-radius: 20px !important; }
    .marketplace-seller-profile .cg-vendor-metrics { grid-template-columns: 1fr 1fr; }
    .cg-vendor-form-grid { grid-template-columns: 1fr; }
    .cg-vendor-contact-actions { justify-content: stretch; }
    .cg-vendor-contact-actions button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .cg-vendor-product-card .product-item-info,
    .cg-vendor-nav a,
    .cg-vendor-contact-button { transition: none !important; }
}

/* CG vendor header width sync 2026-05-11: make shared vendor header match the page container. */
body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card,
body.marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card,
body.marketplace-seller-feedback .wk-mp-collection-header-box.cg-vendor-hero-card {
    width: 100% !important;
    max-width: 1220px !important;
    margin: 18px auto 26px !important;
    box-sizing: border-box !important;
    float: none !important;
}

body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card {
    padding: clamp(22px, 3vw, 38px) !important;
    background:
        radial-gradient(circle at 0 0, rgba(184,155,101,.20), transparent 34%),
        linear-gradient(135deg, #fff 0%, #fbf8ef 45%, #f6f0e2 100%) !important;
    border: 1px solid rgba(184,155,101,.32) !important;
    border-radius: 30px !important;
    box-shadow: 0 22px 60px rgba(26,32,76,.12) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) !important;
    gap: clamp(22px, 4vw, 44px) !important;
    align-items: center !important;
    min-height: 0 !important;
}

body.marketplace-seller-collection .cg-vendor-main {
    display: flex !important;
    gap: 22px !important;
    align-items: center !important;
    min-width: 0 !important;
}

body.marketplace-seller-collection .cg-vendor-side {
    display: grid !important;
    gap: 14px !important;
}

body.marketplace-seller-collection .cg-vendor-metrics {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    float: none !important;
}

body.marketplace-seller-collection .cg-vendor-metric {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-height: 82px !important;
    padding: 16px !important;
    border: 1px solid rgba(45,51,127,.11) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.84) !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(45,51,127,.07) !important;
    width: auto !important;
    float: none !important;
}

body.marketplace-seller-collection .cg-vendor-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    float: none !important;
}

body.marketplace-seller-collection .cg-vendor-nav .wk-mp-seller-profile-box,
body.marketplace-seller-collection .cg-vendor-contact-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(45,51,127,.13) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.78) !important;
    color: #2d337f !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
    width: auto !important;
    float: none !important;
}

body.marketplace-seller-collection .cg-vendor-contact-button {
    background: #2d337f !important;
    color: #fff !important;
    border-color: #2d337f !important;
    box-shadow: 0 12px 24px rgba(45,51,127,.22) !important;
}

body.marketplace-seller-collection .cg-vendor-contact-nav-item {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-hero,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-promise-row,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-layout,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-filter-retired {
    width: 100% !important;
    max-width: 1220px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card {
        grid-template-columns: 1fr !important;
    }

    body.marketplace-seller-collection .cg-vendor-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card,
    body.marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card,
    body.marketplace-seller-feedback .wk-mp-collection-header-box.cg-vendor-hero-card {
        width: calc(100% - 24px) !important;
        margin-top: 14px !important;
        margin-bottom: 18px !important;
        border-radius: 24px !important;
    }

    body.marketplace-seller-collection .cg-vendor-main {
        align-items: flex-start !important;
    }

    body.marketplace-seller-collection .cg-vendor-metrics {
        grid-template-columns: 1fr !important;
    }
}

/* CG vendor final visual fix 2026-05-11: container alignment, card text wrapping, toolbar cleanup. */
:root {
    --cg-vendor-final-container: 1220px;
    --cg-vendor-final-gutter: 36px;
    --cg-vendor-final-blue: #2d337f;
    --cg-vendor-final-navy: #171d58;
    --cg-vendor-final-gold: #b89b65;
    --cg-vendor-final-muted: #687083;
    --cg-vendor-final-line: rgba(45, 51, 127, .11);
    --cg-vendor-final-shadow: 0 22px 60px rgba(23, 29, 88, .11);
}

body.marketplace-seller-collection .column.main.main-wrap,
body.marketplace-seller-profile .column.main.main-wrap,
body.marketplace-seller-feedback .column.main.main-wrap {
    overflow: visible !important;
}

/* Same left/right line for the shared vendor hero and the content directly under it. */
body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card,
body.marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card,
body.marketplace-seller-feedback .wk-mp-collection-header-box.cg-vendor-hero-card,
body.marketplace-seller-profile .wk-mp-collection-container.cg-vendor-content,
body.marketplace-seller-feedback .wk-mp-collection-container.cg-vendor-content,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-hero,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-promise-row,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-layout,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-filter-retired {
    width: calc(100% - var(--cg-vendor-final-gutter)) !important;
    max-width: var(--cg-vendor-final-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    float: none !important;
}

body.marketplace-seller-profile .wk-mp-collection-container.cg-vendor-content,
body.marketplace-seller-feedback .wk-mp-collection-container.cg-vendor-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card,
body.marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card,
body.marketplace-seller-feedback .wk-mp-collection-header-box.cg-vendor-hero-card {
    margin-top: 18px !important;
    margin-bottom: 26px !important;
    padding: clamp(22px, 3vw, 38px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) !important;
    gap: clamp(22px, 4vw, 44px) !important;
    align-items: center !important;
    border: 1px solid rgba(184, 155, 101, .32) !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at 0 0, rgba(184,155,101,.20), transparent 34%),
        linear-gradient(135deg, #fff 0%, #fbf8ef 45%, #f6f0e2 100%) !important;
    box-shadow: var(--cg-vendor-final-shadow) !important;
    min-height: 0 !important;
}

/* Product grid: stable premium 3-column desktop, no hero/double tile. */
body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-grid,
body.marketplace-seller-collection .products-grid .product-items.cg-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-item,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-item.cg-product-item--hero {
    grid-column: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-item--hero .cg-product-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: auto !important;
    height: 100% !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-item--hero .cg-product-card__media-wrap {
    grid-row: auto !important;
    min-height: 0 !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card__media {
    min-height: 250px !important;
}

/* Product titles: never clip long names. */
body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card__title,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card__title a,
body.marketplace-seller-profile .cg-vendor-product-card .product-item-name,
body.marketplace-seller-profile .cg-vendor-product-card .product-item-name a,
body.marketplace-seller-feedback .cg-vendor-product-card .product-item-name,
body.marketplace-seller-feedback .cg-vendor-product-card .product-item-name a {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card__title a,
body.marketplace-seller-profile .cg-vendor-product-card .product-item-name a,
body.marketplace-seller-feedback .cg-vendor-product-card .product-item-name a {
    display: block !important;
    line-height: 1.28 !important;
}

/* Keep buy area at bottom while allowing the content area to grow for long names. */
body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card__content {
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card__buybox {
    margin-top: auto !important;
}

/* Toolbar: remove visual conflict, keep premium sort functionality. */
body.marketplace-seller-collection .cg-collection-toolbar-top {
    width: 100% !important;
    margin: 0 0 18px !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-toolbar {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) auto !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    border: 1px solid var(--cg-vendor-final-line) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 14px 38px rgba(23,29,88,.08) !important;
    backdrop-filter: blur(10px) !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-summary {
    min-width: 0 !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin: 0 !important;
    min-width: 0 !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-modes,
body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-field--limit,
body.marketplace-seller-collection .cg-vendor-collection-page .field.limiter,
body.marketplace-seller-collection .cg-vendor-collection-page .modes {
    display: none !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-field--sort {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 5px 6px 5px 14px !important;
    border: 1px solid rgba(45,51,127,.12) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-field--sort label {
    margin: 0 !important;
    color: var(--cg-vendor-final-muted) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-select {
    width: auto !important;
    min-width: 170px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 30px 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: #f8f7fb !important;
    color: var(--cg-vendor-final-navy) !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
}

body.marketplace-seller-collection .cg-vendor-collection-page .cg-sort-direction {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: var(--cg-vendor-final-blue) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

/* Old filter/sidebar should stay gone even if an older cached block renders. */
body.marketplace-seller-collection .cg-collection-mobile-tools,
body.marketplace-seller-collection .cg-collection-filters,
body.marketplace-seller-collection #cg-seller-filters,
body.marketplace-seller-collection .cg-filter-panel,
body.marketplace-seller-collection .block.filter,
body.marketplace-seller-collection .cg-layered-filter,
body.marketplace-seller-collection .columns .sidebar {
    display: none !important;
}

@media (max-width: 980px) {
    body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card,
    body.marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card,
    body.marketplace-seller-feedback .wk-mp-collection-header-box.cg-vendor-hero-card {
        grid-template-columns: 1fr !important;
    }

    body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-grid,
    body.marketplace-seller-collection .products-grid .product-items.cg-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    :root {
        --cg-vendor-final-gutter: 24px;
    }

    body.marketplace-seller-collection .wk-mp-collection-header-box.cg-vendor-hero-card,
    body.marketplace-seller-profile .wk-mp-collection-header-box.cg-vendor-hero-card,
    body.marketplace-seller-feedback .wk-mp-collection-header-box.cg-vendor-hero-card {
        border-radius: 24px !important;
        margin-top: 14px !important;
        margin-bottom: 18px !important;
        padding: 20px !important;
    }

    body.marketplace-seller-collection .cg-vendor-collection-page .cg-collection-toolbar {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-controls,
    body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-field--sort {
        width: 100% !important;
        justify-content: space-between !important;
    }

    body.marketplace-seller-collection .cg-vendor-collection-page .cg-toolbar-select {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
}

@media (max-width: 520px) {
    body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-grid,
    body.marketplace-seller-collection .products-grid .product-items.cg-product-grid {
        grid-template-columns: 1fr !important;
    }

    body.marketplace-seller-collection .cg-vendor-collection-page .cg-product-card__media {
        min-height: 230px !important;
    }
}
