/*
Theme Name:     Evi Home
Theme URI:      https://evihome.ir
Description:    Astra child theme for Laleh Couture — women's clothing boutique (RTL / Persian).
Author:         Laleh Couture
Template:       astra
Version:        0.3.0
*/

/* ===================== Vazirmatn (self-hosted) ===================== */
@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}

/* ===================== Brand tokens ===================== */
:root{
  --evi-ink:#241f28;
  --evi-muted:#6f6670;
  --evi-rose:#c2748a;
  --evi-rose-dark:#a85a72;
  --evi-cream:#f7f1ec;
  --evi-gold:#b9975b;
  --evi-gold-soft:#cbb08a;
  --evi-line:#eae3df;
}

/* ===================== Typography (Persian, RTL) ===================== */
body,button,input,select,textarea,
.ast-container,.site-title,.site-description,
h1,h2,h3,h4,h5,h6,
.woocommerce,.woocommerce-page{
  font-family:"Vazirmatn",Tahoma,"Segoe UI",sans-serif !important;
}
body{color:var(--evi-ink);line-height:1.95;background:#fff;}
h1,h2,h3,h4,h5,h6{font-weight:700;color:var(--evi-ink);line-height:1.55;}

/* Latin accents (labels, brand) — thin & tracked to echo the logo */
.evi-eyebrow{
  font-weight:500;letter-spacing:.32em;text-transform:uppercase;
  color:var(--evi-gold);font-size:.78rem;display:block;margin-bottom:14px;
}

/* ===================== Buttons ===================== */
.ast-custom-button,.wp-block-button__link,
button,.button,input[type=submit],
.woocommerce a.button,.woocommerce button.button,.woocommerce .button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt{
  background:var(--evi-ink) !important;color:#fff !important;border:none !important;
  border-radius:999px !important;padding:.78em 2.2em !important;font-weight:500 !important;
  letter-spacing:.02em;box-shadow:none !important;transition:background .25s ease,transform .25s ease;
}
.ast-custom-button:hover,.wp-block-button__link:hover,
button:hover,.button:hover,input[type=submit]:hover,
.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{
  background:var(--evi-rose-dark) !important;transform:translateY(-2px);color:#fff !important;
}
.evi-btn-outline{
  display:inline-block;background:transparent !important;color:var(--evi-ink) !important;
  border:1px solid var(--evi-ink) !important;border-radius:999px;padding:.72em 2.1em;font-weight:500;
  text-decoration:none;transition:all .25s ease;
}
.evi-btn-outline:hover{background:var(--evi-ink) !important;color:#fff !important;}

/* ===================== Links ===================== */
a{color:var(--evi-rose-dark);} a:hover{color:var(--evi-rose);}

/* ===================== Header + logo ===================== */
.site-header,.ast-primary-header-bar{background:#fff;border-bottom:1px solid var(--evi-line);}
.main-header-menu a{font-weight:500;letter-spacing:.01em;}
.custom-logo{height:auto !important;max-height:84px;width:auto;}
.ast-site-identity .site-title,.ast-site-identity .site-description,
.site-header .site-title,.site-header .site-description{display:none !important;}

/* ===================== Section scaffolding ===================== */
.evi-section{padding:70px 16px;}
.evi-narrow{max-width:1180px;margin:0 auto;}
.evi-cream{background:var(--evi-cream);}
.evi-head{text-align:center;max-width:720px;margin:0 auto 42px;}
.evi-head h2{font-size:clamp(1.5rem,3vw,2.2rem);margin:0 0 .4em;}
.evi-head .evi-sub{color:var(--evi-muted);margin:0;}
.evi-divider{width:54px;height:2px;background:var(--evi-gold);margin:18px auto 0;border:0;}

/* ===================== Hero ===================== */
.evi-hero{
  background:
    radial-gradient(1200px 500px at 50% -10%, #fbeef0 0%, transparent 60%),
    linear-gradient(135deg,#f6ece8 0%,#efd9df 48%,#e9d3dc 100%);
  border-radius:26px;padding:92px 28px;text-align:center;position:relative;overflow:hidden;
}
.evi-hero h1{font-size:clamp(2.1rem,5vw,3.4rem);margin:.1em 0 .35em;font-weight:700;}
.evi-hero p{font-size:1.18rem;color:#5c525c;max-width:620px;margin:0 auto 1.9em;}
.evi-hero .evi-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* ===================== Trust / feature strip ===================== */
.evi-trust{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:22px;max-width:1180px;margin:0 auto;}
.evi-trust .item{display:flex;gap:14px;align-items:center;justify-content:center;text-align:right;}
.evi-trust svg{width:34px;height:34px;flex:0 0 34px;stroke:var(--evi-gold);}
.evi-trust b{display:block;font-weight:600;}
.evi-trust span{color:var(--evi-muted);font-size:.9rem;}

/* ===================== Category tiles ===================== */
.evi-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:20px;max-width:1180px;margin:0 auto;}
.evi-cat-tile{
  position:relative;border-radius:20px;min-height:200px;display:flex;align-items:flex-end;justify-content:center;
  padding:22px;text-decoration:none;color:#fff;overflow:hidden;box-shadow:0 10px 26px rgba(36,31,40,.14);
  transition:transform .3s ease,box-shadow .3s ease;
}
.evi-cat-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.28) 100%);}
.evi-cat-tile span{position:relative;z-index:1;font-weight:700;font-size:1.18rem;}
.evi-cat-tile:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(36,31,40,.2);color:#fff;}

/* ===================== Product cards ===================== */
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{
  background:#fff;border:1px solid var(--evi-line);border-radius:16px;padding:14px;
  transition:box-shadow .25s ease,transform .25s ease;
}
.woocommerce ul.products li.product:hover{box-shadow:0 14px 32px rgba(36,31,40,.1);transform:translateY(-4px);}
.woocommerce ul.products li.product img{border-radius:12px;margin-bottom:12px;}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-weight:600;font-size:1rem;}
.woocommerce ul.products li.product .price{color:var(--evi-rose-dark) !important;font-weight:700;}
.woocommerce span.onsale{background:var(--evi-gold) !important;border-radius:999px;color:#fff;min-height:auto;padding:4px 12px;}

/* ===================== Brand story band ===================== */
.evi-story{max-width:760px;margin:0 auto;text-align:center;}
.evi-story p{font-size:1.1rem;color:#574e57;line-height:2.1;}

/* ===================== Contact section ===================== */
.evi-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:26px;max-width:1000px;margin:0 auto;}
.evi-contact .card{background:#fff;border:1px solid var(--evi-line);border-radius:18px;padding:30px 22px;text-align:center;}
.evi-contact .card svg{width:30px;height:30px;stroke:var(--evi-gold);margin-bottom:12px;}
.evi-contact .card b{display:block;margin-bottom:6px;font-weight:600;}
.evi-contact .card a,.evi-contact .card span{color:var(--evi-muted);text-decoration:none;direction:ltr;unicode-bidi:plaintext;display:inline-block;}
.evi-contact .card a:hover{color:var(--evi-rose-dark);}

/* ===================== Custom footer (functions.php) ===================== */
.evi-footer{background:var(--evi-ink);color:#e9e2e6;padding:58px 16px 10px;}
.evi-footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:36px;max-width:1180px;margin:0 auto;}
.evi-footer h4{color:#fff;font-size:1.05rem;margin:0 0 16px;font-weight:600;}
.evi-footer a{color:#cfc6cc;text-decoration:none;}
.evi-footer a:hover{color:var(--evi-gold-soft);}
.evi-footer ul{list-style:none;margin:0;padding:0;}
.evi-footer li{margin:9px 0;}
.evi-footer .brandcol img{max-height:70px;width:auto;filter:brightness(0) invert(1);opacity:.95;margin-bottom:14px;}
.evi-footer .brandcol p{color:#b7aeb5;line-height:2;}
.evi-footer .contact li{display:flex;gap:10px;align-items:flex-start;color:#cfc6cc;}
.evi-footer .contact svg{width:19px;height:19px;flex:0 0 19px;stroke:var(--evi-gold-soft);margin-top:6px;}
.evi-footer .contact .num{direction:ltr;unicode-bidi:plaintext;}
.evi-footer .socials{display:flex;gap:12px;margin-top:6px;}
.evi-footer .socials a{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;display:flex;align-items:center;justify-content:center;}
.evi-footer .socials svg{width:18px;height:18px;stroke:#e9e2e6;}
.evi-footer-bar{background:#1b171e;color:#9b9199;text-align:center;padding:16px;font-size:.85rem;}
/* Hide Astra's default footer bar (incl. "Powered by Astra") in favor of ours */
.site-footer .ast-small-footer,
.site-below-footer-wrap,
.ast-footer-copyright{display:none !important;}

/* ===================== Responsive ===================== */
@media (max-width:600px){
  .evi-section{padding:48px 14px;}
  .evi-hero{padding:64px 20px;}
  .evi-trust .item{justify-content:flex-start;}
}
