
:root{
  --aras-red:#E11B25;
  --aras-red-dark:#A40F18;
  --aras-navy:#203746;
  --aras-ink:#191D20;
  --aras-muted:#7D8285;
  --aras-muted-soft:#A7ABAD;
  --aras-page:#EFEFED;
  --aras-surface:#F7F7F5;
  --aras-white:#FFFFFF;
  --aras-line:rgba(28,34,38,.105);
  --aras-line-soft:rgba(28,34,38,.060);
  --aras-highlight:rgba(255,255,255,.94);
  --aras-red-soft:rgba(225,27,37,.085);
  --aras-red-faint:rgba(225,27,37,.045);
}

.aras-category-page,
.aras-category-page *{box-sizing:border-box}

.aras-category-page{
  direction:rtl;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif;
  color:var(--aras-ink);
  min-height:100vh;
  padding:1px 0 72px;
  background:var(--aras-page);
}

.aras-cat-wrap{
  width:min(1180px,calc(100% - 40px));
  max-width:1180px;
  margin-inline:auto;
}

/* Hero */
.aras-cat-hero{margin-top:58px;padding:0 0 34px}

.aras-cat-hero-final{
  padding:30px 32px 32px;
  overflow:hidden;
  border:1px solid var(--aras-line);
  border-radius:46px;
  background:linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,0)),var(--aras-surface);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(28,34,38,.025),
    0 1px 2px rgba(18,22,25,.025),
    0 14px 38px rgba(18,22,25,.04);
}

.aras-cat-hero-top{min-height:34px;padding:0 4px;display:flex;align-items:center}
.aras-cat-hero-path{
  display:inline-flex;align-items:center;gap:9px;
  color:#9AA0A4;font:600 11px/1 Inter,Arial,sans-serif;letter-spacing:.025em;direction:ltr;
}
.aras-cat-hero-path i{color:#C3C7C9;font-style:normal}
.aras-cat-hero-brand{color:var(--aras-navy);font-weight:760}
.aras-cat-hero-category{color:#7F8589;font-weight:650}

.aras-cat-hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:28px;
  align-items:stretch;
  margin-top:24px;
}
.aras-cat-hero-copy-final,
.aras-cat-count-panel{min-height:226px}
.aras-cat-hero-copy-final{
  display:flex;flex-direction:column;justify-content:center;padding:26px 16px 26px 6px;
}
.aras-cat-hero-copy-final h1{
  margin:0 0 16px;color:var(--aras-ink);font-size:58px;line-height:1.12;font-weight:620;letter-spacing:-1.8px;
}
.aras-cat-hero-copy-final p{
  max-width:720px;margin:0;color:#7C8387;font-size:14px;line-height:2.05;font-weight:450;
}

/* Count panel — same geometry language as approved lower component, gray palette */
.aras-cat-count-panel{
  padding:22px 22px 20px;
  display:flex;flex-direction:column;justify-content:space-between;
  border:1px solid rgba(28,34,38,.09);
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(249,249,247,.97));
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(28,34,38,.025),
    0 1px 2px rgba(18,22,25,.022),
    0 10px 24px rgba(18,22,25,.028);
}
.aras-cat-count-pill{
  display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;
  min-height:34px;padding:0 13px;
  border:1px solid rgba(225,27,37,.14);border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0)),var(--aras-red-soft);
  color:#D01B24;box-shadow:inset 0 1px 0 rgba(255,255,255,.88);
  font:700 10px/1 Inter,Arial,sans-serif;letter-spacing:.04em;direction:ltr;
}
.aras-cat-count-copy{margin:20px 0 14px}
.aras-cat-count-category{
  display:block;margin-bottom:10px;color:#A0A5A8;
  font:600 10px/1 Inter,Arial,sans-serif;letter-spacing:.08em;direction:ltr;text-align:left;
}
.aras-cat-count-value{display:flex;align-items:flex-end;gap:10px;direction:ltr}
.aras-cat-count-value strong{
  color:var(--aras-ink);font:600 72px/.88 Inter,Arial,sans-serif;letter-spacing:-.055em;
}
.aras-cat-count-value span{
  padding-bottom:8px;color:#9DA2A5;font:500 10px/1 Inter,Arial,sans-serif;letter-spacing:.13em;
}
.aras-cat-count-footer{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:14px;border-top:1px solid rgba(28,34,38,.065);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68);
  color:#A0A5A8;font:600 9px/1 Inter,Arial,sans-serif;letter-spacing:.09em;direction:ltr;
}
.aras-cat-count-footer i{
  display:block;width:34px;height:4px;border-radius:999px;background:var(--aras-navy);
  box-shadow:0 0 0 4px rgba(32,55,70,.035);
}

