/* ═══════════════════════════════════════
   EVARA Theme — Main CSS
   RTL · Farsi · WooCommerce
═══════════════════════════════════════ */

/* ─── Tokens ─────────────────────────── */
:root {
  --bg:        #ffffff;
  --text:      #1a1714;
  --accent:    #8b6444;
  --muted:     #7a736a;
  --subtle:    #5a5247;
  --border:    #ebe7e0;
  --surface:   #f5f3f0;
  --dark:      #1a1714;
  --font-head: 'Cormorant Garamond', 'Vazirmatn', sans-serif;
  --font-body: 'Vazirmatn', sans-serif;
  --radius:    0;
  --max-w:     1280px;
  --px:        40px;
  --header-h:  70px;
}

/* ─── Reset ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--dark); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: #d4ccc0; }

/* ─── Utilities ─────────────────────── */
.ev-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* مخفی برای کاربر، قابل‌خواندن برای گوگل و صفحه‌خوان (سئو/دسترسی‌پذیری) */
.ev-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ev-section { padding: 76px 0 48px; }

.ev-section-head { text-align: right; margin-bottom: 40px; }
.ev-section-eyebrow {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  margin: 0 0 6px;
  letter-spacing: .04em;
}
.ev-section-title {
  font-size: 30px;
  font-weight: 500;
  margin: 0;
}

/* ─── Animated underline links ───────── */
.ev-link {
  position: relative;
}
.ev-link::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -3px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .32s cubic-bezier(.2,.7,.2,1);
}
.ev-link:hover::after { width: 100%; }

/* ─── Nav dropdown — controlled entirely by JS ── */
.ev-nav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e8e2db;
  min-width: 186px;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  margin-top: 0;
}

/* ─── Buttons ───────────────────────── */
.ev-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .22s, color .22s, border-color .22s;
  border: 1px solid transparent;
}
.ev-btn-dark {
  background: var(--dark);
  color: #fff;
}
.ev-btn-dark:hover { background: var(--accent); }

.ev-btn-white {
  background: #fff;
  color: var(--dark);
}
.ev-btn-white:hover { background: var(--accent); color: #fff; }

.ev-btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.ev-btn-outline:hover { background: var(--dark); color: #fff; }

/* ─── Page entrance fade ─────────────── */
@keyframes evFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes evRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.ev-main { animation: evFade .5s ease; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.ev-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.ev-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: var(--header-h);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.ev-logo { display: block; line-height: 1; flex-shrink: 0; }
.ev-logo-text {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .44em;
  padding-right: .44em;
  color: var(--dark);
}
.ev-logo-sub {
  font-size: 7.5px;
  letter-spacing: .52em;
  padding-right: .52em;
  color: var(--accent);
  margin-top: 3px;
  font-weight: 500;
}
.ev-logo-light .ev-logo-text { color: #fff; }
.ev-logo-light .ev-logo-sub  { color: rgba(255,255,255,.6); }

/* Nav */
.ev-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 400;
}
.ev-nav-wrap { position: relative; }
.ev-nav-item {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
  color: var(--text);
}
.ev-nav-accent { color: var(--accent); font-weight: 500; }

/* Dropdown — handled above in the bridge section */
.ev-drop-item {
  display: block;
  padding: 12px 22px;
  font-size: 14px;
  color: var(--text);
  font-weight: 300;
  transition: background .18s, color .18s;
}
.ev-drop-item:hover { background: #f7f5f2; color: var(--accent); }

/* Header Actions */
.ev-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.ev-icon-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  padding: 0;
  transition: color .2s;
}
.ev-icon-btn:hover { color: var(--accent); }
.ev-cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  transition: color .2s;
}
.ev-cart-btn:hover { color: var(--accent); }
.ev-cart-ico { position: relative; display: flex; align-items: center; }
.ev-cart-label { font-size: 13px; font-weight: 400; white-space: nowrap; }
.ev-cart-count {
  position: absolute;
  top: -8px;
  left: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search Bar */
.ev-search-bar {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px var(--px);
}
.ev-search-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
}
.ev-search-form input[type="search"] {
  flex: 1;
  padding: 10px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}
.ev-search-form button {
  padding: 10px 16px;
  color: var(--muted);
  transition: color .2s;
}
.ev-search-form button:hover { color: var(--accent); }

/* Mobile Nav */
.ev-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.ev-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }
.ev-hamburger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ev-hamburger.is-active span:nth-child(2) { opacity: 0; }
.ev-hamburger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.ev-mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.ev-mobile-nav.is-open { display: flex; }
.ev-mobile-nav a {
  padding: 12px var(--px);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.ev-mobile-nav a:last-child { border-bottom: none; }

/* ══════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════ */
.ev-slider {
  position: relative;
  overflow: hidden;
  height: 680px;
  background: #e4e0db;
}
.ev-slider-track { position: relative; width: 100%; height: 100%; }

.ev-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .95s ease;
  pointer-events: none;
  display: flex;
  flex-direction: row-reverse;   /* content → left, photo → right (RTL) */
}
.ev-slide.is-active { opacity: 1; pointer-events: auto; }

.ev-slide-photo {
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  flex-shrink: 0;
  display: block;
}

.ev-slide-content {
  flex: 1;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;   /* RTL → items hug the right at natural width */
  padding: 0 14% 0 6%;
  color: var(--text);
  text-align: right;
}
.ev-slide-eyebrow {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 18px;
  color: #9d8d79;
  margin: 0 0 18px;
  letter-spacing: .03em;
}
.ev-slide-heading {
  font-family: var(--font-body);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.32;
  margin: 0 0 32px;
  color: var(--text);
}
.ev-btn-slider {
  background: #a08f7b;
  color: #fff;
}
.ev-btn-slider:hover { background: var(--dark); }

/* Arrows */
.ev-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(26,23,20,.12);
  backdrop-filter: blur(8px);
  color: var(--text);
  transition: background .2s;
}
.ev-slider-arrow:hover { background: #fff; }
.ev-arrow-prev { right: 28px; }
.ev-arrow-next { left: 28px; }

/* Dots */
.ev-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}
.ev-dot {
  height: 2px;
  width: 8px;
  background: rgba(26,23,20,.3);
  border: none;
  padding: 0;
  transition: width .42s ease, background .42s ease;
}
.ev-dot.is-active { width: 30px; background: var(--dark); }

/* ══════════════════════════════════════
   VALUE STRIP
══════════════════════════════════════ */
.ev-value-strip {
  border-bottom: 1px solid var(--border);
}
.ev-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ev-value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 20px;
  border-right: 1px solid var(--border);
}
.ev-value-item:first-child { border-right: none; }
.ev-value-icon { flex-shrink: 0; margin-top: 2px; }
.ev-value-title { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.ev-value-sub   { font-size: 12px; color: var(--muted); }

/* ══════════════════════════════════════
   PRODUCT GRID & CARD
══════════════════════════════════════ */
.ev-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.ev-product-grid--5 { grid-template-columns: repeat(5, 1fr); }

.ev-card { display: block; color: inherit; }
.ev-card-img {
  position: relative;
  height: 288px;
  background: var(--surface);
  overflow: hidden;
}
.ev-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.2,.7,.2,1);
}
.ev-card:hover .ev-card-img img { transform: scale(1.04); }
.ev-card-placeholder { width: 100%; height: 100%; background: #e8e4de; }
.ev-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--dark);
  color: #fff;
  font-size: 10.5px;
  padding: 5px 12px;
  letter-spacing: .04em;
  z-index: 2;
}
.ev-badge-oos { background: #6b6259; }
.ev-card-oos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245,243,240,.45);
  z-index: 1;
  pointer-events: none;
}
.ev-card-info { padding: 12px 0 6px; }
.ev-card-add { display: none; } /* پیش‌فرض پنهان؛ فقط در بخش «محصولات جدید» فعال می‌شود */
.ev-card-name { font-size: 13.5px; margin-bottom: 6px; }
.ev-card-price { font-size: 16px; color: var(--text); font-weight: 500; }
.ev-card-price del { color: var(--muted); font-size: 13px; font-weight: 400; margin-left: 6px; }
.ev-card-price ins { text-decoration: none; color: var(--accent); }
.ev-card-price .woocommerce-Price-currencySymbol { font-size: 12px; font-weight: 400; }

.ev-section-cta { text-align: center; margin-top: 40px; }
.ev-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Best Sellers section */
.ev-bestsellers { border-top: 1px solid var(--border); }

