/* RED-20 reference UI v2 — matches the approved real-data HTML preview */
.red20-2026-ui{--r20-orange:#ff5a00;--r20-ink:#20242a;--r20-muted:#69707d;--r20-line:#e9ebef;--r20-soft:#f6f7f9;background:#f5f6f8!important;color:var(--r20-ink)}
.red20-2026-ui .container{max-width:1480px!important;padding-left:28px;padding-right:28px}

/* Exact reference header */
.red20-2026-ui>header.wrapper.bg-soft-primary{background:#fff!important;position:relative;z-index:1040}
.red20-2026-ui>header .navbar-clone{display:none!important}
.red20-2026-ui>header .content-wrapper>header.wrapper{background:#fff!important;box-shadow:none!important}
.r20-topbar{height:34px;background:#fff;border-bottom:1px solid var(--r20-line);font-size:12px;display:flex;align-items:center}
.r20-topbar-inner{display:flex;justify-content:space-between;align-items:center;height:34px;color:#555}
.r20-delivery{display:flex;align-items:center;gap:4px}.r20-delivery strong{color:var(--r20-orange)}
.r20-top-links{display:flex;align-items:center;gap:18px}.r20-top-links a{color:#555!important;text-decoration:none}.r20-top-links a:hover{color:var(--r20-orange)!important}
.r20-top-links .dropdown-menu{font-size:12px}
.r20-mainbar{background:#fff;position:sticky;top:0;z-index:1050;box-shadow:0 3px 14px #0000000a}
.r20-mainbar-inner{height:78px;display:grid!important;grid-template-columns:165px minmax(320px,1fr) 250px;gap:22px;align-items:center}
.r20-logo{display:flex;align-items:center}.r20-logo img{max-width:145px;max-height:58px;object-fit:contain}
.r20-search{height:48px;border:2px solid var(--r20-orange);border-radius:14px;display:flex;overflow:hidden;background:#fff;margin:0}
.r20-search input{border:0!important;outline:0!important;box-shadow:none!important;flex:1;min-width:0;padding:0 18px;background:#fff;font-size:14px;color:#222}
.r20-search button{border:0;background:var(--r20-orange);color:#fff;padding:0 22px;font-weight:800;display:flex;gap:6px;align-items:center;justify-content:center}.r20-search button i{display:none;font-size:21px}
.r20-actions{display:flex;gap:14px;justify-content:flex-end;align-items:center}
.r20-action{appearance:none;border:0;background:transparent;padding:0;min-width:58px;text-align:center;font-size:11px!important;color:#555!important;text-decoration:none!important;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;cursor:pointer}
.r20-action i{display:block;font-style:normal;font-size:22px;line-height:24px;color:#25292e}.r20-action:hover,.r20-action:hover i{color:var(--r20-orange)!important}
.r20-cart-badge{position:absolute;top:-5px;right:5px;min-width:17px;height:17px;border-radius:10px;background:var(--r20-orange);color:#fff;font-size:9px;line-height:17px;text-align:center;font-weight:800}
.r20-category-nav{background:#fff;border-top:1px solid #f2f2f2;border-bottom:1px solid var(--r20-line)}
.r20-category-nav-inner{height:46px;display:flex!important;align-items:center;gap:28px;overflow:hidden;white-space:nowrap;font-size:13px;font-weight:700}
.r20-category-nav a{color:#343940!important;text-decoration:none!important}.r20-category-nav a:hover{color:var(--r20-orange)!important}
.r20-allcat{background:#fff2eb;color:var(--r20-orange)!important;height:46px;display:flex;align-items:center;padding:0 18px;margin-left:-18px;gap:6px}
/* Hide the old visual header pieces, offcanvas remains functional */
.red20-2026-ui>header .mobile-searchbar{display:none!important}

/* Home reference layout */
.r20-home-reference{padding-top:18px;padding-bottom:35px}
.r20-hero{min-height:260px;border-radius:20px;background:linear-gradient(115deg,#ff5a00,#ff8d3c 58%,#ffc38f);color:#fff;padding:38px 42px;display:flex;align-items:center;position:relative;overflow:hidden}
.r20-hero-copy{position:relative;z-index:2;max-width:680px}.r20-eyebrow{font-size:12px;font-weight:900;letter-spacing:.12em;margin-bottom:8px;opacity:.95}
.r20-hero h1{font-size:42px;line-height:1.05;margin:0 0 12px;max-width:650px;color:#fff!important;font-weight:900;letter-spacing:-.035em}.r20-hero p{font-size:16px;max-width:600px;margin:0 0 18px;opacity:.95}.r20-hero-btn{display:inline-flex;background:#fff;color:var(--r20-orange)!important;padding:13px 20px;border-radius:12px;font-weight:900;text-decoration:none!important}.r20-hero-btn:hover{transform:translateY(-1px);box-shadow:0 8px 25px #b9461c38}
.r20-hero-watermark{position:absolute;right:4%;top:-55px;font-size:310px;line-height:1;font-weight:950;color:#ffffff12;user-select:none}
.r20-service-strip{margin-top:15px;background:#fff;border:1px solid var(--r20-line);border-radius:16px;display:grid!important;grid-template-columns:repeat(4,1fr);padding:15px}
.r20-service-strip>div{text-align:center;font-size:13px;font-weight:700;border-right:1px solid var(--r20-line);display:flex;gap:8px;align-items:center;justify-content:center}.r20-service-strip>div:last-child{border:0}.r20-service-strip i{font-size:18px;color:var(--r20-orange)}
.r20-reference-section{margin-top:22px}.r20-section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:12px}.r20-section-head h2{margin:0;font-size:24px!important;line-height:1.2;font-weight:850;color:#20242a!important}.r20-section-head a{color:var(--r20-orange)!important;font-size:13px;font-weight:800;text-decoration:none}
.r20-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.r20-category-card{background:#fff;border:1px solid var(--r20-line);border-radius:16px;padding:12px 8px;text-align:center;font-size:11px;font-weight:800;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#20242a!important;text-decoration:none!important;overflow:hidden}.r20-category-card:hover{border-color:#ffc3a3;box-shadow:0 8px 24px #0000000b;transform:translateY(-2px)}.r20-category-image{height:76px;width:100%;display:flex;align-items:center;justify-content:center}.r20-category-image img{max-height:68px;max-width:92%;object-fit:contain!important;border-radius:0!important;background:transparent!important;border:0!important;padding:0!important}.r20-category-card strong{display:block;margin-top:5px;max-width:100%;font-size:11px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r20-real-promo{margin-top:18px}.r20-real-promo .swiper-slide{border-radius:16px;overflow:hidden;background:#fff}.r20-real-promo img{display:block;width:100%;max-height:280px;object-fit:cover;border-radius:16px}

/* Brands follows the same compact section feel */
.r20-home-reference>section.mt-3{margin-top:22px!important}.r20-home-reference>section.mt-3>.container{background:#fff;border:1px solid var(--r20-line);border-radius:16px;padding-top:12px!important;padding-bottom:12px!important}

/* Actual dynamic homepage product section */
.red20-2026-ui .red20-home-content{padding-top:0!important;margin-top:22px}.red20-2026-ui .red20-home-content>.wrapper,.red20-2026-ui .red20-home-content>section.wrapper{background:transparent!important;border-radius:0!important;padding:0!important;margin-top:22px!important;box-shadow:none!important}
.red20-2026-ui .red20-home-content .featured-section-title{margin:0 0 12px!important}.red20-2026-ui .red20-home-content .featured-section-title h3,.red20-2026-ui .red20-home-content .featured-section-title .section-title{font-size:24px!important;font-weight:850!important}.red20-2026-ui .red20-home-content .featured-section-title h6{font-size:12px!important;margin-top:3px}.red20-2026-ui .red20-home-content>.wrapper>.grid>.row{margin-left:-6px;margin-right:-6px;row-gap:12px}.red20-2026-ui .r20-product-card{padding-left:6px!important;padding-right:6px!important;margin-bottom:0!important;background:transparent!important}
.red20-2026-ui .r20-product-card>figure{height:205px!important;background:#fafafa!important;border:1px solid var(--r20-line)!important;border-bottom:0!important;border-radius:16px 16px 0 0!important;padding:14px!important;display:flex!important;position:relative!important;margin:0!important;overflow:hidden!important;box-shadow:none!important;transform:none!important}.red20-2026-ui .r20-product-card>figure>div:first-child{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.red20-2026-ui .r20-product-card .fig_image{width:100%!important;height:100%!important;max-height:177px!important;object-fit:contain!important;padding:0!important;background:transparent!important}
.red20-2026-ui .r20-product-card .post-header{background:#fff!important;border:1px solid var(--r20-line);border-top:0;border-radius:0 0 16px 16px;padding:11px 12px 12px!important;margin:0!important;text-align:left!important;min-height:151px}.r20-express{font-size:8px;font-weight:900;color:#1d7e49;margin-bottom:6px;letter-spacing:.02em}.red20-2026-ui .r20-product-card .post-title{font-size:13px!important;line-height:1.35!important;height:36px!important;min-height:36px!important;overflow:hidden;margin:0!important;font-weight:650!important}.red20-2026-ui .r20-product-card .post-title a{color:#20242a!important}.r20-rating-line{font-size:10px;color:#f0aa00;margin:6px 0 4px;white-space:nowrap}.r20-rating-line b{color:#888;font-weight:500}.red20-2026-ui .r20-product-card .price{margin:0!important;display:flex;gap:7px;align-items:baseline;color:#20242a!important;font-size:17px!important;font-weight:850}.red20-2026-ui .r20-product-card .striped-price{font-size:10px!important;color:#999!important}.r20-add-btn{width:100%;height:35px;border:1px solid var(--r20-orange);color:var(--r20-orange)!important;background:#fff7f2;border-radius:9px;margin-top:9px;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:3px;text-decoration:none!important}.r20-add-btn:hover{background:var(--r20-orange);color:#fff!important}.r20-add-btn i{font-size:15px}
.red20-2026-ui .r20-product-card .desktop_quick_view .add_to_cart{display:none!important}.red20-2026-ui .r20-product-card .desktop_quick_view{right:10px!important;top:8px!important}.red20-2026-ui .r20-product-card .desktop_quick_view .quick-view-btn,.red20-2026-ui .r20-product-card .desktop_quick_view .compare{display:none!important}.red20-2026-ui .r20-product-card .desktop_quick_view>a:not(.add_to_cart){width:32px!important;height:32px!important;min-width:32px!important;background:#fff!important;border:1px solid var(--r20-line)!important;box-shadow:none!important;font-size:18px!important}.red20-2026-ui .r20-product-card .sale_tag{position:absolute!important;left:10px!important;top:10px!important;background:#e7332b!important;color:#fff!important;font-size:10px!important;font-weight:900!important;padding:5px 7px!important;border-radius:7px!important;min-width:auto!important;width:auto!important;height:auto!important;z-index:4}

/* Keep cart/search drawers above the new sticky header */
.red20-2026-ui #offcanvas-cart,.red20-2026-ui #offcanvas-search{z-index:2000}

@media(max-width:1100px){.r20-category-grid{grid-template-columns:repeat(4,1fr)}.r20-mainbar-inner{grid-template-columns:140px minmax(280px,1fr) 220px;gap:14px}.r20-category-nav-inner{gap:18px}.red20-2026-ui .red20-home-content .r20-product-card{width:25%}}
@media(max-width:991.98px){
  .red20-2026-ui{padding-bottom:68px!important}.red20-2026-ui .container{padding-left:10px!important;padding-right:10px!important}
  .r20-topbar,.r20-category-nav,.r20-actions{display:none!important}.r20-mainbar{box-shadow:0 1px 0 var(--r20-line)}.r20-mainbar-inner{height:auto;min-height:60px;grid-template-columns:102px minmax(0,1fr)!important;padding-top:9px!important;padding-bottom:9px!important;gap:8px!important}.r20-logo img{max-width:95px;max-height:38px}.r20-search{height:42px;border-width:1.5px;border-radius:11px}.r20-search input{font-size:12px;padding:0 10px}.r20-search button{width:42px;padding:0}.r20-search-text{display:none}.r20-search button i{display:block}
  .r20-home-reference{padding-top:10px}.r20-hero{min-height:175px;padding:23px 20px;border-radius:16px}.r20-hero h1{font-size:27px!important;max-width:78%}.r20-hero p{font-size:12px;max-width:78%;line-height:1.45}.r20-hero-btn{font-size:11px;padding:10px 13px}.r20-hero-watermark{font-size:185px;top:-15px;right:-8px}.r20-eyebrow{font-size:9px}
  .r20-service-strip{grid-template-columns:repeat(2,1fr);padding:4px;margin-top:10px}.r20-service-strip>div{padding:10px 4px;font-size:10px}.r20-service-strip>div:nth-child(2){border-right:0}.r20-section-head h2{font-size:18px!important}.r20-category-grid{display:flex;overflow-x:auto;gap:8px;padding-bottom:3px;scrollbar-width:none}.r20-category-grid::-webkit-scrollbar{display:none}.r20-category-card{min-width:90px;min-height:98px;border-radius:13px}.r20-category-image{height:58px}.r20-category-image img{max-height:52px}.r20-category-card strong{font-size:10px}.r20-real-promo{margin-top:12px}.r20-real-promo img{max-height:180px;border-radius:13px}
  .red20-2026-ui .red20-home-content{padding-left:10px!important;padding-right:10px!important}.red20-2026-ui .red20-home-content .featured-section-title h3,.red20-2026-ui .red20-home-content .featured-section-title .section-title{font-size:18px!important}.red20-2026-ui .red20-home-content .featured-section-title h6{display:none}.red20-2026-ui .red20-home-content .r20-product-card{width:50%!important;flex:0 0 50%!important;max-width:50%!important;padding-left:4px!important;padding-right:4px!important}.red20-2026-ui .red20-home-content>.wrapper>.grid>.row{margin-left:-4px;margin-right:-4px;row-gap:8px}.red20-2026-ui .r20-product-card>figure{height:145px!important;padding:9px!important;border-radius:13px 13px 0 0!important}.red20-2026-ui .r20-product-card .fig_image{max-height:127px!important}.red20-2026-ui .r20-product-card .post-header{border-radius:0 0 13px 13px;padding:8px!important;min-height:140px}.red20-2026-ui .r20-product-card .post-title{font-size:11.5px!important;height:32px!important;min-height:32px!important}.red20-2026-ui .r20-product-card .price{font-size:14px!important}.r20-add-btn{height:31px;font-size:10px}.r20-rating-line{font-size:9px}.red20-2026-ui .r20-product-card .desktop_quick_view{right:6px!important;top:6px!important}.red20-2026-ui .r20-product-card .desktop_quick_view>a:not(.add_to_cart){width:30px!important;height:30px!important;min-width:30px!important}.red20-2026-ui .r20-product-card .sale_tag{left:6px!important;top:6px!important;padding:4px 6px!important;font-size:8px!important}
  .red20-mobile-nav{height:64px!important;background:#fff!important;border-top:1px solid var(--r20-line)!important;box-shadow:none!important}.red20-mobile-nav .red20-mobile-search-trigger{margin-top:0!important}.red20-mobile-nav .red20-mobile-search-circle{width:auto!important;height:auto!important;border:0!important;background:transparent!important;color:#747b82!important;box-shadow:none!important}.red20-mobile-nav a,.red20-mobile-nav button{font-size:9px!important}.red20-mobile-nav a i,.red20-mobile-nav button>i,.red20-mobile-nav .red20-mobile-search-circle i{font-size:19px!important}.red20-mobile-nav a.active{color:var(--r20-orange)!important}
}
@media(max-width:575.98px){.r20-hero p{max-width:74%}.r20-service-strip i{font-size:15px}.r20-home-reference>section.mt-3>.container{padding-left:8px!important;padding-right:8px!important}}


/* v2: unified dynamic sections + guaranteed Explore More visibility */
.r20-unified-sections{margin-top:22px!important;padding-top:0!important}.r20-market-section{margin-top:22px}.r20-market-section:first-of-type{margin-top:0}.r20-market-head{margin-bottom:12px!important}.r20-market-head>div{min-width:0}.r20-market-head h2{margin:0!important;font-size:24px!important;font-weight:850!important;color:#20242a}.r20-market-head p{margin:3px 0 0;color:#69707d;font-size:12px;line-height:1.45}.r20-view-all{white-space:nowrap;color:var(--r20-orange)!important;font-weight:850;font-size:13px;text-decoration:none!important}.r20-explore-section{background:linear-gradient(180deg,#fff9f5 0,#f5f6f8 100%);border:1px solid #ffe2d2;border-radius:18px;padding:16px}.r20-explore-section .r20-market-head h2:before{content:'✦';color:var(--r20-orange);font-size:17px;margin-right:7px;vertical-align:2px}
.r20-market-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.r20-market-card{background:#fff;border:1px solid var(--r20-line);border-radius:16px;overflow:hidden;min-width:0;transition:.18s ease}.r20-market-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000000b;border-color:#ddd}.r20-market-pic{height:205px;background:#fafafa;display:flex;align-items:center;justify-content:center;padding:14px;position:relative;overflow:hidden}.r20-market-image-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.r20-market-pic img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.r20-market-sale{position:absolute;left:10px;top:10px;background:#e7332b;color:#fff;font-size:10px;font-weight:900;padding:5px 7px;border-radius:7px;z-index:2}.r20-market-heart{position:absolute;right:10px;top:8px;width:32px;height:32px;border:1px solid var(--r20-line);border-radius:50%;background:#fff;color:#555!important;font-size:18px;display:flex;align-items:center;justify-content:center;text-decoration:none!important;z-index:2}.r20-market-heart.is-favorite{color:#e7332b!important}.r20-market-body{padding:11px 12px 12px}.r20-market-body h3{font-size:13px;line-height:1.35;margin:0;height:36px;overflow:hidden;font-weight:650}.r20-market-body h3 a{color:#20242a!important;text-decoration:none!important}.r20-market-price{display:flex;gap:7px;align-items:baseline;min-height:24px}.r20-market-price strong{font-size:17px;font-weight:850;color:#20242a}.r20-market-price del{font-size:10px;color:#999}.r20-offer-banner{margin:18px 0}.r20-offer-banner img{width:100%;display:block;max-height:280px;object-fit:cover;border-radius:16px;background:#fff}
@media(max-width:1100px){.r20-market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:991.98px){.r20-market-head h2{font-size:18px!important}.r20-market-head p{display:none}.r20-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.r20-market-card{border-radius:13px}.r20-market-pic{height:145px;padding:9px}.r20-market-body{padding:8px}.r20-market-body h3{font-size:11.5px;height:32px}.r20-market-price strong{font-size:14px}.r20-market-sale{left:6px;top:6px;padding:4px 6px;font-size:8px}.r20-market-heart{right:6px;top:6px;width:30px;height:30px}.r20-explore-section{border-radius:14px;padding:10px}.r20-offer-banner{margin:12px 0}.r20-offer-banner img{max-height:180px;border-radius:13px}}