/* Filters */
.aras-cat-products{padding:0 0 44px}
.aras-cat-filterbar{
  display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;
  margin:0 0 20px;padding:4px;
  border:1px solid rgba(28,34,38,.065);border-radius:999px;
  background:rgba(248,248,246,.78);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 1px 2px rgba(18,22,25,.02);
}
.aras-cat-filter{
  appearance:none;-webkit-appearance:none;min-height:38px;padding:0 14px;margin:0;
  border:1px solid transparent;border-radius:999px;background:transparent;color:#70777B;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif;font-size:12px;font-weight:650;
  cursor:pointer;transition:.2s ease;outline:0;-webkit-tap-highlight-color:transparent;
}
.aras-cat-filter:hover,.aras-cat-filter.active{
  color:var(--aras-red);
  border-color:rgba(225,27,37,.11);
  background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,0)),rgba(225,27,37,.075);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 1px 1px rgba(225,27,37,.02);
}
.aras-card.aras-filter-hidden{display:none!important}

/* Exact approved V18 product card language, dynamic Woo image */
.aras-cat-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,344px))!important;
  justify-content:center!important;
  column-gap:22px!important;
  row-gap:24px!important;
  margin:0!important;
  padding:0!important;
}

.aras-v18-card{
  width:100%;max-width:344px;position:relative;overflow:hidden;
  border:1px solid var(--aras-line);border-radius:36px;background:var(--aras-surface);
  box-shadow:
    inset 0 1px 0 var(--aras-highlight),
    0 1px 2px rgba(18,22,25,.025),
    0 12px 34px rgba(18,22,25,.045);
  transition:transform .32s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .32s ease;
}
.aras-v18-card:hover{
  transform:translateY(-3px);
  border-color:rgba(28,34,38,.13);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 1px 2px rgba(18,22,25,.03),
    0 17px 40px rgba(18,22,25,.055);
}
.aras-v18-card-top{padding:14px 16px 11px;display:flex;direction:ltr;justify-content:flex-start}
.aras-v18-series{
  height:32px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;
  border:1px solid rgba(225,27,37,.075);border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,0)),var(--aras-red-soft);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 1px 1px rgba(225,27,37,.018);
  color:var(--aras-red);font-size:10.5px;font-weight:720;direction:rtl;
}
.aras-v18-score-dot{
  width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--aras-red);
  box-shadow:0 0 0 4px var(--aras-red-faint);
}
.aras-v18-media{
  width:calc(100% - 22px);
  aspect-ratio:1/1;
  margin:0 11px;
  overflow:hidden;
  border:1px solid rgba(28,34,38,.095);
  border-radius:30px;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(18,22,25,.020);
}
.aras-v18-product-image{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  margin:0;
  padding:0;
  border:0;
  background:#fff;
  transition:transform .45s cubic-bezier(.2,.8,.2,1);
}
.aras-v18-card:hover .aras-v18-product-image{transform:scale(1.012)}
.aras-v18-body{padding:14px 16px 16px}
.aras-v18-meta-row{
  min-height:29px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;
}
.aras-v18-chip{
  display:inline-flex;align-items:center;gap:6px;height:29px;padding:0 10px;
  border:1px solid var(--aras-line-soft);border-radius:999px;background:#fff;color:#60676B;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95);font-size:11px;font-weight:600;
}
.aras-v18-chip-mark{
  width:6px;height:6px;border-radius:50%;background:var(--aras-red);
  box-shadow:0 0 0 3px var(--aras-red-faint);
}
.aras-v18-brand{
  color:var(--aras-muted-soft);font:600 11px/1 Inter,Arial,sans-serif;letter-spacing:.015em;
}
.aras-v18-title{
  margin:0;color:var(--aras-ink);font-size:19px;font-weight:640;line-height:1.42;letter-spacing:-.02em;
}
.aras-v18-divider{
  position:relative;height:1px;margin:14px 0;background:rgba(28,34,38,.075);
}
.aras-v18-divider::after{
  content:"";position:absolute;left:0;right:0;top:1px;height:1px;background:rgba(255,255,255,.72);
}
.aras-v18-bottom{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.82fr);
  grid-template-rows:44px;align-items:stretch;gap:8px;direction:ltr;margin-top:13px;
}
.aras-v18-bottom.single{grid-template-columns:1fr}
.aras-v18-details,
.aras-v18-digikala{
  height:44px;border-radius:999px;text-decoration:none;
}
.aras-v18-details{
  grid-column:2;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--aras-line);background:#fff;color:var(--aras-ink);
  box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(18,22,25,.025);
  font-size:11px;font-weight:650;transition:.22s ease;
}
.aras-v18-bottom.single .aras-v18-details{grid-column:1}
.aras-v18-details:hover{transform:translateY(-1px);border-color:rgba(28,34,38,.14);color:var(--aras-ink)}
.aras-v18-digikala{
  grid-column:1;position:relative;display:block;overflow:hidden;
  border:1px solid rgba(151,7,17,.16);background:var(--aras-red);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(122,10,18,.10);
  transition:.22s ease;
}
.aras-v18-digikala:hover{transform:translateY(-1px);background:#D71923;color:#fff}
.aras-v18-digikala-text{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:0 44px;direction:rtl;text-align:center;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif;font-size:11px;font-weight:650;white-space:nowrap;
}
.aras-v18-digikala-arrow{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;display:grid;place-items:center;border-radius:50%;
  border:1px solid rgba(255,255,255,.08);background:var(--aras-red-dark);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
}
.aras-v18-digikala-arrow svg{width:14px;height:14px;display:block}

/* Recommendation — approved navy component with new language */
.aras-cat-recommend-section{padding:6px 0 0;background:transparent}
.aras-cat-recommend{
  position:relative;overflow:hidden;min-height:300px;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);align-items:stretch;
  gap:24px;padding:28px;
  border:1px solid rgba(16,31,40,.20);border-radius:42px;
  background:radial-gradient(circle at 14% 20%,rgba(255,255,255,.05),transparent 22%),var(--aras-navy);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 1px 2px rgba(14,24,31,.08),
    0 18px 44px rgba(18,31,40,.10);
}
.aras-cat-recommend::before{
  content:"";position:absolute;width:320px;height:320px;right:-140px;top:-150px;border-radius:50%;
  border:1px solid rgba(255,255,255,.075);
  box-shadow:0 0 0 50px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.012);
  pointer-events:none;
}
.aras-cat-recommend-copy{position:relative;z-index:2;align-self:center;padding:18px 18px 18px 24px}
.aras-cat-recommend-kicker{
  min-height:35px;display:inline-flex;align-items:center;padding:0 13px;
  border:1px solid rgba(255,255,255,.12);border-radius:999px;
  background:rgba(255,255,255,.065);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09);
  font-size:11px;font-weight:650;
}
.aras-cat-recommend h2{margin:16px 0 10px;color:#fff;font-size:32px;line-height:1.35;font-weight:650}
.aras-cat-recommend-copy p{max-width:560px;margin:0;color:rgba(255,255,255,.62);font-size:13px;line-height:2}
.aras-cat-recommend-product{
  position:relative;z-index:2;min-height:244px;padding:24px;
  display:flex;flex-direction:column;justify-content:space-between;
  border:1px solid rgba(255,255,255,.115);border-radius:32px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.11),0 1px 2px rgba(5,14,20,.08);
}
.aras-cat-rec-label{
  display:inline-flex;align-items:center;width:max-content;min-height:31px;padding:0 10px;
  border:1px solid rgba(225,27,37,.22);border-radius:999px;background:rgba(225,27,37,.12);
  color:#FF727A;font-size:10.5px;font-weight:700;
}
.aras-cat-recommend-product small{display:block;margin-top:12px;color:rgba(255,255,255,.43);font-size:10px}
.aras-cat-recommend-product h3{margin:6px 0 8px;color:#fff;font-size:21px;line-height:1.5;font-weight:650}
.aras-cat-recommend-product p{margin:0;color:rgba(255,255,255,.58);font-size:11.5px;line-height:1.85}
.aras-cat-rec-btn{
  width:max-content;min-width:140px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 18px;border:1px solid rgba(151,7,17,.28);border-radius:999px;background:var(--aras-red);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(8,16,21,.14);
  text-decoration:none;font-size:11.5px;font-weight:650;transition:.2s ease;
}
.aras-cat-rec-btn:hover{background:#D71923;color:#fff;transform:translateY(-1px)}

.aras-cat-empty{
  padding:50px 20px;border:1px dashed var(--aras-line);border-radius:28px;
  background:rgba(255,255,255,.45);text-align:center;color:var(--aras-muted);
}

.aras-reveal{opacity:0;transform:translateY(20px);transition:.7s cubic-bezier(.2,.7,.2,1)}
.aras-reveal.on{opacity:1;transform:none}

@media(max-width:900px){
  .aras-cat-grid{grid-template-columns:repeat(2,minmax(0,370px))!important;justify-content:center!important}
  .aras-cat-recommend{grid-template-columns:1fr}
}



/* =========================================================
   ARAS CATEGORY v1.5.5 — LIVE WORDPRESS HARDENING
   Prevent theme/global CSS from overriding the approved UI.
   ========================================================= */

/* --- Unified page background, including the band below header --- */
html,
body.tax-product_cat,
body.tax-product_cat #page,
body.tax-product_cat .site,
body.tax-product_cat .site-content,
body.tax-product_cat .content-area,
body.tax-product_cat main.site-main,
body.tax-product_cat .wp-site-blocks,
body.tax-product_cat #aras-glass-header-root,
body.tax-product_cat .aras-header-page-spacer,
body.tax-product_cat .aras-top-static,
body.tax-product_cat .aras-header-wrap{
  background:#EFEFED !important;
  background-image:none !important;
}

body.tax-product_cat #aras-glass-header-root::before,
body.tax-product_cat #aras-glass-header-root::after,
body.tax-product_cat .aras-header-page-spacer::before,
body.tax-product_cat .aras-header-page-spacer::after,
body.tax-product_cat .site-content::before,
body.tax-product_cat .site-content::after{
  background:#EFEFED !important;
  background-image:none !important;
}


body.tax-product_cat .aras-category-page{
  margin:0 !important;
  width:100% !important;
  max-width:none !important;
  min-height:100vh !important;
  background:#EFEFED !important;
  background-image:none !important;
}

/* stop common theme content wrappers from introducing a white strip */
body.tax-product_cat .site-content,
body.tax-product_cat .content-area,
body.tax-product_cat main.site-main{
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* --- Hero: lock proportions and typography --- */
body.tax-product_cat .aras-category-page .aras-cat-wrap{
  width:min(1180px,calc(100% - 40px)) !important;
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero{
  margin:58px 0 0 !important;
  padding:0 0 34px !important;
  background:#fff !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-final{
  width:100% !important;
  min-height:0 !important;
  padding:30px 32px 32px !important;
  border:1px solid rgba(28,34,38,.105) !important;
  border-radius:46px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,0)),
    #F7F7F5 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(28,34,38,.025),
    0 1px 2px rgba(18,22,25,.025),
    0 14px 38px rgba(18,22,25,.04) !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 250px !important;
  gap:28px !important;
  align-items:stretch !important;
  margin-top:24px !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final{
  min-height:226px !important;
  padding:26px 16px 26px 6px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final h1{
  margin:0 0 16px !important;
  padding:0 !important;
  color:#191D20 !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:58px !important;
  line-height:1.12 !important;
  font-weight:620 !important;
  letter-spacing:-1.8px !important;
  text-transform:none !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final p{
  max-width:720px !important;
  margin:0 !important;
  padding:0 !important;
  color:#7C8387 !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:14px !important;
  line-height:2.05 !important;
  font-weight:450 !important;
}

body.tax-product_cat .aras-category-page .aras-cat-count-panel{
  min-height:226px !important;
  align-self:stretch !important;
  margin:0 !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-path,
body.tax-product_cat .aras-category-page .aras-cat-count-category,
body.tax-product_cat .aras-category-page .aras-cat-count-value,
body.tax-product_cat .aras-category-page .aras-cat-count-footer,
body.tax-product_cat .aras-category-page .aras-cat-count-pill{
  text-transform:none !important;
}

/* --- Filters: full reset against theme button styles --- */
body.tax-product_cat .aras-category-page .aras-cat-filterbar{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  width:auto !important;
  max-width:100% !important;
  min-height:44px !important;
  margin:0 0 20px !important;
  padding:4px !important;
  border:1px solid rgba(28,34,38,.065) !important;
  border-radius:999px !important;
  background:rgba(248,248,246,.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.88),
    0 1px 2px rgba(18,22,25,.02) !important;
}

body.tax-product_cat .aras-category-page button.aras-cat-filter{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  height:38px !important;
  min-height:38px !important;
  margin:0 !important;
  padding:0 15px !important;
  border:1px solid transparent !important;
  border-radius:999px !important;
  background:transparent !important;
  color:#70777B !important;
  box-shadow:none !important;
  outline:0 !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:650 !important;
  text-decoration:none !important;
  text-transform:none !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent !important;
}

body.tax-product_cat .aras-category-page button.aras-cat-filter:hover,
body.tax-product_cat .aras-category-page button.aras-cat-filter.active{
  color:#E11B25 !important;
  border-color:rgba(225,27,37,.15) !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,0)),
    rgba(225,27,37,.085) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 1px 2px rgba(225,27,37,.025) !important;
}

/* --- Cards: isolate from Woo/theme h2/a/button styles --- */
body.tax-product_cat .aras-category-page .aras-cat-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,344px)) !important;
  justify-content:center !important;
  align-items:start !important;
  column-gap:22px !important; row-gap:24px !important;
}

body.tax-product_cat .aras-category-page article.aras-v18-card{
  width:100% !important;
  max-width:344px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid rgba(28,34,38,.105) !important;
  border-radius:36px !important;
  background:#F7F7F5 !important;
}

body.tax-product_cat .aras-category-page .aras-v18-card-top{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding:14px 16px 11px !important;
  direction:ltr !important;
}

body.tax-product_cat .aras-category-page .aras-v18-series{
  display:inline-flex !important;
  align-items:center !important;
  gap:9px !important;
  height:32px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  color:#E11B25 !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:10.5px !important;
  line-height:1 !important;
  font-weight:720 !important;
  direction:rtl !important;
}

body.tax-product_cat .aras-category-page .aras-v18-media{
  width:calc(100% - 22px) !important;
  height:auto !important;
  aspect-ratio:1/1 !important;
  margin:0 11px !important;
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid rgba(28,34,38,.095) !important;
  border-radius:30px !important;
  background:#fff !important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgba(18,22,25,.020) !important;
}

body.tax-product_cat .aras-category-page .aras-v18-product-image{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff !important;
}

body.tax-product_cat .aras-category-page .aras-v18-body{
  padding:14px 16px 16px !important;
}

body.tax-product_cat .aras-category-page .aras-v18-meta-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  min-height:29px !important;
  margin:0 0 10px !important;
}

