/* ---- style (orig line 4509) ---- */

        
/* =========================================================
           RESET
        ========================================================= */


        
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


        
html {
            scroll-behavior: smooth;
        }


        
body {
            font-family:
                Arial,
                "Noto Sans Bengali",
                sans-serif;

            background: #f4f6f9;
            color: #1f2937;
        }


        
button,
        input,
        textarea {
            font-family: inherit;
        }


        
button {
            cursor: pointer;
        }



        
/* =========================================================
           HEADER
        ========================================================= */


        
.top-header {

            height: 68px;

            background: #ffffff;

            border-bottom: 1px solid #e5e7eb;

            display: flex;

            align-items: center;

            position: fixed;

            top: 0;
            left: 0;
            right: 0;

            z-index: 1000;
        }


        
.header-inner {

            width: 100%;

            padding: 0 22px;

            display: flex;

            align-items: center;

            justify-content: space-between;
        }



        
/* Logo */


        
.brand {

            display: flex;

            align-items: center;

            gap: 10px;

            text-decoration: none;

            color: #111827;
        }


        



        
.brand-name {

            font-size: 22px;

            font-weight: 800;

            letter-spacing: -0.5px;
        }



        
/* Header Search */


        



        



        
/* App download CTA — public/login page only */

        


        


        


        


        
@keyframes ppOrangeGlow  {
            
0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.75) inset, 0 5px 18px rgba(249,115,22,.14), 0 0 14px rgba(249,115,22,.10); }

            
50% { box-shadow: 0 0 0 1px rgba(255,255,255,.85) inset, 0 7px 22px rgba(249,115,22,.24), 0 0 30px rgba(249,115,22,.22); }

        }

        
@keyframes ppOrangeBorderGlow  {
            
0%, 100% { opacity: .45; transform: scale(.995); }

            
50% { opacity: 1; transform: scale(1.008); }

        }

        



        



        



        



        



        



        



        




        
/* Header Right */


        
.header-right {

            display: flex;

            align-items: center;

            gap: 12px;
        }


        
.header-icon {

            width: 40px;
            height: 40px;

            border-radius: 50%;

            border: 1px solid #e5e7eb;

            background: #ffffff;

            display: flex;

            align-items: center;
            justify-content: center;

            font-size: 17px;
        }


        




        
/* =========================================================
           MOBILE MENU BUTTON
        ========================================================= */


        
.menu-button {

            display: none;

            width: 40px;
            height: 40px;

            border: 1px solid #e5e7eb;

            border-radius: 8px;

            background: #ffffff;

            font-size: 20px;
        }



        
/* =========================================================
           SIDEBAR
        ========================================================= */


        
.sidebar {

            position: fixed;

            top: 68px;

            left: 0;

            bottom: 0;

            width: 285px;

            background: #ffffff;

            border-right: 1px solid #e5e7eb;

            overflow-y: auto;

            z-index: 900;
        }


        
.sidebar-inner {

            padding: 22px 18px 30px;
        }



        
/* Profile */


        
.sidebar-profile {
            text-align: center;
            padding-bottom: 10px;
            border-bottom: 1px solid #eef0f3;
            margin-bottom: 10px;
        }


        
.sidebar-profile-image {

            width: 58px;
            height: 58px;

            border-radius: 50%;

            object-fit: cover;

            border: 3px solid #fff4e6;

            margin-bottom: 5px;
        }


        
.sidebar-name {
            font-size: 15px;

            font-weight: 700;

            margin-bottom: 5px;
        }


        
.sidebar-unique-id {

            color: #6b7280;

            font-size: 13px;

            word-break: break-all;
        }



        
