﻿/* Seller product management */
.my-products-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    margin-bottom:26px;
}

.my-products-hero p{
    max-width:620px;
}

.my-products-add{
    min-width:132px;
    text-align:center;
    text-decoration:none;
}

.my-products-console{
    display:grid;
    gap:16px;
    margin-bottom:18px;
}

.my-products-stats{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:12px;
}

.my-products-stats article{
    padding:16px;
    border:1px solid #dbe7f7;
    border-radius:18px;
    background:#ffffff;
    box-shadow:0 14px 30px rgba(15,23,42,.06);
}

.my-products-stats span,
.my-products-toolbar span{
    display:block;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.my-products-stats strong{
    display:block;
    margin-top:8px;
    color:#0f172a;
    font-size:26px;
    line-height:1;
}

.my-products-toolbar{
    display:grid;
    grid-template-columns:minmax(240px, 1fr) minmax(170px, 220px) minmax(170px, 220px) auto;
    gap:12px;
    align-items:end;
    padding:14px;
    border:1px solid #dbe7f7;
    border-radius:20px;
    background:#ffffff;
    box-shadow:0 14px 30px rgba(15,23,42,.06);
}

.my-products-toolbar label{
    margin:0;
}

.my-products-toolbar input,
.my-products-toolbar select{
    width:100%;
    height:46px;
    margin-top:7px;
    border:1px solid #d5deec;
    border-radius:14px;
    background:#f8fafc;
    padding:0 13px;
}

.my-products-view-toggle{
    display:flex;
    gap:6px;
    padding:5px;
    border:1px solid #d5deec;
    border-radius:14px;
    background:#f8fafc;
}

.my-products-view-toggle button{
    min-width:62px;
    height:36px;
    border:0;
    border-radius:11px;
    background:transparent;
    color:#475569;
    font-weight:900;
}

.my-products-view-toggle button.active{
    background:#2563eb;
    color:white;
    box-shadow:0 8px 18px rgba(37,99,235,.22);
}

.my-products-list{
    display:grid;
    gap:14px;
}

.my-products-list.grid{
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
}

.my-products-pager{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:12px 14px;
    border:1px solid #dbeafe;
    border-radius:18px;
    background:#f8fbff;
    color:#475569;
    font-size:14px;
}

.my-products-pager-actions{
    display:flex;
    align-items:center;
    gap:10px;
    color:#0f172a;
}

.my-products-pager-actions .secondary{
    min-height:42px;
    padding:0 18px;
    border-radius:14px;
}

.my-product-card{
    display:grid;
    grid-template-columns:132px minmax(0, 1fr) auto;
    gap:16px;
    align-items:center;
    padding:16px;
    border:1px solid #dbe7f7;
    border-radius:22px;
    background:white;
    box-shadow:0 18px 40px rgba(15,23,42,.07);
}

.my-product-card.grid-card{
    grid-template-columns:1fr;
    align-items:stretch;
}

.my-product-image{
    position:relative;
    display:block;
    width:132px;
    aspect-ratio:4 / 3;
    overflow:hidden;
    border-radius:16px;
    background:#eef2f7;
}

.grid-card .my-product-image{
    width:100%;
    aspect-ratio:16 / 10;
}

.my-product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.my-product-status{
    position:absolute;
    left:8px;
    top:8px;
    max-width:calc(100% - 16px);
    padding:5px 8px;
    border-radius:999px;
    background:rgba(15,23,42,.78);
    color:white;
    font-size:11px;
    font-weight:900;
    text-transform:capitalize;
}

.my-product-status.draft,
.my-product-status.inactive{
    background:rgba(245,158,11,.92);
}

.my-product-body{
    min-width:0;
}

.my-product-body h3{
    margin:0 0 8px;
    color:#0f172a;
    font-size:19px;
    line-height:1.2;
}

.my-product-body p{
    margin:0;
    max-width:760px;
    color:#475569;
    font-weight:700;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.my-product-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}

.my-product-meta span{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:6px 10px;
    border-radius:999px;
    background:#eef4ff;
    color:#1d4ed8;
    font-size:12px;
    font-weight:900;
}

.my-product-meta .stock-alert{
    background:#fff7ed;
    color:#c2410c;
}

.my-product-actions{
    min-width:250px;
}

.my-product-actions a,
.my-product-actions button{
    min-height:44px;
    border-radius:14px;
    text-align:center;
}

.my-products-empty{
    padding:34px;
    border:1px dashed #bfdbfe;
    border-radius:24px;
    background:#f8fbff;
    text-align:center;
}

.my-products-empty h2{
    margin:0 0 8px;
}

.my-products-empty p{
    margin:0 auto 18px;
    max-width:420px;
    color:#475569;
}

:root[data-theme="dark"] .my-products-stats article,
:root[data-theme="dark"] .my-products-toolbar,
:root[data-theme="dark"] .my-product-card,
:root[data-theme="dark"] .my-products-empty{
    background:#111827!important;
    border-color:#263449!important;
}

:root[data-theme="dark"] .my-products-stats strong,
:root[data-theme="dark"] .my-product-body h3{
    color:#e5edf8!important;
}

:root[data-theme="dark"] .my-product-body p{
    color:#c3d0e4!important;
}

:root[data-theme="dark"] .my-products-toolbar input,
:root[data-theme="dark"] .my-products-toolbar select,
:root[data-theme="dark"] .my-products-view-toggle{
    background:#182235!important;
    border-color:#263449!important;
    color:#e5edf8!important;
}

@media(max-width:1000px){
    .my-products-stats{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .my-products-toolbar{
        grid-template-columns:1fr 1fr;
    }

    .my-products-view-toggle{
        grid-column:1 / -1;
        width:max-content;
    }

    .my-product-card{
        grid-template-columns:120px minmax(0, 1fr);
    }

    .my-product-actions{
        grid-column:1 / -1;
        width:100%;
        min-width:0;
    }
}

@media(max-width:680px){
    .my-products-hero{
        align-items:stretch;
        flex-direction:column;
    }

    .my-products-add{
        width:100%;
    }

    .my-products-stats,
    .my-products-toolbar,
    .my-products-list.grid{
        grid-template-columns:1fr;
    }

    .my-products-view-toggle{
        width:100%;
    }

    .my-products-view-toggle button{
        flex:1;
    }

    .my-product-card{
        grid-template-columns:1fr;
    }

    .my-product-image{
        width:100%;
        aspect-ratio:16 / 10;
    }

    .my-product-actions{
        display:grid;
        grid-template-columns:1fr;
    }
}

/* Orders page delivery fix */
.orders-page main.container{
    min-height:calc(100vh - 300px);
    padding-bottom:72px;
}

/* Seller workspace */
.seller-page{
    max-width:1260px;
    padding-top:34px;
    padding-bottom:72px;
}

.seller-hero{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    padding:34px 36px;
    border-radius:26px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,251,255,.96));
    border:1px solid #dbeafe;
    box-shadow:0 24px 60px rgba(15,23,42,.08);
}

