/**
 * Zrali Markt - marketplace UI
 * Sign-up / login pages, vendor shop page, seller cards, product "sold by" card,
 * vendor profile form (Contact & Social tab), WhatsApp and social media links.
 * Mobile first, no external dependencies.
 */

:root {
    --zmp-orange: #ee6524;
    --zmp-orange-dark: #c94f14;
    --zmp-orange-soft: #fff1e9;
    --zmp-ink: #3a3a3c;
    --zmp-ink-strong: #1f1f21;
    --zmp-muted: #6b6b70;
    --zmp-line: #e4e4e7;
    --zmp-bg: #f6f6f7;
    --zmp-white: #ffffff;
    --zmp-wa: #15803d;
    --zmp-wa-dark: #166534;
    --zmp-wa-bright: #25d366;
    --zmp-radius: 14px;
    --zmp-radius-sm: 10px;
    --zmp-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
    --zmp-shadow-lg: 0 10px 30px rgba(16, 24, 40, .12);
    --zmp-focus: 0 0 0 3px rgba(238, 101, 36, .25);
}

/* ------------------------------------------------------------------ */
/* Icons, buttons, chips                                               */
/* ------------------------------------------------------------------ */

.zmp-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    vertical-align: middle;
}

.zmp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease;
}

.zmp-btn:active {
    transform: translateY(1px);
}

.zmp-btn:focus-visible {
    outline: none;
    box-shadow: var(--zmp-focus);
}

.zmp-btn--primary {
    background: var(--zmp-orange);
    color: #fff !important;
}

.zmp-btn--primary:hover {
    background: var(--zmp-orange-dark);
}

.zmp-btn--wa {
    background: var(--zmp-wa);
    color: #fff !important;
}

.zmp-btn--wa:hover {
    background: var(--zmp-wa-dark);
}

.zmp-btn--ghost {
    background: var(--zmp-white);
    border-color: var(--zmp-line);
    color: var(--zmp-ink) !important;
}

.zmp-btn--ghost:hover {
    border-color: var(--zmp-ink);
}

.zmp-btn--outline {
    background: transparent;
    border-color: var(--zmp-orange);
    color: var(--zmp-orange-dark) !important;
}

.zmp-btn--outline:hover {
    background: var(--zmp-orange);
    color: #fff !important;
}

.zmp-btn--icon {
    width: 44px;
    padding: 0;
    background: var(--zmp-white);
    border-color: var(--zmp-line);
    color: var(--zmp-ink);
}

.zmp-btn--icon:hover {
    border-color: var(--zmp-ink);
}

.zmp-btn--sm {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 14px;
}

.zmp-btn--sm .zmp-ico {
    width: 18px;
    height: 18px;
}

.zmp-btn--block {
    width: 100%;
}

.zmp-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--zmp-line);
    border-radius: 999px;
    background: var(--zmp-white);
    color: var(--zmp-ink) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
}

.zmp-chip:hover {
    border-color: var(--zmp-orange);
    color: var(--zmp-orange-dark) !important;
}

.zmp-chip--muted {
    color: var(--zmp-muted) !important;
}

.zmp-muted {
    color: var(--zmp-muted);
}