body.tax-product_cat .aras-category-page .aras-v18-chip{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  height:29px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#60676B !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:600 !important;
}

/* Keep iOS-detected model-number links consistent with the product title. */
body.tax-product_cat .aras-category-page h2.aras-v18-title a,
body.tax-product_cat .aras-category-page h2.aras-v18-title [x-apple-data-detectors]{
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
  text-decoration:none !important;
  font:inherit !important;
  letter-spacing:inherit !important;
}

body.tax-product_cat .aras-category-page h2.aras-v18-title{
  margin:0 !important;
  padding:0 !important;
  color:#191D20 !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:19px !important;
  line-height:1.42 !important;
  font-weight:640 !important;
  letter-spacing:-.02em !important;
  text-transform:none !important;
}

body.tax-product_cat .aras-category-page .aras-v18-divider{
  height:1px !important;
  margin:14px 0 !important;
  border:0 !important;
}

/* Force both actions into one horizontal row */
body.tax-product_cat .aras-category-page .aras-v18-bottom{
  display:grid !important;
  grid-template-columns:minmax(0,1.35fr) minmax(0,.82fr) !important;
  grid-template-rows:44px !important;
  align-items:stretch !important;
  gap:9px !important;
  width:100% !important;
  margin:15px 0 0 !important;
  padding:0 !important;
  direction:ltr !important;
}

