/* The stage shop's look: direction «بازار ایرانی», dark (user, 2026-12-02). Over Storefront and WooCommerce,
   whose own colours look-setup.php sets to the same palette. Mockup: mockups/shop-home.html (#d2). */
@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Regular.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Medium.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-SemiBold.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Vazirmatn;src:url(fonts/Vazirmatn-Bold.woff2) format('woff2');font-weight:700;font-display:swap}

body.ewl{
  --bg:#0f1115;--s1:#171a21;--s2:#1a1d24;--s3:#1f232c;--line:#2a2f3a;--tx:#eceef2;--tx2:#c9ced8;--mut:#9aa1ad;
  --acc:#ff5a5f;--acc-d:#e04449;--vio:#8a3ffc;
  background:var(--bg);color:var(--tx2);
}
body.ewl,body.ewl button,body.ewl input,body.ewl select,body.ewl textarea,body.ewl .button,
body.ewl h1,body.ewl h2,body.ewl h3,body.ewl h4,body.ewl h5,body.ewl h6{font-family:Vazirmatn,Tahoma,sans-serif}
body.ewl h1,body.ewl h2,body.ewl h3,body.ewl h4{color:var(--tx);font-weight:700}
body.ewl a{color:var(--tx)}
body.ewl a:hover{color:var(--acc)}
body.ewl hr{background:var(--line)}

/* full width, no sidebar */
body.ewl .content-area{width:100%!important;float:none!important;margin:0!important}
body.ewl #secondary{display:none}