.zmp-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--zmp-orange-dark);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* Social icons */
.zmp-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zmp-social__link {
    --zmp-net: var(--zmp-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--zmp-line);
    border-radius: 50%;
    background: var(--zmp-white);
    color: var(--zmp-net) !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.zmp-social__link:hover,
.zmp-social__link:focus-visible {
    background: var(--zmp-net);
    border-color: var(--zmp-net);
    color: #fff !important;
    transform: translateY(-2px);
    outline: none;
}

.zmp-social--sm .zmp-social__link {
    width: 34px;
    height: 34px;
}

.zmp-social--sm .zmp-ico {
    width: 17px;
    height: 17px;
}

.zmp-social--facebook { --zmp-net: #0866ff; }
.zmp-social--instagram { --zmp-net: #e1306c; }
.zmp-social--tiktok { --zmp-net: #111111; }
.zmp-social--x { --zmp-net: #111111; }
.zmp-social--youtube { --zmp-net: #ff0000; }
.zmp-social--telegram { --zmp-net: #229ed9; }
.zmp-social--website { --zmp-net: var(--zmp-orange-dark); }

.zmp-c-wa { color: var(--zmp-wa-bright); }
.zmp-c-facebook { color: #0866ff; }
.zmp-c-instagram { color: #e1306c; }
.zmp-c-tiktok,
.zmp-c-x { color: #111; }
.zmp-c-youtube { color: #ff0000; }
.zmp-c-telegram { color: #229ed9; }

/* Floating WhatsApp button (mobile, shop pages) */
.zmp-wa-float {
    position: fixed;
    right: 16px;
    bottom: 84px;
    z-index: 1040;
    display: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--zmp-wa-bright);
    color: #fff !important;
    box-shadow: var(--zmp-shadow-lg);
}

.zmp-wa-float .zmp-ico {
    width: 30px;
    height: 30px;
}

.zmp-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--zmp-ink-strong);
    color: #fff;
    font-size: 14px;
    transform: translate(-50%, 20px);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.zmp-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ------------------------------------------------------------------ */
/* Vendor shop page header                                             */
/* ------------------------------------------------------------------ */

.zmp-store {
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--zmp-line);
    border-radius: var(--zmp-radius);
    background: var(--zmp-white);
    box-shadow: var(--zmp-shadow);
    padding: 0 !important;
}

.zmp-store__cover {
    position: relative;
    width: 100%;
    height: clamp(130px, 26vw, 300px);
    overflow: hidden;
    background: linear-gradient(135deg, var(--zmp-ink) 0%, #57575a 60%, var(--zmp-orange) 140%);
}

.zmp-store__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zmp-store__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 16px 16px;
    text-align: center;
}

.zmp-store__logo {
    position: relative;
    z-index: 2;
    display: block;
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    margin-top: -48px;
    overflow: hidden;
    border: 4px solid var(--zmp-white);
    border-radius: 20px;
    background: var(--zmp-white);
    box-shadow: var(--zmp-shadow);
}

.zmp-store__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zmp-store__id {
    min-width: 0;
}

.zmp-store__name {
    margin: 0 0 6px;
    color: var(--zmp-ink-strong);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    word-break: break-word;
}

.zmp-store__rating {
    margin-bottom: 8px;
}

.zmp-stars-link,
.zmp-seller-card__rating,
.zmp-soldby__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zmp-muted) !important;
    font-size: 14px;
    text-decoration: none !important;
}

.zmp-store .vss_seller_ratings,
.zmp-seller-card .vss_seller_ratings,
.zmp-soldby .vss_seller_ratings {
    position: relative;
    display: inline-block;
    color: #d4d4d8;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
}

.zmp-store .vss_rating_unfilled,
.zmp-seller-card .vss_rating_unfilled,
.zmp-soldby .vss_rating_unfilled {
    display: block;
}

.zmp-store .vss_rating_filled,
.zmp-seller-card .vss_rating_filled,
.zmp-soldby .vss_rating_filled {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    color: #f59e0b;
    white-space: nowrap;
}

.zmp-store__facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--zmp-muted);
    font-size: 14px;
}

.zmp-store__facts li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.zmp-store__facts .zmp-ico {
    width: 16px;
    height: 16px;
    color: var(--zmp-orange);
}

.zmp-store__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.zmp-store__cta .zmp-btn--wa {
    flex: 1 1 100%;
}

.zmp-fav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zmp-fav i {
    display: inline-flex;
    font-style: normal;
}

.zmp-fav a {
    color: inherit !important;
    text-decoration: none !important;
}

.zmp-store__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    padding: 14px 16px;
    border-top: 1px solid var(--zmp-line);
}

.zmp-store__social-label {
    color: var(--zmp-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.zmp-store__wa-number {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--zmp-wa) !important;
    font-weight: 600;
    text-decoration: none !important;
}

.zmp-store__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--zmp-line);
}

.zmp-store .zmp-section {
    margin: 0;
    padding: 18px 16px;
    border: 0;
    border-top: 1px solid var(--zmp-line);
    border-radius: 0;
    box-shadow: none;
}

.zmp-store .zmp-section .page-product-heading {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--zmp-ink-strong);
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
}

.zmp-policies {
    border-top: 1px solid var(--zmp-line);
}

.zmp-policy {
    border-bottom: 1px solid var(--zmp-line);
}

.zmp-policy:last-child {
    border-bottom: 0;
}

.zmp-policy summary {
    position: relative;
    padding: 16px 48px 16px 16px;
    color: var(--zmp-ink-strong);
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.zmp-policy summary::-webkit-details-marker {
    display: none;
}

.zmp-policy summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--zmp-muted);
    border-bottom: 2px solid var(--zmp-muted);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}

.zmp-policy[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.zmp-policy .rte {
    padding: 0 16px 16px;
    color: var(--zmp-ink);
}

@media (min-width: 768px) {
    .zmp-store__bar {
        flex-direction: row;
        align-items: flex-end;
        gap: 20px;
        padding: 0 24px 20px;
        text-align: left;
    }

    .zmp-store__logo {
        width: 120px;
        height: 120px;
        margin-top: -40px;
    }

    .zmp-store__id {
        flex: 1 1 auto;
        padding-top: 14px;
    }

    .zmp-store__name {
        font-size: 28px;
    }

    .zmp-store__facts {
        justify-content: flex-start;
    }

    .zmp-store__cta {
        flex: 0 0 auto;
        justify-content: flex-end;
        width: auto;
    }

    .zmp-store__cta .zmp-btn--wa {
        flex: 0 0 auto;
    }

    .zmp-store__social,
    .zmp-store__links {
        justify-content: flex-start;
        padding-left: 24px;
        padding-right: 24px;
    }

    .zmp-store .zmp-section,
    .zmp-policy summary {
        padding-left: 24px;
    }

    .zmp-policy .rte {
        padding: 0 24px 18px;
    }
}

@media (max-width: 767.98px) {
    .zmp-wa-float {
        display: inline-flex;
    }

    .zmp-store__cta .zmp-btn--ghost {
        flex: 1 1 auto;
    }
}

/* Products block under the shop header */
#module-kbmarketplace-sellerfront .slr-f-box {
    border-radius: var(--zmp-radius);
}

#module-kbmarketplace-sellerfront .s-p-filter select {
    min-height: 40px;
    border: 1px solid var(--zmp-line);
    border-radius: var(--zmp-radius-sm);
    padding: 6px 10px;
}