/* ══════════════════════════════════════
   NEW ARRIVALS — premium editorial redesign
   (همهٔ استایل‌ها زیر .ev-na محدود است تا بقیهٔ سایت دست‌نخورده بماند)
══════════════════════════════════════ */
.ev-na {
  --na-accent: #C8B19D;
  --na-accent-h: #B39881;
  --na-brown: #6F5A4B;
  position: relative;
  background: #FAF8F6;
  overflow: hidden;
}
.ev-na .ev-na-head { position: relative; z-index: 2; text-align: center; }
.ev-na .ev-na-sub { color: #8A817C; font-size: 14px; margin: 8px 0 0; }

/* فلش‌های عقب/جلوی محصولات */
.ev-na-nav {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.ev-na-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #DDD4CD;
  background: transparent;
  color: var(--na-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease, opacity .25s ease, border-color .25s ease;
}
.ev-na-arrow:hover:not(:disabled) { background: #fff; transform: translateY(-2px); border-color: #cabcab; }
.ev-na-arrow:disabled { opacity: .35; cursor: default; }
.ev-na-grid.is-loading { opacity: .5; transition: opacity .25s ease; pointer-events: none; }

/* مهرِ دایره‌ایِ چرخان EVARA */
.ev-na-stamp {
  position: absolute;
  top: 24px;
  left: 8px;
  width: 196px;
  height: 196px;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}
.ev-na-stamp svg { width: 100%; height: 100%; animation: evNaSpin 30s linear infinite; transform-origin: 50% 50%; }
.ev-na-stamp text { fill: #a78a6f; font-family: var(--font-head); font-weight: 500; }
.ev-na-stamp textPath { letter-spacing: 3px; }
@keyframes evNaSpin { to { transform: rotate(360deg); } }

/* گرید */
.ev-na .ev-na-grid { gap: 30px 24px; }

/* کارت */
.ev-na .ev-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s cubic-bezier(.22,.61,.36,1), opacity .7s ease;
  will-change: transform;
}
.ev-na.is-in .ev-card:hover,
.ev-na .ev-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  transition-delay: 0s;
}

/* تصویر + قوسِ یک‌درمیان */
.ev-na .ev-card-img {
  height: 360px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.ev-na .ev-card-img img {
  transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .6s cubic-bezier(.22,.61,.36,1);
}
.ev-na .ev-card:hover .ev-card-img img { transform: scale(1.07); filter: brightness(1.03); }

/* دکمهٔ علاقه‌مندی */
.ev-na .ev-wl-card {
  top: 16px; left: 16px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: background .25s, transform .25s;
}
.ev-na .ev-wl-card svg { width: 20px; height: 20px; stroke: #555; }
.ev-na .ev-wl-card:hover { background: #fff; transform: scale(1.08); }
.ev-na .ev-wl-card.is-active { background: var(--na-accent); }
.ev-na .ev-wl-card.is-active svg { fill: #fff; stroke: #fff; }

/* برچسب‌های شناور */
.ev-na .ev-card-badge {
  top: 16px; right: 16px; left: auto;
  background: #fff;
  color: var(--na-brown);
  border: 1px solid #E8DDD4;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ev-na .ev-card-badge.ev-badge-new  { background: rgba(200,177,157,.95); color: #fff; border-color: transparent; }
.ev-na .ev-card-badge.ev-badge-sale { background: var(--na-brown); color: #fff; border-color: transparent; }
.ev-na .ev-card-badge.ev-badge-oos  { background: rgba(200,177,157,.95); color: #fff; border-color: transparent; }
.ev-na .ev-card:hover .ev-card-badge { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }

/* اطلاعات */
.ev-na .ev-card-info { padding: 18px 20px 20px; }
.ev-na .ev-card-name { font-size: 18px; font-weight: 500; color: #1F1F1F; margin-bottom: 12px; }
.ev-na .ev-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ev-na .ev-card-price { font-size: 16px; font-weight: 600; color: var(--na-brown); }
.ev-na .ev-card-price del { font-size: 13px; font-weight: 400; color: #b3aaa1; }
.ev-na .ev-card-price ins { text-decoration: none; }

/* دکمهٔ افزودن به سبد (دایره‌ای که با hover باز می‌شود) */
.ev-na .ev-card-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  background: #F2ECE7;
  color: var(--na-brown);
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  transition: width .4s ease, background .4s ease, color .4s ease;
}
.ev-na .ev-card-add-ico { flex-shrink: 0; transition: transform .4s ease; }
.ev-na .ev-card-add-label {
  max-width: 0;
  opacity: 0;
  font-size: 13px;
  font-weight: 500;
  transition: max-width .4s ease, opacity .3s ease;
}
.ev-na .ev-card-add:hover,
.ev-na .ev-card-add:focus-visible {
  width: 150px;
  background: var(--na-accent);
  color: #fff;
}
.ev-na .ev-card-add:hover .ev-card-add-ico,
.ev-na .ev-card-add:focus-visible .ev-card-add-ico { transform: rotate(90deg); }
.ev-na .ev-card-add:hover .ev-card-add-label,
.ev-na .ev-card-add:focus-visible .ev-card-add-label { max-width: 96px; opacity: 1; }
.ev-na .ev-card-add.is-loading { opacity: .55; pointer-events: none; }

/* ظاهرشدن هنگام اسکرول (فقط وقتی JS فعال است؛ در غیر این‌صورت کارت‌ها دیده می‌شوند) */
.ev-na.ev-reveal-ready .ev-card { opacity: 0; transform: translateY(28px); }
.ev-na.ev-reveal-ready.is-in .ev-card { opacity: 1; transform: translateY(0); }
.ev-na.is-in .ev-card:nth-child(5n+1) { transition-delay: 0s; }
.ev-na.is-in .ev-card:nth-child(5n+2) { transition-delay: .08s; }
.ev-na.is-in .ev-card:nth-child(5n+3) { transition-delay: .16s; }
.ev-na.is-in .ev-card:nth-child(5n+4) { transition-delay: .24s; }
.ev-na.is-in .ev-card:nth-child(5n+5) { transition-delay: .32s; }

/* رسپانسیو */
@media (max-width: 1100px) {
  .ev-na .ev-card-img { height: 300px; }
}
@media (max-width: 900px) {
  .ev-na .ev-card-img { height: 280px; }
  .ev-na-stamp { display: none; }
  .ev-na-arrow { width: 48px; height: 48px; }
}
@media (max-width: 600px) {
  .ev-na .ev-na-grid { gap: 16px 12px; }
  .ev-na .ev-card { border-radius: 22px; }
  .ev-na .ev-card-img { height: 244px; border-radius: 22px 22px 0 0; }
  .ev-na .ev-card-info { padding: 14px 14px 16px; }
  .ev-na .ev-card-name { font-size: 15px; margin-bottom: 8px; }
  .ev-na .ev-card-add { width: 40px; height: 40px; }
  .ev-na .ev-card-add:hover, .ev-na .ev-card-add:focus-visible { width: 40px; }
  .ev-na .ev-card-add:hover .ev-card-add-label, .ev-na .ev-card-add:focus-visible .ev-card-add-label { max-width: 0; opacity: 0; }
  .ev-na-nav { position: static; transform: none; justify-content: center; margin-top: 18px; }
  .ev-na-arrow { width: 46px; height: 46px; }
}

/* ══════════════════════════════════════
   BRAND STORY
══════════════════════════════════════ */
.ev-brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
}
.ev-brand-img {
  height: 520px;
  overflow: hidden;
}
.ev-brand-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ev-brand-placeholder { width: 100%; height: 100%; background: #d8d2cb; }
.ev-brand-text {
  padding: 80px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.ev-brand-text h2 { font-size: 40px; font-weight: 500; margin: 0; }
.ev-brand-body { font-size: 15px; color: var(--subtle); font-weight: 300; line-height: 2; margin: 0; }
.ev-brand-note { font-size: 13.5px; color: #8e8580; margin: 0; }

/* ══════════════════════════════════════
   INSTAGRAM BOX
══════════════════════════════════════ */
.ev-instagram-box {
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid var(--border);
  padding: 52px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ev-instagram-handle {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--text);
  transition: color .2s;
}
.ev-instagram-handle:hover { color: var(--accent); }
.ev-instagram-box p { font-size: 13px; color: var(--muted); margin: 0; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.ev-footer {
  background: var(--dark);
  color: #c8c0b4;
}
.ev-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr auto;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 28px;
}
.ev-footer-col h4 {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0 0 20px;
  font-weight: 500;
}
.ev-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.ev-footer-col ul a {
  font-size: 13px;
  font-weight: 300;
  color: #c8c0b4;
  transition: color .2s;
}
.ev-footer-col ul a:hover { color: #fff; }
.ev-footer-brand p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  margin-top: 16px;
  color: #9e9690;
}

.ev-footer-contact { gap: 14px !important; }
.ev-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
}
.ev-footer-contact svg { flex-shrink: 0; stroke: var(--accent); }
.ev-footer-contact a { color: #c8c0b4; transition: color .2s; }
.ev-footer-contact a:hover { color: #fff; }

.ev-footer-bottom {
  border-top: 1px solid #2a2620;
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b6259;
}
.ev-footer-trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ev-trust-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #cbb491;                 /* گرمِ روشن — خوانا روی فوترِ تیره */
}
.ev-trust-label svg { flex-shrink: 0; stroke: #cbb491; }
.ev-enamad {
  display: inline-flex;
  line-height: 0;
  background: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.55);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ev-enamad:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.65);
}
.ev-enamad img {
  height: 108px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .ev-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .ev-footer-trust {
    align-items: center;
    text-align: center;
  }
  .ev-enamad img {
    height: 132px;
  }
}

/* ══════════════════════════════════════
   LOGIN MODAL
══════════════════════════════════════ */
#ev-login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,.5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: evFade .25s ease;
}
#ev-login-modal {
  background: #fff;
  max-width: 390px;
  width: calc(100% - 40px);
  padding: 44px 40px;
  position: relative;
  animation: evRise .3s ease;
}
#ev-login-close {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--muted);
  transition: color .2s;
}
#ev-login-close:hover { color: var(--text); }
.ev-modal-logo {
  text-align: center;
  margin-bottom: 20px;
}
.ev-modal-logo .ev-logo-text { font-size: 22px; letter-spacing: .44em; font-family: var(--font-head); font-weight: 600; }
.ev-modal-logo .ev-logo-sub  { font-size: 7px; letter-spacing: .5em; color: var(--accent); }
.ev-modal-title {
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 24px;
}

/* Form fields inside modal */
#ev-login-modal .digits_login_wrap input,
#ev-login-modal input[type="text"],
#ev-login-modal input[type="tel"],
#ev-login-modal input[type="email"],
#ev-login-modal input[type="password"] {
  width: 100%;
  border: 1px solid #d4ccc0;
  padding: 12px 14px;
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  margin-bottom: 12px;
}
#ev-login-modal input:focus { border-color: var(--accent); }
#ev-login-modal button[type="submit"],
#ev-login-modal .digits_submit {
  width: 100%;
  padding: 13px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background .2s;
  border: none;
  cursor: pointer;
}
#ev-login-modal button[type="submit"]:hover { background: var(--accent); }

.ev-auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 0;
}
.ev-auth-switch a {
  color: var(--accent);
  font-weight: 500;
  transition: opacity .2s;
}
.ev-auth-switch a:hover { opacity: .75; }

/* ══════════════════════════════════════
   SHOP PAGE
══════════════════════════════════════ */
.ev-shop-page { padding: 40px var(--px) 80px; }
.ev-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.ev-shop-title { font-size: 26px; font-weight: 500; margin: 0; }
.ev-shop-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.ev-shop-grid { grid-template-columns: repeat(4, 1fr); }
.ev-shop-pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; }

/* ══════════════════════════════════════
   SINGLE PRODUCT
══════════════════════════════════════ */
.ev-single-product { padding: 28px var(--px) 90px; }
.ev-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 28px;
}

/* Gallery */
.ev-product-gallery { display: flex; gap: 12px; }
.ev-thumb-strip { display: flex; flex-direction: column; gap: 12px; width: 80px; flex-shrink: 0; }
.ev-thumb {
  height: 108px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
}
.ev-thumb.is-active { border-color: var(--text); }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-main-img { flex: 1; height: 620px; overflow: hidden; position: relative; cursor: crosshair; }
.ev-main-img-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.ev-main-img-slide.is-active { opacity: 1; }
.ev-main-img-slide img { width: 100%; height: 100%; object-fit: cover; }
.ev-zoom-lens {
  position: absolute;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  background-repeat: no-repeat;
  background-color: #fff;
  pointer-events: none;
  display: none;
  z-index: 6;
}

/* Info */
.ev-product-info { display: flex; flex-direction: column; gap: 20px; }
.ev-product-name { font-size: 32px; font-weight: 500; margin: 0; line-height: 1.3; }
.ev-product-price { font-size: 22px; color: var(--text); }
.ev-product-price del { color: var(--muted); font-size: 16px; margin-left: 8px; }
.ev-product-price ins { text-decoration: none; color: var(--accent); }
.ev-product-attrs { font-size: 13.5px; color: var(--subtle); line-height: 1.9; }

/* پیام «موجود نیست» زیر قیمت در صفحهٔ محصول */
.ev-product-oos {
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 10px;
}

/* Attribute bullets */
.ev-product-bullets { font-size: 14px; color: var(--subtle); line-height: 1.9; }
.ev-product-bullets ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ev-product-bullets li { position: relative; padding-right: 18px; font-size: 14px; color: var(--subtle); }
.ev-product-bullets li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.ev-product-bullets p { margin: 0 0 8px; }

/* English part of product names */
.ev-en {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* Size guide link */
.ev-sizeguide-row { display: flex; justify-content: flex-start; }
.ev-sizeguide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text);
  transition: color .2s;
}
.ev-sizeguide-link:hover { color: var(--accent); }
.ev-sizeguide-link svg { color: var(--accent); width: 17px; height: 17px; }

/* Variations */
.ev-variations { display: flex; flex-direction: column; gap: 24px; }
.ev-variation-row { display: flex; flex-direction: column; gap: 10px; }
.ev-variation-row label { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.ev-size-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ev-size-btn {
  padding: 9px 20px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  transition: background .18s, color .18s, border-color .18s;
}
.ev-size-btn:hover,
.ev-size-btn.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Payment option cards */
.ev-pay-section { display: flex; flex-direction: column; gap: 12px; width: 100%; margin: 4px 0; }
.ev-pay-title { font-size: 14px; color: var(--text); font-weight: 500; }
.ev-payment-opts { display: flex; flex-direction: column; gap: 12px; }
.ev-pay-opt {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.ev-pay-opt input[type="radio"] { display: none; }
.ev-pay-opt-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #c4bbac;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s;
}
.ev-pay-opt-body { display: flex; flex-direction: column; gap: 5px; text-align: right; flex: 1; }
.ev-pay-opt-main { font-size: 14.5px; color: var(--text); }
.ev-pay-opt-sub { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.ev-pay-opt.is-active {
  border-color: var(--accent);
  background: #f5ede4;
}
.ev-pay-opt.is-active .ev-pay-opt-radio { border-color: var(--accent); }
.ev-pay-opt.is-active .ev-pay-opt-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--dark);
}

/* Preparation note (with sewing-machine info icon) */
.ev-pay-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ev-pay-note svg { flex-shrink: 0; }
.ev-pay-note-body { display: flex; flex-direction: column; gap: 5px; text-align: right; flex: 1; }
.ev-pay-note-main { font-size: 13.5px; color: var(--text); }
.ev-pay-note-sub { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

/* WooCommerce native ATC styling */
.ev-woo-atc { margin: 8px 0; }
.ev-woo-atc .quantity { display: inline-flex; align-items: center; border: 1px solid #d4ccc0; margin-left: 10px; }
.ev-woo-atc .quantity input.qty {
  width: 52px;
  height: 46px;
  text-align: center;
  border: none;
  border-right: 1px solid #d4ccc0;
  border-left: 1px solid #d4ccc0;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  -moz-appearance: textfield;
}
.ev-woo-atc .quantity input.qty::-webkit-outer-spin-button,
.ev-woo-atc .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Qty stepper +/- buttons */
.ev-qty-btn {
  width: 42px;
  height: 46px;
  font-size: 18px;
  line-height: 1;
  color: var(--text);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ev-qty-btn:hover { background: var(--surface); }
/* Cart table qty steppers share the look */
.woocommerce-cart-form .quantity,
.ev-cart-table .quantity { display: inline-flex; align-items: center; border: 1px solid #d4ccc0; }
.woocommerce-cart-form .quantity input.qty,
.ev-cart-table .quantity input.qty {
  width: 48px;
  height: 42px;
  text-align: center;
  border: none;
  border-right: 1px solid #d4ccc0;
  border-left: 1px solid #d4ccc0;
  font-family: var(--font-body);
  -moz-appearance: textfield;
  outline: none;
}
.woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button,
.ev-cart-table .quantity input.qty::-webkit-outer-spin-button,
.ev-cart-table .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.woocommerce-cart-form .ev-qty-btn,
.ev-cart-table .ev-qty-btn { width: 38px; height: 42px; }
.ev-woo-atc .single_add_to_cart_button,
.ev-woo-atc button[type="submit"] {
  padding: 13px 32px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s;
  height: 46px;
}
.ev-woo-atc .single_add_to_cart_button:hover { background: var(--accent); }
.ev-woo-atc .cart { display: flex; align-items: center; gap: 0; flex-wrap: wrap; gap: 12px; }
.ev-woo-atc .variations { width: 100%; display: flex; flex-direction: column; gap: 20px; margin-bottom: 12px; }
.ev-woo-atc .variations td,
.ev-woo-atc .variations th { padding: 0; border: none; text-align: right; vertical-align: middle; }
.ev-woo-atc .variations tr { display: flex; flex-direction: column; gap: 8px; }
.ev-woo-atc .variations label { font-size: 14px; color: var(--text); font-weight: 500; }
.ev-woo-atc .variations select {
  border: 1px solid #d4ccc0;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  background: #fff;
  min-width: 200px;
}
.ev-woo-atc .variations select:focus { border-color: var(--accent); }

/* Color swatches */
.ev-color-swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.ev-color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(26,23,20,.18);
  cursor: pointer;
  padding: 0;
  transition: box-shadow .18s, transform .18s;
}
.ev-color-swatch:hover { transform: scale(1.08); }
.ev-color-swatch.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--dark);
}
/* ─── Variation boxes — قد/سایز به‌صورت باکس (به‌جای کشویی) ──
   انتخاب‌شده: قاب قهوه‌ای + تیکِ نشسته روی لبهٔ بالای کادر (مثل طرح) */
.ev-var-boxes { display: flex; gap: 9px; flex-wrap: wrap; }
.ev-var-box {
  position: relative;
  flex: 0 0 auto;
  min-width: 52px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #ddd5ca;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ev-var-box:hover { border-color: var(--accent); }
.ev-var-box.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 .7px var(--accent);   /* قاب کمی ضخیم‌تر، بدون پرشِ چیدمان */
}
/* تیکِ قهوه‌ای روی لبهٔ بالای باکسِ انتخاب‌شده */
.ev-var-box.is-active::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 18px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b6444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}
.ev-var-box.is-disabled {
  opacity: .35;
  cursor: not-allowed;
  text-decoration: line-through;
}
@media (max-width: 600px) {
  .ev-var-box { padding: 8px 12px; min-width: 48px; font-size: 12.5px; }
}

.ev-woo-atc .woocommerce-variation-price { margin: 8px 0; font-size: 18px; }
/* Hide the "صاف / پاک کردن" reset-variations link next to size */
.ev-woo-atc .reset_variations { display: none !important; }

/* Variable product: variation wrap + button area as full-width stacked block */
.ev-woo-atc .single_variation_wrap { width: 100%; }
.ev-woo-atc .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ev-woo-atc .ev-pay-section { width: 100%; }

/* ─── Add-to-cart + wishlist row ──────── */
.ev-atc-wrap { display: flex; flex-direction: column; gap: 16px; }
.ev-wl-single {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 11px 22px;
  border: 1px solid #d4ccc0;
  background: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text);
  transition: border-color .2s, color .2s;
}
.ev-wl-single svg { fill: none; stroke: currentColor; stroke-width: 1.5; transition: fill .2s; }
.ev-wl-single:hover { border-color: var(--accent); color: var(--accent); }
.ev-wl-single.is-active { border-color: var(--accent); color: var(--accent); }
.ev-wl-single.is-active svg { fill: var(--accent); stroke: var(--accent); }

/* ─── Wishlist heart on product card ──── */
.ev-wl-card {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  z-index: 3;
  transition: background .2s;
}
.ev-wl-card svg { fill: none; stroke: var(--text); stroke-width: 1.5; transition: fill .2s, stroke .2s; }
.ev-wl-card:hover { background: #fff; }
.ev-wl-card.is-active svg { fill: var(--accent); stroke: var(--accent); }

/* ─── Wishlist icon in header ─────────── */
.ev-wishlist-btn {
  position: relative;
  color: var(--text);
  transition: color .2s;
  display: flex;
  align-items: center;
}
.ev-wishlist-btn:hover { color: var(--accent); }
.ev-wishlist-count {
  position: absolute;
  top: -8px;
  left: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Star rating (self-contained, RTL) ─ */
.star-rating {
  position: relative;
  display: inline-block;
  width: 6em;
  height: 1.3em;
  font-size: 15px;
  line-height: 1.3;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
  font-family: var(--font-body);
}
.star-rating::before {
  content: "★★★★★";
  font-size: 15px;
  color: #d4ccc0;
  letter-spacing: .12em;
  position: absolute;
  top: 0;
  right: 0;
}
.star-rating span {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  display: block;
  padding: 0;
  font-size: 0; /* hide the "Rated x out of 5" text */
}
.star-rating span::before {
  content: "★★★★★";
  font-size: 15px;
  color: var(--accent);
  letter-spacing: .12em;
  position: absolute;
  top: 0;
  right: 0;
}
/* Review form rating selector */
.comment-form-rating p.stars { display: inline-block; margin: 6px 0 0; }
.comment-form-rating p.stars span { display: inline-flex; gap: 6px; }
.comment-form-rating p.stars a {
  font-size: 0;
  position: relative;
  display: inline-block;
  width: 26px;
  height: 28px;
}
.comment-form-rating p.stars a::before {
  content: "★";
  font-size: 24px;
  line-height: 28px;
  color: #d4ccc0;
  position: absolute;
  top: 0;
  right: 0;
  transition: color .15s;
}
/* hover fills up to the hovered star */
.comment-form-rating p.stars:hover a::before { color: var(--accent); }
.comment-form-rating p.stars a:hover ~ a::before { color: #d4ccc0; }
/* selected state */
.comment-form-rating p.stars.selected a.active::before { color: var(--accent); }
.comment-form-rating p.stars.selected a.active ~ a::before { color: #d4ccc0; }
.comment-form-rating p.stars.selected a:not(.active)::before { color: var(--accent); }

/* Shipping note */
.ev-shipping-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--subtle);
}

/* Tabs */
.ev-product-tabs { margin-top: 60px; border-top: 1px solid var(--border); }
.ev-tabs-nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); }
.ev-tab {
  padding: 16px 28px;
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-body);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.ev-tab.is-active { color: var(--text); border-bottom-color: var(--text); }
.ev-tab-panel { display: none; padding: 32px 0; }
.ev-tab-panel.is-active { display: block; }
/* Description text — consistent font everywhere in the panel */
.ev-tab-panel,
.ev-tab-panel p,
.ev-tab-panel li,
.ev-tab-panel td,
.ev-tab-panel th {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.95;
  color: var(--subtle);
}
#tab-description p { margin: 0 0 8px; }
.ev-attr-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.ev-attr-table th, .ev-attr-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: right; }
.ev-attr-table th { color: var(--text); font-weight: 500; width: 160px; }

