/* Alagheza Global Styles — rebuilt from: marketplace main page v7 */
/* RTL overrides — auto-applied via body.rtl class */
.rtl .breadcrumb .sep,
.rtl .crumbs .sep,
.rtl .listing-crumbs .sep { transform: scaleX(-1); display:inline-block }
.rtl .stat { border-left:0; border-right:1px solid var(--line) }
.rtl .stat:last-child { border-right:0 }
.rtl .rating-num { margin-left:0; margin-right:5px }
.rtl .nav { flex-direction:row-reverse }
.rtl .search input { direction:rtl }
.rtl .hero-art .tv,
.rtl .hero-art .fridge,
.rtl .hero-art .washer,
.rtl .hero-art .ac { right:auto !important }
.rtl .hero-art .coffee { left:auto !important; right:0 }
.rtl .product .stars .lead { margin-left:4px }
.rtl .al-score-inner { direction:ltr } /* keep score numbers LTR */
.rtl .price { direction:ltr; text-align:right }

:root{
      --blue:#2E3192;--blue2:#0B2E83;--red:#D6083B;--green:#0E9F43;--gold:#F6B51E;
      --bg:#F6F8FC;--card:#fff;--text:#101828;--muted:#667085;--line:#E4E9F2;--soft:#F2F5FB;
      --radius:18px;--shadow:0 8px 22px rgba(16,24,40,.06);
    }
    *{box-sizing:border-box} html{scroll-behavior:smooth}
    body{margin:0;background:var(--bg);color:var(--text);font-family:"Tajawal",Arial,sans-serif;line-height:1.55}
    a{text-decoration:none;color:inherit} img{max-width:100%;display:block}
    .page{max-width:1920px;margin:auto}
    .topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;padding:0 28px;position:sticky;top:0;z-index:50}
    .logo{width:205px;min-width:205px}.logo img{width:100%;height:auto}
    .nav{display:flex;gap:24px;align-items:center;white-space:nowrap;font-weight:700;color:#13245a}.nav a.active{color:var(--green)}
    .search{flex:1;max-width:560px;margin-inline:auto;display:flex;height:44px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
    .search input{flex:1;border:0;padding:0 18px;font:inherit;outline:none}.search button{width:56px;border:0;background:var(--blue2);color:#fff;font-size:20px}
    .actions{display:flex;align-items:center;gap:14px}.icon{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;background:#fff}.add-btn{background:var(--blue2);color:#fff;border:0;border-radius:12px;padding:12px 18px;font-weight:800;font-family:inherit}
    .mobile-menu{display:none}

    .breadcrumbs{max-width:1560px;margin:16px auto 8px;padding:0 18px;color:#506080;font-size:14px}.breadcrumbs a{color:#1D3E8A;font-weight:700}
    .layout{max-width:1560px;margin:auto;padding:0 18px 40px;display:grid;grid-template-columns:280px minmax(0,1fr) 330px;gap:18px;align-items:start}
    .card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
    .pad{padding:20px}.sidebar{position:sticky;top:88px;display:flex;flex-direction:column;gap:14px}.side-title{margin:0 0 14px;font-size:20px;color:var(--blue2)}
    .toc a{display:flex;justify-content:space-between;align-items:center;padding:9px 0;color:#28376b;font-weight:700;border-bottom:1px solid #EEF2F7}.toc a:last-child{border-bottom:0}
    .score-ring{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;margin:auto;background:conic-gradient(var(--green) 0 82%,#E8EEF7 0)}
    .score-inner{background:#fff;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;text-align:center;font-weight:900}.score-inner strong{font-size:32px;color:#121212}.stars{color:var(--gold);letter-spacing:2px;font-size:20px}.stars.red{color:var(--red)}
    .metric{display:block;margin:10px 0;font-weight:700}.bar{grid-column:1/-1;height:8px;background:#E9EDF4;border-radius:20px;overflow:hidden}.bar span{display:block;height:100%;background:var(--green);border-radius:20px}.btn{cursor:pointer}.primary{background:var(--blue2);color:#fff;border:0;border-radius:10px;padding:13px 18px;font-weight:800;font-family:inherit}.secondary{background:#fff;color:var(--blue2);border:1px solid #B8C5DD;border-radius:10px;padding:11px 18px;font-weight:800;font-family:inherit}.success{background:var(--green);color:#fff;border:0;border-radius:10px;padding:13px 18px;font-weight:800;font-family:inherit}.danger{background:var(--red);color:#fff;border:0;border-radius:10px;padding:13px 18px;font-weight:800;font-family:inherit}

    .product-hero{padding:18px;display:grid;grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:28px;align-items:start;overflow:hidden}
    .gallery{min-width:0}.main-img{height:300px;background:linear-gradient(180deg,#fff,#F4F6FA);border:1px solid var(--line);border-radius:16px;display:grid;place-items:center;padding:16px;position:relative;overflow:hidden}.badge{position:absolute;top:14px;right:14px;background:var(--green);color:#fff;border-radius:9px;padding:6px 12px;font-weight:800;font-size:13px}.main-img img{max-height:260px;object-fit:contain;margin:auto}.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.thumb{height:68px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;place-items:center;padding:5px}.thumb.more{background:var(--blue2);color:#fff;font-weight:900;font-size:15px}
    .product-info{min-width:0}.product-info h1{font-size:34px;line-height:1.25;margin:6px 0 12px;color:#050A21;overflow-wrap:anywhere}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.chip{border:1px solid #CBD5E1;background:#F8FAFC;border-radius:999px;padding:7px 12px;color:#17346B;font-weight:700;font-size:14px}.rating-line{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:12px 0}.recommend{color:var(--green);font-weight:900}.reviewer{display:flex;align-items:center;gap:12px;margin:16px 0;color:#344054}.avatar{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#d9e7ff,#fff);display:grid;place-items:center;font-size:28px;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.hero-actions .btn{min-width:130px;text-align:center;display:inline-flex;align-items:center;justify-content:center}.gallery-actions{margin-top:14px;padding-top:12px;border-top:1px solid #EEF2F7;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.gallery-actions .btn{min-width:0;width:100%;padding-inline:10px;white-space:nowrap}.clickable-card{cursor:pointer;transition:.18s ease}.clickable-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(16,24,40,.09);border-color:#C8D6EA}.more-products-btn{display:flex;justify-content:center;margin-top:14px}.footer{margin-top:24px;background:#fff;border-top:1px solid var(--line)}.footer-inner{max-width:1560px;margin:auto;padding:28px 18px;display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:22px}.footer-logo{width:180px;margin-bottom:12px}.footer h3{margin:0 0 12px;color:var(--blue2);font-size:18px}.footer p,.footer a{color:#475467;font-weight:600;font-size:14px}.footer a{display:block;margin:8px 0}.footer-bottom{border-top:1px solid #EEF2F7;padding:14px 18px;text-align:center;color:#667085;font-weight:700}

/* Single review: gallery actions always 3 columns (3 buttons) on all screens */
.gallery-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* User review star picker */
.ur-stars{display:inline-flex;gap:4px}
.ur-star{background:none;border:0;font-size:26px;line-height:1;color:#d1d5db;cursor:pointer;padding:0;transition:color .15s}
.ur-star.on{color:#ffad00}
.ur-star:hover{color:#f6b51e}.feature-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-top:4px}.feature{background:#fff;padding:13px 10px;text-align:center;min-height:78px}.feature small{display:block;color:var(--muted);font-weight:700}.feature strong{display:block;color:var(--blue2);font-size:15px;margin-top:3px}

    .section{margin-top:16px}.section h2{margin:0 0 14px;color:var(--blue2);font-size:25px}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.review-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #EEF2F7;padding:12px 0}.review-item:nth-last-child(-n+2){border-bottom:0}.review-icon{width:42px;height:42px;border-radius:50%;background:#EAF2FF;display:grid;place-items:center;color:var(--blue2);font-weight:900}.pros-cons-summary{display:grid;grid-template-columns:1fr;gap:14px}.list{margin:0;padding:0;list-style:none}.list li{margin:8px 0;padding-inline-start:26px;position:relative}.list li:before{content:"✓";position:absolute;inset-inline-start:0;color:var(--green);font-weight:900}.cons li:before{content:"×";color:var(--red)}.summary-box{background:#F5FBF6;border-color:#CFEFD8}.summary-rating{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.summary-rating strong{font-size:38px}
    .compare-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mini-product{border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff;display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center}.mini-product img{height:70px;object-fit:contain}.mini-product h3{font-size:14px;margin:0 0 4px}.price{color:var(--green);font-weight:900}.add-compare{border:2px dashed #BDD0EE;display:grid;place-items:center;text-align:center;color:var(--blue2);font-weight:900;min-height:120px;border-radius:14px}

    .right-card h2{margin:0;color:var(--blue2);font-size:21px}.ratings-bars{margin-top:10px}.rbar{display:grid;grid-template-columns:36px 1fr 64px;gap:10px;align-items:center;margin:9px 0}.rbar-track{height:8px;background:#E9EDF4;border-radius:10px;overflow:hidden}.rbar-track span{display:block;height:100%;background:var(--green)}.used-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.used-card{border:1px solid var(--line);border-radius:12px;padding:8px;text-align:center;position:relative}.used-card img{height:80px;margin:auto;object-fit:contain}.heart{position:absolute;top:8px;left:8px;color:var(--red)}.comment-box textarea{width:100%;min-height:92px;border:1px solid var(--line);border-radius:12px;padding:12px;font-family:inherit;resize:vertical}.comment{border-top:1px solid #EEF2F7;padding:14px 0}.comment-head{display:flex;gap:10px;align-items:center;margin-bottom:6px}.comment .avatar{width:38px;height:38px;font-size:18px}.desktop-only{display:block}.mobile-only{display:none}
    .sticky-mobile{display:none}

    .toc-group{border-bottom:1px solid #EEF2F7;padding:4px 0}.toc-group:last-child{border-bottom:0}
    .toc-main{display:flex;justify-content:space-between;align-items:center;padding:9px 0;color:#13245a;font-weight:900}.toc-main .arr{color:var(--blue2);font-size:15px}
    .toc-sub{display:grid;gap:7px;padding:2px 14px 9px 0}.toc-sub a{border:0;padding:0;color:#46587d;font-size:14px;font-weight:700;justify-content:flex-start;gap:8px}.toc-sub a:before{content:"•";color:var(--blue2)}
    .long-copy{position:relative}.long-copy p{margin:0;color:#344054;font-weight:500}.long-copy.collapsed{max-height:104px;overflow:hidden}.long-copy.collapsed:after{content:"";position:absolute;left:0;right:0;bottom:0;height:44px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}
    .read-more{margin-top:14px;background:#fff;border:1px solid #B8C5DD;color:var(--blue2);border-radius:10px;padding:10px 16px;font-family:inherit;font-weight:900;cursor:pointer}
    .faq-list{display:grid;gap:10px}.faq-item{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.faq-q{width:100%;border:0;background:#F8FAFC;padding:14px 16px;text-align:right;font-family:inherit;font-weight:900;color:#13245a;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.faq-q span{color:var(--blue2)}.faq-a{display:none;padding:14px 16px;color:#344054;border-top:1px solid #EEF2F7}.faq-item.open .faq-a{display:block}.faq-item.open .faq-q span{transform:rotate(180deg)}
    .used-card .price,.mini-product .price{font-size:16px;margin-top:3px;display:inline-block}.product-market-price{display:inline-flex;align-items:center;gap:8px;background:#F3FBF5;border:1px solid #CFEFD8;color:var(--green);font-weight:900;border-radius:12px;padding:9px 13px;margin-top:8px}
    .mobile-summary-box{display:none;grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
    .mobile-summary-after-pros{display:none}
    .mobile-summary-top{display:flex;align-items:center;gap:14px;margin-bottom:12px}.mobile-summary-top .score-ring{width:92px;height:92px;margin:0}.mobile-summary-top .score-inner{width:74px;height:74px}.mobile-summary-top .score-inner strong{font-size:25px}.mobile-summary-title h2{margin:0;color:var(--blue2);font-size:20px}.mobile-summary-title p{margin:4px 0 0;color:var(--muted);font-weight:700;font-size:13px}.mobile-summary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.mobile-summary-actions .btn{width:100%;text-align:center;padding:10px 12px;font-size:13px}

    @media (max-width:1280px){
      .layout{grid-template-columns:240px minmax(0,1fr);}.right-col{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.right-col .card{height:auto}.sidebar{top:84px}.product-hero{grid-template-columns:360px 1fr}.feature-strip{grid-template-columns:repeat(3,1fr)}
    }
    @media (max-width:980px){
      .footer-inner{grid-template-columns:1fr 1fr}.gallery-actions{border-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{height:auto;flex-wrap:wrap;padding:12px 16px;gap:12px}.logo{order:1;width:160px;min-width:160px}.mobile-menu{display:grid;order:2}.actions{order:3;margin-inline-start:auto}.search{order:4;flex-basis:100%;max-width:none}.nav{display:none}.layout{display:block;padding:0 12px 112px}.sidebar{position:static;display:none}.right-col{display:block}.right-col .card{margin-top:14px}.product-hero{grid-template-columns:1fr;padding:14px;gap:14px}.product-info h1{font-size:26px}.main-img{height:280px}.hero-actions .btn{flex:1;min-width:145px}.mobile-summary-box{display:block}.mobile-summary-after-pros{display:none}.feature-strip{grid-template-columns:repeat(2,1fr)}.review-grid{grid-template-columns:1fr}.review-item:nth-last-child(-n+2){border-bottom:1px solid #EEF2F7}.pros-cons-summary{grid-template-columns:1fr}.compare-row{grid-template-columns:1fr 1fr}.used-list{grid-template-columns:1fr 1fr 1fr}.desktop-only{display:none}.mobile-only{display:block}.sticky-mobile{display:block;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:9px 12px 10px;z-index:60;box-shadow:0 -8px 18px rgba(16,24,40,.08)}
      .mobile-index{border-top-left-radius:18px;border-top-right-radius:18px}
      .sticky-index-head{font-weight:900;color:var(--blue2);font-size:14px;margin-bottom:7px;display:flex;align-items:center;gap:6px}
      .sticky-index-head:before{content:"☰";width:24px;height:24px;border-radius:8px;background:#EEF4FF;color:var(--blue2);display:grid;place-items:center;font-size:13px}
      .sticky-index-links{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:1px;-webkit-overflow-scrolling:touch}
      .sticky-index-links::-webkit-scrollbar{display:none}
      .sticky-index-links a{flex:0 0 auto;border:1px solid #D7E0EF;background:#F8FAFC;color:#17346B;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:900;white-space:nowrap;line-height:1}}
    @media (max-width:560px){
      .footer-inner{grid-template-columns:1fr}.footer-logo{margin:auto auto 12px}.footer{text-align:center}.actions .icon:nth-child(n+2),.actions .add-btn{display:none}.logo{width:135px;min-width:135px}.product-info h1{font-size:23px}.main-img{height:240px}.thumbs{grid-template-columns:repeat(4,1fr)}.thumb{height:58px}.feature-strip{grid-template-columns:repeat(2,1fr)}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-actions .success{grid-column:1/-1}.gallery-actions{grid-template-columns:1fr 1fr}.gallery-actions .success{grid-column:auto}.compare-row,.used-list{grid-template-columns:1fr}.mini-product{grid-template-columns:84px 1fr}.card.pad{padding:16px}.rbar{grid-template-columns:34px 1fr 54px}.product-hero{border-radius:0;border-inline:0}.section h2{font-size:22px}.feature{min-height:74px;padding:11px 8px}.feature strong{font-size:14px}.feature small{font-size:12px}}

    /* V9 Mobile-only refinements: centered logo header + compact footer. Desktop remains unchanged. */
    @media (max-width:900px){
      .topbar{
        display:grid!important;
        grid-template-columns:44px minmax(110px,1fr) auto;
        grid-template-areas:"menu logo actions" "search search search";
        height:auto!important;
        padding:10px 12px 12px!important;
        gap:10px 8px!important;
        align-items:center!important;
      }
      .mobile-menu{
        grid-area:menu!important;
        display:grid!important;
        order:unset!important;
        width:38px!important;
        height:38px!important;
        border-radius:12px!important;
        font-size:20px!important;
        justify-self:start!important;
      }
      .logo{
        grid-area:logo!important;
        order:unset!important;
        justify-self:center!important;
        width:150px!important;
        min-width:150px!important;
        margin:0!important;
      }
      .actions{
        grid-area:actions!important;
        order:unset!important;
        margin:0!important;
        justify-self:end!important;
        display:flex!important;
        align-items:center!important;
        gap:6px!important;
      }
      .actions .add-btn{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        height:36px!important;
        padding:0 9px!important;
        border-radius:10px!important;
        font-size:12px!important;
        white-space:nowrap!important;
        line-height:1!important;
      }
      .actions .icon{
        display:grid!important;
        width:36px!important;
        height:36px!important;
        min-width:36px!important;
        border-radius:10px!important;
        font-size:16px!important;
        place-items:center!important;
      }
      .search{
        grid-area:search!important;
        order:unset!important;
        flex-basis:auto!important;
        width:100%!important;
        max-width:none!important;
        margin:0!important;
        height:40px!important;
      }
    }
    @media (max-width:600px){
      .topbar{
        grid-template-columns:40px minmax(95px,1fr) auto!important;
        gap:8px 6px!important;
        padding:8px 10px 10px!important;
      }
      .logo{width:136px!important;min-width:136px!important;}
      .mobile-menu{width:36px!important;height:36px!important;font-size:19px!important;}
      .actions{gap:5px!important;}
      .actions .icon{width:34px!important;height:34px!important;min-width:34px!important;font-size:15px!important;}
      .actions .add-btn{
        width:34px!important;
        min-width:34px!important;
        height:34px!important;
        padding:0!important;
        font-size:0!important;
      }
      .actions .add-btn::after{content:"+";font-size:21px;font-weight:900;line-height:1;}
      .footer{
        text-align:initial!important;
        margin-bottom:92px!important;
      }
      .footer-inner{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        gap:12px!important;
        padding:18px 14px!important;
        align-items:start!important;
      }
      .footer-inner>div:first-child{
        grid-column:1/-1!important;
        text-align:center!important;
        padding-bottom:8px!important;
        border-bottom:1px solid #EEF2F7!important;
      }
      .footer-logo{width:130px!important;margin:0 auto 8px!important;}
      .footer h3{font-size:15px!important;margin:0 0 6px!important;}
      .footer p,.footer a{font-size:12px!important;line-height:1.35!important;margin:5px 0!important;}
      .footer-bottom{font-size:12px!important;padding:10px 12px!important;}
    }

    /* V12 mobile-only placement: show rating summary after pros/cons, desktop remains unchanged */
    @media (max-width: 768px){
      .mobile-summary-after-pros{display:block;margin-top:14px}
      .mobile-summary-after-pros .mobile-summary-top{align-items:center}
    }

  
    /* Video Review Section */
    .video-review-card{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#F8FAFF 100%)}
    .video-review-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
    .video-review-title{display:flex;align-items:center;gap:10px}
    .video-review-title .video-icon{width:42px;height:42px;border-radius:14px;background:rgba(214,8,59,.10);color:var(--red);display:grid;place-items:center;font-size:20px;flex:0 0 auto}
    .video-review-title h2{margin:0;color:var(--blue2);font-size:24px}
    .video-review-title p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.7}
    .video-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(46,49,146,.16);background:#fff;color:var(--blue);border-radius:999px;padding:8px 12px;font-weight:900;font-size:13px;white-space:nowrap}
    .video-frame-wrap{position:relative;width:100%;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#101828,#2E3192);box-shadow:0 18px 36px rgba(16,24,40,.16);border:1px solid rgba(46,49,146,.12)}
    .video-frame-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
    .video-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#fff;padding:28px;background:radial-gradient(circle at 25% 20%,rgba(255,255,255,.16),transparent 30%),linear-gradient(135deg,#2E3192,#101828)}
    .video-placeholder .play{width:76px;height:76px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;margin:auto auto 14px;font-size:30px;box-shadow:0 14px 34px rgba(0,0,0,.22)}
    .video-placeholder h3{margin:0 0 6px;font-size:22px}.video-placeholder p{margin:0;color:rgba(255,255,255,.82);line-height:1.7}
    .video-note{display:flex;gap:10px;align-items:flex-start;margin-top:12px;background:#FFF7F8;border:1px solid #FFD9E1;color:#7A1028;border-radius:14px;padding:10px 12px;font-size:13px;line-height:1.7}
    .video-note strong{color:var(--red)}

  
    /* Price History Modal - added without changing page layout */
    .price-modal-overlay{position:fixed;inset:0;background:rgba(16,24,40,.58);backdrop-filter:blur(3px);z-index:2147483647;display:none;align-items:center;justify-content:center;padding:24px;visibility:hidden;opacity:0;pointer-events:none}
    .price-modal-overlay.open{display:flex!important;visibility:visible;opacity:1;pointer-events:auto}
    .price-modal{width:min(1040px,96vw);max-height:92vh;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 28px 90px rgba(16,24,40,.24);direction:rtl}
    .price-modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 26px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}
    .price-modal-title{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}
    .price-modal-title h2{margin:0;color:#101828;font-size:23px;line-height:1.35;white-space:normal;overflow:visible}
    .price-chart-icon{width:34px;height:34px;border-radius:10px;background:#EEF4FF;color:#1D4ED8;display:grid;place-items:center;font-size:20px}
    .price-modal-update{display:flex;align-items:center;gap:8px;color:#42526D;font-weight:800;font-size:13px;white-space:normal;flex:0 1 auto;line-height:1.6}
    .price-close{width:38px;height:38px;border:0;background:#fff;color:#101828;font-size:30px;line-height:1;border-radius:12px;cursor:pointer;display:grid;place-items:center}
    .price-close:hover{background:#F2F5FB}
    .price-tabs{display:flex;gap:10px;padding:0 26px 12px;border-bottom:1px solid var(--line);flex-wrap:wrap}
    .price-tab{border:1px solid #D7E0EF;background:#fff;color:#17346B;border-radius:9px;padding:9px 22px;font-family:inherit;font-weight:900;cursor:pointer}
    .price-tab.active{background:var(--blue2);color:#fff;border-color:var(--blue2)}
    .price-modal-body{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);min-height:0;max-height:calc(92vh - 126px);overflow:auto}
    .price-chart-panel{padding:22px 26px 20px;border-left:1px solid var(--line);min-width:0}
    .price-table-panel{padding:22px 24px 20px;min-width:0;overflow-x:auto}
    .price-section-title{font-size:18px;margin:0 0 14px;color:#13245a;font-weight:900;line-height:1.5}
    .chart-legend{display:flex;gap:20px;align-items:center;margin-bottom:8px;color:#53627A;font-size:13px;font-weight:800}
    .legend-item{display:inline-flex;align-items:center;gap:7px}.legend-line{width:26px;height:3px;border-radius:999px;background:#1D5EC9}.legend-line.low{background:var(--green)}
    .price-chart-box{height:250px;position:relative}
    .price-chart-box svg{width:100%;height:100%;overflow:visible}
    .grid-line{stroke:#E9EDF4;stroke-width:1}.axis-text{fill:#667085;font-size:12px;font-family:"Tajawal",Arial,sans-serif;font-weight:700}
    .avg-line{fill:none;stroke:#1D5EC9;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.low-line{fill:none;stroke:var(--green);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
    .avg-point{fill:#fff;stroke:#1D5EC9;stroke-width:3}.low-point{fill:#fff;stroke:var(--green);stroke-width:3}
    .price-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}
    .price-stat{border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 12px;text-align:center;min-height:96px;display:flex;flex-direction:column;justify-content:center}
    .price-stat-label{color:#13245a;font-weight:900;font-size:13px;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;line-height:1.5}.price-stat-value{font-size:18px;color:#101828;font-weight:900;margin-top:10px;line-height:1.4}.price-stat-date{color:#667085;font-size:12px;font-weight:800;margin-top:3px;line-height:1.4}
    .up{color:var(--red)}.down{color:var(--green)}
    .price-alert{margin-top:16px;border:1px solid #BFE8CC;background:#ECFDF3;border-radius:14px;padding:14px 16px;display:flex;gap:14px;align-items:center;color:#166534;font-weight:800;line-height:1.8}
    .price-center-cta{margin-top:16px;display:flex;justify-content:center}.price-center-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 20px;border-radius:12px;background:var(--blue2);color:#fff;font-family:inherit;font-weight:900;border:0;box-shadow:0 8px 18px rgba(11,46,131,.18);white-space:normal;text-align:center;line-height:1.5}
    .price-alert-icon{width:42px;height:42px;border-radius:50%;background:#D1FADF;display:grid;place-items:center;font-size:22px;flex:0 0 auto}
    .price-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:auto}
    .price-table th{color:#13245a;text-align:right;font-weight:900;padding:10px 8px;border-bottom:1px solid #EEF2F7;white-space:normal;line-height:1.5}
    .price-table td{padding:12px 8px;border-bottom:1px solid #EEF2F7;color:#25324B;font-weight:800;white-space:normal;line-height:1.5;vertical-align:middle}
    .price-table tr:last-child td{border-bottom:0}
    .price-change{font-weight:900;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
    .price-note{margin-top:12px;text-align:center;color:#667085;font-weight:800;font-size:12px}
    .price-tip{margin-top:18px;border:1px solid #D5E5FF;background:#F5F9FF;border-radius:14px;padding:16px;display:flex;gap:14px;align-items:center;color:#25324B;font-weight:800;line-height:1.8}
    .price-tip-icon{width:48px;height:48px;border-radius:50%;background:#E7F0FF;color:#1D4ED8;display:grid;place-items:center;font-size:26px;flex:0 0 auto}
    @media (max-width:980px){
      .price-modal-overlay{padding:10px}.price-modal{width:100%;max-height:94vh;border-radius:16px}
      .price-modal-head{padding:16px 16px 10px}.price-modal-title h2{font-size:18px;white-space:normal}
      .price-tabs{padding:0 16px 10px}.price-tab{padding:8px 14px;font-size:13px}
      .price-modal-body{display:block;min-height:0;max-height:calc(94vh - 124px)}.price-chart-panel{border-left:0;border-bottom:1px solid var(--line);padding:16px}.price-table-panel{padding:16px}
      .price-stats{grid-template-columns:1fr 1fr}.price-table{font-size:13px}
    }
    @media (max-width:560px){
      .price-modal-overlay{align-items:flex-end;padding:0}.price-modal{border-radius:18px 18px 0 0;max-height:92vh;width:100vw}
      .price-modal-update{font-size:12px}.price-close{width:34px;height:34px;font-size:26px}
      .price-stat{min-height:82px;padding:11px 8px}.price-stat-value{font-size:16px}
      .price-tip,.price-alert{font-size:13px;align-items:flex-start}.price-center-btn{width:100%;min-height:44px;font-size:13px}.price-table th,.price-table td{padding:10px 5px;font-size:12px}
    }

  
    /* V24 Mobile-only compact refinements: desktop unchanged */
    @media (max-width:768px){
      body{font-size:14px;line-height:1.48}
      .breadcrumbs{font-size:12px;margin:10px auto 6px;padding:0 12px}
      .layout{padding:0 8px 92px}
      .card{border-radius:14px}
      .card.pad{padding:13px!important}
      .product-hero{padding:10px!important;gap:10px!important}
      .product-info h1{font-size:21px!important;line-height:1.28!important;margin:4px 0 8px!important}
      .chips{gap:6px!important;margin-bottom:9px!important}
      .chip{font-size:12px!important;padding:5px 9px!important}
      .rating-line{gap:8px!important;margin:8px 0!important;font-size:13px!important}
      .stars{font-size:16px!important;letter-spacing:1px!important}
      .reviewer{gap:8px!important;margin:10px 0!important;font-size:13px!important}
      .avatar{width:42px!important;height:42px!important;font-size:20px!important}
      .hero-actions{gap:8px!important;margin-top:12px!important}
      .hero-actions .btn,.gallery-actions .btn,.mobile-summary-actions .btn{font-size:12px!important;padding:9px 10px!important;border-radius:9px!important;min-height:38px!important}
      .gallery-actions{gap:7px!important;margin-top:10px!important;padding-top:8px!important}
      .main-img{height:214px!important;border-radius:13px!important;padding:10px!important}
      .main-img img{max-height:190px!important}
      .badge{top:10px!important;right:10px!important;font-size:11px!important;padding:4px 9px!important;border-radius:7px!important}
      .thumbs{gap:7px!important;margin-top:8px!important}
      .thumb{height:50px!important;border-radius:9px!important}
      .feature-strip{border-radius:13px!important;margin-top:0!important}
      .feature{min-height:58px!important;padding:8px 6px!important}
      .feature small{font-size:11px!important}
      .feature strong{font-size:12px!important;margin-top:2px!important}
      .section{margin-top:10px!important}
      .section h2{font-size:19px!important;margin-bottom:9px!important}
      .review-grid,.pros-cons-summary,.faq-list{gap:9px!important}
      .review-item{gap:8px!important;padding:9px 0!important;font-size:13px!important}
      .review-icon{width:34px!important;height:34px!important;font-size:14px!important}
      .list li{font-size:13px!important;margin:6px 0!important;padding-inline-start:22px!important}
      .summary-rating strong{font-size:30px!important}
      .mobile-summary-box{padding:12px!important;border-radius:13px!important}
      .mobile-summary-top{gap:10px!important;margin-bottom:9px!important}
      .mobile-summary-top .score-ring{width:76px!important;height:76px!important}
      .mobile-summary-top .score-inner{width:61px!important;height:61px!important}
      .mobile-summary-top .score-inner strong{font-size:21px!important}
      .mobile-summary-title h2{font-size:17px!important}
      .mobile-summary-title p{font-size:12px!important}
      .right-col .card{margin-top:10px!important}
      .right-card h2{font-size:18px!important}
      .rbar{grid-template-columns:30px 1fr 48px!important;gap:7px!important;margin:7px 0!important;font-size:12px!important}
      .used-list{gap:8px!important;margin-top:9px!important}
      .used-card{padding:7px!important;border-radius:10px!important;font-size:12px!important}
      .used-card img{height:64px!important}
      .price,.used-card .price,.mini-product .price{font-size:13px!important}
      .mini-product{grid-template-columns:66px 1fr!important;gap:8px!important;padding:9px!important;border-radius:11px!important}
      .mini-product img{height:58px!important}
      .mini-product h3{font-size:12px!important}
      .faq-q{padding:11px 12px!important;font-size:13px!important}
      .faq-a{padding:11px 12px!important;font-size:13px!important}
      .long-copy.collapsed{max-height:92px!important}
      .read-more{font-size:12px!important;padding:8px 12px!important;border-radius:9px!important;margin-top:10px!important}
      .comment-box textarea{min-height:76px!important;font-size:13px!important}
      .comment{padding:10px 0!important;font-size:13px!important}
      .sticky-mobile{padding:7px 9px 8px!important}
      .sticky-index-head{font-size:12px!important;margin-bottom:5px!important}
      .sticky-index-head:before{width:21px!important;height:21px!important;border-radius:7px!important;font-size:12px!important}
      .sticky-index-links{gap:6px!important}
      .sticky-index-links a{font-size:11px!important;padding:6px 9px!important}
      .footer{margin-bottom:76px!important}
    }
    @media (max-width:560px){
      body{font-size:13px}
      .topbar{padding:7px 9px 8px!important;gap:7px 5px!important}
      .logo{width:120px!important;min-width:120px!important}
      .mobile-menu,.actions .icon,.actions .add-btn{width:31px!important;height:31px!important;min-width:31px!important;border-radius:9px!important}
      .actions .add-btn::after{font-size:19px!important}
      .search{height:36px!important}
      .search input{font-size:12px!important;padding:0 12px!important}
      .search button{width:44px!important;font-size:17px!important}
      .product-info h1{font-size:20px!important}
      .main-img{height:200px!important}
      .main-img img{max-height:178px!important}
      .hero-actions{grid-template-columns:1fr 1fr!important}
      .feature-strip{grid-template-columns:repeat(2,1fr)!important}
      .compare-row,.used-list{grid-template-columns:1fr!important}
      .footer-inner{gap:9px!important;padding:14px 12px!important}
      .footer h3{font-size:13px!important}
      .footer p,.footer a{font-size:11px!important}
      .footer-bottom{font-size:11px!important}
    }

  

    /* V25 Desktop compact refinements: same layout/functions, smaller desktop visual scale */
    @media (min-width:981px){
      body{font-size:14px;line-height:1.48}
      .topbar{height:64px!important;padding:0 22px!important;gap:18px!important}
      .logo{width:178px!important;min-width:178px!important}
      .nav{gap:18px!important;font-size:14px!important}
      .search{height:40px!important;max-width:500px!important}
      .search input{padding:0 15px!important;font-size:14px!important}
      .search button{width:50px!important;font-size:18px!important}
      .actions{gap:10px!important}
      .icon{width:38px!important;height:38px!important;border-radius:10px!important}
      .add-btn{padding:10px 15px!important;border-radius:10px!important;font-size:13px!important}
      .breadcrumbs{max-width:1420px!important;margin:12px auto 6px!important;padding:0 16px!important;font-size:13px!important}
      .layout{max-width:1420px!important;padding:0 16px 34px!important;grid-template-columns:250px minmax(0,1fr) 300px!important;gap:14px!important}
      .card{border-radius:15px!important}
      .pad{padding:16px!important}
      .sidebar{top:78px!important;gap:11px!important}
      .side-title{font-size:18px!important;margin-bottom:10px!important}
      .toc a,.toc-main{padding:7px 0!important;font-size:13px!important}
      .toc-sub{gap:5px!important;padding:1px 12px 7px 0!important}
      .toc-sub a{font-size:12px!important}
      .score-ring{width:104px!important;height:104px!important}
      .score-inner{width:82px!important;height:82px!important}
      .score-inner strong{font-size:28px!important}
      .stars{font-size:17px!important;letter-spacing:1px!important}
      .metric{gap:6px!important;margin:8px 0!important;font-size:13px!important}
      .bar{height:7px!important}
      .primary,.success,.danger{padding:11px 15px!important;border-radius:9px!important;font-size:13px!important}
      .secondary{padding:10px 15px!important;border-radius:9px!important;font-size:13px!important}
      .product-hero{padding:15px!important;grid-template-columns:minmax(260px,380px) minmax(0,1fr)!important;gap:22px!important}
      .main-img{height:260px!important;border-radius:14px!important;padding:13px!important}
      .main-img img{max-height:228px!important}
      .badge{top:12px!important;right:12px!important;font-size:12px!important;padding:5px 10px!important;border-radius:8px!important}
      .thumbs{gap:8px!important;margin-top:10px!important}
      .thumb{height:58px!important;border-radius:10px!important}
      .thumb.more{font-size:13px!important}
      .product-info h1{font-size:30px!important;line-height:1.24!important;margin:5px 0 10px!important}
      .chips{gap:7px!important;margin-bottom:11px!important}
      .chip{font-size:13px!important;padding:6px 10px!important}
      .rating-line{gap:11px!important;margin:10px 0!important;font-size:13px!important}
      .reviewer{gap:10px!important;margin:13px 0!important;font-size:13px!important}
      .avatar{width:50px!important;height:50px!important;font-size:24px!important}
      .hero-actions{gap:10px!important;margin-top:14px!important}
      .hero-actions .btn{min-width:112px!important}
      .gallery-actions{gap:8px!important;margin-top:11px!important;padding-top:10px!important}
      .gallery-actions .btn{padding-inline:8px!important}
      .feature-strip{border-radius:14px!important}
      .feature{min-height:66px!important;padding:10px 8px!important}
      .feature small{font-size:12px!important}
      .feature strong{font-size:13px!important}
      .section{margin-top:13px!important}
      .section h2{font-size:22px!important;margin-bottom:11px!important}
      .review-grid{gap:11px!important}
      .review-item{gap:10px!important;padding:10px 0!important;font-size:13px!important}
      .review-icon{width:36px!important;height:36px!important}
      .pros-cons-summary{gap:11px!important}
      .list li{font-size:13px!important;margin:6px 0!important;padding-inline-start:23px!important}
      .summary-rating strong{font-size:32px!important}
      .compare-row{gap:10px!important}
      .mini-product{grid-template-columns:62px 1fr!important;gap:8px!important;padding:10px!important;border-radius:12px!important}
      .mini-product img{height:60px!important}
      .mini-product h3{font-size:12px!important}
      .add-compare{min-height:100px!important;border-radius:12px!important;font-size:13px!important}
      .right-card h2{font-size:18px!important}
      .ratings-bars{margin-top:8px!important}
      .rbar{grid-template-columns:32px 1fr 56px!important;gap:8px!important;margin:7px 0!important;font-size:12px!important}
      .rbar-track{height:7px!important}
      .used-list{gap:8px!important;margin-top:10px!important}
      .used-card{padding:7px!important;border-radius:10px!important;font-size:12px!important}
      .used-card img{height:68px!important}
      .used-card .price,.mini-product .price,.price{font-size:14px!important}
      .comment-box textarea{min-height:78px!important;font-size:13px!important;padding:10px!important}
      .comment{padding:11px 0!important;font-size:13px!important}
      .comment .avatar{width:32px!important;height:32px!important;font-size:16px!important}
      .long-copy.collapsed{max-height:94px!important}
      .read-more{margin-top:11px!important;padding:8px 13px!important;border-radius:9px!important;font-size:13px!important}
      .faq-list{gap:8px!important}
      .faq-q{padding:12px 14px!important;font-size:13px!important}
      .faq-a{padding:12px 14px!important;font-size:13px!important}
      .product-market-price{padding:7px 11px!important;border-radius:10px!important;font-size:13px!important}
      .video-review-title .video-icon{width:36px!important;height:36px!important;border-radius:12px!important;font-size:18px!important}
      .video-review-title h2{font-size:21px!important}
      .video-review-title p{font-size:13px!important}
      .video-review-head{gap:11px!important;margin-bottom:11px!important}
      .video-badge{padding:7px 10px!important;font-size:12px!important}
      .video-frame-wrap{border-radius:16px!important}
      .video-placeholder{padding:22px!important}
      .video-placeholder .play{width:64px!important;height:64px!important;font-size:25px!important;margin-bottom:11px!important}
      .video-placeholder h3{font-size:19px!important}
      .video-note{margin-top:10px!important;padding:9px 11px!important;font-size:12px!important;border-radius:12px!important}
      .footer{margin-top:20px!important}
      .footer-inner{max-width:1420px!important;padding:22px 16px!important;gap:18px!important}
      .footer-logo{width:155px!important}
      .footer h3{font-size:16px!important;margin-bottom:9px!important}
      .footer p,.footer a{font-size:13px!important;margin:6px 0!important}
      .footer-bottom{padding:12px 16px!important;font-size:13px!important}
      .price-modal{width:min(960px,94vw)!important;border-radius:16px!important}
      .price-modal-head{padding:18px 22px 12px!important}
      .price-modal-title h2{font-size:21px!important}
      .price-tabs{padding:0 22px 10px!important;gap:8px!important}
      .price-tab{padding:8px 18px!important;font-size:13px!important}
      .price-modal-body{max-height:calc(92vh - 112px)!important}
      .price-chart-panel{padding:18px 22px 16px!important}
      .price-table-panel{padding:18px 20px 16px!important}
      .price-section-title{font-size:16px!important;margin-bottom:11px!important}
      .price-chart-box{height:220px!important}
      .price-stat{min-height:82px!important;padding:11px 10px!important;border-radius:12px!important}
      .price-stat-value{font-size:16px!important;margin-top:7px!important}
      .price-alert,.price-tip{padding:12px 14px!important;border-radius:12px!important;font-size:13px!important}
      .price-center-btn{min-height:42px!important;padding:10px 17px!important;font-size:13px!important}
      .price-table{font-size:13px!important}
      .price-table td{padding:10px 7px!important}
      .price-table th{padding:8px 7px!important}
    }

  
/* Used appliances marketplace page */
.market-wrap{max-width:1420px;margin:auto;padding:0 16px}
.market-hero{background:radial-gradient(circle at 10% 10%,#EAF3FF 0 22%,transparent 23%),linear-gradient(135deg,#fff 0%,#F3F8FF 55%,#ECFDF3 100%);border-bottom:1px solid var(--line);overflow:hidden}
.market-hero-grid{max-width:1420px;margin:auto;padding:24px 16px;display:grid;grid-template-columns:270px minmax(0,1fr) 410px;gap:20px;align-items:center;min-height:300px}
.sell-panel{background:linear-gradient(160deg,var(--blue2),#0B5CFF);color:#fff;border-radius:18px;padding:20px;box-shadow:var(--shadow)}
.sell-panel h2{margin:0 0 8px;font-size:22px}.sell-panel p{margin:0 0 16px;color:#EAF2FF;line-height:1.7;font-weight:700}.sell-panel a{display:inline-flex;background:#fff;color:var(--blue2);border-radius:12px;padding:11px 18px;font-weight:900}
.trust-counter{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin-top:12px;text-align:center;box-shadow:var(--shadow);font-weight:800;color:#344054}.trust-counter strong{display:block;color:#101828;font-size:18px}
.market-hero-copy{text-align:center}.market-hero-copy h1{margin:0;font-size:42px;line-height:1.25;font-weight:900;color:#050A21}.market-hero-copy h1 span{color:#0B5CFF}.market-hero-copy p{margin:12px auto 18px;color:#475467;max-width:620px;font-size:17px;font-weight:700;line-height:1.8}
.hero-badges{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.hero-badge{display:flex;align-items:center;gap:8px;color:#344054;font-weight:900}.hero-badge i{width:44px;height:44px;border-radius:15px;background:#fff;box-shadow:var(--shadow);display:grid;place-items:center;font-style:normal;color:var(--blue2)}
.hero-image-card{position:relative;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow);padding:12px;overflow:hidden}.hero-image-card img{width:100%;height:230px;object-fit:cover;border-radius:18px}.hero-image-note{position:absolute;right:22px;bottom:22px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border:1px solid #E7EEF9;border-radius:16px;padding:10px 12px;font-weight:900;color:#13245a;box-shadow:0 10px 24px rgba(16,24,40,.12)}
.market-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}
.market-filters{position:sticky;top:78px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:var(--shadow)}.filter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.filter-head h2{font-size:20px;margin:0;color:var(--blue2)}.filter-clear{color:#0B5CFF;font-weight:900;font-size:13px}
.field{margin-bottom:13px}.field label{display:block;font-weight:900;color:#344054;margin-bottom:7px;font-size:13px}.market-select,.market-input{width:100%;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 12px;font-family:inherit;color:#344054;outline:none}.market-range{width:100%;accent-color:#0B5CFF;height:8px;border-radius:999px;background:linear-gradient(to left,#0B5CFF 0%,#0B5CFF 40%,#E6ECF5 40%,#E6ECF5 100%);outline:none;cursor:pointer}.price-row,.checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checks label{font-weight:700;font-size:12px;color:#475467;margin:0;display:flex;gap:6px;align-items:center}.dynamic-filter{display:none}.dynamic-filter.show{display:block}.apply-filter{width:100%;height:46px;border:0;border-radius:12px;background:var(--blue2);color:#fff;font-family:inherit;font-weight:900;font-size:14px;margin-top:6px}
.mobile-filter{display:none}
.market-categories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin-bottom:14px}.market-cat{background:#fff;border:1px solid var(--line);border-radius:16px;min-height:104px;padding:10px;text-align:center;font-weight:900;color:#13245a;box-shadow:0 8px 22px rgba(16,24,40,.05);transition:.18s ease}.market-cat:hover,.market-cat.active{border-color:#C8D6EA;background:#F5F9FF;transform:translateY(-2px)}.market-cat img{height:54px;width:72px;object-fit:cover;border-radius:12px;margin:0 auto 8px;background:#F3F6FA}
.market-section{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:16px;margin-bottom:16px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.section-title h2{margin:0;font-size:22px;color:#101828}.section-title a{color:#0B5CFF;font-weight:900}
.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.used-product{position:relative;border:1px solid var(--line);border-radius:16px;background:#fff;padding:12px;transition:.18s ease;min-height:276px}.used-product:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(16,24,40,.09);border-color:#C8D6EA}.used-product .fav{position:absolute;top:10px;left:10px;background:#fff;border:1px solid #EEF2F7;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:18px;z-index:2}.used-product .tag{position:absolute;top:10px;right:10px;background:#FFD166;color:#664400;border-radius:8px;padding:5px 8px;font-weight:900;font-size:11px;z-index:2}.used-product img{height:122px;width:100%;object-fit:contain;margin:10px auto 8px;border-radius:12px;background:#F8FAFC}.used-product h3{margin:0 0 6px;font-size:17px;line-height:1.35;color:#101828}.meta{color:#667085;font-size:12px;font-weight:700;line-height:1.6;margin:0}.used-price{color:#0B5CFF;font-size:20px;font-weight:900;margin-top:8px}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:9px;gap:8px}.condition{background:#EAF8EF;color:var(--green);border-radius:999px;padding:5px 9px;font-weight:900;font-size:11px}.time{font-size:12px;color:#667085;font-weight:700}
.latest-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.latest-card{border:1px solid var(--line);border-radius:14px;padding:10px;background:#fff;display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center}.latest-card img{width:72px;height:54px;object-fit:contain;background:#F8FAFC;border-radius:10px}.latest-card h3{font-size:14px;line-height:1.35;margin:0 0 4px}.latest-card strong{color:#0B5CFF;font-size:15px}
.trust-strip-market{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:16px}.trust-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;text-align:center;font-weight:900;box-shadow:var(--shadow);color:#13245a}.trust-item i{width:44px;height:44px;margin:0 auto 8px;border-radius:14px;background:#EEF4FF;color:var(--blue2);display:grid;place-items:center;font-style:normal}
.advice-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-bottom:22px}.advice-card{background:linear-gradient(135deg,#fff,#F5F9FF);border:1px solid var(--line);border-radius:18px;padding:18px}.advice-card h2{margin:0 0 10px;color:var(--blue2)}.advice-card li,.advice-card p{color:#475467;font-weight:700;line-height:1.8}
@media(max-width:1280px){.market-hero-grid{grid-template-columns:1fr 1.4fr}.sell-col{display:none}.market-layout{grid-template-columns:240px minmax(0,1fr)}.product-grid{grid-template-columns:repeat(4,1fr)}.latest-grid{grid-template-columns:repeat(3,1fr)}.market-categories{grid-template-columns:repeat(4,1fr)}}
@media(max-width:980px){.market-hero-grid{display:block;min-height:0}.hero-image-card{margin-top:16px}.market-hero-copy h1{font-size:30px}.market-layout{display:block}.market-filters{display:none}.mobile-filter{display:flex;gap:8px;position:sticky;top:92px;z-index:9;background:#F6F8FC;padding:8px 0}.mobile-filter button{flex:1;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--blue2);font-weight:900;font-family:inherit}.market-categories{display:flex;overflow:auto;padding-bottom:8px;scroll-snap-type:x mandatory}.market-cat{min-width:124px;scroll-snap-align:start}.product-grid{grid-template-columns:repeat(2,1fr)}.latest-grid{grid-template-columns:repeat(2,1fr)}.trust-strip-market{grid-template-columns:repeat(2,1fr)}.advice-grid{grid-template-columns:1fr}}
@media(max-width:560px){.market-wrap{padding:0 10px}.market-hero-grid{padding:18px 10px}.market-hero-copy h1{font-size:25px}.market-hero-copy p{font-size:14px}.hero-badges{gap:8px}.hero-badge{font-size:12px}.hero-badge i{width:36px;height:36px;border-radius:12px}.hero-image-card img{height:170px}.market-section{padding:12px;border-radius:15px}.section-title h2{font-size:18px}.product-grid{display:flex;overflow:auto;padding-bottom:6px}.used-product{min-width:242px}.latest-grid{display:flex;overflow:auto}.latest-card{min-width:240px}.trust-strip-market{grid-template-columns:repeat(2,1fr);gap:8px}.trust-item{font-size:12px;padding:11px 8px}}

/* Mobile-only final updates: keep desktop unchanged */
.mobile-extra-latest{display:none;}
@media(max-width:980px){
  .mobile-extra-latest{display:flex!important;}
  body.filter-open .mobile-filter{display:none!important;}
}

/* ══ WordPress Header Overrides ════════════════════════════ */

body .topbar{
  height:72px;background:#fff;border-bottom:1px solid #E4E9F2;
  display:flex;align-items:center;gap:22px;padding:0 28px;
  position:sticky;top:0;z-index:9999
}
body .logo{width:205px;min-width:205px;flex-shrink:0}
body .logo img{width:100%;height:auto;display:block}
body .logo .logo-text{font-size:28px;font-weight:900;color:#2E3192;display:block}

body .nav{display:flex;gap:0;align-items:center;white-space:nowrap;font-weight:700;color:#13245a;height:100%}
body .nav .menu{display:flex;gap:0;list-style:none;margin:0;padding:0;height:100%;align-items:center}
body .nav .menu-item{position:relative;height:100%;display:flex;align-items:center}
body .nav .menu-item a{
  padding:8px 14px;transition:color .18s;display:flex;align-items:center;gap:6px;
  height:100%;font-size:15px;color:#13245a
}
body .nav .menu-item a:hover,
body .nav .menu-item.current-menu-item>a{color:#0E9F43}
body .nav .menu-item.current-menu-item>a::after{
  content:'';position:absolute;left:12%;right:12%;bottom:-2px;
  height:3px;background:#0E9F43;border-radius:8px
}
body .nav .menu-item-has-children>a::after{
  content:'▾';font-size:11px;color:#667085;margin-inline-start:3px
}

/* ── Desktop Sub-menu Dropdown ── */
body .nav .sub-menu{
  position:absolute;top:100%;right:0;min-width:220px;
  background:#fff;border-radius:12px;padding:8px;
  box-shadow:0 12px 32px rgba(16,24,40,.12),0 2px 8px rgba(16,24,40,.06);
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:all .2s ease;z-index:9999;
  list-style:none;margin:4px 0 0;border:1px solid #E4E9F2
}
body .nav .menu-item:hover>.sub-menu,
body .nav .menu-item-has-children:hover>.sub-menu{
  opacity:1;visibility:visible;transform:translateY(0)
}
body .nav .sub-menu .menu-item{
  height:auto;display:block
}
body .nav .sub-menu .menu-item a{
  padding:10px 14px;height:auto;font-size:14px;font-weight:600;
  color:#344054;border-radius:10px;white-space:normal;line-height:1.4
}
body .nav .sub-menu .menu-item a:hover{
  background:#F5F9FF;color:#0E9F43
}
body .nav .sub-menu .menu-item.current-menu-item>a{
  background:#F5F9FF;color:#0E9F43
}
body .nav .sub-menu .menu-item.current-menu-item>a::after{display:none}
body .nav .sub-menu .menu-item-has-children>a::after{content:'▸';margin-inline-start:auto}
body .nav .sub-menu .sub-menu{
  top:-8px;right:100%;margin-right:4px
}

/* ── Desktop Mega Menu ── */
body .nav .mega-wrap{
  position:absolute;top:100%;right:-80px;left:auto;
  background:#fff;border-radius:16px;padding:20px;
  box-shadow:0 16px 40px rgba(16,24,40,.14),0 4px 12px rgba(16,24,40,.06);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:all .22s ease;z-index:99999;
  min-width:560px;border:1px solid #E4E9F2
}
body .nav .mega-trigger:hover .mega-wrap,
body .nav .mega-trigger.mega-open .mega-wrap{
  opacity:1;visibility:visible;transform:translateY(0)
}
body .nav .mega-wrap{
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px
}
body .nav .mega-col{
  display:flex;flex-direction:column;gap:4px
}
body .nav .mega-link{
  padding:8px 10px;border-radius:10px;font-size:13px;
  font-weight:600;color:#344054;display:flex;align-items:center;gap:8px;
  transition:background .15s
}
body .nav .mega-link:hover{
  background:#F5F9FF;color:#0E9F43
}
body .nav .mega-icon{
  width:28px;height:28px;border-radius:8px;background:#F2F5FB;
  display:grid;place-items:center;font-size:16px;flex-shrink:0
}
body .nav .mega-count{
  font-size:11px;color:#9AA6B8;margin-inline-start:auto
}
body .nav .mega-all{
  grid-column:1/-1;text-align:center;margin-top:4px;padding-top:12px;
  border-top:1px solid #f0f3f8
}
body .nav .mega-all a{
  font-weight:800;font-size:14px;color:#0B2E83;padding:8px 16px;display:inline-block
}
body .nav .mega-all a:hover{color:#0E9F43}

body .search{flex:1;max-width:560px;margin-inline:auto;display:flex;height:44px;border:1px solid #E4E9F2;border-radius:12px;overflow:hidden;background:#fff}
body .search form{display:flex;flex:1;height:100%}
body .search input{flex:1;border:0;padding:0 14px;font:inherit;outline:none;min-width:0;font-size:14px;color:#101828}
body .search button{width:56px;border:0;background:#0B2E83;color:#fff;font-size:20px;cursor:pointer;display:grid;place-items:center;flex-shrink:0}
body .search button:hover{background:#2E3192}

body .actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
body .icon{width:42px;height:42px;border:1px solid #E4E9F2;border-radius:12px;display:grid;place-items:center;background:#fff;font-size:18px;transition:border-color .18s;position:relative}
body .icon:hover{border-color:#C8D6EA}
body .add-btn{background:#0B2E83;color:#fff;border:0;border-radius:12px;padding:12px 18px;font-weight:800;font-size:14px;font-family:inherit;display:inline-flex;align-items:center;gap:7px;cursor:pointer;transition:background .18s}
body .add-btn:hover{background:#2E3192}

body .mobile-menu{display:none;width:42px;height:42px;border:1px solid #E4E9F2;border-radius:12px;background:#fff;font-size:22px;cursor:pointer;place-items:center;color:#101828;flex-shrink:0}
body .mobile-search{display:none;padding:0 16px 12px;background:#fff}

body .mobile-nav-overlay{display:none;position:fixed;inset:0;background:rgba(16,24,40,.5);z-index:9997;backdrop-filter:blur(3px)}
body .mobile-nav-overlay.open{display:block}
body .mobile-nav-panel{position:fixed;top:0;right:-320px;width:300px;bottom:0;background:#fff;z-index:9998;overflow-y:auto;transition:right .28s ease;box-shadow:-10px 0 40px rgba(16,24,40,.18);padding:20px 16px 30px;display:flex;flex-direction:column;gap:4px}
body .mobile-nav-panel.open{right:0}
body .mobile-nav-panel .menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
body .mobile-nav-panel .menu-item{border-bottom:1px solid #EEF2F7}
body .mobile-nav-panel .menu-item a{display:flex;align-items:center;gap:10px;padding:14px 8px;font-weight:700;font-size:15px;color:#101828}

body .footer{margin-top:24px;background:#fff;border-top:1px solid #E4E9F2}
body .footer-inner{max-width:1560px;margin:auto;padding:28px 18px;display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:22px}
body .footer-logo{width:180px;margin-bottom:12px}
body .footer-logo img{width:100%;height:auto}
body .footer h3{margin:0 0 12px;color:#0B2E83;font-size:18px}
body .footer a{color:#475467;font-weight:600;font-size:14px;display:block;margin:8px 0}
body .footer a:hover{color:#0B2E83}
body .social{display:flex;gap:8px;margin-top:12px}
body .social a{width:36px;height:36px;border-radius:8px;border:1px solid #E4E9F2;display:grid;place-items:center;font-size:14px;transition:.18s}
body .footer-bottom{border-top:1px solid #EEF2F7;padding:14px 18px;text-align:center;color:#667085;font-weight:700;font-size:14px}
body .footer-menu{list-style:none;margin:0;padding:0}

@media(max-width:980px){
  body .topbar{height:auto;flex-wrap:wrap;padding:12px 16px;gap:12px}
  body .logo{order:1;width:160px;min-width:160px}
  body .mobile-menu{display:grid;order:2}
  body .actions{order:3;margin-inline-start:auto}
  body .search{order:4;flex-basis:100%;max-width:none}
  body .nav{display:none}
  body .add-btn{display:none}
}
@media(max-width:640px){
  body .footer-inner{grid-template-columns:1fr!important}
}


/* ══ Additional WordPress Selectors ════ */
body .footer-col{min-width:0}
body .footer-brand p{line-height:1.7;margin:0 0 14px}
body .footer-menu a{display:block;margin:8px 0}
body .mobile-nav-panel .mob-nav-header{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #E4E9F2
}
body .mobile-nav-panel .mob-nav-header .logo{width:140px;min-width:140px}
body .mobile-nav-panel .mob-nav-close{
  width:36px;height:36px;border:1px solid #E4E9F2;border-radius:10px;
  background:#fff;font-size:20px;cursor:pointer;display:grid;place-items:center
}
body .mobile-nav-panel .sub-menu{
  max-height:0;overflow:hidden;transition:max-height .3s ease
}
body .mobile-nav-panel .sub-menu.open{
  max-height:600px
}
body .mobile-nav-panel .sub-menu a{
  padding:10px 8px 10px 24px;font-size:14px;font-weight:600;color:#475467;border-top:1px solid #f0f3f8
}
body .mobile-nav-panel .menu-item-has-children>a::after{
  content:'+';margin-inline-start:auto;font-size:16px;color:#9AA6B8;font-weight:700;transition:transform .2s;width:20px;text-align:center
}
body .mobile-nav-panel .menu-item-has-children.expanded>a::after{
  content:'−'
}
body .mobile-nav-panel .mob-mega-cats{margin-top:16px;padding-top:14px;border-top:1px solid #E4E9F2}
body .mobile-nav-panel .mob-mega-cats h4{font-size:14px;color:#0B2E83;font-weight:900;margin:0 0 10px}
body .mobile-nav-panel .mob-mega-link{
  display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:10px;
  font-weight:700;font-size:14px;color:#344054;border-bottom:1px solid #f0f3f8
}
body .mobile-nav-panel .mob-mega-icon{
  width:32px;height:32px;border-radius:9px;background:#F2F5FB;
  display:grid;place-items:center;font-size:18px;flex-shrink:0
}

@media(max-width:768px){
  body .footer-inner{gap:14px;padding:20px 14px}
}
@media(max-width:640px){
  body .footer-inner{grid-template-columns:1fr!important;text-align:center}
  body .footer-logo{margin:0 auto 12px!important}
}
/* ─── Categories collapse ───────────────────────────────── */
.cats-toggle-btn{display:block;margin:18px auto 0;padding:12px 22px;background:var(--blue);color:#fff;border:0;border-radius:13px;font-weight:900;font-family:inherit;font-size:15px;cursor:pointer;text-align:center;box-shadow:0 5px 16px rgba(11,31,68,.1);transition:all .2s}.cats-toggle-btn:hover{background:var(--blue2);box-shadow:0 8px 22px rgba(11,31,68,.15);transform:translateY(-1px)}