.seller-eyebrow{
    display:inline-flex;
    margin-bottom:10px;
    color:#1e5fff;
    font-weight:900;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.seller-hero h1{
    margin:0;
    font-size:clamp(36px, 4vw, 52px);
    line-height:1;
}

.seller-hero p{
    max-width:720px;
    margin-top:14px;
    color:#52637a;
    font-size:17px;
    line-height:1.55;
}

.seller-page #sellerApiWarnings{
    margin-top:22px;
}

.seller-stats{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:16px;
    margin:24px 0;
}

.seller-stat{
    min-height:112px;
    padding:20px;
    border-radius:22px;
    background:#fff;
    border:1px solid #dbeafe;
    box-shadow:0 18px 42px rgba(15,23,42,.07);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.seller-stat span{
    color:#64748b;
    font-weight:900;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.seller-stat strong{
    color:#06142e;
    font-size:clamp(26px, 3vw, 34px);
    line-height:1;
}

.seller-forms{
    align-items:start;
    gap:24px;
}

.seller-panel{
    border-radius:26px;
    border:1px solid #dbeafe;
    box-shadow:0 24px 58px rgba(15,23,42,.08);
}

.seller-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:22px;
}

.seller-panel-head span{
    display:block;
    color:#1e5fff;
    font-weight:900;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:6px;
}

.seller-panel-head h2{
    margin:0;
    font-size:28px;
    line-height:1.1;
}

.seller-panel label{
    display:block;
    margin:16px 0 8px;
    color:#0f172a;
    font-size:14px;
    font-weight:900;
}

.seller-panel input,
.seller-panel select,
.seller-panel textarea{
    width:100%;
    min-height:54px;
    border-radius:16px;
    border:1px solid #cbdaf0;
    background:#fff;
    padding:0 16px;
    font-size:16px;
    color:#0f172a;
    transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.seller-panel textarea{
    min-height:132px;
    padding-top:14px;
    line-height:1.45;
    resize:vertical;
}

.seller-panel input:focus,
.seller-panel select:focus,
.seller-panel textarea:focus{
    outline:none;
    border-color:#1e5fff;
    box-shadow:0 0 0 4px rgba(30,95,255,.12);
    background:#fbfdff;
}

.seller-field-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.seller-publish-panel{
    position:sticky;
    top:112px;
}

.seller-publish-panel .primary.full,
.seller-profile-panel .primary.full{
    min-height:56px;
    margin-top:22px;
    border-radius:16px;
}

.seller-page .err{
    min-height:20px;
    color:#b91c1c;
    line-height:1.45;
}

.seller-page .manage.card{
    border-radius:20px;
    border-color:#e0eaff;
    box-shadow:none;
    background:#fbfdff;
}

.seller-pager{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:0 0 16px;
    padding:12px 14px;
    border:1px solid #dbeafe;
    border-radius:18px;
    background:#f8fbff;
    color:#475569;
    font-size:14px;
}

.seller-pager + .manage.card{
    margin-top:0;
}

.seller-pager-actions{
    display:flex;
    align-items:center;
    gap:10px;
    color:#0f172a;
}

.seller-pager-actions .secondary{
    min-height:42px;
    padding:0 18px;
    border-radius:14px;
}

.review-create{
    display:grid;
    gap:14px;
    margin:16px 0 20px;
    padding:16px;
    border:1px solid #dbeafe;
    border-radius:20px;
    background:#fff;
}

.review-create-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding-bottom:4px;
}

.review-create-head span{
    display:block;
    color:#1e5fff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:4px;
}

.review-create-head strong{
    color:#0f172a;
    font-size:19px;
}

.review-create-head em{
    padding:7px 10px;
    border-radius:999px;
    background:#eef4ff;
    color:#1e5fff;
    font-size:12px;
    font-style:normal;
    font-weight:900;
    white-space:nowrap;
}

.review-field{
    display:grid;
    gap:8px;
}

.review-field label{
    color:#0f172a;
    font-size:14px;
    font-weight:900;
}

.review-rating-picker{
    display:flex;
    gap:6px;
    align-items:center;
}

.review-star{
    width:42px;
    height:42px;
    border:1px solid #dbeafe;
    border-radius:14px;
    background:#fff;
    color:#cbd5e1;
    font-size:21px;
    line-height:1;
    box-shadow:none;
    transition:transform .15s ease, border-color .15s ease, background .15s ease;
}

.review-star:hover{
    transform:translateY(-1px);
}

.review-star.active{
    color:#ff7800;
    border-color:#ffbe82;
    background:#fff7ed;
}

.review-create select{
    width:100%;
    min-height:54px;
    padding:0 14px;
    border-radius:16px;
    border:1px solid #cbdaf0;
    background:#fff;
    color:#0f172a;
    font-size:15px;
}

.review-gate{
    margin:14px 0 18px;
    padding:16px;
    border-radius:18px;
    border:1px solid #dbeafe;
    background:#fff;
}

.review-gate-done{
    border-color:#bbf7d0;
    background:#f0fdf4;
}

.review-gate-done strong{
    color:#047857;
}

.review-gate strong{
    color:#1e5fff;
    font-size:16px;
}

.review-gate p{
    margin-top:6px;
    color:#52637a;
    line-height:1.45;
}

.review-filter{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:14px 0 12px;
}

.review-filter button{
    min-height:38px;
    padding:0 14px;
    border-radius:999px;
    border:1px solid #dbeafe;
    background:#fff;
    color:#0f172a;
    font-weight:900;
    cursor:pointer;
}

.review-filter button.active{
    border-color:#1e5fff;
    background:#1e5fff;
    color:#fff;
    box-shadow:0 8px 18px rgba(30,95,255,.18);
}

.review-filter span{
    opacity:.72;
    margin-left:4px;
}

.review-list-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:8px 0 2px;
}