/* User information */


        



        



        



        



        



        



        




        
/* User Information Dropdown */

        



        



        



        



        



        



        
/* Wallet */


        
.parcel-action-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px;}

        
.parcel-action-button{height:30px;padding:0 9px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;font-size:10px;font-weight:900;cursor:pointer;}

        
.parcel-action-button:hover{background:#ffedd5;border-color:#fb923c;}

        
.parcel-message-list{margin-top:7px;display:grid;gap:5px;}

        
.parcel-message-item{padding:7px 8px;border-radius:8px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:10px;line-height:1.5;}

        
.parcel-message-time{display:block;margin-top:2px;color:#64748b;font-size:9px;font-weight:700;}

        
.parcel-message-panel{margin-top:10px;padding:10px;border:1px solid #fed7aa;border-radius:10px;background:#fffaf5;}

        
.parcel-message-panel select,.parcel-message-panel textarea{width:100%;border:1px solid #fdba74;border-radius:8px;background:#fff;padding:8px 9px;font-size:12px;outline:none;}

        
.parcel-message-panel textarea{min-height:58px;resize:vertical;margin-top:7px;}

        
.parcel-weight-panel{margin-top:8px;padding:8px;border:1px solid #fed7aa;border-radius:9px;background:#fffaf5;}

        
.parcel-weight-panel input{height:34px;min-width:100px;max-width:150px;}

        
.parcel-weight-result{font-size:10px;color:#9a3412;font-weight:900;margin-top:5px;}


        
.parcel-message-send{margin-top:7px;height:34px;padding:0 12px;border:0;border-radius:8px;background:#f97316;color:#fff;font-size:11px;font-weight:900;cursor:pointer;}

        


        
.parcel-label-box{border:2px solid #111827;border-radius:10px;padding:16px;max-width:520px;margin:0 auto;}

        


        


        


        


        


        


        


        
@media print {body{background:#fff!important;}

.parcel-label-box{max-width:none;margin:0;border:2px solid #111827;}}


        
.wallet-box {
            background: #f0fdf4;

            border: 1px solid #dcfce7;

            border-radius: 12px;

            padding: 9px 11px;
            margin-bottom: 10px;
        }


        
.wallet-label {

            font-size: 12px;

            color: #6b7280;

            margin-bottom: 5px;
        }


        
.wallet-balance {

            font-size: 23px;

            font-weight: 800;

            color: #15803d;
        }



        
/* Parcel Management */

        
.parcel-count-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:10px 0 8px;}

        


        


        


        
.parcel-filter-button{border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:8px 5px;text-align:center;min-width:0;width:100%;cursor:pointer;transition:.15s;box-shadow:none;font-family:inherit;}

        
.parcel-filter-button strong{display:block;font-size:17px;color:#111827;line-height:1.1;}

        
.parcel-filter-button span{display:block;margin-top:4px;font-size:10px;color:#64748b;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

        
.parcel-filter-button:hover{border-color:#f97316;}

        
.parcel-filter-button.active{border-color:#f97316;background:#fff7ed;box-shadow:0 0 0 1px #f97316 inset;}

        
.parcel-filter-empty{display:none;margin-top:12px;}

        
.parcel-filter-empty.show{display:block;}

        


        
.parcel-source-counts{display:flex;gap:8px;flex-wrap:wrap;margin:7px 0 12px;font-size:11px;color:#475569;font-weight:800;}

        
.parcel-source-counts span{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:6px 8px;}

        
.parcel-management-item{border:1px solid #e5e7eb;border-radius:10px;margin-top:8px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03);overflow:hidden;}

        
.parcel-dropdown-header{display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:100%;min-height:46px;padding:8px 10px;box-sizing:border-box;cursor:pointer;background:#fff;border:0;text-align:left;}

        
.parcel-dropdown-header:hover{background:#fffaf5;}

        
.parcel-dropdown-chevron{margin-left:auto;color:#64748b;font-size:17px;line-height:1;transition:transform .18s ease;flex:0 0 auto;}

        
.parcel-management-item.open .parcel-dropdown-chevron{transform:rotate(180deg);}

        
.parcel-management-details{display:none;border-top:1px solid #f1f5f9;background:#fafafa;padding:9px 10px;}

        
.parcel-management-item.open .parcel-management-details{display:block;}

        


        


        
.parcel-source-badge,.parcel-status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:900;line-height:1.2;}

        
.parcel-source-badge{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;}

        
.parcel-order-id-button{cursor:pointer;font:inherit;transition:.15s ease;}

        
.parcel-order-id-button:hover{background:#fff1e8;border-color:#fb923c;}

        
.parcel-order-type-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;white-space:nowrap;}

        
.parcel-order-type-badge.self{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8;}

        
.parcel-status-badge{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;}

        
.parcel-status-badge.pending{background:#fffbeb;color:#a16207;border-color:#fde68a;}

        
.parcel-status-badge.review{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;}

        
.parcel-status-badge.delivered{background:#f0fdf4;color:#15803d;border-color:#bbf7d0;}

        
.parcel-status-badge.returned{background:#fff3ee;color:#c84a32;border-color:#fecdd3;}
        
.parcel-tracking-form{display:flex;gap:8px;align-items:center;max-width:620px;margin-top:12px;}

        
.parcel-tracking-form .form-input{flex:1;min-width:0;height:42px;}

        
.parcel-tracking-result{margin-top:14px;border:1px solid #fed7aa;background:#fffaf5;border-radius:12px;padding:14px;}

        
.parcel-tracking-id{font-size:26px;font-weight:950;color:#c2410c;letter-spacing:1px;display:inline-block;margin-right:8px;}

        
.parcel-tracking-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;}

        
.parcel-tracking-grid>div{background:#fff;border:1px solid #e5e7eb;border-radius:9px;padding:10px;font-size:12px;line-height:1.55;overflow-wrap:anywhere;}

        
.parcel-tracking-timeline{margin-top:14px;border-left:3px solid #fed7aa;padding-left:12px;}

        
.parcel-tracking-event{position:relative;display:flex;gap:9px;padding:7px 0;font-size:12px;line-height:1.45;}

        
.parcel-tracking-dot{width:10px;height:10px;border-radius:50%;background:#ea580c;flex:0 0 10px;margin-left:-19px;margin-top:4px;border:2px solid #fff;box-shadow:0 0 0 1px #fdba74;}

        
.parcel-tracking-event small{display:block;color:#64748b;margin-top:2px;}

        
@media (max-width:600px) {.parcel-tracking-form{flex-direction:column;align-items:stretch}
.parcel-tracking-grid{grid-template-columns:1fr}
.parcel-tracking-form .small-action-button{justify-content:center;}}


        
.parcel-time{margin-left:auto;color:#64748b;font-size:9px;white-space:nowrap;}

        
.parcel-management-address{font-size:11px;line-height:1.55;color:#334155;margin-top:3px;word-break:break-word;}

        
.parcel-management-address strong{color:#ea580c;}

        
.parcel-management-address span{margin-left:4px;color:#64748b;white-space:nowrap;}

        
.parcel-management-meta{margin-top:6px;font-size:10px;color:#64748b;font-weight:800;}


        
/* Sidebar Buttons */


        
.sidebar-actions {

            display: grid;

            gap: 9px;
        }


        
.sidebar-button {

            width: 100%;

            min-height: 43px;

            border: 0;

            border-radius: 9px;

            padding: 10px 13px;

            font-size: 14px;

            font-weight: 700;

            display: flex;

            align-items: center;

            gap: 9px;

            text-align: left;
        }


        
.live-location-chip {
            margin: 7px 0 10px;
            min-height: 25px;
            padding: 4px 8px;
            border: 1px solid #fed7aa;
            border-radius: 999px;
            background: linear-gradient(135deg,#fff7ed,#fff1f2);
            color: #9a3412;
            display:flex;
            align-items:center;
            justify-content:center;
            gap:5px;
            font-size:9px;
            font-weight:800;
            line-height:1.2;
            white-space:nowrap;
            overflow:hidden;
            text-overflow:ellipsis;
        }

        
.live-location-pin { flex:0 0 auto; font-size:11px; }

        
#liveUserLocationText { min-width:0; overflow:hidden; text-overflow:ellipsis; }


        
.home-add-product-button {
            display:inline-flex;
            align-items:center;
            justify-content:center;
            gap:5px;
            height:27px;
            min-height:27px;
            padding:3px 10px;
            margin-top:6px;
            border:0;
            border-radius:7px;
            background:linear-gradient(135deg,#d94f2b 0%,#f97316 100%);
            color:#fff;
            font-size:10px;
            font-weight:900;
            line-height:1;
            cursor:pointer;
            box-shadow:0 4px 10px rgba(229,57,53,.15);
            transition:transform .16s ease,box-shadow .16s ease;
        }

        
.home-add-product-button:hover {
            transform:translateY(-1px);
            box-shadow:0 6px 14px rgba(229,57,53,.20);
        }

        
@media(max-width:520px) {
            
.live-location-chip{font-size:8.5px;margin:6px 0 8px;}

            
.home-add-product-button{height:26px;min-height:26px;font-size:9.5px;padding:3px 9px;}

        }


        



        



        



        




        
/* Logout */


        
.logout-button {

            margin-top: 10px;

            display: block;

            width: 100%;

            padding: 10px;

            border-radius: 9px;

            background: #fff3ee;

            color: #c84a32;

            text-decoration: none;

            text-align: center;

            font-size: 13px;

            font-weight: bold;
        }



        
/* =========================================================
           MAIN CONTENT
        ========================================================= */


        
.main-content {

            margin-left: 285px;

            padding-top: 68px;

            min-height: 100vh;
        }


        
/* My Products page: keep the main site header visible and retain its normal spacing. */

        
body.my-products-view .top-header {
            display: block !important;
        }

        
body.my-products-view .main-content {
            padding-top: 68px !important;
        }


        
.content-container {

            max-width: 1200px;

            margin: 0 auto;

            padding: 25px;
        }



        
/* Welcome */


        
.welcome-card {

            background: #ffffff;

            border-radius: 15px;

            padding: 22px;

            margin-bottom: 20px;

            border: 1px solid #e5e7eb;
        }


        
.welcome-card h1 {

            font-size: 24px;

            margin-bottom: 7px;
        }


        
.welcome-card p {

            color: #6b7280;

            font-size: 14px;
        }




        
.news-post-card { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #eee1da; border-radius:14px; padding:7px 12px; margin-top:-10px; margin-bottom:7px; box-shadow:0 3px 12px rgba(15,23,42,.045); overflow:hidden; }

        
.news-post-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; flex:0 0 40px; border:2px solid #fff0e6; }

        
.news-post-avatar-empty { display:flex; align-items:center; justify-content:center; background:#f8fafc; font-size:22px; }

        


        


        


        


        
.seller-news { display:flex; gap:10px; align-items:flex-start; background:linear-gradient(135deg,#fff7ed,#fffaf5); border:1px solid #fed7aa; border-left:4px solid #f97316; border-radius:12px; padding:11px 13px; margin:0 0 14px; color:#7c2d12; font-size:14px; line-height:1.5; white-space:pre-wrap; }

        
.seller-news-icon { flex:0 0 auto; }

        
.seller-news-content { flex:1 1 auto; min-width:0; white-space:normal; overflow-wrap:anywhere; line-height:1.5; }

        
/* Enforce a real two-line height cap; do not rely on line-clamp alone. */

        
.seller-news .seller-news-content.is-collapsed { display:block !important; max-height:3em !important; height:auto !important; overflow:hidden !important; }

        
.seller-news .seller-news-content.is-expanded { display:block !important; max-height:none !important; height:auto !important; overflow:visible !important; }

        
.seller-news-toggle { display:none; flex:0 0 auto; align-self:flex-end; border:0; padding:2px 0; margin:0; background:transparent; color:#ea580c; font-size:12px; line-height:1.4; font-weight:800; cursor:pointer; white-space:nowrap; }

        
.seller-news-toggle.is-visible { display:inline-block; }

        
.seller-news-toggle:focus-visible { outline:2px solid #f97316; outline-offset:2px; border-radius:3px; }

        
@media (max-width:600px)  { 
.news-post-card{padding:6px 9px; gap:7px; margin-top:-7px; margin-bottom:6px;}
 
.news-post-avatar{width:36px;height:36px;flex-basis:36px;}
 

 

 

 

 }


        
/* =========================================================
           PUBLIC LOGIN/BROWSE SHOWCASE
        ========================================================= */

        
.public-showcase{position:relative;overflow:hidden;margin-bottom:14px;border-radius:18px;padding:14px;color:#fff;background:linear-gradient(135deg,#8f1717 0%,#e53935 45%,#ff9800 100%);box-shadow:0 14px 35px rgba(124,45,18,.16);isolation:isolate}

        
.public-showcase:before,.public-showcase:after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:-1;background:rgba(255,255,255,.10)}

        
.public-showcase:before{width:180px;height:180px;right:-55px;top:-90px}
.public-showcase:after{width:130px;height:130px;left:-60px;bottom:-80px}

        
.showcase-track{display:flex;width:300%;animation:ppShowcaseSlide 16s ease-in-out infinite}
.showcase-slide{width:33.3333%;flex:0 0 33.3333%;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:92px;position:relative;cursor:pointer}

        
.showcase-slide:after{content:"";position:absolute;inset:-8px;border-radius:18px;pointer-events:none;background:radial-gradient(circle at 82% 86%,rgba(255,180,70,.34),rgba(255,180,70,.14) 22%,transparent 52%);opacity:.95}

        
.showcase-copy{max-width:650px;position:relative;z-index:1}
.showcase-kicker{font-size:11px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase;opacity:.9;margin-bottom:7px}
.showcase-title{font-size:clamp(23px,4vw,36px);line-height:1.08;font-weight:950;margin:0 0 8px}
.showcase-text{margin:0;color:rgba(255,255,255,.9);font-size:13px;line-height:1.6;max-width:580px}

        
.showcase-logo-wrap{flex:0 0 76px;width:76px;height:76px;border-radius:22px;background:rgba(255,255,255,.96);padding:9px;box-shadow:0 10px 22px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;position:relative;z-index:1}
.showcase-logo-wrap img{width:100%;height:100%;object-fit:contain}

        
.showcase-play-link{position:absolute;right:7px;bottom:5px;width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,174,70,.98);box-shadow:0 0 0 4px rgba(255,191,90,.18),0 7px 18px rgba(255,153,51,.42);z-index:4;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.showcase-play-link:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 0 0 6px rgba(255,191,90,.20),0 9px 22px rgba(255,153,51,.5)}
.showcase-play-link svg{width:22px;height:22px;display:block}
.showcase-play-label{position:absolute;right:49px;bottom:8px;font-size:9px;font-weight:900;color:#fff;background:rgba(126,52,14,.72);padding:4px 7px;border-radius:8px;white-space:nowrap;opacity:.9}

        
.showcase-dots{position:absolute;left:20px;bottom:9px;display:flex;gap:5px}
.showcase-dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55)}

        
@keyframes ppShowcaseSlide {0%,27%{transform:translateX(0)}
33%,60%{transform:translateX(-33.3333%)}
66%,94%{transform:translateX(-66.6666%)}
100%{transform:translateX(0)}}

        
.public-products-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:4px 2px 13px}
.public-products-heading h2{margin:0;font-size:21px;font-weight:950;color:#172033}
.public-products-heading p{margin:3px 0 0;color:#7b7280;font-size:12px}
.heading-chip{padding:7px 10px;border-radius:999px;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;font-size:11px;font-weight:900;white-space:nowrap}

        
.public-browse-grid .product-card{position:relative;border:1px solid #f0e4dc;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#fffaf7 100%);box-shadow:0 8px 22px rgba(15,23,42,.055)}
.public-browse-grid .product-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#e53935,#ff9800);z-index:2}
.public-browse-grid .product-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(124,45,18,.13);border-color:#f4bd93}

        
.public-browse-grid .product-image,.public-browse-grid .product-no-image{height:210px;background:radial-gradient(circle at 50% 35%,#fff 0%,#fff7ed 70%,#f8eee8 100%)}
.public-browse-grid .product-image{padding:14px;transition:transform .25s ease}
.public-browse-grid .product-card:hover .product-image{transform:scale(1.035)}
.public-browse-grid .product-body{padding:13px 14px 14px}
.public-browse-grid .product-name{font-size:16px;font-weight:900;color:#1f2937;min-height:39px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.public-browse-grid .product-description{color:#737373;font-size:12px;line-height:1.45;min-height:35px;max-height:35px;overflow:hidden;margin:5px 0 8px}
.public-browse-grid .product-price{font-size:20px;margin-top:3px}
.public-browse-grid .seller-cart-button{border-radius:11px!important;padding:9px 10px!important;font-size:12px;font-weight:900;background:linear-gradient(135deg,#e53935,#ff9800);box-shadow:0 7px 15px rgba(229,57,53,.18)}

        
@media(max-width:600px) {.public-showcase{padding:10px 11px;border-radius:14px;margin-bottom:12px}
.showcase-slide{min-height:78px;gap:9px}
.showcase-logo-wrap{width:58px;height:58px;flex-basis:58px;border-radius:15px;padding:7px}
.showcase-play-link{right:4px;bottom:4px;width:34px;height:34px;border-radius:10px}
.showcase-play-link svg{width:19px;height:19px}
.showcase-play-label{right:43px;bottom:7px;font-size:8px;padding:3px 6px}
.showcase-title{font-size:20px}
.showcase-text{font-size:11px}
.public-products-heading h2{font-size:18px}
.heading-chip{display:none}
.public-browse-grid .product-image,.public-browse-grid .product-no-image{height:145px}
.public-browse-grid .product-body{padding:10px}
.public-browse-grid .product-name{font-size:14px;min-height:35px}
.public-browse-grid .product-price{font-size:17px}
.public-browse-grid .product-description{font-size:11px;min-height:30px;max-height:30px}
.public-browse-grid .seller-cart-button{padding:8px 7px!important;font-size:11px}}


        
/* =========================================================
           PRODUCT SECTION
        ========================================================= */


        
.section-card {

            background: #ffffff;

            border: 1px solid #e5e7eb;

            border-radius: 15px;

            padding: 20px;

            margin-bottom: 20px;
        }


        
.section-header {

            display: flex;

            align-items: center;

            justify-content: space-between;

            gap: 15px;

            margin-bottom: 20px;
        }


        
.section-title {

            font-size: 20px;

            font-weight: 800;
        }


        
.section-subtitle {

            color: #6b7280;

            font-size: 13px;

            margin-top: 4px;
        }



        
/* Search results: clear separators and image-load fallback only for search products. */

        
#section-search-results .search-user-result { border: 0; border-bottom: 2px solid #ead8ca; padding: 12px 4px 18px; margin: 0 0 14px; border-radius: 0; }

        
#section-search-results .search-product-result { position: relative; border: 0; border-bottom: 2px solid #ead8ca; padding: 12px 4px 18px; margin: 0 0 14px; border-radius: 0; }

        
/* Compact layout applies only to product results on the search results page. */

        
#section-search-results .search-product-result .product-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; line-height:1.3; max-height:2.6em; }

        


        


        


        


        


        
#section-search-results .search-image-fallback { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; min-height:150px; padding:14px; text-align:center; background:#fff8f1; border:1px dashed #e7b88f; border-radius:14px; color:#854d0e; }

        
#section-search-results .search-image-fallback p { margin:0; font-size:13px; font-weight:700; line-height:1.5; }

        
#section-search-results .search-image-fallback a { display:inline-flex; align-items:center; justify-content:center; padding:9px 13px; border-radius:10px; background:linear-gradient(135deg,#e85d04,#f59e0b); color:#fff; text-decoration:none; font-size:13px; font-weight:800; }

        
/* Products Grid */


        
.products-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }


        
.product-card {

            border: 1px solid #e5e7eb;

            border-radius: 12px;

            overflow: hidden;

            background: #ffffff;

            transition: transform 0.15s ease,
                        box-shadow 0.15s ease;
        }


        
.product-card:hover {

            transform: translateY(-2px);

            box-shadow:
                0 8px 25px
                rgba(0,0,0,0.07);
        }


        
.product-image {

            width: 100%;

            height: 190px;

            object-fit: contain;

            padding: 8px;

            box-sizing: border-box;

            display: block;

            background: #f3f4f6;
        }


        
.product-no-image {

            height: 190px;

            background: #f3f4f6;

            display: flex;

            align-items: center;

            justify-content: center;

            color: #9ca3af;

            font-size: 14px;
        }


        
.pp-product-image-unavailable {
            min-height: 145px; padding: 18px 12px; box-sizing: border-box;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 9px; text-align: center; background: #fff7ed; border: 1px dashed #fdba74;
            border-radius: 10px; color: #7c2d12; font-size: 13px; line-height: 1.5;
        }

        
.pp-product-image-unavailable a {
            display: inline-block; padding: 7px 13px; border-radius: 8px;
            background: linear-gradient(135deg,#e53935,#ff9800); color: #fff !important;
            font-weight: 800; text-decoration: none !important;
        }


        
.product-body {

            padding: 15px;
        }


        
.product-name {

            font-size: 17px;

            font-weight: 700;

            margin-bottom: 7px;

            line-height: 1.35;
        }


        
.product-description {

            font-size: 13px;

            color: #6b7280;

            line-height: 1.5;

            min-height: 40px;

            margin-bottom: 10px;
        }


        
.product-price {

            font-size: 19px;

            font-weight: 800;

            color: #111827;
        }



        
/* Empty */


        
.empty-products {

            text-align: center;

            padding: 55px 20px;

            color: #6b7280;
        }


        
.empty-products-icon {

            font-size: 40px;

            margin-bottom: 12px;
        }



        
/* =========================================================
           USER PRODUCT CARD
        ========================================================= */


        
.user-product-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            padding: 18px;
            margin-bottom: 22px;
        }


        
.seller-header {
            display: flex;
            align-items: center;
            gap: 13px;
            margin-bottom: 14px;
        }


        
.seller-avatar {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            object-fit: cover;
            background: #f3f4f6;
            flex-shrink: 0;
        }


        
.seller-avatar-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }


        
.seller-info {
            min-width: 0;
            flex: 1;
        }


        
.seller-name {
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 3px;
        }


        
.seller-id {
            color: #6b7280;
            font-size: 12px;
        }


        
.seller-stats {
            display: flex;
            flex-wrap: nowrap;
            gap: 6px 8px;
            margin-top: 5px;
            color: #6b7280;
            font-size: 11px;
            min-width: 0;
            width: 100%;
            overflow: hidden;
        }


        
.seller-stats span {
            white-space: nowrap;
            flex: 1 1 0;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }


        
.seller-location-line {
            display: flex;
            flex-wrap: nowrap;
            gap: 14px;
            align-items: center;
        }


        
.seller-location-line > div {
            white-space: nowrap;
        }


        
.seller-stats strong {
            color: #374151;
        }


        
.follow-button {
            border: 1px solid #d94f2b;
            background: #ffffff;
            color: #d94f2b;
            border-radius: 8px;
            padding: 5px 8px;
            font-size: 10px;
            font-weight: 800;
            white-space: nowrap;
            flex-shrink: 0;
            position: static;
        }


        
.follow-button.following {
            background: #d94f2b;
            color: #ffffff;
        }


        
.seller-contact {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            background: #f8fafc;
            border-radius: 10px;
            padding: 10px;
            margin-bottom: 15px;
            font-size: 12px;
            color: #4b5563;
        }


        
.seller-contact div {
            min-width: 0;
            overflow-wrap: anywhere;
        }


        
.seller-products-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 9px;
        }


        
.seller-product {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            overflow: hidden;
            background: #ffffff;
        }


        
.seller-product .product-image,
        .seller-product .product-no-image {
            height: 125px;
        }


        
.seller-product-body {
            padding: 9px;
        }


        
.seller-product .product-name {
            font-size: 14px;
            line-height: 1.3;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }


        
.seller-product .product-description {
            font-size: 11px;
            line-height: 1.35;
            min-height: 0;
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }


        
.seller-product .product-price {
            font-size: 16px;
            line-height: 1.2;
        }


        
.user-card-actions {
            display: flex;
            gap: 6px;
            margin-top: 11px;
            padding-top: 10px;
            border-top: 1px solid #eef0f3;
        }


        
.user-card-action {
            flex: 1;
            border: 0;
            border-radius: 7px;
            padding: 7px 5px;
            background: #f3f4f6;
            color: #374151;
            font-size: 11px;
            line-height: 1.2;
            font-weight: 700;
            white-space: nowrap;
        }


        



        
/* =========================================================
           CART + MOBILE FOOTER
        ========================================================= */


        
.main-product-order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}

        
.main-product-order-actions .seller-cart-button,.main-product-order-actions .direct-order-button{flex:1 1 120px;min-width:0;display:block;text-align:center;border-radius:9px;padding:7px 8px;font-size:12px;font-weight:800;line-height:1.25;cursor:pointer;min-height:34px;}

        
.main-product-order-actions .direct-order-button{border:1px solid #e85d22;background:linear-gradient(135deg,#e85d22,#f59e0b);color:#fff;box-shadow:0 3px 7px rgba(234,88,12,.12);}

        
.main-product-order-actions .seller-cart-button{margin:0!important;}

        
.product-detail-order-actions{display:flex;flex-direction:column;gap:7px;margin-top:16px;}

        
.product-detail-order-actions .direct-order-button,.product-detail-order-actions .seller-cart-button{width:100%;min-height:36px;padding:7px 10px!important;border-radius:9px;font-size:13px;line-height:1.25;font-weight:800;}

        
.product-detail-order-actions .direct-order-button{border:1px solid #e85d22;background:linear-gradient(135deg,#e85d22,#f59e0b);color:#fff;box-shadow:0 3px 8px rgba(234,88,12,.12);cursor:pointer;}

        
.product-detail-order-actions .seller-cart-button{margin:0!important;}

        
@media(max-width:600px) {.main-product-order-actions{gap:6px}
.main-product-order-actions .seller-cart-button,.main-product-order-actions .direct-order-button{flex:1 1 100%;font-size:11px;padding:6px 7px;min-height:32px;}}

        
.seller-cart-button {
            width: 100%;
            margin-top: 8px;
            border: 1px solid #d94f2b;
            border-radius: 8px;
            padding: 7px 8px;
            background: #fff4e6;
            color: #c74324;
            font-size: 12px;
            font-weight: 800;
            cursor: pointer;
        }


        
.seller-cart-button.added {
            background: #d94f2b;
            color: #ffffff;
        }


        
.cart-modal {
            max-width: 520px;
        }


        
.cart-list {
            max-height: 55vh;
            overflow-y: auto;
        }


        
.cart-item {
            display: flex;
            gap: 10px;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #eef0f3;
        }


        
.cart-item-image {
            width: 58px;
            height: 58px;
            border-radius: 9px;
            object-fit: cover;
            background: #f3f4f6;
            flex-shrink: 0;
        }


        
.cart-item-info {
            flex: 1;
            min-width: 0;
        }


        
.cart-item-name {
            font-size: 13px;
            font-weight: 800;
            color: #111827;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            cursor: pointer;
        }

        
.cart-item-name:hover { text-decoration: underline; text-underline-offset: 3px; }

        
.cart-seller-delivery {
            display: flex; align-items: center; justify-content: space-between; gap: 10px;
            flex-wrap: wrap; padding: 10px 12px; margin-bottom: 9px;
            border: 1px solid #e5e7eb; border-radius: 12px; background: #f8fafc;
            color: #111827; font-size: 12px; font-weight: 700; line-height: 1.5;
        }

        
.cart-seller-delivery .cart-seller-name { min-width: 0; overflow-wrap: anywhere; }

        
.cart-seller-delivery .cart-delivery-charge { white-space: nowrap; color: #111827; font-weight: 800; }

        
.cart-item-image { cursor: pointer; }


        
.cart-item-price {
            font-size: 12px;
            color: #6b7280;
            margin-top: 3px;
        }


        
.cart-qty {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 6px;
        }


        
.cart-qty button {
            width: 26px;
            height: 26px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            background: #fff;
            font-weight: 800;
        }


        
.cart-remove {
            border: 0 !important;
            background: #fff3ee !important;
            color: #c84a32;
            width: auto !important;
            padding: 0 7px;
        }


        
.cart-summary {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            padding-top: 13px;
            border-top: 1px solid #e5e7eb;
            font-weight: 800;
        }


        
.mobile-bottom-footer {
            display: none;
        }


        
.mobile-bottom-button {
            position: relative;
            flex: 1;
            border: 0;
            background: transparent;
            color: #4b5563;
            padding: 8px 4px;
            font-size: 11px;
            font-weight: 800;
        }


        
.mobile-bottom-icon {
            display: block;
            font-size: 21px;
            line-height: 22px;
            margin-bottom: 2px;
        }


        
.pickparceldb-button {
            font-size: 11px;
        }


        
.pickparcel-p-icon img {
            width: 34px;
            height: 25px;
            object-fit: contain;
            display: block;
            margin: 0 auto;
        }


        
.pickparcel-count {
            position: absolute;
            top: 4px;
            left: calc(50% + 7px);
            min-width: 18px;
            height: 18px;
            padding: 0 4px;
            border-radius: 999px;
            background: #d94801;
            color: #fff;
            font-size: 10px;
            line-height: 18px;
            text-align: center;
        }


        
.cart-bottom-button {
            font-size: 11px;
        }


        
.cart-count {
            position: absolute;
            top: 4px;
            left: calc(50% + 7px);
            min-width: 18px;
            height: 18px;
            padding: 0 4px;
            border-radius: 999px;
            background: #d94801;
            color: #fff;
            font-size: 10px;
            line-height: 18px;
            text-align: center;
        }


        


        
.notification-button { position:relative; }

        
.notification-badge { position:absolute; top:0; right:0; min-width:17px; height:17px; padding:0 4px; border-radius:99px; background:#d94801; color:#fff; font-size:9px; line-height:17px; text-align:center; }

        
.sidebar-button { position:relative; }

        
.sidebar-count { margin-left:auto; min-width:19px; height:19px; padding:0 5px; border-radius:99px; background:#d94801; color:#fff; font-size:10px; font-weight:800; line-height:19px; text-align:center; }

        


        


        


        


        


        


        



        
.person-list-card { display:flex; align-items:center; gap:12px; padding:12px 14px; margin:9px 0; border:1px solid #e8edf5; border-radius:14px; background:#fff; box-shadow:0 3px 12px rgba(15,23,42,.05); transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease; cursor:pointer; flex-wrap:wrap; }

        
.person-list-card .person-list-actions { display:none; flex:0 0 100%; min-width:0; width:100%; padding-top:9px; border-top:1px solid #f1e5dd; margin-top:2px; }

        
.person-list-card.pp-actions-open .person-list-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }

        
.person-list-card.pp-actions-open .person-list-actions .small-action-button { display:flex; align-items:center; justify-content:center; min-width:0; white-space:normal!important; text-align:center; text-decoration:none; padding:9px 7px; font-size:11px; }

        
.person-list-card .person-list-info { cursor:pointer; }

        
.person-list-card:hover { transform:translateY(-1px); box-shadow:0 7px 18px rgba(15,23,42,.08); border-color:#d7e2f2; }

        
.person-list-card.cash-memo-active { background:linear-gradient(135deg,#fff7ed,#fff1df) !important; border-color:#f59e0b !important; box-shadow:0 5px 18px rgba(245,158,11,.16); }

        


        
.cash-memo-image-board { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:14px; }

        
.cash-memo-upload-card { min-width:0; padding:9px; border:1px solid #fed7aa; border-radius:15px; background:#fff; box-shadow:0 4px 14px rgba(194,65,12,.06); }

        
.cash-memo-upload-muted { background:#fffaf5; }

        
.cash-memo-upload-title { font-weight:900; color:#7c2d12; margin-bottom:7px; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

        
.cash-memo-upload-preview { display:block; width:100%; height:150px; object-fit:cover; border-radius:9px; border:1px solid #e5e7eb; background:#f8fafc; cursor:zoom-in; }

        
.cash-memo-empty-image { height:150px; min-height:0; display:flex; align-items:center; justify-content:center; text-align:center; padding:15px; border:1px dashed #fdba74; border-radius:10px; color:#9a3412; background:#fff7ed; }

        
.cash-memo-upload-time { margin-top:7px; font-size:11px; color:#64748b; }

        
.cash-memo-file-label { display:block; margin-top:9px; text-align:center; padding:10px 12px; border-radius:10px; background:linear-gradient(135deg,#e85d04,#f59e0b); color:#fff; font-size:12px; font-weight:900; cursor:pointer; }

        
.cash-memo-file-label input { display:none; }

        
.cash-memo-status-box { margin-top:12px; padding:11px 12px; border-radius:12px; background:#fff7ed; border:1px solid #fed7aa; color:#9a3412; font-size:12px; font-weight:800; line-height:1.6; text-align:center; }

        
@media (max-width:700px)  { 
.cash-memo-image-board { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
 
.cash-memo-upload-card { padding:7px; }
 
.cash-memo-upload-title { font-size:10px; }
 
.cash-memo-upload-preview, .cash-memo-empty-image { height:105px; }
 
.cash-memo-file-label { font-size:10px; padding:8px 5px; }
 
.cash-memo-upload-time { font-size:9px; }
 }

        


        


        


        


        


        


        


        


        
.cash-memo-order-btn { background:#f97316 !important; color:#fff !important; border-color:#f97316 !important; }

        


        


        
.person-list-avatar { width:48px; height:48px; border-radius:50%; object-fit:cover; background:#f3f4f6; flex:0 0 48px; border:2px solid #fff; box-shadow:0 2px 6px rgba(15,23,42,.10); }

        
.person-list-avatar-empty { display:flex; align-items:center; justify-content:center; font-size:21px; }

        
.person-list-info { min-width:0; flex:1; display:flex; flex-direction:column; gap:3px; font-size:12px; color:#64748b; line-height:1.45; }

        
.person-list-info strong { color:#0f172a; font-size:14px; font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

        
.person-list-info span { overflow-wrap:anywhere; word-break:break-word; }

        
.person-list-actions { display:flex; flex-direction:column; gap:6px; min-width:96px; flex:0 0 96px; }

        
.pp-follow-message-actions .small-action-button{display:inline-flex;align-items:center;justify-content:center;padding-left:8px;padding-right:8px;font-size:11px;line-height:1.25;}

        
@media(max-width:600px) {.person-list-actions{min-width:88px;flex-basis:88px}
.pp-follow-message-actions{gap:4px!important}
.pp-follow-message-actions .small-action-button{font-size:10px;padding:7px 5px;}}


        
.small-action-button { border:0; background:#d94f2b; color:#fff; border-radius:8px; padding:7px 9px; font-size:10px; font-weight:800; white-space:nowrap; cursor:pointer; box-shadow:0 2px 6px rgba(37,99,235,.16); transition:transform .15s ease, opacity .15s ease; }

        
.small-action-button:hover { transform:translateY(-1px); opacity:.92; }

        


        
.small-action-button.following { background:#d94f2b; color:#fff; }

        
.followers-section-intro { margin-bottom:14px; }

        
.followers-section-intro .section-title { margin-bottom:4px; }

        
.followers-empty-card { padding:28px 16px; text-align:center; border:1px dashed #d8dee8; border-radius:14px; color:#64748b; background:#f8fafc; }

        


        


        
.cash-memo-page { border:1px solid #f2d7bd; background:linear-gradient(180deg,#fffdf9,#fff7ed); }

        
.cash-memo-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }

        
.cash-memo-seller { display:grid; grid-template-columns:58px minmax(0,1fr); align-items:start; column-gap:12px; row-gap:9px; padding:14px; border:1px solid #e5e7eb; border-radius:16px; background:#fff; margin:14px 0; }

        
.cash-memo-avatar { width:58px; height:58px; border-radius:50%; object-fit:cover; border:2px solid #ffe2c2; flex:0 0 58px; grid-column:1; grid-row:1 / span 2; }

        
.cash-memo-avatar-empty { display:flex; align-items:center; justify-content:center; background:#f3f4f6; font-size:28px; }

        
.cash-memo-seller-info { min-width:0; grid-column:2; grid-row:1; }

        
.cash-memo-meta { color:#64748b; font-size:13px; line-height:1.65; overflow-wrap:anywhere; word-break:break-word; }

        
.cash-memo-follow-action { grid-column:2; grid-row:2; justify-self:start; }

        
.cash-memo-clear-wrap { display:flex; justify-content:center; margin-top:10px; }

        
.cash-memo-clear-btn { background:#fff !important; color:#d94801 !important; border:1px solid #f5c4b5 !important; box-shadow:none !important; }

        
.cash-memo-clear-btn:hover { background:#fff5f0 !important; }

        


        


        


        


        


        


        


        


        


        


        


        
@media (max-width:700px)  {
            
.person-list-card { align-items:flex-start; padding:11px; gap:9px; }

            
.person-list-avatar { width:44px; height:44px; flex-basis:44px; }

            
.person-list-actions { min-width:88px; flex-basis:88px; }

            
.small-action-button { padding:7px 7px; font-size:9px; }

            
.cash-memo-seller { grid-template-columns:48px minmax(0,1fr); column-gap:10px; padding:12px; }

            
.cash-memo-avatar { width:48px; height:48px; flex-basis:48px; }

            
.cash-memo-follow-action { width:100%; justify-self:stretch; }

            
.cash-memo-follow-action .small-action-button { width:100%; text-align:center; }

        }

        


        
/* Compact brand logos used inside Cart / Add Product modal headers.
           Visual-only fix: prevents the logo image from rendering at its natural size. */

        
.cart-modal-header .compact-brand-logo,
        .product-modal-header .compact-brand-logo {
            width: 88px;
            height: 38px;
            max-width: 88px;
            max-height: 38px;
            object-fit: contain;
            object-position: center;
            display: block;
            flex: 0 0 88px;
        }

        
.product-modal-header .product-modal-logo {
            width: 82px;
            height: 34px;
            max-width: 82px;
            max-height: 34px;
            flex-basis: 82px;
        }

        
@media (max-width:480px)  {
            
.cart-modal-header .compact-brand-logo {
                width: 78px;
                height: 34px;
                max-width: 78px;
                max-height: 34px;
                flex-basis: 78px;
            }

            
.product-modal-header .product-modal-logo {
                width: 74px;
                height: 31px;
                max-width: 74px;
                max-height: 31px;
                flex-basis: 74px;
            }

        }

        
.pickparcel-brand-logo{width:min(260px,72vw);max-height:82px;object-fit:contain;display:block;margin:0 auto;}

        
.pickparcel-verified-badge{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;margin-left:4px;vertical-align:-4px;flex:0 0 auto;line-height:0;}
.pickparcel-verified-badge svg{display:block;width:19px;height:19px;}


        
.pickparcel-member-badge{width:15px;height:15px;object-fit:contain;display:inline-block;vertical-align:-2px;margin-left:3px;flex:0 0 auto;}

        
.direct-booking-p-icon{width:22px;height:22px;object-fit:contain;vertical-align:-5px;margin-right:5px;}

        
.direct-parcel-booking-modal{max-width:560px;}

        
.direct-booking-info{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5;margin-bottom:12px;}

        
.direct-booking-section-title{font-size:14px;font-weight:900;color:#c2410c;border-bottom:1px solid #f3e2d8;padding-bottom:6px;margin:10px 0 8px;}

        
.direct-booking-pickup-card{background:#fffaf5;border:1px solid #fed7aa;border-radius:10px;padding:9px 10px;margin-bottom:10px;}

        
.direct-booking-pickup-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;}

        
.direct-booking-pickup-item{font-size:11px;line-height:1.4;color:#4b5563;min-width:0;}

        
.direct-booking-pickup-item strong{color:#9a3412;font-weight:900;margin-right:3px;}

        
.direct-booking-pickup-address{grid-column:1 / -1;white-space:normal;overflow-wrap:anywhere;}

        
.direct-booking-pickup-edit{margin-top:7px;}

        
.direct-booking-pickup-edit textarea{min-height:48px !important;padding:7px 9px !important;font-size:12px !important;}

        


        
.direct-booking-textarea{min-height:68px;}

        
.direct-booking-input{height:38px;padding:8px 10px;font-size:13px;}

        
.direct-booking-pickup-edit .direct-booking-textarea{min-height:54px;padding:7px 9px;font-size:12px;}

        
.direct-parcel-booking-modal .form-label{font-size:11px;margin-bottom:4px;}

        
.direct-parcel-booking-modal .form-group{margin-bottom:8px;}

        
.direct-booking-charge{background:#fff7ed;border:1px solid #ffcc80;border-radius:10px;padding:11px 12px;color:#c2410c;font-size:14px;font-weight:900;margin-top:8px;}

        
@media(max-width:600px) {
.direct-parcel-booking-modal .modal-body{padding:15px;}}

        
.pickparcel-member-section-header{margin-bottom:4px;}

        


        


        


        



        


        


        


        
.pickparcel-location-filters{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:2px 0 12px;padding:10px;border:1px solid #fde2cf;border-radius:12px;background:linear-gradient(135deg,#fffaf5,#fff7ed);}

        
.pickparcel-location-filters label{display:flex;flex-direction:column;gap:5px;min-width:145px;color:#7c2d12;font-size:11px;font-weight:900;}

        
.pickparcel-location-filters select{height:38px;padding:6px 10px;border:1px solid #fdba74;border-radius:9px;background:#fff;color:#374151;font-size:12px;font-weight:700;outline:none;}

        
.pickparcel-location-filters select:focus{border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.10);}

        
.pickparcel-location-filters select:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed;}

        
.pickparcel-location-apply,.pickparcel-location-clear{height:38px;border-radius:9px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;text-decoration:none;}

        
.pickparcel-location-apply{border:0;background:#f97316;color:#fff;cursor:pointer;}

        
.pickparcel-location-clear{background:#fff;border:1px solid #fed7aa;color:#9a3412;}

        
.pickparcel-order-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:13px;margin-bottom:10px;}

        
.pickparcel-compact-order-card{padding:9px 11px;margin-bottom:7px;border-radius:9px;background:linear-gradient(135deg,#ffffff 0%,#fffaf5 100%);border:1px solid #fed7aa;border-left:4px solid #f97316;box-shadow:0 2px 7px rgba(249,115,22,.06);}


        
.pickparcel-compact-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;line-height:1.35;margin-bottom:4px;}

        
.pickparcel-compact-time{margin-left:auto;font-size:10px;font-weight:700;color:#64748b;white-space:nowrap;}

        
.pickparcel-compact-top>strong{font-size:13px;color:#111827;}

        
.pickparcel-compact-status,.pickparcel-compact-charge{font-size:10px;font-weight:900;padding:3px 6px;border-radius:6px;box-sizing:border-box;max-width:100%;}

        
.pickparcel-compact-status{background:#f1f5f9;color:#334155;white-space:normal;overflow-wrap:anywhere;}

        
.pickparcel-compact-charge{display:block;flex:1 1 100%;width:100%;min-width:0;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.35;margin-top:1px;}

        


        


        
.pickparcel-compact-order-card{cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;}

        
.pickparcel-compact-order-card:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(15,23,42,.08);border-color:#f4b183;}

        


        
.pickparcel-call-link{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:4px;border-radius:50%;background:#ecfdf5;color:#047857;text-decoration:none;font-size:13px;vertical-align:middle;}

        
.pickparcel-call-link:hover{background:#d1fae5;}

        
@media(max-width:600px) {
            
.pickparcel-compact-top{align-items:flex-start;}

            
.pickparcel-compact-charge{font-size:10px;padding:4px 7px;}

        }

        
.pickparcel-order-search{display:flex;gap:8px;align-items:center;margin:0 0 14px;}

        
.pickparcel-order-search input{flex:1;min-width:0;height:42px;padding:9px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#1f2937;font-size:13px;outline:none;}

        
.pickparcel-order-search input:focus{border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.10);}

        
.pickparcel-order-search button{height:42px;padding:0 15px;border:0;border-radius:10px;background:#f97316;color:#fff;font-size:12px;font-weight:900;cursor:pointer;}

        
.pickparcel-order-search .clear{background:#f1f5f9;color:#334155;text-decoration:none;display:inline-flex;align-items:center;height:42px;padding:0 12px;border-radius:10px;font-size:12px;font-weight:800;}

        
@media (max-width:600px) {.pickparcel-order-search{gap:6px;}
.pickparcel-order-search button{padding:0 12px;}
.pickparcel-order-search .clear{padding:0 9px;}}

        

        

        

        

        

        

        

        

        

        


        


        


        


        


        


        


        


        


        


        


        


        
.pickparcel-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;margin-top:15px;}

        
.pickparcel-pagination a{min-width:34px;height:34px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;text-decoration:none;font-size:12px;font-weight:800;}

        
.pickparcel-pagination a.active{background:#d94f2b;border-color:#d94f2b;color:#fff;}

        
.pickparcel-page-info{text-align:center;color:#6b7280;font-size:11px;margin-top:8px;}

        


        
.compact-order-list{display:grid;gap:7px;margin-top:8px;}

        
.compact-order-row{border:1px solid #eceff3;border-radius:11px;background:#fff;overflow:hidden;}

        
.compact-order-main{width:100%;min-height:48px;padding:9px 10px;border:0;background:#fff;display:flex;align-items:center;gap:7px;text-align:left;cursor:pointer;}

        
.compact-order-main:hover{background:#fffaf5;}

        
.compact-order-id{font-size:13px;font-weight:950;color:#111827;white-space:nowrap;}

        
.compact-order-parcel{font-size:10px;font-weight:950;color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;padding:3px 6px;white-space:nowrap;}

        
.compact-order-chevron{margin-left:auto;color:#64748b;font-size:17px;line-height:1;transition:transform .18s ease;}

        
.compact-order-row.open .compact-order-chevron{transform:rotate(180deg);}

        
.compact-order-actions{display:flex;gap:6px;align-items:center;padding:0 10px 8px;flex-wrap:wrap;}

        
.fraud-check-order-button{border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#1d4ed8;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:900;white-space:nowrap;cursor:pointer;box-shadow:0 2px 6px rgba(37,99,235,.12);transition:transform .15s ease,box-shadow .15s ease;}

        
.fraud-check-order-button:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(37,99,235,.18);}

        
@media(max-width:600px) {.compact-order-actions .small-action-button,.compact-order-actions .fraud-check-order-button{flex:1 1 auto;text-align:center;justify-content:center;}}

        
.compact-order-details{display:none;border-top:1px solid #f1f5f9;background:#fafafa;padding:10px;font-size:12px;line-height:1.65;}

        
.compact-order-row.open .compact-order-details{display:block;}

        
.compact-order-loading{color:#64748b;text-align:center;padding:8px;}

        
.compact-order-detail-box{background:#fff;border:1px solid #e5e7eb;border-radius:9px;padding:9px;margin-bottom:7px;}

        
.compact-order-detail-title{font-weight:950;color:#9a3412;margin-bottom:5px;}

        
.compact-order-detail-products{display:grid;gap:6px;}

        
.compact-order-detail-product{display:flex;align-items:center;gap:8px;}

        
.compact-order-detail-product img,.compact-order-detail-product .empty-img{width:38px;height:38px;flex:0 0 38px;border-radius:7px;object-fit:cover;border:1px solid #e5e7eb;background:#f8fafc;display:flex;align-items:center;justify-content:center;}

        
.compact-order-detail-product .compact-order-media-image{display:block;}

/* ===== Orders UI patch: OTP badge, card menu ===== */
.compact-order-main.self-order-main{flex-wrap:wrap;row-gap:5px;}
.compact-order-otp{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:900;color:#9a3412;background:#fff7ed;border:1px dashed #fb923c;border-radius:7px;padding:3px 7px;white-space:nowrap;}
.compact-order-otp b{font-size:14px;letter-spacing:2px;color:#c2410c;font-variant-numeric:tabular-nums;}
.pp-od-card{position:relative;}
.pp-od-titlerow{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.pp-od-titlerow .compact-order-detail-title{margin-bottom:0;}
.pp-om-wrap{position:relative;flex:0 0 auto;}
.pp-om-btn{width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;}
.pp-om-btn:hover{background:#f1f5f9;}
.pp-om-menu{position:absolute;right:0;top:100%;margin-top:2px;min-width:210px;background:#fff;border:1px solid #e2e8f0;border-radius:11px;box-shadow:0 10px 26px rgba(15,23,42,.18);padding:5px;z-index:30;}
.pp-om-menu[hidden]{display:none;}
.pp-om-item{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:8px;font-size:13px;font-weight:700;color:#0f172a;cursor:pointer;font-family:inherit;}
.pp-om-item:hover{background:#f8fafc;}
.pp-om-item.danger{color:#b91c1c;}
.pp-om-item.ok{color:#15803d;}
.pp-od-msgicon{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;}
html.pp-dark .compact-order-otp{background:#431407;border-color:#c2410c;color:#fdba74;}
html.pp-dark .compact-order-otp b{color:#fb923c;}
html.pp-dark .pp-om-btn{color:#cbd5e1;}
html.pp-dark .pp-om-btn:hover{background:#374151;}
html.pp-dark .pp-om-menu{background:#1f2937;border-color:#374151;}
html.pp-dark .pp-om-item{color:#e5e7eb;}
html.pp-dark .pp-om-item:hover{background:#374151;}
html.pp-dark .pp-om-item.danger{color:#f87171;}
html.pp-dark .pp-om-item.ok{color:#4ade80;}

        

        
@media(max-width:600px) {.compact-order-main{gap:5px;padding:8px}
.compact-order-id{font-size:12px}
.compact-order-parcel{font-size:9px;}
.compact-order-main .order-status{font-size:9px;padding:3px 6px;}}


        


        


        


        


        


        


        


        
.order-delete-button { width:32px; height:32px; border:1px solid #f5c4b5; border-radius:8px; background:#fff5f5; color:#d94801; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; font-size:16px; line-height:1; transition:background .15s, transform .15s; }

        
.order-delete-button:hover { background:#fbe0d6; transform:translateY(-1px); }

        
.order-status { display:inline-block; padding:4px 8px; border-radius:7px; background:#f3f4f6; font-size:10px; font-weight:800; }

        
.order-status.pending { background:#fff7ed; color:#c2410c; }

        
.order-status.confirmed { background:#ecfdf5; color:#047857; }

        

        
.checkout-info { background:#fff8f1; border:1px solid #ffe0c2; border-radius:12px; padding:12px; line-height:1.7; font-size:13px; box-shadow:0 2px 8px rgba(194,65,12,.05); }

        
.checkout-delivery-warning{margin:0 0 10px;padding:11px 12px;border:1px solid #fca5a5;border-radius:10px;background:#fff1f2;color:#b91c1c;font-size:13px;font-weight:800;line-height:1.55;}


        
.checkout-line { display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid #eef0f3; font-size:13px; }

        
.checkout-info-dropdown { padding:0; overflow:hidden; }

        
.checkout-info-dropdown summary { display:flex; flex-direction:column; gap:2px; cursor:pointer; list-style:none; font-weight:800; color:#9a3412; line-height:1.45; padding:10px 12px; }

        
.checkout-info-dropdown summary::-webkit-details-marker { display:none; }

        
.checkout-info-dropdown summary::after { content:"＋"; float:right; align-self:flex-end; margin-top:-24px; font-size:18px; color:#ea580c; }

        
.checkout-info-dropdown[open] summary::after { content:"−"; }

        
.checkout-info-dropdown summary span { font-size:11px; font-weight:600; color:#78716c; }

        
.checkout-dropdown-content { padding:8px 12px 12px; border-top:1px solid #ffe0c2; overflow-wrap:anywhere; }

        
.checkout-product-list { display:grid; gap:8px; margin-top:10px; }

        
.checkout-product-item { display:flex; align-items:center; gap:10px; padding:10px 11px; background:#fff; border:1px solid #ffd4ad; border-radius:10px; box-shadow:0 2px 7px rgba(15,23,42,.05); }

        
.checkout-product-item-name { flex:1; min-width:0; font-weight:700; color:#1f2937; overflow-wrap:anywhere; }

        
.checkout-product-item-qty { flex:0 0 auto; padding:3px 7px; border-radius:7px; background:#fff4e6; color:#c2410c; font-weight:800; font-size:11px; }

        
.checkout-header-brand { display:flex; align-items:center; justify-content:center; width:100%; min-width:0; }

        
.checkout-header-logo { width:125px; height:55px; object-fit:contain; display:block; }

        


        


        


        
.checkout-modal-note { margin-top:10px; }


        
.comment-modal-list {
            max-height: 260px;
            overflow-y: auto;
            margin-bottom: 15px;
        }


        
.comment-item {
            display: flex;
            gap: 9px;
            padding: 10px 0;
            border-bottom: 1px solid #eef0f3;
        }


        
.comment-avatar {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            object-fit: cover;
            background: #f3f4f6;
            flex-shrink: 0;
        }


        
.comment-author {
            font-size: 12px;
            font-weight: 800;
        }


        
.comment-text {
            font-size: 13px;
            line-height: 1.45;
            margin-top: 2px;
        }


        
@media (max-width: 600px)  {
            
.sidebar-inner {
                padding-bottom: 100px;
            }


            
.main-content {
                padding-bottom: 78px;
            }


            
.mobile-bottom-footer {
                position: fixed;
                left: 0;
                right: 0;
                bottom: 0;
                display: flex;
                align-items: center;
                background: #ffffff;
                border-top: 1px solid #e5e7eb;
                box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
                z-index: 1500;
                padding-bottom: env(safe-area-inset-bottom);
            }


            
.seller-products-grid {
                grid-template-columns: 1fr 1fr;
            }

            
.seller-contact {
                grid-template-columns: 1fr;
            }

            
.seller-header {
                display: grid;
                grid-template-columns: 56px minmax(0, 1fr);
                align-items: start;
            }

            
.seller-header .seller-avatar,
            .seller-header .seller-avatar-empty {
                grid-column: 1;
                grid-row: 1;
            }

            
.seller-header .seller-info {
                grid-column: 2;
                grid-row: 1;
            }

            
.seller-header .follow-button {
                grid-column: 2;
                grid-row: 2;
                justify-self: start;
                padding: 7px 11px;
            }

        }



        
.product-detail-modal { max-width: 680px; }

        
.product-detail-image { width:100%; max-height:360px; object-fit:contain; border-radius:12px; background:#f3f4f6; display:block; }

        
.product-detail-title { font-size:22px; font-weight:800; margin:15px 0 8px; }

        
.product-detail-description { color:#4b5563; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; max-width:100%; margin-bottom:14px; }

        
.product-detail-price { font-size:21px; font-weight:800; margin-bottom:10px; }

        
.product-detail-seller { background:#f8fafc; border-radius:10px; padding:10px; font-size:12px; line-height:1.6; margin-bottom:12px; }

        
.product-detail-cart-button { margin-top:4px; }

        
.product-page-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }

        
.product-page-actions .seller-cart-button, .product-page-actions .small-action-button { flex:1 1 180px; }

        
.product-page-seller { background:#f8fafc; border:1px solid #e5e7eb; border-radius:12px; padding:14px; margin-top:18px; }

        
.product-page-seller-head { display:flex; align-items:center; gap:12px; }

        
.product-page-seller-avatar { width:58px; height:58px; border-radius:50%; object-fit:cover; background:#f3f4f6; display:flex; align-items:center; justify-content:center; }

        
.product-page-seller-info { flex:1; min-width:0; }

        
.product-page-seller-name { font-weight:800; font-size:17px; }

        
.product-page-seller-meta { color:#6b7280; font-size:12px; line-height:1.7; margin-top:3px; }

        
.product-page-follow { min-width:110px; }

        
.product-page-contact { margin-top:12px; font-size:13px; line-height:1.8; color:#374151; }


        
/* =========================================================
           ERROR
        ========================================================= */


        
.error-message {

            background: #fff3ee;

            border: 1px solid #fecdd3;

            color: #c84a32;

            padding: 12px 14px;

            border-radius: 9px;

            margin-bottom: 15px;

            font-size: 14px;
        }



        
/* =========================================================
           ADD PRODUCT MODAL
        ========================================================= */


        
.modal-overlay {

            position: fixed;

            inset: 0;

            background: rgba(15, 23, 42, 0.55);

            display: none;

            align-items: center;

            justify-content: center;

            padding: 20px;

            z-index: 2000;
        }


        
.modal-overlay.active {

            display: flex;
        }


        
/* Keep Product Details above the Cart modal when opened from Cart. */

        
#productDetailModal {
            z-index: 2100;
        }


        
/* Keep checkout in front of Product Details when opened from its order buttons. */

        
#checkoutModal {
            position: fixed !important;
            inset: 0 !important;
            z-index: 3000 !important;
        }

        
#checkoutModal.active {
            display: flex !important;
        }

        
#checkoutModal .checkout-modal {
            position: relative;
            z-index: 3001;
            max-height: calc(100dvh - 32px);
            overflow-y: auto;
            overscroll-behavior: contain;
        }


        
.modal {

            width: 100%;

            max-width: 500px;

            max-height: 90vh;

            overflow-y: auto;

            background: #ffffff;

            border-radius: 16px;

            box-shadow:
                0 25px 70px
                rgba(0,0,0,0.20);
        }


        
.modal-header {

            display: flex;

            align-items: center;

            justify-content: space-between;

            padding: 18px 20px;

            border-bottom: 1px solid #e5e7eb;
        }


        
.modal-title {

            font-size: 19px;

            font-weight: 800;
        }


        
.modal-close {

            width: 34px;
            height: 34px;

            border: 0;

            border-radius: 8px;

            background: #f3f4f6;

            font-size: 20px;
        }


        
.modal-body {

            padding: 20px;
        }


        
.form-group {

            margin-bottom: 16px;
        }


        
.form-label {

            display: block;

            font-size: 13px;

            font-weight: 700;

            margin-bottom: 7px;
        }


        
.form-input,
        .form-textarea {

            width: 100%;

            border: 1px solid #d1d5db;

            border-radius: 9px;

            padding: 12px 13px;

            outline: none;

            font-size: 14px;

            background: #ffffff;
        }


        
.form-input:focus,
        .form-textarea:focus {

            border-color: #d94f2b;

            box-shadow:
                0 0 0 3px
                rgba(37,99,235,0.10);
        }


        
.form-textarea {

            min-height: 110px;

            resize: vertical;
        }


        
.form-help {

            color: #9ca3af;

            font-size: 11px;

            margin-top: 5px;
        }


        
.modal-footer {

            display: flex;

            gap: 10px;

            padding: 0 20px 20px;
        }


        
.modal-button {

            flex: 1;

            padding: 12px;

            border: 0;

            border-radius: 9px;

            font-weight: 700;

            font-size: 14px;
        }


        
.cancel-button {

            background: #f3f4f6;

            color: #374151;
        }


        
.submit-product-button {

            background: #d94f2b;

            color: #ffffff;
        }



        
/* =========================================================
           NOT LOGGED IN
        ========================================================= */


        



        



        



        



        



        
.google-login-button {

            display: block;

            width: 100%;

            padding: 14px;

            border: 1px solid #d1d5db;

            border-radius: 9px;

            background: #ffffff;

            color: #111827;

            text-decoration: none;

            font-weight: 700;

            font-size: 15px;
        }



        
/* =========================================================
           MOBILE OVERLAY
        ========================================================= */


        
.sidebar-overlay {

            display: none;

            position: fixed;

            inset: 0;

            background: rgba(0,0,0,0.35);

            z-index: 850;
        }



        
/* =========================================================
           RESPONSIVE
        ========================================================= */


        
/* Desktop: keep the side navigation visible */

        
@media (min-width: 751px)  {
            
.sidebar {
                display: block !important;
                visibility: visible !important;
                position: fixed !important;
                top: 68px !important;
                left: 0 !important;
                bottom: 0 !important;
                width: 285px !important;
                transform: translateX(0) !important;
                z-index: 2000 !important;
            }


            
.main-content {
                margin-left: 285px !important;
                padding-bottom: 78px;
            }


            
.mobile-bottom-footer {
                position: fixed;
                left: 285px;
                right: 0;
                bottom: 0;
                display: flex;
                align-items: center;
                background: #ffffff;
                border-top: 1px solid #e5e7eb;
                box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
                z-index: 1500;
                padding-bottom: env(safe-area-inset-bottom);
            }

        }



        
@media (max-width: 900px)  {

            



            
.sidebar {

                width: 260px;
            }


            
.main-content {

                margin-left: 260px;
            }


            
.mobile-bottom-footer {
                left: 260px;
            }


        }



        
@media (max-width: 750px)  {

            
.top-header {

                height: 60px;
            }


            
.header-inner {

                padding: 0 8px;
                gap: 4px;
            }


            
.menu-button {

                display: block;

                order: -1;
            }


            
.brand-name {

                font-size: 19px;
            }


            



            



            



            



            
.header-icon {

                display: flex;
                flex: 0 0 38px;
                width: 38px;
                height: 38px;
                font-size: 16px;
            }


            



            
.sidebar {

                top: 60px;

                width: 285px;

                transform:
                    translateX(-100%);

                transition:
                    transform 0.25s ease;
            }


            
.sidebar.open {

                transform:
                    translateX(0);
            }


            
.sidebar-overlay.active {

                display: block;
            }


            
.main-content {

                margin-left: 0;

                padding-top: 60px;
            }


            
.content-container {

                padding: 15px;
            }


            
.welcome-card {

                padding: 18px;
            }


            
.welcome-card h1 {

                font-size: 21px;
            }


            
.section-card {

                padding: 15px;
            }


            
.products-grid {

                grid-template-columns:
                    repeat(2, minmax(0, 1fr));

                gap: 12px;
            }


            
.product-image,
            .product-no-image {

                height: 125px;
            }


            
.product-body {

                padding: 9px;
            }


            
.product-description {
                min-height: 0;
                max-height: 38px;
                overflow: hidden;
                margin-bottom: 7px;
            }


            
.product-name {

                font-size: 15px;
            }


            
.product-price {

                font-size: 17px;
            }


        }



        
@media (max-width: 430px)  {

            
.products-grid {

                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
            }


            
.product-image,
            .product-no-image {

                height: 120px;
            }


            
.product-body {
                padding: 8px;
            }


            
.product-name {
                font-size: 14px;
                line-height: 1.25;
                margin-bottom: 5px;
            }


            
.product-description {
                font-size: 12px;
                line-height: 1.35;
                max-height: 32px;
                margin-bottom: 6px;
            }


            
.product-price {
                font-size: 16px;
            }


            
.seller-cart-button {
                padding: 6px 5px;
                margin-top: 6px;
                font-size: 11px;
            }


            
.modal-footer {

                flex-direction: column;
            }


        }


        
/* Footer alignment fix: keep all footer items evenly centered */

        
.mobile-bottom-footer {
            justify-content: center !important;
            width: auto;
        }


        
.mobile-bottom-button {
            flex: 0 1 150px;
            min-width: 110px;
            text-align: center;
        }


        
@media (min-width: 751px)  {
            
.mobile-bottom-footer {
                left: 285px !important;
                right: 0 !important;
                width: auto !important;
                justify-content: center !important;
            }

        }


        
@media (min-width: 751px) and (max-width: 900px)  {
            
.mobile-bottom-footer {
                left: 260px !important;
            }

        }


        
@media (max-width: 750px)  {
            
.mobile-bottom-footer {
                left: 0 !important;
                right: 0 !important;
                width: 100% !important;
                justify-content: space-around !important;
            }


            
.mobile-bottom-button {
                flex: 1 1 0;
                min-width: 0;
                max-width: 150px;
            }

        }



        
/* =========================================================
           PICKPARCEL RED + ORANGE BRAND THEME
           Only visual styling; no functionality changed.
        ========================================================= */

        
.brand-logo-image {
            width: 190px;
            height: 58px;
            object-fit: contain;
            object-position: center;
            display: block;
            flex: 0 0 auto;
        }


        
.brand {
            gap: 0;
        }


        
@media (max-width: 750px)  {
            
.brand-logo-image {
                width: 175px;
                height: 56px;
            }

        }


        
@media (max-width: 430px)  {
            
.brand-logo-image {
                width: 155px;
                height: 52px;
            }

        }


    
        
/* =========================================================
           PICKPARCELBD POLISHED RED + ORANGE UI
           Visual-only overrides. PHP / JS / database logic untouched.
        ========================================================= */

        
:root {
            --pp-red: #d94f2b;
            --pp-red-dark: #c74324;
            --pp-orange: #f97316;
            --pp-orange-dark: #f57c00;
            --pp-cream: #fff7ed;
            --pp-border: #f1e1d7;
            --pp-text: #172033;
            --pp-muted: #6b7280;
        }


        
body {
            background: linear-gradient(180deg, #fffaf7 0%, #f7f8fb 38%, #f4f6f9 100%);
            color: var(--pp-text);
        }


        
.top-header {
            background: rgba(255,255,255,.96);
            border-bottom: 1px solid #f0ddd2;
            box-shadow: 0 4px 18px rgba(124,45,18,.07);
            backdrop-filter: blur(10px);
        }


        
.brand-logo-image {
            width: 190px;
            height: 58px;
            object-fit: contain;
            object-position: center;
            display: block;
        }


        
.header-icon,
        .menu-button {
            border-color: #f0ddd2;
            transition: .2s ease;
        }


        
.header-icon:hover,
        .menu-button:hover {
            border-color: var(--pp-orange);
            color: var(--pp-red);
            transform: translateY(-1px);
            box-shadow: 0 5px 14px rgba(255,152,0,.14);
        }


        
.sidebar {
            border-right-color: #f0ddd2;
            box-shadow: 4px 0 18px rgba(124,45,18,.04);
        }


        
.section-card,
        .welcome-card {
            border-color: var(--pp-border);
            border-radius: 18px;
            box-shadow: 0 7px 24px rgba(15,23,42,.055);
        }


        
.section-card:hover,
        .welcome-card:hover {
            border-color: #f3c9a8;
        }


        
.section-title,
        .welcome-card h1 {
            color: var(--pp-text);
        }


        
.section-title::after {
            content: "";
            display: block;
            width: 38px;
            height: 3px;
            margin-top: 7px;
            border-radius: 99px;
            background: linear-gradient(90deg, var(--pp-red), var(--pp-orange));
        }


        



        



        
.product-card,
        .user-product-card,
        .seller-product {
            border-color: #eee1da;
            border-radius: 16px;
            box-shadow: 0 5px 18px rgba(15,23,42,.045);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }


        
.product-card:hover,
        .user-product-card:hover,
        .seller-product:hover {
            transform: translateY(-3px);
            border-color: #f2c19c;
            box-shadow: 0 12px 28px rgba(124,45,18,.10);
        }


        
.product-price,
        .seller-product .product-price {
            color: var(--pp-red) !important;
            font-weight: 900;
        }


        
/* Primary actions: red-orange gradient, not every button. */

        
.seller-cart-button.added, .follow-button.following, .small-action-button, .modal-button.primary, .google-login-button {
            background: linear-gradient(135deg, var(--pp-red), var(--pp-orange)) !important;
            color: #fff !important;
            border-color: transparent !important;
            box-shadow: 0 5px 14px rgba(229,57,53,.18);
        }


        
.seller-cart-button.added:hover, .follow-button.following:hover, .small-action-button:hover, .modal-button.primary:hover, .google-login-button:hover {
            background: linear-gradient(135deg, var(--pp-red-dark), var(--pp-orange-dark)) !important;
            transform: translateY(-1px);
        }


        
/* Secondary actions */

        
.seller-cart-button, .follow-button, .user-card-action {
            background: #fff !important;
            color: var(--pp-red) !important;
            border-color: #f2c6a6 !important;
        }


        
.seller-cart-button:hover, .follow-button:hover, .user-card-action:hover {
            background: var(--pp-cream) !important;
            border-color: var(--pp-orange) !important;
            color: var(--pp-red-dark) !important;
        }


        
.logout-button {
            background: #fff5f5 !important;
            color: var(--pp-red-dark) !important;
            border: 1px solid #ffd8c9 !important;
        }


        
.logout-button:hover {
            background: #fff0e8 !important;
        }


        
.mobile-bottom-footer {
            border-top-color: #f0ddd2;
            box-shadow: 0 -8px 24px rgba(124,45,18,.08);
        }


        
.mobile-bottom-button {
            transition: .18s ease;
        }


        
.mobile-bottom-button:hover {
            color: var(--pp-red) !important;
            background: #fff8f2 !important;
        }


        
.pickparcel-count,
        .cart-count,
        .notification-badge,
        .sidebar-count {
            background: var(--pp-red) !important;
        }


        
.wallet-box {
            background: linear-gradient(135deg, #fff7ed, #fffaf5);
            border-color: #fed7aa;
        }


        
.wallet-balance {
            color: var(--pp-red) !important;
        }


        



        
.modal {
            border: 1px solid #f0ddd2;
            box-shadow: 0 20px 60px rgba(15,23,42,.18);
        }


        
@media (max-width: 750px)  {
            
.brand-logo-image {
                width: 175px;
                height: 56px;
            }

            
.content-container {
                padding-left: 15px;
                padding-right: 15px;
            }

        }


        
@media (max-width: 430px)  {
            
.brand-logo-image {
                width: 155px;
                height: 52px;
            }

        }


        
/* Lightweight user cards and user intro modal */

        
.light-user-card { padding:12px 14px; margin-bottom:12px; border-radius:14px; }

        
.light-user-main { display:flex; align-items:center; gap:11px; cursor:pointer; min-width:0; }

        
.light-user-main .seller-avatar { width:48px; height:48px; }

        
.light-user-info { min-width:0; flex:1; }

        
.light-user-info .seller-name { font-weight:750; overflow-wrap:anywhere; }

        
.light-user-info .seller-id { font-size:12px; margin-top:3px; }

        
.light-user-info .seller-stats { display:none; }

        
.light-user-open-hint { font-size:11px; color:#64748b; white-space:nowrap; }

        
.light-user-news { margin:10px 0 0; padding:8px 10px; font-size:13px; }

        
.user-intro-overlay { position:fixed; inset:0; z-index:10050; background:rgba(15,23,42,.62); display:flex; align-items:center; justify-content:center; padding:16px; }

        
.user-intro-dialog { position:relative; width:min(100%,480px); max-height:88vh; overflow:auto; background:#fff; border-radius:18px; padding:22px 18px 18px; box-shadow:0 20px 60px rgba(0,0,0,.25); }

        
.user-intro-close { position:absolute; top:10px; right:10px; width:38px; height:38px; border:0; border-radius:50%; background:#f1f5f9; font-size:27px; line-height:1; cursor:pointer; }

        
.user-intro-profile { display:flex; align-items:center; gap:13px; padding:10px 42px 14px 0; cursor:pointer; }

        
.user-intro-avatar { width:66px; height:66px; border-radius:50%; object-fit:cover; background:#f1f5f9; flex:0 0 auto; }

        
.user-intro-avatar-fallback { display:flex; align-items:center; justify-content:center; font-size:30px; }

        
.user-intro-name-block { min-width:0; }

        
.user-intro-name { font-size:19px; font-weight:800; overflow-wrap:anywhere; }

        
.user-intro-uid { color:#64748b; font-size:13px; margin-top:4px; }

        
.user-intro-stats { display:flex; flex-wrap:wrap; gap:14px; padding:12px 0; border-top:1px solid #e2e8f0; border-bottom:1px solid #e2e8f0; font-size:13px; }

        
.user-intro-contact { display:grid; gap:11px; padding:16px 0; font-size:14px; overflow-wrap:anywhere; }

        
.user-intro-actions { display:flex; flex-wrap:wrap; gap:8px; }

        
.user-intro-actions button { flex:1 1 auto; }

        
.user-intro-page-button { border:0; border-radius:10px; background:#f97316; color:#fff; padding:10px 12px; font-weight:700; cursor:pointer; }

        
.light-user-products { margin-top:10px; }

        
.seller-category-summary-wrap { position:relative; margin-top:5px; padding-right:2px; min-width:0; }

        
.seller-category-summary { display:flex; flex-wrap:wrap; align-items:center; gap:4px; max-height:none; overflow:visible; padding:0 2px 1px 0; min-width:0; }

        
.seller-category-count { display:inline-flex; box-sizing:border-box; height:20px; align-items:center; gap:4px; flex:0 0 auto; white-space:nowrap; padding:2px 7px; border:1px solid #e2e8f0; border-radius:999px; background:#f8fafc; color:#475569; font-size:10px; line-height:1.35; font-weight:800; }

        
.seller-category-count svg { width:13px; height:13px; }

        
.seller-category-tag { display:inline-block; max-width:100%; padding:3px 7px; border-radius:999px; background:#f1f5f9; color:#475569; font-size:10px; line-height:1.35; font-weight:600; overflow-wrap:anywhere; }

        
.seller-category-more { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; padding:3px 7px; border-radius:999px; background:#f1f5f9; color:#475569; font-size:10px; line-height:1.35; font-weight:700; white-space:nowrap; }

        
.seller-category-dashboard { margin:0 0 18px; padding:14px; border:1px solid #e2e8f0; border-radius:14px; background:#f8fafc; }

        
.seller-category-dashboard-title { font-size:15px; font-weight:850; color:#1e293b; margin-bottom:10px; }

        
.seller-category-dashboard-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:8px; }

        
.seller-category-dashboard-item { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 11px; border:1px solid #e2e8f0; border-radius:10px; background:#fff; font-size:12px; color:#334155; }

        
.seller-category-dashboard-item span { min-width:0; overflow-wrap:anywhere; }

        
.seller-category-dashboard-item strong { flex:0 0 auto; min-width:26px; text-align:center; padding:3px 7px; border-radius:999px; background:#ffedd5; color:#c2410c; }

        
.seller-category-dashboard-item:hover { border-color:#fdba74; background:#fff7ed; }

        
.seller-category-dashboard-item.is-active { border-color:#f97316; background:#fff7ed; box-shadow:0 0 0 1px rgba(249,115,22,.12); }

        
.light-user-actions { display:flex; gap:7px; padding:8px 10px 10px; }

        
.light-user-actions .user-card-action { flex:1 1 0; min-width:0; height:36px; border-radius:10px; font-size:12px; display:inline-flex; align-items:center; justify-content:center; }

        
.light-user-actions .light-stat-action { gap:6px; border:1px solid #e2e8f0; background:#f8fafc; color:#475569; font-weight:800; cursor:pointer; }

        
.light-user-actions .light-stat-action.following { background:#fff7ed; border-color:#fdba74; color:#c2410c; }

        
.light-user-actions .light-stat-action strong { font-size:12px; line-height:1; }

        
.light-user-actions .light-stat-action:disabled { opacity:.65; }

        
.light-user-actions .light-messenger-button { flex:0 0 44px; width:44px; min-width:44px; padding:5px; background:#eef6ff; border:1px solid #cfe5ff; }

        
.light-messenger-icon { display:block; width:24px; height:24px; }

        
@media(max-width:480px)  { 
.light-user-open-hint { display:none; }
 
.user-intro-dialog { padding:20px 14px 14px; }
 }




/* Header live-search ONLY: keep product title beside its thumbnail, max two lines. */


.pp-header-search-live-results .pp-live-search-product-item {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
}


.pp-header-search-live-results .pp-live-search-product-item > img.pp-live-search-avatar {
    display:block !important;
    flex:0 0 64px !important;
    width:64px !important;
    height:64px !important;
    max-width:64px !important;
    object-fit:cover !important;
}


.pp-header-search-live-results .pp-live-search-product-item > .pp-live-search-product-image-unavailable {
    display:flex !important;
    flex:0 0 64px !important;
    width:64px !important;
    min-width:64px !important;
    max-width:64px !important;
    min-height:64px !important;
    padding:5px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
}


.pp-header-search-live-results .pp-live-search-product-item > .pp-live-search-info {
    display:block !important;
    flex:1 1 0 !important;
    width:0 !important;
    min-width:0 !important;
    max-width:100% !important;
    padding-top:2px !important;
    box-sizing:border-box !important;
}


.pp-header-search-live-results .pp-live-search-product-item .pp-live-search-name {
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    line-height:1.3 !important;
    max-height:2.6em !important;
    font-size:17px !important;
}


@media (max-width:600px)  {
    
.pp-header-search-live-results .pp-live-search-product-item > img.pp-live-search-avatar {
        flex-basis:58px !important; width:58px !important; height:58px !important; max-width:58px !important;
    }

    
.pp-header-search-live-results .pp-live-search-product-item > .pp-live-search-product-image-unavailable {
        flex-basis:58px !important; width:58px !important; min-width:58px !important; max-width:58px !important; min-height:58px !important;
    }

    
.pp-header-search-live-results .pp-live-search-product-item .pp-live-search-name { font-size:16px !important; }

}




/* PickParcelBD main-feed product carousel: visual-only, scoped to seller product cards. */


.user-product-card > .seller-products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 2px 12px !important;
    margin: 0 -2px 2px !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #f59e0b #fff1e6;
}


.user-product-card > .seller-products-grid > .seller-product {
    flex: 0 0 clamp(176px, 62%, 245px) !important;
    width: clamp(176px, 62%, 245px) !important;
    min-width: 0 !important;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}


.user-product-card > .seller-products-grid > .seller-product > .product-image,
.user-product-card > .seller-products-grid > .seller-product > .product-no-image {
    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    object-fit: contain !important;
    background: #f8f8f8;
}


.user-product-card > .seller-products-grid > .seller-product > .seller-product-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 10px !important;
}


.user-product-card > .seller-products-grid > .seller-product .product-name {
    min-height: 36px;
    font-size: 14px;
    line-height: 1.3;
}


.user-product-card > .seller-products-grid > .seller-product .product-description {
    min-height: 30px;
    max-height: 30px;
    overflow: hidden;
}


.user-product-card > .seller-products-grid > .seller-product .product-price {
    margin-top: auto;
    padding-top: 5px;
    font-size: 18px;
}


.user-product-card > .seller-products-grid > .seller-product .main-product-order-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 10px;
}


.user-product-card > .seller-products-grid > .seller-product .main-product-order-actions button {
    width: 100%;
    flex: 1 1 auto;
    min-height: 36px;
}


@media (min-width: 700px)  {
    
.user-product-card > .seller-products-grid > .seller-product {
        flex-basis: 220px !important;
        width: 220px !important;
    }

    
.user-product-card > .seller-products-grid > .seller-product > .product-image,
    .user-product-card > .seller-products-grid > .seller-product > .product-no-image {
        height: 185px !important;
        min-height: 185px !important;
    }

}



/* Price badge overlay on product image in the main user-feed cards. */


.user-product-card > .seller-products-grid > .seller-product {
    position: relative !important;
}


.user-product-card > .seller-products-grid > .seller-product > .feed-product-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 20px);
    padding: 3px 7px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 7px;
    background: rgba(220, 38, 38, .96);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    font-size: 11px;
    line-height: 1;
    font-weight: 850;
    white-space: nowrap;
    pointer-events: none;
}






/* Main-feed product cards: compact Facebook-ad style with one-card swipe snapping.
   Scoped only to product cards inside user profile cards; no business logic changed. */


.user-product-card > .seller-products-grid {
    gap: 10px !important;
    padding: 2px 3px 10px !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
}


.user-product-card > .seller-products-grid::-webkit-scrollbar { display: none; }


.user-product-card > .seller-products-grid > .seller-product {
    flex: 0 0 min(82%, 310px) !important;
    width: min(82%, 310px) !important;
    min-width: 0 !important;
    height: auto !important;
    align-self: stretch;
    overflow: hidden;
    border: 1px solid #dedfe3 !important;
    border-radius: 17px !important;
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.06) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
}


.user-product-card > .seller-products-grid > .seller-product > .product-image,
.user-product-card > .seller-products-grid > .seller-product > .product-no-image {
    display: block !important;
    width: 100% !important;
    height: clamp(180px, 52vw, 250px) !important;
    min-height: 0 !important;
    max-height: 250px !important;
    padding: 5px !important;
    object-fit: contain !important;
    background: #fff !important;
    flex: 0 0 auto !important;
}


.user-product-card > .seller-products-grid > .seller-product > .seller-product-body {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    padding: 9px 10px 10px !important;
    min-width: 0 !important;
    border-top: 1px solid #ececec;
    background: #f5f6fa !important;
}


.user-product-card > .seller-products-grid > .seller-product .product-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 0 !important;
    max-height: 2.6em !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
    overflow-wrap: anywhere;
}


.user-product-card > .seller-products-grid > .seller-product .product-description,
.user-product-card > .seller-products-grid > .seller-product .product-price {
    display: none !important;
}


.user-product-card > .seller-products-grid > .seller-product .main-product-order-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    margin: 7px 0 0 !important;
}


.user-product-card > .seller-products-grid > .seller-product .main-product-order-actions .seller-cart-button {
    display: none !important;
}


.user-product-card > .seller-products-grid > .seller-product .main-product-order-actions .direct-order-button {
    display: block !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 7px 10px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #dfe3e9 !important;
    color: #171717 !important;
    box-shadow: none !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}


.user-product-card > .seller-products-grid > .seller-product .main-product-order-actions .direct-order-button::after {
    content: "অর্ডার করুন";
    font-size: 13px;
}


@media (min-width: 700px)  {
    
.user-product-card > .seller-products-grid > .seller-product {
        flex-basis: 280px !important;
        width: 280px !important;
    }

    
.user-product-card > .seller-products-grid > .seller-product > .product-image,
    .user-product-card > .seller-products-grid > .seller-product > .product-no-image {
        height: 220px !important;
        max-height: 220px !important;
    }

}



/* Facebook-style centered product swipe: keep the current card size,
   center the active card, and leave a preview of adjacent cards on both sides. */


.user-product-card > .seller-products-grid {
    padding-left: max(9%, calc((100% - 310px) / 2)) !important;
    padding-right: max(9%, calc((100% - 310px) / 2)) !important;
    scroll-padding-inline: max(9%, calc((100% - 310px) / 2)) !important;
    scroll-snap-type: x mandatory !important;
}


.user-product-card > .seller-products-grid > .seller-product {
    scroll-snap-align: center !important;
}


@media (min-width: 700px)  {
    
.user-product-card > .seller-products-grid {
        padding-left: max(12px, calc((100% - 280px) / 2)) !important;
        padding-right: max(12px, calc((100% - 280px) / 2)) !important;
        scroll-padding-inline: max(12px, calc((100% - 280px) / 2)) !important;
    }

}



/* Compact call-to-action at the end of a five-product preview carousel. */


.user-product-card > .seller-products-grid > .seller-products-more-card {
    flex: 0 0 min(82%, 310px) !important;
    width: min(82%, 310px) !important;
    min-width: 0 !important;
    min-height: 280px;
    box-sizing: border-box;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    border: 1px solid #fed7aa;
    border-radius: 17px;
    background: linear-gradient(145deg,#fff7ed,#fff);
    color: #9a3412;
    text-align: center;
    text-decoration: none;
    line-height: 1.45;
}


.user-product-card > .seller-products-grid > .seller-products-more-card .seller-products-more-icon {
    display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;
    background:#ffedd5;color:#ea580c;font-size:28px;font-weight:900;
}


.user-product-card > .seller-products-grid > .seller-products-more-card strong { font-size:15px; }


.user-product-card > .seller-products-grid > .seller-products-more-card > span:last-child {
    display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:20px;
    background:#f97316;color:#fff;font-size:12px;font-weight:800;
}


@media (min-width:700px)  {
    
.user-product-card > .seller-products-grid > .seller-products-more-card { flex-basis:280px !important; width:280px !important; min-height:295px; }

}



/* Standard share icon overlaid on a corner of the product image. */


.product-image-share-button{position:absolute;top:12px;right:12px;z-index:5;width:40px;height:40px;border:1px solid #e5e7eb;border-radius:50%;background:rgba(255,255,255,.96);color:#374151;box-shadow:0 2px 8px rgba(0,0,0,.16);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;}


.product-image-share-button svg{width:21px;height:21px;display:block;}


.product-image-share-button:focus-visible{outline:2px solid #ea580c;outline-offset:2px;}



/* ---- style (orig line 8992) ---- */
/* =========================================================
   PUBLIC LOGIN FOOTER — lightweight animated delivery footer
========================================================= */












@keyframes publicLoginCarDrive{
    0%{transform:translateX(0) scaleX(1);}
    48%{transform:translateX(calc(100vw + 10px)) scaleX(1);}
    49%{transform:translateX(calc(100vw + 10px)) scaleX(-1);}
    50%{transform:translateX(calc(100vw + 10px)) scaleX(-1);}
    98%{transform:translateX(0) scaleX(-1);}
    99%{transform:translateX(0) scaleX(-1);}
    100%{transform:translateX(0) scaleX(1);}
}
@keyframes publicLoginButtonFloat{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-4px);}
}




/* PUBLIC LOGIN PAGE: do not inherit the logged-in sidebar layout. */
.public-browse-main{
    margin-left:0 !important;
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box;
    padding-top:68px !important;
}
.public-browse-main .content-container{
    width:100%;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
    padding-top:0;
}
.public-browse-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
@media (max-width:900px){
    .public-browse-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:600px){
    .public-browse-main .content-container{padding-left:10px;padding-right:10px;}
    .public-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
}
@media (min-width:901px){.public-browse-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:900px){.public-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
/* Compact login/public-browse product cards */
.public-browse-grid .product-card{min-width:0;overflow:hidden;border-radius:12px;box-shadow:0 2px 8px rgba(15,23,42,.045)}
.public-browse-grid .product-image,.public-browse-grid .product-no-image{height:155px!important;background:#fff8f3}
.public-browse-grid .product-image{display:block;width:100%;box-sizing:border-box;object-fit:contain;padding:7px!important}
.public-browse-grid .product-body{padding:7px 9px 9px!important;display:flex;flex-direction:column;gap:4px;min-width:0}
.public-browse-grid .product-name{font-size:14px!important;line-height:18px!important;height:18px!important;min-height:0!important;margin:0!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.public-browse-grid .product-description{display:none!important}
.public-browse-grid .product-price{font-size:17px!important;line-height:1.2;margin:0!important;font-weight:850}
.public-browse-grid .product-body > div[style*="font-size:12px"]{font-size:10px!important;line-height:1.25;margin-top:1px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.public-browse-grid .product-body > div[style*="font-size:12px"] svg{width:13px;height:13px;vertical-align:middle}
.public-browse-grid .seller-cart-button{border-radius:7px!important;padding:7px 6px!important;font-size:11px!important;font-weight:850;line-height:1.2;box-shadow:none;margin-top:2px!important}
@media(max-width:600px){.public-browse-grid{gap:8px!important}.public-browse-grid .product-image,.public-browse-grid .product-no-image{height:112px!important}.public-browse-grid .product-body{padding:6px 7px 7px!important;gap:4px}.public-browse-grid .product-name{font-size:12px!important;line-height:15px!important;height:15px!important}.public-browse-grid .product-price{font-size:15px!important}.public-browse-grid .product-body > div[style*="font-size:12px"]{font-size:9px!important}.public-browse-grid .seller-cart-button{padding:6px 5px!important;font-size:10px!important}}
/* Fill unused space between login-page product cards; keep existing card functions unchanged. */
.public-browse-main .content-container{max-width:none!important;padding-left:8px!important;padding-right:8px!important;}
.public-browse-grid{gap:6px!important;align-items:stretch!important;}
.public-browse-grid > .product-card{width:100%!important;margin:0!important;box-sizing:border-box!important;}
@media(min-width:901px){.public-browse-grid .product-image,.public-browse-grid .product-no-image{height:190px!important;}}
@media(min-width:601px) and (max-width:900px){.public-browse-grid{gap:5px!important;}.public-browse-grid .product-image,.public-browse-grid .product-no-image{height:145px!important;}}
@media(max-width:600px){.public-browse-main .content-container{padding-left:5px!important;padding-right:5px!important;}.public-browse-grid{gap:5px!important;}.public-browse-grid .product-image,.public-browse-grid .product-no-image{height:125px!important;}}
/* Match the login-page content width to the site's normal desktop main-content column. */
.public-browse-header .header-inner{justify-content:center!important;padding-left:12px!important;padding-right:12px!important;}
.public-browse-header .brand{margin-left:auto!important;margin-right:auto!important;justify-content:center!important;}
.public-browse-main .content-container{width:calc(100% - 40px)!important;max-width:820px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;}
@media(min-width:1500px){.public-browse-main .content-container{width:760px!important;max-width:calc(100vw - 48px)!important;}}
@media(max-width:750px){.public-browse-main .content-container{width:100%!important;max-width:none!important;padding-left:5px!important;padding-right:5px!important;}}


/* ---- style (orig line 9080) ---- */
.pp-transfer-panel button{cursor:pointer;}
#parcelTransferModal .modal-box{position:relative;}
#parcelTransferQrCode img{display:block;margin:auto;}
@media(max-width:600px){.pp-transfer-panel{font-size:12px!important;}#parcelTransferModal .modal-box{padding:12px!important;}}

/* ---- style (orig line 9087) ---- */
/* Compact Messenger-style Main Content Search — UI only; search logic unchanged. */










        /* ChatGPT-style Search opened from the header icon */
        
        .header-search-trigger { position: relative; flex: 0 0 40px; padding: 0; }
        .header-search-trigger svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
        .pp-header-search-overlay { position: fixed; top: 68px; right: 0; bottom: 0; left: 0; z-index: 900; display: none; align-items: flex-start; justify-content: center; padding: 26px 18px; background: #ffffff; overflow-y: auto; }
        .pp-header-search-overlay.active { display: flex; }
        .pp-header-search-shell { width: min(100%, 1200px); display: flex; align-items: flex-start; gap: 14px; }
        .pp-header-search-main { flex: 1 1 auto; min-width: 0; }
        .pp-header-search-form { position: relative; width: 100%; }
        .pp-header-search-input { display: block; width: 100%; height: 64px; border: 1px solid #fdc98b; border-radius: 32px; padding: 0 28px 0 72px; outline: none; background: #fff7ed; color: #3b2418; font-size: 21px; font-weight: 500; box-shadow: 0 2px 10px rgba(249,115,22,.08); }
        .pp-header-search-input::placeholder { color: #a16207; opacity: .78; }
        .pp-header-search-input:focus { border-color: #f59e0b; background: #fffaf4; box-shadow: 0 0 0 4px rgba(249,115,22,.10); }
        .pp-header-search-icon { position: absolute; left: 24px; top: 50%; width: 27px; height: 27px; transform: translateY(-50%); pointer-events: none; }
        .pp-header-search-icon svg { width: 100%; height: 100%; fill: none; stroke: #ea580c; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
        .pp-header-search-close { flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 1px solid #fdc98b; border-radius: 50%; background: #fff7ed; color: #c2410c; display: flex; align-items: center; justify-content: center; cursor: pointer; }
        .pp-header-search-close svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
        .pp-header-search-close:hover { background: #ffedd5; border-color: #fb923c; }
        .pp-header-search-live-results { margin-top: 14px; border: 1px solid #fed7aa; border-radius: 18px; background: #fffaf5; overflow: hidden; }
        .pp-header-search-live-results:empty { display: none; }
        .pp-live-search-status { padding: 16px 18px; color: #9a3412; font-size: 14px; }
        .pp-live-search-section-title { padding: 13px 18px 8px; font-size: 12px; font-weight: 900; color: #9a3412; text-transform: uppercase; letter-spacing: .04em; }
        .pp-live-search-list { padding: 0 10px 10px; }
        .pp-live-search-item { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 12px; text-decoration: none; color: #1f2937; border-bottom: 1px solid #f1d7c3; }
        .pp-live-search-item:last-child { border-bottom: 0; }
        .pp-live-search-product-image-unavailable { display:flex; flex:0 0 100%; align-items:center; justify-content:center; flex-direction:column; gap:6px; min-height:72px; padding:10px; box-sizing:border-box; border:1px dashed #e8b995; border-radius:10px; background:#fffaf5; color:#8a3c1c; font-size:12px; text-align:center; }
        .pp-live-search-product-image-unavailable a { display:inline-block; padding:7px 12px; border-radius:8px; background:#ea580c; color:#fff !important; font-weight:800; text-decoration:none; }
        .pp-live-search-item:hover { background: #ffedd5; }
        .pp-live-search-product-item { cursor: pointer; align-items: flex-start; flex-wrap: wrap; }
        .pp-live-search-product-item .pp-live-search-info { padding-top: 2px; }
        .pp-live-search-product-item .pp-live-search-price { margin-top: 5px; font-size: 17px; font-weight: 900; color: #ea580c; }
        .pp-live-search-order-button { flex: 0 0 auto; width: auto !important; min-width: 92px; margin: 0 !important; padding: 8px 11px !important; border-radius: 10px !important; font-size: 12px !important; white-space: nowrap; }
        
        
        
        /* Header live-search product buttons: equal compact widths and distinct designs. */
        
        
        
        
        .pp-live-search-avatar { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; object-fit: cover; background: #fed7aa; display: grid; place-items: center; font-size: 22px; }
        .pp-live-search-info { min-width: 0; flex: 1; }
        .pp-live-search-name { font-size: 19px; line-height: 1.35; font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
        .pp-live-search-meta { margin-top: 3px; font-size: 14px; color: #9a3412; white-space: normal; overflow-wrap: anywhere; }
        /* Desktop search must start after the fixed sidebar and stay compact. */
        @media (min-width: 601px) {
            .pp-header-search-overlay { left: 285px; padding: 18px 24px; }
            .pp-header-search-shell { width: 100%; max-width: 1000px; gap: 12px; }
            .pp-header-search-input { height: 50px; border-radius: 25px; padding: 0 20px 0 56px; font-size: 16px; box-sizing: border-box; }
            .pp-header-search-icon { left: 18px; width: 22px; height: 22px; }
            .pp-header-search-close { flex-basis: 50px; width: 50px; height: 50px; }
        }
        @media (max-width: 600px) { .pp-header-search-overlay { top: 64px; bottom: 70px; padding: 14px 10px; } .pp-header-search-shell { width: 100%; gap: 9px; } .pp-header-search-main { width: 0; } .pp-header-search-live-results { width: calc(100vw - 20px); max-width: none; box-sizing: border-box; } .pp-live-search-list { padding: 0 8px 10px; } .pp-live-search-item { gap: 10px; padding: 12px 7px; } .pp-live-search-product-item .pp-live-search-info { flex: 1 1 auto; min-width: 0; } .pp-live-search-avatar { width: 58px; height: 58px; flex-basis: 58px; } .pp-live-search-name { font-size: 17px; } .pp-live-search-product-item .pp-live-search-price { font-size: 16px; } .pp-live-search-order-button { min-width: 82px; padding: 8px 9px !important; font-size: 12px !important; } .pp-header-search-input { height: 54px; border-radius: 27px; padding-left: 57px; padding-right: 18px; font-size: 18px; } .pp-header-search-icon { left: 19px; width: 22px; height: 22px; } .pp-header-search-close { flex-basis: 54px; width: 54px; height: 54px; } }

        /* Final header live-search polish only: compact failed-image tile, smaller text, circular user/seller avatars. */
        .pp-header-search-live-results .pp-live-search-product-image-unavailable {
            flex: 0 0 64px !important; width:64px !important; min-width:64px !important; max-width:64px !important;
            height:64px !important; min-height:64px !important; max-height:64px !important;
            padding:4px !important; gap:3px !important; overflow:hidden !important; box-sizing:border-box !important;
            border:1px dashed #e8c4a8 !important; border-radius:10px !important; background:#fff4e9 !important;
            color:#9a3412 !important; font-size:9px !important; line-height:1.15 !important;
        }
        .pp-header-search-live-results .pp-live-search-product-image-unavailable > div { font-size:9px !important; line-height:1.15 !important; }
        .pp-header-search-live-results .pp-live-search-product-image-unavailable a { padding:3px 4px !important; border-radius:5px !important; font-size:9px !important; line-height:1.1 !important; }
        .pp-header-search-live-results .pp-live-search-name { font-size:15px !important; line-height:1.28 !important; max-height:2.56em !important; }
        
        .pp-header-search-live-results .pp-live-search-product-item .pp-live-search-price { font-size:15px !important; margin-top:3px !important; }
        .pp-header-search-live-results .pp-live-search-meta { font-size:12px !important; }
        .pp-header-search-live-results .pp-live-search-seller { font-size:11px !important; }
        .pp-header-search-live-results .pp-live-search-seller-text strong { font-size:11px !important; }
        .pp-header-search-live-results .pp-live-search-seller-text small { font-size:10px !important; }
        .pp-header-search-live-results .pp-live-search-user-item img.pp-live-search-avatar,
        .pp-header-search-live-results .pp-live-search-seller img,
        .pp-header-search-live-results .pp-live-search-user-item > .pp-live-search-avatar { border-radius:100% !important; }
        @media (max-width:600px) {
            .pp-header-search-live-results .pp-live-search-product-image-unavailable { flex-basis:58px !important; width:58px !important; min-width:58px !important; max-width:58px !important; height:58px !important; min-height:58px !important; max-height:58px !important; }
            .pp-header-search-live-results .pp-live-search-name { font-size:14px !important; }
            .pp-header-search-live-results .pp-live-search-product-item .pp-live-search-price { font-size:14px !important; }
        }


/* ---- pp-mobile-user-card-spacing-fix (orig line 9180) ---- */
/* Mobile-only spacing adjustment: widen the user/profile product cards without changing desktop layout. */
@media (max-width: 600px) {
    .main-content .content-container {
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box;
    }
    .main-content .user-product-card {
        padding: 8px !important;
        box-sizing: border-box;
    }
}

/* ---- pp-user-feed-full-width-dividers (orig line 9195) ---- */
/* Facebook-style user feed: full-width user cards with divider lines and no gaps. */
.main-content .user-product-card.light-user-card {
    display: block;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 2px solid #d1d5db !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.main-content .user-product-card.light-user-card:first-of-type {
    border-top: 2px solid #d1d5db !important;
}
.main-content .user-product-card.light-user-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: #d1d5db !important;
}

/* ---- pp-feed-news-avatar-spacing-customization (orig line 9217) ---- */
/* Facebook-like plain news text: no colored bar/card, keep two-line See more behavior. */
.main-content .user-product-card .seller-avatar,
.main-content .user-product-card .seller-avatar-empty {
    border: 2px solid #fdba74 !important;
    box-sizing: border-box !important;
}
.main-content .user-product-card .feed-news-text {
    position: relative !important;
    display: block !important;
    gap: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 7px 0 4px !important;
    color: #334155 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
.main-content .user-product-card .feed-news-text .seller-news-icon { display: none !important; }
.main-content .user-product-card .feed-news-text .seller-news-content {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
.main-content .user-product-card .feed-news-text .seller-news-content.is-collapsed {
    display: inline !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    white-space: nowrap !important;
}
.main-content .user-product-card .feed-news-text .seller-news-content.is-expanded {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}
.main-content .user-product-card .feed-news-text .seller-news-toggle {
    display: none;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    align-self: auto !important;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff 12px, #fff 100%) !important;
    padding: 0 0 0 14px !important;
    margin: 0 !important;
    border: 0 !important;
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
}
.main-content .user-product-card .feed-news-text .seller-news-toggle.is-visible { display: inline !important; }
.main-content .user-product-card .feed-news-text .seller-news-toggle,
.main-content .user-product-card .feed-news-text.is-news-expanded .seller-news-toggle {
    position: static !important;
    display: none;
    background: transparent !important;
    padding: 0 0 0 4px !important;
    margin: 0 !important;
    vertical-align: baseline !important;
    color: #475569 !important;
}
/* Reduce the empty gap between the product carousel and social actions; no separator line. */
.main-content .user-product-card.light-user-card .light-user-products {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}
.main-content .user-product-card.light-user-card .light-user-actions {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 3px !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

/* ---- pp-live-user-presence-styles (orig line 9307) ---- */
.pp-presence-avatar-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;flex:0 0 58px;line-height:0;}
.pp-presence-avatar-wrap .seller-avatar{width:100%;height:100%;flex:0 0 100%;}
.pp-presence-avatar-wrap-small{width:48px;height:48px;flex-basis:48px;}
.pp-presence-dot{position:absolute;right:0;bottom:0;width:13px;height:13px;border:2px solid #fff;border-radius:50%;background:#9ca3af;box-sizing:content-box;z-index:2;}
.pp-presence-dot[data-online="1"]{background:#31a24c;}
/* Offline users show the elapsed-time badge only; hide the gray dot. */
.pp-presence-dot[data-online="0"]{display:none!important;}
.pp-presence-time{display:none;position:absolute;right:-7px;bottom:-5px;z-index:3;white-space:nowrap;padding:1px 4px;border:1px solid #fff;border-radius:8px;background:#e5e7eb;color:#4b5563;font-size:9px;font-weight:800;line-height:1.25;box-shadow:0 1px 2px rgba(0,0,0,.12);}
.pp-presence-time.is-visible{display:inline-block;}
.pp-presence-label{display:block;margin-top:2px;font-size:11px;line-height:1.3;font-weight:600;color:#6b7280;min-height:14px;}
.pp-presence-label[data-online="1"]{color:#248a3d;}
/* Animated discount signal around seller profile photos; presence indicators remain visible. */
.pp-discount-active-avatar{z-index:0;}
.pp-discount-active-avatar::before{content:"";position:absolute;inset:-4px;border:2px solid #f97316;border-radius:50%;pointer-events:none;z-index:1;animation:ppDiscountAvatarPulse 1.8s ease-out infinite;}
.pp-discount-active-avatar::after{content:"SALE";position:absolute;top:-6px;left:50%;transform:translateX(-50%);z-index:4;padding:2px 5px;border-radius:7px;background:#f97316;color:#fff;font-size:8px;font-weight:900;line-height:1.1;letter-spacing:.3px;box-shadow:0 1px 4px rgba(234,88,12,.35);pointer-events:none;}
.pp-discount-active-avatar .seller-avatar{position:relative;z-index:0;}
@keyframes ppDiscountAvatarPulse{0%{transform:scale(.98);opacity:.95;box-shadow:0 0 0 0 rgba(249,115,22,.5);}70%{transform:scale(1.12);opacity:.25;box-shadow:0 0 0 5px rgba(249,115,22,0);}100%{transform:scale(1.12);opacity:0;box-shadow:0 0 0 6px rgba(249,115,22,0);}}
@media(prefers-reduced-motion:reduce){.pp-discount-active-avatar::before{animation:none;opacity:.75;}}
.light-user-main .pp-presence-avatar-wrap{width:48px;height:48px;flex-basis:48px;}
@media(max-width:600px){.pp-presence-dot{width:12px;height:12px;}.pp-presence-label{font-size:10px;}}

/* ---- pp-own-user-card-header-compact-fix (orig line 9330) ---- */
/* Surgical layout fix for the logged-in user's top product card only. */
.main-content .pp-own-user-product-card .pp-presence-avatar-wrap {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
}
.main-content .pp-own-user-product-card .seller-header {
    gap: 9px !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}
.main-content .pp-own-user-product-card .seller-name {
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
}
.main-content .pp-own-user-product-card .seller-name > span[style*="আপনার পেজ"] {
    display: inline-block !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}
/* Keep presence time beside the avatar, not between name and user ID. */
.main-content .pp-own-user-product-card .pp-presence-label {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
}
.main-content .pp-own-user-product-card .seller-id {
    margin-top: 1px !important;
    line-height: 1.2 !important;
}
.main-content .pp-own-user-product-card .seller-stats {
    margin-top: 2px !important;
    line-height: 1.2 !important;
}
@media (max-width: 600px) {
    .main-content .pp-own-user-product-card .pp-presence-avatar-wrap {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }
}

/* Final precise fix: align own-card avatar and text; keep "আপনার পেজ" as one unbroken label. */
.main-content .pp-own-user-product-card .seller-header {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}
.main-content .pp-own-user-product-card .pp-presence-avatar-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
    align-self: center !important;
    line-height: 0 !important;
}
.main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar,
.main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar-empty {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
    box-sizing: border-box !important;
}
.main-content .pp-own-user-product-card .seller-info {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    align-self: center !important;
}
.main-content .pp-own-user-product-card .seller-name {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    column-gap: 4px !important;
    row-gap: 1px !important;
    min-width: 0 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}
.main-content .pp-own-user-product-card .seller-name > span[style*="আপনার পেজ"] {
    display: inline-block !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    vertical-align: middle !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}
.main-content .pp-own-user-product-card .pp-presence-label {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 600px) {
    .main-content .pp-own-user-product-card .pp-presence-avatar-wrap,
    .main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar,
    .main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar-empty {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        flex-basis: 40px !important;
    }
}


/* ---- pp-own-card-avatar-size-and-page-label-position (orig line 9449) ---- */
/* Only the logged-in user's top product card: match regular seller avatar size and put page label under user ID. */
.main-content .pp-own-user-product-card .seller-header {
    align-items: flex-start !important;
    gap: 13px !important;
}
.main-content .pp-own-user-product-card .pp-presence-avatar-wrap,
.main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar,
.main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar-empty {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    flex: 0 0 58px !important;
}
.main-content .pp-own-user-product-card .seller-info {
    align-self: flex-start !important;
    min-width: 0 !important;
}
.main-content .pp-own-user-product-card .seller-name {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}
.main-content .pp-own-user-product-card .seller-name > span[style*="আপনার পেজ"] {
    display: none !important;
}
.main-content .pp-own-user-product-card .pp-own-page-label {
    margin-top: 2px !important;
    color: #f97316 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}
.main-content .pp-own-user-product-card .pp-presence-label {
    display: none !important;
}
@media (max-width: 600px) {
    .main-content .pp-own-user-product-card .pp-presence-avatar-wrap,
    .main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar,
    .main-content .pp-own-user-product-card .pp-presence-avatar-wrap .seller-avatar-empty {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        flex-basis: 58px !important;
    }
}

/* ---- pp-desktop-product-carousel-and-header-avatar-fix (orig line 9503) ---- */
/* Desktop product carousel: Facebook-like floating arrows; left arrow appears after scrolling. */
.main-content .user-product-card { position: relative; }
.main-content .user-product-card > .seller-products-grid {
    position: relative !important;
    cursor: grab !important;
    user-select: none;
    -webkit-user-select: none;
}
.main-content .user-product-card > .seller-products-grid.pp-mouse-dragging {
    cursor: grabbing !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}
.main-content .user-product-card > .seller-products-grid > .seller-product,
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card {
    cursor: pointer !important;
}
.main-content .user-product-card .pp-carousel-arrow { display: none; }
@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
    .main-content .user-product-card .pp-carousel-arrow {
        display: inline-flex;
        position: absolute;
        z-index: 20;
        top: var(--pp-carousel-arrow-top, 220px);
        width: 42px;
        height: 46px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(249,115,22,.48);
        border-radius: 50%;
        background: rgba(255,255,255,.97);
        color: #c2410c;
        box-shadow: 0 3px 12px rgba(0,0,0,.18);
        font-size: 29px;
        font-weight: 800;
        line-height: 1;
        cursor: pointer !important;
        padding: 0;
        transform: translateY(-50%);
        transition: opacity .18s ease, background .18s ease, box-shadow .18s ease;
    }
    .main-content .user-product-card .pp-carousel-arrow:hover {
        background: #fff1e6;
        box-shadow: 0 4px 15px rgba(194,65,12,.24);
    }
    .main-content .user-product-card .pp-carousel-arrow-left { left: 8px; }
    .main-content .user-product-card .pp-carousel-arrow-right { right: 8px; }
    .main-content .user-product-card .pp-carousel-arrow[hidden] { display: none !important; }
}




/* ---- pp-mobile-header-logo-compact-avatar-visible (orig line 9559) ---- */
/* Mobile only: shrink the brand logo so the full profile avatar stays visible. */
@media (max-width: 600px) {
    .top-header .header-inner:has(.header-user-profile-link) {
        gap: 6px !important;
        padding-left: 6px !important;
        padding-right: 8px !important;
        min-width: 0 !important;
    }
    .top-header .header-inner:has(.header-user-profile-link) > .brand {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 44vw !important;
        overflow: hidden !important;
    }
    .top-header .header-inner:has(.header-user-profile-link) > .brand .brand-logo-image {
        width: clamp(105px, 31vw, 135px) !important;
        max-width: 100% !important;
        height: 44px !important;
        object-fit: contain !important;
    }
    .top-header .header-inner:has(.header-user-profile-link) .header-right {
        flex: 0 0 auto !important;
        min-width: max-content !important;
        gap: 5px !important;
    }
    .top-header .header-inner:has(.header-user-profile-link) .header-user-profile-link {
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
        margin-right: 1px !important;
    }
    .top-header .header-inner:has(.header-user-profile-link) .header-user-image {
        width: 34px !important;
        height: 34px !important;
        max-width: none !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }
}
@media (max-width: 380px) {
    .top-header .header-inner:has(.header-user-profile-link) > .brand .brand-logo-image {
        width: 100px !important;
        height: 40px !important;
    }
}

/* ---- pp-mobile-header-icon-size-match-avatar (orig line 9607) ---- */
/* Keep search and notification circles the same size as the header profile photo on mobile. */
@media (max-width: 600px) {
    .top-header .header-inner:has(.header-user-profile-link) .header-right > .header-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        flex: 0 0 34px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .top-header .header-inner:has(.header-user-profile-link) .header-right > .header-icon > svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* ---- pp-follow-state-badge-v1 (orig line 9631) ---- */
/* Follow state on user cards: user+plus icon = not following, user+check icon = following. */
.pp-follow-ico{display:inline-flex;line-height:0}
.pp-follow-ico svg[data-ico="check"]{display:none}
.light-follow-count-action.following .pp-follow-ico svg[data-ico="plus"]{display:none}
.light-follow-count-action.following .pp-follow-ico svg[data-ico="check"]{display:inline-block;color:#16a34a}

/* ---- pp-desktop-centered-content-layout-v4 (orig line 9639) ---- */
/* Desktop: center the feed in the space between the left navigation and the right suggestions rail. */
@media (min-width: 1500px) {
  body .main-content:not(.public-browse-main) .content-container {
    width: 760px !important;
    max-width: calc(100vw - 285px - 320px - 48px) !important;
    margin-left: max(24px, calc((100vw - 285px - 320px - 760px) / 2)) !important;
    margin-right: 320px !important;
    box-sizing: border-box !important;
  }
  body .pp-people-you-may-know {
    display:block; position:fixed; top:104px; right:20px; width:270px; max-height:calc(100vh - 124px);
    overflow-y:auto; box-sizing:border-box; padding:16px; background:#fff; border:1px solid #e5e7eb;
    border-radius:12px; box-shadow:0 2px 10px rgba(15,23,42,.04); z-index:90;
  }
}
/* Mid-size desktop/tablet: center the feed; keep suggestions below the page content. */
@media (min-width: 751px) and (max-width: 1499px) {
  body .main-content .content-container {
    width: calc(100% - 40px) !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}
/* Mobile/tablet: don't hide People You May Know; show a compact card in normal flow. */
.pp-people-you-may-know {
  display:block;
  position:relative;
  width:calc(100% - 24px);
  max-width:500px;
  max-height:none;
  overflow:visible;
  margin:18px auto;
  padding:12px;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  box-shadow:0 1px 5px rgba(15,23,42,.04);
}
.pp-pymk-title { display:flex; align-items:center; gap:8px; margin:0 0 10px; color:#1f2937; font-size:15px; font-weight:800; }
.pp-pymk-carousel { display:flex; align-items:stretch; gap:10px; width:100%; overflow-x:auto; overflow-y:hidden; padding:2px 2px 10px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.pp-pymk-person { display:flex; align-items:flex-start; gap:9px; flex:0 0 245px; min-width:0; padding:10px; border:1px solid #edf0f4; border-radius:10px; background:#fff; box-sizing:border-box; scroll-snap-align:start; }
.pp-pymk-avatar { width:44px; height:44px; flex:0 0 44px; object-fit:cover; border-radius:50%; background:#f3f4f6; }
.pp-pymk-info { min-width:0; flex:1; }
.pp-pymk-name { display:block; color:#111827; font-size:13px; line-height:1.3; font-weight:750; overflow-wrap:anywhere; text-decoration:none; }
.pp-pymk-meta { display:block; margin-top:3px; color:#6b7280; font-size:11px; line-height:1.35; overflow-wrap:anywhere; }
.pp-pymk-actions { display:flex; gap:5px; margin-top:7px; align-items:center; flex-wrap:wrap; }
.pp-pymk-follow { min-height:29px!important; padding:5px 9px!important; font-size:11px!important; line-height:1.1!important; border-radius:6px!important; }
.pp-pymk-mutuals{display:flex;align-items:center;margin-top:6px}
.pp-pymk-mutuals img,.pp-pymk-mutuals .pp-pymk-mutual-ph{width:20px;height:20px;border-radius:50%;object-fit:cover;border:2px solid #fff;background:#e2e8f0;margin-left:-6px;box-sizing:content-box}
.pp-pymk-mutuals>:first-child{margin-left:0}
.pp-pymk-mutual-more{margin-left:4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#f1f5f9;color:#475569;font-size:10px;font-weight:800;line-height:20px;text-align:center;box-sizing:border-box}
.pp-pymk-remove { border:0; background:transparent; color:#6b7280; font-size:11px; padding:5px 2px; cursor:pointer; }
.pp-pymk-remove:hover { color:#111827; }
/* Once inserted into the feed, suggestions stay in normal flow on all screens. */
@media (min-width:1500px) { body .pp-people-you-may-know { position:relative; top:auto; right:auto; width:100%; max-width:none; max-height:none; margin:20px 0; overflow:visible; } }
@media (max-width:750px) { .pp-people-you-may-know { width:100%; max-width:none; margin:18px 0; padding:12px; } .pp-pymk-person { flex-basis: min(78vw, 270px); } }

/* ---- pp-pymk-home-only-v1 (orig line 9700) ---- */
/* People You May Know belongs to the Home feed only, never below other sidebar pages. */
body.pp-not-home .pp-people-you-may-know{display:none!important}

/* ---- pp-pymk-light-orange-card-colors-v1 (orig line 9704) ---- */
/* Subtle light-orange tint to distinguish People You May Know suggestion cards. */
.pp-people-you-may-know .pp-pymk-person {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
}
.pp-people-you-may-know .pp-pymk-person:hover {
  background: #ffedd5 !important;
  border-color: #fdba74 !important;
}

/* ---- pp-seller-page-mobile-compact-v1 (orig line 9716) ---- */
@media (max-width: 750px) {
  
  
  
  
  
  
  
  
  
  #section-seller-products .seller-category-dashboard { margin: 0 0 10px !important; padding: 8px !important; border-radius: 10px !important; }
  #section-seller-products .seller-category-dashboard-title { font-size: 12px !important; margin-bottom: 7px !important; }
  #section-seller-products .seller-category-dashboard-list { display: flex !important; gap: 6px !important; overflow-x: auto !important; padding: 1px 1px 5px !important; scroll-snap-type: x proximity; }
  #section-seller-products .seller-category-dashboard-item { flex: 0 0 auto !important; min-width: 0 !important; gap: 7px !important; padding: 7px 9px !important; font-size: 11px !important; border-radius: 8px !important; scroll-snap-align: start; }
  #section-seller-products .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px !important; }
  #section-seller-products .product-card { min-width: 0 !important; border-radius: 10px !important; overflow: hidden !important; }
  #section-seller-products .product-image, #section-seller-products .product-no-image { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; }
  #section-seller-products .product-body { padding: 7px !important; display: flex !important; flex-direction: column !important; gap: 5px !important; }
  #section-seller-products .product-name { display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: normal !important; font-size: 12px !important; line-height: 1.3 !important; min-height: calc(1.3em * 2) !important; margin: 0 !important; overflow-wrap: anywhere !important; }
  #section-seller-products .product-description { display: none !important; }
  #section-seller-products .product-price { font-size: 13px !important; line-height: 1.25 !important; margin: 0 !important; overflow-wrap: anywhere !important; }
  #section-seller-products .seller-cart-button { margin-top: 2px !important; padding: 8px 5px !important; min-height: 32px !important; font-size: 11px !important; line-height: 1.2 !important; border-radius: 7px !important; }
  
  
  
  
  
  
  #section-seller-products .pp-seller-page-card { padding: 8px !important; }
}

/* ---- pp-public-seller-product-title-description-fix (orig line 9748) ---- */
/* Public seller page: hide descriptions on every screen size and clamp titles to two lines. */
#section-seller-products .products-grid .product-description {
    display: none !important;
}
#section-seller-products .products-grid .product-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    max-height: 2.6em !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
}

/* ---- pp-seller-page-desktop-message-rail (orig line 9768) ---- */
/* Seller profile pages: reuse the existing inbox in the otherwise empty desktop right rail. */
#ppDesktopMessageRail { display:none; }
@media (min-width:1500px) {
  #ppDesktopMessageRail {
    display:block; position:fixed; top:104px; right:20px; width:270px;
    max-height:calc(100vh - 124px); overflow:hidden; box-sizing:border-box;
    padding:12px; background:#fff; color:#1f2937; border:1px solid #e5e7eb;
    border-radius:12px; box-shadow:0 2px 10px rgba(15,23,42,.05); z-index:89;
  }
  #ppDesktopMessageRail .pp-desktop-message-heading {
    display:flex; align-items:center; justify-content:space-between; gap:8px;
    margin:0 0 10px; padding:0 0 9px; border-bottom:1px solid #e5e7eb;
    font-size:15px; font-weight:900;
  }
  #ppDesktopMessageRail .pp-desktop-message-heading a { color:#ea580c; text-decoration:none; font-size:11px; font-weight:800; white-space:nowrap; }
  #ppDesktopMessageRail #ppDesktopMessageList { max-height:calc(100vh - 190px); overflow-y:auto; overflow-x:hidden; }
  #ppDesktopMessageRail .compact-order-main { gap:7px !important; padding:7px 5px !important; border-radius:8px; }
  #ppDesktopMessageRail .compact-order-main:hover { background:#f8fafc; }
  #ppDesktopMessageRail .pp-chat-list-avatar { width:34px !important; height:34px !important; }
  #ppDesktopMessageRail .pp-chat-list-avatar-empty { width:34px !important; height:34px !important; flex:0 0 34px; }
  #ppDesktopMessageRail .pp-presence-time { display:none !important; }
  #ppDesktopMessageRail .empty-products { font-size:12px; line-height:1.5; }
}
@media (prefers-color-scheme:dark) {
  #ppDesktopMessageRail { background:#1f2937; color:#f3f4f6; border-color:#374151; }
  #ppDesktopMessageRail .pp-desktop-message-heading { border-bottom-color:#374151; }
  #ppDesktopMessageRail .compact-order-main:hover { background:#374151; }
}




/* One-product user cards: center the only tile without changing multi-product scrolling. */
.main-content .pp-feed-slider-track.pp-feed-single-product-centered{justify-content:flex-start!important;}
.main-content .pp-feed-slider-track.pp-feed-single-product-centered .pp-feed-product-slide{flex:0 0 100%!important;width:100%!important;max-width:100%!important;display:flex!important;justify-content:center!important;scroll-snap-align:start!important;}
.main-content .pp-feed-slider-track.pp-feed-single-product-centered .pp-feed-product-slide>.seller-product{flex:0 0 196px!important;width:196px!important;max-width:196px!important;}
@media(max-width:699px){.main-content .pp-feed-slider-track.pp-feed-single-product-centered .pp-feed-product-slide>.seller-product{flex-basis:158px!important;width:158px!important;max-width:158px!important;}}
/* Product review UI */
.pp-product-reviews{margin-top:18px;padding-top:15px;border-top:1px solid #e5e7eb;}
.pp-product-reviews-heading{font-size:17px;font-weight:900;color:#111827;margin-bottom:10px;}
.pp-review-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:12px;color:#374151;font-size:13px;}
.pp-review-summary strong{font-size:15px;color:#111827;}
.pp-review-summary>span:last-child{color:#6b7280;}
.pp-review-stars{color:#f59e0b;letter-spacing:1px;white-space:nowrap;font-size:15px;}
.pp-review-form{padding:12px;border:1px solid #fed7aa;background:#fffaf5;border-radius:12px;margin:10px 0 14px;}
.pp-review-form-title{font-weight:800;font-size:13px;margin-bottom:6px;color:#1f2937;}
.pp-review-rating-picker{display:flex;gap:4px;margin:2px 0 8px;}
.pp-review-star-button{border:0;background:transparent;color:#cbd5e1;font-size:27px;line-height:1.1;padding:0 2px;cursor:pointer;}
.pp-review-star-button.is-selected{color:#f59e0b;}
.pp-review-form textarea{display:block;width:100%;min-height:78px;resize:vertical;box-sizing:border-box;border:1px solid #d1d5db;border-radius:9px;padding:9px;font:inherit;font-size:13px;background:#fff;color:#111827;}
.pp-review-submit{margin-top:8px;border:0;border-radius:9px;padding:9px 13px;background:linear-gradient(135deg,#d94f2b,#f97316);color:#fff;font-weight:800;cursor:pointer;}
.pp-review-submit:disabled{opacity:.65;cursor:wait;}
.pp-review-eligibility-note,.pp-review-empty,.pp-review-loading,.pp-review-error{font-size:12px;color:#6b7280;padding:9px 0;}
.pp-review-error{color:#b91c1c;}
.pp-review-list{display:flex;flex-direction:column;gap:10px;margin-top:10px;}
.pp-review-item{padding:11px 0;border-bottom:1px solid #f1f5f9;}
.pp-review-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;color:#111827;}
.pp-review-buyer{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;}
.pp-review-verified{font-size:10px;font-weight:800;color:#047857;background:#d1fae5;border-radius:999px;padding:2px 6px;}
.pp-review-item-text{font-size:13px;color:#374151;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px;line-height:1.5;}
.pp-review-item time{display:block;font-size:10px;color:#9ca3af;margin-top:5px;}