/* ─── Size Guide Modal ───────────────── */
.ev-sg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,.5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: evFade .25s ease;
}
.ev-sg-modal {
  background: #fff;
  max-width: 540px;
  width: 100%;
  padding: 40px;
  position: relative;
  animation: evRise .3s ease;
}
.ev-sg-close {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--muted);
  transition: color .2s;
}
.ev-sg-close:hover { color: var(--text); }
.ev-sg-title { font-size: 22px; font-weight: 500; margin: 0 0 4px; text-align: right; }
.ev-sg-sub { font-size: 13px; color: var(--muted); margin: 0 0 24px; text-align: right; }
.ev-sg-table { width: 100%; border-collapse: collapse; }
.ev-sg-table thead th {
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 13px 16px;
  text-align: center;
}
.ev-sg-table tbody td {
  padding: 14px 16px;
  text-align: center;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.ev-sg-table tbody tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════
   REVIEWS (custom)
══════════════════════════════════════ */
.ev-reviews { padding: 8px 0; }

.ev-reviews-head { text-align: right; margin-bottom: 36px; }
.ev-rv-line { display: block; width: 38px; height: 1px; background: var(--accent); margin: 0 0 18px auto; }
.ev-reviews-head h2 { font-size: 26px; font-weight: 500; margin: 0 0 8px; }
.ev-reviews-head p { font-size: 14px; color: var(--muted); margin: 0; }

/* Summary: bars (right) + average (left) */
.ev-rv-summary {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 44px;
}
.ev-rv-bars { display: flex; flex-direction: column; gap: 12px; }
.ev-rv-bar-row { display: flex; align-items: center; gap: 14px; }
.ev-rv-bar-label { font-size: 12.5px; color: var(--subtle); white-space: nowrap; min-width: 56px; text-align: right; }
.ev-rv-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.ev-rv-bar-fill { display: block; height: 100%; background: #a08f7b; border-radius: 4px; }
.ev-rv-bar-pct { font-size: 12px; color: var(--muted); min-width: 36px; text-align: left; }

.ev-rv-average { text-align: center; }
.ev-rv-avg-num { font-family: var(--font-head); font-size: 60px; font-weight: 600; line-height: 1; color: var(--text); }
.ev-rv-avg-stars { display: flex; justify-content: center; margin: 10px 0 8px; }
.ev-rv-avg-count { font-size: 13px; color: var(--muted); }

/* Form box */
.ev-rv-form-box {
  background: var(--surface);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 36px;
}
.ev-rv-form-intro h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.ev-rv-form-intro p { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0; }
.ev-rv-form-box .comment-form { display: flex; flex-direction: column; gap: 16px; }
.ev-rv-form-box .comment-form p { margin: 0; }
.ev-rv-form-box .comment-form-comment label,
.ev-rv-form-box .comment-form-rating label,
.ev-rv-form-box .comment-form-author label,
.ev-rv-form-box .comment-form-email label { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 7px; }
.ev-rv-form-box textarea {
  width: 100%;
  border: 1px solid #d4ccc0;
  padding: 13px 15px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  resize: vertical;
  min-height: 90px;
  background: #fff;
}
.ev-rv-form-box input[type="text"],
.ev-rv-form-box input[type="email"] {
  width: 100%;
  border: 1px solid #d4ccc0;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  background: #fff;
}
.ev-rv-form-box textarea:focus,
.ev-rv-form-box input:focus { border-color: var(--accent); }
.ev-rv-form-box .comment-form-rating { order: -1; }
.ev-rv-form-box .form-submit { margin: 0; }
.ev-rv-form-box .form-submit input[type="submit"] {
  padding: 12px 34px;
  background: #a08f7b;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.ev-rv-form-box .form-submit input[type="submit"]:hover { background: var(--dark); }

.ev-rv-note { font-size: 13px; color: var(--muted); text-align: center; padding: 20px 0; }

/* Review cards grid */
.ev-rv-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ev-rv-list.is-collapsed .ev-rv-card:nth-child(n+5) { display: none; }
.ev-rv-card {
  border: 1px solid var(--border);
  padding: 20px 22px;
}
.ev-rv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ev-rv-card-id { display: flex; align-items: center; gap: 12px; }
.ev-rv-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.ev-rv-card-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.ev-rv-card-name { font-size: 14px; color: var(--text); font-weight: 500; }
.ev-rv-card-stars .star-rating { font-size: 12px; width: 5em; }
.ev-rv-card-stars .star-rating::before,
.ev-rv-card-stars .star-rating span::before { font-size: 12px; }
.ev-rv-card-date { font-size: 12px; color: var(--muted); }
.ev-rv-card-text { font-size: 13.5px; color: var(--subtle); line-height: 1.9; }
.ev-rv-card-text p { margin: 0; }

/* Show more */
.ev-rv-more {
  width: 100%;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s;
}
.ev-rv-more:hover { background: #efeae3; }

/* Breadcrumb */
.ev-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #8e8580;
  margin-bottom: 20px;
}
.ev-breadcrumb a { color: #8e8580; transition: color .2s; }
.ev-breadcrumb a:hover { color: var(--text); }
.ev-breadcrumb a + span::before,
.ev-breadcrumb a + a::before { content: '·'; margin-left: 8px; }

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.ev-contact { padding: 56px 0 90px; }
.ev-contact-head { text-align: center; margin-bottom: 56px; }
.ev-contact-head h1 { font-size: 40px; font-weight: 500; margin: 6px 0 0; }
.ev-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

/* Info column */
.ev-contact-intro {
  font-size: 14.5px;
  color: var(--subtle);
  line-height: 2;
  margin: 0 0 18px;
}
.ev-contact-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.ev-contact-row-text { display: flex; flex-direction: column; gap: 5px; text-align: right; }
.ev-contact-label { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.ev-contact-value { font-size: 14.5px; color: var(--text); }
a.ev-contact-value:hover { color: var(--accent); }
.ev-contact-ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--accent);
}

/* Form column */
.ev-contact-form { display: flex; flex-direction: column; gap: 22px; }
.ev-form-group { display: flex; flex-direction: column; gap: 8px; }
.ev-form-group label { font-size: 12.5px; color: var(--muted); letter-spacing: .03em; }
.ev-form-group input,
.ev-form-group textarea {
  width: 100%;
  border: 1px solid #d4ccc0;
  padding: 13px 15px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  resize: vertical;
  background: #fff;
}
.ev-form-group input:focus,
.ev-form-group textarea:focus { border-color: var(--accent); }
.ev-contact-submit { align-self: stretch; justify-content: center; }

.ev-contact-alert {
  padding: 14px 18px;
  font-size: 13.5px;
  margin-bottom: 20px;
  border-right: 3px solid var(--accent);
}
.ev-contact-alert--ok  { background: #f1f6f0; border-right-color: #4a7c44; color: #2f5a2b; }
.ev-contact-alert--err { background: #fdf0ee; border-right-color: #c0392b; color: #9c2d20; }

/* ══════════════════════════════════════
   CART PAGE
══════════════════════════════════════ */
.ev-cart-page { padding: 48px var(--px) 90px; }
.ev-cart-title { font-size: 32px; font-weight: 500; margin: 0 0 32px; }

/* Cart table */
.ev-cart-table {
  border: 1px solid var(--border);
  background: #fff;
}
.ev-cart-thead,
.ev-cart-row {
  display: grid;
  grid-template-columns: 1fr 150px 130px 150px 48px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
}
.ev-cart-thead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.ev-cart-thead span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-align: center;
}
.ev-cart-thead .ev-col-product { text-align: right; }
.ev-cart-row {
  border-bottom: 1px solid var(--border);
}
.ev-cart-row:last-child { border-bottom: none; }

/* Product cell */
.ev-col-product { display: flex; align-items: center; gap: 16px; }
.ev-cart-thumb { flex-shrink: 0; width: 76px; }
.ev-cart-thumb img { width: 76px; height: 95px; object-fit: cover; display: block; }
.ev-cart-meta { display: flex; flex-direction: column; gap: 5px; }
.ev-cart-name { font-size: 14px; color: var(--text); font-weight: 500; }
.ev-cart-name a { color: var(--text); }
.ev-cart-name a:hover { color: var(--accent); }
.ev-cart-meta .variation,
.ev-cart-meta dl.variation { margin: 0; font-size: 12px; color: var(--muted); }
.ev-cart-meta .variation dt,
.ev-cart-meta .variation dd { display: inline; margin: 0; font-weight: 400; }
.ev-cart-meta .variation dd p { margin: 0; display: inline; }
.ev-cart-meta .variation > * { display: block; }

/* Price / subtotal cells */
.ev-col-price,
.ev-col-subtotal { text-align: center; font-size: 13.5px; color: var(--text); }
.ev-col-price .woocommerce-Price-amount,
.ev-col-subtotal .woocommerce-Price-amount { font-weight: 500; }

/* Quantity stepper */
.ev-col-qty { display: flex; justify-content: center; }
.ev-col-qty .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4ccc0;
}
.ev-col-qty .quantity .ev-qbtn {
  width: 34px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  transition: background .15s;
  cursor: pointer;
  user-select: none;
}
.ev-col-qty .quantity .ev-qbtn:hover { background: var(--surface); }
.ev-col-qty .quantity input.qty {
  width: 44px;
  height: 40px;
  text-align: center;
  border: none;
  border-right: 1px solid #d4ccc0;
  border-left: 1px solid #d4ccc0;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  -moz-appearance: textfield;
  background: #fff;
}
.ev-col-qty .quantity input.qty::-webkit-outer-spin-button,
.ev-col-qty .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Remove */
.ev-col-remove { text-align: center; }
.ev-col-remove .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 20px;
  color: var(--muted);
  transition: color .2s;
  text-decoration: none;
}
.ev-col-remove .remove:hover { color: #c0392b; background: transparent; }

/* Coupon + update row */
.ev-cart-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--surface);
}
.ev-coupon { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 260px; }
.ev-coupon-label { font-size: 13.5px; color: var(--text); white-space: nowrap; }
.ev-coupon-input {
  flex: 1;
  max-width: 320px;
  border: 1px solid #d4ccc0;
  padding: 12px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  background: #fff;
}
.ev-coupon-input:focus { border-color: var(--accent); }
.ev-btn-taupe {
  padding: 12px 26px;
  background: #a08f7b;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.ev-btn-taupe:hover { background: #8d7c68; }
.ev-cart-update {
  padding: 12px 26px;
  background: transparent;
  border: 1px solid #d4ccc0;
  color: var(--subtle);
  font-family: var(--font-body);
  font-size: 13.5px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.ev-cart-update:hover { background: #fff; border-color: var(--accent); }

/* Collaterals — totals + checkout cta */
.ev-cart-collaterals { margin-top: 36px; }
.ev-cart-totals-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.ev-cart-totals {
  background: var(--surface);
  padding: 30px 32px;
}
.ev-cart-totals h2 { font-size: 18px; font-weight: 500; margin: 0 0 22px; }
.ev-totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ev-totals-key { color: var(--muted); }
.ev-totals-val { color: var(--text); font-weight: 500; }
.ev-totals-shipping { align-items: flex-start; }
.ev-shipping-methods { text-align: left; flex: 1; }
.ev-shipping-methods ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ev-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.ev-shipping-methods li label { color: var(--text); cursor: pointer; }
.ev-shipping-methods input[type="radio"] { accent-color: var(--accent); }
.ev-totals-grand { border-bottom: none; padding-top: 18px; }
.ev-totals-grand .ev-totals-key { color: var(--text); font-size: 15px; font-weight: 500; }
.ev-totals-grand .ev-totals-val { font-size: 17px; color: var(--text); font-weight: 600; }

/* Checkout CTA */
.ev-cart-cta { display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.ev-cart-shipnote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}
.ev-cart-shipnote p { font-size: 13px; color: var(--subtle); line-height: 1.9; margin: 0; }
.ev-checkout-btn {
  display: block;
  text-align: center;
  padding: 16px;
  background: #a08f7b;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.ev-checkout-btn:hover { background: #8d7c68; }
.ev-cart-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ev-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.ev-trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Empty cart */
.cart-empty.woocommerce-info {
  text-align: center;
  font-size: 15px;
  padding: 40px;
}
.wc-empty-cart-message + .return-to-shop { text-align: center; margin-top: 16px; }

/* ══════════════════════════════════════
   MY ACCOUNT
══════════════════════════════════════ */
.woocommerce-account .woocommerce {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 50px var(--px) 80px;
}
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: 100%; margin-bottom: 28px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
@media (min-width: 768px) {
  .woocommerce-account.logged-in .woocommerce {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 0; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: column; }
}

/* Login / register box (guest) */
.ev-account-auth {
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}
.ev-account-auth-box {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
  padding: 44px 40px;
  text-align: center;
}
.ev-account-auth-title { font-size: 18px; font-weight: 500; margin: 18px 0 8px; }
.ev-account-auth-sub { font-size: 13px; color: var(--muted); margin: 0 0 24px; line-height: 1.9; }
.ev-auth-intro { font-size: 13px; color: var(--muted); text-align: center; margin: 0 0 20px; line-height: 1.9; }

/* Style Digits inline form to match the EVARA design */
.ev-digits-wrap { text-align: right; }
/* Hide Digits' own title / logo / extra chrome (we provide our own box) */
.ev-digits-wrap .dig-box-login-title,
.ev-digits-wrap .digits_logo,
.ev-digits-wrap .dig-logo,
.ev-digits-wrap .dig-cont-close,
.ev-digits-wrap .dig-box-header,
.ev-digits-wrap h1, .ev-digits-wrap h2.dig_login_title { display: none !important; }
/* Remove Digits' own box border/shadow — our modal is the box */
.ev-digits-wrap .dig-box,
.ev-digits-wrap .dig-content,
.ev-digits-wrap .iump-form,
.ev-digits-wrap form {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.ev-digits-wrap .iump-form-line-register,
.ev-digits-wrap .iump-form-line { margin: 0 0 14px !important; }
/* All text/phone/otp inputs */
.ev-digits-wrap input[type="text"],
.ev-digits-wrap input[type="tel"],
.ev-digits-wrap input[type="number"],
.ev-digits-wrap input[type="password"],
.ev-digits-wrap input[type="email"],
.ev-digits-wrap .digits_countrycode,
.ev-digits-wrap .iump_phone,
.ev-digits-wrap .digits_phone {
  width: 100% !important;
  border: 1px solid #d4ccc0 !important;
  border-radius: 0 !important;
  padding: 13px 14px !important;
  height: auto !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  box-shadow: none !important;
  background: #fff !important;
  color: var(--text) !important;
  outline: none !important;
}
.ev-digits-wrap input:focus { border-color: var(--accent) !important; }
/* Digits — فیلد شماره موبایل (هم فرم ورود و هم ثبت‌نام) همیشه چپ‌چین/LTR باشد
   تا عدد و پیش‌شمارهٔ +۹۸ در صفحهٔ راست‌چین برعکس/کج نمایش داده نشود.
   specificity عمداً بالاست تا قانونِ خودِ افزونه (.dig-box input.mobile_field => right)
   را شکست دهد. فقط فیلد شماره را هدف می‌گیرد؛ فیلد «نام» راست‌چین می‌ماند. */
.dig-box input.mobile_field.dig-mobile_field,
.dig-box input.mobile_field[name="phone"],
.dig-box input.mobile_field[name="digits_phone"] {
  direction: ltr !important;
  text-align: left !important;
}
/* Intl-tel-input country flag widget */
.ev-digits-wrap .iti { width: 100% !important; }
.ev-digits-wrap .iti__flag-container { border-left: 1px solid #d4ccc0; }
/* Buttons */
.ev-digits-wrap button,
.ev-digits-wrap .button,
.ev-digits-wrap .dig_button,
.ev-digits-wrap .digt-submit,
.ev-digits-wrap input[type="submit"],
.ev-digits-wrap input[type="button"] {
  background: var(--dark) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 24px !important;
  font-family: var(--font-body) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: background .2s !important;
  width: 100% !important;
  height: auto !important;
  box-shadow: none !important;
}
.ev-digits-wrap button:hover,
.ev-digits-wrap .button:hover,
.ev-digits-wrap input[type="submit"]:hover { background: var(--accent) !important; }
/* Links (resend code, etc.) */
.ev-digits-wrap a { color: var(--accent) !important; font-size: 13px; }
.ev-digits-wrap label { font-size: 12.5px; color: var(--muted); }

/* ══════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════ */
.ev-checkout-page { padding: 44px var(--px) 90px; }
.ev-checkout-title { font-size: 30px; font-weight: 500; margin: 0 0 32px; }
.ev-checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 44px;
  align-items: start;
}

/* Section headings */
.ev-checkout-details h3,
#order_review_heading {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Form rows */
.ev-checkout-form .form-row {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ev-checkout-form .form-row-first,
.ev-checkout-form .form-row-last {
  display: inline-flex;
  width: calc(50% - 8px);
}
.ev-checkout-form .form-row-first { margin-left: 16px; }
.ev-checkout-form .col2-set .col-1,
.ev-checkout-form .col2-set .col-2 { width: 100%; }
.ev-checkout-form label {
  font-size: 12.5px;
  color: var(--muted);
}
.ev-checkout-form label .required { color: var(--accent); text-decoration: none; border: 0; }
.ev-checkout-form input.input-text,
.ev-checkout-form textarea,
.ev-checkout-form .select2-container .select2-selection,
.ev-checkout-form select {
  width: 100%;
  border: 1px solid #d4ccc0;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  background: #fff;
  transition: border-color .2s;
  min-height: 46px;
}
.ev-checkout-form input.input-text:focus,
.ev-checkout-form textarea:focus { border-color: var(--accent); }
.ev-checkout-form .select2-container--default .select2-selection--single {
  height: 46px;
  display: flex;
  align-items: center;
}
.ev-checkout-form .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }

/* Phone field (Digits) */
.ev-checkout-form .woocommerce-input-wrapper { display: block; width: 100%; }

/* Order review box */
.ev-checkout-review {
  background: var(--surface);
  padding: 28px 30px;
  position: sticky;
  top: 90px;
}
#order_review .shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-bottom: 8px;
}
#order_review .shop_table th,
#order_review .shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: right;
}
#order_review .shop_table .product-name { color: var(--text); }
#order_review .shop_table .product-total { text-align: left; white-space: nowrap; }
#order_review .cart-subtotal th,
#order_review .order-total th { font-weight: 500; }
#order_review .order-total td { text-align: left; font-size: 16px; font-weight: 600; }

/* Shipping methods — radio inline with label */
#order_review #shipping_method,
#order_review ul#shipping_method {
  list-style: none;
  margin: 0;
  padding: 0;
}
#order_review #shipping_method li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
#order_review #shipping_method li:last-child { margin-bottom: 0; }
#order_review #shipping_method li input[type="radio"] {
  margin: 0;
  width: auto;
  min-height: 0;
  order: 2;        /* radio on the left in RTL row */
}
#order_review #shipping_method li label {
  display: inline;
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
  order: 1;
}
#order_review .woocommerce-shipping-totals td { padding-top: 14px; }

/* Payment methods */
.ev-checkout-form #payment {
  background: transparent;
  margin-top: 16px;
}
.ev-checkout-form #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ev-checkout-form #payment ul.payment_methods li {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
}
.ev-checkout-form #payment ul.payment_methods li label { color: var(--text); font-size: 14px; cursor: pointer; }
.ev-checkout-form #payment .payment_box {
  background: transparent;
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
  padding: 0;
}
.ev-checkout-form #payment .payment_box::before { display: none; }
.ev-checkout-form #place_order {
  width: 100%;
  padding: 16px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.ev-checkout-form #place_order:hover { background: var(--accent); }
