/* Ebazaya buyer storefront: charcoal surfaces and a restrained amber accent. */
body[data-theme="dark"]:has(.buyer-main){
  color:#ece9e2!important;
  background:#101114!important;
  background-image:radial-gradient(ellipse 65% 390px at 55% 0,#332719 0%,transparent 75%),linear-gradient(180deg,#151719 0%,#111315 460px,#101114 100%)!important;
  background-attachment:fixed!important;
}
body[data-theme="dark"]:has(.buyer-main) .header{
  background:#101113!important;border-color:#2e2c2a!important;box-shadow:none!important;
}
body[data-theme="dark"]:has(.buyer-main) .brand{color:#f6f1e9!important}
body[data-theme="dark"]:has(.buyer-main) .header .outline,body[data-theme="dark"]:has(.buyer-main) .header .userpill{background:#242426!important;color:#f5eee3!important;border-color:#4b4640!important}
body[data-theme="dark"]:has(.buyer-main) .header .primary{background:#f59e33!important;color:#1a140e!important;border-color:#f59e33!important}

/* Equal category tiles stay inside one continuous top navigation bar. */
body[data-theme="dark"]:has(.buyer-main) .category-bar{
  background:#191a1c!important;border-color:#38332e!important;
  padding:12px 0!important;box-shadow:inset 0 1px #ffffff08,0 10px 28px #0005!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-row{
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));
  max-width:1180px;width:calc(100% - 32px);height:auto;min-height:0!important;
  gap:10px;overflow:visible;box-sizing:border-box;padding:0!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-top,
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="all"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="game"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="social"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="mail"],
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="phone"]{
  width:100%;min-width:0;min-height:120px;height:120px;
  box-sizing:border-box;overflow:hidden!important;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:10px 8px!important;gap:5px;
  border-radius:12px!important;border:1px solid #3b3a38!important;
  background:linear-gradient(145deg,#2b2c2e,#222325)!important;
  box-shadow:inset 0 1px #ffffff0d!important;
  transform:none!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-top::after{display:none!important}
body[data-theme="dark"]:has(.buyer-main) .category-top:hover,body[data-theme="dark"]:has(.buyer-main) .category-top.active,
body[data-theme="dark"]:has(.buyer-main) .category-top:hover,
body[data-theme="dark"]:has(.buyer-main) .category-top.active{
  border-color:#e99a3b!important;
  background:linear-gradient(145deg,#393127,#252526)!important;
  box-shadow:inset 0 1px #f3bd7e25,0 0 0 1px #e99a3b26!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-icon-frame{width:72px;height:72px;flex:none!important}
body[data-theme="dark"]:has(.buyer-main) .category-top .category-icon-frame img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  padding:0!important;margin:0!important;background:none!important;
  border:0!important;box-shadow:none!important;filter:none!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-label{color:#f2eee8!important;font-size:13px;font-weight:700;line-height:1.15;text-shadow:none}
body[data-theme="dark"]:has(.buyer-main) .category-top.active .category-label{color:#ffc27d!important}

body[data-theme="dark"]:has(.buyer-main) .buyer-main{padding-top:16px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-panel,body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-panel{
  background:#202123!important;border:1px solid #393a3c!important;box-shadow:0 12px 30px #0003!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .discovery-search,body[data-theme="dark"]:has(.buyer-main) .buyer-main .discovery-search{
  background:linear-gradient(120deg,#242323,#30251a)!important;border:1px solid #56412e!important;box-shadow:0 12px 30px #0003!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .block-label,body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-heading .block-label,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-chip-copy strong{color:#f3f0eb!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-subtitle,body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-chip-copy small,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-hint{color:#aaa6a0!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip .popular-chip,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip .popular-chip,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip .popular-chip{
  background:#2b2c2e!important;border:1px solid #454548!important;box-shadow:none!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip .popular-chip:hover,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip .popular-chip.active{
  background:#3b3025!important;border-color:#cb8a43!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon{background:#ecebea!important;border-color:transparent!important;padding:3px!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="mail.svg"]{background:#ecebea!important;padding:5px!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-arrow{background:#303133!important;color:#eee8dd!important;border-color:#535354!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search{background:#ece9e3!important;border:1px solid #dccfbe!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search input{color:#262422!important;background:transparent!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search input::placeholder{color:#706b65!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search button,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .buy-green{background:#ee9d3e!important;color:#20170e!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-regions button{color:#e9e2d8!important;border-color:#756450!important;background:#ffffff0a!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-regions button:hover,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-regions button[aria-pressed="true"]{background:#ee9d3e!important;color:#1b1611!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-top h1,body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-top h1{color:#f3eee6!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-top .crumb{color:#aaa19a!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters,body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters{
  background:#222325!important;border:1px solid #414043!important;border-left:3px solid #e89a40!important;box-shadow:none!important;color:#eae4da!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters label{color:#dfd7cb!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters>span{color:#f0b46e!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters input,body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters input,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-tools select{background:#303133!important;color:#f1ece5!important;border-color:#565558!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters button[data-action="reset-filters"]{background:#39322b!important;color:#f0b46e!important;border-color:#785b3b!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-tools span{background:#ef9e40!important;color:#21170d!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card,body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card{
  background:#222325!important;border:1px solid #414144!important;box-shadow:0 8px 20px #0003!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card:hover{border-color:#d39145!important;box-shadow:0 13px 28px #0008!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card h3{color:#f1ede7!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .cardcat{background:#313235!important;color:#cac4ba!important;border-color:#4b4c4e!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .product-seller{color:#eeb164!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .product-seller span,
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .product-sales{color:#aaa8a4!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .price{color:#f7f1e8!important}
body[data-theme="dark"]:has(.buyer-main) .footer,body[data-theme="dark"]:has(.buyer-main) .footer{background:#171719!important;border-color:#393638!important}

@media(max-width:760px){
  body[data-theme="dark"]:has(.buyer-main) .category-bar{padding:9px 0!important}
  body[data-theme="dark"]:has(.buyer-main) .category-row{
    display:flex!important;width:100%;max-width:none;overflow-x:auto;overflow-y:hidden;
    gap:8px;padding:0 14px 4px!important;scrollbar-width:thin;scrollbar-color:#8a633d transparent;
  }
  body[data-theme="dark"]:has(.buyer-main) .category-top,
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="all"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="game"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="social"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="mail"],
  body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="phone"]{flex:0 0 132px;width:132px;height:112px;min-height:112px}
  body[data-theme="dark"]:has(.buyer-main) .category-icon-frame{width:65px;height:65px}
}
@media(prefers-reduced-motion:reduce){body[data-theme="dark"]:has(.buyer-main) .category-top{transition:none!important}}
