:root{color:#222;background:#eaeded;font-family:Arial,"Microsoft YaHei",sans-serif}header.market-header{background:#131921;color:white;padding:14px 3%;gap:24px}.market-header .logo{font-size:30px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.market-header .logo span{display:inline;font-size:30px;letter-spacing:-1px;color:#ffb64a;margin:0}.market-header .search{flex:1;width:auto;margin:0;display:flex;min-width:100px}.market-header .search input{border-radius:4px 0 0 4px;background:white;height:42px}.market-header .search button{background:#febd69;color:#151b23;border-radius:0 4px 4px 0;width:50px;font-size:30px}.market-header select{font-size:12px;background:#232f3e;color:white;border:1px solid #58616c}.market-header small{display:block;font-size:11px;margin-top:5px}.market-header .bag b{background:#f5a623;color:#131921}.market-nav{background:#232f3e;color:white;border:0;padding:10px 3%;gap:30px}.market-nav a{color:#c8d0da}.market-nav button:first-child{font-weight:bold}.market-main{padding:0 3% 40px;max-width:1500px}.market-hero{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:330px}[dir=ltr] .market-hero{direction:ltr}[dir=rtl] .market-hero{direction:rtl}.category-menu{background:white;box-shadow:0 3px 6px #0001;padding:15px 0;z-index:1;max-height:390px;overflow-y:auto;align-self:start}.category-menu h3{margin:4px 20px 15px;color:#222}.category-menu button{display:block;width:100%;padding:17px 22px;text-align:start;font-size:13px}.category-menu button:hover{background:#f4f4f4;color:#b86300}.category-menu span{float:right;color:#aaa}.market-banner{position:relative;overflow:hidden;background:#eee;min-width:0}.market-banner>img{width:100%;height:100%;max-height:390px;object-fit:cover;display:block}.banner-dots{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;gap:10px}.banner-dots button{width:10px;height:10px;border-radius:50%;background:#fff8;box-shadow:0 0 2px #222}.banner-dots button.active{background:#f7a31a}.notice-row{display:grid;grid-template-columns:3fr 1fr;gap:15px;margin:18px 0}.notice-row section{background:#fff;padding:18px 20px;min-height:130px;border-radius:3px}.notice-row h3{font-size:14px;border-inline-start:4px solid #ff9900;padding-inline-start:10px;border-bottom:1px solid #eee;padding-bottom:15px;margin:0}.notice-row p{font-size:12px;color:#777;line-height:1.8}.notice-row button{font-size:12px;color:#377884;padding:0}.service-panel>div{display:flex;justify-content:space-around;padding-top:15px}.service-panel span{color:#f5a623;font-size:27px;text-align:center}.service-panel small{display:block;color:#777;font-size:10px;margin-top:7px}.category-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 15px}.category-heading h2{font-size:20px;border-inline-start:4px solid #ff9900;padding-inline-start:12px;margin:0}.category-heading button{font-size:12px;color:#377884}.market-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.market-products .card{background:white;border-radius:3px;padding:16px}.market-products .product-image{background:#f6f6f6;border-radius:0;aspect-ratio:1.12}.market-products .product-image>span{font-size:100px}.market-products .card h3{font-size:14px;min-height:38px;line-height:1.5;margin:14px 0 8px}.market-products .card-bottom strong{color:#dd4b26;font-size:18px}.market-products .card small{display:block;margin-top:10px;font-size:11px;color:#999}.primary{background:#ffad32;color:#202832;border-radius:3px}.add{background:#fff0d7;color:#b46000;border-radius:4px}.floating-tools{position:fixed;right:0;top:38%;background:#17212c;color:white;z-index:5;box-shadow:0 0 5px #0002}.floating-tools button{display:block;width:52px;padding:14px 3px;border-bottom:1px solid #ffffff20;font-size:23px}.floating-tools small{display:block;font-size:9px;margin-top:6px}.back-top{display:block;width:100%;background:#37475a;color:white;text-align:center;padding:16px}.market-footer{background:#232f3e;color:#dde3e9;padding:35px 6%;display:grid;grid-template-columns:repeat(4,1fr);align-items:start;gap:30px;border:0}.market-footer h3{font-size:15px;color:white}.market-footer p,.market-footer button{font-size:12px;line-height:1.8;padding:0}.payment-box{background:#fff6e7;border:1px solid #f1d9b2;padding:15px;margin:20px 0;font-size:13px;line-height:1.7}.payment-box input{font-family:monospace;font-size:13px}.receipt-image{display:block;max-width:100%;max-height:280px;margin:15px auto;object-fit:contain}.admin-layout aside{background:#232f3e}.admin-main h1{font-size:26px}.stats>div{background:#fff;border-top:3px solid #f5a623}.badge{background:#fff0cd}.order .primary{padding:10px;margin:8px 0}.admin-layout .logo{font-size:24px}.order button{margin-inline-end:10px}#proof-error{color:#a73420}.market-header .account-button{font-size:13px}[dir=rtl] .category-menu{direction:rtl}[dir=rtl] .category-menu span{float:left}@media(max-width:900px){header.market-header{gap:15px;padding:14px 20px}.market-header .search{order:4;flex-basis:100%}.market-nav{gap:20px;padding:12px 20px}.market-hero{grid-template-columns:175px 1fr;min-height:250px}.category-menu button{padding:12px 18px}.market-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.notice-row{grid-template-columns:2fr 1fr}.market-banner>img{object-fit:cover}.floating-tools{display:none}}@media(max-width:600px){.market-main{padding:0 12px 30px}.market-hero{display:block;min-height:0}.category-menu{display:none}.market-banner>img{height:210px}.market-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.market-products .card{padding:10px}.market-products .product-image>span{font-size:75px}.market-products .card-bottom strong{font-size:15px}.market-header .logo,.market-header .logo span{font-size:25px}.notice-row{grid-template-columns:1fr;gap:10px}.notice-row section{min-height:90px}.service-panel{display:none}.market-footer{grid-template-columns:1fr 1fr}.category-heading h2{font-size:17px}.market-header .account-button{font-size:12px}.category-heading{margin-top:20px}.market-header .bag{font-size:12px}}
.banner-copy{position:absolute;top:20%;inset-inline-start:5%;max-width:43%;color:#17232f;direction:inherit}.banner-copy h1{font-size:32px;margin:15px 0}.banner-copy p{font-size:13px;line-height:1.7}.banner-copy small{font-size:11px;letter-spacing:2px}.banner-copy .primary{margin-top:15px}[dir=rtl] .banner-copy{text-align:right}[dir=rtl] .floating-tools{right:auto;left:0}@media(max-width:600px){.banner-copy{top:12%;max-width:48%}.banner-copy h1{font-size:24px;margin:8px 0}.banner-copy p{font-size:10px}.banner-copy .primary{padding:8px;font-size:11px;margin-top:5px}}

.money{display:inline-block;white-space:nowrap;direction:ltr;unicode-bidi:isolate}.market-products .card h3 bdi{unicode-bidi:isolate}

.market-header .logo{display:flex;align-items:center;gap:0}.brand-icon{display:inline-block;width:30px;height:30px;vertical-align:middle;margin-inline-end:7px;flex:none}.market-header .logo .brand-on{color:#fff}.market-header .logo .brand-buy{color:#ffb64a}

/* Keep Latin branding and USDT readable within the Persian interface. */
.logo,.market-header .logo{direction:ltr;unicode-bidi:isolate;flex-direction:row}
.banner-copy{inset-inline-start:auto;left:5%;right:auto;width:40%;max-width:40%}
.banner-copy small{direction:ltr;unicode-bidi:isolate;display:block}
html[lang=fa]{font-family:Tahoma,Arial,sans-serif}
html[lang=fa] h1,html[lang=fa] h2,html[lang=fa] h3{letter-spacing:normal}
html[lang=fa] .market-nav,html[lang=fa] .category-menu button{font-size:14px;line-height:1.8}
html[lang=fa] .market-header small,html[lang=fa] .notice-row p,html[lang=fa] .notice-row button,html[lang=fa] .service-panel small{font-size:12px;line-height:1.8}
html[lang=fa] .market-products .card h3{font-size:14px;line-height:1.9}
.market-products .card h3 button{width:100%;text-align:start}
html[lang=fa] .banner-copy{text-align:right;direction:rtl}
html[lang=fa] .banner-copy p{font-size:14px;line-height:1.9}
.market-header .logo,.money{font-family:Arial,sans-serif}
.money{font-variant-numeric:tabular-nums;letter-spacing:normal;direction:ltr;unicode-bidi:isolate}
@media(max-width:600px){.banner-copy{left:4%;right:auto;max-width:44%;width:44%}html[lang=fa] .banner-copy p{font-size:12px}.banner-copy h1{font-size:21px}.market-products .card-bottom{flex-wrap:wrap}}