.ev-checkout-form .woocommerce-terms-and-conditions-wrapper { margin: 14px 0; font-size: 13px; }

/* Coupon toggle */
.woocommerce-form-coupon-toggle { margin-bottom: 20px; }
.checkout_coupon { border: 1px solid var(--border); padding: 18px; margin-bottom: 24px; }
.checkout_coupon .button {
  background: var(--dark); color: #fff; border: none; padding: 12px 24px;
  font-family: var(--font-body); cursor: pointer;
}

/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.ev-404 { padding: 100px var(--px); }
.ev-404-inner { text-align: center; max-width: 480px; margin: 0 auto; }
.ev-404-inner h1 { font-size: 36px; margin: 10px 0 16px; }
.ev-404-inner p { color: var(--muted); margin-bottom: 28px; }

/* ══════════════════════════════════════
   GENERAL PAGE CONTENT
══════════════════════════════════════ */
.ev-page-content { padding: 60px var(--px) 80px; }
.ev-page-title, .ev-post-title { font-size: 32px; font-weight: 500; margin-bottom: 28px; }
.ev-entry-content { font-size: 15px; line-height: 1.9; color: var(--subtle); }
.ev-entry-content p { margin-bottom: 1em; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .ev-product-grid { grid-template-columns: repeat(4, 1fr); }
  .ev-footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --px: 24px; }
  .ev-nav { display: none; }
  .ev-hamburger { display: flex; }
  .ev-product-grid { grid-template-columns: repeat(3, 1fr); }
  .ev-shop-grid    { grid-template-columns: repeat(3, 1fr); }
  .ev-product-layout { grid-template-columns: 1fr; gap: 32px; }
  .ev-brand-story { grid-template-columns: 1fr; }
  .ev-brand-img { height: 300px; }
  .ev-brand-text { padding: 40px 24px; }
  .ev-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ev-value-grid { grid-template-columns: 1fr 1fr; }
  .ev-slider { height: 460px; }
  .ev-slide-content { padding: 0 26px; }
  .ev-slide-photo { width: 40%; }
  .ev-cart-totals-wrap { grid-template-columns: 1fr; }
  .ev-checkout-grid { grid-template-columns: 1fr; gap: 32px; }
  .ev-checkout-review { position: static; }
}