body.tax-product_cat .aras-category-page a.aras-v18-details,
body.tax-product_cat .aras-category-page a.aras-v18-digikala{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:44px !important;
  min-height:44px !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:999px !important;
  text-decoration:none !important;
  text-transform:none !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:650 !important;
}

body.tax-product_cat .aras-category-page a.aras-v18-details{
  grid-column:2 !important;
  grid-row:1 !important;
  border:1px solid rgba(28,34,38,.105) !important;
  background:#fff !important;
  color:#191D20 !important;
}

body.tax-product_cat .aras-category-page a.aras-v18-digikala{
  position:relative !important;
  grid-column:1 !important;
  grid-row:1 !important;
  overflow:hidden !important;
  border:1px solid rgba(151,7,17,.16) !important;
  background:#E11B25 !important;
  color:#fff !important;
}

body.tax-product_cat .aras-category-page a.aras-v18-digikala,
body.tax-product_cat .aras-category-page a.aras-v18-digikala *,
body.tax-product_cat .aras-category-page .aras-v18-digikala-text{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

body.tax-product_cat .aras-category-page .aras-v18-digikala-text{
  position:absolute !important;
  inset:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 44px !important;
  direction:rtl !important;
  text-align:center !important;
  white-space:nowrap !important;
}

body.tax-product_cat .aras-category-page .aras-v18-digikala-arrow{
  position:absolute !important;
  right:6px !important;
  left:auto !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:34px !important;
  height:34px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:#A40F18 !important;
}

/* --- Recommendation section: force approved navy typography --- */
body.tax-product_cat .aras-category-page .aras-cat-recommend-section{
  padding:6px 0 0 !important;
  background:transparent !important;
}

body.tax-product_cat .aras-category-page .aras-cat-recommend{
  width:100% !important;
  min-height:300px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(330px,.72fr) !important;
  gap:24px !important;
  padding:28px !important;
  border-radius:42px !important;
  background:
    radial-gradient(circle at 14% 20%,rgba(255,255,255,.05),transparent 22%),
    #203746 !important;
  color:#fff !important;
}

body.tax-product_cat .aras-category-page .aras-cat-recommend h2{
  margin:16px 0 10px !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:32px !important;
  line-height:1.35 !important;
  font-weight:650 !important;
}

body.tax-product_cat .aras-category-page .aras-cat-recommend-copy p{
  color:rgba(255,255,255,.62) !important;
  -webkit-text-fill-color:rgba(255,255,255,.62) !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:13px !important;
  line-height:2 !important;
}

body.tax-product_cat .aras-category-page .aras-cat-recommend-product{
  min-height:244px !important;
  padding:24px !important;
  border:1px solid rgba(255,255,255,.115) !important;
  border-radius:32px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)) !important;
  color:#fff !important;
}

