/* Ebazaya storefront: quiet surfaces, strong hierarchy, and a dense first screen. */
body:not([data-theme="dark"]){
  background-color:#e6e8e4!important;
  background-image:radial-gradient(ellipse at 8% 8%,#efbe8359,transparent 43%),radial-gradient(ellipse at 96% 36%,#a7cbd168,transparent 44%),radial-gradient(ellipse at 43% 100%,#e9cda542,transparent 48%),linear-gradient(130deg,#e9e8e1 0%,#e2e9e7 51%,#e9e5dc 100%)!important;
  color:#23313b;
}
body:not([data-theme="dark"]) .header{
  background:#111820!important;
  border-bottom:1px solid #34404a!important;
  box-shadow:0 6px 24px #1118201c;
}
.header .headrow{height:60px}
body:not([data-theme="dark"]) .brand{color:#f7f7f2;font-size:20px;letter-spacing:-.045em}
.brand-logo{box-shadow:0 3px 12px #0005}
body:not([data-theme="dark"]) .header .userpill,
body[data-theme="dark"] .header .userpill{
  background:#f2a340!important;
  border:1px solid #f4b459!important;
  color:#17232b!important;
  font-weight:800;
  padding:10px 15px;
}
body:not([data-theme="dark"]) .header .userpill:hover,
body[data-theme="dark"] .header .userpill:hover{background:#ffb45c!important;color:#17232b!important;border-color:#ffd08d!important}
.primary{background:#f2a340!important;color:#17232b!important}
.primary:hover{background:#ffb45c!important}
.category-bar,
body:not([data-theme="dark"]) .category-bar{
  background:linear-gradient(115deg,#18222b 0%,#1e2932 50%,#141d25 100%)!important;
  border-bottom:1px solid #44515b!important;
}
.category-row,.category-top{min-height:99px}
.category-row{gap:2px}
.category-top{
  min-height:99px;
  padding:5px 12px;
  gap:3px;
  color:#e8eeef;
  font-size:12px;
  line-height:1.25;
  border-radius:0;
  border-bottom-width:3px;
}
.category-top img,.category-top:nth-child(5) img,.category-top:nth-child(7) img{width:66px;height:66px;object-fit:contain;transition:transform .18s ease}
.category-top:hover,.category-top.active{background:#293841;border-bottom-color:#f2a340;color:#fff;transform:none}
.category-top:hover img{transform:translateY(-2px) scale(1.04)}
.buyer-main{padding-top:12px;padding-bottom:70px}
.discovery{grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:13px;margin-bottom:12px}
body:not([data-theme="dark"]) .popular-panel{
  background:#f6f7f3!important;
  border:1px solid #cbd4d1!important;
  box-shadow:0 8px 22px #23323c0b!important;
}
.popular-panel{padding:13px 14px 14px;border-radius:13px}
.popular-heading{margin-bottom:8px;min-height:31px}
.popular-heading .block-label{font-size:16px;letter-spacing:-.025em;color:#1e2d38}
.popular-subtitle{font-size:11px;color:#697a82}
.popular-arrow{width:30px;height:30px;background:#e6ecea;border-color:#c5d0cd;color:#2b404c}
body:not([data-theme="dark"]) .popular-arrow{background:#e6ecea;border-color:#c5d0cd;color:#2b404c}
.popular-strip{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:52px;max-height:110px;gap:6px;padding:1px 8px 1px 1px}
.popular-strip .popular-chip{
  height:52px;
  padding:5px 8px;
  gap:8px;
  border-radius:8px;
  transition:background .17s ease,border-color .17s ease,transform .17s ease,box-shadow .17s ease;
}
body:not([data-theme="dark"]) .popular-strip .popular-chip{
  background:#fff!important;
  border:1px solid #d7dfdb!important;
  box-shadow:0 1px 3px #1b30340a;
}
body:not([data-theme="dark"]) .popular-strip .popular-chip:hover{
  background:#fff8ec!important;
  border-color:#cfa666!important;
  box-shadow:0 5px 14px #49371b16;
}
.popular-strip img.popular-icon{width:37px;height:37px;padding:3px;border-radius:8px}
body:not([data-theme="dark"]) .popular-strip img.popular-icon{background:#eef1ee;border-color:#dce3e0}
.popular-chip-copy strong{font-size:12px;color:#273945;line-height:1.16}
.popular-chip-copy small{font-size:10px;color:#829198}
.popular-strip .popular-chip.active{background:#fff0d7!important;border-color:#e8a551!important}
.discovery-search{
  min-height:179px;
  padding:14px 18px;
  border-radius:13px;
  display:flex;
  justify-content:center;
  gap:10px;
}
body:not([data-theme="dark"]) .discovery-search{
  background:radial-gradient(ellipse at 100% 0%,#b46f2e45,transparent 47%),linear-gradient(137deg,#16212a,#253743 75%,#30434b)!important;
  border:1px solid #32444d!important;
  box-shadow:0 10px 24px #20343e24!important;
}
.discovery-search .block-label{font-size:18px;line-height:1.2;letter-spacing:-.04em;margin:0 0 3px}
body:not([data-theme="dark"]) .discovery-search .block-label{color:#f6f5f0}
.discovery-search .search-hint{margin:0;font-size:11px}
body:not([data-theme="dark"]) .discovery-search .search-hint{color:#b9c7cc}
.search-mark{display:none}
.large-search{height:47px;min-height:47px;border-radius:9px}
body:not([data-theme="dark"]) .large-search{
  background:#f8f9f6!important;
  border-color:#f8f9f6!important;
  box-shadow:0 4px 14px #0b141928;
}
.large-search input{padding:0 15px;font-size:13px}
body:not([data-theme="dark"]) .large-search input{color:#263843!important}
.large-search button{padding:0 22px;font-size:13px}
body:not([data-theme="dark"]) .large-search button{background:#f2a340!important;color:#1e272d!important}
body:not([data-theme="dark"]) .large-search button:hover{background:#ffb45c!important}
body[data-theme="dark"] .large-search button{background:#f2a340;color:#1e272d}
body[data-theme="dark"] .large-search button:hover{background:#ffb45c}
.search-regions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:#b9c7cc}
.search-regions span{margin-right:2px}
.search-regions button{min-height:26px;padding:3px 9px;border:1px solid #61717b;border-radius:6px;background:#ffffff13;color:#f2f5f1;font-size:11px;font-weight:700;cursor:pointer;transition:background .17s ease,border-color .17s ease}
.search-regions button:hover,.search-regions button[aria-pressed="true"]{background:#f2a340;color:#17232b;border-color:#f2a340}
.buyer-main .catalog-top{margin-bottom:8px}
.buyer-main .catalog-top>div:first-child{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap}
.buyer-main .catalog-top .crumb{white-space:nowrap}
.buyer-main .catalog-top .crumb{padding-left:13px;border-left:1px solid #aebdc1}
.buyer-main .catalog-top h1{margin:0}
.buyer-main .catalog-top h1{font-size:26px;letter-spacing:-.045em}
body:not([data-theme="dark"]) .buyer-main .catalog-top h1{color:#1d2c36}
.catalog-top .crumb{font-size:11px;color:#677a84}
body:not([data-theme="dark"]) .catalog-tools{color:#61747d}
body:not([data-theme="dark"]) .buyer-main .catalog-tools select{
  background:#fffdf9!important;
  border:1px solid #e5c79d!important;
  color:#2e414a!important;
  box-shadow:0 2px 7px #70451912;
}
.quick-filters{padding:9px 12px;margin:0 0 9px;border-radius:10px;gap:9px;flex-wrap:nowrap}
body:not([data-theme="dark"]) .quick-filters{
  background:linear-gradient(100deg,#fff0dc 0%,#fff9ee 47%,#f8f1e6 100%)!important;
  border:1px solid #e7bf85!important;
  border-left:4px solid #ed9d3c!important;
  color:#4e5c61;
  box-shadow:0 5px 15px #80521b14;
}
body:not([data-theme="dark"]) .quick-filters>span{color:#67411e}
.quick-filters label{gap:5px}
.quick-filters input{width:75px;min-height:36px}
body:not([data-theme="dark"]) .quick-filters input{
  background:#fffdf9!important;
  border-color:#dec6a6!important;
}
body:not([data-theme="dark"]) .quick-filters button{background:#fff5e7;border-color:#e9c18d;color:#81501e}
body:not([data-theme="dark"]) .quick-filters button:hover{background:#ffe8c9;border-color:#e2ad68}
.quick-filters .catalog-tools{display:flex;align-items:center;gap:7px;margin-left:auto;min-width:0}
.quick-filters .catalog-tools span{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:36px;padding:0 11px;border-radius:7px;background:#f2a340;color:#1e2b31;font-size:11px;font-weight:800}
.quick-filters .catalog-tools select{min-height:36px;max-width:181px;padding:0 28px 0 9px;font-size:11px}
body[data-theme="dark"] .quick-filters{background:linear-gradient(100deg,#332c27,#242e36 72%)!important;border-color:#715632!important;border-left:4px solid #f2a340!important}
body[data-theme="dark"] .quick-filters .catalog-tools span{background:#f2a340;color:#17232b}
.buyer-main .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.buyer-main .product-card{
  border-radius:12px;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body:not([data-theme="dark"]) .buyer-main .product-card{
  background:#fbfcfa!important;
  border:1px solid #cbd5d1!important;
  box-shadow:0 5px 15px #273a3d10!important;
}
body:not([data-theme="dark"]) .buyer-main .product-card:hover{
  border-color:#eca450!important;
  box-shadow:0 14px 28px #273a3d20!important;
}
.buyer-main .product-card .thumb{height:162px}
.buyer-main .product-card .cardbody{min-height:189px;padding:13px 15px 15px}
body:not([data-theme="dark"]) .buyer-main .product-card .cardcat{
  background:#eef2ef!important;
  border:1px solid #dce4dd!important;
  color:#566c72!important;
  font-size:10px;
  padding:4px 7px;
}
.buyer-main .product-card h3{min-height:38px;margin:8px 0 7px;font-size:14px;line-height:1.35}
body:not([data-theme="dark"]) .buyer-main .product-card h3{color:#23343e}
.buyer-main .product-card .product-seller{font-size:11px}
.buyer-main .product-card .product-sales{font-size:11px;margin-top:2px}
.buyer-main .product-card .price-row{margin:auto 0 9px;padding-top:7px}
.buyer-main .product-card .price{font-size:21px}
body:not([data-theme="dark"]) .buyer-main .product-card .price{color:#1d363e}
.buyer-main .product-card .buy-green{min-height:39px;border-radius:7px;font-size:12px;box-shadow:none}
body:not([data-theme="dark"]) .buyer-main .product-card .buy-green,
body[data-theme="dark"] .buyer-main .product-card .buy-green{background:#f2a340!important;color:#17232b!important;box-shadow:none!important}
body:not([data-theme="dark"]) .buyer-main .product-card .buy-green:hover,
body[data-theme="dark"] .buyer-main .product-card .buy-green:hover{background:#ffb45c!important}
.buyer-main .product-thumb.asset-steam{background:linear-gradient(140deg,#152b41,#24445d)}
.buyer-main .product-thumb.asset-steam img{width:54%;height:54%;object-fit:contain;padding:0;filter:brightness(0) invert(1)!important}
.buyer-main .product-thumb.asset-epic{background:linear-gradient(140deg,#222b35,#394756)}
.buyer-main .product-thumb.asset-epic img{width:48%;height:71%;object-fit:contain;padding:8px;background:#f4f4f1;border-radius:11px;filter:none!important}
.buyer-main .product-thumb.asset-telegram{background:linear-gradient(140deg,#176c99,#34a4d1)}
.buyer-main .product-thumb.asset-telegram img{width:53%;height:53%;object-fit:contain;padding:0;filter:brightness(0) invert(1)!important}
.buyer-main .product-thumb.asset-genshin{background:linear-gradient(140deg,#dce8e5,#c8d7d5)}
.buyer-main .product-thumb.asset-genshin img{width:70%;height:70%;object-fit:contain;padding:0;filter:none!important}
.buyer-main .product-thumb.asset-mail{background:linear-gradient(140deg,#e8f0ed,#d7e3de)}
.buyer-main .product-thumb.asset-mail img{width:57%;height:57%;object-fit:contain;padding:0;filter:none!important}
.buyer-main .product-thumb.asset-cs2{background:#202c34}
.buyer-main .product-thumb.asset-cs2 img{width:100%;height:100%;object-fit:cover;padding:0;filter:saturate(.9)!important}
body:not([data-theme="dark"]) .footer{background:#d7ded9!important;border-color:#bac7c0!important}
body:not([data-theme="dark"]) .footer-column h3{color:#2c4147!important}
body[data-theme="dark"] .discovery-search{background:linear-gradient(140deg,#172430,#263745);border-color:#3d5160}
body[data-theme="dark"] .popular-panel{background:#1d2b33;border-color:#3c4e57}
body[data-theme="dark"] .popular-strip .popular-chip{background:#263640;border-color:#41535c}
body[data-theme="dark"] .popular-strip img.popular-icon{background:#f3f5f2;border-color:#dce4df}
body[data-theme="dark"] .category-top img[src$="telegram.svg"]{background:#eaf3f4;border-radius:50%;padding:5px}
body[data-theme="dark"] .discovery-search .large-search{background:#f7f8f5;border-color:#f7f8f5}
body[data-theme="dark"] .discovery-search .large-search input{color:#263843}
body[data-theme="dark"] .discovery-search .large-search input::placeholder{color:#74828a}
body[data-theme="dark"] .popular-chip-copy strong{color:#ecf1ed}
body[data-theme="dark"] .buyer-main .product-card{background:#1d2a33;border-color:#40515a}
body[data-theme="dark"] .buyer-main .product-card .thumb{background-color:#243746}
@media(max-width:1100px){.buyer-main .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.popular-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:561px) and (max-width:1020px){.quick-filters{flex-wrap:wrap}.quick-filters .catalog-tools{margin-left:0;width:100%}}
@media(max-width:760px){.discovery{grid-template-columns:1fr;gap:10px}.popular-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.discovery-search{min-height:116px;padding:12px 18px;gap:8px}.search-regions{display:none}.buyer-main .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
  .header .headrow{height:58px}
  .brand{font-size:17px}
  .brand-logo{width:35px;height:35px}
  .category-row,.category-top{min-height:94px}
  .category-top{padding:4px 8px;font-size:12px}
  .category-top img,.category-top:nth-child(5) img,.category-top:nth-child(7) img{width:58px;height:58px}
  .buyer-main{padding-top:9px}
  .popular-panel{padding:11px}
  .popular-heading .block-label{font-size:14px}
  .popular-strip{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:52px;max-height:110px;gap:5px}
  .popular-strip .popular-chip{height:52px;gap:6px;padding:5px}
  .popular-strip img.popular-icon{width:34px;height:34px}
  .popular-chip-copy strong{font-size:11px}
  .popular-chip-copy small{font-size:9px}
  .discovery-search .block-label{font-size:17px}
  .discovery-search .search-hint{font-size:11px}
  .large-search{height:44px;min-height:44px}
  .large-search button{padding:0 14px;font-size:12px}
  .buyer-main .catalog-top>div:first-child{gap:8px}
  .buyer-main .catalog-top .crumb{padding-left:8px}
  .buyer-main .catalog-top h1{font-size:21px}
  .quick-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:7px;overflow:visible;padding:9px}
  .quick-filters>span{display:none}
  .quick-filters label{gap:4px;min-width:0;font-size:10px}
  .quick-filters input{width:100%;min-width:0;min-height:34px;padding:5px;font-size:11px}
  .quick-filters button{min-height:34px;flex:none;font-size:11px;padding:0 8px}
  .quick-filters .catalog-tools{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);width:100%;margin:0;gap:6px}
  .quick-filters .catalog-tools span{padding:0 7px;font-size:10px;min-height:34px}
  .quick-filters .catalog-tools select{width:100%;max-width:none;min-height:34px;padding:0 22px 0 7px;font-size:10px}
  .buyer-main .grid{gap:9px}
  .buyer-main .product-card .thumb{height:137px}
  .buyer-main .product-card .cardbody{min-height:189px;padding:10px}
  .buyer-main .product-card h3{font-size:12px;min-height:46px}
  .buyer-main .product-card .price{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.buyer-main .product-card,.popular-strip .popular-chip{transition:none}}