@media (max-width: 600px) {
  :root { --px: 16px; }
  .ev-cart-label { display: none; }
  .ev-header-actions { gap: 15px; }
  .ev-login-btn span { display: none; }
  .ev-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ev-shop-grid    { grid-template-columns: repeat(2, 1fr); }
  .ev-card-img { height: 220px; }
  .ev-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ev-payment-opts { flex-direction: column; }
  .ev-atc-row { flex-direction: column; }
  .ev-slider { height: 420px; }
  .ev-slide-heading { font-size: 26px; margin-bottom: 20px; }
  .ev-slide-eyebrow { font-size: 15px; margin-bottom: 12px; }
  .ev-slide-photo { width: 42%; }
  .ev-slide-content { padding: 0 18px; }
  .ev-value-grid { grid-template-columns: 1fr; }

  /* Reviews → single column on mobile */
  .ev-rv-summary { grid-template-columns: 1fr; gap: 30px; }
  .ev-rv-form-box { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .ev-rv-list { grid-template-columns: 1fr; }

  /* Cart → stacked card rows on mobile */
  .ev-cart-thead { display: none; }
  .ev-cart-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 16px;
    position: relative;
  }
  .ev-col-price, .ev-col-subtotal { text-align: right; display: flex; justify-content: space-between; }
  .ev-col-price::before { content: "قیمت"; color: var(--muted); font-size: 12px; }
  .ev-col-subtotal::before { content: "جمع جز"; color: var(--muted); font-size: 12px; }
  .ev-col-qty { justify-content: flex-start; }
  .ev-col-remove { position: absolute; top: 14px; left: 12px; }
  .ev-cart-actions { flex-direction: column; align-items: stretch; }
  .ev-coupon { flex-wrap: wrap; }

  /* Checkout name fields full width on mobile */
  .ev-checkout-form .form-row-first,
  .ev-checkout-form .form-row-last { width: 100%; }
  .ev-checkout-form .form-row-first { margin-left: 0; }
}