body.tax-product_cat .aras-category-page .aras-cat-recommend-product h3{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:19px !important;
  line-height:1.5 !important;
  font-weight:650 !important;
}

body.tax-product_cat .aras-category-page .aras-cat-recommend-product p{
  color:rgba(255,255,255,.58) !important;
  -webkit-text-fill-color:rgba(255,255,255,.58) !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:10.5px !important;
  line-height:1.85 !important;
}

body.tax-product_cat .aras-category-page a.aras-cat-rec-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:140px !important;
  height:44px !important;
  min-height:44px !important;
  margin:0 !important;
  padding:0 18px !important;
  border-radius:999px !important;
  background:#E11B25 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-decoration:none !important;
  font-family:"YekanBakh",Tahoma,Arial,sans-serif !important;
  font-size:10.5px !important;
  font-weight:650 !important;
}

/* Responsive hardening */
@media(max-width:900px){
  body.tax-product_cat .aras-category-page .aras-cat-grid{
    grid-template-columns:repeat(2,minmax(0,370px)) !important;
    justify-content:center !important;
  }
  body.tax-product_cat .aras-category-page .aras-cat-recommend{
    grid-template-columns:1fr !important;
  }
}




/* =========================================================
   ARAS CATEGORY v1.5.8 — SAFE CARD FIX
   ========================================================= */