.review-list-note{
    color:#64748b;
    font-size:13px;
    font-weight:800;
}

.review-toggle-btn{
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    border:1px solid #ff7800;
    background:#fff;
    color:#0f172a;
    font-weight:900;
    cursor:pointer;
}

.review-toggle-btn:hover{
    background:#fff7ed;
}

.review-loaded-note{
    margin:4px 0 10px;
    color:#64748b;
    font-size:12px;
    line-height:1.35;
}

.review-load-more{
    width:100%;
    min-height:42px;
    margin-top:12px;
    border-radius:14px;
    border:1px solid #dbeafe;
    background:#fff;
    color:#0f172a;
    font-weight:900;
    cursor:pointer;
}

.review-load-more:hover{
    border-color:#1e5fff;
    background:#f8fbff;
}

.review-load-more:disabled{
    cursor:not-allowed;
    opacity:.65;
}

.review-hidden-note{
    display:block;
    margin-top:8px;
    color:#64748b;
    font-weight:800;
}

.review-empty{
    margin:12px 0 0;
    color:#64748b;
}

.review-message-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.review-message-head span{
    color:#ff7800;
    font-size:14px;
    white-space:nowrap;
}

@media(max-width:900px){
    .seller-stats{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .seller-publish-panel{
        position:static;
    }
}

@media(max-width:620px){
    .seller-page{
        padding-top:18px;
    }

    .seller-hero{
        padding:26px 22px;
        border-radius:22px;
    }

    .seller-stats,
    .seller-field-grid{
        grid-template-columns:1fr;
    }

    .seller-stat{
        min-height:96px;
    }
}

.ez-menu-panel.show{
    z-index:60000!important;
}

@media(min-width:701px){
    .ez-menu-panel{
        position:fixed!important;
        top:96px!important;
        right:max(18px, calc((100vw - 1450px) / 2))!important;
        max-height:calc(100vh - 124px)!important;
        overflow-y:auto!important;
        overscroll-behavior:contain;
    }
}

@media(max-width:700px){
    .ez-menu-panel{
        position:fixed!important;
        top:86px!important;
        left:10px!important;
        right:10px!important;
        width:auto!important;
        max-height:calc(100vh - 106px)!important;
        overflow-y:auto!important;
        overscroll-behavior:contain;
    }
}

/* Catalog pagination polish */
.products-pagination-top,
.products-pagination-bottom{
    display:grid!important;
    grid-template-columns:minmax(180px, 1fr) auto minmax(180px, 1fr)!important;
    align-items:center!important;
    gap:14px!important;
    width:100%!important;
    min-height:64px!important;
    height:auto!important;
    margin:18px 0!important;
    padding:12px 14px!important;
    border:1px solid #dbe7f7!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
    box-shadow:0 14px 30px rgba(15,23,42,.06)!important;
    overflow:visible!important;
}

.products-pagination-info,
.products-pagination-controls,
.products-page-size{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
}

.products-pagination-info{
    justify-content:flex-start!important;
    gap:6px!important;
    color:#475569!important;
    font-size:14px!important;
    white-space:nowrap!important;
}

.products-pagination-info strong{
    color:#0f172a!important;
    font-weight:900!important;
}

.products-pagination-controls{
    justify-content:center!important;
    gap:10px!important;
}

.products-page-current{
    min-width:116px!important;
    padding:9px 14px!important;
    border:1px solid #dbe7f7!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#0f172a!important;
    font-size:14px!important;
    font-weight:800!important;
    text-align:center!important;
    white-space:nowrap!important;
}

.page-btn{
    min-width:92px!important;
    min-height:42px!important;
    padding:0 16px!important;
    border:1px solid #dbe7f7!important;
    border-radius:14px!important;
    background:#ffffff!important;
    color:#1d4ed8!important;
    font-weight:900!important;
    box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
    transition:transform .16s ease, box-shadow .16s ease, background .16s ease!important;
}

.page-btn:not(:disabled):hover{
    background:#eef4ff!important;
    box-shadow:0 12px 24px rgba(37,99,235,.14)!important;
    transform:translateY(-1px)!important;
}

.page-btn:disabled{
    cursor:not-allowed!important;
    opacity:.48!important;
    color:#94a3b8!important;
    box-shadow:none!important;
}

.products-page-size{
    justify-content:flex-end!important;
    gap:8px!important;
}

.products-page-size span{
    color:#475569!important;
    font-size:14px!important;
    font-weight:800!important;
}

.products-page-size button{
    width:42px!important;
    height:38px!important;
    padding:0!important;
    border:1px solid #dbe7f7!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#0f172a!important;
    font-weight:900!important;
    box-shadow:0 8px 18px rgba(15,23,42,.04)!important;
    transition:transform .16s ease, box-shadow .16s ease, background .16s ease!important;
}

.products-page-size button:hover{
    background:#eef4ff!important;
    transform:translateY(-1px)!important;
}

.products-page-size button.active{
    border-color:transparent!important;
    background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;
    color:#fff!important;
    box-shadow:0 14px 26px rgba(37,99,235,.26)!important;
}

@media(max-width:900px){
    .products-pagination-top,
    .products-pagination-bottom{
        grid-template-columns:1fr!important;
        gap:12px!important;
    }

    .products-pagination-info,
    .products-pagination-controls,
    .products-page-size{
        justify-content:center!important;
        flex-wrap:wrap!important;
    }
}

@media(max-width:520px){
    .products-pagination-top,
    .products-pagination-bottom{
        padding:12px!important;
        border-radius:16px!important;
    }

    .products-pagination-controls{
        display:grid!important;
        grid-template-columns:1fr!important;
        width:100%!important;
    }

    .page-btn,
    .products-page-current{
        width:100%!important;
    }

    .products-pagination-info{
        white-space:normal!important;
    }
}

/* Profile verification */
.verification-pending-badge {
    background:#fff7ed!important;
    color:#c2410c!important;
    border:1px solid #fed7aa;
}

.verified-badge {
    background:#ecfdf5!important;
    color:#047857!important;
    border:1px solid #a7f3d0;
}

#profileVerifyBtn {
    border-color:#ff7a00;
    color:#0f172a;
    background:#fff;
}