/* ══════════════════════════════════════
   DIGITS POPUP — EVARA LUXURY STYLE
══════════════════════════════════════ */

/* پس‌زمینه‌ی تاریک محو شده — نمایش را دیجیتس خودش کنترل می‌کند */
.digits_popup_wrapper.dig-box,
#dig-ucr-container.dig-box {
  background: rgba(20,17,14,.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  text-align: center !important;
}
.digits_popup_wrapper.dig-box[style*="block"],
#dig-ucr-container.dig-box[style*="block"] {
  display: flex !important;
}

/* صفحه‌ی داخلی دیجیتس — شفاف، بدون ارتفاع ثابت */
.dig-box .digits-form_page {
  background: transparent !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  position: static !important;
  padding: 20px 0 !important;
}

/* کارت اصلی */
.dig-box .digits-form_container {
  background: #F8F4EF !important;
  width: 460px !important;
  max-width: calc(100vw - 32px) !important;
  padding: 48px 44px 40px !important;
  border-radius: 24px !important;
  border: 1px solid #E8DDD1 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.08) !important;
  position: relative !important;
  text-align: right !important;
}

/* تمام متن‌ها تیره و فونت فارسی */
.dig-box .digits-form_wrapper,
.dig-box .digits-form_wrapper * {
  color: #2E2A27 !important;
  font-family: var(--font-body) !important;
  box-sizing: border-box !important;
}

