/* ========== VENTO Design Optimize — Ice Atelier (ui-ux-kit + frontend-design) ==========
   Concept: quiet glacial surfaces, ink type, cyan as a sharp 10% accent.
   Product photography leads; chrome stays out of the way.
   Revert keyword: rami → restore versions/VENTO-Midnight4-3.23.0-pre-optimize-rami.zip
============================================================================= */

:root{
  /* Tint neutrals toward brand cyan — cohesion without purple/AI glow */
  --cream:#f3f6f8;
  --cream-2:#e8eef2;
  --soft-white:#f7fafb;
  --text:#0a1220;
  --muted:#546074; /* ≥4.5:1 on cream */
  --line:rgba(8,24,40,.11);
  --radius-sm:12px;
  --radius-md:18px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:24px;
  --space-6:40px;
  --elevate-1:0 1px 0 rgba(255,255,255,.7) inset, 0 8px 22px rgba(8,20,38,.06);
  --elevate-2:0 1px 0 rgba(255,255,255,.85) inset, 0 16px 36px rgba(8,20,38,.1);
}

/* ——— Type: Vazirmatn for Persian clarity + personality ——— */
body{
  font-family:var(--font-body, "Vazirmatn", Tahoma, "Segoe UI", sans-serif);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,
.section-title,
.cine-title,
.m-products-title,
.site-brand-text,
.product-title,
.cat-arch-title{
  font-family:var(--font-heading, "Vazirmatn", Tahoma, "Segoe UI", sans-serif);
  letter-spacing:-.02em;
}
.section-title,
.m-products-title{
  font-weight:850;
  line-height:1.25;
  color:var(--text);
}
.section{
  padding-block:clamp(28px, 4.5vw, 56px);
}
.section-head{
  margin-bottom:clamp(16px, 2.5vw, 28px);
}
.section-copy{
  color:var(--muted);
  max-width:36em;
  line-height:1.7;
}

/* ——— Buttons: one primary language ——— */
.btn,
.header-design,
.cine-cta{
  letter-spacing:.01em;
  transition:transform .22s cubic-bezier(.22,1,.36,1), background .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}
.btn:active,
.header-design:active,
.cine-cta:active{
  transform:translateY(1px) scale(.985);
}
.btn-cyan,
.product-card-atc{
  box-shadow:0 8px 20px color-mix(in srgb, var(--cyan,#00a8c1) 28%, transparent);
}
.btn:focus-visible,
.header-design:focus-visible,
.icon-btn:focus-visible,
.mobile-toggle:focus-visible,
.products-rail-nav:focus-visible,
.cine-cta:focus-visible{
  outline:2px solid var(--focus, var(--cyan,#00a8c1));
  outline-offset:3px;
}

/* ——— Header: quieter chrome ——— */
.site-header-inner{
  background:color-mix(in srgb, var(--soft-white,#f7fafb) 88%, transparent);
  border-color:rgba(8,24,40,.07);
  box-shadow:0 10px 28px rgba(8,20,38,.06);
}
.main-nav a{
  font-weight:700;
  color:color-mix(in srgb, var(--text) 88%, var(--muted));
}
.main-nav a:hover,
.main-nav .current-menu-item>a{
  color:var(--text);
}
.icon-btn{
  border-color:rgba(8,24,40,.08);
  background:color-mix(in srgb, #fff 80%, var(--cream,#f3f6f8));
  transition:background .2s, border-color .2s, color .2s, transform .2s;
}
.icon-btn:hover{
  transform:translateY(-1px);
}

/* ——— Categories ——— */
.section-categories.style-aurora .cat-arch,
.section-categories.style-soft .cat-arch{
  box-shadow:var(--elevate-1);
}
.section-categories.style-aurora .cat-arch:hover,
.section-categories.style-soft .cat-arch:hover{
  box-shadow:var(--elevate-2);
}
.cat-arch-title{
  font-weight:800;
}

/* ——— Product cards: clear hierarchy (image → name → meta → price) ——— */
.product-card.style-vegas{
  border-color:rgba(8,24,40,.07) !important;
  box-shadow:var(--elevate-1);
  border-radius:var(--radius-md) !important;
}
.product-card.style-vegas:hover,
.product-card.style-vegas.is-active{
  box-shadow:var(--elevate-2);
}
.product-card.style-vegas .product-body{
  padding:14px 12px 10px !important;
  text-align:right; /* RTL natural */
}
.product-card.style-vegas .product-title,
.product-card.style-vegas .product-body h3{
  font-size:14px !important;
  font-weight:800 !important;
  color:var(--text) !important;
  line-height:1.4 !important;
  margin:0 0 4px !important;
}
.product-card.style-vegas .product-cat{
  color:var(--muted) !important;
  font-size:12px;
  font-weight:600;
  margin:0 0 8px;
}
.product-card.style-vegas .product-price{
  color:var(--midnight,#06101f) !important; /* was light green ~3.4:1 — now ink */
  font-size:15px !important;
  font-weight:900 !important;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.01em;
}
.product-card.style-vegas .product-price del{
  color:var(--muted) !important;
  font-weight:600;
  opacity:.85;
}
.product-card.style-vegas .product-price ins{
  color:var(--midnight,#06101f) !important;
  text-decoration:none;
}
.product-card.style-vegas .product-cart-icon{
  color:var(--text);
  opacity:.75;
}
.product-card.style-vegas .product-cart-icon:hover{
  opacity:1;
  color:var(--cyan,#00a8c1);
}

/* ——— Product rail ——— */
.products-rail-nav{
  width:44px;
  height:44px;
  border-color:rgba(8,24,40,.1);
  box-shadow:0 8px 22px rgba(8,20,38,.12);
  background:color-mix(in srgb, #fff 92%, var(--cyan,#00a8c1));
}
.products-rail-nav:hover{
  background:var(--cyan,#00a8c1);
  color:#041018;
}
.products-rail-viewport{
  mask-image:linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.m-products-title{
  letter-spacing:-.03em;
}
.m-product-tabs a{
  font-weight:700;
  border-radius:999px;
  transition:background .2s, color .2s;
}

/* ——— Mobile bar ——— */
.mobile-bar{
  background:color-mix(in srgb, #fff 94%, var(--cream,#f3f6f8));
  border-top-color:rgba(8,24,40,.08);
  box-shadow:0 -10px 28px rgba(8,20,38,.07);
}
.mobile-bar-item{
  color:#5b6678;
  transition:color .2s, transform .2s;
}
.mobile-bar-item:active{
  transform:scale(.96);
}
.mobile-bar-item.active,
.mobile-bar-item:focus-visible{
  color:var(--cyan,#00a8c1);
}
.mobile-bar-item small{
  font-weight:700;
}

/* ——— Footer quieter ——— */
.site-footer,
.footer-v2{
  letter-spacing:.01em;
}
.footer-v2-links a{
  transition:color .2s, opacity .2s;
}

/* ——— WooCommerce surfaces ——— */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color:var(--midnight,#06101f) !important;
  font-variant-numeric:tabular-nums;
  font-weight:900;
}
.woocommerce .button,
.woocommerce a.button{
  font-family:var(--font-ui, "Vazirmatn", Tahoma, sans-serif);
}

/* ——— Motion respect ——— */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn:hover,
  .header-design:hover,
  .icon-btn:hover,
  .cat-arch:hover,
  .product-card.style-vegas:hover{
    transform:none !important;
  }
}

/* ——— Selection ——— */
::selection{
  background:color-mix(in srgb, var(--cyan,#00a8c1) 28%, transparent);
  color:var(--text);
}