body.tax-product_cat .aras-category-page .aras-v18-card-top{
  min-height:65px !important;
}

/* Blend media with light product-photo background instead of stark white */
body.tax-product_cat .aras-category-page .aras-v18-media{
  background:#fff !important;
  border-color:rgba(28,34,38,.095) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    0 1px 2px rgba(18,22,25,.018) !important;
}

body.tax-product_cat .aras-category-page .aras-v18-product-image{
  background:transparent !important;
}


/* Shared visual rail: hero, filters and 3-card grid align exactly */
body.tax-product_cat .aras-category-page .aras-cat-hero .aras-cat-wrap,
body.tax-product_cat .aras-category-page .aras-cat-products .aras-cat-wrap,
body.tax-product_cat .aras-category-page .aras-cat-recommend-section .aras-cat-wrap{
  width:min(1076px,calc(100% - 40px)) !important;
  max-width:1076px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-final{
  width:100% !important;
  max-width:1076px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-top:20px !important;
  padding-bottom:20px !important;
}

/* Filters align with the right edge of the same card rail */
body.tax-product_cat .aras-category-page .aras-cat-products .aras-cat-wrap{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  justify-items:stretch !important;
}

body.tax-product_cat .aras-category-page .aras-cat-filterbar{
  justify-self:start !important;
  width:max-content !important;
  max-width:100% !important;
}

body.tax-product_cat .aras-category-page .aras-cat-grid{
  width:100% !important;
  max-width:1076px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Keep a clear, comfortable gap below header */
body.tax-product_cat .aras-category-page .aras-cat-hero{
  margin-top:64px !important;
}

@media(max-width:1100px){
  body.tax-product_cat .aras-category-page .aras-cat-hero .aras-cat-wrap,
  body.tax-product_cat .aras-category-page .aras-cat-products .aras-cat-wrap,
  body.tax-product_cat .aras-category-page .aras-cat-recommend-section .aras-cat-wrap{
    width:calc(100% - 28px) !important;
    max-width:none !important;
  }
}




/* v1.5.17 hero vertical balance */
body.tax-product_cat .aras-category-page .aras-cat-hero-top{
  min-height:24px !important;
  margin-bottom:0 !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-layout{
  margin-top:12px !important;
  grid-template-columns:minmax(0,1fr) 220px !important;
  gap:26px !important;
  align-items:stretch !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final,
body.tax-product_cat .aras-category-page .aras-cat-count-panel{
  min-height:164px !important;
}

body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final{
  padding-top:14px !important;
  padding-bottom:14px !important;
}

body.tax-product_cat .aras-category-page .aras-cat-count-panel{
  width:220px !important;
  min-height:164px !important;
  padding:16px !important;
  border-radius:25px !important;
  align-self:stretch !important;
}

body.tax-product_cat .aras-category-page .aras-cat-count-copy{
  margin:10px 0 7px !important;
}

body.tax-product_cat .aras-category-page .aras-cat-count-value strong{
  font-size:54px !important;
}

body.tax-product_cat .aras-category-page .aras-cat-count-footer{
  padding-top:8px !important;
}

/* Keep a clean gap below the header without making the hero feel detached */
body.tax-product_cat .aras-category-page .aras-cat-hero{
  margin-top:54px !important;
  padding-bottom:30px !important;
}


/* v1.5.17 exact continuous background under header */
html,
body.tax-product_cat,
body.tax-product_cat #page,
body.tax-product_cat .site,
body.tax-product_cat .site-content,
body.tax-product_cat .content-area,
body.tax-product_cat main.site-main,
body.tax-product_cat .wp-site-blocks,
body.tax-product_cat #aras-glass-header-root,
body.tax-product_cat .aras-header-page-spacer,
body.tax-product_cat .aras-top-static,
body.tax-product_cat .aras-header-wrap,
body.tax-product_cat .aras-category-page,
body.tax-product_cat .aras-cat-hero,
body.tax-product_cat .aras-cat-products,
body.tax-product_cat .aras-cat-recommend-section{
  background:#EFEFED !important;
  background-color:#EFEFED !important;
  background-image:none !important;
}

body.tax-product_cat #aras-glass-header-root::before,
body.tax-product_cat #aras-glass-header-root::after,
body.tax-product_cat .aras-header-page-spacer::before,
body.tax-product_cat .aras-header-page-spacer::after,
body.tax-product_cat .aras-header-wrap::before,
body.tax-product_cat .aras-header-wrap::after,
body.tax-product_cat .site-content::before,
body.tax-product_cat .site-content::after,
body.tax-product_cat main.site-main::before,
body.tax-product_cat main.site-main::after{
  background:#EFEFED !important;
  background-color:#EFEFED !important;
  background-image:none !important;
}


/* =========================================================
   ARAS CATEGORY v1.5.18 — BACKGROUND ONLY FIX
   Remove the large white band behind/around the hero.
   ========================================================= */

html,
body.tax-product_cat,
body.tax-product_cat #page,
body.tax-product_cat .site,
body.tax-product_cat .site-content,
body.tax-product_cat .content-area,
body.tax-product_cat main.site-main,
body.tax-product_cat .wp-site-blocks,
body.tax-product_cat .woocommerce,
body.tax-product_cat .woocommerce-page,
body.tax-product_cat .aras-category-page,
body.tax-product_cat .aras-cat-hero,
body.tax-product_cat .aras-cat-hero > .aras-cat-wrap,
body.tax-product_cat .aras-cat-products,
body.tax-product_cat .aras-cat-products > .aras-cat-wrap,
body.tax-product_cat .aras-cat-recommend-section,
body.tax-product_cat .aras-cat-recommend-section > .aras-cat-wrap,
body.tax-product_cat #aras-glass-header-root,
body.tax-product_cat .aras-header-page-spacer,
body.tax-product_cat .aras-top-static,
body.tax-product_cat .aras-header-wrap{
  background:#EFEFED !important;
  background-color:#EFEFED !important;
  background-image:none !important;
}

/* Theme wrappers sometimes paint a white section using pseudo layers */
body.tax-product_cat #page::before,
body.tax-product_cat #page::after,
body.tax-product_cat .site::before,
body.tax-product_cat .site::after,
body.tax-product_cat .site-content::before,
body.tax-product_cat .site-content::after,
body.tax-product_cat .content-area::before,
body.tax-product_cat .content-area::after,
body.tax-product_cat main.site-main::before,
body.tax-product_cat main.site-main::after,
body.tax-product_cat .aras-category-page::before,
body.tax-product_cat .aras-category-page::after,
body.tax-product_cat .aras-cat-hero::before,
body.tax-product_cat .aras-cat-hero::after,
body.tax-product_cat .aras-cat-hero > .aras-cat-wrap::before,
body.tax-product_cat .aras-cat-hero > .aras-cat-wrap::after,
body.tax-product_cat #aras-glass-header-root::before,
body.tax-product_cat #aras-glass-header-root::after,
body.tax-product_cat .aras-header-page-spacer::before,
body.tax-product_cat .aras-header-page-spacer::after{
  background:#EFEFED !important;
  background-color:#EFEFED !important;
  background-image:none !important;
}

/* Keep the actual hero card surface unchanged */
body.tax-product_cat .aras-category-page .aras-cat-hero-final{
  background:
    linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,0)),
    #F7F7F5 !important;
}


/* =========================================================
   ARAS CATEGORY v1.5.19 — REMOVE OUTER HERO WHITE SHELL ONLY
   ========================================================= */
body.tax-product_cat .aras-category-page .aras-cat-hero-final{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  border-color:transparent !important;
  box-shadow:none !important;
}

/* The hero section itself stays exactly on page gray */
body.tax-product_cat .aras-category-page .aras-cat-hero,
body.tax-product_cat .aras-category-page .aras-cat-hero > .aras-cat-wrap{
  background:#EFEFED !important;
  background-color:#EFEFED !important;
  background-image:none !important;
}


/* =========================================================
   ARAS CATEGORY v1.5.20 — CONSOLIDATED MOBILE LAYOUT
   One mobile source of truth. Desktop untouched.
   ========================================================= */
@media(max-width:760px){

  body.tax-product_cat .aras-category-page{
    overflow-x:hidden !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-wrap,
  body.tax-product_cat .aras-category-page .aras-cat-hero .aras-cat-wrap,
  body.tax-product_cat .aras-category-page .aras-cat-products .aras-cat-wrap,
  body.tax-product_cat .aras-category-page .aras-cat-recommend-section .aras-cat-wrap{
    width:calc(100% - 24px) !important;
    max-width:none !important;
    margin-left:12px !important;
    margin-right:12px !important;
  }

  /* HERO — clear single-column order */
  body.tax-product_cat .aras-category-page .aras-cat-hero{
    margin-top:34px !important;
    padding-bottom:28px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-hero-final{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-hero-top{
    width:100% !important;
    min-height:auto !important;
    margin:0 0 24px !important;
    padding:0 8px !important;
    overflow:visible !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-hero-path{
    width:100% !important;
    justify-content:flex-start !important;
    font-size:10px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-hero-layout{
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
    margin:0 !important;
  }

  /* In RTL markup copy comes first visually */
  body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final{
    order:1 !important;
    width:100% !important;
    min-height:0 !important;
    padding:0 4px !important;
    text-align:right !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final h1{
    width:100% !important;
    margin:0 0 12px !important;
    padding:0 !important;
    color:#191D20 !important;
    font-size:38px !important;
    line-height:1.22 !important;
    letter-spacing:-.8px !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-hero-copy-final p{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    color:#7C8387 !important;
    font-size:13px !important;
    line-height:1.95 !important;
    white-space:normal !important;
    word-break:normal !important;
  }

  /* Count card sits below title/description, full width */
  body.tax-product_cat .aras-category-page .aras-cat-count-panel{
    order:2 !important;
    width:100% !important;
    max-width:100% !important;
    min-height:180px !important;
    margin:0 !important;
    padding:20px !important;
    overflow:visible !important;
    align-self:stretch !important;
    justify-self:stretch !important;
    border-radius:28px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-count-pill{
    min-height:32px !important;
    padding:0 12px !important;
    font-size:9.5px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-count-copy{
    margin:18px 0 12px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-count-value strong{
    font-size:60px !important;
  }

  /* FILTER — right aligned, compact */
  body.tax-product_cat .aras-category-page .aras-cat-filterbar{
    justify-self:start !important;
    display:flex !important;
    width:max-content !important;
    max-width:100% !important;
    margin:0 0 26px !important;
    padding:4px !important;
    overflow-x:auto !important;
    flex-wrap:nowrap !important;
    scrollbar-width:none !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-filterbar::-webkit-scrollbar{
    display:none !important;
  }

  body.tax-product_cat .aras-category-page button.aras-cat-filter{
    flex:0 0 auto !important;
  }

  /* PRODUCT GRID — mathematically centered in viewport */
  body.tax-product_cat .aras-category-page .aras-cat-grid{
    width:100% !important;
    max-width:none !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:22px !important;
    margin:0 !important;
    padding:0 !important;
  }

  body.tax-product_cat .aras-category-page article.aras-v18-card{
    width:min(344px,100%) !important;
    max-width:344px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    flex:0 0 auto !important;
  }

  /* Keep approved left/right metadata positions */
  body.tax-product_cat .aras-category-page .aras-v18-meta-row{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
  }

  /* Recommendation stacks cleanly */
  body.tax-product_cat .aras-category-page .aras-cat-recommend{
    grid-template-columns:1fr !important;
    min-height:0 !important;
    gap:16px !important;
    padding:18px !important;
    border-radius:32px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-recommend-copy{
    padding:8px 6px 4px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-recommend h2{
    font-size:26px !important;
  }

  body.tax-product_cat .aras-category-page .aras-cat-recommend-product{
    min-height:210px !important;
    border-radius:26px !important;
  }
}