/* مخفی‌کردن هدر پیش‌فرض دیجیتس */
.dig-box .digits-form_heading { display: none !important; }
.dig-box .digits-form_tab-bar { display: none !important; }
.dig-box .digits-form_tab_header { display: none !important; }

/* نمایش اجباری tab_wrapper چون دیجیتس خودش پنهانش می‌کند */
.dig-box .digits-form_tab_wrapper { display: block !important; }
.dig-box .digits-form_tab_container { display: block !important; }
.dig-box .digits-form_tabs { display: block !important; }
.dig-box .digits-form_body { display: block !important; }
.dig-box .digits-form_body_wrapper { display: block !important; }
.dig-box .digits-form_tab_body { display: block !important; }

/* ── لوگو و عنوان که با جاوااسکریپت تزریق می‌شوند ── */
.dig-box .ev-dig-brand { text-align: center; margin-bottom: 32px; }

.dig-box .ev-dig-brand .ev-logo-text {
  display: block !important;
  font-family: var(--font-head) !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  letter-spacing: .46em !important;
  color: #2E2A27 !important;
  line-height: 1.2 !important;
}
.dig-box .ev-dig-brand .ev-logo-sub {
  display: block !important;
  font-size: 8px !important;
  letter-spacing: .45em !important;
  color: #8D8177 !important;
  margin-top: 4px !important;
}
.dig-box .ev-dig-welcome {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #2E2A27 !important;
  text-align: center !important;
  margin: 0 0 10px !important;
  font-family: var(--font-body) !important;
  line-height: 1.6 !important;
}
.dig-box .ev-dig-desc {
  font-size: 14px !important;
  color: #8D8177 !important;
  text-align: center !important;
  line-height: 1.85 !important;
  margin: 0 0 28px !important;
  font-family: var(--font-body) !important;
}

/* ── فیلد شماره تلفن ── */
.dig-box .digits-form_body_wrapper { margin-bottom: 14px !important; }

/* فیلدهای رمز عبور و OTP — border جداگانه دارند */
.dig-box .digits-form_login input[type="password"],
.dig-box .digits-otp_field input,
.dig-box .digits-otp-field input {
  height: 56px !important;
  border-radius: 14px !important;
  border: 1.5px solid #E8DDD1 !important;
  background: #fff !important;
  color: #2E2A27 !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  padding: 0 18px !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color .2s !important;
  width: 100% !important;
}
.dig-box .digits-form_login input[type="password"]:focus,
.dig-box .digits-otp_field input:focus {
  border-color: #D6C0AA !important;
  box-shadow: 0 0 0 3px rgba(214,192,170,.15) !important;
}

/* پنهان کردن فقط پرچم — کد +98 باقی می‌ماند */
.dig-box .digits-field-country_flag,
.dig-box .iti__flag-container,
.dig-box .iti__selected-flag { display: none !important; }

/* جعبه‌ی شماره — هم در فرم ورود هم ثبت‌نام (relative چون +98 با absolute می‌چسبد) */
.dig-box .digits-mobile_wrapper {
  position: relative !important;
  background: #fff !important;
  border: 1.5px solid #E8DDD1 !important;
  border-radius: 14px !important;
  height: 56px !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
}

/* جعبه‌ی +98 چسبیده به سمت چپ با خط جداکننده */
.dig-box .digits-form_countrycode,
.dig-box .countrycodecontainer,
.dig-box .digits_countrycodecontainer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  height: 100% !important;
  width: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-right: 1.5px solid #E8DDD1 !important;
  border-left: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
.dig-box input.countrycode,
.dig-box input.digits_countrycode {
  border: none !important;
  background: transparent !important;
  font-size: 14px !important;
  color: #8D8177 !important;
  width: 100% !important;
  text-align: center !important;
  pointer-events: none !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  direction: ltr !important;
  font-family: var(--font-body) !important;
}