/* ------------------------------------------------------------------ */
/* Sellers page                                                        */
/* ------------------------------------------------------------------ */

.zmp-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 18px;
}

.zmp-page-head .page-heading {
    margin: 0;
    border: 0;
    font-size: 28px;
    font-weight: 700;
}

.zmp-lead {
    margin: 6px 0 0;
    color: var(--zmp-muted);
    font-size: 15px;
}

.zmp-sellers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin: 0 0 24px;
}

.zmp-seller-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px 14px;
    border: 1px solid var(--zmp-line);
    border-radius: var(--zmp-radius);
    background: var(--zmp-white);
    box-shadow: var(--zmp-shadow);
    text-align: center;
    transition: box-shadow .2s ease, transform .2s ease;
}

.zmp-seller-card:hover {
    box-shadow: var(--zmp-shadow-lg);
    transform: translateY(-2px);
}

.zmp-seller-card__logo {
    display: block;
    width: 88px;
    height: 88px;
    overflow: hidden;
    border: 1px solid var(--zmp-line);
    border-radius: 18px;
    background: var(--zmp-bg);
}

.zmp-seller-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zmp-seller-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.zmp-seller-card__name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

.zmp-seller-card__name a {
    color: var(--zmp-ink-strong) !important;
    text-decoration: none !important;
}

.zmp-seller-card__place {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: var(--zmp-muted);
    font-size: 13px;
}

.zmp-seller-card__place .zmp-ico {
    width: 15px;
    height: 15px;
    color: var(--zmp-orange);
}

.zmp-seller-card__body .zmp-social {
    justify-content: center;
    margin-top: 4px;
}

.zmp-seller-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}

.zmp-seller-card__actions .zmp-btn {
    flex: 1 1 auto;
}

.zmp-seller-card__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--zmp-line);
    font-size: 13px;
}

