/* MeHome TOCO Red/Gold UI R3 consolidated. R2 visual foundation is embedded below; R3 repair rules are last. */
/* ======================================================================
   MeHome TOCO-inspired Red / Gold UI R1
   Presentation-only layer for MEHOME-PATCH-20260904-CHECKOUT-INTEGRITY-R3
   Loaded last so application flow, form names, IDs, AJAX payloads and PHP
   business logic stay untouched.
   ====================================================================== */
:root{
  --rg-red-950:#52040a;
  --rg-red-900:#6f0710;
  --rg-red-800:#8b0b14;
  --rg-red-700:#aa111b;
  --rg-red-600:#c51b26;
  --rg-red-500:#dc2933;
  --rg-gold-700:#9b6a05;
  --rg-gold-600:#b78108;
  --rg-gold-500:#d7a21e;
  --rg-gold-400:#e7ba43;
  --rg-gold-300:#f0cd70;
  --rg-gold-100:#fff4cf;
  --rg-ink:#201b17;
  --rg-muted:#756d65;
  --rg-soft:#f7f5f1;
  --rg-soft-2:#fbfaf8;
  --rg-card:#ffffff;
  --rg-line:#ebe6dc;
  --rg-line-strong:#ded5c4;
  --rg-success:#16834a;
  --rg-danger:#c62828;
  --rg-warning:#a96705;
  --rg-shadow:0 10px 28px rgba(52,31,19,.07);
  --rg-shadow-lg:0 22px 55px rgba(58,28,20,.13);
  --rg-radius:14px;
  --rg-radius-lg:20px;
  --rg-gradient:linear-gradient(118deg,var(--rg-red-900) 0%,var(--rg-red-700) 55%,var(--rg-gold-500) 100%);
  --rg-gradient-hover:linear-gradient(118deg,#5d050c 0%,#981019 54%,#c28e0c 100%);
  --primary-blue:var(--rg-red-700)!important;
  --primary-hover:var(--rg-red-900)!important;
  --primary:var(--rg-red-700)!important;
  --accent-orange:var(--rg-gold-500)!important;
  --bg-light:var(--rg-soft)!important;
  --border-color:var(--rg-line)!important;
}

html{scroll-behavior:smooth;background:var(--rg-soft)}
body.toco-redgold-ui,
body.member-site.toco-redgold-ui{
  margin:0;
  background:var(--rg-soft)!important;
  color:var(--rg-ink)!important;
  font-family:"Inter","Plus Jakarta Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.toco-redgold-ui *{box-sizing:border-box}
body.toco-redgold-ui a{transition:color .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
body.toco-redgold-ui img{max-width:100%}
body.toco-redgold-ui button,
body.toco-redgold-ui input,
body.toco-redgold-ui select,
body.toco-redgold-ui textarea{font:inherit}
body.toco-redgold-ui button{touch-action:manipulation}
body.toco-redgold-ui .container{width:min(100% - 32px,1240px)!important;max-width:1240px!important;margin-inline:auto!important;padding-inline:0!important}

/* ---------- Header / TOCO-style marketplace shell ---------- */
body.toco-redgold-ui .top-bar{
  min-height:30px!important;
  padding:5px 0!important;
  border:0!important;
  background:var(--rg-gradient)!important;
  color:#fff!important;
  font-size:11px!important;
  letter-spacing:.01em;
}
body.toco-redgold-ui .top-bar .tb-location,
body.toco-redgold-ui .top-bar .tb-hours,
body.toco-redgold-ui .top-bar .divider,
body.toco-redgold-ui .top-bar a{color:#fff!important;opacity:.96}
body.toco-redgold-ui .top-bar a:hover{opacity:1;text-decoration:underline}
body.toco-redgold-ui .main-header{
  top:0!important;
  z-index:9000!important;
  padding:12px 0!important;
  min-height:68px!important;
  background:rgba(255,255,255,.98)!important;
  border:0!important;
  border-bottom:1px solid var(--rg-line)!important;
  box-shadow:0 6px 20px rgba(43,28,17,.055)!important;
  backdrop-filter:saturate(140%) blur(10px);
}
body.toco-redgold-ui .header-wrap{gap:18px!important;min-height:44px}
body.toco-redgold-ui .logo-brand{min-width:150px;justify-content:flex-start}
body.toco-redgold-ui .logo-brand .logo-desktop{height:40px!important;max-width:190px!important}
body.toco-redgold-ui .logo-brand .logo-mobile{height:36px!important}
body.toco-redgold-ui .search-bar{
  height:44px!important;
  display:flex!important;
  align-items:center!important;
  padding:0 5px 0 16px!important;
  border:1px solid var(--rg-line-strong)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(42,29,17,.035)!important;
  overflow:hidden;
}
body.toco-redgold-ui .search-bar:focus-within{
  border-color:var(--rg-gold-500)!important;
  box-shadow:0 0 0 3px rgba(215,162,30,.13)!important;
}
body.toco-redgold-ui .search-bar input{
  height:42px!important;
  padding:0!important;
  font-size:13px!important;
  color:var(--rg-ink)!important;
}
body.toco-redgold-ui .search-bar input::placeholder{color:#9d968e}
body.toco-redgold-ui .search-bar button{
  width:38px!important;height:34px!important;padding:0!important;
  display:grid!important;place-items:center!important;
  border-radius:9px!important;
  background:var(--rg-gradient)!important;
  color:#fff!important;
}
body.toco-redgold-ui .search-bar button:hover{background:var(--rg-gradient-hover)!important}
body.toco-redgold-ui .header-actions{gap:9px!important;flex:0 0 auto}
body.toco-redgold-ui .action-item,
body.toco-redgold-ui .btn-user-dropdown{
  min-height:40px;
  color:var(--rg-ink)!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.toco-redgold-ui .action-item{
  border:1px solid transparent;
  border-radius:11px;
  padding:4px 8px;
}
body.toco-redgold-ui .action-item:hover,
body.toco-redgold-ui .btn-user-dropdown:hover{background:#fff8e7;color:var(--rg-red-800)!important}
body.toco-redgold-ui .cart-item .blue-cart-main{fill:var(--rg-red-700)!important}
body.toco-redgold-ui .cart-item .blue-cart-light{fill:var(--rg-gold-400)!important}
body.toco-redgold-ui .cart-item .blue-cart-wheel{fill:#4a3d31!important}
body.toco-redgold-ui .cart-badge{
  top:-2px!important;right:-1px!important;min-width:17px!important;height:17px!important;
  padding:0 4px!important;border:2px solid #fff!important;border-radius:999px!important;
  background:var(--rg-red-600)!important;font-size:9px!important;
}
body.toco-redgold-ui .user-icon svg{fill:var(--rg-red-700)!important}
body.toco-redgold-ui .user-dropdown-menu{
  min-width:230px!important;
  top:calc(100% + 10px)!important;
  padding:8px!important;
  border:1px solid var(--rg-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:var(--rg-shadow-lg)!important;
  overflow:hidden;
}
body.toco-redgold-ui .dropdown-item{
  min-height:39px!important;padding:8px 10px!important;border-radius:9px!important;
  color:#4d443c!important;font-size:12px!important;
}
body.toco-redgold-ui .dropdown-item:hover{background:#fff4d4!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .dropdown-item.logout-link{color:#b4232d!important}

/* Secondary marketplace navigation */
.toco-market-nav{background:#fff;border-bottom:1px solid var(--rg-line);position:relative;z-index:8500}
.toco-market-nav-inner{width:min(100% - 32px,1240px);margin:auto;display:flex;align-items:center;gap:3px;overflow:auto;scrollbar-width:none;padding:7px 0}
.toco-market-nav-inner::-webkit-scrollbar{display:none}
.toco-market-nav a{flex:0 0 auto;padding:7px 11px;border-radius:8px;color:#625950;font-size:11px;font-weight:700;white-space:nowrap}
.toco-market-nav a:hover,.toco-market-nav a.is-accent{background:#fff5d8;color:var(--rg-red-800)}
.toco-market-nav a.is-accent{font-weight:800}
.toco-market-nav .market-dot{width:4px;height:4px;border-radius:50%;background:var(--rg-gold-500);margin-inline:2px}

/* ---------- Generic page/card/form system ---------- */
body.toco-redgold-ui .mh-section,
body.toco-redgold-ui .section-card,
body.toco-redgold-ui .card,
body.toco-redgold-ui .co-card,
body.toco-redgold-ui .summary-box,
body.toco-redgold-ui .cart-box,
body.toco-redgold-ui .member-content-card,
body.toco-redgold-ui .ph-panel,
body.toco-redgold-ui .ph-order-card,
body.toco-redgold-ui .os-card{
  border:1px solid var(--rg-line)!important;
  background:#fff!important;
  border-radius:var(--rg-radius)!important;
  box-shadow:none!important;
}
body.toco-redgold-ui h1,body.toco-redgold-ui h2,body.toco-redgold-ui h3,body.toco-redgold-ui h4{color:#2c241e;letter-spacing:-.015em}
body.toco-redgold-ui .section-title,
body.toco-redgold-ui .member-page-title{font-weight:800!important;color:#2b241e!important}
body.toco-redgold-ui input:not([type=checkbox]):not([type=radio]),
body.toco-redgold-ui select,
body.toco-redgold-ui textarea,
body.toco-redgold-ui .form-control{
  border:1px solid var(--rg-line-strong)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--rg-ink)!important;
  outline:0!important;
  box-shadow:none!important;
}
body.toco-redgold-ui input:not([type=checkbox]):not([type=radio]):focus,
body.toco-redgold-ui select:focus,
body.toco-redgold-ui textarea:focus,
body.toco-redgold-ui .form-control:focus{
  border-color:var(--rg-gold-500)!important;
  box-shadow:0 0 0 3px rgba(215,162,30,.12)!important;
}
body.toco-redgold-ui .btn,
body.toco-redgold-ui .btn-primary,
body.toco-redgold-ui .primary-btn,
body.toco-redgold-ui .btn-submit-blue,
body.toco-redgold-ui .pay-btn,
body.toco-redgold-ui .checkout-btn,
body.toco-redgold-ui .mobile-buy-btn,
body.toco-redgold-ui .btn-buy-now,
body.toco-redgold-ui .btn-submit-register,
body.toco-redgold-ui .reset-submit,
body.toco-redgold-ui .voucher-use{
  border:0!important;
  border-radius:10px!important;
  background:var(--rg-gradient)!important;
  color:#fff!important;
  font-weight:800!important;
  box-shadow:0 8px 18px rgba(139,11,20,.12)!important;
}
body.toco-redgold-ui .btn:hover,
body.toco-redgold-ui .btn-primary:hover,
body.toco-redgold-ui .primary-btn:hover,
body.toco-redgold-ui .btn-submit-blue:hover,
body.toco-redgold-ui .pay-btn:hover,
body.toco-redgold-ui .checkout-btn:hover,
body.toco-redgold-ui .mobile-buy-btn:hover,
body.toco-redgold-ui .btn-buy-now:hover,
body.toco-redgold-ui .voucher-use:hover{background:var(--rg-gradient-hover)!important;transform:translateY(-1px)}
body.toco-redgold-ui .btn-add-cart,
body.toco-redgold-ui .secondary-btn,
body.toco-redgold-ui .outline-btn,
body.toco-redgold-ui .continue-shopping{
  border:1px solid var(--rg-red-700)!important;
  border-radius:10px!important;background:#fff!important;color:var(--rg-red-800)!important;font-weight:800!important;
}
body.toco-redgold-ui .btn-add-cart:hover,
body.toco-redgold-ui .secondary-btn:hover,
body.toco-redgold-ui .outline-btn:hover,
body.toco-redgold-ui .continue-shopping:hover{background:#fff3d4!important;border-color:var(--rg-gold-600)!important}
body.toco-redgold-ui .badge,
body.toco-redgold-ui .campaign-badge,
body.toco-redgold-ui .pc-badge{border-radius:6px!important;font-weight:800!important}
body.toco-redgold-ui .campaign-promo,
body.toco-redgold-ui .pc-badge.promo{background:#fff1cf!important;color:#8d5c00!important;border:1px solid #f0cd70!important}
body.toco-redgold-ui .campaign-flash,
body.toco-redgold-ui .pc-badge.flash{background:#9e111c!important;color:#fff!important;border:0!important}

/* ---------- Home ---------- */
body.toco-redgold-ui.home-page{background:#f7f5f1!important}
body.toco-redgold-ui .hero-section{padding:16px 0 8px!important}
body.toco-redgold-ui .hero-grid-container{gap:12px!important}
body.toco-redgold-ui .hero-main-slider,
body.toco-redgold-ui .side-banner-item{
  overflow:hidden!important;border-radius:16px!important;background:#fff!important;border:1px solid var(--rg-line)!important;box-shadow:0 8px 20px rgba(58,41,24,.055)!important;
}
body.toco-redgold-ui .banner-full-img{display:block;width:100%;height:100%;object-fit:cover}
body.toco-redgold-ui .swiper-button-next,
body.toco-redgold-ui .swiper-button-prev{
  width:34px!important;height:34px!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:var(--rg-red-800)!important;box-shadow:0 4px 14px rgba(0,0,0,.1)!important;
}
body.toco-redgold-ui .swiper-button-next:after,
body.toco-redgold-ui .swiper-button-prev:after{font-size:13px!important;font-weight:900!important}
body.toco-redgold-ui .swiper-pagination-bullet-active{background:var(--rg-red-700)!important}
body.toco-redgold-ui .category-section,
body.toco-redgold-ui .feature-bar-section,
body.toco-redgold-ui .home-new-items,
body.toco-redgold-ui .home-recommendations{margin-top:14px!important}
body.toco-redgold-ui .category-section>.container,
body.toco-redgold-ui .feature-bar-section>.container,
body.toco-redgold-ui .home-new-items.container,
body.toco-redgold-ui .home-recommendations.container{
  background:#fff;border:1px solid var(--rg-line);border-radius:16px;padding:16px!important;
}
body.toco-redgold-ui .category-header,
body.toco-redgold-ui .section-header{margin-bottom:12px!important}
body.toco-redgold-ui .category-title,
body.toco-redgold-ui .section-title{font-size:18px!important}
body.toco-redgold-ui .category-card{
  min-width:94px!important;padding:8px 5px!important;border:0!important;border-radius:12px!important;background:#fff!important;
}
body.toco-redgold-ui .category-card:hover{background:#fff8e8!important;transform:translateY(-2px)}
body.toco-redgold-ui .category-img-wrapper{
  width:66px!important;height:66px!important;margin:0 auto 7px!important;border-radius:14px!important;background:#fff9e8!important;border:1px solid #f3e4b6!important;padding:7px!important;
}
body.toco-redgold-ui .category-name{font-size:11px!important;color:#49413a!important;font-weight:700!important;line-height:1.3!important}
body.toco-redgold-ui .cat-nav-btn{width:34px!important;height:34px!important;border:1px solid var(--rg-line)!important;background:#fff!important;color:var(--rg-red-700)!important;box-shadow:0 4px 14px rgba(54,35,18,.08)!important}
body.toco-redgold-ui .feature-bar-grid{gap:10px!important}
body.toco-redgold-ui .feature-item{border:1px solid var(--rg-line)!important;border-radius:12px!important;padding:12px!important;background:#fff!important}
body.toco-redgold-ui .feature-icon-wrap{background:#fff4d1!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .feature-title{font-size:12px!important;color:#332a23!important}
body.toco-redgold-ui .feature-desc{font-size:10px!important;color:var(--rg-muted)!important}

/* Product cards - compact TOCO marketplace treatment */
body.toco-redgold-ui .product-grid,
body.toco-redgold-ui .recommendation-grid,
body.toco-redgold-ui .products-grid,
body.toco-redgold-ui .rec-grid{gap:12px!important}
body.toco-redgold-ui .product-card,
body.toco-redgold-ui .pc-card,
body.toco-redgold-ui .rec-card,
body.toco-redgold-ui .fs-product-card{
  position:relative!important;overflow:hidden!important;
  border:1px solid var(--rg-line)!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;
}
body.toco-redgold-ui .product-card:hover,
body.toco-redgold-ui .pc-card:hover,
body.toco-redgold-ui .rec-card:hover,
body.toco-redgold-ui .fs-product-card:hover{border-color:#dfc784!important;box-shadow:0 10px 24px rgba(53,36,20,.09)!important;transform:translateY(-2px)}
body.toco-redgold-ui .product-image-wrap,
body.toco-redgold-ui .pc-image,
body.toco-redgold-ui .rec-image-wrap,
body.toco-redgold-ui .fs-img-container{background:#faf9f6!important;aspect-ratio:1/1!important;overflow:hidden!important}
body.toco-redgold-ui .product-image-wrap img,
body.toco-redgold-ui .pc-image img,
body.toco-redgold-ui .rec-image-wrap img,
body.toco-redgold-ui .fs-product-img{width:100%!important;height:100%!important;object-fit:contain!important;padding:8px!important;transition:transform .2s ease!important}
body.toco-redgold-ui .product-card:hover img,
body.toco-redgold-ui .pc-card:hover img,
body.toco-redgold-ui .rec-card:hover img{transform:scale(1.025)}
body.toco-redgold-ui .product-info,
body.toco-redgold-ui .pc-info,
body.toco-redgold-ui .rec-info,
body.toco-redgold-ui .fs-product-info{padding:10px 10px 12px!important}
body.toco-redgold-ui .product-title,
body.toco-redgold-ui .pc-title,
body.toco-redgold-ui .rec-title,
body.toco-redgold-ui .fs-product-title{
  min-height:34px!important;margin:0 0 7px!important;font-size:12px!important;line-height:1.4!important;font-weight:600!important;color:#332b25!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
body.toco-redgold-ui .product-price,
body.toco-redgold-ui .pc-price,
body.toco-redgold-ui .rec-price,
body.toco-redgold-ui .fs-product-price{font-size:14px!important;line-height:1.2!important;font-weight:900!important;color:var(--rg-red-700)!important}
body.toco-redgold-ui .product-original,
body.toco-redgold-ui .pc-old,
body.toco-redgold-ui .fs-old-price{font-size:10px!important;color:#aaa19a!important}
body.toco-redgold-ui .product-discount,
body.toco-redgold-ui .fs-discount-badge{background:#fff1cd!important;color:#875600!important;border:1px solid #efd077!important;border-radius:5px!important}
body.toco-redgold-ui .product-rating,
body.toco-redgold-ui .pc-stars{font-size:10px!important;color:#8a8179!important}
body.toco-redgold-ui .catalog-add-cart{border-radius:8px!important;border:1px solid #e8d7ab!important;background:#fff9e9!important;color:var(--rg-red-800)!important;font-weight:800!important}
body.toco-redgold-ui .catalog-add-cart:hover{background:var(--rg-red-700)!important;color:#fff!important;border-color:var(--rg-red-700)!important}

/* Flash sale */
body.toco-redgold-ui .fs-section-header{background:var(--rg-gradient)!important;border-radius:14px 14px 0 0!important;color:#fff!important}
body.toco-redgold-ui .fs-title,.text-flash,.text-sale{color:#fff!important}
body.toco-redgold-ui .fs-timer-digit{background:#fff!important;color:var(--rg-red-800)!important;border-radius:5px!important}
body.toco-redgold-ui .fs-sold-overlay{background:rgba(75,6,10,.76)!important}

/* ---------- Products listing / category ---------- */
body.toco-redgold-ui .products-page,
body.toco-redgold-ui .category-page,
body.toco-redgold-ui .product-detail-page,
body.toco-redgold-ui .cart-page,
body.toco-redgold-ui .co-page,
body.toco-redgold-ui .os-page{padding-block:18px 32px!important}
body.toco-redgold-ui .products-breadcrumb,
body.toco-redgold-ui .detail-breadcrumb,
body.toco-redgold-ui .os-crumb{color:#8c837a!important;font-size:11px!important;margin-bottom:12px!important}
body.toco-redgold-ui .products-toolbar,
body.toco-redgold-ui .category-top{
  border:1px solid var(--rg-line)!important;border-radius:12px!important;background:#fff!important;padding:10px 12px!important;box-shadow:none!important;
}
body.toco-redgold-ui .new-hero{border:1px solid #eedcae!important;border-radius:15px!important;background:linear-gradient(135deg,#fff9e7 0%,#fff 62%,#fff0c0 100%)!important;overflow:hidden!important}
body.toco-redgold-ui .new-ribbon,.new-seal{background:var(--rg-gradient)!important;color:#fff!important}
body.toco-redgold-ui .new-tabs a,.body.toco-redgold-ui .new-tabs button{border-radius:9px!important}
body.toco-redgold-ui .root-category-bar{border:1px solid var(--rg-line)!important;border-radius:12px!important;background:#fff!important}
body.toco-redgold-ui .root-cat{border-radius:9px!important;color:#625950!important}
body.toco-redgold-ui .root-cat.active,
body.toco-redgold-ui .root-cat:hover{background:#fff2cf!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .category-layout{gap:16px!important}
body.toco-redgold-ui .filter-sidebar{border:1px solid var(--rg-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
body.toco-redgold-ui .filter-section{border-color:var(--rg-line)!important}
body.toco-redgold-ui .filter-section-title,
body.toco-redgold-ui .category-heading{color:#3c332b!important;font-weight:800!important}
body.toco-redgold-ui .category-filter-link:hover,
body.toco-redgold-ui .category-filter-link.active{color:var(--rg-red-700)!important;background:#fff6dc!important}
body.toco-redgold-ui .price-apply{background:var(--rg-gradient)!important;color:#fff!important;border:0!important;border-radius:9px!important}
body.toco-redgold-ui .pagination-btn,
body.toco-redgold-ui .page-btn,
body.toco-redgold-ui .page-num-produk{border-radius:8px!important;border:1px solid var(--rg-line)!important;background:#fff!important;color:#655c53!important}
body.toco-redgold-ui .pagination-btn.active,
body.toco-redgold-ui .page-btn.active,
body.toco-redgold-ui .page-num-produk.active-produk{background:var(--rg-red-700)!important;color:#fff!important;border-color:var(--rg-red-700)!important}

/* ---------- Product detail ---------- */
body.toco-redgold-ui .product-detail-content{gap:20px!important;align-items:start!important}
body.toco-redgold-ui .gallery-wrap,
body.toco-redgold-ui .detail-info-column,
body.toco-redgold-ui .purchase-card,
body.toco-redgold-ui .detail-section{
  border:1px solid var(--rg-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;
}
body.toco-redgold-ui .gallery-wrap{padding:12px!important;position:sticky!important;top:132px!important}
body.toco-redgold-ui .main-img-box{border:0!important;border-radius:12px!important;background:#faf9f6!important;overflow:hidden!important}
body.toco-redgold-ui .thumb-img{border-radius:9px!important;border-color:var(--rg-line)!important}
body.toco-redgold-ui .thumb-img.active{border-color:var(--rg-red-700)!important;box-shadow:0 0 0 2px rgba(170,17,27,.1)!important}
body.toco-redgold-ui .detail-info-column{padding:18px!important}
body.toco-redgold-ui .product-title-main{font-size:21px!important;line-height:1.35!important;color:#2c251f!important;font-weight:800!important}
body.toco-redgold-ui .price-main{color:var(--rg-red-700)!important;font-size:25px!important;font-weight:900!important}
body.toco-redgold-ui .price-original{color:#aaa19a!important}
body.toco-redgold-ui .badge-discount{background:#fff0cb!important;color:#8a5800!important}
body.toco-redgold-ui .variant-options{gap:7px!important}
body.toco-redgold-ui .btn-variant{border:1px solid var(--rg-line-strong)!important;border-radius:9px!important;background:#fff!important;color:#544a42!important}
body.toco-redgold-ui .btn-variant:hover,
body.toco-redgold-ui .btn-variant.active{border-color:var(--rg-red-700)!important;background:#fff5d8!important;color:var(--rg-red-800)!important;box-shadow:0 0 0 1px rgba(170,17,27,.06)!important}
body.toco-redgold-ui .purchase-card{padding:15px!important;position:sticky!important;top:132px!important}
body.toco-redgold-ui .qty-control,.body.toco-redgold-ui .qty-picker{border-color:var(--rg-line)!important;border-radius:9px!important}
body.toco-redgold-ui .detail-wishlist-btn,
body.toco-redgold-ui .share-btn{border:1px solid var(--rg-line)!important;background:#fff!important;color:#6d6259!important;border-radius:9px!important}
body.toco-redgold-ui .shipping-box{border-radius:11px!important;background:#fbfaf7!important;border:1px solid var(--rg-line)!important}
body.toco-redgold-ui .shipping-price{color:var(--rg-red-700)!important}
body.toco-redgold-ui .verified-badge{background:#edf8f1!important;color:#16754a!important}

/* ---------- Cart ---------- */
body.toco-redgold-ui .cart-title{font-size:21px!important;margin-bottom:14px!important}
body.toco-redgold-ui .cart-layout{gap:16px!important;align-items:start!important}
body.toco-redgold-ui .cart-box{padding:0!important;overflow:hidden!important}
body.toco-redgold-ui .cart-toolbar{padding:12px 14px!important;background:#fff!important;border-bottom:1px solid var(--rg-line)!important}
body.toco-redgold-ui .cart-item-box{padding:14px!important;border-bottom:1px solid var(--rg-line)!important;background:#fff!important}
body.toco-redgold-ui .cart-item-box:last-child{border-bottom:0!important}
body.toco-redgold-ui .cart-img-wrap{width:90px!important;height:90px!important;border-radius:10px!important;background:#faf9f6!important;border:1px solid #f0ece4!important;overflow:hidden!important}
body.toco-redgold-ui .cart-product-title{font-size:13px!important;color:#342c25!important;font-weight:700!important}
body.toco-redgold-ui .cart-price,.body.toco-redgold-ui .cart-mobile-price{color:var(--rg-red-700)!important;font-weight:900!important}
body.toco-redgold-ui .qty-control{background:#fff!important;border:1px solid var(--rg-line-strong)!important}
body.toco-redgold-ui .summary-box{padding:16px!important;position:sticky!important;top:132px!important}
body.toco-redgold-ui .summary-title{font-size:15px!important;font-weight:800!important}
body.toco-redgold-ui .summary-total{border-top:1px solid var(--rg-line)!important;color:#2f2822!important}
body.toco-redgold-ui .delete-modal-backdrop{background:rgba(29,17,12,.55)!important;backdrop-filter:blur(2px)}
body.toco-redgold-ui .delete-modal-box{border-radius:18px!important;box-shadow:var(--rg-shadow-lg)!important}

/* ---------- Checkout ---------- */
body.toco-redgold-ui .co-wrap{width:min(100% - 32px,1180px)!important;margin:auto!important}
body.toco-redgold-ui .co-title{font-size:22px!important;color:#2f271f!important}
body.toco-redgold-ui .co-progress-wrap{padding:13px 16px!important;border:1px solid var(--rg-line)!important;background:#fff!important;border-radius:13px!important}
body.toco-redgold-ui .co-step.active,
body.toco-redgold-ui .co-step.current{color:var(--rg-red-700)!important}
body.toco-redgold-ui .co-step.active:before,
body.toco-redgold-ui .co-step.current:before{background:var(--rg-gradient)!important}
body.toco-redgold-ui .co-grid{gap:16px!important;align-items:start!important}
body.toco-redgold-ui .co-card{overflow:hidden!important}
body.toco-redgold-ui .co-head{padding:13px 15px!important;background:#fff!important;border-bottom:1px solid var(--rg-line)!important;color:#332b24!important;font-size:14px!important;font-weight:800!important}
body.toco-redgold-ui .co-body{padding:14px 15px!important}
body.toco-redgold-ui .co-summary{position:sticky!important;top:132px!important}
body.toco-redgold-ui .address-box{border:1px solid #ead9ae!important;background:#fffaf0!important;border-radius:11px!important}
body.toco-redgold-ui .change-address,
body.toco-redgold-ui .voucher-view-btn{color:var(--rg-red-700)!important;font-weight:800!important}
body.toco-redgold-ui .ship-list{display:grid!important;gap:8px!important}
body.toco-redgold-ui .ship-list>label,
body.toco-redgold-ui .ship-list>.shipping-option{
  border:1px solid var(--rg-line)!important;border-radius:10px!important;background:#fff!important;
}
body.toco-redgold-ui .ship-list>label:hover{border-color:#d8b855!important;background:#fffaf0!important}
body.toco-redgold-ui .ship-cost{color:var(--rg-red-700)!important;font-weight:900!important}
body.toco-redgold-ui .voucher-entry{border:1px dashed #d9b958!important;background:#fffaf0!important;border-radius:10px!important;padding:10px!important}
body.toco-redgold-ui .voucher-ticket{border:1px solid #ead7a5!important;background:linear-gradient(135deg,#fffaf0,#fff)!important;border-radius:12px!important}
body.toco-redgold-ui .voucher-code{color:var(--rg-red-800)!important}
body.toco-redgold-ui .sum-total strong,
body.toco-redgold-ui .mobile-total{color:var(--rg-red-700)!important}
body.toco-redgold-ui .order-deadline{border-radius:10px!important;background:#fff5df!important;color:#8b5b0c!important;border:1px solid #f0d28f!important}

/* ---------- Order success ---------- */
body.toco-redgold-ui .os-wrap{width:min(100% - 32px,1000px)!important}
body.toco-redgold-ui .os-success{color:var(--rg-success)!important}
body.toco-redgold-ui .os-badge{background:#fff2cf!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .os-btn-primary{background:var(--rg-gradient)!important;color:#fff!important}

/* ---------- Unified modal system: auth/member/checkout/AJAX public ---------- */
body.toco-redgold-ui .modal-overlay,
body.toco-redgold-ui .custom-modal-overlay,
body.toco-redgold-ui .modal-backdrop,
body.toco-redgold-ui .co-cancel-modal,
body.toco-redgold-ui .co-result-modal,
body.toco-redgold-ui .voucher-modal{
  position:fixed!important;inset:0!important;z-index:12000!important;
  padding:20px!important;background:rgba(29,17,12,.55)!important;
  backdrop-filter:blur(3px)!important;
  align-items:center!important;justify-content:center!important;
}
body.toco-redgold-ui .modal-card,
body.toco-redgold-ui .custom-modal-card,
body.toco-redgold-ui .member-modal,
body.toco-redgold-ui .co-cancel-box,
body.toco-redgold-ui .co-result-box,
body.toco-redgold-ui .voucher-modal-box{
  width:min(100%,520px)!important;
  max-height:calc(100dvh - 40px)!important;
  overflow:auto!important;
  border:1px solid var(--rg-line)!important;border-radius:18px!important;
  background:#fff!important;box-shadow:0 28px 80px rgba(35,18,13,.24)!important;
}
body.toco-redgold-ui .modal-card{padding:28px!important}
body.toco-redgold-ui .modal-header-nav,
body.toco-redgold-ui .member-modal-header,
body.toco-redgold-ui .voucher-modal-head{border-color:var(--rg-line)!important}
body.toco-redgold-ui .modal-close,
body.toco-redgold-ui .custom-modal-close,
body.toco-redgold-ui .voucher-close,
body.toco-redgold-ui .co-close{
  border-radius:50%!important;color:#6c6259!important;background:#f7f4ee!important;
}
body.toco-redgold-ui .modal-close:hover,
body.toco-redgold-ui .custom-modal-close:hover,
body.toco-redgold-ui .voucher-close:hover,
body.toco-redgold-ui .co-close:hover{background:#fff0cd!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .btn-google-login,
body.toco-redgold-ui .btn-social-item{border:1px solid var(--rg-line-strong)!important;border-radius:10px!important;background:#fff!important;color:#473f38!important}
body.toco-redgold-ui .forgot-link,
body.toco-redgold-ui .sub-link a{color:var(--rg-red-700)!important}

/* ---------- Member area ---------- */
body.member-site.toco-redgold-ui .member-page-layout,
body.member-site.toco-redgold-ui .main-wrapper{
  width:min(100% - 32px,1180px)!important;
  margin:20px auto 34px!important;
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
}
body.member-site.toco-redgold-ui .member-sidebar{
  position:sticky!important;top:132px!important;
  padding:10px!important;border:1px solid var(--rg-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;
}
body.member-site.toco-redgold-ui .member-sidebar-title{padding:9px 10px 10px!important;color:#312820!important;font-size:13px!important;font-weight:900!important;border-bottom:1px solid var(--rg-line)!important}
body.member-site.toco-redgold-ui .sidebar-nav{display:grid!important;gap:2px!important;padding-top:7px!important}
body.member-site.toco-redgold-ui .member-nav-link{
  min-height:40px!important;padding:8px 9px!important;border-radius:9px!important;color:#62584f!important;font-size:11.5px!important;font-weight:650!important;
}
body.member-site.toco-redgold-ui .member-nav-icon{width:19px!important;height:19px!important;color:#877a6d!important}
body.member-site.toco-redgold-ui .member-nav-link:hover{background:#fff7e3!important;color:var(--rg-red-800)!important}
body.member-site.toco-redgold-ui .member-nav-link.active{background:linear-gradient(90deg,#fff1c8,#fff9e8)!important;color:var(--rg-red-800)!important;font-weight:850!important;box-shadow:inset 3px 0 0 var(--rg-red-700)!important}
body.member-site.toco-redgold-ui .member-nav-link.active .member-nav-icon{color:var(--rg-red-700)!important}
body.member-site.toco-redgold-ui .member-content-card{min-width:0!important;padding:18px!important}
body.member-site.toco-redgold-ui .member-page-title{font-size:19px!important;margin-bottom:14px!important}
body.member-site.toco-redgold-ui .profile-photo-card,
body.member-site.toco-redgold-ui .profile-section,
body.member-site.toco-redgold-ui .address-card,
body.member-site.toco-redgold-ui .wallet-balance,
body.member-site.toco-redgold-ui .wallet-history-section,
body.member-site.toco-redgold-ui .rr-card,
body.member-site.toco-redgold-ui .member-chat-card{
  border:1px solid var(--rg-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;
}
body.member-site.toco-redgold-ui .profile-action-btn,
body.member-site.toco-redgold-ui .address-save-btn,
body.member-site.toco-redgold-ui .rr-primary,
body.member-site.toco-redgold-ui .mh-btn-primary{background:var(--rg-gradient)!important;color:#fff!important;border:0!important;border-radius:9px!important}
body.member-site.toco-redgold-ui .primary-badge,
body.member-site.toco-redgold-ui .verified-badge{background:#fff0c7!important;color:#805200!important}
body.member-site.toco-redgold-ui .wallet-balance{background:var(--rg-gradient)!important;color:#fff!important;border:0!important}
body.member-site.toco-redgold-ui .wallet-balance *{color:inherit!important}
body.member-site.toco-redgold-ui .ph-status-nav{background:#fff!important;border:1px solid var(--rg-line)!important;border-radius:12px!important;overflow:auto!important;scrollbar-width:none!important}
body.member-site.toco-redgold-ui .ph-status-nav::-webkit-scrollbar{display:none}
body.member-site.toco-redgold-ui .ph-status{white-space:nowrap!important}
body.member-site.toco-redgold-ui .ph-status.active{color:var(--rg-red-700)!important;border-color:var(--rg-red-700)!important}
body.member-site.toco-redgold-ui .ph-order-card{overflow:hidden!important}
body.member-site.toco-redgold-ui .ph-order-top{background:#fbfaf7!important;border-color:var(--rg-line)!important}
body.member-site.toco-redgold-ui .ph-btn-pay,
body.member-site.toco-redgold-ui .ph-btn-complete,
body.member-site.toco-redgold-ui .ph-btn-detail{background:var(--rg-gradient)!important;color:#fff!important;border-color:transparent!important}
body.member-site.toco-redgold-ui .ph-btn-cancel,
body.member-site.toco-redgold-ui .danger-btn{border-color:#ecc6c9!important;color:#a51b25!important;background:#fff!important}
body.member-site.toco-redgold-ui .chat-window-bar{background:linear-gradient(90deg,#fff7e1,#fff)!important;border-color:var(--rg-line)!important}
body.member-site.toco-redgold-ui .chat-agent-avatar{background:var(--rg-gradient)!important;color:#fff!important}
body.member-site.toco-redgold-ui .chat-bubble.mine{background:#fff0c8!important;color:#44372d!important;border-color:#efd182!important}

/* ---------- Footer ---------- */
body.toco-redgold-ui .site-footer{margin-top:28px!important;background:#fff!important;border-top:1px solid var(--rg-line)!important;color:#5f564e!important}
body.toco-redgold-ui .footer-grid{padding-block:30px!important}
body.toco-redgold-ui .footer-col h4,
body.toco-redgold-ui .newsletter-title,
body.toco-redgold-ui .contact-header{color:#312820!important}
body.toco-redgold-ui .footer-col a:hover{color:var(--rg-red-700)!important}
body.toco-redgold-ui .newsletter-box,
body.toco-redgold-ui .contact-card{border:1px solid var(--rg-line)!important;border-radius:13px!important;background:#fbfaf7!important}
body.toco-redgold-ui .newsletter-input input{border-radius:9px 0 0 9px!important}
body.toco-redgold-ui .newsletter-input button{background:var(--rg-gradient)!important;color:#fff!important;border-radius:0 9px 9px 0!important}
body.toco-redgold-ui .footer-bottom{background:var(--rg-red-950)!important;color:#f4e9dc!important;border:0!important}

/* ---------- Auth standalone pages ---------- */
body.toco-redgold-ui.register-page,
body.toco-redgold-ui.toco-auth-page{background:radial-gradient(circle at 15% 10%,#fff0c7 0,transparent 28%),linear-gradient(160deg,#fff 0%,#faf7f2 55%,#f8efe4 100%)!important}
body.toco-redgold-ui .register-header{border-bottom:1px solid var(--rg-line)!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(10px)}
body.toco-redgold-ui .register-card-grid{
  border:1px solid var(--rg-line)!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(55,33,18,.11)!important;
}
body.toco-redgold-ui .register-info-side{background:linear-gradient(145deg,#6f0710 0%,#a8111b 62%,#d7a21e 130%)!important;color:#fff!important}
body.toco-redgold-ui .register-info-side .info-title,
body.toco-redgold-ui .register-info-side .info-desc{color:#fff!important}
body.toco-redgold-ui .login-redirect a{color:var(--rg-red-700)!important}
body.toco-redgold-ui .btn-back-arrow{border-color:var(--rg-line)!important;color:var(--rg-red-800)!important;background:#fff!important}
body.toco-redgold-ui .verification-card-content,
body.toco-redgold-ui .reset-card{background:#fff!important;border:1px solid var(--rg-line)!important;border-radius:20px!important;box-shadow:var(--rg-shadow-lg)!important;padding:32px!important}
body.toco-redgold-ui .verification-page-container{justify-content:center!important;padding-top:70px!important;padding-bottom:70px!important}
body.toco-redgold-ui .brand-logo-center{margin-bottom:18px!important}
body.toco-redgold-ui .single-otp-input:focus{border-color:var(--rg-gold-500)!important;box-shadow:0 0 0 4px rgba(215,162,30,.13)!important}
body.toco-redgold-ui .resend-code-btn,
body.toco-redgold-ui .reset-back{color:var(--rg-red-700)!important}

/* ---------- Mobile bottom nav ---------- */
.toco-mobile-nav{display:none}

/* ---------- Mobile / Tablet ---------- */
@media(max-width:1024px){
  body.toco-redgold-ui .container{width:min(100% - 24px,1240px)!important}
  .toco-market-nav-inner{width:calc(100% - 24px)}
  body.toco-redgold-ui .logo-brand{min-width:auto}
  body.toco-redgold-ui .header-actions .label,
  body.toco-redgold-ui .user-name{display:none!important}
  body.toco-redgold-ui .header-actions{gap:4px!important}
  body.toco-redgold-ui .action-item{padding:3px 5px!important}
  body.toco-redgold-ui .category-layout{grid-template-columns:220px minmax(0,1fr)!important}
  body.toco-redgold-ui .product-detail-content{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important}
  body.toco-redgold-ui .purchase-card{position:static!important}
}

@media(max-width:768px){
  body.toco-redgold-ui{padding-bottom:68px!important}
  body.toco-redgold-ui .top-bar{display:none!important}
  body.toco-redgold-ui .main-header{position:sticky!important;top:0!important;padding:9px 0 10px!important;min-height:96px!important}
  body.toco-redgold-ui .header-wrap{display:grid!important;grid-template-columns:auto 1fr auto!important;grid-template-rows:38px 42px!important;gap:7px 8px!important;align-items:center!important}
  body.toco-redgold-ui .logo-brand{grid-column:1/2!important;grid-row:1!important;order:unset!important}
  body.toco-redgold-ui .logo-brand .logo-mobile{display:block!important;height:34px!important;max-width:130px!important}
  body.toco-redgold-ui .logo-brand .logo-desktop{display:none!important}
  body.toco-redgold-ui .search-bar{grid-column:1/4!important;grid-row:2!important;order:unset!important;width:100%!important;height:40px!important;border-radius:10px!important}
  body.toco-redgold-ui .header-actions{grid-column:3/4!important;grid-row:1!important;order:unset!important;justify-self:end!important}
  body.toco-redgold-ui .cart-item{min-width:38px!important;justify-content:center!important}
  body.toco-redgold-ui .cart-item .icon svg{width:29px!important;height:26px!important}
  body.toco-redgold-ui .user-dropdown-container{display:flex!important}
  body.toco-redgold-ui .btn-user-dropdown{min-width:36px!important;justify-content:center!important}
  body.toco-redgold-ui .user-icon svg{width:24px!important;height:24px!important}
  .toco-market-nav{position:relative;z-index:8400}
  .toco-market-nav-inner{width:100%;padding:6px 12px;gap:2px}
  .toco-market-nav a{font-size:10px;padding:6px 9px}

  .toco-mobile-nav{
    display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:11000;
    min-height:60px;padding:5px 6px max(5px,env(safe-area-inset-bottom));
    background:rgba(255,255,255,.98);border-top:1px solid var(--rg-line);box-shadow:0 -8px 24px rgba(42,28,18,.08);backdrop-filter:blur(12px)
  }
  .toco-mobile-nav a,.toco-mobile-nav button{
    border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    min-width:0;padding:4px 1px;color:#766d65;text-decoration:none;font-size:9px;font-weight:700;line-height:1.15
  }
  .toco-mobile-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .toco-mobile-nav a:hover,.toco-mobile-nav button:hover{color:var(--rg-red-700)}
  .toco-mobile-nav .nav-cart-mobile{position:relative}
  .toco-mobile-nav .nav-cart-badge{position:absolute;top:1px;left:calc(50% + 7px);min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:var(--rg-red-600);color:#fff;font-size:8px;display:grid;place-items:center;border:1px solid #fff}

  body.toco-redgold-ui .hero-section{padding-top:10px!important}
  body.toco-redgold-ui .hero-grid-container{display:block!important}
  body.toco-redgold-ui .hero-main-slider{border-radius:12px!important}
  body.toco-redgold-ui .hero-side-banners{display:none!important}
  body.toco-redgold-ui .category-section>.container,
  body.toco-redgold-ui .feature-bar-section>.container,
  body.toco-redgold-ui .home-new-items.container,
  body.toco-redgold-ui .home-recommendations.container{width:calc(100% - 20px)!important;padding:12px!important;border-radius:13px!important}
  body.toco-redgold-ui .category-card{min-width:82px!important}
  body.toco-redgold-ui .category-img-wrapper{width:58px!important;height:58px!important}
  body.toco-redgold-ui .category-name{font-size:10px!important}
  body.toco-redgold-ui .feature-bar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.toco-redgold-ui .product-grid,
  body.toco-redgold-ui .recommendation-grid,
  body.toco-redgold-ui .products-grid,
  body.toco-redgold-ui .rec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.toco-redgold-ui .product-info,
  body.toco-redgold-ui .pc-info,
  body.toco-redgold-ui .rec-info{padding:8px!important}
  body.toco-redgold-ui .product-title,
  body.toco-redgold-ui .pc-title,
  body.toco-redgold-ui .rec-title{font-size:11px!important;min-height:31px!important}
  body.toco-redgold-ui .product-price,
  body.toco-redgold-ui .pc-price,
  body.toco-redgold-ui .rec-price{font-size:13px!important}

  body.toco-redgold-ui .category-layout{display:block!important}
  body.toco-redgold-ui .filter-sidebar{display:none!important}
  body.toco-redgold-ui .mobile-toolbar{display:flex!important}
  body.toco-redgold-ui .products-toolbar{overflow:auto!important;white-space:nowrap!important}
  body.toco-redgold-ui .product-detail-content,
  body.toco-redgold-ui .detail-layout{display:block!important}
  body.toco-redgold-ui .gallery-wrap{position:static!important;border-radius:12px!important;margin-bottom:10px!important}
  body.toco-redgold-ui .detail-info-column{padding:13px!important;border-radius:12px!important}
  body.toco-redgold-ui .product-title-main{font-size:18px!important}
  body.toco-redgold-ui .price-main{font-size:22px!important}
  body.toco-redgold-ui .purchase-card{margin-top:10px!important;border-radius:12px!important}
  body.toco-redgold-ui .cart-layout,
  body.toco-redgold-ui .co-grid,
  body.toco-redgold-ui .os-grid{display:block!important}
  body.toco-redgold-ui .cart-right,
  body.toco-redgold-ui .co-summary{display:none!important}
  body.toco-redgold-ui .cart-item-box{padding:11px!important}
  body.toco-redgold-ui .cart-img-wrap{width:76px!important;height:76px!important}
  body.toco-redgold-ui .mobile-cart-sticky,
  body.toco-redgold-ui .mobile-paybar{bottom:60px!important;z-index:10050!important;border-top:1px solid var(--rg-line)!important;box-shadow:0 -8px 22px rgba(42,28,18,.08)!important}

  body.member-site.toco-redgold-ui .member-page-layout,
  body.member-site.toco-redgold-ui .main-wrapper{width:calc(100% - 20px)!important;display:block!important;margin:12px auto 24px!important}
  body.member-site.toco-redgold-ui .member-sidebar{position:static!important;margin-bottom:10px!important;padding:7px!important;overflow:hidden!important}
  body.member-site.toco-redgold-ui .member-sidebar-title{display:none!important}
  body.member-site.toco-redgold-ui .sidebar-nav{display:flex!important;gap:5px!important;overflow:auto!important;padding:0!important;scrollbar-width:none!important}
  body.member-site.toco-redgold-ui .sidebar-nav::-webkit-scrollbar{display:none}
  body.member-site.toco-redgold-ui .member-nav-link{flex:0 0 auto!important;min-height:36px!important;padding:7px 9px!important;border:1px solid var(--rg-line)!important;border-radius:9px!important;background:#fff!important}
  body.member-site.toco-redgold-ui .member-nav-link.active{background:#fff1cc!important;border-color:#e3c36d!important;box-shadow:none!important}
  body.member-site.toco-redgold-ui .member-nav-icon{width:16px!important;height:16px!important}
  body.member-site.toco-redgold-ui .member-content-card{padding:13px!important;border-radius:12px!important}
  body.member-site.toco-redgold-ui .ph-order-card{border-radius:11px!important}
  body.member-site.toco-redgold-ui .ph-filters{overflow:auto!important;scrollbar-width:none!important}

  body.toco-redgold-ui .site-footer{margin-bottom:0!important}
  body.toco-redgold-ui .footer-grid{display:block!important;padding-block:22px!important}
  body.toco-redgold-ui .contact-card{margin-top:12px!important}

  body.toco-redgold-ui .modal-overlay,
  body.toco-redgold-ui .custom-modal-overlay,
  body.toco-redgold-ui .modal-backdrop,
  body.toco-redgold-ui .co-cancel-modal,
  body.toco-redgold-ui .co-result-modal,
  body.toco-redgold-ui .voucher-modal{
    padding:10px!important;align-items:flex-end!important;
  }
  body.toco-redgold-ui .modal-card,
  body.toco-redgold-ui .custom-modal-card,
  body.toco-redgold-ui .member-modal,
  body.toco-redgold-ui .co-cancel-box,
  body.toco-redgold-ui .co-result-box,
  body.toco-redgold-ui .voucher-modal-box{
    width:100%!important;max-height:min(88dvh,760px)!important;border-radius:20px 20px 12px 12px!important;margin:0!important;
  }
  body.toco-redgold-ui .modal-card{padding:22px 16px 18px!important}

  body.toco-redgold-ui.register-page{padding-bottom:0!important}
  body.toco-redgold-ui .register-main-wrapper{width:calc(100% - 20px)!important;margin:16px auto 26px!important}
  body.toco-redgold-ui .register-card-grid{border-radius:16px!important}
  body.toco-redgold-ui .register-form-side{padding:24px 17px!important}
  body.toco-redgold-ui .verification-card-content,
  body.toco-redgold-ui .reset-card{width:100%!important;padding:24px 17px!important;border-radius:16px!important}
}

@media(max-width:420px){
  body.toco-redgold-ui .header-wrap{grid-template-columns:auto 1fr auto!important}
  body.toco-redgold-ui .container{width:calc(100% - 18px)!important}
  body.toco-redgold-ui .product-grid,
  body.toco-redgold-ui .recommendation-grid,
  body.toco-redgold-ui .products-grid,
  body.toco-redgold-ui .rec-grid{gap:7px!important}
  body.toco-redgold-ui .product-info,
  body.toco-redgold-ui .pc-info,
  body.toco-redgold-ui .rec-info{padding:7px!important}
  body.toco-redgold-ui .feature-bar-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}
  body.toco-redgold-ui .feature-item{padding:9px!important}
  body.toco-redgold-ui .cart-product-title{font-size:12px!important}
  body.toco-redgold-ui .co-body{padding:12px!important}
}

/* Accessibility / motion */
@media(prefers-reduced-motion:reduce){
  body.toco-redgold-ui *,body.toco-redgold-ui *:before,body.toco-redgold-ui *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* ---------- Public information / error pages ---------- */
body.toco-redgold-ui .mh-public-page{background:var(--rg-soft)!important;padding:18px 0 34px!important}
body.toco-redgold-ui .mh-public-wrap{width:min(100% - 32px,1100px)!important;margin:auto!important}
body.toco-redgold-ui .mh-hero{
  border:1px solid #ead8a6!important;border-radius:18px!important;padding:26px 28px!important;
  background:linear-gradient(128deg,#6f0710 0%,#9e111a 58%,#d5a01e 125%)!important;color:#fff!important;box-shadow:0 15px 36px rgba(85,19,18,.12)!important;
}
body.toco-redgold-ui .mh-hero h1,body.toco-redgold-ui .mh-hero p,body.toco-redgold-ui .mh-hero .mh-eyebrow{color:#fff!important}
body.toco-redgold-ui .mh-hero-art{color:#ffe3a0!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.2)!important}
body.toco-redgold-ui .mh-section{padding:20px!important;margin-top:12px!important}
body.toco-redgold-ui .mh-cta,body.toco-redgold-ui .mh-submit{background:var(--rg-gradient)!important;color:#fff!important;border:0!important;border-radius:10px!important}
body.toco-redgold-ui .mh-info-card{border:1px solid var(--rg-line)!important;border-radius:12px!important;background:#fff!important}
body.toco-redgold-ui .mh-info-icon{background:#fff1cc!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .error-page{background:var(--rg-soft)!important}
body.toco-redgold-ui .error-card{border:1px solid var(--rg-line)!important;border-radius:20px!important;box-shadow:var(--rg-shadow)!important}
body.toco-redgold-ui .error-code{color:var(--rg-red-700)!important}
body.toco-redgold-ui .error-btn{background:var(--rg-gradient)!important;color:#fff!important;border-radius:10px!important}

/* Public modal/table overflow safety */
body.toco-redgold-ui .table-wrap,body.toco-redgold-ui .table-responsive,body.toco-redgold-ui [class*="table-wrap"]{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
body.toco-redgold-ui .member-modal-body,body.toco-redgold-ui .voucher-list,body.toco-redgold-ui .co-address-list{overscroll-behavior:contain}

@media(max-width:768px){
  body.toco-redgold-ui .mh-public-wrap{width:calc(100% - 20px)!important}
  body.toco-redgold-ui .mh-hero{padding:20px 16px!important;border-radius:14px!important}
  body.toco-redgold-ui .mh-section{padding:15px!important;border-radius:12px!important}
}

/* ---------- Targeted late inline-style overrides ---------- */
body.toco-redgold-ui .new-see-all{color:var(--rg-red-700)!important}
body.toco-redgold-ui .products-search button{background:var(--rg-gradient)!important;color:#fff!important;border-radius:9px!important}
body.toco-redgold-ui .pc-new{background:var(--rg-gradient)!important;color:#fff!important;border-radius:5px!important}
body.toco-redgold-ui .category-carousel-btn:hover{border-color:var(--rg-gold-500)!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .root-cat.active{border-color:var(--rg-gold-500)!important;color:var(--rg-red-800)!important;background:#fff6d9!important}
body.toco-redgold-ui .products-pagination a:hover{border-color:var(--rg-gold-500)!important;color:var(--rg-red-800)!important}
body.toco-redgold-ui .products-pagination a.active{background:var(--rg-red-700)!important;border-color:var(--rg-red-700)!important;color:#fff!important}
body.toco-redgold-ui #campaignDiscount{color:var(--rg-gold-700)!important}
body.toco-redgold-ui .stock-switch input,
body.toco-redgold-ui .stock-check input{accent-color:var(--rg-red-700)!important}
body.toco-redgold-ui .price-apply,
body.toco-redgold-ui .sheet-apply{background:var(--rg-gradient)!important;color:#fff!important}
body.toco-redgold-ui .save-later-btn:hover,
body.toco-redgold-ui .save-later-bulk{color:var(--rg-red-700)!important}
body.toco-redgold-ui .checkout-btn,
body.toco-redgold-ui .mobile-buy-btn,
body.toco-redgold-ui .continue-shopping{background:var(--rg-gradient)!important;color:#fff!important;border-color:transparent!important}
body.toco-redgold-ui .checkout-btn:hover,
body.toco-redgold-ui .mobile-buy-btn:hover,
body.toco-redgold-ui .continue-shopping:hover{background:var(--rg-gradient-hover)!important;color:#fff!important}
body.toco-redgold-ui .os-total strong{color:var(--rg-red-700)!important}
body.toco-redgold-ui .os-crumb a:hover{color:var(--rg-red-700)!important}
body.toco-redgold-ui .os-pending .os-icon{background:#fff1ca!important;color:var(--rg-red-800)!important}

/* Category mobile bottom sheet */
body.toco-redgold-ui .mobile-sheet-overlay{position:fixed!important;inset:0!important;z-index:13000!important;background:rgba(29,17,12,.52)!important;backdrop-filter:blur(2px)!important}
body.toco-redgold-ui .mobile-bottom-sheet{
  position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:13010!important;
  max-height:86dvh!important;min-height:0!important;background:#fff!important;border-radius:20px 20px 0 0!important;box-shadow:0 -18px 48px rgba(42,19,14,.18)!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important
}
body.toco-redgold-ui .sheet-header{flex:0 0 auto!important;position:sticky!important;top:0!important;background:#fff!important;border-bottom:1px solid var(--rg-line)!important;z-index:3!important}
body.toco-redgold-ui .sheet-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;background:#fbfaf7!important}
body.toco-redgold-ui .sheet-footer{flex:0 0 auto!important;position:sticky!important;bottom:0!important;background:#fff!important;border-top:1px solid var(--rg-line)!important;z-index:3!important}
body.toco-redgold-ui .sheet-close{background:#f7f3ec!important;color:#655a51!important;border-radius:50%!important}

/* Member purchase history: stronger selectors than page inline styles */
body.member-site.toco-redgold-ui .ph-status-nav a:hover{border-color:#e0c16a!important;color:var(--rg-red-800)!important;background:#fff8e8!important}
body.member-site.toco-redgold-ui .ph-status-nav a.active{background:var(--rg-gradient)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 4px 12px rgba(126,14,22,.13)!important}
body.member-site.toco-redgold-ui .ph-search-btn,
body.member-site.toco-redgold-ui .ph-result-button,
body.member-site.toco-redgold-ui .ph-btn-complete,
body.member-site.toco-redgold-ui .ph-action-buttons .ph-modal-confirm{background:var(--rg-gradient)!important;border-color:transparent!important;color:#fff!important}
body.member-site.toco-redgold-ui .ph-action-icon{background:#fff1cc!important;color:var(--rg-red-800)!important}
body.member-site.toco-redgold-ui .ph-action-box textarea:focus{border-color:var(--rg-gold-500)!important;box-shadow:0 0 0 3px rgba(215,162,30,.12)!important}
body.member-site.toco-redgold-ui .ph-result-modal,
body.member-site.toco-redgold-ui .ph-action-modal{padding:12px!important;align-items:center!important;background:rgba(29,17,12,.58)!important;backdrop-filter:blur(3px)!important}
body.member-site.toco-redgold-ui .ph-result-box,
body.member-site.toco-redgold-ui .ph-action-box{max-height:calc(100dvh - 24px)!important;overflow:auto!important;border:1px solid var(--rg-line)!important;border-radius:18px!important;box-shadow:var(--rg-shadow-lg)!important}

@media(max-width:600px){
  body.member-site.toco-redgold-ui .ph-result-modal,
  body.member-site.toco-redgold-ui .ph-action-modal{align-items:flex-end!important;padding:8px!important}
  body.member-site.toco-redgold-ui .ph-result-box,
  body.member-site.toco-redgold-ui .ph-action-box{width:100%!important;max-height:88dvh!important;border-radius:20px 20px 10px 10px!important}
}

/* ======================================================================
   MeHome TOCO Red/Gold UI R2 — FINAL RESET LAYER
   Purpose: neutralize geometry/padding leftovers from legacy styles while
   keeping existing PHP/AJAX hooks intact.
   ====================================================================== */
:root{
  --toco-shell:1240px;
  --toco-gap:16px;
  --toco-mobile-gap:12px;
  --toco-header-mobile:96px;
  --toco-bottom-nav:66px;
}
html,body{max-width:100%;overflow-x:hidden}
body.toco-redgold-ui{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;font-size:14px!important;line-height:1.45!important}
body.toco-redgold-ui :where(.container,.page-container,.content-container,.wrapper,.wrap){box-sizing:border-box}
body.toco-redgold-ui .container{width:min(calc(100% - 32px),var(--toco-shell))!important;max-width:var(--toco-shell)!important;margin-inline:auto!important;padding-inline:0!important}

/* Remove legacy outer geometry/padding without touching inner form semantics */
body.toco-redgold-ui :where(.category-page,.products-page,.product-detail-page,.cart-page,.checkout-page,.mh-public-wrap,.os-wrap,.main-wrapper,.member-page-layout){
  width:min(calc(100% - 32px),var(--toco-shell))!important;max-width:var(--toco-shell)!important;margin-inline:auto!important;box-sizing:border-box!important;
}
body.toco-redgold-ui :where(.category-page,.products-page,.product-detail-page,.cart-page,.checkout-page){padding-left:0!important;padding-right:0!important}
body.toco-redgold-ui :where(.section-card,.member-content-card,.co-card,.co-summary,.purchase-card,.cart-summary,.ph-panel,.ph-order-card,.mh-section,.mh-info-card,.support-grid>*,.wallet-card){box-shadow:none!important}

/* Consistent control metrics */
body.toco-redgold-ui :where(input:not([type=checkbox]):not([type=radio]),select,textarea,button){max-width:100%;box-sizing:border-box}
body.toco-redgold-ui :where(input:not([type=checkbox]):not([type=radio]),select){min-height:42px}
body.toco-redgold-ui textarea{min-height:96px;resize:vertical}
body.toco-redgold-ui :where(button,.btn,.button,[class*="btn-"]){font-family:inherit!important}

/* Unified inline SVG icon system */
.mh-svg-icon{display:inline-block;width:1em;height:1em;flex:0 0 auto;vertical-align:-.14em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;color:inherit}
.mh-svg-icon.mh-icon-fill{fill:currentColor;stroke:none}
.mh-svg-icon.mh-icon-spin{animation:mhIconSpin .8s linear infinite}
@keyframes mhIconSpin{to{transform:rotate(360deg)}}
.mh-icon-wrap{display:inline-flex;align-items:center;justify-content:center;line-height:0}
.mh-stars{display:inline-flex!important;align-items:center;gap:1px!important;color:#e5a800!important;line-height:1!important}
.mh-stars .mh-star-svg{width:13px;height:13px;display:block;stroke:#d39a09;stroke-width:1.5}
.mh-stars .mh-star-svg.is-full{fill:#e6ad18}
.mh-stars .mh-star-svg.is-empty{fill:transparent}
.mh-stars .mh-star-svg.is-half{fill:url(#mh-star-half-gradient)}

/* Header reset */
body.toco-redgold-ui .main-header{width:100%!important}
body.toco-redgold-ui .header-wrap{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
body.toco-redgold-ui .header-actions{min-width:0!important}
body.toco-redgold-ui .action-item,body.toco-redgold-ui .btn-user-dropdown{font-family:inherit!important;line-height:1.15!important}
body.toco-redgold-ui .action-item svg,body.toco-redgold-ui .btn-user-dropdown svg{display:block!important}
body.toco-redgold-ui .toco-market-nav-inner{box-sizing:border-box!important}

/* Mobile bottom navigation: fixed geometry, SVG-only icons, stable typography */
@media(max-width:768px){
  body.toco-redgold-ui{padding-bottom:calc(var(--toco-bottom-nav) + env(safe-area-inset-bottom))!important}
  body.toco-redgold-ui .container{width:calc(100% - 24px)!important}
  body.toco-redgold-ui :where(.category-page,.products-page,.product-detail-page,.cart-page,.checkout-page,.mh-public-wrap,.os-wrap,.main-wrapper,.member-page-layout){width:calc(100% - 24px)!important;max-width:none!important;margin-inline:12px!important;padding-left:0!important;padding-right:0!important}
  .toco-mobile-nav{
    height:calc(var(--toco-bottom-nav) + env(safe-area-inset-bottom))!important;min-height:0!important;
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important;
    padding:5px 4px max(5px,env(safe-area-inset-bottom))!important;gap:0!important;
    background:#fff!important;border-top:1px solid #eadfce!important;box-shadow:0 -6px 22px rgba(47,29,18,.09)!important;
  }
  .toco-mobile-nav a,.toco-mobile-nav button{
    min-width:0!important;width:100%!important;height:56px!important;margin:0!important;padding:5px 1px 3px!important;
    display:grid!important;grid-template-rows:24px 15px!important;place-items:center!important;align-content:center!important;gap:2px!important;
    font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
    font-size:9.5px!important;font-weight:700!important;line-height:1!important;letter-spacing:0!important;text-align:center!important;
    color:#766c63!important;overflow:visible!important;
  }
  .toco-mobile-nav svg,.toco-mobile-nav .mh-svg-icon{
    width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:0!important;display:block!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;overflow:visible!important;
  }
  .toco-mobile-nav a>span:last-child,.toco-mobile-nav button>span:last-child{
    display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:15px!important;
  }
  .toco-mobile-nav .nav-cart-badge{top:3px!important;left:calc(50% + 7px)!important;line-height:14px!important;font-family:inherit!important}
  body.toco-redgold-ui .mobile-cart-sticky,body.toco-redgold-ui .mobile-paybar{bottom:calc(var(--toco-bottom-nav) + env(safe-area-inset-bottom))!important}

  /* Mobile header spacing normalization */
  body.toco-redgold-ui .main-header{min-height:94px!important;padding:8px 0!important}
  body.toco-redgold-ui .header-wrap{grid-template-rows:36px 40px!important;gap:6px 8px!important}
  body.toco-redgold-ui .search-bar{height:40px!important;padding-left:12px!important}
  body.toco-redgold-ui .search-bar input{height:38px!important;font-size:12.5px!important}
  body.toco-redgold-ui .header-actions{gap:2px!important}
  body.toco-redgold-ui .action-item{min-height:34px!important;padding:2px 4px!important}
  body.toco-redgold-ui .cart-item .icon svg,body.toco-redgold-ui .user-icon svg{width:24px!important;height:24px!important}
  .toco-market-nav-inner{padding:5px 10px!important;gap:2px!important;overflow-x:auto!important;scrollbar-width:none!important}
  .toco-market-nav-inner::-webkit-scrollbar{display:none!important}
  .toco-market-nav a{font-size:9.5px!important;padding:6px 8px!important;white-space:nowrap!important}

  /* Member mobile padding reset */
  body.member-site.toco-redgold-ui .member-page-layout,body.member-site.toco-redgold-ui .main-wrapper{width:calc(100% - 24px)!important;margin:12px!important;padding:0!important}
  body.member-site.toco-redgold-ui .member-sidebar{margin:0 0 10px!important;padding:6px!important;border-radius:12px!important}
  body.member-site.toco-redgold-ui .member-content-card{margin:0!important;padding:12px!important;border-radius:12px!important}
  body.member-site.toco-redgold-ui .sidebar-nav{gap:5px!important}
  body.member-site.toco-redgold-ui .member-nav-link{min-height:36px!important;padding:7px 9px!important;font-size:11px!important}

  /* Product/listing mobile cards */
  body.toco-redgold-ui .product-grid{gap:8px!important}
  body.toco-redgold-ui .product-card{min-width:0!important}
  body.toco-redgold-ui .product-info{padding:8px!important}

  /* Modal mobile: never full-page and never clipped */
  body.toco-redgold-ui :where(.modal-overlay,.custom-modal-overlay,.modal-backdrop,.co-cancel-modal,.co-result-modal,.voucher-modal,.ph-result-modal){
    position:fixed!important;inset:0!important;padding:10px!important;align-items:flex-end!important;justify-content:center!important;overflow:hidden!important;
  }
  body.toco-redgold-ui :where(.modal-card,.custom-modal-card,.modal-content,.modal-content-custom,.co-cancel-box,.co-result-box,.voucher-modal-content,.ph-result-box){
    width:100%!important;max-width:560px!important;height:auto!important;max-height:88dvh!important;margin:0 auto!important;border-radius:18px 18px 12px 12px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;
  }
  body.toco-redgold-ui :where(.modal-body,.custom-modal-body,.voucher-modal-body){min-height:0!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
}

@media(max-width:390px){
  .toco-mobile-nav a,.toco-mobile-nav button{font-size:9px!important}
  .toco-mobile-nav svg,.toco-mobile-nav .mh-svg-icon{width:21px!important;height:21px!important}
  body.toco-redgold-ui .container,body.toco-redgold-ui :where(.category-page,.products-page,.product-detail-page,.cart-page,.checkout-page,.mh-public-wrap,.os-wrap,.main-wrapper,.member-page-layout){width:calc(100% - 20px)!important;margin-inline:10px!important}
}
.mh-star-half-box{position:relative;display:inline-block;width:13px;height:13px;flex:0 0 13px;line-height:0}
.mh-star-half-box>.mh-star-svg{position:absolute;inset:0}
.mh-star-half-fill{position:absolute;inset:0 50% 0 0;overflow:hidden;display:block}
.mh-star-half-fill>.mh-star-svg{width:13px!important;height:13px!important;max-width:none!important}


/* ===== R3 geometry and compatibility repairs ===== */
/* ======================================================================
   MeHome TOCO Red/Gold UI R3 — Geometry & Responsive Repair
   Presentation-only layer. Loaded last after page inline CSS.
   ====================================================================== */
:root{
  --toco-shell-r3:1320px;
  --toco-gutter-r3:20px;
  --toco-mobile-gutter-r3:12px;
  --toco-card-pad-r3:18px;
  --toco-line-r3:#eadfce;
  --toco-soft-r3:#f8f5ef;
  --toco-red-r3:#a90f19;
  --toco-red-dark-r3:#71070f;
  --toco-gold-r3:#d99d16;
  --toco-gradient-r3:linear-gradient(118deg,#760812 0%,#ad111c 56%,#db9f16 100%);
}
html,body{max-width:100%;overflow-x:hidden}
body.toco-redgold-ui{background:var(--toco-soft-r3)!important;color:#2d261f!important}
body.toco-redgold-ui *,body.toco-redgold-ui *::before,body.toco-redgold-ui *::after{box-sizing:border-box}
body.toco-redgold-ui :where(.flex,.grid,.row,[class*="-row"],[class*="-grid"] )>*{min-width:0}
body.toco-redgold-ui :where(img,svg,video,canvas){max-width:100%}

/* ---------- One shell only: prevent double page/container padding ---------- */
body.toco-redgold-ui :where(.products-page,.category-page,.product-detail-page,.cart-page,.checkout-page,.co-page,.os-page,.mh-public-page){
  width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important;
}
body.toco-redgold-ui :where(.products-page,.category-page,.product-detail-page,.cart-page,.checkout-page,.co-page,.os-page)>.container,
body.toco-redgold-ui .detail-page,
body.toco-redgold-ui .mh-public-wrap{
  width:min(calc(100% - (var(--toco-gutter-r3) * 2)),var(--toco-shell-r3))!important;
  max-width:var(--toco-shell-r3)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;
}
body.toco-redgold-ui.home-page :where(.hero-section,.category-section,.feature-bar-section,.home-new-items,.home-recommendations){
  width:min(calc(100% - (var(--toco-gutter-r3) * 2)),var(--toco-shell-r3))!important;max-width:var(--toco-shell-r3)!important;margin-left:auto!important;margin-right:auto!important;
}
body.toco-redgold-ui.home-page .hero-section .container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}

/* ---------- Header: no double search box, exact alignment ---------- */
body.toco-redgold-ui .main-header{padding:10px 0!important;min-height:66px!important}
body.toco-redgold-ui .main-header>.container.header-wrap,
body.toco-redgold-ui .header-wrap{
  width:min(calc(100% - 40px),var(--toco-shell-r3))!important;max-width:var(--toco-shell-r3)!important;
  margin:0 auto!important;padding:0!important;display:flex!important;align-items:center!important;gap:16px!important;min-height:46px!important;
}
body.toco-redgold-ui .logo-brand{flex:0 0 176px!important;min-width:0!important;display:flex!important;align-items:center!important}
body.toco-redgold-ui .logo-brand .logo-desktop{width:auto!important;height:39px!important;max-width:170px!important;object-fit:contain!important}
body.toco-redgold-ui .search-bar{
  flex:1 1 auto!important;min-width:180px!important;width:auto!important;height:44px!important;margin:0!important;
  padding:0 4px 0 13px!important;border:1px solid #ddcfba!important;border-radius:12px!important;background:#fff!important;
  display:flex!important;align-items:center!important;gap:4px!important;overflow:hidden!important;box-shadow:none!important;
}
/* critical: generic input theme used !important and created the double box */
body.toco-redgold-ui .search-bar input,
body.toco-redgold-ui .search-bar input[type="text"]{
  flex:1 1 auto!important;min-width:0!important;width:100%!important;height:42px!important;min-height:0!important;
  margin:0!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;outline:0!important;font-size:13px!important;line-height:42px!important;color:#342b24!important;
}
body.toco-redgold-ui .search-bar input:focus{border:0!important;box-shadow:none!important;background:transparent!important}
body.toco-redgold-ui .search-bar button{
  flex:0 0 38px!important;width:38px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:var(--toco-gradient-r3)!important;color:#fff!important;
}
body.toco-redgold-ui .search-bar button svg{width:18px!important;height:18px!important;display:block!important;fill:none!important;stroke:currentColor!important}
body.toco-redgold-ui .header-actions{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
body.toco-redgold-ui .action-item,body.toco-redgold-ui .btn-user-dropdown{min-height:40px!important;margin:0!important;padding:4px 7px!important;display:flex!important;align-items:center!important;gap:6px!important}
body.toco-redgold-ui .header-cart-svg,body.toco-redgold-ui .header-user-svg{
  width:23px!important;height:23px!important;display:block!important;fill:none!important;stroke:var(--toco-red-r3)!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.toco-redgold-ui .arrow-down{display:inline-flex!important;width:15px!important;height:15px!important;align-items:center!important;justify-content:center!important}
body.toco-redgold-ui .arrow-down svg{width:14px!important;height:14px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
body.toco-redgold-ui .topbar-svg{width:13px!important;height:13px!important;display:inline-block!important;vertical-align:-2px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;margin-right:4px!important}
body.toco-redgold-ui .tb-closed{color:#fff5c9!important;font-weight:800!important}
body.toco-redgold-ui .dropdown-item .item-icon svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.toco-redgold-ui .toco-market-nav-inner{width:min(calc(100% - 40px),var(--toco-shell-r3))!important;max-width:var(--toco-shell-r3)!important;margin:auto!important;padding:6px 0!important}

/* ---------- Generic card / inside-box containment ---------- */
body.toco-redgold-ui :where(.cart-box,.summary-box,.detail-section,.purchase-card,.gallery-wrap,.member-content-card,.ph-order-card,.ph-panel,.co-card,.co-summary,.mh-section,.mh-info-card,.section-card,.card){
  min-width:0!important;max-width:100%!important;
}
body.toco-redgold-ui :where(.cart-box,.summary-box,.detail-section,.purchase-card,.gallery-wrap,.member-content-card,.ph-order-card,.ph-panel,.co-card,.co-summary,.mh-section,.mh-info-card,.section-card,.card)>*{
  max-width:100%;min-width:0;box-sizing:border-box;
}
body.toco-redgold-ui :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){max-width:100%!important}
body.toco-redgold-ui :where(button,.btn,[class*="btn-"],a[class*="btn-"]){box-sizing:border-box!important;align-items:center;justify-content:center}

/* ---------- Home category: contained carousel, no clipped cards ---------- */
body.toco-redgold-ui.home-page .category-section{
  padding:16px!important;background:#fff!important;border:1px solid var(--toco-line-r3)!important;border-radius:16px!important;overflow:visible!important;
}
body.toco-redgold-ui.home-page .category-header{padding:0 2px 12px!important;margin:0!important}
body.toco-redgold-ui .category-carousel-wrapper{padding:0 22px!important;overflow:visible!important}
body.toco-redgold-ui .category-grid-container{width:100%!important;min-width:0!important;padding:3px!important;overflow-x:auto!important;overflow-y:hidden!important}
body.toco-redgold-ui .category-grid{gap:10px!important;padding:0 1px!important}
body.toco-redgold-ui .category-card{flex:0 0 126px!important;width:126px!important;height:154px!important;padding:12px 8px 10px!important;justify-content:space-between!important}
body.toco-redgold-ui .category-img-wrapper{width:68px!important;height:68px!important;margin:0 auto 7px!important;padding:7px!important}
body.toco-redgold-ui .cat-nav-prev{left:-4px!important}.toco-redgold-ui .cat-nav-next{right:-4px!important}
body.toco-redgold-ui .cat-nav-btn{width:34px!important;height:34px!important;padding:0!important;display:grid!important;place-items:center!important;font-size:0!important}
body.toco-redgold-ui .cat-nav-btn::before{content:"";width:8px;height:8px;border-top:1.8px solid currentColor;border-right:1.8px solid currentColor;display:block}
body.toco-redgold-ui .cat-nav-prev::before{transform:rotate(-135deg) translate(-1px,-1px)}
body.toco-redgold-ui .cat-nav-next::before{transform:rotate(45deg) translate(-1px,1px)}

/* ---------- What's New / Products page ---------- */
body.toco-redgold-ui .products-page{padding-top:20px!important;padding-bottom:42px!important;background:var(--toco-soft-r3)!important}
body.toco-redgold-ui .products-breadcrumb{margin:0 0 14px!important;padding:0 2px!important}
body.toco-redgold-ui .new-hero{
  height:260px!important;margin-bottom:20px!important;border:1px solid #e7cc83!important;border-radius:16px!important;
  background:linear-gradient(128deg,#fffdf8 0%,#fff7df 57%,#f5d68b 100%)!important;color:#2c241e!important;
}
body.toco-redgold-ui .new-hero-copy{left:54px!important;top:44px!important}
body.toco-redgold-ui .new-hero-copy h1{margin:0 0 12px!important;font-size:58px!important;line-height:1!important;color:#2d251f!important;letter-spacing:-2.5px!important}
body.toco-redgold-ui .new-hero-copy p{margin:0!important;max-width:620px!important;font-size:21px!important;line-height:1.35!important;color:#6f6258!important;font-weight:500!important}
body.toco-redgold-ui .new-seal{background:var(--toco-gradient-r3)!important;color:#fff!important;border-radius:50%!important}
body.toco-redgold-ui .new-box{background:linear-gradient(145deg,#e7ad24,#f4bf35)!important}
body.toco-redgold-ui .new-ribbon{background:#8f0d16!important}
body.toco-redgold-ui .new-tabs{
  left:150px!important;right:150px!important;bottom:0!important;height:44px!important;display:grid!important;grid-template-columns:1fr!important;
  background:#fff!important;border:1px solid #eadfce!important;border-bottom:0!important;border-radius:10px 10px 0 0!important;overflow:hidden!important;
}
body.toco-redgold-ui .new-tabs a{width:100%!important;color:var(--toco-red-r3)!important;border:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.toco-redgold-ui .category-carousel{margin:0 0 12px!important;padding:0 38px!important;min-width:0!important}
body.toco-redgold-ui .root-category-bar{min-width:0!important;width:100%!important;padding:0 0 8px!important;gap:8px!important}
body.toco-redgold-ui .category-carousel-btn{width:32px!important;height:32px!important;padding:0!important;font-size:0!important;display:grid!important;place-items:center!important}
body.toco-redgold-ui .category-carousel-btn::before{content:"";width:8px;height:8px;border-top:1.8px solid currentColor;border-right:1.8px solid currentColor}
body.toco-redgold-ui .category-carousel-btn.prev::before{transform:rotate(-135deg)}
body.toco-redgold-ui .category-carousel-btn.next::before{transform:rotate(45deg)}
body.toco-redgold-ui .products-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
body.toco-redgold-ui .pc-card,body.toco-redgold-ui .product-card,body.toco-redgold-ui .rec-card{min-width:0!important;height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
body.toco-redgold-ui .pc-info,body.toco-redgold-ui .product-info,body.toco-redgold-ui .rec-info{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;min-width:0!important;padding:10px!important}
body.toco-redgold-ui .catalog-add-cart{
  width:100%!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin-top:auto!important;padding:0 10px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;line-height:1!important;text-align:center!important;opacity:1!important;overflow:hidden!important;
}

/* ---------- Product detail: no nested double card, details span full width ---------- */
@media(min-width:993px){
  body.toco-redgold-ui .detail-layout{
    display:grid!important;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr)!important;
    grid-template-areas:"gallery info" "content content"!important;column-gap:22px!important;row-gap:18px!important;align-items:start!important;
  }
  body.toco-redgold-ui .detail-gallery-column{grid-area:gallery!important}
  body.toco-redgold-ui .detail-info-column{grid-area:info!important}
  body.toco-redgold-ui .product-detail-content{grid-area:content!important;width:100%!important;margin-top:0!important}
}
body.toco-redgold-ui .detail-info-column{
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
body.toco-redgold-ui .purchase-card{
  width:100%!important;padding:20px!important;border:1px solid var(--toco-line-r3)!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;
}
body.toco-redgold-ui .gallery-wrap{padding:14px!important;border-radius:14px!important;overflow:hidden!important}
body.toco-redgold-ui .detail-section{
  width:100%!important;margin:0 0 14px!important;padding:20px!important;border:1px solid var(--toco-line-r3)!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;
}
body.toco-redgold-ui .detail-section-title{margin:0 0 14px!important;padding:0!important}
body.toco-redgold-ui .desc-text,body.toco-redgold-ui .empty-detail-box,body.toco-redgold-ui .review-summary,body.toco-redgold-ui .review-item,body.toco-redgold-ui .spec-table{width:100%!important;max-width:100%!important}
body.toco-redgold-ui .review-summary{padding:16px!important;border-radius:10px!important}
body.toco-redgold-ui .cart-action-row{
  width:100%!important;display:grid!important;grid-template-columns:128px minmax(0,1fr) minmax(0,1fr) 44px!important;gap:8px!important;align-items:stretch!important;margin-bottom:15px!important;
}
body.toco-redgold-ui .cart-action-row>*{min-width:0!important;max-width:100%!important}
body.toco-redgold-ui .qty-picker,body.toco-redgold-ui .btn-add-cart,body.toco-redgold-ui .btn-buy-now,body.toco-redgold-ui .detail-wishlist-btn{height:44px!important;min-height:44px!important;margin:0!important}
body.toco-redgold-ui .btn-add-cart,body.toco-redgold-ui .btn-buy-now{
  width:100%!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;
}
body.toco-redgold-ui .detail-wishlist-btn{width:44px!important;padding:0!important;display:grid!important;place-items:center!important;font-size:0!important}
body.toco-redgold-ui .detail-wishlist-btn .mh-svg-icon{width:19px!important;height:19px!important}
body.toco-redgold-ui .shipping-box,body.toco-redgold-ui .stock-info,body.toco-redgold-ui .campaign-box{max-width:100%!important;overflow:hidden!important}

/* ---------- Cart: correct breakpoint and contained rows ---------- */
body.toco-redgold-ui .cart-page{padding:22px 0 34px!important}
body.toco-redgold-ui .cart-layout{grid-template-columns:minmax(0,1fr) 330px!important;gap:16px!important;min-width:0!important}
body.toco-redgold-ui .cart-layout>*{min-width:0!important}
body.toco-redgold-ui .cart-toolbar{min-height:58px!important;padding:10px 14px!important;gap:12px!important}
body.toco-redgold-ui .cart-toolbar-actions{min-width:0!important;gap:12px!important}
body.toco-redgold-ui .cart-item-box{
  grid-template-columns:22px 82px minmax(0,1fr) minmax(190px,220px)!important;gap:12px!important;padding:14px!important;min-width:0!important;align-items:center!important;
}
body.toco-redgold-ui .cart-img-wrap{width:82px!important;height:82px!important}
body.toco-redgold-ui .cart-info,body.toco-redgold-ui .cart-right{min-width:0!important}
body.toco-redgold-ui .cart-product-title{overflow-wrap:anywhere!important}
body.toco-redgold-ui .cart-right{width:100%!important;max-width:220px!important;justify-self:end!important}
body.toco-redgold-ui .cart-action-row:not(.product-detail-page .cart-action-row){max-width:100%!important}
body.toco-redgold-ui .qty-control{flex:0 0 auto!important}
body.toco-redgold-ui .summary-box{width:100%!important;padding:18px!important;top:126px!important}
body.toco-redgold-ui .cart-empty{padding:46px 20px!important}
body.toco-redgold-ui .cart-empty-icon img{display:block!important;width:min(460px,75vw)!important;max-height:310px!important;object-fit:contain!important;margin:0 auto 12px!important}
body.toco-redgold-ui .continue-shopping{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 18px!important}

/* ---------- Member / purchase history ---------- */
body.member-site.toco-redgold-ui .member-page-layout,body.member-site.toco-redgold-ui .main-wrapper{
  width:min(calc(100% - 40px),var(--toco-shell-r3))!important;max-width:var(--toco-shell-r3)!important;margin-left:auto!important;margin-right:auto!important;
}
body.member-site.toco-redgold-ui .member-content-card{padding:18px!important;overflow:hidden!important}
body.member-site.toco-redgold-ui .ph-status-nav{width:100%!important;max-width:100%!important;overflow-x:auto!important;padding:4px!important;gap:5px!important;scrollbar-width:none!important}
body.member-site.toco-redgold-ui .ph-status-nav::-webkit-scrollbar{display:none}
body.member-site.toco-redgold-ui .ph-status-nav a{flex:0 0 auto!important;min-height:36px!important;padding:0 12px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.member-site.toco-redgold-ui .ph-filters{
  width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(180px,220px) 110px!important;gap:8px!important;align-items:center!important;overflow:visible!important;
}
body.member-site.toco-redgold-ui .ph-search{min-width:0!important}
body.member-site.toco-redgold-ui .ph-search input{width:100%!important}
body.member-site.toco-redgold-ui .ph-search-btn{width:110px!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important}

/* ---------- Public footer/information pages ---------- */
body.toco-redgold-ui .mh-public-page{padding:28px 0 52px!important;background:var(--toco-soft-r3)!important}
body.toco-redgold-ui .mh-public-wrap{width:min(calc(100% - 40px),1180px)!important;max-width:1180px!important}
body.toco-redgold-ui .mh-hero{padding:30px!important;border-color:var(--toco-line-r3)!important;background:linear-gradient(135deg,#fffaf0,#fff 63%,#fff0c5)!important}
body.toco-redgold-ui .mh-hero-art{background:linear-gradient(145deg,#fff2c5,#f6df9b)!important;color:var(--toco-red-r3)!important}
body.toco-redgold-ui .mh-section,body.toco-redgold-ui .mh-info-card{padding:20px!important;overflow:hidden!important}
body.toco-redgold-ui .mh-info-icon{background:#fff1c9!important;color:var(--toco-red-r3)!important}
body.toco-redgold-ui .mh-info-icon svg,body.toco-redgold-ui .mh-hero-art svg{width:1em!important;height:1em!important}
body.toco-redgold-ui .mh-contact-item{min-width:0!important;max-width:100%!important}

/* ---------- Footer SVG ---------- */
body.toco-redgold-ui .icon-headset{display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.toco-redgold-ui .icon-headset svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* ---------- Tablet ---------- */
@media(max-width:1100px){
  body.toco-redgold-ui .header-wrap{width:calc(100% - 28px)!important;gap:10px!important}
  body.toco-redgold-ui .logo-brand{flex-basis:145px!important}
  body.toco-redgold-ui .logo-brand .logo-desktop{max-width:140px!important;height:34px!important}
  body.toco-redgold-ui .header-actions .label,body.toco-redgold-ui .user-name{display:none!important}
  body.toco-redgold-ui .cart-layout{display:block!important}
  body.toco-redgold-ui .summary-box{display:none!important}
  body.toco-redgold-ui .cart-right{display:flex!important}
  body.toco-redgold-ui .mobile-cart-sticky{display:block!important}
  body.toco-redgold-ui .cart-page{padding-bottom:112px!important}
  body.toco-redgold-ui .products-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* ---------- Mobile ---------- */
@media(max-width:768px){
  :root{--toco-mobile-nav-r3:64px}
  body.toco-redgold-ui{padding-bottom:calc(var(--toco-mobile-nav-r3) + env(safe-area-inset-bottom))!important}
  body.toco-redgold-ui .main-header{min-height:92px!important;padding:7px 0!important}
  body.toco-redgold-ui .main-header>.container.header-wrap,body.toco-redgold-ui .header-wrap{
    width:calc(100% - 20px)!important;max-width:none!important;margin:0 10px!important;padding:0!important;
    display:grid!important;grid-template-columns:auto 1fr auto!important;grid-template-rows:36px 40px!important;gap:6px 7px!important;align-items:center!important;
  }
  body.toco-redgold-ui .logo-brand{grid-column:1/2!important;grid-row:1!important;flex:none!important;width:auto!important}
  body.toco-redgold-ui .logo-brand .logo-mobile{display:block!important;width:auto!important;height:31px!important;max-width:116px!important}
  body.toco-redgold-ui .search-bar{grid-column:1/4!important;grid-row:2!important;width:100%!important;min-width:0!important;height:40px!important;padding:0 3px 0 10px!important;border-radius:10px!important}
  body.toco-redgold-ui .search-bar input{height:38px!important;line-height:38px!important;font-size:12px!important;padding:0 5px!important}
  body.toco-redgold-ui .search-bar button{width:35px!important;flex-basis:35px!important;height:34px!important}
  body.toco-redgold-ui .header-actions{grid-column:3/4!important;grid-row:1!important;justify-self:end!important;gap:2px!important}
  body.toco-redgold-ui .action-item,body.toco-redgold-ui .btn-user-dropdown{min-width:34px!important;min-height:34px!important;padding:2px!important;justify-content:center!important}
  body.toco-redgold-ui .header-cart-svg,body.toco-redgold-ui .header-user-svg{width:22px!important;height:22px!important}
  body.toco-redgold-ui .toco-market-nav-inner{width:100%!important;padding:5px 10px!important}

  body.toco-redgold-ui :where(.products-page,.category-page,.product-detail-page,.cart-page,.checkout-page,.co-page,.os-page)>.container,
  body.toco-redgold-ui .detail-page,
  body.toco-redgold-ui .mh-public-wrap,
  body.member-site.toco-redgold-ui .member-page-layout,
  body.member-site.toco-redgold-ui .main-wrapper{
    width:calc(100% - 24px)!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important;padding-left:0!important;padding-right:0!important;
  }
  body.toco-redgold-ui.home-page :where(.hero-section,.category-section,.feature-bar-section,.home-new-items,.home-recommendations){width:calc(100% - 24px)!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important}

  .toco-mobile-nav{
    height:calc(var(--toco-mobile-nav-r3) + env(safe-area-inset-bottom))!important;min-height:0!important;
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important;gap:0!important;
    padding:4px 3px max(4px,env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid var(--toco-line-r3)!important;
  }
  .toco-mobile-nav a,.toco-mobile-nav button{
    width:100%!important;min-width:0!important;height:55px!important;margin:0!important;padding:4px 1px 3px!important;
    display:grid!important;grid-template-rows:23px 14px!important;place-items:center!important;align-content:center!important;gap:2px!important;
    font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:9px!important;font-weight:700!important;line-height:1!important;letter-spacing:0!important;text-align:center!important;color:#756b63!important;
  }
  .toco-mobile-nav svg,.toco-mobile-nav .mh-svg-icon{width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;margin:0!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;overflow:visible!important}
  .toco-mobile-nav a>span:last-child,.toco-mobile-nav button>span:last-child{display:block!important;width:100%!important;max-width:100%!important;line-height:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .toco-mobile-nav .nav-cart-badge{top:2px!important;left:calc(50% + 6px)!important;min-width:14px!important;height:14px!important;line-height:12px!important;font-size:7.5px!important}
  body.toco-redgold-ui .mobile-cart-sticky,body.toco-redgold-ui .mobile-paybar{bottom:calc(var(--toco-mobile-nav-r3) + env(safe-area-inset-bottom))!important}

  body.toco-redgold-ui.home-page .category-section{padding:12px!important}
  body.toco-redgold-ui .category-carousel-wrapper{padding:0 16px!important}
  body.toco-redgold-ui .category-card{flex-basis:92px!important;width:92px!important;height:130px!important;padding:9px 5px!important}
  body.toco-redgold-ui .category-img-wrapper{width:58px!important;height:58px!important}
  body.toco-redgold-ui .cat-nav-btn{width:30px!important;height:30px!important}

  body.toco-redgold-ui .new-hero{height:205px!important;border-radius:13px!important}
  body.toco-redgold-ui .new-hero-copy{left:18px!important;top:25px!important;right:120px!important}
  body.toco-redgold-ui .new-hero-copy h1{font-size:36px!important;letter-spacing:-1.5px!important}
  body.toco-redgold-ui .new-hero-copy p{font-size:13px!important;line-height:1.35!important}
  body.toco-redgold-ui .new-hero-art{right:-76px!important;top:24px!important;transform:scale(.58)!important;transform-origin:right top!important}
  body.toco-redgold-ui .new-tabs{left:12px!important;right:12px!important;height:38px!important;font-size:10px!important}
  body.toco-redgold-ui .category-carousel{padding:0 30px!important}
  body.toco-redgold-ui .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.toco-redgold-ui .pc-info,body.toco-redgold-ui .product-info,body.toco-redgold-ui .rec-info{padding:8px!important}
  body.toco-redgold-ui .catalog-add-cart{height:34px!important;min-height:34px!important;max-height:34px!important;font-size:10.5px!important;padding:0 6px!important}

  body.toco-redgold-ui .detail-layout{display:block!important}
  body.toco-redgold-ui .gallery-wrap{position:static!important;margin:0 0 10px!important;padding:10px!important}
  body.toco-redgold-ui .detail-info-column{padding:0!important}
  body.toco-redgold-ui .purchase-card{position:static!important;margin:0!important;padding:14px!important}
  body.toco-redgold-ui .detail-section{padding:14px!important;margin-bottom:10px!important}
  body.toco-redgold-ui .cart-action-row{grid-template-columns:1fr 1fr 44px!important;gap:7px!important}
  body.toco-redgold-ui .cart-action-row .qty-picker{grid-column:1/-1!important;width:100%!important}
  body.toco-redgold-ui .cart-action-row .btn-add-cart,body.toco-redgold-ui .cart-action-row .btn-buy-now{font-size:11px!important;padding:0 6px!important}

  body.toco-redgold-ui .cart-page{padding:16px 0 110px!important}
  body.toco-redgold-ui .cart-layout{display:block!important}
  body.toco-redgold-ui .summary-box{display:none!important}
  body.toco-redgold-ui .cart-toolbar{min-height:52px!important;padding:9px 10px!important;gap:8px!important}
  body.toco-redgold-ui .cart-toolbar-actions{gap:9px!important}
  body.toco-redgold-ui .cart-item-box{grid-template-columns:18px 62px minmax(0,1fr)!important;gap:9px!important;padding:11px!important;align-items:start!important}
  body.toco-redgold-ui .cart-img-wrap{width:62px!important;height:62px!important}
  body.toco-redgold-ui .cart-right{display:none!important}
  body.toco-redgold-ui .cart-product-title{font-size:12px!important;line-height:1.35!important}
  body.toco-redgold-ui .cart-empty{padding:32px 14px!important}
  body.toco-redgold-ui .cart-empty-icon img{width:min(320px,88vw)!important;max-height:230px!important}

  body.member-site.toco-redgold-ui .member-content-card{padding:12px!important}
  body.member-site.toco-redgold-ui .ph-filters{grid-template-columns:1fr!important;gap:7px!important}
  body.member-site.toco-redgold-ui .ph-search-btn{width:100%!important}
  body.member-site.toco-redgold-ui .ph-status-nav{padding:3px!important}

  body.toco-redgold-ui .mh-public-page{padding:18px 0 38px!important}
  body.toco-redgold-ui .mh-hero{grid-template-columns:1fr!important;padding:20px!important;gap:14px!important}
  body.toco-redgold-ui .mh-hero-art{min-height:100px!important;font-size:44px!important}
  body.toco-redgold-ui .mh-section,body.toco-redgold-ui .mh-info-card{padding:15px!important}
}

@media(max-width:390px){
  body.toco-redgold-ui .main-header>.container.header-wrap,body.toco-redgold-ui .header-wrap{width:calc(100% - 16px)!important;margin:0 8px!important}
  body.toco-redgold-ui :where(.products-page,.category-page,.product-detail-page,.cart-page,.checkout-page,.co-page,.os-page)>.container,
  body.toco-redgold-ui .detail-page,body.toco-redgold-ui .mh-public-wrap,body.member-site.toco-redgold-ui .member-page-layout,body.member-site.toco-redgold-ui .main-wrapper{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
  body.toco-redgold-ui.home-page :where(.hero-section,.category-section,.feature-bar-section,.home-new-items,.home-recommendations){width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
  .toco-mobile-nav a,.toco-mobile-nav button{font-size:8.5px!important}
  .toco-mobile-nav svg,.toco-mobile-nav .mh-svg-icon{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important}
  body.toco-redgold-ui .new-hero-copy{right:90px!important}
  body.toco-redgold-ui .new-hero-copy h1{font-size:31px!important}
  body.toco-redgold-ui .new-hero-art{right:-100px!important;transform:scale(.52)!important}
  body.toco-redgold-ui .cart-item-box{grid-template-columns:17px 56px minmax(0,1fr)!important;gap:7px!important;padding:10px!important}
  body.toco-redgold-ui .cart-img-wrap{width:56px!important;height:56px!important}
}

/* ---------- R3.1 final geometry/font/SVG compatibility ---------- */
body.toco-redgold-ui,
body.toco-redgold-ui :where(button,input,select,textarea){
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
}
body.toco-redgold-ui i[data-mh-svg-done="1"]{
  font-style:normal!important;line-height:1!important;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;vertical-align:middle;
}
body.toco-redgold-ui i[data-mh-svg-done="1"]>.mh-svg-icon{width:1em;height:1em;display:block;margin:0!important}
body.toco-redgold-ui .mh-button-icon{width:16px!important;height:16px!important;display:block!important;flex:0 0 16px!important;margin:0!important}
body.toco-redgold-ui .catalog-add-cart{gap:6px!important}
body.toco-redgold-ui :where(.qty-btn,.qty-minus,.qty-plus){display:grid!important;place-items:center!important;padding:0!important;line-height:1!important}
body.toco-redgold-ui :where(.qty-btn,.qty-minus,.qty-plus) .mh-button-icon{width:15px!important;height:15px!important;flex-basis:15px!important}

/* Same-element page shells (category is .container.category-page) */
body.toco-redgold-ui .container.category-page{
  width:min(calc(100% - (var(--toco-gutter-r3) * 2)),var(--toco-shell-r3))!important;
  max-width:var(--toco-shell-r3)!important;margin:0 auto!important;padding-left:0!important;padding-right:0!important;
}
body.toco-redgold-ui .co-wrap,
body.toco-redgold-ui .co-progress-wrap{width:min(calc(100% - 40px),1180px)!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.toco-redgold-ui .os-wrap{width:min(calc(100% - 40px),1120px)!important;max-width:1120px!important;margin-left:auto!important;margin-right:auto!important}

/* Product-card geometry: all content remains within its border. */
body.toco-redgold-ui :where(.pc-card,.product-card,.rec-card){box-sizing:border-box!important;min-width:0!important;overflow:hidden!important}
body.toco-redgold-ui :where(.pc-card,.product-card,.rec-card) :where(.pc-title,.product-title,.rec-title){overflow-wrap:anywhere!important;word-break:normal!important}
body.toco-redgold-ui :where(.pc-card,.product-card,.rec-card) button{max-width:100%!important;box-sizing:border-box!important}
body.toco-redgold-ui :where(.pc-card,.product-card,.rec-card) .catalog-add-cart{align-self:stretch!important;margin-left:0!important;margin-right:0!important}

/* Purchase-history icon stays inside search input even after FA->SVG. */
body.member-site.toco-redgold-ui .ph-search{position:relative!important;display:block!important;min-width:0!important}
body.member-site.toco-redgold-ui .ph-search>i[data-mh-svg-done="1"]{
  position:absolute!important;left:13px!important;top:50%!important;transform:translateY(-50%)!important;
  width:16px!important;height:16px!important;z-index:2!important;color:#7d7168!important;pointer-events:none!important;
}
body.member-site.toco-redgold-ui .ph-search>i[data-mh-svg-done="1"]>.mh-svg-icon{width:15px!important;height:15px!important}
body.member-site.toco-redgold-ui .ph-search input{height:42px!important;padding:0 13px 0 39px!important;margin:0!important;border:1px solid #ddcfba!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
body.member-site.toco-redgold-ui .ph-filters{grid-template-columns:minmax(0,1fr) 210px!important;gap:8px!important;align-items:center!important}
body.member-site.toco-redgold-ui .ph-search-btn{width:100%!important;min-width:0!important}

/* Member cards: eliminate inherited negative widths/margins from old polish layers. */
body.member-site.toco-redgold-ui .member-page-layout{box-sizing:border-box!important;grid-template-columns:240px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;padding:0!important}
body.member-site.toco-redgold-ui .member-sidebar{width:240px!important;min-width:240px!important;max-width:240px!important;margin:0!important;box-sizing:border-box!important}
body.member-site.toco-redgold-ui .member-content-card{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:18px!important;box-sizing:border-box!important;overflow:hidden!important}
body.member-site.toco-redgold-ui .member-content-card :where(.page-head-row,.address-toolbar,.filter-controls-wrapper,.ph-orders,.notif-list,.wallet-list,.support-list){max-width:100%!important;min-width:0!important}
body.member-site.toco-redgold-ui .member-content-card :where(form,fieldset){max-width:100%!important;min-width:0!important}

/* Card action rows use actual content width, never overflow their parent. */
body.toco-redgold-ui :where(.cart-toolbar,.cart-item-box,.purchase-card,.detail-section,.ph-status-nav,.ph-filters,.co-card,.co-summary){box-sizing:border-box!important}
body.toco-redgold-ui .cart-toolbar{width:100%!important}
body.toco-redgold-ui .cart-toolbar-actions{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important}

/* Public information page content should never touch borders. */
body.toco-redgold-ui .mh-public-wrap{box-sizing:border-box!important}
body.toco-redgold-ui :where(.mh-section,.mh-info-card,.mh-hero){box-sizing:border-box!important;overflow:hidden!important}
body.toco-redgold-ui :where(.mh-section,.mh-info-card)>*{max-width:100%!important;min-width:0!important}

/* Mobile nav: SVG + label occupy deterministic rows. */
@media(max-width:768px){
  body.toco-redgold-ui .container.category-page,
  body.toco-redgold-ui .co-wrap,
  body.toco-redgold-ui .co-progress-wrap,
  body.toco-redgold-ui .os-wrap{width:calc(100% - 24px)!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important;padding-left:0!important;padding-right:0!important}
  body.member-site.toco-redgold-ui .member-page-layout{width:calc(100% - 24px)!important;grid-template-columns:1fr!important;gap:10px!important;margin-left:12px!important;margin-right:12px!important}
  body.member-site.toco-redgold-ui .member-sidebar{width:100%!important;min-width:0!important;max-width:100%!important;position:static!important;padding:7px!important}
  body.member-site.toco-redgold-ui .member-content-card{padding:12px!important;border-radius:12px!important}
  body.member-site.toco-redgold-ui .ph-filters{grid-template-columns:1fr!important;gap:7px!important}
  body.member-site.toco-redgold-ui .ph-search-btn{width:100%!important;height:40px!important}
  .toco-mobile-nav>a,.toco-mobile-nav>button{position:relative!important;overflow:visible!important}
  .toco-mobile-nav>a>svg,.toco-mobile-nav>button>svg{grid-row:1!important;align-self:center!important;justify-self:center!important}
  .toco-mobile-nav>a>span:not(.nav-cart-badge),.toco-mobile-nav>button>span:not(.nav-cart-badge){grid-row:2!important;align-self:start!important;justify-self:stretch!important;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important}
  .toco-mobile-nav .nav-cart-badge{position:absolute!important;z-index:2!important}
  body.toco-redgold-ui .catalog-add-cart .mh-button-icon{width:14px!important;height:14px!important;flex-basis:14px!important}
}

@media(max-width:390px){
  body.toco-redgold-ui .container.category-page,
  body.toco-redgold-ui .co-wrap,
  body.toco-redgold-ui .co-progress-wrap,
  body.toco-redgold-ui .os-wrap{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
  body.member-site.toco-redgold-ui .member-page-layout{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
}

/* === MEHOME R3.3 FINAL ALIGNMENT PATCH 2026-09-04 === */
/* Desktop marketplace navigation: only the current page is highlighted. */
body.toco-redgold-ui .toco-market-nav a.is-active{
  background:#fff1cf!important;color:var(--rg-red-800)!important;font-weight:900!important;
}
body.toco-redgold-ui .toco-mobile-nav :where(a,button).is-active{
  color:var(--rg-red-700)!important;font-weight:900!important;
}
body.toco-redgold-ui .toco-mobile-nav :where(a,button).is-active::before{
  content:"";position:absolute;top:0;left:50%;width:22px;height:2px;border-radius:0 0 3px 3px;background:var(--rg-red-700);transform:translateX(-50%);
}

/* Products root-category rail: remove the long white outer box, keep individual pills. */
body.toco-redgold-ui .products-page .root-category-bar{
  border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;
}
body.toco-redgold-ui .products-page .category-carousel{background:transparent!important;border:0!important;box-shadow:none!important;}

/* Product-card vertical rhythm: title / variant / price / discount / rating / button stay aligned. */
body.toco-redgold-ui .pc-title,
body.toco-redgold-ui .product-title,
body.toco-redgold-ui .rec-title{min-height:34px!important;}
body.toco-redgold-ui .pc-variant{
  height:26px!important;min-height:26px!important;margin:6px 0 4px!important;display:flex!important;align-items:center!important;
}
body.toco-redgold-ui .pc-variant.is-placeholder,
body.toco-redgold-ui .pc-old.is-placeholder,
body.toco-redgold-ui .product-original-row.is-placeholder{visibility:hidden!important;}
body.toco-redgold-ui .pc-price,
body.toco-redgold-ui .product-price,
body.toco-redgold-ui .rec-price{min-height:18px!important;margin-top:4px!important;display:flex!important;align-items:center!important;}
body.toco-redgold-ui .pc-old{min-height:20px!important;margin-top:3px!important;line-height:18px!important;}
body.toco-redgold-ui .product-original-row{min-height:20px!important;margin-top:3px!important;align-items:center!important;}
body.toco-redgold-ui .pc-stars,
body.toco-redgold-ui .product-rating{min-height:18px!important;margin-top:3px!important;margin-bottom:10px!important;display:flex!important;align-items:center!important;}
body.toco-redgold-ui :where(.pc-info,.product-info,.rec-info)>.catalog-add-cart{
  margin-top:auto!important;margin-bottom:0!important;flex:0 0 36px!important;
}
body.toco-redgold-ui .catalog-add-cart:disabled,
body.toco-redgold-ui .catalog-add-cart[aria-disabled="true"]{
  background:#e5e7eb!important;border-color:#d1d5db!important;color:#8b929c!important;box-shadow:none!important;cursor:not-allowed!important;opacity:1!important;
}

/* Category filter: vertically/horizontally center category label while keeping count pinned right. */
body.toco-redgold-ui .category-filter-link{
  position:relative!important;min-height:42px!important;justify-content:center!important;text-align:center!important;padding:7px 34px!important;
}
body.toco-redgold-ui .category-filter-link .category-name{
  width:100%!important;line-height:1.35!important;text-align:center!important;display:block!important;
}
body.toco-redgold-ui .category-filter-link .category-count{
  position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;line-height:1!important;
}

/* Cart desktop: undo product-detail grid rules that leaked into cart actions. */
body.toco-redgold-ui .cart-page .cart-right{
  width:100%!important;max-width:230px!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;
}
body.toco-redgold-ui .cart-page .cart-action-row{
  width:auto!important;max-width:100%!important;display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-end!important;
  gap:8px!important;margin:9px 0 0!important;
}
body.toco-redgold-ui .cart-page .cart-action-row form{display:inline-flex!important;margin:0!important;padding:0!important;}
body.toco-redgold-ui .cart-page :where(.cart-wishlist-btn,.save-later-btn,.remove-cart){
  width:30px!important;height:30px!important;min-width:30px!important;display:inline-grid!important;place-items:center!important;padding:0!important;border-radius:8px!important;
}
body.toco-redgold-ui .cart-page :where(.cart-wishlist-btn,.save-later-btn,.remove-cart) svg{
  width:17px!important;height:17px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.toco-redgold-ui .cart-page .qty-control{height:34px!important;min-height:34px!important;border-radius:9px!important;overflow:hidden!important;}
body.toco-redgold-ui .cart-page .qty-control button{width:30px!important;height:32px!important;}
body.toco-redgold-ui .cart-page .qty-input{width:36px!important;}
body.toco-redgold-ui .cart-page .cart-price-row,
body.toco-redgold-ui .cart-page .cart-price-old-row{width:100%!important;justify-content:flex-end!important;}

/* Disabled actions are visibly neutral/grey everywhere. */
body.toco-redgold-ui :where(.save-later-bulk,.clear-cart):disabled,
body.toco-redgold-ui .cart-page .qty-control button:disabled,
body.toco-redgold-ui :where(.checkout-btn,.mobile-buy-btn,.btn-add-cart,.btn-buy-now).disabled,
body.toco-redgold-ui :where(.checkout-btn,.mobile-buy-btn,.btn-add-cart,.btn-buy-now):disabled{
  background:#e5e7eb!important;border-color:#d1d5db!important;color:#9299a3!important;box-shadow:none!important;cursor:not-allowed!important;opacity:1!important;
}
body.toco-redgold-ui :where(.save-later-bulk,.clear-cart):disabled{background:transparent!important;border-color:transparent!important;}

/* Register: remove inherited 60px grid gap / center alignment from old CSS and make the card a clean 2-column panel. */
body.toco-redgold-ui.register-page .register-main-wrapper{
  width:min(1000px,calc(100% - 32px))!important;margin:42px auto 48px!important;padding:0!important;display:block!important;
}
body.toco-redgold-ui.register-page .register-card-grid{
  width:100%!important;max-width:1000px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0!important;align-items:stretch!important;min-height:0!important;
}
body.toco-redgold-ui.register-page .register-info-side{
  width:auto!important;max-width:none!important;padding:42px 38px!important;text-align:center!important;justify-content:center!important;
}
body.toco-redgold-ui.register-page .register-info-side .illustration-box{min-height:230px!important;}
body.toco-redgold-ui.register-page .register-info-side .illustration-box img{width:min(100%,360px)!important;max-height:245px!important;margin:0!important;}
body.toco-redgold-ui.register-page .register-info-side .info-title{margin:22px auto 10px!important;max-width:420px!important;}
body.toco-redgold-ui.register-page .register-info-side .info-desc{margin:0 auto!important;max-width:430px!important;}
body.toco-redgold-ui.register-page .register-form-side{
  width:auto!important;max-width:none!important;min-width:0!important;padding:42px 46px!important;display:flex!important;justify-content:center!important;flex-direction:column!important;
}
body.toco-redgold-ui.register-page .form-header-row{align-items:center!important;margin-bottom:22px!important;}
body.toco-redgold-ui.register-page .form-register-body{gap:13px!important;}
body.toco-redgold-ui.register-page .input-field-group>input{height:48px!important;}
body.toco-redgold-ui.register-page .btn-submit-register{height:48px!important;}

/* Mobile homepage: show side banner 1 + 2 as the requested pair, keep side 3 hidden. */
@media(max-width:768px){
  body.toco-redgold-ui.home-page .hero-side-banners{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin-top:8px!important;
  }
  body.toco-redgold-ui.home-page .hero-side-banners .side-banner-item:not(.side-banner-wide){
    display:block!important;width:100%!important;aspect-ratio:320/250!important;overflow:hidden!important;border-radius:10px!important;
  }
  body.toco-redgold-ui.home-page .hero-side-banners .side-banner-item:not(.side-banner-wide) a,
  body.toco-redgold-ui.home-page .hero-side-banners .side-banner-item:not(.side-banner-wide) img{
    width:100%!important;height:100%!important;display:block!important;
  }
  body.toco-redgold-ui.home-page .hero-side-banners .side-banner-item:not(.side-banner-wide) img{object-fit:cover!important;padding:0!important;}
  body.toco-redgold-ui.home-page .hero-side-banners .side-banner-wide{display:none!important;}

  body.toco-redgold-ui .pc-variant{height:24px!important;min-height:24px!important;font-size:9px!important;padding:3px 5px!important;margin:5px 0 3px!important;}
  body.toco-redgold-ui .pc-old,body.toco-redgold-ui .product-original-row{min-height:18px!important;}
  body.toco-redgold-ui .pc-stars,body.toco-redgold-ui .product-rating{min-height:17px!important;margin-bottom:8px!important;}

  body.toco-redgold-ui .cart-page .cart-item-box{
    grid-template-columns:18px 68px minmax(0,1fr)!important;gap:9px!important;padding:12px!important;align-items:start!important;
  }
  body.toco-redgold-ui .cart-page .cart-img-wrap{width:68px!important;height:68px!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-bottom{
    display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-top:7px!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-price{align-items:flex-start!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-price :where(.cart-price-row,.cart-price-old-row){justify-content:flex-start!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-actions{
    width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-action-top{height:30px!important;gap:5px!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-qty-area{display:block!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-stock{display:none!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-actions :where(.cart-wishlist-btn,.save-later-btn,.remove-cart){width:28px!important;height:28px!important;min-width:28px!important;}
  body.toco-redgold-ui .cart-page .qty-control{height:30px!important;min-height:30px!important;}
  body.toco-redgold-ui .cart-page .qty-control button{width:27px!important;height:28px!important;}
  body.toco-redgold-ui .cart-page .qty-input{width:32px!important;}

  body.toco-redgold-ui.register-page .register-main-wrapper{width:calc(100% - 24px)!important;margin:20px auto 30px!important;}
  body.toco-redgold-ui.register-page .register-card-grid{display:block!important;max-width:560px!important;margin:0 auto!important;border-radius:16px!important;}
  body.toco-redgold-ui.register-page .register-info-side{display:none!important;}
  body.toco-redgold-ui.register-page .register-form-side{padding:28px 22px!important;display:block!important;}
  body.toco-redgold-ui.register-page .form-header-row{align-items:flex-start!important;gap:6px!important;}
}

@media(max-width:420px){
  body.toco-redgold-ui .cart-page .cart-item-box{grid-template-columns:17px 60px minmax(0,1fr)!important;gap:7px!important;padding:10px!important;}
  body.toco-redgold-ui .cart-page .cart-img-wrap{width:60px!important;height:60px!important;}
  body.toco-redgold-ui .category-filter-link{padding-left:30px!important;padding-right:30px!important;}
  body.toco-redgold-ui.register-page .register-main-wrapper{width:calc(100% - 20px)!important;}
  body.toco-redgold-ui.register-page .register-form-side{padding:24px 17px!important;}
}

/* R3.3 finishing touches */
body.toco-redgold-ui .catalog-add-cart{
  font-family:inherit!important;font-size:11.5px!important;letter-spacing:0!important;
}
body.toco-redgold-ui .category-page .product-original-row{margin-bottom:10px!important;}
body.toco-redgold-ui .category-carousel-btn:disabled{
  background:#e5e7eb!important;border-color:#d1d5db!important;color:#9aa1aa!important;box-shadow:none!important;opacity:1!important;
}
body.toco-redgold-ui.register-page .register-header-container,
body.toco-redgold-ui.register-page .register-footer-container{
  width:min(1000px,calc(100% - 32px))!important;max-width:1000px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;
}
@media(max-width:860px){
  body.toco-redgold-ui.register-page .register-main-wrapper{width:calc(100% - 24px)!important;margin:20px auto 30px!important;}
  body.toco-redgold-ui.register-page .register-card-grid{display:block!important;max-width:560px!important;margin:0 auto!important;border-radius:16px!important;}
  body.toco-redgold-ui.register-page .register-info-side{display:none!important;}
  body.toco-redgold-ui.register-page .register-form-side{padding:28px 22px!important;display:block!important;}
  body.toco-redgold-ui.register-page .register-header-container,
  body.toco-redgold-ui.register-page .register-footer-container{width:calc(100% - 24px)!important;}
}
@media(max-width:420px){
  body.toco-redgold-ui .catalog-add-cart{font-size:10.5px!important;}
  body.toco-redgold-ui.register-page .register-header-container,
  body.toco-redgold-ui.register-page .register-footer-container{width:calc(100% - 20px)!important;}
}

/* === MEHOME R3.4 UI-ONLY VISUAL REPAIR 2026-09-04 ===
   Presentation only: cart mobile geometry + register alignment.
   No commerce/session/order flow is changed here. */

/* Register: Google entry follows the exact width/height rhythm of the form fields. */
body.toco-redgold-ui.register-page .social-btn-group{
  display:block!important;width:100%!important;max-width:100%!important;margin:0 0 18px!important;
}
body.toco-redgold-ui.register-page .social-btn-group .btn-social-item.google{
  width:100%!important;max-width:100%!important;min-width:0!important;height:48px!important;
  padding:0 14px!important;margin:0!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  border-radius:10px!important;font-size:13px!important;font-weight:800!important;
}
body.toco-redgold-ui.register-page .social-btn-group .btn-social-item.google svg{
  width:19px!important;height:19px!important;flex:0 0 19px!important;
}
body.toco-redgold-ui.register-page .divider-line{width:100%!important;margin:18px 0!important;}
body.toco-redgold-ui.register-page .form-register-body,
body.toco-redgold-ui.register-page .input-field-group,
body.toco-redgold-ui.register-page .input-field-group>input,
body.toco-redgold-ui.register-page .btn-submit-register{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}

/* Cart: desktop controls stay desktop-only; mobile controls are the single source of price/actions/qty. */
@media(max-width:900px){
  body.toco-redgold-ui .cart-page .cart-right{display:none!important;}
  body.toco-redgold-ui .cart-page .cart-item-box{
    grid-template-columns:18px 64px minmax(0,1fr)!important;
    gap:9px!important;padding:13px 12px!important;align-items:start!important;
  }
  body.toco-redgold-ui .cart-page .cart-img-wrap{width:64px!important;height:64px!important;border-radius:9px!important;}
  body.toco-redgold-ui .cart-page .cart-info{min-width:0!important;width:100%!important;}
  body.toco-redgold-ui .cart-page .cart-product-title{margin:0 0 4px!important;line-height:1.32!important;}
  body.toco-redgold-ui .cart-page .cart-variant{margin:0 0 3px!important;}
  body.toco-redgold-ui .cart-page .cart-stock-ok,
  body.toco-redgold-ui .cart-page .cart-stock-warning{margin:0 0 6px!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-bottom{
    width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;gap:10px!important;margin-top:6px!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-price{
    min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-price :where(.cart-price-row,.cart-price-old-row){
    width:auto!important;justify-content:flex-start!important;margin:0!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-actions{
    width:auto!important;min-width:94px!important;display:flex!important;flex-direction:column!important;
    align-items:flex-end!important;justify-content:flex-end!important;gap:6px!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-action-top{
    width:auto!important;height:28px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-qty-area{
    width:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;margin:0!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-stock{display:none!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-actions :where(.cart-wishlist-btn,.save-later-btn,.remove-cart){
    width:27px!important;height:27px!important;min-width:27px!important;margin:0!important;padding:0!important;
  }
  body.toco-redgold-ui .cart-page .cart-mobile-actions :where(.cart-wishlist-btn,.save-later-btn,.remove-cart) svg{
    width:17px!important;height:17px!important;
  }
  body.toco-redgold-ui .cart-page .qty-control{
    width:auto!important;height:30px!important;min-height:30px!important;margin:0!important;border-radius:9px!important;
  }
  body.toco-redgold-ui .cart-page .qty-control button{width:27px!important;height:28px!important;min-width:27px!important;padding:0!important;}
  body.toco-redgold-ui .cart-page .qty-input{width:34px!important;height:28px!important;padding:0!important;}
  body.toco-redgold-ui .cart-page .cart-toolbar{padding-left:12px!important;padding-right:12px!important;gap:10px!important;}
  body.toco-redgold-ui .cart-page .cart-toolbar-actions{gap:10px!important;flex-wrap:nowrap!important;}
}

@media(max-width:520px){
  body.toco-redgold-ui.register-page .register-main-wrapper{width:calc(100% - 24px)!important;margin:16px auto 28px!important;}
  body.toco-redgold-ui.register-page .register-form-side{padding:24px 18px!important;}
  body.toco-redgold-ui.register-page .form-header-row{
    display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:20px!important;
  }
  body.toco-redgold-ui.register-page .form-title{font-size:27px!important;line-height:1.1!important;}
  body.toco-redgold-ui.register-page .login-redirect{font-size:10.5px!important;white-space:nowrap!important;}
  body.toco-redgold-ui.register-page .social-btn-group .btn-social-item.google{height:48px!important;}
  body.toco-redgold-ui.register-page .input-field-group>input,
  body.toco-redgold-ui.register-page .btn-submit-register{height:48px!important;}
  body.toco-redgold-ui.register-page .terms-text{margin:1px 8px 2px!important;text-align:center!important;line-height:1.55!important;}

  body.toco-redgold-ui .cart-page .cart-item-box{
    grid-template-columns:17px 58px minmax(0,1fr)!important;gap:7px!important;padding:11px 10px!important;
  }
  body.toco-redgold-ui .cart-page .cart-img-wrap{width:58px!important;height:58px!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-bottom{gap:7px!important;}
  body.toco-redgold-ui .cart-page .cart-mobile-actions{min-width:90px!important;}
}


/* --- R3.9 storefront follow-up polish fixes --- */
body.toco-redgold-ui.home-page .storefront-home{width:min(calc(100% - (var(--toco-gutter-r3) * 2)),var(--toco-shell-r3))!important;max-width:var(--toco-shell-r3)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.toco-redgold-ui.home-page .storefront-home>:where(.hero-section,.category-section,.fs-section-header,.fs-carousel-container,.feature-bar-section,.home-new-items,.home-recommendations){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.toco-redgold-ui.home-page .fs-section-header{margin-top:22px!important;margin-bottom:0!important;padding:12px 16px!important;border-radius:16px 16px 0 0!important}
body.toco-redgold-ui.home-page .fs-title-box{width:100%!important;gap:14px!important;justify-content:space-between!important;align-items:center!important}
body.toco-redgold-ui.home-page .fs-title{padding-right:4px!important}
body.toco-redgold-ui.home-page .fs-carousel-container{background:var(--rg-gradient)!important;border-radius:0 0 16px 16px!important;padding:8px 10px 14px!important;box-sizing:border-box!important}
body.toco-redgold-ui.home-page .fs-carousel-wrapper{padding:2px 0 2px!important}
body.toco-redgold-ui.home-page .cat-nav-btn{top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.toco-redgold-ui.home-page .cat-nav-btn::before{width:9px!important;height:9px!important}
body.toco-redgold-ui.home-page .cat-nav-prev::before{transform:rotate(-135deg)!important;margin-left:2px!important}
body.toco-redgold-ui.home-page .cat-nav-next::before{transform:rotate(45deg)!important;margin-left:-2px!important}
body.toco-redgold-ui .footer-col h4{color:#312820!important}
body.toco-redgold-ui .footer-col a{color:#64748b!important}
body.toco-redgold-ui .footer-col a:hover{color:var(--rg-red-700)!important}
body.toco-redgold-ui .mh-hero h1,body.toco-redgold-ui .mh-hero p,body.toco-redgold-ui .mh-hero .mh-eyebrow{color:#2f251e!important}
body.toco-redgold-ui .mh-public-page h2,body.toco-redgold-ui .mh-public-page h3{color:#2f251e!important}
body.toco-redgold-ui .mh-public-page p,body.toco-redgold-ui .mh-public-page li,body.toco-redgold-ui .mh-public-page span,body.toco-redgold-ui .mh-contact-item a,body.toco-redgold-ui .mh-contact-item span{color:#5f564e!important}
body.toco-redgold-ui .mh-info-card p,body.toco-redgold-ui .mh-section ul,body.toco-redgold-ui .mh-faq-list details>div{color:#5f564e!important}
@media(max-width:700px){body.toco-redgold-ui.home-page .fs-section-header{padding:10px 12px!important}body.toco-redgold-ui.home-page .fs-title-box{gap:10px!important;align-items:flex-start!important}body.toco-redgold-ui.home-page .fs-timer-box{font-size:11px!important;flex-wrap:wrap!important}body.toco-redgold-ui.home-page .fs-carousel-container{padding:8px 8px 12px!important}}


/* --- R3.9.1 user-requested UI corrections (presentation only) --- */
body.toco-redgold-ui.home-page .home-new-items .section-title,
body.toco-redgold-ui.home-page .home-recommendations .section-title{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  font-size:21px!important;font-weight:500!important;line-height:1.25!important;color:#352d27!important;
}
body.toco-redgold-ui.home-page .home-new-items .section-title .mh-inline-symbol,
body.toco-redgold-ui.home-page .home-recommendations .section-title .mh-inline-symbol{
  width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0!important;color:#3b3129!important;
}
body.toco-redgold-ui .mh-rating-inline.mh-rating-compact{display:inline-flex!important;align-items:center!important;gap:5px!important;letter-spacing:0!important;white-space:nowrap!important}
body.toco-redgold-ui .mh-rating-single-star{width:14px!important;height:14px!important;display:block!important;fill:#f5b800!important;stroke:#f5b800!important;stroke-width:1!important;flex:0 0 14px!important}
body.toco-redgold-ui .mh-rating-inline.mh-rating-compact .mh-rating-number{font-size:11px!important;font-weight:700!important;color:#516078!important;line-height:1!important}
/* Keep catalog names clean on mobile: exactly two lines, no clipped third-line fragments. */
body.toco-redgold-ui :where(.pc-card,.product-card,.rec-card,.fs-product-card) :where(.pc-title,.product-title,.rec-title,.fs-product-title){
  height:auto!important;min-height:34px!important;max-height:34px!important;line-height:17px!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;text-overflow:ellipsis!important;
  padding:0!important;margin-bottom:7px!important;word-break:normal!important;overflow-wrap:break-word!important;
}
/* Login failure alert must stay centered on phones, not behave like a bottom sheet. */
body.toco-redgold-ui #errorModalOverlay.modal-overlay{
  position:fixed!important;inset:0!important;z-index:14500!important;padding:16px!important;
  align-items:center!important;justify-content:center!important;overflow:auto!important;
}
body.toco-redgold-ui #errorModalOverlay .modal-alert-card{
  width:min(100%,390px)!important;max-width:390px!important;height:auto!important;max-height:calc(100dvh - 32px)!important;
  margin:auto!important;border-radius:20px!important;padding:28px 22px 24px!important;display:block!important;overflow:auto!important;
}
@media(max-width:700px){
 body.toco-redgold-ui.home-page .home-new-items .section-title,
 body.toco-redgold-ui.home-page .home-recommendations .section-title{font-size:19px!important;font-weight:500!important;gap:7px!important}
 body.toco-redgold-ui.home-page .home-new-items .section-title .mh-inline-symbol,
 body.toco-redgold-ui.home-page .home-recommendations .section-title .mh-inline-symbol{width:18px!important;height:18px!important;flex-basis:18px!important}
 body.toco-redgold-ui :where(.pc-card,.product-card,.rec-card,.fs-product-card) :where(.pc-title,.product-title,.rec-title,.fs-product-title){min-height:40px!important;max-height:40px!important;line-height:20px!important;font-size:13px!important}
 body.toco-redgold-ui #errorModalOverlay.modal-overlay{padding:14px!important;align-items:center!important;justify-content:center!important}
 body.toco-redgold-ui #errorModalOverlay .modal-alert-card{width:min(100%,360px)!important;max-width:360px!important;margin:auto!important;border-radius:20px!important;max-height:calc(100dvh - 28px)!important}
}

/* --- R3.9.2 larger catalog price + rating typography (UI only) --- */
body.toco-redgold-ui.home-page :where(.home-new-items,.home-recommendations) .product-price,
body.toco-redgold-ui.home-page .fs-product-price,
body.toco-redgold-ui .products-page .pc-price,
body.toco-redgold-ui .category-page .product-price,
body.toco-redgold-ui .product-detail-page .rec-price{
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}

body.toco-redgold-ui.home-page :where(.home-new-items,.home-recommendations,.fs-carousel-container) .mh-rating-inline.mh-rating-compact,
body.toco-redgold-ui .products-page .mh-rating-inline.mh-rating-compact,
body.toco-redgold-ui .category-page .mh-rating-inline.mh-rating-compact,
body.toco-redgold-ui .product-detail-page .recommendation-grid .mh-rating-inline.mh-rating-compact,
body.toco-redgold-ui .product-detail-page .rec-grid .mh-rating-inline.mh-rating-compact{
  gap:6px!important;
}
body.toco-redgold-ui.home-page :where(.home-new-items,.home-recommendations,.fs-carousel-container) .mh-rating-single-star,
body.toco-redgold-ui .products-page .mh-rating-single-star,
body.toco-redgold-ui .category-page .mh-rating-single-star,
body.toco-redgold-ui .product-detail-page :where(.recommendation-grid,.rec-grid) .mh-rating-single-star{
  width:16px!important;
  height:16px!important;
  flex-basis:16px!important;
}
body.toco-redgold-ui.home-page :where(.home-new-items,.home-recommendations,.fs-carousel-container) .mh-rating-number,
body.toco-redgold-ui .products-page .mh-rating-number,
body.toco-redgold-ui .category-page .mh-rating-number,
body.toco-redgold-ui .product-detail-page :where(.recommendation-grid,.rec-grid) .mh-rating-number{
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.1!important;
}

@media(max-width:700px){
  body.toco-redgold-ui.home-page :where(.home-new-items,.home-recommendations) .product-price,
  body.toco-redgold-ui.home-page .fs-product-price,
  body.toco-redgold-ui .products-page .pc-price,
  body.toco-redgold-ui .category-page .product-price,
  body.toco-redgold-ui .product-detail-page .rec-price{
    font-size:17px!important;
  }
  body.toco-redgold-ui.home-page :where(.home-new-items,.home-recommendations,.fs-carousel-container) .mh-rating-single-star,
  body.toco-redgold-ui .products-page .mh-rating-single-star,
  body.toco-redgold-ui .category-page .mh-rating-single-star,
  body.toco-redgold-ui .product-detail-page :where(.recommendation-grid,.rec-grid) .mh-rating-single-star{
    width:16px!important;
    height:16px!important;
    flex-basis:16px!important;
  }
  body.toco-redgold-ui.home-page :where(.home-new-items,.home-recommendations,.fs-carousel-container) .mh-rating-number,
  body.toco-redgold-ui .products-page .mh-rating-number,
  body.toco-redgold-ui .category-page .mh-rating-number,
  body.toco-redgold-ui .product-detail-page :where(.recommendation-grid,.rec-grid) .mh-rating-number{
    font-size:13px!important;
  }
}
