/* Ebazaya storefront: one calm dark canvas, warm merchandise accents. */
body[data-theme="dark"]:has(.buyer-main){
  background-color:#111211!important;
  background-image:radial-gradient(ellipse 70% 430px at 54% -5%,#3a2917 0%,#201911 36%,transparent 76%),linear-gradient(180deg,#171715 0%,#121312 460px,#101111 100%)!important;
}
body[data-theme="dark"]:has(.buyer-favorites-page){
  background-color:#111211!important;
  background-image:radial-gradient(ellipse 70% 430px at 54% -5%,#3a2917 0%,#201911 36%,transparent 76%),linear-gradient(180deg,#171715 0%,#121312 460px,#101111 100%)!important;
}
body[data-theme="dark"]:has(.buyer-main) .header{background:#111211!important;border-color:#302b24!important}
body[data-theme="dark"]:has(.buyer-main) .brand{font-size:22px;letter-spacing:-.045em}
body[data-theme="dark"]:has(.buyer-main) .header .brand-logo{box-shadow:0 0 0 1px #f1c58224,0 6px 16px #0005}
body[data-theme="dark"]:has(.buyer-main) .header .outline,
body[data-theme="dark"]:has(.buyer-main) .header .userpill{background:#1d1d1b!important;border-color:#494237!important}
body[data-theme="dark"]:has(.buyer-main) .header .primary{background:#efa84f!important}

body[data-theme="dark"]:has(.buyer-main) .category-bar{
  background:#171715!important;border-color:#342d23!important;
  box-shadow:0 7px 20px #0003!important;
}
body[data-theme="dark"]:has(.buyer-main) .category-top:not(:last-child)::before{background:#36332d}
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="game"] .category-icon-frame img,
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="mail"] .category-icon-frame img{filter:none!important}
body[data-theme="dark"]:has(.buyer-main) .category-top.active,
body[data-theme="dark"]:has(.buyer-main) .category-top:hover{background:#27231d!important;border-bottom-color:#e9a451!important}
body[data-theme="dark"]:has(.buyer-main) .category-icon-frame{width:62px;height:62px}
body[data-theme="dark"]:has(.buyer-main) .category-top[data-kind="social"] .category-icon-frame{width:56px;height:62px}
body[data-theme="dark"]:has(.buyer-main) .category-label{font-size:12px;letter-spacing:.01em;color:#dfd9cf!important}

body[data-theme="dark"]:has(.buyer-main) .buyer-main{padding-top:18px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .discovery{gap:14px;margin-bottom:20px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-panel{
  padding:15px 17px 16px;border-radius:14px;
  background:#1b1b19!important;border-color:#34332e!important;box-shadow:0 10px 24px #0002!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-heading{margin-bottom:10px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-heading .block-label{font-size:17px;letter-spacing:-.025em}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-subtitle{font-size:11px;color:#a6a095!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip{grid-auto-rows:52px;max-height:110px;gap:7px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip .popular-chip{
  height:52px;padding:5px 8px;gap:9px;border-radius:9px!important;
  background:#242421!important;border:1px solid #373630!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:#30271c!important;border-color:#986d39!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon{
  width:37px;height:37px;padding:0!important;background:transparent!important;border:0!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="steam.svg"],
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="gmail.svg"],
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="mail.svg"],
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon[src*="genshin.svg"]{filter:invert(1)!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-chip-copy strong{font-size:12px;color:#f1ece3!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-chip-copy small{font-size:10px;color:#aaa397!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-arrow{width:29px;height:29px;background:#252522!important;border-color:#48453d!important;color:#ead8bd!important}

body[data-theme="dark"]:has(.buyer-main) .buyer-main .discovery-search{
  min-height:0!important;height:auto!important;align-self:start;
  padding:14px 15px!important;gap:10px!important;justify-content:flex-start!important;
  border-radius:14px;background:#201e1a!important;border-color:#4b3a25!important;
  box-shadow:0 10px 24px #0002!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .discovery-search .block-label{font-size:16px;letter-spacing:-.02em}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search{height:43px;min-height:43px;border-color:#c9bba5!important;background:#f0ece5!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search input{font-size:13px;color:#282621!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search input::placeholder{color:#80786c!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .large-search button{background:#e9a34b!important;color:#21180d!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-regions{display:flex!important;align-items:center;gap:5px;flex-wrap:wrap}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-regions span{font-size:10px;color:#b4a995!important;margin-right:2px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-regions button{min-height:23px;padding:3px 7px;font-size:10px;border-radius:6px;color:#dfd6c8!important;border-color:#605443!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .search-regions button[aria-pressed="true"]{background:#e9a34b!important;color:#21180d!important;border-color:#e9a34b!important}

body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-top{margin-bottom:12px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-top h1{font-size:29px;letter-spacing:-.045em;color:#f3eee5!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-top .crumb{color:#a9a196!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters{
  background:transparent!important;border:0!important;border-top:1px solid #36332c!important;
  border-bottom:1px solid #36332c!important;border-left:0!important;border-radius:0!important;
  box-shadow:none!important;padding:10px 0!important;margin-bottom:14px;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters>span{color:#e2ac62!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters label{color:#c9c1b4!important}
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:#1e1f1d!important;border-color:#3d3d38!important;color:#eae4d9!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters button[data-action="reset-filters"]{background:transparent!important;color:#e8ae66!important;border-color:#715638!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-tools span{background:transparent!important;color:#d6cbbb!important;font-size:12px}

@media(min-width:1280px){body[data-theme="dark"]:has(.buyer-main) .buyer-main .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
@media(min-width:1021px) and (max-width:1279px){body[data-theme="dark"]:has(.buyer-main) .buyer-main .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card{
  border-radius:12px!important;background:#1b1c1a!important;border-color:#33342f!important;
  box-shadow:0 8px 18px #0003!important;
}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card:hover{border-color:#79603e!important;box-shadow:0 14px 27px #0006!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .thumb{height:184px!important;background:#222320!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .cardbody{min-height:178px;padding:13px 14px 14px!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .cardcat{font-size:10px;color:#c8a16e!important;letter-spacing:.04em}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card h3{font-size:14px;line-height:1.38;color:#f0ece5!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .product-seller{color:#d7a365!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .product-seller span{color:#a59e92!important}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .price{color:#f4eee4!important;font-size:22px}
body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .buy-green{background:#e8a04a!important;color:#21170d!important;border-radius:8px;font-size:12px}
body[data-theme="dark"]:has(.buyer-main) .footer{background:#151513!important;border-color:#35312a!important}

@media(max-width:760px){
  body[data-theme="dark"]:has(.buyer-main) .category-bar{overflow:hidden}
  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"]{height:93px;min-height:93px}
  body[data-theme="dark"]:has(.buyer-main) .category-icon-frame{width:55px;height:55px}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .discovery{grid-template-columns:1fr;gap:10px;margin-bottom:17px}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .discovery-search{padding:12px 13px!important;gap:8px!important}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-panel{padding:12px}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip{grid-auto-rows:49px;max-height:103px;gap:6px}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip .popular-chip{height:49px;padding:4px 6px;gap:6px}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .popular-strip img.popular-icon{width:33px;height:33px}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .catalog-top h1{font-size:23px}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .quick-filters{gap:8px;padding:9px 0!important}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .thumb{height:148px!important}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card .cardbody{min-height:167px;padding:10px!important}
  body[data-theme="dark"]:has(.buyer-main) .buyer-main .product-card h3{font-size:13px}
}
@media(max-width:380px){
  body[data-theme="dark"]:has(.buyer-main) .headrow{gap:8px}
  body[data-theme="dark"]:has(.buyer-main) .header .brand{gap:6px;font-size:17px}
  body[data-theme="dark"]:has(.buyer-main) .header .brand-logo{width:32px;height:32px}
  body[data-theme="dark"]:has(.buyer-main) .header .auth-actions{gap:5px}
  body[data-theme="dark"]:has(.buyer-main) .header .auth-actions button{padding:8px 9px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){body[data-theme="dark"]:has(.buyer-main) .product-card,body[data-theme="dark"]:has(.buyer-main) .product-card .thumb img{transition:none!important}}