.zmp-seller-card__foot a {
    color: var(--zmp-muted) !important;
}

.zmp-seller-card__foot a:hover {
    color: var(--zmp-orange-dark) !important;
}

/* ------------------------------------------------------------------ */
/* Product page "Sold by" card                                         */
/* ------------------------------------------------------------------ */

.zmp-soldby {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
    padding: 16px !important;
    border: 1px solid var(--zmp-line) !important;
    border-radius: var(--zmp-radius);
    background: var(--zmp-white) !important;
    box-shadow: var(--zmp-shadow);
}

.zmp-soldby__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.zmp-soldby__label {
    width: 100%;
    color: var(--zmp-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.zmp-soldby__name {
    color: var(--zmp-ink-strong) !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
}

.zmp-soldby__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zmp-soldby__cta .zmp-btn {
    min-width: 0;
}

.zmp-soldby__cta .zmp-btn--wa {
    flex: 1 1 200px;
    white-space: normal;
    text-align: left;
}

.zmp-soldby__cta .zmp-btn--ghost {
    flex: 0 0 auto;
}

.zmp-soldby__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--zmp-line);
    font-size: 14px;
}

.zmp-soldby__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zmp-ink) !important;
    text-decoration: none !important;
}

.zmp-soldby__links a:hover {
    color: var(--zmp-orange-dark) !important;
}

.zmp-soldby__links .zmp-ico {
    width: 18px;
    height: 18px;
    color: var(--zmp-orange);
}

.zmp-soldby__links .zmp-fav .zmp-ico,
.zmp-fav .shortlist_link .zmp-ico {
    color: inherit;
}

.zmp-soldby__links .zmp-fav {
    gap: 8px;
}

/* ------------------------------------------------------------------ */
/* Login & sign-up pages                                               */
/* ------------------------------------------------------------------ */

body#authentication #content,
body#registration #content,
body#password #content {
    max-width: 520px;
    margin: 8px auto 40px;
    padding: 24px 20px;
    border: 1px solid var(--zmp-line);
    border-radius: 20px;
    background: var(--zmp-white);
    box-shadow: var(--zmp-shadow-lg);
}

body#registration #content {
    max-width: 760px;
}

body#authentication .page-header h1,
body#registration .page-header h1,
body#password .page-header h1,
body#authentication #main > header h1,
body#registration #main > header h1 {
    margin-bottom: 8px;
    color: var(--zmp-ink-strong);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-transform: none;
}

body#authentication #content .form-group.row,
body#registration #content .form-group.row,
body#password #content .form-group.row {
    display: flex;
    flex-direction: column;
    margin: 0 0 16px;
}

body#authentication #content .form-group.row > [class*="col-"],
body#registration #content .form-group.row > [class*="col-"],
body#password #content .form-group.row > [class*="col-"] {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: left;
}

body#authentication #content .form-control-label,
body#registration #content .form-control-label,
body#password #content .form-control-label {
    margin-bottom: 6px;
    padding-top: 0;
    color: var(--zmp-ink-strong);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

body#authentication #content .form-control,
body#registration #content .form-control,
body#password #content .form-control {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 12px;
    background: var(--zmp-white);
    color: var(--zmp-ink-strong);
    font-size: 16px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

body#authentication #content .form-control:focus,
body#registration #content .form-control:focus,
body#password #content .form-control:focus {
    border-color: var(--zmp-orange);
    box-shadow: var(--zmp-focus);
    outline: none;
}

body#authentication #content .input-group .form-control,
body#registration #content .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

body#authentication #content .input-group-btn .btn,
body#registration #content .input-group-btn .btn,
body#authentication #content .input-group button[data-action="show-password"],
body#registration #content .input-group button[data-action="show-password"] {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d4d4d8;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: var(--zmp-bg);
    color: var(--zmp-ink);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

body#authentication #content .form-control-comment,
body#registration #content .form-control-comment {
    margin-top: 4px;
    padding: 0;
    color: var(--zmp-muted);
    font-size: 13px;
    text-align: left;
}

body#authentication #content .form-footer,
body#registration #content .form-footer,
body#password #content .form-footer {
    margin-top: 8px;
    text-align: center;
}

