/* Ebazaya storefront visual system. Loaded last to keep buyer surfaces consistent. */
body:not([data-theme="dark"]){
  background-color:#cbd7db!important;
  background-image:radial-gradient(ellipse 54% 42% at -8% 19%,#f7bd765c,transparent 72%),radial-gradient(ellipse 58% 52% at 105% 34%,#8ab6c584,transparent 70%),linear-gradient(135deg,#d7dedc 0%,#ccd9dc 47%,#e0dfd5 100%)!important;
  background-attachment:fixed!important;
  color:#20323d;
}
body[data-theme="dark"]{
  background-color:#111c25!important;
  background-image:radial-gradient(ellipse 60% 50% at 0 0,#4d3a2745,transparent 75%),radial-gradient(ellipse 70% 65% at 100% 40%,#1f455044,transparent 74%),linear-gradient(135deg,#101a23,#172630 60%,#111d27)!important;
  background-attachment:fixed!important;
}
body:not([data-theme="dark"]) .header{background:linear-gradient(105deg,#14222b,#1c2b34 58%,#12202a)!important;border-color:#32434c!important;box-shadow:0 6px 24px #14242d25}
body:not([data-theme="dark"]) .category-bar{background:linear-gradient(110deg,#192b35,#1e313c 56%,#172832)!important;border-color:#3c525c!important;box-shadow:inset 0 1px #ffffff0d}
body[data-theme="dark"] .category-bar{background:linear-gradient(110deg,#192b35,#22343e 56%,#172832)!important;border-color:#3c525c!important}
.header .brand-logo{width:43px;height:43px;border-radius:13px;box-shadow:0 0 0 1px #ffffff23,0 8px 18px #06101655;transition:transform .18s ease,box-shadow .18s ease}
.header .brand:hover .brand-logo{transform:rotate(-5deg) scale(1.04);box-shadow:0 0 0 1px #f8bb6880,0 10px 21px #06101665}
.header .brand{gap:11px;font-weight:900;letter-spacing:-.04em}
.category-row{gap:5px;min-height:101px}
.category-top{min-width:0;flex:1 0 0;min-height:101px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 10px 6px!important;border-bottom:3px solid transparent;border-radius:8px 8px 0 0!important;font-size:12px!important;font-weight:750;line-height:1.18;white-space:normal;text-align:center;transition:background .18s ease,border-color .18s ease,color .18s ease}
.category-top img,.category-top:nth-child(5) img,.category-top:nth-child(7) img{display:block;width:61px;height:61px;object-fit:contain;padding:3px!important;border-radius:17px!important;background:#ffffff0f!important;box-shadow:inset 0 0 0 1px #ffffff18!important;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.category-top:hover img,.category-top.active img{transform:translateY(-2px) scale(1.04);background:#ffffff18!important;box-shadow:inset 0 0 0 1px #ffffff2d,0 7px 12px #0003!important}
.category-top img[src*="telegram.svg"],.category-top:hover img[src*="telegram.svg"],.category-top.active img[src*="telegram.svg"]{background:#e9f4f6!important;padding:7px!important}
body:not([data-theme="dark"]) .category-top:hover,body:not([data-theme="dark"]) .category-top.active,body[data-theme="dark"] .category-top:hover,body[data-theme="dark"] .category-top.active{background:#ffffff11!important;border-bottom-color:#f6ad4a!important}
.buyer-main{padding-top:14px}
.buyer-main .discovery{gap:14px;margin-bottom:16px;align-items:stretch}
body:not([data-theme="dark"]) .buyer-main .popular-panel{background:#f1f6f5!important;border:1px solid #b9cbd0!important;box-shadow:0 12px 28px #20343b13!important}
.buyer-main .popular-panel{border-radius:16px;padding:15px 17px 17px}
.buyer-main .popular-heading{margin-bottom:11px}
.buyer-main .popular-heading .block-label{font-size:17px;letter-spacing:-.035em;margin:0;color:#203440}
.buyer-main .popular-subtitle{font-size:11px;color:#617781}
.buyer-main .popular-strip{grid-auto-rows:55px;max-height:117px;gap:7px}
.buyer-main .popular-strip .popular-chip{height:55px;padding:5px 8px;border-radius:10px;gap:9px}
body:not([data-theme="dark"]) .buyer-main .popular-strip .popular-chip{background:#fff!important;border:1px solid #d6e1e1!important;box-shadow:0 2px 5px #1e3b4410!important}
body:not([data-theme="dark"]) .buyer-main .popular-strip .popular-chip:hover,body:not([data-theme="dark"]) .buyer-main .popular-strip .popular-chip.active{background:#fff7ea!important;border-color:#ebb36a!important;box-shadow:0 5px 13px #6e4b1f20!important}
.buyer-main .popular-strip img.popular-icon{width:40px;height:40px;border-radius:10px;padding:4px;object-fit:contain;background:#edf3f4!important;border:1px solid #dce7e9!important}
.buyer-main .popular-chip-copy strong{font-size:13px;line-height:1.2;color:#203440}
.buyer-main .popular-chip-copy small{font-size:10px;color:#73858c}
.buyer-main .popular-arrow{border-radius:8px}
body:not([data-theme="dark"]) .buyer-main .discovery-search{background:linear-gradient(118deg,#172a35,#243e49 68%,#2a4650)!important;border:1px solid #47626a!important;box-shadow:0 12px 26px #172c3440!important}
.buyer-main .discovery-search{min-height:179px;padding:17px 20px;border-radius:16px;gap:11px}
.buyer-main .discovery-search .block-label{font-size:19px;letter-spacing:-.04em}
.buyer-main .large-search{height:49px;min-height:49px;border-radius:10px}
.buyer-main .large-search input{font-size:14px}
.buyer-main .large-search button{font-size:13px}
.buyer-main .search-regions button{border-color:#718994;background:#ffffff13;min-height:27px}
.buyer-main .search-regions button:hover,.buyer-main .search-regions button[aria-pressed="true"]{background:#f4ad4d;border-color:#f4ad4d;color:#1a2b34}
.buyer-main .catalog-top{margin-bottom:10px}
.buyer-main .catalog-top h1{font-size:27px;letter-spacing:-.045em}
.buyer-main .catalog-top .crumb{font-size:12px}
body:not([data-theme="dark"]) .buyer-main .catalog-top h1{color:#172d38}
body:not([data-theme="dark"]) .buyer-main .quick-filters{background:#f3f6f4!important;border:1px solid #b9cbd0!important;border-left:4px solid #eca143!important;box-shadow:0 5px 15px #29454b12!important}
.buyer-main .quick-filters{border-radius:11px;padding:9px 12px;margin-bottom:11px}
body:not([data-theme="dark"]) .buyer-main .quick-filters input,body:not([data-theme="dark"]) .buyer-main .quick-filters select{background:#fff!important;border-color:#cddadb!important}
.buyer-main .grid{gap:15px}
.buyer-main .product-card{border-radius:15px!important;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body:not([data-theme="dark"]) .buyer-main .product-card{background:#fbfdfc!important;border:1px solid #b8cbd0!important;box-shadow:0 7px 18px #213c4419!important}
body:not([data-theme="dark"]) .buyer-main .product-card:hover{transform:translateY(-3px);border-color:#eba752!important;box-shadow:0 17px 30px #1f39432c!important}
.buyer-main .product-card .thumb,body:not([data-theme="dark"]) .buyer-main .product-card .thumb{height:174px;overflow:hidden}
.buyer-main .product-thumb img{transition:transform .24s ease,filter .24s ease}
.buyer-main .product-card:hover .product-thumb img,body:not([data-theme="dark"]) .buyer-main .product-card:hover .thumb img{transform:scale(1.045)}
.buyer-main .product-card .cardbody{min-height:191px;padding:13px 14px 14px}
.buyer-main .product-card h3{font-size:14px;line-height:1.35;min-height:39px;color:#1e3340}
.buyer-main .product-card .cardcat{font-size:11px!important;font-weight:700;letter-spacing:.02em}
.buyer-main .product-card .product-seller{font-size:11px}
.buyer-main .product-card .price{font-size:22px;font-weight:900;letter-spacing:-.035em}
.buyer-main .product-card .buy-green{min-height:40px;border-radius:9px;font-size:13px;font-weight:800;transition:background .18s ease,transform .18s ease}
.buyer-main .product-card .buy-green:hover{transform:translateY(-1px)}
body:not([data-theme="dark"]) .footer{background:#1b2d37!important;border-color:#3b525c!important;color:#b9cbd0!important}
body:not([data-theme="dark"]) .footer-column h3{color:#f2f5f2!important}
body:not([data-theme="dark"]) .footer-column button,body:not([data-theme="dark"]) .footer-column a{color:#bdcbd0!important}
body:not([data-theme="dark"]) .footer-column button:hover,body:not([data-theme="dark"]) .footer-column a:hover{color:#ffbd66!important}
body:not([data-theme="dark"]) .footer-bottom{border-color:#3b525c!important;color:#91a7b0!important}
body[data-theme="dark"] .buyer-main .popular-strip .popular-chip{background:#263943!important;border-color:#49606a!important}
body[data-theme="dark"] .buyer-main .popular-chip-copy strong,body[data-theme="dark"] .buyer-main .popular-heading .block-label{color:#edf4f3}
body[data-theme="dark"] .buyer-main .popular-chip-copy small,body[data-theme="dark"] .buyer-main .popular-subtitle{color:#adc0c6}
body[data-theme="dark"] .buyer-main .product-card{background:#20313b;border-color:#415763}
body[data-theme="dark"] .buyer-main .quick-filters label{color:#e8eef0}
body[data-theme="dark"] .buyer-main .quick-filters input,body[data-theme="dark"] .buyer-main .quick-filters select{color:#e9f1f3;background:#263b49;border-color:#58707c}
body[data-theme="dark"] .buyer-main .quick-filters input::placeholder{color:#bfced3;opacity:1}
@media(max-width:1100px){.category-top{flex:1 0 auto;min-width:145px}.buyer-main .grid{gap:11px}}
@media(max-width:760px){.buyer-main .discovery{grid-template-columns:1fr}.buyer-main .discovery-search{min-height:116px}.buyer-main .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
  .header .brand-logo{width:36px;height:36px}
  .category-row{min-height:91px;gap:3px}
  .category-top{min-height:91px;min-width:114px;padding:6px 7px!important;font-size:11px!important}
  .category-top img,.category-top:nth-child(5) img,.category-top:nth-child(7) img{width:53px;height:53px;border-radius:14px!important}
  .buyer-main{padding-top:10px}
  .buyer-main .popular-panel{padding:12px}
  .buyer-main .popular-heading .block-label{font-size:15px}
  .buyer-main .popular-strip{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:55px;max-height:117px;gap:6px}
  .buyer-main .popular-strip .popular-chip{height:55px;gap:6px;padding:5px}
  .buyer-main .popular-strip img.popular-icon{width:36px;height:36px}
  .buyer-main .popular-chip-copy strong{font-size:11px}
  .buyer-main .popular-chip-copy small{font-size:10px}
  .buyer-main .discovery-search{padding:14px;gap:8px}
  .buyer-main .catalog-top h1{font-size:21px}
  .buyer-main .product-card .thumb,body:not([data-theme="dark"]) .buyer-main .product-card .thumb{height:142px}
  .buyer-main .product-card .cardbody{min-height:184px;padding:10px}
  .buyer-main .product-card h3{font-size:13px;min-height:48px}
  .buyer-main .product-card .price{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.header .brand-logo,.category-top,.category-top img,.buyer-main .product-card,.buyer-main .product-thumb img,.buyer-main .product-card .buy-green{transition:none!important}}

/* Category gallery and a more visible two-tone storefront background. */
body:has(.buyer-main):not([data-theme="dark"]){
  background-color:#e1e9e9!important;
  background-image:linear-gradient(180deg,#314f5b 0,#6f9aa3 225px,#bfd4d5 405px,#e6e9e5 655px,#e3e8e6 100%)!important;
  background-attachment:scroll!important;
}
body:has(.buyer-main)[data-theme="dark"]{
  background-color:#101c26!important;
  background-image:linear-gradient(180deg,#0e1821 0,#17313c 330px,#142731 650px,#101c26 100%)!important;
  background-attachment:fixed!important;
}
body:has(.buyer-main) .category-bar,body:has(.buyer-main):not([data-theme="dark"]) .category-bar{
  background:#14222b!important;
  padding:11px 0 13px;
  border-bottom:1px solid #49616a!important;
  box-shadow:0 10px 25px #14242b32;
}
body:has(.buyer-main) .category-row{min-height:112px;gap:11px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#61737a transparent}
body:has(.buyer-main) .category-top{
  position:relative;
  isolation:isolate;
  min-height:112px;
  flex:1 0 0;
  padding:7px 8px 8px!important;
  justify-content:flex-end;
  gap:2px;
  border:1px solid #ffffff24!important;
  border-radius:15px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#314653,#1d3541)!important;
  box-shadow:inset 0 1px #ffffff1a,0 6px 14px #0003;
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,filter .2s ease;
}
body:has(.buyer-main) .category-top[data-kind="all"]{background:linear-gradient(132deg,#4e5360 0%,#283d4a 58%,#152d3a 100%)!important}
body:has(.buyer-main) .category-top[data-kind="game"]{background:linear-gradient(132deg,#56518a 0%,#334b76 54%,#1c3c63 100%)!important}
body:has(.buyer-main) .category-top[data-kind="social"]{background:linear-gradient(132deg,#93496c 0%,#713a78 54%,#3d3b77 100%)!important}
body:has(.buyer-main) .category-top[data-kind="mail"]{background:linear-gradient(132deg,#347fa3 0%,#316d9e 55%,#244d7e 100%)!important}
body:has(.buyer-main) .category-top[data-kind="phone"]{background:linear-gradient(132deg,#286f7e 0%,#256474 55%,#194253 100%)!important}
body:has(.buyer-main) .category-top::after{content:"";position:absolute;inset:auto 0 0;height:43%;z-index:-1;background:linear-gradient(0deg,#07182385,transparent)}
body:has(.buyer-main) .category-top img,body:has(.buyer-main) .category-top:nth-child(5) img,body:has(.buyer-main) .category-top:nth-child(7) img{
  width:69px;height:69px;padding:3px!important;margin:auto auto 0;
  border-radius:17px!important;background:#ffffff1a!important;
  box-shadow:0 7px 16px #06121c45,inset 0 1px #ffffff30!important;
  filter:drop-shadow(0 3px 5px #0002);
}
body:has(.buyer-main) .category-top img[src*="telegram.svg"],body:has(.buyer-main) .category-top:hover img[src*="telegram.svg"],body:has(.buyer-main) .category-top.active img[src*="telegram.svg"]{background:#eaf5f6!important;padding:8px!important}
body:has(.buyer-main) .category-top:hover,body:has(.buyer-main) .category-top.active,
body:has(.buyer-main):not([data-theme="dark"]) .category-top:hover,body:has(.buyer-main):not([data-theme="dark"]) .category-top.active{
  background-image:linear-gradient(135deg,#976327,#bd7930 50%,#714d31)!important;
  border-color:#ffca7b!important;
  box-shadow:0 0 0 2px #f8b95b55,0 10px 22px #07172250;
  color:#fff!important;
  transform:translateY(-2px);
}
body:has(.buyer-main) .category-top:hover img,body:has(.buyer-main) .category-top.active img{transform:scale(1.06)}
body:has(.buyer-main) .buyer-main{padding-top:15px}
body:has(.buyer-main) .buyer-main .discovery{margin-bottom:14px}
body:has(.buyer-main):not([data-theme="dark"]) .popular-panel{background:#f5f9f8!important;border-color:#c7d8dc!important;box-shadow:0 15px 29px #12323d24!important}
body:has(.buyer-main):not([data-theme="dark"]) .discovery-search{background:linear-gradient(125deg,#1b303d 0%,#2b505c 70%,#365e67 100%)!important;box-shadow:0 15px 29px #12323d35!important}
body:has(.buyer-main) .buyer-main .catalog-top h1{font-size:29px}
body:has(.buyer-main):not([data-theme="dark"]) .buyer-main .catalog-top h1{color:#17303c}
body:has(.buyer-main):not([data-theme="dark"]) .buyer-main .catalog-top .crumb{color:#46616b}
body:has(.buyer-main):not([data-theme="dark"]) .buyer-main .product-card{background:#fff!important;border-color:#bbced1!important;box-shadow:0 9px 23px #203c4624!important}
body:has(.buyer-main):not([data-theme="dark"]) .buyer-main .product-card:hover{box-shadow:0 18px 34px #1838473c!important}
body:has(.buyer-main) .buyer-main .product-card .cardbody{min-height:174px;padding:11px 13px 13px}
body:has(.buyer-main) .buyer-main .product-card h3{min-height:38px;margin:7px 0 5px;font-size:14px;line-height:1.32}
body:has(.buyer-main) .buyer-main .product-card .product-seller{font-size:12px}
body:has(.buyer-main) .buyer-main .product-card .product-sales{font-size:11px}
body:has(.buyer-main) .buyer-main .product-card .price-row{padding-top:4px;margin-bottom:8px}
body:has(.buyer-main) .buyer-main .product-card .price{font-size:22px}
body:has(.buyer-main) .buyer-main .product-card .buy-green{min-height:39px}
body:has(.buyer-main) .buyer-main .product-card .thumb{height:150px}
body:has(.buyer-main) .buyer-main .grid{gap:12px}
body:has(.buyer-main) .buyer-main .quick-filters label{font-size:12px;font-weight:650}
body:has(.buyer-main) .buyer-main .quick-filters input,body:has(.buyer-main) .buyer-main .catalog-tools select{font-size:12px}
@media(min-width:1280px){body:has(.buyer-main) .buyer-main .grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1021px) and (max-width:1279px){body:has(.buyer-main) .buyer-main .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1020px){body:has(.buyer-main) .buyer-main .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){body:has(.buyer-main) .category-top{min-width:155px;flex:1 0 auto}}
@media(max-width:560px){
  body:has(.buyer-main) .category-bar{padding:8px 0 10px}
  body:has(.buyer-main) .category-row{min-height:102px;gap:8px}
  body:has(.buyer-main) .category-top{min-width:117px;min-height:102px;padding:5px 6px 7px!important;font-size:11px!important}
  body:has(.buyer-main) .category-top img,body:has(.buyer-main) .category-top:nth-child(5) img,body:has(.buyer-main) .category-top:nth-child(7) img{width:58px;height:58px}
  body:has(.buyer-main) .buyer-main{padding-top:10px}
  body:has(.buyer-main) .buyer-main .catalog-top h1{font-size:21px}
  body:has(.buyer-main) .buyer-main .product-card .thumb{height:130px}
  body:has(.buyer-main) .buyer-main .product-card .cardbody{min-height:172px;padding:9px 10px 10px}
  body:has(.buyer-main) .buyer-main .product-card h3{font-size:13px;min-height:46px}
  body:has(.buyer-main) .buyer-main .product-card .product-seller{font-size:11px}
  body:has(.buyer-main) .buyer-main .product-card .price{font-size:19px}
}

/* Give every category icon a square, size-stable slot. */
body:has(.buyer-main) .category-bar,body:has(.buyer-main):not([data-theme="dark"]) .category-bar{padding:9px 0 10px}
body:has(.buyer-main) .category-row{max-width:1180px;min-height:121px;gap:12px;justify-content:space-between}
body:has(.buyer-main) .category-top{
  flex:0 0 210px;
  min-height:121px;
  padding:9px 10px 8px!important;
  gap:5px;
  justify-content:center;
  overflow:visible;
  white-space:normal;
}
body:has(.buyer-main) .category-icon-frame{display:grid;place-items:center;flex:none;width:76px;height:76px;aspect-ratio:1;margin:0 auto;line-height:0}
body:has(.buyer-main) .category-top .category-icon-frame img,
body:has(.buyer-main) .category-top:nth-child(5) .category-icon-frame img,
body:has(.buyer-main) .category-top:nth-child(7) .category-icon-frame img,
body:has(.buyer-main) .category-top .category-icon-frame img[src*="telegram.svg"]{
  display:block;width:100%!important;height:100%!important;min-width:0;min-height:0;
  aspect-ratio:1;object-fit:contain!important;object-position:center;
  padding:0!important;margin:0!important;border:0;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;filter:none!important;
  transform:none!important;
}
body:has(.buyer-main) .category-top[data-kind="phone"] .category-icon-frame{border-radius:18px;background:#edf8f9;padding:8px;box-shadow:0 6px 15px #07172236}
body:has(.buyer-main) .category-label{display:block;flex:none;max-width:100%;color:#f4f7f8!important;font-size:13px;line-height:1.2;font-weight:800;overflow-wrap:anywhere;text-align:center;text-shadow:0 1px 4px #04121c7a}
body:has(.buyer-main) .category-top:focus-visible{outline:3px solid #ffd086;outline-offset:3px}
body:has(.buyer-main) .category-top:hover .category-icon-frame,body:has(.buyer-main) .category-top.active .category-icon-frame{transform:translateY(-2px) scale(1.04)}
@media(max-width:1100px){body:has(.buyer-main) .category-row{max-width:100%;justify-content:flex-start}body:has(.buyer-main) .category-top{flex:0 0 174px}}
@media(max-width:560px){
  body:has(.buyer-main) .category-bar{padding:7px 0 9px}
  body:has(.buyer-main) .category-row{min-height:110px;gap:8px}
  body:has(.buyer-main) .category-top{flex:0 0 132px;min-width:132px;min-height:110px;padding:6px 7px 7px!important;gap:3px}
  body:has(.buyer-main) .category-icon-frame{width:66px;height:66px}
  body:has(.buyer-main) .category-label{font-size:12px;line-height:1.15}
}
@media(prefers-reduced-motion:reduce){body:has(.buyer-main) .category-top:hover .category-icon-frame,body:has(.buyer-main) .category-top.active .category-icon-frame{transform:none}}
body:has(.buyer-main) .category-top[data-kind="phone"] .category-icon-frame{background:transparent!important;padding:0!important;box-shadow:none!important}
body:has(.buyer-main):not([data-theme="dark"]) .buyer-main .popular-strip img.popular-icon{background:transparent!important;border-color:transparent!important;padding:0!important}