/* top bar */
.ewl-promo{background:linear-gradient(90deg,#5b2be0,var(--vio));color:#fff;text-align:center;padding:8px 12px;font:600 14px/1.6 Vazirmatn,Tahoma,sans-serif}
.ewl-promo b{background:#fff;color:#5b2be0;border-radius:6px;padding:1px 8px;margin:0 6px}

/* header */
body.ewl .site-header{background:var(--bg)!important;border-bottom:1px solid #1f232b;padding-top:14px;margin-bottom:0!important}
body.ewl .site-header>.col-full:first-child{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
body.ewl .site-header .site-branding{width:auto;float:none;margin:0;flex:none}
body.ewl .site-branding .site-title{font-size:20px;font-weight:700;margin:0;letter-spacing:0}
body.ewl .site-branding .site-title a{color:var(--tx)}
body.ewl .site-branding .site-title a::before{content:'ت';display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:var(--acc);color:#fff;font-size:19px;margin-left:10px;vertical-align:middle}
body.ewl .site-branding .site-description{display:none}
body.ewl .site-header .site-search{flex:1;width:auto;float:none;margin:0;min-width:220px}
body.ewl .site-search .widget_product_search form{margin:0}
body.ewl .site-search .widget_product_search input[type=search]{background:var(--s2)!important;border:1px solid var(--line);border-radius:12px;color:var(--tx);padding:12px 44px 12px 16px;box-shadow:none}
body.ewl .site-search .widget_product_search form::before{color:var(--mut);top:12px;right:16px;left:auto}
.ewl-actions{display:flex;gap:10px;flex:none}
.ewl-actions a{border:1px solid var(--line);border-radius:10px;padding:9px 14px;font-size:14px;color:var(--tx);white-space:nowrap}
.ewl-actions a:hover{border-color:var(--acc);color:var(--tx)}
.ewl-actions .ewl-cart{background:var(--acc);border-color:var(--acc);color:#fff;font-weight:700}
.ewl-actions .ewl-cart:hover{background:var(--acc-d);color:#fff}
.ewl-count{background:#fff3;border-radius:20px;padding:0 7px;margin-right:4px}
body.ewl .storefront-primary-navigation{background:transparent}
body.ewl .main-navigation ul.menu>li>a,body.ewl .main-navigation ul.nav-menu>li>a{color:#aeb4bf;font-size:14px;padding:14px 13px}
body.ewl .main-navigation ul.menu>li:first-child>a{color:var(--tx);font-weight:700}
body.ewl .main-navigation ul.menu>li>a:hover,body.ewl .main-navigation ul.menu>li.current-menu-item>a{color:var(--tx)}
body.ewl .main-navigation ul.menu ul{background:var(--s1)}
body.ewl .menu-toggle{border-color:var(--line);color:var(--tx);background:var(--s2)}
body.ewl .handheld-navigation{background:var(--s1)}
body.ewl .handheld-navigation ul a{color:var(--tx2)}

/* page frame */
body.ewl .site-content{padding-top:22px}
body.ewl .storefront-breadcrumb{background:transparent;margin-bottom:18px;padding:6px 0}
body.ewl .woocommerce-breadcrumb,body.ewl .woocommerce-breadcrumb a{color:var(--mut);font-size:13px}
body.ewl.home .storefront-breadcrumb,body.ewl.home.page .entry-header{display:none}
body.ewl .hentry .entry-header{border:0}
body.ewl .entry-title,body.ewl .woocommerce-products-header__title{font-size:26px}
body.ewl .site-main{margin-bottom:30px}
body.ewl .hentry{margin-bottom:0}

/* forms, tables, notices (Storefront and WooCommerce classic) */
body.ewl input[type=text],body.ewl input[type=email],body.ewl input[type=tel],body.ewl input[type=password],body.ewl input[type=number],
body.ewl input[type=search],body.ewl input[type=url],body.ewl textarea,body.ewl select,body.ewl .input-text{
  background:var(--s2)!important;color:var(--tx)!important;border:1px solid var(--line)!important;border-radius:10px;box-shadow:none!important}
body.ewl input::placeholder,body.ewl textarea::placeholder{color:#6f7682}
body.ewl label{color:var(--tx2)}
body.ewl table,body.ewl table th,body.ewl table td,body.ewl table tbody tr:nth-child(2n) td{background:transparent!important;border-color:var(--line)!important;color:var(--tx2)}
body.ewl table th{color:var(--tx)}
body.ewl table.shop_table_responsive tbody tr td,body.ewl .cart-collaterals table{background:transparent}
body.ewl .woocommerce-message,body.ewl .woocommerce-info,body.ewl .woocommerce-error,body.ewl .woocommerce-noreviews,body.ewl p.no-comments{
  background:var(--s1)!important;color:var(--tx)!important;border-right:4px solid var(--acc);border-radius:10px}
body.ewl .woocommerce-info{border-right-color:#5aa9e6}
body.ewl .woocommerce-message a,body.ewl .woocommerce-info a{color:var(--tx)}
body.ewl button,body.ewl .button,body.ewl input[type=submit],body.ewl .added_to_cart{border-radius:10px;font-weight:600}
body.ewl .button.alt,body.ewl button.alt,body.ewl .checkout-button{background:var(--acc)!important;color:#fff!important}
body.ewl .select2-container--default .select2-selection--single{background:var(--s2);border-color:var(--line)}
body.ewl .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--tx)}
body.ewl .select2-dropdown{background:var(--s1);border-color:var(--line);color:var(--tx)}

/* product cards (shop, categories, home grid, related) */
body.ewl ul.products li.product{background:var(--s1);border-radius:14px;padding:12px 12px 16px;text-align:right}
body.ewl ul.products li.product img{border-radius:10px;margin-bottom:12px}
body.ewl ul.products li.product .woocommerce-loop-product__title{color:#dfe2e7;font-size:14px;font-weight:500;margin-bottom:8px}
body.ewl ul.products li.product .price{color:var(--tx);font-weight:700;font-size:14px}
body.ewl ul.products li.product .price del{color:var(--mut);opacity:1;font-weight:400;font-size:12px}
body.ewl ul.products li.product .price ins{text-decoration:none}
body.ewl ul.products li.product .button{background:var(--s3);color:var(--tx);font-size:13px;padding:8px 14px;margin-top:6px}
body.ewl ul.products li.product .button:hover{background:var(--acc);color:#fff}
body.ewl .onsale{background:var(--acc);border:0;color:#fff;border-radius:8px;padding:2px 8px;font-size:12px}
body.ewl .storefront-sorting{border-color:var(--line)}
body.ewl .woocommerce-result-count{color:var(--mut)}
body.ewl .woocommerce-pagination .page-numbers li .page-numbers{background:var(--s1);color:var(--tx)}
body.ewl .woocommerce-pagination .page-numbers li .page-numbers.current{background:var(--acc);color:#fff}

/* single product */
body.ewl.single-product div.product .woocommerce-product-gallery img{border-radius:16px}
body.ewl.single-product div.product .product_title{font-size:26px}
body.ewl.single-product div.product p.price{color:var(--tx);font-size:22px;font-weight:700}
body.ewl.single-product div.product p.price del{color:var(--mut)}
body.ewl.single-product div.product .woocommerce-product-details__short-description{color:var(--tx2);line-height:2}
body.ewl .stock.out-of-stock{color:var(--acc)}
body.ewl .stock.in-stock{color:#5fd1a8}
body.ewl .woocommerce-tabs ul.tabs li a{color:var(--tx2)}
body.ewl .woocommerce-tabs ul.tabs li.active a{color:var(--tx)}
body.ewl .woocommerce-tabs ul.tabs,body.ewl .woocommerce-tabs ul.tabs li,body.ewl .product_meta{border-color:var(--line)}
body.ewl .product_meta,body.ewl .product_meta a{color:var(--mut)}
body.ewl .quantity .qty{background:var(--s2);color:var(--tx)}
body.ewl .storefront-sticky-add-to-cart{background:var(--s1);border-color:var(--line);color:var(--tx)}

/* WooCommerce cart and checkout blocks */
body.ewl .wp-block-woocommerce-cart,body.ewl .wp-block-woocommerce-checkout{color:var(--tx2)}
body.ewl .wc-block-components-text-input input,body.ewl .wc-block-components-text-input input:-webkit-autofill,
body.ewl .wc-block-components-combobox .wc-block-components-combobox-control input,
body.ewl .wc-blocks-components-select .wc-blocks-components-select__select,
body.ewl .wc-block-components-textarea,body.ewl .wc-block-components-form .wc-block-components-text-input input{
  background:var(--s2)!important;color:var(--tx)!important;border-color:var(--line)!important;-webkit-text-fill-color:var(--tx)}
body.ewl .wc-blocks-components-select .wc-blocks-components-select__container{background:var(--s2);border-color:var(--line)}
body.ewl .wc-block-components-text-input label,body.ewl .wc-blocks-components-select__label,body.ewl .wc-block-components-combobox label{color:var(--mut)!important}
body.ewl .wc-blocks-components-select__expand{fill:var(--tx2)}
body.ewl .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{background:var(--s2);border-color:var(--line)}
body.ewl .wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--tx)}
body.ewl .wc-block-components-radio-control__input{background:var(--s2)!important;border-color:#4a5060!important}
body.ewl .wc-block-components-radio-control__input:checked::before{background:var(--acc)!important}
body.ewl .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
body.ewl .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option{box-shadow:inset 0 0 0 1px var(--line)}
body.ewl .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.ewl .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control--checked-option-highlighted{box-shadow:inset 0 0 0 2px var(--acc)}
body.ewl .wc-block-components-radio-control__description,body.ewl .wc-block-components-radio-control__secondary-label,
body.ewl .wc-block-components-checkout-step__description,body.ewl .wc-block-components-product-metadata{color:var(--mut)}
body.ewl .wc-block-components-checkout-step__title,body.ewl .wc-block-components-title,body.ewl .wc-block-components-product-name,
body.ewl .wc-block-components-totals-item__label,body.ewl .wc-block-components-totals-item__value,
body.ewl .wc-block-components-radio-control__label,body.ewl .wc-block-components-formatted-money-amount{color:var(--tx)}
body.ewl .wc-block-components-sidebar-layout .wc-block-components-main,body.ewl .wc-block-components-totals-wrapper,
body.ewl .wc-block-components-panel,body.ewl .wc-block-cart-items,body.ewl .wc-block-cart-items td,body.ewl .wc-block-cart-items th,
body.ewl .wc-block-components-order-summary-item,body.ewl .wp-block-woocommerce-checkout-order-summary-block{border-color:var(--line)!important}
body.ewl .wp-block-woocommerce-checkout-order-summary-block,body.ewl .wc-block-components-sidebar .wc-block-components-panel{background:var(--s1);border-radius:14px}
body.ewl .wc-block-components-order-summary-item__quantity{background:var(--s3);border-color:var(--line);color:var(--tx);box-shadow:none}
body.ewl .wc-block-components-button:not(.is-link){background:var(--acc)!important;color:#fff!important;border-radius:10px}
body.ewl .wc-block-components-button:not(.is-link):hover{background:var(--acc-d)!important}
body.ewl .wc-block-components-quantity-selector{border-color:var(--line)}
body.ewl .wc-block-components-quantity-selector input,body.ewl .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{background:var(--s2);color:var(--tx)}
body.ewl .wc-block-components-notice-banner{background:var(--s1)!important;color:var(--tx)!important;border-color:var(--line)!important}
body.ewl .wc-block-components-notice-banner>svg{background:var(--acc);fill:#fff}
body.ewl .wc-block-components-address-card{border-color:var(--line)}
body.ewl .wc-block-components-panel__button,body.ewl .wc-block-components-totals-coupon-link{color:var(--tx)}
body.ewl .wc-block-components-validation-error p,body.ewl .has-error .wc-block-components-text-input label{color:#ff8a8d!important}
body.ewl .wc-block-checkout__terms,body.ewl .wc-block-checkout__terms a{color:var(--mut)}

/* my account */
body.ewl .woocommerce-MyAccount-navigation ul{border-color:var(--line)}
body.ewl .woocommerce-MyAccount-navigation ul li{border-color:var(--line)}
body.ewl .woocommerce-MyAccount-navigation ul li a{color:var(--tx2)}
body.ewl .woocommerce-MyAccount-navigation ul li.is-active a{color:var(--acc)}
body.ewl .woocommerce-MyAccount-content mark{background:var(--s3);color:var(--tx)}
body.ewl fieldset,body.ewl .woocommerce-form-login,body.ewl .woocommerce-form-register{border-color:var(--line)}

/* the phone-login plugin's card */
body.ewl .lwp_forms_login,body.ewl .ajax-auth{background:var(--s1)!important;border-color:var(--line)!important;color:var(--tx2)!important;box-shadow:none!important}
body.ewl .ajax-auth h1,body.ewl .lwp_forms_login h1,body.ewl .ajax-auth .lh1{color:var(--tx)!important}

/* footer */
body.ewl .site-footer{background:#0b0d10!important;padding:24px 0 30px;color:#8a909b}
.ewl-footer{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;flex-wrap:wrap;padding-top:6px}
.ewl-footer strong{color:var(--tx);font-size:15px}
.ewl-footer p{margin:6px 0 0;font-size:13px;line-height:1.9;max-width:560px}
.ewl-footer nav{display:flex;gap:18px;font-size:14px}
.ewl-footer nav a{color:var(--tx2)}
body.ewl .storefront-handheld-footer-bar{background:var(--s1);border-color:var(--line)}
body.ewl .storefront-handheld-footer-bar ul li>a{background:var(--s1)!important;color:var(--tx)!important;border-color:var(--line)!important}
body.ewl .storefront-handheld-footer-bar ul li.cart .count{background:var(--acc);color:#fff;border-color:var(--s1)}
body.ewl .storefront-handheld-footer-bar ul li.search .site-search{background:var(--s1)}

/* home page ([ewano_stage_home]) */
.ewl-home{color:var(--tx2)}
/* Storefront underlines links in the content; cards, banners, the footer and the breadcrumb are not running text. */
body.ewl .ewl-home a,body.ewl .ewl-footer a,body.ewl .woocommerce-breadcrumb a,body.ewl ul.products li.product a{text-decoration:none!important}
.ewl-top{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:26px}
.ewl-banner{border-radius:18px;padding:34px 40px;background:linear-gradient(135deg,#1e2a4a,#2b1f4d);display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--tx)}
.ewl-banner-txt strong{display:block;font-size:30px;line-height:1.5;color:#fff}
.ewl-banner-txt>span:not(.ewl-btn){display:block;color:#b9b4dd;margin:8px 0 20px}
.ewl-btn{display:inline-block;background:var(--acc);color:#fff;border-radius:10px;padding:10px 22px;font-weight:600}
.ewl-banner:hover .ewl-btn{background:var(--acc-d)}
.ewl-banner-art{flex:none;width:200px;height:200px;border-radius:50%;background:#ffffff10;display:flex;align-items:center;justify-content:center}
.ewl-minis{display:grid;gap:16px}
.ewl-mini{border-radius:18px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;font-weight:600;color:var(--tx);font-size:16px}
.ewl-mini small{display:block;font-weight:400;color:#c9c9c9;font-size:12px;margin-top:4px}
.ewl-mini-gift{background:#163a32}.ewl-mini-book{background:#3d2a14}
.ewl-mini:hover,.ewl-banner:hover{filter:brightness(1.08);color:var(--tx)}
.ewl-cats{display:flex;justify-content:center;gap:42px;flex-wrap:wrap;margin:4px 0 28px}
.ewl-cat{text-align:center;font-size:13px;color:#cfd3da;width:90px}
.ewl-cat-c{width:84px;height:84px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;transition:transform .15s}
.ewl-cat:hover .ewl-cat-c{transform:translateY(-3px)}
.ewl-deal{border-radius:20px;background:var(--acc);padding:16px;display:flex;gap:14px;align-items:stretch;margin-bottom:30px}
.ewl-deal-t{width:150px;flex:none;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.ewl-deal-t b{font-size:22px;line-height:1.5}
.ewl-clock{margin-top:10px;background:#fff3;border-radius:8px;padding:5px 12px;font-size:15px;font-weight:700;direction:ltr}
.ewl-deal-list{flex:1;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.ewl-deal-card{background:var(--s1);border-radius:14px;padding:10px;display:flex;flex-direction:column;color:var(--tx)}
.ewl-deal-card:hover{color:var(--tx);outline:2px solid #fff6}
.ewl-deal-img img{border-radius:10px;display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.ewl-deal-name{font-size:13px;font-weight:500;margin:10px 0 6px;color:#dfe2e7;flex:1}
.ewl-deal-row{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:13px;font-weight:700;flex-wrap:wrap}
.ewl-deal-price del{color:var(--mut);font-weight:400;font-size:11px;display:block}
.ewl-deal-price ins{text-decoration:none}
.ewl-off{background:var(--acc);color:#fff;border-radius:8px;padding:1px 7px;font-size:12px}
.ewl-h{font-size:20px;margin:0 0 16px}
.ewl-pay{border:1px dashed #3a3f4b;border-radius:16px;padding:16px 22px;display:flex;align-items:center;gap:16px;font-size:14px;color:#c6cad2;margin-top:10px;line-height:1.9}
.ewl-pay b{color:#fff}
.ewl-ic{display:block;flex:none}

@media (max-width:900px){
  .ewl-top{grid-template-columns:1fr}
  .ewl-banner{padding:24px}
  .ewl-banner-txt strong{font-size:22px}
  .ewl-banner-art{width:120px;height:120px}
  .ewl-banner-art svg{width:96px;height:96px}
  .ewl-minis{grid-template-columns:1fr 1fr}
  .ewl-deal{flex-direction:column}
  .ewl-deal-t{width:auto;flex-direction:row;gap:14px}
  .ewl-deal-t b br{display:none}
  .ewl-clock{margin:0}
  .ewl-deal-list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:42%;overflow-x:auto;padding-bottom:4px}
  .ewl-cats{gap:14px}
  .ewl-cat{width:70px}
  .ewl-cat-c{width:64px;height:64px}
  .ewl-cat-c svg{width:34px;height:34px}
}
@media (max-width:767px){
  /* two product cards a row on the phone, like the partners' shops (Storefront stacks them one a row) */
  body.ewl ul.products{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}
  body.ewl ul.products::before,body.ewl ul.products::after{display:none!important}
  body.ewl ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:8px 8px 12px}
  body.ewl ul.products li.product .button{padding:7px 10px;font-size:12px}
  /* the five category circles in one row */
  .ewl-cats{gap:8px;flex-wrap:nowrap;justify-content:space-between}
  .ewl-cat{width:64px;font-size:12px}
  .ewl-cat-c{width:56px;height:56px}
  .ewl-cat-c svg{width:30px;height:30px}
  body.ewl .site-header>.col-full:first-child{gap:10px}
  body.ewl .site-header .site-search{display:none}
  .ewl-actions{margin-right:auto}
  .ewl-actions a{padding:7px 10px;font-size:13px}
}