body#authentication #content .form-footer .btn,
body#registration #content .form-footer .btn,
body#password #content .form-footer .btn,
body#authentication #content #submit-login,
body#registration #content .form-control-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: var(--zmp-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 6px 16px rgba(238, 101, 36, .28);
    transition: background-color .15s ease, transform .1s ease;
}

body#authentication #content .form-footer .btn:hover,
body#registration #content .form-footer .btn:hover,
body#password #content .form-footer .btn:hover,
body#authentication #content #submit-login:hover,
body#registration #content .form-control-submit:hover {
    background: var(--zmp-orange-dark);
}

body#authentication #content .forgot-password {
    margin: -4px 0 12px;
    text-align: right;
}

body#authentication #content .forgot-password a,
body#authentication #content .no-account a,
body#registration #content .register-form > p a {
    color: var(--zmp-orange-dark);
    font-weight: 600;
}

body#authentication #content .no-account {
    margin-top: 16px;
    text-align: center;
}

body#authentication #content hr {
    margin: 20px 0;
    border-color: var(--zmp-line);
}

body#registration #content .register-form > p {
    margin-bottom: 18px;
    color: var(--zmp-muted);
    text-align: center;
}

body#registration #content .custom-checkbox,
body#registration #content .custom-radio {
    margin-right: 6px;
}

body#registration #content .form-group.row .radio-inline {
    margin-right: 16px;
}

body#registration #content .zmp-reg-same {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--zmp-muted);
    font-size: 14px;
    font-weight: 500;
}

body#registration #content .kb_custom_field_block {
    margin: 4px 0 8px;
    padding: 16px;
    border: 1px dashed #f3b48f;
    border-radius: var(--zmp-radius);
    background: var(--zmp-orange-soft);
}

@media (min-width: 768px) {
    body#authentication #content,
    body#password #content {
        padding: 36px 40px;
    }

    body#registration #content {
        padding: 36px 48px;
    }
}

/* "Sell on Zrali Markt" card (login + sign-up) */
.zmp-sell-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    margin: 20px 0 8px;
    padding: 16px;
    border: 1px solid #f7cdb6;
    border-radius: var(--zmp-radius);
    background: var(--zmp-orange-soft);
    text-align: left;
}

.zmp-sell-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--zmp-orange);
    color: #fff;
}

.zmp-sell-cta__text {
    display: flex;
    flex: 1 1 180px;
    flex-direction: column;
    gap: 2px;
    color: var(--zmp-ink);
    font-size: 14px;
}

.zmp-sell-cta__text strong {
    color: var(--zmp-ink-strong);
    font-size: 15px;
}

.zmp-sell-cta .zmp-btn {
    flex: 1 1 100%;
}

@media (min-width: 576px) {
    .zmp-sell-cta .zmp-btn {
        flex: 0 0 auto;
    }
}

.zmp-sell-cta--compact {
    margin: 0 0 20px;
}

/* Seller sign-up hero */
.zmp-hero {
    margin: 0 0 24px;
    padding: 22px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--zmp-ink) 0%, #4a4a4d 70%);
    color: #fff;
    text-align: left;
}

.zmp-hero__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--zmp-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.zmp-hero h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.zmp-hero__benefits {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.zmp-hero__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
}

.zmp-hero__benefits .zmp-ico {
    margin-top: 1px;
    color: #ffb08a;
}

.zmp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.zmp-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    text-align: center;
}

.zmp-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-weight: 700;
}

.zmp-steps li.is-active {
    background: rgba(238, 101, 36, .2);
    color: #fff;
}

.zmp-steps li.is-active span {
    background: var(--zmp-orange);
}

.zmp-hero__note {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
}

@media (min-width: 768px) {
    .zmp-hero {
        padding: 28px 32px;
    }

    .zmp-hero h2 {
        font-size: 28px;
    }

    .zmp-steps li {
        flex-direction: row;
        justify-content: center;
        font-size: 13px;
    }
}

/* ------------------------------------------------------------------ */
/* Vendor profile form - Contact & Social tab                          */
/* ------------------------------------------------------------------ */

#sellerprofile-panel .kb-tabs li.zmp-tab-new {
    position: relative;
}

