/* ---- style (orig line 14829) ---- */
/* Lightweight YouTube player modal. No video is downloaded to hosting. */
#pickparcelYoutubeModal{display:none;position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.72);align-items:center;justify-content:center;padding:16px}
#pickparcelYoutubeModal.active{display:flex}
#pickparcelYoutubeModal .pp-youtube-box{position:relative;width:min(920px,96vw);aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden;box-shadow:0 18px 60px rgba(0,0,0,.45)}
#pickparcelYoutubeModal .pp-youtube-box.pp-facebook-post{aspect-ratio:auto;height:min(80vh,760px);width:min(600px,96vw);background:#fff;overflow:hidden}
#pickparcelYoutubeModal iframe{width:100%;height:100%;border:0;display:block}
#pickparcelYoutubeModal .pp-youtube-close{position:absolute;right:8px;top:8px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;font-size:24px;line-height:38px;cursor:pointer}
#pickparcelYoutubeModal .pp-facebook-open-link{display:none;position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:3;background:#1877f2;color:#fff!important;text-decoration:none!important;font:600 14px/1.2 Arial,sans-serif;padding:12px 18px;border-radius:24px;box-shadow:0 3px 14px rgba(0,0,0,.35);white-space:nowrap}
#pickparcelYoutubeModal .pp-youtube-box.pp-facebook-media .pp-facebook-open-link{display:block}
#pickparcelYoutubeModal .pp-youtube-box.pp-facebook-post .pp-facebook-open-link{bottom:12px}
@media(max-width:600px){#pickparcelYoutubeModal{padding:8px}#pickparcelYoutubeModal .pp-youtube-box{width:100%;border-radius:9px}}

/* Seller identity shown under each product in live search results. */
.pp-live-search-seller{display:flex;align-items:flex-start;justify-content:flex-start;gap:6px;margin:3px 0 0;min-width:0;width:100%;flex:0 0 100%;box-sizing:border-box;text-align:left;color:#475569;font-size:12px;line-height:1.3;order:4;}
.pp-live-search-seller img,.pp-live-search-seller-placeholder{width:20px;height:20px;flex:0 0 20px;border-radius:50%;object-fit:cover;background:#f1f5f9;display:flex;align-items:center;justify-content:center;}
.pp-live-search-seller-text{display:block;flex:1 1 auto;min-width:0;text-align:left;overflow-wrap:anywhere;word-break:normal;line-height:1.3;}
.pp-live-search-seller-text strong{display:inline;font-size:12px;font-weight:700;color:#334155;overflow-wrap:anywhere;white-space:normal;}
.pp-live-search-seller-text small{display:inline;font-size:11px;color:#64748b;margin-left:4px;white-space:nowrap;overflow-wrap:normal;}

        /* Responsive seller profile header and share control. */
        
        
        
        

        @media (max-width: 600px) {
            .seller-header-actions { flex-wrap: nowrap !important; gap: 5px !important; }
            .seller-header-actions .seller-header-follow,
            .seller-header-actions .seller-header-message { font-size: 11px !important; padding: 7px 8px !important; line-height: 1.2 !important; }
        }
        

/* SEARCH RESULTS ONLY: polished paired order buttons and stacked seller details. */




#section-search-results .search-product-result .product-seller, #section-search-results .search-product-result .seller-info, #section-search-results .search-product-result .product-seller-info {
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:3px !important;
    line-height:1.35 !important;
}
#section-search-results .search-product-result .seller-name,
#section-search-results .search-product-result .seller-id,
#section-search-results .search-product-result .product-seller-name,
#section-search-results .search-product-result .product-seller-id {
    display:block !important;
    margin:0 !important;
    width:100% !important;
}
/* Live search overlay: show seller name and ID on separate lines too. */
.pp-live-search-seller { align-items:flex-start !important; }
.pp-live-search-seller-text { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:2px !important; }
.pp-live-search-seller-text strong { display:block !important; margin:0 !important; }
.pp-live-search-seller-text small { display:block !important; margin:0 !important; white-space:normal !important; }


/* FINAL OVERRIDE: force the intended design on the actual search-result buttons. */




/* Safe icon-only styling: preserve the existing site layout and colors. */
.sidebar .sidebar-button > span:first-child, .sidebar .live-location-pin, .sidebar .sidebar-unique-id span {
    filter: grayscale(1) saturate(0) !important;
}

.product-image-share-button svg,
.sidebar .sidebar-button svg,
.mobile-bottom-footer svg,
.mobile-bottom-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Consistent minimal outline icons for navigation only */
.pp-ui-icon{display:inline-block;width:20px;height:20px;flex:0 0 20px;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.sidebar-button .pp-ui-icon{margin-right:1px;}
.mobile-bottom-icon .pp-ui-icon{width:22px;height:22px;flex:0 0 22px;margin:0 auto 2px;display:block;}

/* Consistent SVG outline icons for remaining main-page icon glyphs */
.pp-inline-svg-icon{display:inline-block;width:1.05em;height:1.05em;vertical-align:-0.16em;flex:0 0 auto;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

/* ---- style (orig line 15592) ---- */
.pp-user-id-copy-btn{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:4px;padding:2px;border:0;background:transparent;color:inherit;cursor:pointer;border-radius:4px;line-height:1}
.pp-user-id-copy-btn svg{display:block;width:14px;height:14px}
.pp-user-id-copy-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}

/* ---- pp-first-card-left-rest-centered (orig line 15716) ---- */
/* First product starts at the left; subsequent swipe targets center without affecting page navigation. */
.user-product-card > .seller-products-grid{
  padding-left:0 !important;
  padding-right:max(9%,calc((100% - 310px)/2)) !important;
  scroll-padding-left:0 !important;
  scroll-padding-right:max(9%,calc((100% - 310px)/2)) !important;
}
.user-product-card > .seller-products-grid > .seller-product:first-child{scroll-snap-align:start !important;}
.user-product-card > .seller-products-grid > .seller-product:not(:first-child){scroll-snap-align:center !important;}
.user-product-card > .seller-products-grid > .seller-products-more-card{scroll-snap-align:center !important;}
@media(min-width:700px){
  .user-product-card > .seller-products-grid{padding-left:0 !important;padding-right:max(12px,calc((100% - 280px)/2)) !important;scroll-padding-left:0 !important;scroll-padding-right:max(12px,calc((100% - 280px)/2)) !important;}
}

/* ---- pp-news-grid-carousel-v1 (orig line 15844) ---- */
.news-post-open-editor{flex:1 1 auto;min-width:0;height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 13px;border:1px solid #e5e7eb;border-radius:22px;background:#f8fafc;color:#64748b;text-align:left;font-size:13px;cursor:pointer}.news-post-open-editor strong{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:#f97316;color:#fff;font-size:20px}
.pp-news-page-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:14px;background:#fff;border:1px solid #e5e7eb;border-radius:14px}.pp-news-page-header h2{margin:0;font-size:20px;color:#111827}.pp-news-page-header p{margin:4px 0 0;font-size:12px;color:#64748b}.pp-news-back,.pp-news-new-button{border:0;border-radius:9px;padding:9px 12px;background:#fff1e8;color:#9a3412;font-weight:800;cursor:pointer}.pp-news-new-button{margin-left:auto;background:#f97316;color:#fff}.pp-news-editor-form{display:flex;flex-direction:column;gap:13px;padding:15px;background:#fff;border:1px solid #e5e7eb;border-radius:14px}.pp-news-editor-form label{display:flex;flex-direction:column;gap:6px;color:#374151;font-size:13px;font-weight:750}.pp-news-editor-form input,.pp-news-editor-form textarea,.pp-news-editor-form select{box-sizing:border-box;width:100%;border:1px solid #d1d5db;border-radius:10px;padding:11px 12px;font:inherit;font-weight:400;color:#111827;background:#fff}.pp-news-editor-form textarea{resize:vertical}.pp-news-button-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pp-news-media-preview{min-height:70px;border:1px dashed #cbd5e1;border-radius:12px;padding:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f8fafc;color:#64748b;font-size:12px}.pp-news-media-preview img,.pp-news-media-preview iframe,.pp-news-media-preview video{max-width:100%;width:100%;max-height:260px;border:0;border-radius:8px;object-fit:contain}.pp-news-publish-button{border:0;border-radius:10px;padding:12px;background:#f97316;color:#fff;font-weight:900;font-size:15px;cursor:pointer}.pp-news-editor-note{font-size:11px;color:#64748b;margin:0}.pp-my-news-list{display:grid;gap:12px}.pp-my-news-item{padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.pp-my-news-meta{display:flex;justify-content:space-between;gap:10px;color:#64748b;font-size:11px}.pp-my-news-item h3{margin:8px 0;font-size:16px}.pp-my-news-item p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.pp-my-news-actions{display:flex;gap:8px;margin-top:12px}.pp-my-news-actions button{border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;padding:7px 12px;font-weight:800;cursor:pointer}.pp-my-news-actions button.danger{border-color:#fecaca;background:#fff1f2;color:#b91c1c}.pp-news-empty{padding:20px;text-align:center;color:#64748b}
/* Only the user-feed card carousel is changed. The outer user card remains untouched. */
.main-content .user-product-card .pp-feed-slider,.main-content .light-user-card .pp-feed-slider{width:100%;overflow:hidden;position:relative;touch-action:pan-y;}
.pp-feed-slider .pp-feed-nav{position:absolute;z-index:8;top:50%;transform:translateY(-50%);width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(17,24,39,.76);color:#fff;font-size:27px;line-height:1;box-shadow:0 2px 8px rgba(0,0,0,.22);cursor:pointer;padding:0;}
.pp-feed-slider .pp-feed-nav-left{left:7px}.pp-feed-slider .pp-feed-nav-right{right:7px}.pp-feed-slider .pp-feed-nav[hidden]{display:none!important}
.pp-feed-slider-track.pp-mouse-dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;user-select:none}.pp-feed-slider-track{cursor:grab}
.pp-feed-slider-track{display:flex;align-items:stretch;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 0 8px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;}
.pp-feed-slider-track::-webkit-scrollbar{display:none}.pp-feed-slide{flex:0 0 90%;min-width:0;box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always;height:282px;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff;}
.pp-feed-news-slide{flex-basis:68%;display:flex;flex-direction:column;gap:8px;padding:8px;box-sizing:border-box;background:linear-gradient(145deg,#fff7ed,#fff);border-color:#fed7aa;}
.main-content .seller-news .pp-news-feed-detail-title{display:block;font-weight:850;margin:0 0 4px;color:inherit}.main-content .seller-news .pp-news-feed-detail-body{display:block;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit;}
.pp-feed-news-slide .pp-feed-news-media{flex:1 1 0;min-height:0;width:100%;height:auto;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;background:#f3f4f6}.pp-feed-news-slide .pp-feed-news-media img,.pp-feed-news-slide .pp-feed-news-media iframe{width:100%;height:100%;object-fit:contain;border:0}.pp-feed-news-slide .pp-feed-news-button{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:100%;box-sizing:border-box;min-height:32px;padding:5px 9px;border:0;border-radius:9px;background:#f97316;color:#fff;font:inherit;font-size:12px;font-weight:850;text-decoration:none;white-space:nowrap;cursor:pointer}
.pp-feed-product-slide{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:hidden}.pp-feed-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px;height:100%;}
.pp-feed-mini-grid>.seller-product{position:relative!important;display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;min-height:0!important;height:auto!important;max-width:none!important;flex:none!important;overflow:hidden!important;padding:0!important;margin:0!important;border:1px solid #e5e7eb!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;scroll-snap-align:none!important;cursor:pointer!important}
.pp-feed-mini-grid>.seller-product>.product-image,.pp-feed-mini-grid>.seller-product>.product-no-image{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:3/3.35;object-fit:contain!important;flex:1 1 auto!important;padding:3px!important;background:#fff!important;box-sizing:border-box!important}
.pp-feed-mini-grid>.seller-product>.seller-product-body{display:none!important}.pp-feed-mini-grid .product-image-share-button{display:none!important}.pp-feed-mini-grid>.seller-product>.feed-product-discount-badge{top:4px!important;left:3px!important;max-width:calc(100% - 6px)!important;padding:3px 4px!important;font-size:9px!important;border-radius:5px!important}
@media(min-width:700px){.pp-feed-slide{flex-basis:90%;height:300px}.pp-feed-news-slide{flex-basis:68%}.pp-feed-news-slide .pp-feed-news-media{flex:1 1 0;height:auto;min-height:0;max-height:none}.pp-feed-mini-grid{gap:7px}}
@media(max-width:420px){.pp-feed-slide{flex-basis:88%;height:270px}.pp-feed-news-slide{flex-basis:68%;padding:7px;gap:6px}.pp-feed-news-slide .pp-feed-news-media{flex:1 1 0;height:auto;min-height:0;max-height:none}.pp-feed-mini-grid{gap:4px}.pp-news-button-fields{grid-template-columns:1fr}}
/* Adapt feed height to actual product count: one row for 1-3 products, two rows for 4-6. */


/* A single product uses the full feed width and is shown large. */
.pp-feed-slide.pp-feed-single-product{flex-basis:100%!important;height:300px!important}
.pp-feed-mini-grid.pp-feed-mini-grid-single-product{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important}
.pp-feed-mini-grid.pp-feed-mini-grid-single-product>.seller-product{width:100%!important;height:100%!important;border-radius:12px!important}
.pp-feed-mini-grid.pp-feed-mini-grid-single-product>.seller-product>.product-image,.pp-feed-mini-grid.pp-feed-mini-grid-single-product>.seller-product>.product-no-image{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;padding:8px!important}
@media(max-width:699px){.pp-feed-slide.pp-feed-single-product{height:270px!important}}


/* Feed navigation arrows are desktop-only; mobile uses finger swipe. */
@media(max-width:699px){.main-content .pp-feed-slider .pp-feed-nav{display:none!important}}
/* Latest visual refinements: narrower news tile, tighter news/product spacing, plain bold prices. */
.main-content .pp-feed-slider-track{gap:2px!important}
.main-content .pp-feed-news-slide{flex-basis:54%!important}
@media(min-width:700px){.main-content .pp-feed-news-slide{flex-basis:54%!important}}
@media(max-width:699px){.main-content .pp-feed-news-slide{flex-basis:54%!important}}
/* Price is bold text, not a large button/pill, including single-product cards. */




/* Discount stays as a compact red badge at the top of each product image. */
.user-product-card > .seller-products-grid > .seller-product > .feed-product-discount-badge,
.pp-feed-mini-grid > .seller-product > .feed-product-discount-badge{
  top:3px!important;left:3px!important;right:auto!important;z-index:10!important;
  padding:3px 6px!important;margin:0!important;border:0!important;border-radius:5px!important;
  background:#dc2626!important;color:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.2)!important;
  font-weight:900!important;line-height:1.1!important;white-space:nowrap!important;
}
/* Final feed polish: compact news CTA, controlled desktop card widths, one-line product titles. */
@media (min-width: 700px) {
  .main-content .pp-feed-news-slide {
    flex: 0 0 42% !important;
    width: 42% !important;
    max-width: 420px !important;
  }
  .main-content .pp-feed-product-slide {
    flex: 0 0 72% !important;
    width: 72% !important;
    max-width: 760px !important;
  }
  .main-content .pp-feed-news-slide .pp-feed-news-button {
    align-self: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 5px 12px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    flex: 0 0 auto !important;
  }
  .main-content .pp-feed-mini-grid > .seller-product > .product-image,
  .main-content .pp-feed-mini-grid > .seller-product > .product-no-image {
    min-height: 0 !important;
    height: auto !important;
    flex: 1 1 auto !important;
    padding-bottom: 2px !important;
  }
  .main-content .pp-feed-mini-grid > .seller-product > .seller-product-body {
    display: block !important;
    flex: 0 0 19px !important;
    min-width: 0 !important;
    height: 19px !important;
    overflow: hidden !important;
    padding: 1px 5px 2px !important;
    box-sizing: border-box !important;
    background: #fff !important;
  }
  .main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-name {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
  }
  .main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > :not(.product-name) {
    display: none !important;
  }
  
}
@media (max-width: 699px) {
  .main-content .pp-feed-news-slide .pp-feed-news-button {
    align-self: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 28px !important;
    padding: 5px 11px !important;
    font-size: 11px !important;
    flex: 0 0 auto !important;
  }
}

/* Responsive fixed-size feed tiles: adaptive column count, titles directly below images on all screens. */
.main-content .pp-feed-product-slide { flex: 0 0 auto; width: fit-content; max-width: 100%; height: 300px; }
.main-content .pp-feed-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--pp-feed-columns, auto-fill), var(--pp-feed-tile-width, 138px)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(0, 1fr) !important;
  width: max-content !important; max-width: 100% !important; height: 100% !important;
  align-content: stretch !important; gap: 5px !important;
}
.main-content .pp-feed-mini-grid > .seller-product { width: var(--pp-feed-tile-width, 138px) !important; max-width: var(--pp-feed-tile-width, 138px) !important; min-width: 0 !important; box-sizing: border-box !important; }
.main-content .pp-feed-mini-grid > .seller-product > .product-image,
.main-content .pp-feed-mini-grid > .seller-product > .product-no-image { flex: 1 1 auto !important; width: 100% !important; min-height: 0 !important; height: auto !important; aspect-ratio: auto !important; padding: 3px !important; object-fit: contain !important; }
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body { display: block !important; flex: 0 0 20px !important; height: 20px !important; min-height: 20px !important; min-width: 0 !important; overflow: hidden !important; box-sizing: border-box !important; padding: 1px 5px !important; background: #fff !important; }
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-name { display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; white-space: nowrap !important; text-overflow: ellipsis !important; font-size: 11px !important; line-height: 17px !important; font-weight: 750 !important; }
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > :not(.product-name) { display: none !important; }

.main-content .pp-feed-mini-grid > .seller-product > .feed-product-discount-badge { top: 4px !important; left: 3px !important; }
@media (max-width: 699px) {
  .main-content .pp-feed-product-slide { height: 270px !important; }
  .main-content .pp-feed-mini-grid > .seller-product > .seller-product-body { flex-basis: 19px !important; height: 19px !important; min-height: 19px !important; }
  .main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-name { font-size: 10px !important; line-height: 16px !important; }
  
  .main-content .pp-feed-mini-grid > .seller-product { width: var(--pp-feed-tile-width, 104px) !important; max-width: var(--pp-feed-tile-width, 104px) !important; }
}
.main-content .pp-feed-mini-grid-single-product > .seller-product > .product-image,
.main-content .pp-feed-mini-grid-single-product > .seller-product > .product-no-image { flex: 1 1 auto !important; min-height: 0 !important; }
.main-content .pp-feed-mini-grid-single-product > .seller-product > .seller-product-body { flex: 0 0 24px !important; height: 24px !important; min-height: 24px !important; }
.main-content .pp-feed-mini-grid-single-product > .seller-product > .seller-product-body > .product-name { font-size: 13px !important; line-height: 21px !important; }

/* Preserve adaptive one-row and single-item layouts. */
.main-content .pp-feed-mini-grid.pp-feed-mini-grid-single-product { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: minmax(0, 1fr) !important; width: 100% !important; max-width: 100% !important; }
.main-content .pp-feed-mini-grid-single-product > .seller-product { width: 100% !important; max-width: 100% !important; }
.main-content .pp-feed-product-slide.pp-feed-single-product { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }

/* Latest requested desktop news width and product title/price order. */
@media (min-width: 700px) {
  .main-content .pp-feed-news-slide {
    flex: 0 0 21% !important;
    width: 21% !important;
    max-width: 210px !important;
  }
}
.main-content .pp-feed-mini-grid > .seller-product {
  display: flex !important;
  flex-direction: column !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .product-image,
.main-content .pp-feed-mini-grid > .seller-product > .product-no-image {
  order: 1 !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body {
  order: 2 !important;
}

/* Discount percentage is plain red text, not a colored badge. */
.main-content .user-product-card > .seller-products-grid > .seller-product > .feed-product-discount-badge,
.main-content .pp-feed-mini-grid > .seller-product > .feed-product-discount-badge {
  position: absolute !important; top: 4px !important; left: 4px !important; right: auto !important;
  display: inline !important; width: auto !important; max-width: calc(100% - 8px) !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; color: #dc2626 !important; box-shadow: none !important;
  font-size: 11px !important; font-weight: 900 !important; line-height: 1.2 !important;
  text-shadow: 0 1px 2px #fff, 1px 0 1px #fff, -1px 0 1px #fff !important;
}

/* Requested layout applies only to product tiles inside the user-feed mini grid:
   product title stays below the image; price is bottom-left and discount bottom-right. */
.main-content .pp-feed-mini-grid > .seller-product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) 20px 23px !important;
  align-items: center !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .product-image,
.main-content .pp-feed-mini-grid > .seller-product > .product-no-image {
  grid-column: 1 / -1 !important; grid-row: 1 !important;
  display: block !important; min-width: 0 !important; min-height: 0 !important;
  width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important;
  aspect-ratio: auto !important; object-fit: contain !important; object-position: center center !important;
  box-sizing: border-box !important; padding: 4px !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body {
  grid-column: 1 / -1 !important; grid-row: 2 !important;
  min-width: 0 !important; width: 100% !important;
}

.main-content .pp-feed-mini-grid > .seller-product > .feed-product-discount-badge {
  position: static !important; grid-column: 2 !important; grid-row: 3 !important;
  justify-self: end !important; align-self: center !important;
  display: block !important; width: auto !important; max-width: 100% !important;
  overflow: hidden !important; padding: 2px 5px 2px 0 !important; margin: 0 !important;
  background: transparent !important; color: #ff0000 !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important; text-align: right !important;
  text-overflow: ellipsis !important; white-space: nowrap !important;
  font-size: 9px !important; line-height: 16px !important; font-weight: 900 !important;
  text-shadow: none !important;
}








/* ---- pp-single-row-product-carousel-v2 (orig line 16071) ---- */
/* One product per horizontal stop for both own and other user cards. */
.main-content .user-product-card .pp-feed-slider,
.main-content .light-user-card .pp-feed-slider{width:100%;max-width:100%;min-width:0;}
.main-content .pp-feed-slider-track{align-items:stretch;gap:8px!important;padding:4px 2px 10px!important;}
.main-content .pp-feed-slider-track .pp-feed-single-row-item{
  flex:0 0 158px!important;width:158px!important;max-width:158px!important;height:250px!important;
  min-width:0;box-sizing:border-box;border:1px solid #e5e7eb!important;border-radius:12px!important;
  background:#fff!important;overflow:hidden!important;scroll-snap-align:start!important;
}
.main-content .pp-feed-single-row-item>.seller-products-more-card{
  display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;
  box-sizing:border-box!important;border:0!important;border-radius:0!important;padding:12px!important;
}
.main-content .pp-feed-single-row-item>.seller-product{
  position:relative!important;display:flex!important;flex-direction:column!important;gap:0!important;
  width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;
  flex:1 1 auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  overflow:hidden!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important;
}
.main-content .pp-feed-single-row-item>.seller-product>.product-image,
.main-content .pp-feed-single-row-item>.seller-product>.product-no-image{
  display:block!important;flex:0 0 145px!important;width:100%!important;height:145px!important;min-height:145px!important;
  max-height:145px!important;aspect-ratio:auto!important;object-fit:contain!important;box-sizing:border-box!important;
  padding:5px!important;background:#fff!important;
}
.main-content .pp-feed-single-row-item>.seller-product>.seller-product-body{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;justify-content:flex-start!important;
  min-width:0!important;min-height:0!important;padding:7px 8px 8px!important;border-top:1px solid #f1f5f9!important;
  background:#fff!important;overflow:hidden!important;
}
.main-content .pp-feed-single-row-item>.seller-product .product-name{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;
  min-height:0!important;max-height:2.5em!important;margin:0!important;font-size:12px!important;line-height:1.25!important;
  font-weight:800!important;overflow-wrap:anywhere!important;
}
.main-content .pp-feed-single-row-item>.seller-product .product-description,
.main-content .pp-feed-single-row-item>.seller-product .product-price,
.main-content .pp-feed-single-row-item>.seller-product .main-product-order-actions .seller-cart-button{display:none!important;}
.main-content .pp-feed-single-row-item>.seller-product .main-product-order-actions{display:flex!important;flex:0 0 auto!important;margin:5px 0 0!important;gap:0!important;}
.main-content .pp-feed-single-row-item>.seller-product .main-product-order-actions .direct-order-button{
  display:block!important;width:100%!important;min-height:27px!important;padding:5px 6px!important;border:0!important;
  border-radius:7px!important;background:#f3f4f6!important;color:#111827!important;box-shadow:none!important;
  font-size:0!important;font-weight:800!important;line-height:1.2!important;
}
.main-content .pp-feed-single-row-item>.seller-product .main-product-order-actions .direct-order-button::after{content:"অর্ডার করুন";font-size:11px;}

.main-content .pp-feed-single-row-item>.seller-product>.feed-product-discount-badge{top:4px!important;left:4px!important;font-size:9px!important;}
@media(min-width:700px){
 .main-content .pp-feed-slider-track .pp-feed-single-row-item{flex-basis:196px!important;width:196px!important;max-width:196px!important;height:276px!important;}
 .main-content .pp-feed-single-row-item>.seller-product>.product-image,
 .main-content .pp-feed-single-row-item>.seller-product>.product-no-image{flex-basis:166px!important;height:166px!important;min-height:166px!important;max-height:166px!important;}
 .main-content .pp-feed-single-row-item>.seller-product .product-name{font-size:13px!important;}
}

/* ---- pp-mixed-uniform-product-catalogue-v1 (orig line 16290) ---- */
/* Product View: one randomized grid for every seller; each tile has identical sizing. */
.main-content #section-home .pp-mixed-product-catalogue{display:none;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue{
  display:grid!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(265px,72vw,330px)!important;
  grid-auto-flow:row dense!important;align-items:stretch!important;justify-content:stretch!important;gap:8px!important;
  margin:0!important;padding:8px 0 18px!important;overflow:visible!important;
}
.main-content.pp-product-only-mode #section-home .user-product-card,
.main-content.pp-product-only-mode #section-home .light-user-card,
.main-content.pp-product-only-mode #section-home .pp-feed-slider,
.main-content.pp-product-only-mode #section-home .pp-feed-nav,
.main-content.pp-product-only-mode #section-home .pp-feed-slide,
.main-content.pp-product-only-mode #section-home .pp-feed-mini-grid{display:none!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product{
  display:flex!important;flex-direction:column!important;position:relative!important;box-sizing:border-box!important;
  grid-column:auto!important;grid-row:auto!important;justify-self:stretch!important;align-self:stretch!important;
  width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;
  max-height:100%!important;flex:none!important;overflow:hidden!important;margin:0!important;padding:0!important;
  border:1px solid #e5e7eb!important;border-radius:10px!important;background:#fff!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-no-image{
  display:block!important;flex:0 0 auto!important;width:100%!important;height:clamp(130px,34vw,180px)!important;
  min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;
  object-fit:contain!important;box-sizing:border-box!important;padding:4px!important;background:#fff!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.seller-product-body{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;justify-content:flex-start!important;
  width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;
  box-sizing:border-box!important;overflow:hidden!important;padding:5px 6px 6px!important;gap:3px!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;
  min-height:2.4em!important;max-height:2.4em!important;overflow:hidden!important;font-size:11px!important;line-height:1.2!important;
  overflow-wrap:anywhere!important;margin:0!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-description,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-price{display:none!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .main-product-order-actions{display:flex!important;flex-direction:column!important;gap:3px!important;margin-top:auto!important;width:100%!important;min-width:0!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .main-product-order-actions button{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:25px!important;height:auto!important;padding:4px 3px!important;font-size:9px!important;line-height:1.15!important;white-space:normal!important;overflow:hidden!important;border-radius:5px!important;}

@media(min-width:700px){
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;grid-auto-rows:320px!important;gap:12px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-no-image{height:180px!important;}
}

/* ---- pp-user-report-card-controls (orig line 16361) ---- */
.main-content .light-user-card{position:relative!important;padding-top:35px!important}
.pp-user-card-top-controls{position:absolute;right:7px;top:5px;z-index:25;display:flex;align-items:center;gap:3px}
.pp-user-card-top-controls button{width:32px;height:32px;min-width:32px;padding:0;border:0!important;border-radius:50%;background:transparent!important;color:#667085;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none!important}
.pp-user-card-top-controls button:hover{background:rgba(100,116,139,.13)!important;color:#1f2937}
.pp-user-card-top-controls svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.pp-user-card-menu-trigger svg{fill:currentColor;stroke:none;width:21px;height:21px}
.pp-user-card-menu{position:absolute;right:32px;top:30px;width:155px;padding:5px;background:var(--card-bg,#fff);border:1px solid rgba(100,116,139,.2);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.15);z-index:100}
.pp-user-card-menu[hidden]{display:none!important}.pp-user-card-menu button{width:100%;height:auto;min-height:36px;justify-content:flex-start;gap:8px;border-radius:7px;padding:7px 9px;font-size:12px;font-weight:700;color:inherit;white-space:nowrap}.pp-user-card-menu button svg{width:16px;height:16px;flex:0 0 16px}
.pp-report-modal-backdrop{position:fixed;inset:0;z-index:100500;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.pp-report-modal{width:min(100%,420px);background:var(--card-bg,#fff);color:var(--text-color,#111827);border-radius:14px;padding:18px;box-shadow:0 18px 60px rgba(0,0,0,.25)}
.pp-report-modal h3{font-size:17px;margin:0 0 5px}.pp-report-modal p{font-size:12px;opacity:.75;margin:0 0 14px}.pp-report-modal label{display:block;font-size:12px;font-weight:700;margin:10px 0 5px}.pp-report-modal select,.pp-report-modal textarea{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;padding:10px;font:inherit;font-size:13px;background:transparent;color:inherit}.pp-report-modal textarea{min-height:84px;resize:vertical}.pp-report-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.pp-report-modal-actions button{border:0;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer}.pp-report-cancel{background:#eef2f7;color:#334155}.pp-report-submit{background:#ea580c;color:#fff}.pp-report-submit:disabled{opacity:.6}


.pp-user-card-top-controls .pp-user-card-menu{width:220px;max-width:calc(100vw - 40px);max-height:70vh;overflow-y:auto}
.pp-ucm-cats{padding:6px 8px 4px}
.pp-ucm-cats-title{font-size:11px;font-weight:800;opacity:.65;margin-bottom:6px}
.pp-ucm-cats-list{display:flex;flex-wrap:wrap;gap:5px}
.pp-ucm-cat{display:inline-block;max-width:100%;padding:3px 8px;border-radius:999px;background:rgba(100,116,139,.14);font-size:11px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.pp-ucm-sep{height:1px;background:rgba(100,116,139,.2);margin:6px 4px}
.pp-user-card-menu .pp-ucm-block{color:#b91c1c}.pp-user-card-menu .pp-ucm-block svg{fill:none;stroke:currentColor;stroke-width:2}


/* ---- pp-feed-product-compact-visual-v1 (orig line 16411) ---- */
/* Compact feed product cards: image + short title + price + discount only. */
.main-content .pp-feed-slider-track .pp-feed-single-row-item {
  height:250px !important;
  min-height:250px !important;
}
.main-content .pp-feed-single-row-item > .seller-product {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  grid-template-rows:minmax(0,1fr) 20px 25px !important;
  align-items:center !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
  background:#fff !important;
}
.main-content .pp-feed-single-row-item > .seller-product > .product-image,
.main-content .pp-feed-single-row-item > .seller-product > .product-no-image {
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:100% !important;
  max-height:100% !important;
  padding:1px !important;
  box-sizing:border-box !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff !important;
}
.main-content .pp-feed-single-row-item > .seller-product > .seller-product-body {
  grid-column:1 / -1 !important;
  grid-row:2 !important;
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  height:20px !important;
  padding:1px 5px !important;
  margin:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  border:0 !important;
  background:#fff !important;
}
.main-content .pp-feed-single-row-item > .seller-product > .seller-product-body .product-name {
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  max-height:18px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  color:#111827 !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:18px !important;
}
.main-content .pp-feed-single-row-item > .seller-product > .seller-product-body .product-description,
.main-content .pp-feed-single-row-item > .seller-product > .seller-product-body .product-price,
.main-content .pp-feed-single-row-item > .seller-product > .seller-product-body .main-product-order-actions {
  display:none !important;
}

.main-content .pp-feed-single-row-item > .seller-product > .feed-product-discount-badge {
  position:static !important;
  grid-column:2 !important;
  grid-row:3 !important;
  justify-self:end !important;
  align-self:center !important;
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:2px 5px 2px 0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#dc2626 !important;
  font-size:11px !important;
  font-weight:950 !important;
  line-height:19px !important;
  text-align:right !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  text-shadow:none !important;
  box-shadow:none !important;
}
/* Match news tiles to the exact product-tile height without changing their media/actions. */
.main-content .pp-feed-slider-track > .pp-feed-news-slide {
  height:250px !important;
  min-height:250px !important;
  box-sizing:border-box !important;
}
@media (min-width:700px) {
  .main-content .pp-feed-slider-track .pp-feed-single-row-item,
  .main-content .pp-feed-slider-track > .pp-feed-news-slide {
    height:276px !important;
    min-height:276px !important;
  }
  .main-content .pp-feed-single-row-item > .seller-product > .product-image,
  .main-content .pp-feed-single-row-item > .seller-product > .product-no-image {
    padding:1px !important;
  }
  .main-content .pp-feed-single-row-item > .seller-product > .seller-product-body .product-name {
    font-size:13px !important;
  }
  
  .main-content .pp-feed-single-row-item > .seller-product > .feed-product-discount-badge {
    font-size:12px !important;
  }
}

/* ---- pp-rating-visibility-final-guard-v3 (orig line 16538) ---- */
/* Final override: keep the rating row visible in both compact feed cards and Product View cards. */
.main-content .pp-feed-mini-grid .seller-product .pp-product-rating-count,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .pp-product-rating-count {
  display:flex!important; visibility:visible!important; opacity:1!important; position:relative!important;
  order:0!important; flex:0 0 13px!important; width:100%!important; height:13px!important;
  min-height:13px!important; max-height:13px!important; margin:0!important; padding:0!important;
  overflow:hidden!important; white-space:nowrap!important; line-height:12px!important; font-size:9px!important;
}
.main-content .pp-feed-mini-grid .seller-product .seller-product-body,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .seller-product-body {
  display:flex!important; flex-direction:column!important; min-height:54px!important; height:54px!important;
  max-height:54px!important; overflow:hidden!important; box-sizing:border-box!important;
}
.main-content .pp-feed-mini-grid .seller-product .seller-product-body .product-name,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .seller-product-body .product-name {
  display:block!important; visibility:visible!important; opacity:1!important; flex:0 0 17px!important;
  min-height:17px!important; height:17px!important; max-height:17px!important; width:100%!important;
  overflow:hidden!important; white-space:nowrap!important; text-overflow:ellipsis!important;
}
.main-content .pp-feed-mini-grid .seller-product > .product-image,
.main-content .pp-feed-mini-grid .seller-product > .product-no-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product > .product-no-image {
  object-fit:contain!important; padding:2px!important; min-height:0!important;
}

/* ---- pp-fixes-nov2026 (orig line 16582) ---- */
/* 1) Dark mode: settings switches were invisible (track + knob same dark colour) */
html.pp-dark .pp-switch i {background:#6b7280!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
html.pp-dark .pp-switch input:checked+i {background:#ea580c!important;box-shadow:none}
html.pp-dark .pp-switch i::after {background:#fff!important}
html.pp-dark .pp-settings-switch {background:#6b7280!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
html.pp-dark .pp-settings-switch:checked {background:#ea580c!important;box-shadow:none}
html.pp-dark .pp-settings-switch:before {background:#fff!important}
/* 2) News cards with little text: keep the like/comment/share rail fully visible */
.pp-profile-news-card.has-rail{min-height:215px}
.pp-profile-news-list{align-items:stretch}
/* 3) Message page */
.pp-conv-row .compact-order-main{gap:6px}
.pp-conv-actions{display:inline-flex;align-items:center;gap:4px;margin-left:auto;flex:0 0 auto}
.pp-conv-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:50%;background:#fff;font-size:15px;line-height:1;cursor:pointer;padding:0}
.pp-conv-btn.pp-conv-fraud{border-color:#bfdbfe;background:#eff6ff}
.pp-conv-btn.pp-conv-del{border-color:#fecaca;background:#fef2f2}
.pp-conv-ref{font-size:10px;font-weight:800;color:#c2410c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pp-dots-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:50%;background:#fff;color:#334155;cursor:pointer;padding:0}
.pp-float-menu{position:fixed;z-index:2147483647;min-width:160px;background:#fff;color:#1f2937;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 34px rgba(15,23,42,.25);padding:5px}
.pp-float-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;color:inherit;font:700 14px system-ui,sans-serif;padding:11px 12px;border-radius:8px;cursor:pointer}
.pp-float-menu button:hover{background:#f1f5f9}
#buyerSellerChatRefBar{padding:0 5px 8px}
.pp-ref-hint{font-size:10px;font-weight:800;color:#64748b;margin-bottom:4px}
.pp-chat-ref-card{position:relative;display:flex;align-items:center;gap:8px;max-width:100%;box-sizing:border-box;padding:7px 30px 7px 8px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:#7c2d12}
.pp-chat-ref-card .pp-ref-link{display:flex;align-items:center;gap:8px;min-width:0;color:inherit;text-decoration:none}
.pp-chat-ref-card img{width:40px;height:40px;border-radius:8px;object-fit:cover;flex:0 0 40px;background:#fff}
.pp-ref-text{display:flex;flex-direction:column;min-width:0}
.pp-ref-text b{font-size:12px;font-weight:900}
.pp-ref-label{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60vw}
.pp-ref-x{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:0;border-radius:50%;background:rgba(0,0,0,.08);color:inherit;font-size:15px;line-height:1;cursor:pointer;padding:0}
.pp-chat-ref-chip-wrap{display:flex;justify-content:center;margin:10px 0 4px}
.pp-chat-ref-chip-wrap .pp-chat-ref-card{padding-right:10px}
html.pp-dark .pp-conv-btn,html.pp-dark .pp-dots-btn{background:#30302e;border-color:#4a4844;color:#e8e6dc}
html.pp-dark .pp-float-menu{background:#262624;color:#f3f4f6;border-color:#4a4844}
html.pp-dark .pp-float-menu button:hover{background:#30302e}
html.pp-dark .pp-chat-ref-card{background:#3a2e27;border-color:#5a4234;color:#fdba74}
html.pp-dark .pp-ref-hint{color:#a8a69c}
html.pp-dark .pp-conv-ref{color:#fdba74}
#ppUserReportModal{z-index:2147483600!important}
#fraudCheckModal.active{z-index:2147483600}

/* news card tags: same height, no wrapping */
.pp-profile-news-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 8px}
.pp-profile-news-meta span,.pp-profile-news-meta .pp-news-active{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;line-height:1.2;height:24px;padding:0 10px;box-sizing:border-box;font-size:11px;font-weight:800}
.pp-profile-news-meta time{margin-left:auto;white-space:nowrap;font-size:11px}
.pp-profile-news-btn.pp-news-msg-btn{background:#fff7ed;color:#c2410c;border:1px solid #fdba74}
html.pp-dark .pp-profile-news-btn.pp-news-msg-btn{background:#3a2e27;color:#fdba74;border-color:#5a4234}
.pp-nv-actions .pp-news-msg[hidden]{display:none!important}
.pp-nv-actions .pp-news-msg i{color:#0866ff}
html.pp-dark .pp-nv-actions .pp-news-msg i{color:#6aa8ff}

/* messenger icon in the news rails */
.pp-news-rail .pp-news-msg i{color:#0866ff}
html.pp-dark .pp-news-rail .pp-news-msg i{color:#6aa8ff}
.pp-news-rail-mini .pp-news-msg i{color:#0866ff}
.pp-profile-news-card.has-rail{min-height:250px}
.pp-profile-news-card.has-rail .pp-news-rail{gap:8px}
.pp-profile-news-card.has-rail .pp-news-act i{width:36px;height:36px}

/* ---- pp-own-card-product-to-button-gap-fix (orig line 17007) ---- */
/* CSS-only spacing adjustment: own profile card only. */
.main-content .pp-own-user-product-card {
    padding-bottom: 8px !important;
}
.main-content .pp-own-user-product-card > .seller-products-grid {
    padding-bottom: 2px !important;
    margin-bottom: 0 !important;
}
.main-content .pp-own-user-product-card > .user-card-actions {
    margin-top: 2px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}


/* Minimal Product Filter toolbar; scoped to this one bar. */
.pp-product-filter-layout{display:flex;align-items:flex-start;gap:7px;margin:3px 0 12px;width:100%;min-width:0}

.main-content .pp-own-user-product-card{margin-bottom:7px !important}
.main-content .pp-own-user-product-card + .pp-product-filter-layout{margin-top:0 !important}
.pp-product-filter-settings-outside{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;padding:0;border:1px solid #d1d5db;border-radius:50%;background:#fff;color:#4b5563;box-shadow:0 2px 8px rgba(15,23,42,.045);cursor:pointer}
.pp-product-filter-settings-outside:hover,.pp-product-filter-settings-outside:focus-visible{background:#f9fafb;border-color:#9ca3af;outline:none}
.pp-product-filter-settings-outside svg{display:block;width:19px;height:19px}











.pp-product-sort-menu{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 10px;border-bottom:1px solid #f1f5f9;background:#fafafa}
.pp-product-sort-menu[hidden]{display:none}

.pp-product-sort-menu button{border:1px solid #e5e7eb;background:#fff;border-radius:7px;padding:6px 9px;font-family:inherit;font-size:11px;font-weight:700;color:#374151;cursor:pointer}
.pp-product-sort-menu button.is-active{border-color:#fdba74;background:#fff7ed;color:#c2410c}









@media(max-width:600px){.pp-product-filter-layout{gap:6px;margin:2px 0 10px}.pp-product-filter-settings-outside{flex-basis:42px;width:42px;height:42px}.pp-product-filter-settings-outside svg{width:18px;height:18px}.pp-product-sort-menu{gap:5px;padding:8px}.pp-product-sort-menu button{padding:6px 7px;font-size:10px}}

/* Footer Product Grid toggle: styles only the new toggle and Main Content product-only mode. */
.mobile-bottom-footer .pp-footer-product-view-button{min-width:0}
.mobile-bottom-footer .pp-footer-product-view-button[aria-pressed="true"]{color:#ea580c;background:#fff7ed}
.mobile-bottom-footer .pp-footer-product-view-label{display:block;font-size:inherit;line-height:1.15;white-space:normal;text-align:center}

/* Product-only mode: keep each seller-card wrapper in the layout and show only its product grid.
   Avoid display:contents here because it can break layout/visibility across nested seller cards. */
.main-content.pp-product-only-mode #section-home > .pp-product-filter-layout, .main-content.pp-product-only-mode #section-home > .news-post-card, .main-content.pp-product-only-mode #section-home .user-product-card > .seller-header, .main-content.pp-product-only-mode #section-home .user-product-card > .seller-news, .main-content.pp-product-only-mode #section-home .user-product-card > .user-card-actions, .main-content.pp-product-only-mode #section-home .user-product-card > .light-user-main, .main-content.pp-product-only-mode #section-home .user-product-card > .light-user-actions, .main-content.pp-product-only-mode #section-home .user-product-card .empty-products, .main-content.pp-product-only-mode #section-home .section-card:has(.empty-products) { display:none !important; }
.main-content.pp-product-only-mode #section-home .user-product-card {
    display:block !important; width:100% !important; max-width:none !important;
    border:0 !important; outline:0 !important; box-shadow:none !important;
    margin:0 !important; padding:0 !important; background:transparent !important;
    height:auto !important; max-height:none !important; overflow:visible !important;
}
.main-content.pp-product-only-mode #section-home .pp-product-filter-layout {
    display:flex !important; width:100% !important; max-width:none !important;
}
/* Product-only mode must contain product cards only, not filter controls. */
.main-content.pp-product-only-mode #section-home > .pp-product-filter-layout { display:none !important; }
.main-content.pp-product-only-mode #section-home .light-user-products {
    display:grid !important; width:100% !important; max-width:none !important;
    margin:0 !important; padding:8px 0 16px !important; overflow:visible !important;
}
.main-content.pp-product-only-mode #section-home .seller-products-grid {
    display:grid !important;
    grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr)) !important;
    align-items:stretch !important; justify-content:stretch !important; gap:12px !important;
    width:100% !important; max-width:none !important; box-sizing:border-box !important;
    padding:8px 0 16px !important; margin:0 0 14px !important;
    overflow:visible !important; height:auto !important; max-height:none !important;
    visibility:visible !important; scroll-snap-type:none !important;
}
.main-content.pp-product-only-mode #section-home .seller-products-grid > .seller-product {
    display:flex !important; flex-direction:column !important; width:100% !important;
    min-width:0 !important; max-width:none !important; flex:initial !important;
    height:auto !important; min-height:0 !important; visibility:visible !important;
    scroll-snap-align:none !important;
}
.main-content.pp-product-only-mode #section-home .seller-products-grid > .seller-product *,
.main-content.pp-product-only-mode #section-home .seller-products-grid > .seller-products-more-card { visibility:visible !important; }
.main-content.pp-product-only-mode #section-home .seller-products-grid > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .seller-products-grid > .seller-product > .product-no-image {
    display:block !important; width:100% !important; height:clamp(150px,28vw,260px) !important;
    min-width:0 !important; max-width:none !important; object-fit:contain !important;
}
@media(max-width:600px) {
    .main-content.pp-product-only-mode #section-home .seller-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px !important; }
    .main-content.pp-product-only-mode #section-home .seller-products-grid > .seller-product > .product-image,
    .main-content.pp-product-only-mode #section-home .seller-products-grid > .seller-product > .product-no-image { height:clamp(125px,38vw,190px) !important; }
}

/* ---- pp-product-settings-system-style (orig line 17154) ---- */
.pp-settings-overlay[hidden]{display:none!important}
.pp-settings-overlay{position:fixed;inset:0;z-index:30000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,23,42,.56);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.pp-settings-panel{width:min(100%,520px);max-height:min(88vh,760px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e5e7eb;border-radius:20px;background:#fff;color:#1f2937;box-shadow:0 24px 80px rgba(15,23,42,.28)}
.pp-settings-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid #edf0f4}
.pp-settings-heading{display:flex;align-items:center;gap:12px;min-width:0}.pp-settings-heading-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#fff7ed;color:#c2410c;font-size:23px}.pp-settings-heading h2{margin:0;font-size:19px;line-height:1.25;font-weight:850}.pp-settings-heading p{margin:4px 0 0;color:#6b7280;font-size:11px}
.pp-settings-close{width:36px;height:36px;border:1px solid #e5e7eb;border-radius:50%;background:#fff;color:#4b5563;font-size:25px;line-height:1;cursor:pointer}
.pp-settings-content{overflow-y:auto;padding:5px 18px 12px}.pp-settings-section{padding:14px 0;border-bottom:1px solid #edf0f4}.pp-settings-section:last-child{border-bottom:0}.pp-settings-section h3{display:flex;align-items:center;gap:8px;margin:0 0 11px;font-size:13px;font-weight:850}.pp-settings-section h3>span{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:8px;background:#f3f4f6;color:#4b5563;font-size:17px}
.pp-settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer}.pp-settings-row strong{display:block;font-size:13px}.pp-settings-row small{display:block;margin-top:3px;color:#6b7280;font-size:11px;line-height:1.45}.pp-settings-switch{appearance:none;-webkit-appearance:none;position:relative;width:42px;height:24px;flex:0 0 42px;border:0;border-radius:99px;background:#d1d5db;cursor:pointer;transition:background .18s}.pp-settings-switch:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .18s}.pp-settings-switch:checked{background:#ea580c}.pp-settings-switch:checked:before{transform:translateX(18px)}.pp-settings-switch:focus-visible{outline:2px solid #fb923c;outline-offset:3px}
.pp-settings-description{margin:-2px 0 10px;color:#6b7280;font-size:11px}.pp-settings-notification-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pp-settings-notification-options label{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:11px;line-height:1.4;cursor:pointer}.pp-settings-notification-options input{margin:1px 0 0;accent-color:#ea580c;flex:0 0 auto}.pp-settings-note{margin:9px 0 0;color:#9ca3af;font-size:10px;line-height:1.5}.pp-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;border-top:1px solid #edf0f4;background:#fafafa}.pp-settings-reset,.pp-settings-save{min-height:38px;padding:0 14px;border-radius:10px;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer}.pp-settings-reset{border:1px solid #e5e7eb;background:#fff;color:#4b5563}.pp-settings-save{border:1px solid #ea580c;background:#ea580c;color:#fff}

@media(max-width:600px){.pp-settings-overlay{padding:9px;align-items:flex-end}.pp-settings-panel{max-height:91vh;border-radius:18px}.pp-settings-header{padding:14px}.pp-settings-content{padding:4px 14px 9px}.pp-settings-notification-options{grid-template-columns:1fr}.pp-settings-footer{padding:11px 14px}}
@media(prefers-reduced-motion:reduce){.pp-settings-switch,.pp-settings-switch:before{transition:none!important}}


/* My Products: compact two-line titles and wider cards using the full available area. */
#section-my-products .section-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 6px !important;
}
#section-my-products .products-grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 8px !important;
}
#section-my-products .products-grid > .product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
#section-my-products .products-grid > .product-card .product-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    line-height: 1.3 !important;
    max-height: 2.6em !important;
    overflow-wrap: anywhere !important;
}
@media (max-width: 600px) {
    #section-my-products .section-card {
        padding: 4px !important;
    }
    #section-my-products .products-grid {
        gap: 6px !important;
    }
    #section-my-products .products-grid > .product-card .product-body {
        padding: 7px !important;
    }
}


/* My Products: custom full-width Add Product bar. */
#section-my-products .my-products-add-bar {
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative;
    z-index:1;
    width:100%;
    min-height:54px;
    margin:12px 0 14px;
    padding:7px 10px 7px 16px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:#ffffff !important;
    background-color:#ffffff !important;
    color:#1f2937 !important;
    border:1px solid #d1d5db !important;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}
#section-my-products .my-products-add-bar-label {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    flex:1;
    text-align:center;
    font-size:15px;
    line-height:1.35;
    font-weight:600;
}
#section-my-products .my-products-add-bar-button {
    flex:0 0 38px;
    width:38px;
    height:38px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1.5px solid #9ca3af;
    border-radius:50%;
    background:transparent;
    color:#374151;
    cursor:pointer;
}
#section-my-products .my-products-add-bar-button:hover {
    background:#f3f4f6;
    border-color:#6b7280;
}
@media (max-width:600px) {
    #section-my-products .my-products-add-bar { min-height:50px; padding:6px 8px 6px 12px; }
    #section-my-products .my-products-add-bar-label { font-size:14px; }
    #section-my-products .my-products-add-bar-button { flex-basis:36px; width:36px; height:36px; }
}

/* Followers & Cash Memo: modern tab layout and readable user cards. */
#section-followers .followers-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px;padding:6px;border:1px solid #e2e8f0;border-radius:16px;background:#f1f5f9;}
#section-followers .followers-tab{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:12px 10px;border:1px solid transparent;border-radius:11px;background:transparent;color:#475569;font-size:12px;font-weight:800;line-height:1.4;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease;}
#section-followers .followers-tab.active{background:#fff;color:#c2410c;border-color:#fed7aa;box-shadow:0 2px 8px rgba(15,23,42,.08);}
#section-followers .followers-tab-label{min-width:0;}
#section-followers .followers-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:11px;font-weight:900;}
#section-followers .followers-tab.active .followers-tab-count{background:#ffedd5;color:#9a3412;}
#section-followers .followers-list-panel .section-card{border-radius:16px;}
#section-followers .person-list-card{background:#fff;border-color:#e2e8f0;}
#section-followers .person-list-avatar-empty{background:#e2e8f0;color:#475569;}
#section-followers .person-list-info{color:#64748b;}
#section-followers .person-list-info strong{color:#0f172a;}
#section-followers .person-list-card.cash-memo-active{background:linear-gradient(135deg,#fff7ed,#fff1df)!important;}
@media(max-width:520px){#section-followers .followers-tabs{gap:5px;padding:4px;}#section-followers .followers-tab{flex-direction:column;gap:4px;padding:10px 5px;font-size:11px;text-align:center;}#section-followers .followers-tab-count{min-width:22px;height:22px;}}

/* ---- pp-facebook-see-more-product-link (orig line 17329) ---- */
/* Compact product-list See control: rounded border around See only; arrow stays outside. */
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card {
    flex: 0 0 auto !important; flex-basis: max-content !important;
    width: max-content !important; min-width: 0 !important; max-width: none !important;
    min-height: 0 !important; box-sizing: border-box !important; align-self: center !important;
    display: inline-flex !important; flex-direction: row !important;
    align-items: center !important; justify-content: flex-start !important;
    gap: 0 !important; padding: 0 !important;
    margin: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; color: #374151 !important;
    text-align: center !important; text-decoration: none !important;
    line-height: 1.2 !important; white-space: nowrap !important; box-shadow: none !important;
    scroll-snap-align: center !important; scroll-snap-stop: always !important;
}
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card .seller-products-more-label {
    display: inline-block !important; padding: 8px 16px !important;
    border: 1px solid #9ca3af !important; border-radius: 999px !important;
    background: transparent !important; font-size: 14px !important;
    font-weight: 700 !important; color: inherit !important;
}
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card .seller-products-more-dots {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    gap: 2px !important; margin: 0 !important; padding: 0 !important; flex: 0 0 auto !important;
    line-height: 1 !important;
}
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card .seller-products-more-dots i {
    display: block !important; width: 3px !important; height: 3px !important;
    border-radius: 50% !important; background: currentColor !important; margin: 0 !important; padding: 0 !important;
}
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card .seller-products-more-arrow {
    display: inline-flex !important; align-items: center !important; justify-content: flex-start !important;
    width: max-content !important; min-width: 0 !important; height: auto !important; flex: 0 0 auto !important;
    margin: 0 !important; padding: 0 !important; letter-spacing: -1px !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important;
    color: inherit !important; font-size: 26px !important; font-weight: 900 !important; line-height: 1 !important;
}
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card:hover .seller-products-more-label {
    border-color: #f97316 !important; color: #ea580c !important;
}
.main-content .user-product-card > .seller-products-grid > .seller-products-more-card:hover .seller-products-more-arrow {
    color: #ea580c !important;
}

/* ---- pp-notification-message-expand-styles (orig line 17375) ---- */
/* Notification system icons and expandable long messages. */
.pp-notification-message-text{font-size:13px;line-height:1.45;overflow-wrap:anywhere;}
.pp-notification-message-text:not(.is-expanded){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden;}
.pp-notification-message-text.is-expanded{display:block;overflow:visible;}
.pp-notification-see-more{display:inline-flex;align-items:center;justify-content:center;min-height:27px;margin:5px 0 0;padding:4px 10px;border:1px solid #fdba74;border-radius:999px;background:#fff7ed;color:#9a3412;font:inherit;font-size:12px;font-weight:800;line-height:1.2;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.08);}
.pp-notification-see-more:hover{background:#ffedd5;border-color:#fb923c;}
.pp-notification-see-more:focus-visible{outline:2px solid #f97316;outline-offset:2px;}
.pp-notification-see-more[hidden]{display:none!important;}
.pp-notification-avatar .pp-notification-type-icon{color:#475569;stroke:currentColor;display:block;flex-shrink:0;}

/* ---- pp-desktop-compact-action-buttons (orig line 17387) ---- */
/* Keep desktop action buttons compact and mobile-like instead of stretching across cards. */
@media (min-width: 701px) {
  button:not(.pp-feed-nav):not(.pp-feed-news-button):not(.search-direct-order-button):not(.search-cart-order-button):not(.search-direct-order-button):not(.search-cart-order-button):not(.sidebar-button):not(.mobile-bottom-nav button):not(.mobile-bottom-footer button):not([style*="width:100%"]), a[class*="button"]:not(.pp-feed-news-button):not(.pp-news-publish-button):not(.sidebar-button):not([style*="width:100%"]), input[type="button"]:not([style*="width:100%"]), input[type="submit"]:not([style*="width:100%"]), input[type="reset"]:not([style*="width:100%"]), .pp-my-news-actions button {
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 32px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    flex: 0 1 auto !important;
  }
  /* Paired product-order buttons should remain balanced side-by-side, not become oversized. */
  
}

/* ---- pp-news-no-media-logo-v1 (orig line 17406) ---- */
.main-content .pp-feed-news-slide.pp-feed-no-media .pp-feed-news-media.pp-feed-news-logo{display:flex!important;flex:1 1 0!important;min-height:0!important;width:100%!important;height:auto!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:transparent!important;border-radius:0!important}
.main-content .pp-feed-news-slide.pp-feed-no-media .pp-feed-news-logo img{display:block!important;width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;object-fit:contain!important}

/* ---- pp-product-only-hide-news-card-v1 (orig line 17412) ---- */
/* Product Grid View: hide dynamically generated news carousel cards as well as the source news block. */
.main-content.pp-product-only-mode #section-home .seller-products-grid > .pp-feed-news-slide, .main-content.pp-product-only-mode #section-home .seller-products-grid > .pp-feed-slide.pp-feed-news-slide, .main-content.pp-product-only-mode #section-home .pp-feed-news-slide {
    display: none !important;
}

/* ---- pp-product-grid-equal-size-final-fix-v2 (orig line 17420) ---- */
/* Final override: every product in Product View occupies exactly one equal grid cell,
   regardless of whether its original seller had one product or many. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
  display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-columns:minmax(0,1fr)!important; grid-auto-rows:300px!important;
  grid-auto-flow:row!important; align-items:stretch!important; justify-items:stretch!important;
  gap:8px!important; width:100%!important; max-width:100%!important; box-sizing:border-box!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product.pp-feed-single-product,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product.pp-feed-mini-grid-single-product {
  display:flex!important; position:relative!important; float:none!important;
  grid-column:span 1!important; grid-row:span 1!important;
  width:100%!important; min-width:0!important; max-width:100%!important;
  height:300px!important; min-height:300px!important; max-height:300px!important;
  flex:initial!important; align-self:stretch!important; justify-self:stretch!important;
  box-sizing:border-box!important; margin:0!important; padding:0!important; overflow:hidden!important;
  border:1px solid #e5e7eb!important; border-radius:10px!important; background:#fff!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  display:block!important; flex:0 0 155px!important; width:100%!important; min-width:0!important; max-width:100%!important;
  height:155px!important; min-height:155px!important; max-height:155px!important;
  aspect-ratio:auto!important; object-fit:contain!important; box-sizing:border-box!important; padding:4px!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  display:flex!important; flex:1 1 auto!important; flex-direction:column!important;
  width:100%!important; min-width:0!important; min-height:0!important; max-height:none!important;
  box-sizing:border-box!important; overflow:hidden!important; padding:5px 6px!important; gap:3px!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product .product-name {
  display:-webkit-box!important; -webkit-box-orient:vertical!important; -webkit-line-clamp:2!important;
  line-clamp:2!important; min-height:2.4em!important; max-height:2.4em!important;
  overflow:hidden!important; overflow-wrap:anywhere!important; font-size:11px!important; line-height:1.2!important; margin:0!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product .product-description,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product .product-price {display:none!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product .main-product-order-actions {
  display:flex!important; flex-direction:column!important; gap:3px!important; margin-top:auto!important; width:100%!important; min-width:0!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product .main-product-order-actions button {
  display:block!important; width:100%!important; min-width:0!important; max-width:100%!important;
  min-height:25px!important; height:auto!important; padding:4px 3px!important; font-size:9px!important;
  line-height:1.15!important; white-space:normal!important; overflow:hidden!important;
}
@media(min-width:700px){
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
   grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important; grid-auto-rows:320px!important; gap:12px!important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product.pp-feed-single-product {
   height:320px!important; min-height:320px!important; max-height:320px!important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
   flex-basis:180px!important; height:180px!important; min-height:180px!important; max-height:180px!important;
 }
}

/* Corrective override: prevent a lone seller's product from spanning the whole row. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  grid-auto-columns:minmax(0, 1fr) !important;
  grid-auto-rows:300px !important;
  grid-auto-flow:row dense !important;
  align-items:stretch !important;
  justify-items:stretch !important;
  column-gap:8px !important;
  row-gap:8px !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > * {
  grid-column:auto / span 1 !important;
  grid-row:auto / span 1 !important;
  justify-self:stretch !important;
  align-self:stretch !important;
  min-width:0 !important;
  max-width:100% !important;
  width:100% !important;
  box-sizing:border-box !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
  display:flex !important;
  flex-direction:column !important;
  height:300px !important;
  min-height:300px !important;
  max-height:300px !important;
  margin:0 !important;
  overflow:hidden !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  display:block !important;
  flex:0 0 155px !important;
  width:100% !important;
  height:155px !important;
  min-height:155px !important;
  max-height:155px !important;
  object-fit:contain !important;
  box-sizing:border-box !important;
}
@media (min-width:700px) {
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
   grid-template-columns:repeat(auto-fill,minmax(190px,1fr)) !important;
   grid-auto-rows:320px !important;
   gap:12px !important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
   height:320px !important; min-height:320px !important; max-height:320px !important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
   flex-basis:180px !important; height:180px !important; min-height:180px !important; max-height:180px !important;
 }
}

/* ---- pp-product-grid-force-equal-cells-v3 (orig line 17541) ---- */
/* Force every moved product into one equal grid cell; neutralize per-card span/width rules. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-auto-columns:minmax(0,1fr) !important;
  grid-auto-flow:row !important;
  grid-auto-rows:300px !important;
  align-items:stretch !important;
  justify-items:stretch !important;
  gap:8px !important;
  width:100% !important; max-width:100% !important; min-width:0 !important;
  box-sizing:border-box !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > * {
  grid-column:auto / span 1 !important;
  grid-row:auto / span 1 !important;
  width:100% !important; min-width:0 !important; max-width:100% !important;
  min-height:0 !important; max-height:300px !important;
  justify-self:stretch !important; align-self:stretch !important;
  box-sizing:border-box !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
  display:flex !important; flex-direction:column !important;
  height:300px !important; min-height:300px !important; max-height:300px !important;
  flex:initial !important; float:none !important; margin:0 !important; overflow:hidden !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  display:block !important; flex:0 0 155px !important;
  width:100% !important; min-width:0 !important; max-width:100% !important;
  height:155px !important; min-height:155px !important; max-height:155px !important;
  object-fit:contain !important; box-sizing:border-box !important;
}
@media (min-width:700px) {
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
   grid-template-columns:repeat(auto-fill,minmax(190px,1fr)) !important;
   grid-auto-rows:320px !important; gap:12px !important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
   height:320px !important; min-height:320px !important; max-height:320px !important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
   flex-basis:180px !important; height:180px !important; min-height:180px !important; max-height:180px !important;
 }
}

/* ---- pp-unified-catalogue-final-layout (orig line 17592) ---- */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-auto-flow:row !important;
  grid-auto-columns:minmax(0,1fr) !important;
  grid-auto-rows:300px !important;
  align-items:stretch !important; justify-items:stretch !important;
  gap:8px !important; width:100% !important; max-width:100% !important;
  min-width:0 !important; box-sizing:border-box !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
  grid-column:auto !important; grid-column-start:auto !important; grid-column-end:auto !important;
  grid-row:auto !important; grid-row-start:auto !important; grid-row-end:auto !important;
  display:flex !important; position:relative !important; flex-direction:column !important;
  width:100% !important; min-width:0 !important; max-width:100% !important;
  height:300px !important; min-height:300px !important; max-height:300px !important;
  flex:none !important; margin:0 !important; padding:8px !important;
  overflow:hidden !important; box-sizing:border-box !important; align-self:stretch !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  display:block !important; flex:0 0 155px !important; width:100% !important;
  min-width:0 !important; max-width:100% !important; height:155px !important;
  min-height:155px !important; max-height:155px !important; object-fit:contain !important;
  align-self:stretch !important; box-sizing:border-box !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  flex:1 1 auto !important; width:100% !important; min-width:0 !important; max-width:100% !important;
  overflow:hidden !important; box-sizing:border-box !important;
}
@media(min-width:700px) {
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {grid-template-columns:repeat(auto-fill,minmax(190px,1fr)) !important;grid-auto-rows:320px !important;gap:12px !important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {height:320px !important;min-height:320px !important;max-height:320px !important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {flex-basis:180px !important;height:180px !important;min-height:180px !important;max-height:180px !important;}
}

/* ---- pp-footer-view-center-hide-product-actions-v1 (orig line 17631) ---- */
/* Keep regular-user footer layout; align Rider footer items evenly when Product View is absent. */
.mobile-bottom-footer{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;}
.mobile-bottom-footer.pp-rider-footer{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.mobile-bottom-footer.pp-rider-footer>.mobile-bottom-button{grid-column:auto!important;min-width:0!important;justify-self:stretch!important;}
/* Rider footer has exactly four items; override regular-user 5-column placement so there is no empty middle slot. */
.mobile-bottom-footer.pp-rider-footer>.mobile-bottom-button:nth-child(1){grid-column:1!important;}
.mobile-bottom-footer.pp-rider-footer>.mobile-bottom-button:nth-child(2){grid-column:2!important;}
.mobile-bottom-footer.pp-rider-footer>.mobile-bottom-button:nth-child(3){grid-column:3!important;}
.mobile-bottom-footer.pp-rider-footer>.mobile-bottom-button:nth-child(4){grid-column:4!important;}
.mobile-bottom-footer.pp-rider-footer>.mobile-bottom-button .mobile-bottom-icon{margin-left:auto!important;margin-right:auto!important;}
.mobile-bottom-footer>.mobile-bottom-button{grid-row:1!important;min-width:0!important;}
.mobile-bottom-footer>.mobile-bottom-button:nth-child(1){grid-column:1!important;}
.mobile-bottom-footer>.mobile-bottom-button:nth-child(2){grid-column:2!important;}
.mobile-bottom-footer>.mobile-bottom-button:nth-child(3){grid-column:4!important;}
.mobile-bottom-footer>.mobile-bottom-button.pp-footer-product-view-button{grid-column:3!important;grid-row:1!important;justify-self:stretch!important;align-self:stretch!important;}
.mobile-bottom-footer>.mobile-bottom-button:last-child{grid-column:5!important;}
.mobile-bottom-footer .pp-footer-product-view-button{font-weight:900!important;}
.mobile-bottom-footer .pp-footer-product-view-button .mobile-bottom-icon{display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto!important;}
.mobile-bottom-footer .pp-footer-product-view-button svg{stroke-width:2.8!important;width:23px!important;height:23px!important;}
/* Product-only catalogue: remove order/cart/action buttons to give each card more room for products. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .main-product-order-actions,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .main-product-order-actions button,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-actions,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-card-actions,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-actions{display:none!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue{gap:6px!important;grid-auto-rows:250px!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product{height:250px!important;min-height:250px!important;max-height:250px!important;padding:0!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-no-image{flex:0 0 205px!important;height:205px!important;min-height:205px!important;max-height:205px!important;object-fit:contain!important;padding:3px!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.seller-product-body{padding:4px 5px!important;gap:0!important;}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name{min-height:2.2em!important;max-height:2.2em!important;font-size:10px!important;}
@media(min-width:700px){
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important;grid-auto-rows:275px!important;gap:8px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product{height:275px!important;min-height:275px!important;max-height:275px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue>.seller-product>.product-no-image{flex-basis:225px!important;height:225px!important;min-height:225px!important;max-height:225px!important;}
}

/* ---- pp-catalogue-minimal-product-cards-v4 (orig line 17671) ---- */
/* Product-only view: compact cards showing just the product image, price badge and one-line name. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:190px!important;
  gap:5px!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
  height:190px!important;min-height:190px!important;max-height:190px!important;
  padding:0!important;margin:0!important;gap:0!important;border-radius:7px!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  flex:0 0 148px!important;height:148px!important;min-height:148px!important;max-height:148px!important;
  width:100%!important;object-fit:contain!important;padding:2px!important;margin:0!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  display:block!important;flex:1 1 auto!important;min-height:0!important;height:36px!important;
  max-height:36px!important;padding:2px 4px!important;margin:0!important;overflow:hidden!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name {
  display:block!important;margin:0!important;padding:0!important;min-height:0!important;height:15px!important;
  max-height:15px!important;line-height:15px!important;font-size:10px!important;font-weight:600!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
/* Hide every action, secondary price/discount row, seller detail and other card controls in catalogue view. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > :not(.product-name),
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product button,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product a,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .main-product-order-actions,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .direct-order-button,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .seller-cart-button,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .product-actions,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .product-card-actions,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .seller-product-actions,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product .product-price {display:none!important;}
/* Keep the single compact price badge; suppress extra badges or promotional labels. */

@media(min-width:700px){
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {
   grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;grid-auto-rows:220px!important;gap:8px!important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
   height:220px!important;min-height:220px!important;max-height:220px!important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
   flex-basis:178px!important;height:178px!important;min-height:178px!important;max-height:178px!important;
 }
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {height:38px!important;max-height:38px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name {font-size:11px!important;}
}

/* ---- pp-catalogue-orange-price-discount-v5 (orig line 17726) ---- */
/* Catalogue-only: swap the price/discount badge positions and give both matching orange-gradient typography. */

.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {
  display:inline-flex!important;position:absolute!important;z-index:12!important;
  top:auto!important;right:auto!important;bottom:39px!important;left:4px!important;
  width:auto!important;max-width:calc(100% - 8px)!important;height:auto!important;
  min-height:0!important;max-height:none!important;box-sizing:border-box!important;
  margin:0!important;padding:2px 5px!important;border:0!important;border-radius:5px!important;
  background:rgba(255,255,255,.94)!important;color:#f97316!important;
  font-size:11px!important;font-weight:950!important;line-height:14px!important;
  white-space:nowrap!important;text-shadow:none!important;
  background-image:linear-gradient(100deg,#fb923c 0%,#f97316 45%,#ea580c 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  box-shadow:0 1px 4px rgba(0,0,0,.12)!important;
}
@media(min-width:700px){
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {
   font-size:11px!important;line-height:14px!important;font-weight:950!important;
 }
}

/* ---- pp-catalogue-price-discount-above-name-v6 (orig line 17750) ---- */
/* Product-only catalogue: put price and discount together immediately above the title, and remove excess space below the title. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
  height:170px!important;min-height:170px!important;max-height:170px!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  flex:0 0 135px!important;height:135px!important;min-height:135px!important;max-height:135px!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  display:block!important;flex:0 0 25px!important;height:25px!important;min-height:25px!important;max-height:25px!important;
  padding:0 3px!important;margin:0!important;overflow:hidden!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name {
  height:16px!important;min-height:16px!important;max-height:16px!important;line-height:16px!important;
  margin:0!important;padding:0!important;font-size:10px!important;font-weight:700!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {
  display:inline-flex!important;position:absolute!important;top:auto!important;bottom:27px!important;
  z-index:12!important;max-width:calc(50% - 7px)!important;min-height:0!important;height:auto!important;max-height:none!important;
  margin:0!important;padding:2px 4px!important;border:0!important;border-radius:4px!important;
  background:rgba(255,255,255,.94)!important;box-shadow:0 1px 3px rgba(0,0,0,.12)!important;
  font-size:10px!important;font-weight:950!important;line-height:13px!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;text-shadow:none!important;
  background-image:linear-gradient(100deg,#fb923c 0%,#f97316 48%,#ea580c 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;
}

.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {left:auto!important;right:4px!important;}
@media(min-width:700px){
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue {grid-auto-rows:190px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {height:190px!important;min-height:190px!important;max-height:190px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {flex-basis:160px!important;height:160px!important;min-height:160px!important;max-height:160px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {flex-basis:25px!important;height:25px!important;min-height:25px!important;max-height:25px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {bottom:27px!important;font-size:11px!important;line-height:14px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name {font-size:11px!important;}
}

/* ---- pp-catalogue-price-discount-below-title-v7 (orig line 17791) ---- */
/* Product-only catalogue: title first, then price and discount together at the very bottom. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product {
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  height:190px!important;min-height:190px!important;max-height:190px!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  flex:0 0 135px!important;height:135px!important;min-height:135px!important;max-height:135px!important;
  width:100%!important;object-fit:cover!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  position:relative!important;display:block!important;flex:0 0 50px!important;
  height:50px!important;min-height:50px!important;max-height:50px!important;
  width:100%!important;box-sizing:border-box!important;padding:2px 4px 19px!important;
  margin:0!important;overflow:hidden!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name {
  display:block!important;height:16px!important;min-height:16px!important;max-height:16px!important;
  margin:0!important;padding:0!important;line-height:16px!important;font-size:10px!important;
  font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {
  position:absolute!important;top:auto!important;bottom:3px!important;z-index:12!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;max-width:calc(50% - 8px)!important;min-height:0!important;height:15px!important;max-height:15px!important;
  margin:0!important;padding:0 3px!important;border:0!important;border-radius:3px!important;
  background:linear-gradient(100deg,#fdba74 0%,#fb923c 35%,#f97316 70%,#ea580c 100%)!important;
  color:#f97316!important;background-clip:text!important;-webkit-background-clip:text!important;
  -webkit-text-fill-color:transparent!important;box-shadow:none!important;text-shadow:none!important;
  font-size:10px!important;font-weight:950!important;line-height:15px!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}

.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {left:auto!important;right:5px!important;}
@media(min-width:700px){
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {flex-basis:135px!important;height:135px!important;min-height:135px!important;max-height:135px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {flex-basis:50px!important;height:50px!important;min-height:50px!important;max-height:50px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name {font-size:11px!important;}
 .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .feed-product-discount-badge {font-size:11px!important;}
}

/* ---- pp-user-card-product-search-v1 (orig line 17835) ---- */
.pp-user-product-search-wrap{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-width:0}
.pp-user-product-search-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:36px;padding:0;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#475569;cursor:pointer}
.pp-user-product-search-toggle:hover,.pp-user-product-search-wrap.is-open .pp-user-product-search-toggle{background:#fff7ed;border-color:#fdba74;color:#c2410c}
.pp-user-product-search-input{display:none;box-sizing:border-box;min-width:0;width:0;height:36px;padding:0;border:1px solid #fdba74;border-radius:10px;background:#fff;color:#111827;font:inherit;font-size:12px;outline:none}
.pp-user-product-search-wrap.is-open{flex:1 1 100%;width:100%}
.pp-user-product-search-wrap.is-open .pp-user-product-search-input{display:block;flex:1 1 auto;width:auto;padding:0 10px}
.user-card-actions:has(.pp-user-product-search-wrap.is-open),.light-user-actions:has(.pp-user-product-search-wrap.is-open){flex-wrap:wrap}
.user-card-actions .pp-user-product-search-wrap{margin-left:auto}
.light-user-actions .pp-user-product-search-wrap{flex:0 0 38px}
.light-user-actions .pp-user-product-search-wrap.is-open{flex:1 1 100%}
@media(max-width:480px){.pp-user-product-search-toggle{flex-basis:36px;width:36px;height:34px}.pp-user-product-search-input{height:34px}.light-user-actions .pp-user-product-search-wrap{flex-basis:36px}}
/* Compact Facebook-style user actions: social stats on the left, Messenger/Search on the right. */
.light-user-actions {
  display:flex !important; align-items:center !important; justify-content:flex-start !important;
  flex-wrap:nowrap; gap:4px !important; padding:5px 9px 7px !important;
}
.light-user-actions > .light-stat-action {
  flex:0 0 43px !important; width:43px !important; min-width:43px !important;
  height:30px !important; padding:3px 4px !important; gap:4px !important;
  border:0 !important; border-radius:7px !important; background:transparent !important;
  color:#65676b !important; font-size:11px !important; box-shadow:none !important;
}
.light-user-actions > .light-stat-action:hover,
.light-user-actions > .light-stat-action.following {
  background:#f0f2f5 !important; color:#1877f2 !important; border-color:transparent !important;
}
.light-user-actions > .light-stat-action svg { width:16px !important; height:16px !important; flex:0 0 16px !important; }
.light-user-actions > .light-stat-action strong { font-size:11px !important; font-weight:700 !important; }
.light-user-actions > .light-messenger-button {
  flex:0 0 32px !important; width:32px !important; min-width:32px !important;
  height:30px !important; margin-left:auto !important; padding:3px !important;
  border:0 !important; border-radius:8px !important; background:transparent !important;
}
.light-user-actions > .light-messenger-button:hover { background:#f0f2f5 !important; }
.light-user-actions .light-messenger-icon { width:21px !important; height:21px !important; }
.light-user-actions .pp-user-product-search-wrap { flex:0 0 32px !important; width:32px !important; margin-left:0 !important; }
.light-user-actions .pp-user-product-search-toggle { flex:0 0 32px !important; width:32px !important; height:30px !important; border:0 !important; border-radius:8px !important; background:transparent !important; color:#65676b !important; }
.light-user-actions .pp-user-product-search-toggle:hover,
.light-user-actions .pp-user-product-search-wrap.is-open .pp-user-product-search-toggle { background:#f0f2f5 !important; color:#1877f2 !important; border-color:transparent !important; }
.light-user-actions .pp-user-product-search-wrap.is-open { flex:1 1 100% !important; width:100% !important; order:5; }
.light-user-actions .pp-user-product-search-wrap.is-open .pp-user-product-search-input { height:32px !important; border-radius:16px !important; }
@media(max-width:360px) {
  .light-user-actions { gap:2px !important; padding-left:6px !important; padding-right:6px !important; }
  .light-user-actions > .light-stat-action { flex-basis:39px !important; width:39px !important; min-width:39px !important; }
  .light-user-actions > .light-messenger-button,
  .light-user-actions .pp-user-product-search-wrap,
  .light-user-actions .pp-user-product-search-toggle { flex-basis:30px !important; width:30px !important; min-width:30px !important; }
}

/* ---- pp-user-card-actions-icon-only-v1 (orig line 17885) ---- */
/* Approved icon-only Facebook-style actions: no large buttons, borders, or labels. */
.light-user-actions{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:3px!important;padding:5px 8px 7px!important}
.light-user-actions>.light-stat-action{flex:0 1 auto!important;width:auto!important;min-width:30px!important;height:30px!important;padding:0 2px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#65676b!important}
.light-user-actions>.light-stat-action strong{display:inline!important;font-size:10px!important;font-weight:700!important;line-height:1!important;margin-left:2px!important}
.light-user-actions>.light-stat-action svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
.light-user-actions>.light-stat-action:hover,.light-user-actions>.light-stat-action.following{background:transparent!important;border:0!important;color:#1877f2!important}
.light-user-actions>.light-messenger-button{flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:30px!important;margin-left:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.light-user-actions>.light-messenger-button:hover{background:transparent!important}
.light-user-actions .light-messenger-icon{width:21px!important;height:21px!important}
.light-user-actions .pp-user-product-search-wrap{flex:0 0 30px!important;width:30px!important;margin-left:0!important}
.light-user-actions .pp-user-product-search-toggle{flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#65676b!important}
.light-user-actions .pp-user-product-search-toggle:hover,.light-user-actions .pp-user-product-search-wrap.is-open .pp-user-product-search-toggle{background:transparent!important;border:0!important;color:#1877f2!important}
.light-user-actions .pp-user-product-search-wrap.is-open{flex:1 1 100%!important;width:100%!important;order:5}
.light-user-actions .pp-user-product-search-wrap.is-open .pp-user-product-search-input{height:32px!important;border-radius:6px!important}
@media(max-width:360px){.light-user-actions{gap:2px!important;padding-left:6px!important;padding-right:6px!important}.light-user-actions>.light-stat-action{min-width:26px!important}.light-user-actions>.light-messenger-button,.light-user-actions .pp-user-product-search-wrap,.light-user-actions .pp-user-product-search-toggle{flex-basis:28px!important;width:28px!important;min-width:28px!important}}

/* ---- pp-user-card-search-icon-desktop-size-v1 (orig line 17902) ---- */
@media (min-width: 768px) {
  .light-user-actions .pp-user-product-search-toggle svg {
    width: 21px !important;
    height: 21px !important;
    stroke-width: 2.1 !important;
  }
}

/* ---- pp-user-card-search-icon-desktop-svg-visibility-v2 (orig line 17931) ---- */
@media (min-width: 768px) {
  .light-user-actions .pp-user-product-search-wrap {
    display: inline-flex !important; flex: 0 0 32px !important; width: 32px !important;
    min-width: 32px !important; visibility: visible !important; opacity: 1 !important;
  }
  .light-user-actions .pp-user-product-search-wrap > button.pp-user-product-search-toggle {
    display: inline-flex !important; flex: 0 0 32px !important; width: 32px !important;
    min-width: 32px !important; height: 30px !important; align-items: center !important;
    justify-content: center !important; visibility: visible !important; opacity: 1 !important;
    color: #4b5563 !important; overflow: visible !important;
  }
  .light-user-actions .pp-user-product-search-wrap > button.pp-user-product-search-toggle > svg {
    display: block !important; visibility: visible !important; opacity: 1 !important;
    width: 23px !important; height: 23px !important; min-width: 23px !important;
    flex: 0 0 23px !important; fill: none !important; stroke: currentColor !important;
    stroke-width: 2.5 !important; stroke-linecap: round !important; stroke-linejoin: round !important;
  }
}

/* ---- pp-product-view-hide-pymk-and-user-card-actions-v2 (orig line 17953) ---- */
/* Product View must show product tiles only, even when the suggestions panel was moved into the feed. */
main.main-content.pp-product-only-mode .pp-people-you-may-know,
body:has(main.main-content.pp-product-only-mode) .pp-people-you-may-know,
main.main-content.pp-product-only-mode .pp-user-card-top-controls,
main.main-content.pp-product-only-mode .pp-user-card-menu,
main.main-content.pp-product-only-mode .pp-pymk-actions,
main.main-content.pp-product-only-mode .pp-pymk-follow,
main.main-content.pp-product-only-mode .pp-pymk-remove {
  display: none !important;
}

/* ---- pp-seller-page-product-search-v1 (orig line 17968) ---- */
#section-seller-products .pp-seller-product-search-input{display:none;box-sizing:border-box;min-width:0;height:30px;padding:0 9px;border:1px solid #fdba74;border-radius:7px;background:#fff;color:#111827;font-size:12px;outline:none}
#section-seller-products .pp-seller-product-search-input.is-open{display:block!important;flex:1 1 100%;width:180px;max-width:100%;order:10}
@media(max-width:750px){
 
 #section-seller-products .pp-seller-product-search-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;flex:0 0 28px!important;padding:0!important;margin:0!important;border:0!important;border-radius:5px!important;background:transparent!important;color:#fff!important;box-shadow:none!important;cursor:pointer!important}
 #section-seller-products .pp-seller-product-search-toggle svg{display:block!important;width:18px!important;height:18px!important}
 #section-seller-products .pp-seller-product-search-input{display:none;box-sizing:border-box;width:100%;min-width:0;height:30px;padding:0 9px;border:1px solid #fdba74;border-radius:7px;background:#fff;color:#111827;font-size:12px;outline:none}
 #section-seller-products .pp-seller-product-search-input.is-open{display:block;flex:1 1 100%;order:10}
}

/* ---- pp-seller-page-ultra-compact-v2 (orig line 17980) ---- */
@media(max-width:750px){
 #section-seller-products .pp-seller-page-card{padding:4px!important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 #section-seller-products .product-page-seller{margin:0 0 5px!important;padding:0!important;border-radius:7px!important;box-shadow:none!important}
 #section-seller-products .product-page-seller details{width:100%!important}
 #section-seller-products .product-page-seller summary{display:flex!important;align-items:center!important;gap:7px!important;list-style:none!important;padding:5px 7px!important;cursor:pointer!important;min-height:38px!important}
 #section-seller-products .product-page-seller summary::-webkit-details-marker{display:none!important}
 #section-seller-products .product-page-seller summary:after{content:'⌄';margin-left:auto;font-size:18px;font-weight:700;line-height:1;color:#6b7280}
 #section-seller-products .product-page-seller details[open] summary:after{content:'⌃'}
 #section-seller-products .product-page-seller .product-page-seller-head{display:contents!important}
 #section-seller-products .product-page-seller .product-page-seller-avatar{width:28px!important;height:28px!important;flex:0 0 28px!important}
 #section-seller-products .product-page-seller .product-page-seller-name{font-size:12px!important;line-height:1.2!important}
 #section-seller-products .product-page-seller .product-page-seller-meta{display:none!important}
 #section-seller-products .product-page-seller .product-page-contact{padding:0 9px 8px!important;margin:0!important;font-size:11px!important;line-height:1.45!important}
 #section-seller-products .seller-category-dashboard,#section-seller-products .seller-category-dashboard{margin:0 0 5px!important;padding:5px!important;border-radius:7px!important}
 #section-seller-products .seller-category-dashboard-title{font-size:11px!important;margin-bottom:4px!important}
 #section-seller-products .seller-category-dashboard-list{gap:4px!important;padding:0 0 3px!important}
 #section-seller-products .seller-category-dashboard-item{padding:5px 7px!important;font-size:10px!important;border-radius:6px!important}
 #section-seller-products .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px!important}
 #section-seller-products .product-card{margin:0!important;min-width:0!important;border-radius:6px!important;box-shadow:none!important}
 #section-seller-products .product-body{padding:5px!important;gap:3px!important}
 #section-seller-products .product-name{font-size:12px!important;line-height:1.25!important;min-height:calc(1.25em * 2)!important;-webkit-line-clamp:2!important}
 #section-seller-products .product-description{display:none!important}
 #section-seller-products .product-price{font-size:13px!important}
 #section-seller-products .seller-cart-button{margin-top:1px!important;min-height:29px!important;padding:6px 3px!important;font-size:10px!important}
}

/* ---- pp-product-rating-title-visibility-fix-v1 (orig line 18077) ---- */
/* Compact product cards must show all requested essentials: rating, title, price and discount. */
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;
  flex:0 0 54px!important;height:54px!important;min-height:54px!important;max-height:54px!important;
  box-sizing:border-box!important;overflow:hidden!important;padding:2px 4px!important;gap:0!important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .pp-product-rating-count,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .pp-product-rating-count {
  display:flex!important;align-items:center!important;flex:0 0 13px!important;height:13px!important;min-height:13px!important;max-height:13px!important;
  width:100%!important;margin:0!important;padding:0!important;font-size:9px!important;line-height:12px!important;
  overflow:hidden!important;white-space:nowrap!important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-name,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-name {
  display:block!important;flex:0 0 17px!important;height:17px!important;min-height:17px!important;max-height:17px!important;
  width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;font-size:10px!important;line-height:16px!important;font-weight:700!important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-price,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-price {
  display:block!important;flex:0 0 19px!important;height:19px!important;min-height:19px!important;max-height:19px!important;
  width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;text-overflow:clip!important;
  white-space:nowrap!important;font-size:10px!important;line-height:17px!important;font-weight:800!important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-price span,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-price span {
  font-size:8px!important;white-space:nowrap!important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-price strong,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-price strong {
  font-size:10px!important;white-space:nowrap!important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > :not(.product-name):not(.pp-product-rating-count):not(.product-price),
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > :not(.product-name):not(.pp-product-rating-count):not(.product-price) {display:none!important;}

/* ---- pp-product-title-one-line-image-balance-v2 (orig line 18115) ---- */
/* Balance product image and information area so the one-line title is never covered. */
.main-content .pp-feed-mini-grid > .seller-product {
  grid-template-rows: minmax(0, 1fr) 54px 23px !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .product-image,
.main-content .pp-feed-mini-grid > .seller-product > .product-no-image {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  padding: 2px !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body {
  grid-row: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  min-height: 54px !important;
  height: 54px !important;
  max-height: 54px !important;
  overflow: hidden !important;
  padding: 2px 4px !important;
  box-sizing: border-box !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .pp-product-rating-count {
  flex: 0 0 13px !important; height: 13px !important; min-height: 13px !important; max-height: 13px !important;
  margin: 0 !important; padding: 0 !important; line-height: 12px !important; font-size: 9px !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-name {
  display: block !important; flex: 0 0 17px !important; width: 100% !important;
  height: 17px !important; min-height: 17px !important; max-height: 17px !important;
  margin: 0 !important; padding: 0 !important; overflow: hidden !important;
  white-space: nowrap !important; text-overflow: ellipsis !important;
  font-size: 10px !important; line-height: 16px !important; font-weight: 700 !important;
}
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-price {
  display: block !important; flex: 0 0 19px !important; height: 19px !important;
  min-height: 19px !important; max-height: 19px !important; margin: 0 !important; padding: 0 !important;
  overflow: hidden !important; white-space: nowrap !important; font-size: 10px !important; line-height: 17px !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image {
  flex: 0 0 135px !important; height: 135px !important; min-height: 135px !important; max-height: 135px !important;
  width: 100% !important; object-fit: contain !important; padding: 1px !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  display: flex !important; flex-direction: column !important; justify-content: flex-start !important;
  flex: 0 0 58px !important; height: 58px !important; min-height: 58px !important; max-height: 58px !important;
  overflow: hidden !important; padding: 6px 4px 1px !important; box-sizing: border-box !important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-name {
  display: block !important; flex: 0 0 17px !important; height: 17px !important; min-height: 17px !important; max-height: 17px !important;
  width: 100% !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important;
  white-space: nowrap !important; text-overflow: ellipsis !important; font-size: 10px !important; line-height: 16px !important;
}

/* ---- pp-product-rating-and-single-price-final-fix-v4 (orig line 18174) ---- */
/* Final targeted fix: normal feed cards show rating; Product View has one price only. */
.main-content #section-home .seller-product > .seller-product-body,
.main-content #section-home .user-product-card > .seller-products-grid > .seller-product > .seller-product-body,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  min-width:0!important;min-height:58px!important;height:58px!important;max-height:58px!important;
  box-sizing:border-box!important;overflow:hidden!important;padding:2px 4px!important;gap:0!important;
}
.main-content #section-home .seller-product > .seller-product-body > .pp-product-rating-count,
.main-content #section-home .user-product-card > .seller-products-grid > .seller-product > .seller-product-body > .pp-product-rating-count,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .pp-product-rating-count {
  display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;
  order:0!important;flex:0 0 13px!important;width:100%!important;height:13px!important;
  min-height:13px!important;max-height:13px!important;margin:0!important;padding:0!important;
  overflow:hidden!important;white-space:nowrap!important;line-height:12px!important;font-size:9px!important;
}
.main-content #section-home .seller-product > .seller-product-body > .product-name,
.main-content #section-home .user-product-card > .seller-products-grid > .seller-product > .seller-product-body > .product-name,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-name {
  display:block!important;visibility:visible!important;opacity:1!important;order:1!important;
  flex:0 0 17px!important;width:100%!important;height:17px!important;min-height:17px!important;max-height:17px!important;
  margin:0!important;padding:0!important;overflow:hidden!important;white-space:nowrap!important;
  text-overflow:ellipsis!important;font-size:10px!important;line-height:16px!important;font-weight:700!important;
}
.main-content #section-home .seller-product > .seller-product-body > .product-price,
.main-content #section-home .user-product-card > .seller-products-grid > .seller-product > .seller-product-body > .product-price,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-price {
  display:block!important;visibility:visible!important;opacity:1!important;order:2!important;
  flex:0 0 23px!important;width:100%!important;height:23px!important;min-height:23px!important;max-height:23px!important;
  margin:0!important;padding:0!important;overflow:hidden!important;white-space:nowrap!important;
  font-size:13px!important;line-height:22px!important;font-weight:900!important;
}
/* Product View already has the actual price + discount together in .product-price; hide the duplicate image badge. */

.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body > .product-price {
  display:block!important;visibility:visible!important;opacity:1!important;
}

/* ---- pp-discount-beside-review-and-remove-lower-duplicate-v1 (orig line 18214) ---- */
/* Put the discount percentage beside the rating/review count, never as a second line under the price. */
.main-content #section-home .seller-product > .seller-product-body > .pp-product-rating-count .feed-product-discount-badge,
.main-content #section-home .seller-product > .seller-product-body > .feed-product-discount-badge,
.main-content .user-product-card .seller-product-body > .feed-product-discount-badge,
.main-content .pp-feed-mini-grid .seller-product-body > .feed-product-discount-badge {
  display:inline-flex!important;position:static!important;inset:auto!important;float:none!important;
  vertical-align:middle!important;flex:0 0 auto!important;width:auto!important;max-width:90px!important;
  height:13px!important;min-height:13px!important;max-height:13px!important;margin:0 0 0 5px!important;
  padding:0 3px!important;border-radius:3px!important;font-size:9px!important;line-height:13px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.main-content #section-home .seller-product > .feed-product-discount-badge,
.main-content .user-product-card > .seller-products-grid > .seller-product > .feed-product-discount-badge,
.main-content .pp-feed-mini-grid > .seller-product > .feed-product-discount-badge {
  display:none!important;
}
/* Prevent an extra lower price label in Product View; the single visible price remains in the card body. */


/* ---- pp-discount-only-next-to-review-red-v2 (orig line 18262) ---- */
/* Discount badge appears only beside the rating/review count and uses red text. */
.main-content #section-home .seller-product > .feed-product-discount-badge,
.main-content .user-product-card > .seller-products-grid > .seller-product > .feed-product-discount-badge,
.main-content .pp-feed-mini-grid > .seller-product > .feed-product-discount-badge,
.main-content #section-home .seller-product > .seller-product-body > .feed-product-discount-badge,
.main-content .user-product-card .seller-product-body > .feed-product-discount-badge,
.main-content .pp-feed-mini-grid .seller-product-body > .feed-product-discount-badge {
  display:none!important;
}
.main-content #section-home .seller-product .pp-product-rating-count > .feed-product-discount-badge,
.main-content .user-product-card .pp-product-rating-count > .feed-product-discount-badge,
.main-content .pp-feed-mini-grid .pp-product-rating-count > .feed-product-discount-badge {
  display:inline-flex!important;position:static!important;inset:auto!important;float:none!important;
  flex:0 0 auto!important;width:auto!important;max-width:90px!important;height:13px!important;
  min-height:13px!important;max-height:13px!important;margin:0 0 0 5px!important;padding:0 3px!important;
  color:#dc2626!important;-webkit-text-fill-color:#dc2626!important;background:#fff1f2!important;
  background-image:none!important;border:0!important;border-radius:3px!important;box-shadow:none!important;
  font-size:9px!important;line-height:13px!important;font-weight:800!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;text-shadow:none!important;
}

/* ---- pp-final-discount-only-review-location-v3 (orig line 18285) ---- */
/* Hard override: hide every discount badge in product cards, then show only the one inside the review/rating row. */
.main-content #section-home .seller-product .feed-product-discount-badge,
.main-content .user-product-card .seller-product .feed-product-discount-badge,
.main-content .pp-feed-mini-grid .seller-product .feed-product-discount-badge {
  display:none!important;
}
.main-content #section-home .seller-product .pp-product-rating-count .feed-product-discount-badge,
.main-content .user-product-card .seller-product .pp-product-rating-count .feed-product-discount-badge,
.main-content .pp-feed-mini-grid .seller-product .pp-product-rating-count .feed-product-discount-badge {
  display:inline-flex!important;
  color:#dc2626!important;-webkit-text-fill-color:#dc2626!important;
  background:#fff1f2!important;background-image:none!important;
}

/* ---- pp-discount-remove-from-price-row-final-v4 (orig line 18301) ---- */
.main-content #section-home .seller-product .feed-product-discount-badge,
.main-content .user-product-card .seller-product .feed-product-discount-badge,
.main-content .pp-feed-mini-grid .seller-product .feed-product-discount-badge { display:none!important; }
.main-content #section-home .seller-product .pp-product-rating-count > .feed-product-discount-badge,
.main-content .user-product-card .seller-product .pp-product-rating-count > .feed-product-discount-badge,
.main-content .pp-feed-mini-grid .seller-product .pp-product-rating-count > .feed-product-discount-badge {
 display:inline-flex!important;position:static!important;inset:auto!important;float:none!important;
 color:#dc2626!important;-webkit-text-fill-color:#dc2626!important;
 background:#fff1f2!important;background-image:none!important;border:0!important;
 box-shadow:none!important;text-shadow:none!important;
}

/* ---- pp-keep-discount-beside-review-final-v6 (orig line 18318) ---- */
.main-content .seller-product .pp-product-rating-count > .feed-product-discount-badge {display:inline-flex!important;position:static!important;inset:auto!important;color:#dc2626!important;-webkit-text-fill-color:#dc2626!important;background:#fff1f2!important;background-image:none!important;}
.main-content .seller-product > .feed-product-discount-badge,.main-content .seller-product .seller-product-body > .feed-product-discount-badge {display:none!important;}

/* ---- pp-discount-review-only-hard-fix-v7 (orig line 18326) ---- */
/* Final rule: discount badge is allowed only inside the review-count row. */
.main-content .seller-product .feed-product-discount-badge { display:none!important; }
.main-content .seller-product .pp-product-rating-count > .feed-product-discount-badge {
  display:inline-flex!important; position:static!important; inset:auto!important;
  color:#dc2626!important; -webkit-text-fill-color:#dc2626!important;
  background:#fff1f2!important; background-image:none!important;
}

/* ---- pp-product-view-text-readable-v1 (orig line 18361) ---- */
/* Product View mode: slightly larger card text without changing layout. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .product-name,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body .product-name {
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .feed-product-discount-badge {
  font-size:12px!important;
  font-weight:900!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .pp-product-rating-count,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .pp-product-rating-count * {
  font-size:12px!important;
  font-weight:800!important;
}

/* ---- pp-product-view-price-font-exact-title-match-v3 (orig line 18382) ---- */
/* Product View: target the actual visible .product-price element, matching the title's 12px font. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-name {
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-price,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-price strong {
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
/* Make the actual price and all nested price text match the title size. */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-price,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .product-price * {
  font-size:12px!important;font-weight:800!important;line-height:1.25!important;
}
/* Any legacy price badge remains hidden; the card body is the single source for price. */


/* ---- pp-normal-mode-user-card-product-text-size-v1 (orig line 18405) ---- */
/* Normal mode only: target product titles in every product grid nested inside a user card. */
.main-content:not(.pp-product-only-mode) #section-home .user-product-card .seller-product .seller-product-body > .product-name {
  font-size:14px!important; font-weight:900!important; line-height:20px!important;
}
.main-content:not(.pp-product-only-mode) #section-home .user-product-card .seller-product .seller-product-body > .product-price,
.main-content:not(.pp-product-only-mode) #section-home .user-product-card .seller-product .seller-product-body > .product-price * {
  font-size:14px!important; font-weight:900!important; line-height:20px!important;
}
.main-content:not(.pp-product-only-mode) #section-home .user-product-card .seller-product .seller-product-body > .pp-product-rating-count,
.main-content:not(.pp-product-only-mode) #section-home .user-product-card .seller-product .seller-product-body > .pp-product-rating-count * {
  font-size:10px!important;
}

/* ---- pp-review-count-visible-top-border-v2 (orig line 18421) ---- */
/* Keep the cream-orange review area but remove the horizontal HR-style divider. */
.main-content #section-home .seller-product > .seller-product-body > .pp-product-rating-count,
.main-content #section-home .user-product-card .seller-product > .seller-product-body > .pp-product-rating-count,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .pp-product-rating-count,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue .seller-product-body > .pp-product-rating-count {
  border-top: 0 !important;
  background-color: #fff7ed !important;
  background-image: none !important;
  box-sizing: border-box !important;
  padding: 2px 3px 1px !important;
  border-radius: 0 0 4px 4px !important;
}

/* ---- pp-review-area-tint-to-card-bottom-v1 (orig line 18436) ---- */
/* Extend the same cream-orange tint through title, price, and review area to the card bottom. */
.main-content #section-home .seller-product > .seller-product-body,
.main-content #section-home .user-product-card .seller-product > .seller-product-body,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body {
  background-color: #fff7ed !important;
  padding-bottom: 0 !important;
}
.main-content #section-home .seller-product > .seller-product-body > .product-name,
.main-content #section-home .seller-product > .seller-product-body > .product-price,
.main-content #section-home .user-product-card .seller-product > .seller-product-body > .product-name,
.main-content #section-home .user-product-card .seller-product > .seller-product-body > .product-price,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-name,
.main-content .pp-feed-mini-grid > .seller-product > .seller-product-body > .product-price,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body > .product-name,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body > .product-price {
  background-color: #fff7ed !important;
  background-image: none !important;
}

/* ---- pp-reels-css-v1 (orig line 18458) ---- */
/* =========================================================
   PickParcelBD – YouTube Play button on product cards + Product Reels
   Appended last so it never edits an existing rule. Buttons inside the Reels layer use the
   #ppReelsUI id selector because an older desktop rule forces width/padding on every <button>.
   ========================================================= */

/* ---- Play button on YouTube product images (a <span role="button">, not a <button>) ---- */
.pp-yt-play{position:absolute;z-index:6;display:flex;align-items:center;justify-content:center;gap:4px;height:28px;min-width:48px;padding:0 10px;box-sizing:border-box;border-radius:9px;background:#ff0000;color:#fff;font:800 11px/1 Arial,sans-serif;letter-spacing:.2px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.38);user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;transform:translate(-50%,-100%);white-space:nowrap}
.pp-yt-play svg{width:14px;height:14px;fill:#fff;flex:0 0 14px;display:block}
.pp-yt-play:hover{background:#d90000}
.pp-yt-play:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 4px #ff0000}
@media(max-width:600px){.pp-yt-play{height:24px;min-width:40px;padding:0 8px;font-size:10px;border-radius:8px}.pp-yt-play svg{width:12px;height:12px;flex-basis:12px}}

/* ---- Footer launcher placement (existing footer rules are untouched) ---- */
.mobile-bottom-footer .pp-footer-reels-button{font-weight:900;color:#dc2626}
.mobile-bottom-footer .pp-footer-reels-button .mobile-bottom-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 2px}
.mobile-bottom-footer .pp-footer-reels-button svg{width:23px;height:23px;stroke-width:2}
/* Regular accounts (Product View present): six equal columns, Reels sits beside the centre. */
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button){grid-template-columns:repeat(6,minmax(0,1fr))!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button)>.mobile-bottom-button:first-child{grid-column:1!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button)>.pickparceldb-button{grid-column:2!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button)>.pp-footer-product-view-button{grid-column:3!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button)>.pp-footer-reels-button{grid-column:4!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button)>.cart-bottom-button{grid-column:5!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button)>.mobile-bottom-button:last-child{grid-column:6!important}
@media(max-width:420px){.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:has(>.pp-footer-product-view-button)>.mobile-bottom-button{font-size:9.5px!important;padding-left:1px!important;padding-right:1px!important}}
/* Accounts without Product View (Rider / Agent): five columns, Reels exactly in the centre. */
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:not(:has(>.pp-footer-product-view-button)){grid-template-columns:repeat(5,minmax(0,1fr))!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:not(:has(>.pp-footer-product-view-button))>.mobile-bottom-button:nth-child(1){grid-column:1!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:not(:has(>.pp-footer-product-view-button))>.mobile-bottom-button:nth-child(2){grid-column:2!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:not(:has(>.pp-footer-product-view-button))>.mobile-bottom-button:nth-child(3){grid-column:4!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:not(:has(>.pp-footer-product-view-button))>.pp-footer-reels-button{grid-column:3!important}
.mobile-bottom-footer.mobile-bottom-footer.mobile-bottom-footer:not(:has(>.pp-footer-product-view-button))>.mobile-bottom-button:last-child{grid-column:5!important}

/* ---- Reels mode of the existing media modal ---- */
body.pp-reels-open #checkoutModal,body.pp-reels-open #cartModal,body.pp-reels-open #productDetailModal{z-index:100050!important}
#pickparcelYoutubeModal #ppReelsUI{display:none}
#pickparcelYoutubeModal.pp-reels-mode{padding:0;background:#000;align-items:stretch;justify-content:stretch}
#pickparcelYoutubeModal.pp-reels-mode .pp-youtube-box{display:none!important}
#pickparcelYoutubeModal.pp-reels-mode #ppReelsUI{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#000;color:#fff;font-family:Arial,"Noto Sans Bengali",sans-serif}
#ppReelsUI *{box-sizing:border-box}
#ppReelsUI svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#ppReelsUI .pp-reels-shell{position:absolute;inset:0;display:flex;justify-content:center;align-items:stretch}
#ppReelsUI .pp-reels-frame{position:relative;width:min(100%,480px);height:100%;background:#000;overflow:hidden}
#ppReelsUI .pp-reels-scroller{position:absolute;inset:0;overflow-y:scroll;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none}
#ppReelsUI .pp-reels-scroller::-webkit-scrollbar{display:none}

/* Buttons: ID selector + !important beats the older global desktop button rule. */
#ppReelsUI button.pp-r-btn{appearance:none;-webkit-appearance:none;border:0!important;margin:0;background:transparent;color:#fff;font-family:inherit;cursor:pointer;width:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;padding:0!important;line-height:1.2!important;font-size:12px!important;flex:0 0 auto!important;-webkit-tap-highlight-color:transparent}
#ppReelsUI button.pp-r-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
#ppReelsUI .pp-reels-topbar{position:absolute;left:0;right:0;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;padding:calc(10px + env(safe-area-inset-top)) 10px 18px;background:linear-gradient(180deg,rgba(0,0,0,.6),rgba(0,0,0,0));pointer-events:none}
#ppReelsUI .pp-reels-topbar>*{pointer-events:auto}
#ppReelsUI .pp-reels-title{font-size:17px;font-weight:900;letter-spacing:.3px;text-shadow:0 1px 4px rgba(0,0,0,.6)}
#ppReelsUI button.pp-r-top-btn{width:40px!important;height:40px!important;border-radius:50%!important;background:rgba(0,0,0,.45)!important;display:flex!important;align-items:center;justify-content:center}
#ppReelsUI button.pp-r-top-btn svg{width:22px;height:22px}

/* One reel */
#ppReelsUI .pp-reel{position:relative;height:100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#000}
#ppReelsUI .pp-reel-poster-bg{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);object-fit:cover;filter:blur(24px) brightness(.6);z-index:0}
#ppReelsUI .pp-reel-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0;transition:opacity .25s ease}
#ppReelsUI .pp-reel.is-playing .pp-reel-poster{opacity:0}
#ppReelsUI .pp-reel-player{position:absolute;inset:0;z-index:1;background:transparent}
#ppReelsUI .pp-reel-player iframe{width:100%;height:100%;border:0;display:block;pointer-events:none}
#ppReelsUI .pp-reel-tap{position:absolute;inset:0;z-index:2;cursor:pointer}
#ppReelsUI .pp-reel-pause-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:78px;height:78px;border-radius:50%;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;z-index:3;pointer-events:none}
#ppReelsUI .pp-reel-pause-icon svg{width:38px;height:38px;fill:#fff;stroke:none;margin-left:4px}
#ppReelsUI .pp-reel.is-paused .pp-reel-pause-icon{display:flex}
#ppReelsUI .pp-reel-heart{position:absolute;left:50%;top:42%;z-index:4;font-size:104px;line-height:1;transform:translate(-50%,-50%) scale(.3);opacity:0;pointer-events:none;color:#ff2d55;filter:drop-shadow(0 4px 12px rgba(0,0,0,.45))}
#ppReelsUI .pp-reel-heart.show{animation:ppReelHeart .75s ease forwards}
@keyframes ppReelHeart{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}60%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-70%) scale(1)}}
#ppReelsUI .pp-reel-error{position:absolute;inset:0;z-index:3;display:none;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;background:rgba(0,0,0,.72);font-size:14px;line-height:1.5}
#ppReelsUI .pp-reel.is-error .pp-reel-error{display:flex}
#ppReelsUI .pp-reel-error a{color:#fff;background:#ff0000;padding:8px 14px;border-radius:999px;font-weight:800;text-decoration:none;font-size:13px}

/* Right action rail */
#ppReelsUI .pp-reel-rail{position:absolute;right:8px;bottom:calc(112px + env(safe-area-inset-bottom));z-index:5;display:flex;flex-direction:column;align-items:center;gap:16px}
#ppReelsUI button.pp-r-act{display:flex!important;flex-direction:column;align-items:center;gap:3px;color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.7)}
#ppReelsUI button.pp-r-act .pp-r-ico{width:46px;height:46px;border-radius:50%;background:rgba(0,0,0,.42);display:flex;align-items:center;justify-content:center;transition:transform .15s ease,background .15s ease}
#ppReelsUI button.pp-r-act:active .pp-r-ico{transform:scale(.88)}
#ppReelsUI button.pp-r-act svg{width:26px;height:26px}
#ppReelsUI button.pp-r-act .pp-r-cnt{font-size:12px;font-weight:800}
#ppReelsUI button.pp-r-act.is-liked .pp-r-ico{background:rgba(255,45,85,.9)}
#ppReelsUI button.pp-r-act.is-liked svg{fill:#fff;stroke:#fff}
#ppReelsUI button.pp-r-act.pp-r-star svg{fill:#fbbf24;stroke:#fbbf24}

/* Bottom info */
#ppReelsUI .pp-reel-info{position:absolute;left:0;right:0;bottom:0;z-index:5;padding:40px 76px calc(14px + env(safe-area-inset-bottom)) 12px;background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.55) 60%,rgba(0,0,0,0) 100%);pointer-events:none;text-shadow:0 1px 3px rgba(0,0,0,.6)}
#ppReelsUI .pp-reel-info button,#ppReelsUI .pp-reel-info a{pointer-events:auto}
#ppReelsUI .pp-reel-seller{display:flex;align-items:center;gap:8px;margin-bottom:6px;min-width:0}
#ppReelsUI .pp-r-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;background:#374151;border:2px solid #fff;flex:0 0 34px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:14px;color:#fff;overflow:hidden}
#ppReelsUI .pp-r-avatar img{width:100%;height:100%;object-fit:cover;display:block}
#ppReelsUI .pp-reel-seller-name{font-weight:900;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#ppReelsUI .pp-reel-seller-meta{font-size:11px;opacity:.85;white-space:nowrap}
#ppReelsUI button.pp-r-follow{border:1.5px solid #fff!important;border-radius:999px!important;padding:4px 12px!important;font-size:12px!important;font-weight:900!important;color:#fff!important;background:transparent!important;white-space:nowrap}
#ppReelsUI button.pp-r-follow.is-following{background:rgba(255,255,255,.22)!important}
#ppReelsUI .pp-reel-name{font-size:15px;font-weight:900;line-height:1.35;margin-bottom:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#ppReelsUI .pp-reel-desc{font-size:12.5px;line-height:1.45;opacity:.92;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#ppReelsUI .pp-reel-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin-bottom:9px;font-size:13px}
#ppReelsUI .pp-reel-price strong{font-size:19px;font-weight:900;color:#fdba74}
#ppReelsUI .pp-reel-price s{opacity:.7}
#ppReelsUI .pp-reel-price em{font-style:normal;font-size:11px;font-weight:900;background:#dc2626;color:#fff;padding:2px 6px;border-radius:5px}
#ppReelsUI button.pp-r-order{display:inline-flex!important;align-items:center;gap:7px;background:#ea580c!important;color:#fff!important;border-radius:999px!important;padding:10px 20px!important;font-size:14px!important;font-weight:900!important;box-shadow:0 4px 14px rgba(234,88,12,.5)}
#ppReelsUI button.pp-r-order svg{width:18px;height:18px}
#ppReelsUI .pp-reel-own{display:inline-block;font-size:12px;font-weight:800;background:rgba(255,255,255,.2);padding:6px 12px;border-radius:999px}

/* State, toast, nav */
#ppReelsUI .pp-reels-state{position:absolute;inset:0;z-index:7;display:none;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:30px;text-align:center;font-size:15px;line-height:1.6;background:#000}
#ppReelsUI .pp-reels-state.show{display:flex}
#ppReelsUI .pp-reels-spinner{width:38px;height:38px;border-radius:50%;border:4px solid rgba(255,255,255,.25);border-top-color:#fff;animation:ppReelSpin .8s linear infinite}
@keyframes ppReelSpin{to{transform:rotate(360deg)}}
#ppReelsUI button.pp-r-retry{background:#ea580c!important;border-radius:999px!important;padding:9px 20px!important;font-size:14px!important;font-weight:800!important}
#ppReelsUI .pp-reels-toast{position:absolute;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:12;max-width:86%;background:rgba(17,24,39,.94);color:#fff;font-size:13px;line-height:1.4;padding:9px 14px;border-radius:12px;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s ease}
#ppReelsUI .pp-reels-toast.show{opacity:1}
#ppReelsUI .pp-reels-nav{display:none}
@media(min-width:900px){
  #ppReelsUI .pp-reels-nav{position:absolute;right:calc(50% - 240px - 70px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:12px;z-index:9}
  #ppReelsUI button.pp-r-nav-btn{width:46px!important;height:46px!important;border-radius:50%!important;background:rgba(255,255,255,.16)!important;display:flex!important;align-items:center;justify-content:center}
  #ppReelsUI button.pp-r-nav-btn:hover{background:rgba(255,255,255,.3)!important}
}

/* Bottom sheet (comments / reviews) */
#ppReelsUI .pp-reels-sheet{position:absolute;left:0;right:0;bottom:0;height:70%;z-index:10;background:#fff;color:#111827;border-radius:18px 18px 0 0;display:flex;flex-direction:column;transform:translateY(103%);transition:transform .25s ease;box-shadow:0 -8px 30px rgba(0,0,0,.4)}
#ppReelsUI .pp-reels-sheet.is-open{transform:none}
#ppReelsUI .pp-reels-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px;border-bottom:1px solid #e5e7eb;font-size:15px}
#ppReelsUI button.pp-r-sheet-close{color:#374151!important;width:34px!important;height:34px!important;display:flex!important;align-items:center;justify-content:center;border-radius:50%!important}
#ppReelsUI button.pp-r-sheet-close svg{width:20px;height:20px}
#ppReelsUI .pp-reels-sheet-body{flex:1 1 auto;overflow-y:auto;padding:10px 14px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
#ppReelsUI .pp-reels-sheet-foot{display:none;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e5e7eb;background:#fff}
#ppReelsUI .pp-reels-sheet.is-comments .pp-reels-sheet-foot{display:flex}
#ppReelsUI .pp-reels-sheet-foot input{flex:1 1 auto;min-width:0;border:1px solid #d1d5db;border-radius:999px;padding:10px 14px;font-size:14px;font-family:inherit;color:#111827;background:#fff;outline:none}
#ppReelsUI .pp-reels-sheet-foot input:focus{border-color:#ea580c}
#ppReelsUI button.pp-r-send{background:#ea580c!important;color:#fff!important;border-radius:999px!important;padding:0 18px!important;font-size:14px!important;font-weight:800!important}
#ppReelsUI button.pp-r-send:disabled{opacity:.55;cursor:default}
#ppReelsUI .pp-rs-empty,#ppReelsUI .pp-rs-loading{text-align:center;color:#6b7280;padding:28px 8px;font-size:14px}
#ppReelsUI .pp-rs-item{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid #f3f4f6}
#ppReelsUI .pp-rs-item:last-child{border-bottom:0}
#ppReelsUI .pp-rs-avatar{width:34px;height:34px;border-radius:50%;background:#e5e7eb;color:#374151;flex:0 0 34px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;overflow:hidden}
#ppReelsUI .pp-rs-avatar img{width:100%;height:100%;object-fit:cover;display:block}
#ppReelsUI .pp-rs-main{min-width:0;flex:1 1 auto}
#ppReelsUI .pp-rs-name{font-size:13px;font-weight:800;color:#111827}
#ppReelsUI .pp-rs-time{font-size:11px;color:#9ca3af;font-weight:400;margin-left:6px}
#ppReelsUI .pp-rs-text{font-size:14px;line-height:1.5;color:#1f2937;word-break:break-word;white-space:pre-wrap;margin-top:2px}
#ppReelsUI .pp-rs-stars{color:#f59e0b;letter-spacing:1px;font-size:14px}
#ppReelsUI .pp-rs-verified{font-size:11px;color:#15803d;font-weight:700;margin-left:6px}
#ppReelsUI .pp-rs-summary{display:flex;align-items:center;gap:8px;padding:6px 0 12px;font-size:14px;border-bottom:1px solid #e5e7eb;margin-bottom:4px}
#ppReelsUI .pp-rs-summary strong{font-size:22px;color:#111827}

/* ---- pp-v2-ui-polish (orig line 18607) ---- */
/* =========================================================
   PickParcelBD UI polish v2 (appended last; only overrides, no existing rule is edited)
   ========================================================= */

/* ---- 1) Sidebar: plain white rows, tight spacing, click feedback ---- */
.sidebar .sidebar-actions{display:flex!important;flex-direction:column!important;gap:0!important;padding-top:2px!important}
.sidebar .sidebar-actions>.sidebar-button,.sidebar .sidebar-actions .sidebar-button,.sidebar a.sidebar-button{
  background:#fff!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#1f2937!important;
  min-height:36px!important;height:auto!important;padding:7px 12px!important;margin:0!important;border-radius:10px!important;
  font-size:13.5px!important;font-weight:700!important;position:relative;overflow:hidden;
  transition:background-color .15s ease,transform .12s ease,box-shadow .15s ease!important;-webkit-tap-highlight-color:transparent}
.sidebar .sidebar-button:hover{background:#fff7ed!important}
.sidebar .sidebar-button:focus-visible{outline:2px solid #fb923c!important;outline-offset:-2px}
.sidebar .sidebar-button:active{background:#ffedd5!important;transform:scale(.97)}
.sidebar .sidebar-button::before{content:"";position:absolute;left:0;top:22%;bottom:22%;width:3px;border-radius:0 3px 3px 0;background:#f97316;opacity:0;transform:scaleY(.2);transition:opacity .18s ease,transform .18s ease}
.sidebar .sidebar-button:active::before,.sidebar .sidebar-button.pp-tap::before{opacity:1;transform:scaleY(1)}
.sidebar .sidebar-button.pp-tap{animation:ppSideTap .42s ease}
@keyframes ppSideTap{0%{background:#fed7aa}100%{background:#fff}}
.sidebar .pp-orders-toggle .pp-orders-chevron{margin-left:auto;flex:none;transition:transform .2s ease}
.sidebar .pp-orders-toggle .sidebar-count{margin-left:auto}
.sidebar .pp-orders-toggle .sidebar-count+.pp-orders-chevron{margin-left:6px}
.sidebar .pp-orders-group.open .pp-orders-chevron{transform:rotate(180deg)}
.sidebar .pp-orders-submenu{display:flex;flex-direction:column;gap:2px;margin:2px 0 2px 14px;padding-left:8px;border-left:2px solid #fed7aa}
.sidebar .pp-orders-submenu[hidden]{display:none}
.sidebar .sidebar-button.pp-orders-sub{min-height:34px!important;font-size:13px!important}
.sidebar .sidebar-button.pp-orders-sub.active{background:#ffedd5!important;color:#c2410c!important}
.sidebar .sidebar-button.pp-agent-subnav{min-height:32px!important;padding-left:26px!important;font-size:12.5px!important}
.sidebar .sidebar-button .notification-badge{margin-left:auto}
@media(prefers-reduced-motion:reduce){.sidebar .sidebar-button,.sidebar .sidebar-button::before{transition:none!important;animation:none!important}}

/* ---- 1b) Sidebar: no cover photo; profile picture sits a little higher ---- */
.sidebar .sidebar-inner{padding-top:8px!important}
.sidebar .sidebar-profile{position:relative;z-index:1;margin-top:-4px}

/* ---- 2) YouTube Play button: smaller, at the very top of the product image ---- */
.pp-yt-play{height:21px!important;min-width:0!important;padding:0 8px 0 6px!important;gap:3px!important;font-size:10px!important;border-radius:7px!important;transform:translate(-50%,0)!important;box-shadow:0 1px 5px rgba(0,0,0,.35)!important}
.pp-yt-play svg{width:11px!important;height:11px!important;flex-basis:11px!important}
@media(max-width:600px){.pp-yt-play{height:19px!important;padding:0 7px 0 5px!important;font-size:9.5px!important}.pp-yt-play svg{width:10px!important;height:10px!important;flex-basis:10px!important}}

/* ---- 3) Product View: no dead space, light-orange frames, images fill their tile ---- */
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue{
  grid-template-columns:repeat(auto-fill,minmax(min(100%,172px),1fr))!important;grid-auto-rows:auto!important;
  gap:6px!important;column-gap:6px!important;row-gap:6px!important;padding:2px 0 6px!important;margin:0 0 4px!important;align-items:stretch!important}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product.pp-feed-single-product,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product.pp-feed-mini-grid-single-product{
  height:auto!important;min-height:0!important;max-height:none!important;
  border:1.5px solid #fdba74!important;border-radius:12px!important;background:#fff7ed!important;box-shadow:0 1px 4px rgba(249,115,22,.14)!important;
  transition:box-shadow .15s ease,border-color .15s ease}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product:hover{border-color:#fb923c!important;box-shadow:0 3px 10px rgba(249,115,22,.26)!important}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-image,
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .product-no-image{
  flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1/1!important;
  object-fit:cover!important;padding:0!important;margin:0!important;border-radius:0!important}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product > .seller-product-body{padding:4px 6px 6px!important;gap:2px!important;flex:1 1 auto!important}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product .product-name{min-height:0!important;max-height:2.45em!important}
.main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue > .seller-product .main-product-order-actions{margin-top:2px!important}
.main-content.pp-product-only-mode #section-home{padding-top:4px!important}
@media(min-width:751px){
  body .main-content.pp-product-only-mode:not(.public-browse-main) .content-container{width:min(1040px,calc(100vw - 285px - 40px))!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
}
@media(max-width:600px){
  .main-content.pp-product-only-mode #section-home .pp-mixed-product-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
  .main-content.pp-product-only-mode .content-container{padding-left:6px!important;padding-right:6px!important}
}

/* ---- 4) Desktop: footer stays inside the main-content column ---- */
@media(min-width:751px){
  nav.mobile-bottom-footer{left:var(--pp-cc-left,50%)!important;right:auto!important;width:var(--pp-cc-w,min(820px,calc(100vw - 40px)))!important;max-width:none!important;transform:var(--pp-cc-tf,translateX(-50%))!important;border-radius:14px 14px 0 0!important;box-sizing:border-box!important;border-left:1px solid #f0ddd2;border-right:1px solid #f0ddd2}
}

/* ---- 5) Header Message icon + footer Profile button ---- */
.header-right .pp-header-message-button{position:relative}
.header-right .pp-header-message-button .notification-badge{position:absolute;top:-4px;right:-4px}
@media (max-width:600px){
  .top-header .header-inner:has(.pp-header-message-button){gap:6px!important;padding-left:6px!important;padding-right:8px!important;min-width:0!important}
  .top-header .header-inner:has(.pp-header-message-button)>.brand{flex:0 1 auto!important;min-width:0!important;max-width:44vw!important;overflow:hidden!important}
  .top-header .header-inner:has(.pp-header-message-button)>.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(.pp-header-message-button) .header-right{flex:0 0 auto!important;min-width:max-content!important;gap:5px!important}
  .top-header .header-inner:has(.pp-header-message-button) .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(.pp-header-message-button) .header-right>.header-icon>svg{width:16px!important;height:16px!important}
}
.mobile-bottom-footer .pp-footer-profile-button .mobile-bottom-icon{display:flex!important;align-items:center;justify-content:center;margin:0 auto 2px!important}
.mobile-bottom-footer .pp-footer-profile-button .pp-footer-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;display:block;border:1.5px solid #fdba74;background:#fff7ed;flex:0 0 24px}
.mobile-bottom-footer .pp-footer-profile-button .pp-footer-avatar-letter{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fed7aa;color:#9a3412;font-weight:900;font-size:12px}

/* ---- 6) Notification banner (right under the header) ---- */
.pp-notif-banner{position:fixed;left:50%;top:var(--pp-header-h,60px);z-index:99990;width:min(560px,calc(100vw - 16px));transform:translate(-50%,-14px);opacity:0;pointer-events:none;transition:transform .22s ease,opacity .22s ease;display:flex;align-items:stretch;background:#fff;border:1px solid #fed7aa;border-left:4px solid #f97316;border-radius:0 0 12px 12px;box-shadow:0 8px 24px rgba(124,45,18,.2);overflow:hidden}
.pp-notif-banner[hidden]{display:none!important}
.pp-notif-banner.is-on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.pp-notif-banner .pp-nb-main{all:unset;box-sizing:border-box;flex:1 1 auto;min-width:0;display:flex;align-items:flex-start;gap:9px;padding:9px 6px 9px 11px;cursor:pointer}
.pp-notif-banner .pp-nb-ico{flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#fff7ed;color:#ea580c;display:flex;align-items:center;justify-content:center}
.pp-notif-banner .pp-nb-ico svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pp-notif-banner .pp-nb-text{min-width:0;font-size:13px;line-height:1.38;color:#1f2937;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-family:inherit}
.pp-notif-banner .pp-nb-close{all:unset;box-sizing:border-box;flex:0 0 36px;display:flex;align-items:flex-start;justify-content:center;padding-top:8px;font-size:20px;line-height:1;color:#6b7280;cursor:pointer}
.pp-notif-banner .pp-nb-close:hover{color:#111827}
.pp-notif-banner .pp-nb-bar{position:absolute;left:0;right:0;bottom:0;height:2px;background:#fdba74;transform-origin:left;transform:scaleX(1)}
.pp-notif-banner.is-on .pp-nb-bar{animation:ppNbBar 3s linear forwards}
@keyframes ppNbBar{to{transform:scaleX(0)}}

/* ---- 7) Advanced compact product filter ---- */
.pp-product-filter-layout.pp-pf-layout{display:block!important;margin:2px 0 8px!important}
.pp-pf{position:relative;display:block;background:linear-gradient(180deg,#fff,#fffaf5);border:1px solid #fed7aa;border-radius:14px;box-shadow:0 2px 8px rgba(249,115,22,.08);padding:6px}
.pp-pf-scroll{display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.pp-pf-scroll::-webkit-scrollbar{display:none}
.pp-pf-lead{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;padding:0 9px 0 7px;height:32px;border-radius:10px;background:#f97316;color:#fff;font-size:12px;font-weight:800;white-space:nowrap}
.pp-pf-lead svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pp-pf-lead i{font-style:normal;min-width:17px;height:17px;border-radius:9px;background:#fff;color:#ea580c;font-size:10.5px;line-height:17px;text-align:center;padding:0 4px;box-sizing:border-box}
.pp-pf-chip{flex:0 0 auto;position:relative;display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 24px 0 9px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#374151;transition:border-color .15s,background .15s,box-shadow .15s;cursor:pointer;box-sizing:border-box}
.pp-pf-chip:hover{border-color:#fdba74;background:#fffaf5}
.pp-pf-chip:focus-within{border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.18)}
.pp-pf-chip.is-active{border-color:#f97316;background:#fff1e6;color:#9a3412;font-weight:800}
.pp-pf-chip>svg{width:14px;height:14px;flex:0 0 14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.pp-pf-chip::after{content:"";position:absolute;right:10px;top:50%;width:5px;height:5px;margin-top:-4px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);opacity:.6;pointer-events:none}
.pp-pf-chip select{appearance:none;-webkit-appearance:none;border:0!important;background:transparent!important;box-shadow:none!important;outline:none;font:inherit;font-size:12.5px!important;color:inherit!important;padding:0!important;margin:0!important;height:30px!important;min-height:0!important;width:auto!important;max-width:132px!important;min-width:0!important;cursor:pointer;text-overflow:ellipsis}
.pp-pf-reset{flex:0 0 auto;display:inline-flex;align-items:center;height:32px;padding:0 10px;border-radius:999px;background:#fee2e2;color:#b91c1c!important;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.pp-pf-reset:hover{background:#fecaca}
.pp-offer-btn{flex:0 0 auto;display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;background:linear-gradient(135deg,#ef4444,#f97316);color:#fff!important;font-size:12.5px;font-weight:800;text-decoration:none!important;white-space:nowrap;box-shadow:0 2px 6px rgba(239,68,68,.28)}
.pp-offer-btn.is-active{background:#fff1e6;color:#c2410c!important;box-shadow:0 0 0 2px #f97316 inset}
.pp-offer-wrap{margin:8px 0}
.pp-offer-btn{gap:5px}
.pp-offer-btn svg,.pp-ownphone-title svg,.pp-ownphone-note svg{width:15px;height:15px;flex:0 0 15px;vertical-align:-3px}
.pp-ownphone-main strong{color:#1f2937}
.pp-ownphone-title{display:flex;align-items:center;gap:6px}
.pp-stat-link{cursor:pointer;border-radius:8px;padding:2px 4px;margin:-2px -4px}
.pp-stat-link:hover{background:rgba(249,115,22,.12)}
.pp-intro-list-head{display:flex;align-items:center;gap:8px;padding:12px 0 8px;font-size:14px}
.pp-intro-back{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:50%;background:#f1f5f9;color:#334155;cursor:pointer}
.pp-intro-list-body{display:flex;flex-direction:column;gap:8px;padding-bottom:10px}
.pp-intro-item{display:flex;align-items:flex-start;gap:10px;padding:9px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#111827;text-decoration:none}
.pp-intro-av{width:42px;height:42px;flex:0 0 42px;border-radius:50%;object-fit:cover;background:#ffedd5;display:flex;align-items:center;justify-content:center;color:#c2410c}
.pp-intro-info{min-width:0;display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere}
.pp-intro-info small{font-size:11px;color:#64748b}
.pp-intro-text{font-size:13px;color:#374151;line-height:1.5}
.pp-intro-empty{padding:18px 8px;text-align:center;font-size:13px;color:#64748b}
html.pp-dark .pp-ownphone{background:#2b2a27!important;border-color:#5a4330!important}
html.pp-dark .pp-ownphone-title{color:#fdba74!important}
html.pp-dark .pp-ownphone-row{border-color:#3f3b34!important}
html.pp-dark .pp-ownphone-main strong{color:#f1efe6!important}
html.pp-dark .pp-ownphone-main span{color:#b7b3a6!important}
html.pp-dark .pp-ownphone-note{color:#b7b3a6!important}
html.pp-dark .pp-ownphone-note strong{color:#f1efe6!important}
html.pp-dark .pp-sw i{background:#57544c}
html.pp-dark .pp-sw input:checked+i{background:#16a34a}
html.pp-dark .pp-offer-btn.is-active{background:#3a2a1c!important;color:#fdba74!important}
html.pp-dark .pp-intro-back{background:#3a3935!important;color:#e8e6dc!important}
html.pp-dark .pp-intro-item{background:#2b2a27!important;border-color:#3f3b34!important;color:#e8e6dc!important}
html.pp-dark .pp-intro-info strong{color:#f1efe6!important}
html.pp-dark .pp-intro-info small,html.pp-dark .pp-intro-empty{color:#b7b3a6!important}
html.pp-dark .pp-intro-text{color:#d6d3c8!important}
html.pp-dark .pp-intro-av{background:#3a2a1c!important;color:#fdba74!important}
.pp-wallet-open{display:block;width:100%;margin-top:8px;padding:8px 10px;border:0;border-radius:10px;background:#f97316;color:#fff;font-size:13px;font-weight:800;cursor:pointer;font-family:inherit}
.pp-wallet-open:active{transform:scale(.98)}
.pp-ownphone{margin:2px 0 8px;padding:10px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed}
.pp-ownphone-title{font-size:12px;font-weight:800;color:#9a3412;margin-bottom:8px}
.pp-ownphone-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #fde2cf}
.pp-ownphone-row:first-of-type{border-top:0}
.pp-ownphone-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;font-size:13px;overflow-wrap:anywhere}
.pp-ownphone-main span{font-size:12px;color:#64748b}
.pp-ownphone-alt{display:flex;gap:6px;align-items:center}
.pp-ownphone-alt input{flex:1;min-width:0;height:34px;font-size:12px}
.pp-ownphone-note{margin-top:6px;font-size:10.5px;color:#64748b;line-height:1.5}
.pp-sw{position:relative;flex:0 0 auto;width:44px;height:24px;display:inline-block;cursor:pointer}
.pp-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:2}
.pp-sw i{position:absolute;inset:0;border-radius:99px;background:#cbd5e1;transition:background .2s}
.pp-sw i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.pp-sw input:checked+i{background:#16a34a}
.pp-sw input:checked+i::after{transform:translateX(20px)}
.pp-sw input:disabled+i{opacity:.55}
@media(min-width:751px){.pp-pf-scroll{flex-wrap:wrap;overflow:visible}.pp-pf-chip select{max-width:170px!important}}

/* ---- pp-reels-css-v2 (orig line 18780) ---- */
/* ---- Reels v2: filters, seek bar, see-more, details, overlay cropping ---- */
#ppReelsUI .pp-reels-filters{position:absolute;left:0;right:0;top:calc(56px + env(safe-area-inset-top));z-index:6;display:flex;flex-direction:column;gap:5px;padding:2px 0 14px;background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,0));pointer-events:none}
#ppReelsUI .pp-rf-row{position:relative;display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding:0 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x;pointer-events:auto;cursor:grab}
#ppReelsUI .pp-rf-row::-webkit-scrollbar{display:none}
#ppReelsUI .pp-rf-row.is-drag{cursor:grabbing;user-select:none}
#ppReelsUI .pp-rf-row:empty{display:none}
#ppReelsUI button.pp-r-chip{flex:0 0 auto;display:inline-flex!important;align-items:center;gap:4px;height:28px!important;padding:0 12px!important;border-radius:999px!important;background:rgba(0,0,0,.52)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;font-size:12px!important;font-weight:700!important;white-space:nowrap;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#ppReelsUI button.pp-r-chip small{font-size:10px;opacity:.75;font-weight:700}
#ppReelsUI button.pp-r-chip.is-active{background:#ea580c!important;border-color:#fdba74!important}
#ppReelsUI .pp-rf-row.pp-rf-loc button.pp-r-chip{background:rgba(30,41,59,.6)!important}
#ppReelsUI .pp-rf-row.pp-rf-loc button.pp-r-chip.is-active{background:#2563eb!important;border-color:#bfdbfe!important}
#ppReelsUI .pp-reel-player{overflow:hidden}
#ppReelsUI .pp-reel-player iframe{position:absolute;left:0;top:-56px;width:100%;height:calc(100% + 112px)}
#ppReelsUI .pp-reel.is-short .pp-reel-player iframe{left:-56px;top:0;width:calc(100% + 112px);height:100%}
#ppReelsUI .pp-reel-rail{bottom:calc(150px + env(safe-area-inset-bottom));z-index:7}
#ppReelsUI .pp-reel-info{padding-bottom:calc(34px + env(safe-area-inset-bottom))}
#ppReelsUI .pp-reel-seller-link{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto;cursor:pointer;pointer-events:auto}
#ppReelsUI .pp-reel-seller-link .pp-reel-seller-name{text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:2px}
#ppReelsUI .pp-reel-text{pointer-events:none}
#ppReelsUI .pp-reel-info.is-expanded .pp-reel-text{pointer-events:auto;max-height:36vh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-right:4px}
#ppReelsUI .pp-reel-info.is-expanded .pp-reel-name,#ppReelsUI .pp-reel-info.is-expanded .pp-reel-desc{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere}
#ppReelsUI .pp-reel-info.is-expanded{background:linear-gradient(0deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.8) 75%,rgba(0,0,0,0) 100%)}
#ppReelsUI button.pp-r-more{color:#fdba74!important;font-weight:800!important;font-size:12px!important;margin:0 0 6px!important;padding:2px 0!important;text-shadow:0 1px 3px rgba(0,0,0,.7)}
#ppReelsUI button.pp-r-more[hidden]{display:none!important}
#ppReelsUI .pp-reel-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#ppReelsUI button.pp-r-details{display:inline-flex!important;align-items:center;gap:6px;background:rgba(255,255,255,.18)!important;border:1.5px solid rgba(255,255,255,.7)!important;color:#fff!important;border-radius:999px!important;padding:8px 15px!important;font-size:13px!important;font-weight:800!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#ppReelsUI button.pp-r-details svg{width:16px;height:16px}
#ppReelsUI .pp-reel-seek{position:absolute;left:12px;right:12px;bottom:calc(7px + env(safe-area-inset-bottom));z-index:6;display:flex;align-items:center;gap:8px;font-size:10.5px;font-weight:700;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7);pointer-events:auto}
#ppReelsUI .pp-reel-seek span{flex:0 0 auto;min-width:28px;font-variant-numeric:tabular-nums}
#ppReelsUI .pp-reel-seek span:last-child{text-align:right}
#ppReelsUI input.pp-reel-seek-range{--p:0%;-webkit-appearance:none!important;appearance:none!important;flex:1 1 auto;width:auto!important;min-width:0;height:22px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;outline:none;cursor:pointer;touch-action:none}
#ppReelsUI input.pp-reel-seek-range::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:linear-gradient(90deg,#fb923c var(--p),rgba(255,255,255,.35) var(--p))}
#ppReelsUI input.pp-reel-seek-range::-moz-range-track{height:4px;border-radius:3px;background:rgba(255,255,255,.35)}
#ppReelsUI input.pp-reel-seek-range::-moz-range-progress{height:4px;border-radius:3px;background:#fb923c}
#ppReelsUI input.pp-reel-seek-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:13px;height:13px;margin-top:-4.5px;border-radius:50%;background:#fff;border:0;box-shadow:0 0 0 3px rgba(251,146,60,.45)}
#ppReelsUI input.pp-reel-seek-range::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:#fff;border:0;box-shadow:0 0 0 3px rgba(251,146,60,.45)}
#ppReelsUI input.pp-reel-seek-range:disabled{opacity:.5;cursor:default}
#ppReelsUI .pp-reels-toast{bottom:calc(120px + env(safe-area-inset-bottom))}