/* فیلد شماره — تمام عرض با فضای چپ برای +98 */
.dig-box .digits-mobile_wrapper .digits-form_input:not(.digits-form_countrycode) {
  width: 100% !important;
  display: block !important;
}
.dig-box input.mobile_field,
.dig-box input.dig-mobile_field {
  width: 100% !important;
  height: 56px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 18px 0 78px !important;
  font-size: 15px !important;
  color: #2E2A27 !important;
  font-family: var(--font-body) !important;
  box-shadow: none !important;
  outline: none !important;
  direction: ltr !important;
  text-align: right !important;
}
/* لبه فوکوس روی کل ردیف */
.dig-box .digits-mobile_wrapper:focus-within {
  border-color: #D6C0AA !important;
  box-shadow: 0 0 0 3px rgba(214,192,170,.15) !important;
}

/* فیلد نام در فرم ثبت‌نام */
.dig-box .digits-user_inp_row input[type="text"] {
  width: 100% !important;
  height: 56px !important;
  border-radius: 14px !important;
  border: 1.5px solid #E8DDD1 !important;
  background: #fff !important;
  color: #2E2A27 !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  padding: 0 18px !important;
  box-shadow: none !important;
  outline: none !important;
  margin-bottom: 14px !important;
  transition: border-color .2s !important;
}
.dig-box .digits-user_inp_row input[type="text"]:focus {
  border-color: #D6C0AA !important;
  box-shadow: 0 0 0 3px rgba(214,192,170,.15) !important;
}

.dig-box .iti { width: 100% !important; }

/* ── دکمه‌ی ادامه ── */
.dig-box .digits-form_button.digits-form_submit,
.dig-box .digits-form_submit-btn {
  width: 100% !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: #D6C0AA !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: transform .3s ease, box-shadow .3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 4px !important;
}
.dig-box .digits-form_button.digits-form_submit:hover,
.dig-box .digits-form_submit-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(214,192,170,.45) !important;
}
.dig-box .digits-form_button-text {
  color: #2E2A27 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
}
.dig-box .digits-form_button_ic,
.dig-box .digits-form_button svg,
.dig-box .digits-form_button path {
  color: #2E2A27 !important;
  fill: #2E2A27 !important;
  stroke: #2E2A27 !important;
}

/* ── متن قوانین ── */
.dig-box .digits-form_footer {
  font-size: 12px !important;
  color: #8D8177 !important;
  text-align: center !important;
  margin-top: 18px !important;
  line-height: 1.8 !important;
  font-family: var(--font-body) !important;
}
.dig-box .digits-form_footer a {
  color: #8D8177 !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

/* ── بخش ثبت‌نام ── */
.dig-box .dig_login_signup_bar {
  border-top: 1px solid #E8DDD1 !important;
  margin-top: 20px !important;
  padding-top: 20px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #8D8177 !important;
  font-family: var(--font-body) !important;
}
.dig-box .dig_login_signup_bar a,
.dig-box .dig_login_signup_bar .transupbutton {
  color: #D6C0AA !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.dig-box .dig_login_signup_bar a:hover { opacity: .8 !important; }

/* ══════════════════════════════════════
   مرحله‌ی کد تأیید (OTP) — طرح EVARA
══════════════════════════════════════ */
.dig-box .dig_verify_mobile_otp_container { text-align: center !important; }
.dig-box .dig_verify_mobile_otp { width: 100% !important; }

/* عنوان «کد تأیید» مثل خوش‌آمدگویی */
.dig-box .dig_verify_code_head {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #2E2A27 !important;
  text-align: center !important;
  margin: 0 0 8px !important;
  line-height: 1.6 !important;
  font-family: var(--font-body) !important;
}
/* متن توضیح مثل زیرنویس */
.dig-box .dig_verify_code_msg {
  font-size: 14px !important;
  color: #8D8177 !important;
  text-align: center !important;
  line-height: 1.85 !important;
  margin: 0 0 24px !important;
  font-family: var(--font-body) !important;
  direction: rtl !important;
}
.dig-box .dig_verify_code_msg span { color: #2E2A27 !important; font-weight: 600 !important; direction: ltr !important; display: inline-block !important; }

/* جعبه‌ی ورودی کد — مثل فیلدهای طرح */
.dig-box .dig_verify_code_contents .minput,
.dig-box .dig_verify_code_contents .minput_inner,
.dig-box .dig_verify_code_contents .digits-input-wrapper { width: 100% !important; background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
.dig-box .dig_verify_code_contents label,
.dig-box .dig_verify_code_contents .bgdark { display: none !important; }

.dig-box input.dig_verify_otp_input {
  width: 100% !important;
  height: 56px !important;
  border-radius: 14px !important;
  border: 1.5px solid #E8DDD1 !important;
  background: #fff !important;
  color: #2E2A27 !important;
  font-family: var(--font-body) !important;
  font-size: 22px !important;
  letter-spacing: .5em !important;
  text-align: center !important;
  padding: 0 0 0 .5em !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 0 14px !important;
  direction: ltr !important;
  transition: border-color .2s !important;
}
.dig-box input.dig_verify_otp_input:focus {
  border-color: #D6C0AA !important;
  box-shadow: 0 0 0 3px rgba(214,192,170,.15) !important;
}

/* دکمه‌ی تأیید کد — مثل دکمه‌ی ادامه */
.dig-box .dig_verify_otp_submit_button {
  width: 100% !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: #D6C0AA !important;
  color: #2E2A27 !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
  transition: transform .3s ease, box-shadow .3s ease !important;
}
.dig-box .dig_verify_otp_submit_button:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(214,192,170,.45) !important;
}

/* لینک ارسال مجدد کد */
.dig-box .dig_resendotp {
  text-align: center !important;
  font-size: 13px !important;
  color: #8D8177 !important;
  margin-top: 16px !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
}
.dig-box .dig_resendotp span { color: #D6C0AA !important; }

/* ── فیلد کد پیامکی واقعی (sms_otp) — مثل فیلدهای طرح ── */
.dig-box .digits_secure_login_auth_wrapper { margin-top: 0 !important; }
.dig-box input.digits_otp_input-field,
.dig-box input[name="sms_otp"] {
  width: 100% !important;
  height: 56px !important;
  border-radius: 14px !important;
  border: 1.5px solid #E8DDD1 !important;
  background: #fff !important;
  color: #2E2A27 !important;
  font-family: var(--font-body) !important;
  font-size: 20px !important;
  letter-spacing: .45em !important;
  text-align: center !important;
  padding: 0 0 0 .45em !important;
  margin: 0 0 6px !important;
  direction: ltr !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color .2s !important;
}
.dig-box input.digits_otp_input-field:focus,
.dig-box input[name="sms_otp"]:focus {
  border-color: #D6C0AA !important;
  box-shadow: 0 0 0 3px rgba(214,192,170,.15) !important;
}
.dig-box .digits-form_resend_otp {
  text-align: center !important;
  font-size: 13px !important;
  color: #8D8177 !important;
  margin-top: 12px !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
}

/* مخفی‌کردن «Powered by Digits» و چک‌باکس به‌خاطر سپردن */
.dig-box .digits_site_footer_box,
.dig-box .protected_by_digits,
.dig-box .digits-form_rememberme { display: none !important; }

/* دکمه‌ی بستن */
.dig-box .digits-cancel,
.dig-box .dig_login_cancel {
  position: fixed !important;
  top: 20px !important;
  left: 20px !important;
  z-index: 100000 !important;
  color: #fff !important;
  opacity: .8 !important;
  transition: opacity .2s !important;
}
.dig-box .digits-cancel:hover { opacity: 1 !important; }

/* موبایل */
@media (max-width: 520px) {
  .dig-box .digits-form_container {
    border-radius: 18px !important;
    padding: 36px 24px 32px !important;
  }
}

/* ─── Add-to-cart popup ───────────────── */
.ev-atc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  background: rgba(26, 23, 20, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.ev-atc-modal.is-open { opacity: 1; visibility: visible; }
.ev-atc-box {
  background: var(--bg);
  width: 100%;
  max-width: 380px;
  margin: 0 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(26, 23, 20, 0.18);
  text-align: center;
  padding: 34px 28px 28px;
  transform: translateY(-14px);
  transition: transform .25s ease;
}
.ev-atc-modal.is-open .ev-atc-box { transform: translateY(0); }
.ev-atc-check {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.ev-atc-check svg { stroke: var(--accent); }
.ev-atc-title {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--text);
}
.ev-atc-prod {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.6;
}
.ev-atc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ev-atc-btn {
  display: block;
  width: 100%;
  padding: 13px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.ev-atc-btn-primary {
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
}
.ev-atc-btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.ev-atc-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.ev-atc-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.ev-atc-close {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: none;
  transition: color .2s;
}
.ev-atc-close:hover { color: var(--text); }
.ev-atc-box { position: relative; }
.single_add_to_cart_button.loading { opacity: .65; cursor: progress; }