#sellerprofile-panel .kb-tabs li.zmp-tab-new::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--zmp-orange);
}

.zmp-social-tab {
    padding: 4px 0 8px;
}

.zmp-card {
    margin: 0 0 16px;
    padding: 18px 16px;
    border: 1px solid var(--zmp-line);
    border-radius: var(--zmp-radius);
    background: var(--zmp-white);
}

.zmp-card h3 {
    margin: 0 0 4px;
    color: var(--zmp-ink-strong);
    font-size: 17px;
    font-weight: 700;
    text-transform: none;
}

.zmp-card p {
    margin: 0;
    color: var(--zmp-muted);
    font-size: 14px;
}

.zmp-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.zmp-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--zmp-orange-soft);
    color: var(--zmp-orange-dark);
}

.zmp-badge--wa {
    background: #e8f8ee;
    color: var(--zmp-wa);
}

.zmp-completeness {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, #fff 0%, var(--zmp-orange-soft) 100%);
}

.zmp-completeness strong span {
    color: var(--zmp-orange-dark);
}

.zmp-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #f1e2d9;
}

.zmp-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--zmp-orange) 0%, #f59e0b 100%);
    transition: width .4s ease;
}

.zmp-field {
    margin-bottom: 14px;
}

.zmp-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--zmp-ink-strong);
    font-size: 14px;
    font-weight: 600;
}

.zmp-field input[type="text"],
.zmp-field input[type="tel"] {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 12px;
    background: #fff;
    color: var(--zmp-ink-strong);
    font-size: 16px;
    box-shadow: none;
}

.zmp-field input:focus {
    border-color: var(--zmp-orange);
    box-shadow: var(--zmp-focus);
    outline: none;
}

.zmp-field input.is-invalid {
    border-color: #dc2626;
}

.zmp-input {
    position: relative;
}

.zmp-input--icon input[type="text"],
.zmp-input--icon input[type="tel"] {
    padding-left: 44px;
}

.zmp-input__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    display: inline-flex;
    transform: translateY(-50%);
    pointer-events: none;
}

.zmp-help {
    margin-top: 6px;
    color: var(--zmp-muted);
    font-size: 13px;
}

.zmp-field-error {
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
}

.zmp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 16px;
}

@media (min-width: 768px) {
    .zmp-grid {
        grid-template-columns: 1fr 1fr;
    }

    .zmp-field--full {
        grid-column: 1 / -1;
    }

    .zmp-card {
        padding: 22px 24px;
    }

    .zmp-completeness {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .zmp-completeness__text {
        flex: 1 1 auto;
    }

    .zmp-completeness .zmp-progress {
        flex: 0 0 240px;
    }
}

.zmp-switches {
    display: grid;
    gap: 12px;
}

.zmp-switch {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    color: var(--zmp-ink);
    font-size: 14px;
    font-weight: 500 !important;
    cursor: pointer;
}

.zmp-switch input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.zmp-switch__ui {
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: #d4d4d8;
    transition: background-color .2s ease;
}

.zmp-switch__ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: transform .2s ease;
}

.zmp-switch input:checked + .zmp-switch__ui {
    background: var(--zmp-wa);
}

.zmp-switch input:checked + .zmp-switch__ui::after {
    transform: translateX(18px);
}

.zmp-switch input:focus-visible + .zmp-switch__ui {
    box-shadow: var(--zmp-focus);
}

.zmp-preview-card {
    background: var(--zmp-bg);
}

.zmp-preview-card h3 {
    margin-bottom: 12px;
}

.zmp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.zmp-preview-card [data-zmp-preview].is-hidden {
    display: none !important;
}

/* ------------------------------------------------------------------ */
/* "Your account" page - seller block                                  */
/* ------------------------------------------------------------------ */

.zmp-acc.zmp-acc {
    display: block !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 100%;
    margin: 18px 0 6px;
    padding: 0 !important;
    container-type: inline-size;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.4;
    color: var(--zmp-ink);
    text-transform: none;
}
.zmp-acc *,
.zmp-acc *::before,
.zmp-acc *::after { box-sizing: border-box; }