#profileVerifyBtn:hover {
    background:#fff7ed;
    transform:translateY(-1px);
}

.account-verification-box {
    width:min(520px, calc(100vw - 28px))!important;
    padding:30px 26px!important;
    border-radius:28px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
    border:1px solid #dbeafe!important;
    box-shadow:0 30px 80px rgba(15,23,42,.22)!important;
}

.account-verification-mark {
    width:58px;
    height:58px;
    border-radius:18px;
    background:linear-gradient(135deg,#2563eb,#0b7fff);
    box-shadow:0 16px 30px rgba(37,99,235,.24);
    position:relative;
    margin-bottom:18px;
}

.account-verification-mark::before {
    content:"";
    position:absolute;
    left:18px;
    top:14px;
    width:20px;
    height:26px;
    border:3px solid #fff;
    border-top-width:10px;
    border-radius:9px 9px 8px 8px;
}

.account-verification-box h2 {
    margin:0 36px 8px 0;
    font-size:28px;
    line-height:1.12;
    color:#020617;
}

.verification-instructions {
    display:grid;
    gap:10px;
    margin:20px 0;
}

.verification-instructions div {
    display:grid;
    gap:4px;
    padding:14px 16px;
    border:1px solid #dbe7fb;
    border-radius:18px;
    background:#fff;
}

.verification-instructions strong {
    color:#0f172a;
    font-size:15px;
}

.verification-instructions span {
    color:#53627a;
    font-size:14px;
    line-height:1.45;
}

:root[data-theme="dark"] .account-verification-box {
    background:linear-gradient(180deg,#111827,#0f172a)!important;
    border-color:#263449!important;
}

:root[data-theme="dark"] .account-verification-box h2,
:root[data-theme="dark"] .verification-instructions strong {
    color:#f8fafc;
}

:root[data-theme="dark"] .verification-instructions div {
    background:#111827;
    border-color:#263449;
}

:root[data-theme="dark"] .verification-instructions span {
    color:#cbd5e1;
}

/* Final compact catalogue pagination for phones. */
@media(max-width:520px){
    .products-pagination-top,
    .products-pagination-bottom{
        display:grid!important;
        grid-template-columns:minmax(0, 1fr) auto!important;
        gap:10px 8px!important;
        min-height:0!important;
        padding:11px!important;
        border-radius:16px!important;
    }

    .products-pagination-info{
        grid-column:1 / -1!important;
        justify-content:center!important;
        font-size:13px!important;
        line-height:1.3!important;
    }

    .products-pagination-controls{
        display:grid!important;
        grid-template-columns:38px minmax(78px, 1fr) 38px!important;
        gap:5px!important;
        width:100%!important;
    }

    .products-pagination-controls .page-btn{
        width:38px!important;
        min-width:38px!important;
        min-height:38px!important;
        height:38px!important;
        padding:0!important;
        font-size:0!important;
        border-radius:11px!important;
    }

    .products-pagination-controls .page-btn:first-child::before{
        content:"‹";
        font-size:24px;
        line-height:1;
    }

    .products-pagination-controls .page-btn:last-child::before{
        content:"›";
        font-size:24px;
        line-height:1;
    }

    .products-page-current{
        width:auto!important;
        min-width:0!important;
        min-height:38px!important;
        padding:8px!important;
        font-size:12px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:3px!important;
        white-space:nowrap!important;
    }

    .products-page-size{
        justify-content:flex-end!important;
        flex-wrap:nowrap!important;
        gap:4px!important;
    }

    .products-page-size span{
        font-size:12px!important;
    }

    .products-page-size button{
        width:34px!important;
        min-width:34px!important;
        height:38px!important;
        min-height:38px!important;
        border-radius:10px!important;
    }
}

@media(max-width:360px){
    .products-pagination-top,
    .products-pagination-bottom{
        grid-template-columns:1fr!important;
    }

    .products-page-size{
        justify-content:center!important;
    }
}

/* Profile verified identity uses the same blue social check. */
.verified-badge{
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:transparent!important;
    line-height:1!important;
    box-shadow:none!important;
}

.verified-badge.hidden{
    display:none!important;
}

.profile-meta .verified-badge{
    width:auto!important;
    height:36px!important;
    min-width:0!important;
    padding:4px 11px 4px 5px!important;
    gap:7px!important;
    border:1px solid #bfdbfe!important;
    border-radius:999px!important;
    background:#eff6ff!important;
    color:#075dcc!important;
    font-size:13px!important;
    font-weight:900!important;
    white-space:nowrap!important;
    box-shadow:0 5px 14px rgba(29,155,240,.12)!important;
}

.profile-meta .verified-badge .verified-check-image{
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    flex:0 0 27px!important;
}

:root[data-theme="dark"] .profile-meta .verified-badge{
    border-color:#1d4ed8!important;
    background:#102449!important;
    color:#bfdbfe!important;
}

/* Product support modal: text close button and overflow-safe content. */
#supportModal .box{
    width:min(480px, calc(100vw - 32px))!important;
    padding:30px 24px 26px!important;
    overflow-x:hidden!important;
}

#supportModal .box > h2{
    margin:0 96px 12px 0!important;
    line-height:1.2;
}

#supportModal .close{
    top:20px!important;
    right:20px!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:38px!important;
    padding:8px 12px!important;
    border-radius:12px!important;
    font-size:16px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}

#supportModal p{
    overflow-wrap:anywhere;
    line-height:1.55;
}

@media(max-width:520px){
    #supportModal .box{
        padding:24px 18px 22px!important;
    }

    #supportModal .box > h2{
        margin-right:82px!important;
        font-size:22px;
    }

    #supportModal .close{
        top:14px!important;
        right:14px!important;
    }
}