.zmp-acc .zmp-acc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--zmp-line);
}
.zmp-acc .zmp-acc-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--zmp-ink-strong);
    text-transform: none;
    letter-spacing: 0;
}
.zmp-acc .zmp-acc-head-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--zmp-orange);
    color: #fff;
}
.zmp-acc .zmp-acc-head-ico svg { width: 18px; height: 18px; }

/* Seller summary card */
.zmp-acc .zmp-acc-card {
    background: linear-gradient(160deg, #3a3a3c 0%, #262628 100%);
    color: #fff;
    border-radius: var(--zmp-radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--zmp-shadow);
}
.zmp-acc .zmp-acc-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.zmp-acc .zmp-acc-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, .85);
}
.zmp-acc .zmp-acc-id-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.zmp-acc .zmp-acc-id-txt strong {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zmp-acc .zmp-acc-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}
.zmp-acc .zmp-acc-status i { width: 8px; height: 8px; border-radius: 50%; background: #a1a1aa; }
.zmp-acc .zmp-acc-status--live i { background: var(--zmp-wa-bright); box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.zmp-acc .zmp-acc-status--wait i { background: #fbbf24; }
.zmp-acc .zmp-acc-status--off i { background: #f87171; }

.zmp-acc .zmp-acc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}
.zmp-acc a.zmp-acc-stat {
    display: flex !important;
    flex-direction: column;
    padding: 10px 12px !important;
    border-radius: var(--zmp-radius-sm);
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background .15s;
}
.zmp-acc a.zmp-acc-stat:hover { background: rgba(255, 255, 255, .16); }
.zmp-acc .zmp-acc-stat b { font-size: 20px; font-weight: 700; line-height: 1.1; }
.zmp-acc .zmp-acc-stat span { font-size: 12px; opacity: .75; }

.zmp-acc .zmp-acc-progress {
    height: 6px;
    margin-top: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
}
.zmp-acc .zmp-acc-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--zmp-orange);
}

.zmp-acc a.zmp-acc-nudge {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px !important;
    border-radius: var(--zmp-radius-sm);
    background: rgba(37, 211, 102, .14);
    color: #dcfce7 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    text-transform: none !important;
}
.zmp-acc a.zmp-acc-nudge:hover { background: rgba(37, 211, 102, .22); }
.zmp-acc a.zmp-acc-nudge--soft { background: rgba(238, 101, 36, .18); color: #ffe4d6 !important; }
.zmp-acc .zmp-acc-nudge-ico svg { width: 18px; height: 18px; color: var(--zmp-wa-bright); fill: currentColor; }

.zmp-acc .zmp-acc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.zmp-acc a.zmp-acc-btn {
    display: inline-flex !important;
    flex: 1 1 120px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 14px !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap;
    transition: background .15s, transform .15s;
}
.zmp-acc a.zmp-acc-btn:hover { background: rgba(255, 255, 255, .1); }
.zmp-acc a.zmp-acc-btn--primary {
    border-color: var(--zmp-orange);
    background: var(--zmp-orange);
}
.zmp-acc a.zmp-acc-btn--primary:hover { background: var(--zmp-orange-dark); border-color: var(--zmp-orange-dark); }
.zmp-acc a.zmp-acc-btn svg { width: 16px; height: 16px; }
.zmp-acc a.zmp-acc-btn:focus-visible,
.zmp-acc a.zmp-acc-tile:focus-visible,
.zmp-acc a.zmp-acc-stat:focus-visible { outline: none; box-shadow: var(--zmp-focus); }

/* Menu groups and tiles */
.zmp-acc .zmp-acc-group { margin-bottom: 14px; }
.zmp-acc .zmp-acc-group h3 {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zmp-muted);
}
.zmp-acc .zmp-acc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 6px;
}
.zmp-acc a.zmp-acc-tile { padding: 8px 10px !important; }
.zmp-acc a.zmp-acc-tile {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-height: 56px;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--zmp-line);
    border-radius: 12px;
    background: #fff;
    color: var(--zmp-ink) !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.zmp-acc a.zmp-acc-tile:hover {
    border-color: var(--zmp-orange);
    box-shadow: var(--zmp-shadow);
    transform: translateY(-1px);
}
.zmp-acc a.zmp-acc-tile.is-active { border-color: var(--zmp-orange); background: var(--zmp-orange-soft); }
.zmp-acc .zmp-acc-tile-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--zmp-orange-soft);
    color: var(--zmp-orange);
    transition: background .15s, color .15s;
}
.zmp-acc a.zmp-acc-tile:hover .zmp-acc-tile-ico { background: var(--zmp-orange); color: #fff; }
.zmp-acc .zmp-acc-tile-ico .kb-material-icons {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: inherit !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
}
.zmp-acc .zmp-acc-tile-txt {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--zmp-ink-strong);
    word-break: normal;
    overflow-wrap: normal;
    hyphens: auto;
}
.zmp-acc .zmp-acc-group--money .zmp-acc-tile-ico { background: #ecfdf5; color: var(--zmp-wa); }
.zmp-acc .zmp-acc-group--customers .zmp-acc-tile-ico { background: #eff6ff; color: #2563eb; }

/* Guest: "Sell on Zrali Markt" card */
.zmp-acc .zmp-acc-cta {
    position: relative;
    padding: 18px;
    border-radius: var(--zmp-radius);
    background: linear-gradient(150deg, #3a3a3c 0%, #262628 100%);
    color: #fff;
    overflow: hidden;
}
.zmp-acc .zmp-acc-cta::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(238, 101, 36, .35);
    pointer-events: none;
}
.zmp-acc .zmp-acc-cta-ico {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--zmp-orange);
    margin-bottom: 10px;
}
.zmp-acc .zmp-acc-cta-ico svg { width: 22px; height: 22px; }
.zmp-acc .zmp-acc-cta strong { display: block; font-size: 17px; margin-bottom: 4px; color: #fff; }
.zmp-acc .zmp-acc-cta p { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, .8); position: relative; z-index: 1; }
.zmp-acc .zmp-acc-cta .zmp-acc-btn { position: relative; z-index: 1; width: 100%; }

@media (min-width: 992px) {
    /* wide main column (themes that show the links in the content area) */
    .zmp-acc .zmp-acc-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
}
@media (max-width: 380px) {
    .zmp-acc .zmp-acc-grid { grid-template-columns: 1fr 1fr; }
    .zmp-acc a.zmp-acc-tile { min-height: 78px; padding: 10px !important; }
}

/* Narrow sidebar: one clean list instead of squeezed tiles */
@container (max-width: 330px) {
    .zmp-acc .zmp-acc-grid { grid-template-columns: 1fr; gap: 4px; }
    .zmp-acc a.zmp-acc-tile { min-height: 46px; padding: 6px 10px !important; border-color: transparent; background: transparent; }
    .zmp-acc a.zmp-acc-tile:hover { background: var(--zmp-bg); border-color: transparent; box-shadow: none; transform: none; }
    .zmp-acc .zmp-acc-tile-txt { font-size: 13.5px; }
}

/* Light polish for the theme's own account links and address cards */
body#my-account .link-item { transition: color .15s; }
body#my-account a:hover > .link-item,
body#my-account a:hover > .link-item i { color: var(--zmp-orange); }
body#my-account .address {
    border-radius: var(--zmp-radius);
    transition: box-shadow .15s;
}
body#my-account .address:hover { box-shadow: var(--zmp-shadow); }

/* Keep room for the icons inside social / WhatsApp fields, whatever the theme sets */
.zmp-input.zmp-input--icon input[type="text"],
.zmp-input.zmp-input--icon input[type="tel"],
.zmp-input.zmp-input--icon input[type="url"] { padding-left: 46px !important; }
.zmp-input.zmp-input--icon .zmp-input__icon { left: 14px !important; z-index: 1; line-height: 0; }
.zmp-field > label { text-align: left !important; float: none !important; width: auto !important; }

/* seller cards: old review-link styles fixed the width to 16px, so the links overlapped */
.zmp-seller-card__foot a,
.zmp-seller-card__foot a.vss_read_review_bck,
.zmp-seller-card__foot a.vss_write_review_bck,
.zmp-seller-card__foot .vss_active_link {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    border-radius: 999px;
    background: var(--zmp-bg) !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.zmp-seller-card__foot a:hover { background: var(--zmp-orange-soft) !important; }
