/*
Theme Name: AriyaAura Beauty Shop
Theme URI: https://talanacademy.com/
Author: Talan Academy
Description: قالب فروشگاهی اختصاصی راست چین، سازگار با WooCommerce و دارای پنل تنظیمات.
Version: 2.2.0
Text Domain: amys-figma-shop
*/

:root{
  --navy:#294477;
  --navy-2:#203a68;
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#24375c;
  --muted:#7c879b;
  --line:#e7ebf3;
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,"Segoe UI",Arial,sans-serif;direction:rtl;font-size:14px;line-height:1.9}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
.container{width:min(1160px,calc(100% - 32px));margin:auto}

/* Header */
.site-header{background:#fff;padding:18px 0 10px}
.header-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.header-brand{font-family:Georgia,serif;font-size:32px;letter-spacing:.5px;color:var(--navy);font-weight:700;text-align:center}
.header-side{display:flex;align-items:center;gap:10px}
.header-side.left{justify-content:flex-start}
.header-side.right{justify-content:flex-end}
.header-pill{border:1px solid var(--line);background:#f1f4f9;border-radius:30px;padding:7px 15px;font-size:12px;color:var(--text)}
.main-nav{margin-top:12px;background:var(--navy);border-radius:28px;padding:7px 10px;display:flex;align-items:center;gap:7px;min-height:48px}
.nav-search{background:#fff;border-radius:22px;min-width:215px;padding:7px 13px;color:#9aa4b6;font-size:11px}
.nav-links{display:flex;gap:4px;flex:1;justify-content:flex-end;flex-wrap:wrap}
.nav-links a{color:#fff;padding:5px 12px;border-radius:18px;font-size:12px}
.nav-links a:hover{background:rgba(255,255,255,.12)}

/* Hero */
.hero{padding:34px 0 20px}
.hero-card{display:grid;grid-template-columns:42% 58%;align-items:center;gap:30px;min-height:330px}
.hero-media{height:310px;border-radius:18px;overflow:hidden;background:#e9edf4;box-shadow:0 14px 35px rgba(36,55,92,.10)}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-content{padding:10px 15px}
.hero-badge{display:inline-block;background:#eef1f6;color:#71809a;border-radius:20px;padding:5px 13px;font-size:11px}
.hero h1{font-size:31px;line-height:1.55;margin:14px 0 8px;color:var(--navy)}
.hero p{color:#8791a2;max-width:570px;margin:0 0 18px;font-size:13px}
.hero-button{display:inline-flex;align-items:center;gap:8px;background:var(--navy);color:#fff;border-radius:24px;padding:10px 20px}

/* Quick nav */
.quick-nav{background:#fff;border:1px solid #edf0f5;border-radius:38px;box-shadow:0 8px 25px rgba(40,57,92,.08);display:flex;justify-content:center;gap:8px;padding:8px;margin:8px auto 36px;max-width:900px}
.quick-nav a{min-width:100px;text-align:center;padding:7px 10px;border-radius:24px;color:#738097;font-size:11px}
.quick-nav a.active,.quick-nav a:hover{background:var(--navy);color:#fff}

/* Products */
.products-section{padding-bottom:4px}
.section-head{text-align:center;margin-bottom:18px}
.section-kicker{color:#8a94a7;font-size:11px}
.section-head h2{font-size:23px;margin:2px 0 5px;color:#1f3154}
.product-tabs{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:20px}
.product-tabs span{border:1px solid var(--line);background:#fff;color:#7b879a;border-radius:20px;padding:5px 14px;font-size:11px}
.product-tabs span.active{background:var(--navy);border-color:var(--navy);color:#fff}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product-card{background:#fff;border:1px solid #e9edf4;border-radius:15px;overflow:hidden;position:relative;transition:.2s;box-shadow:0 5px 16px rgba(38,56,92,.04)}
.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(38,56,92,.09)}
.product-image{position:relative;aspect-ratio:1/1;overflow:hidden;background:#eef1f6}
.product-image img{width:100%;height:100%;object-fit:cover;display:block}
.product-badge{position:absolute;top:9px;right:9px;background:#fff;border-radius:12px;padding:2px 7px;font-size:9px;color:var(--navy);box-shadow:0 2px 8px rgba(0,0,0,.08)}
.product-body{padding:9px 10px 11px}
.product-title{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:5px}
.product-price{font-size:11px;color:#67758e;min-height:22px}
.product-price del{opacity:.55}
.product-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.product-rating{font-size:10px;color:#e8a72c}
.add-btn{width:34px;height:34px;border-radius:11px;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:17px}
.shop-more{display:block;width:max-content;margin:25px auto 40px;border:1px solid #aeb8c9;background:#fff;border-radius:22px;padding:6px 18px;color:#66748c;font-size:11px}
.empty-products{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #d7deea;border-radius:18px;padding:30px;color:#71809a}
.empty-products strong{color:var(--navy);font-size:15px}
.empty-products p{font-size:12px;margin:5px 0 15px}
.empty-products a{display:inline-block;background:var(--navy);color:#fff;border-radius:20px;padding:7px 16px;font-size:11px}

/* Blog: three horizontal items with square thumbnail */
.blog-strip{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:30px 0}
.blog-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}
.blog-heading h2{font-size:20px;margin:2px 0 0;color:#1f3154}
.blog-heading>a{font-size:11px;color:#65748d;border:1px solid var(--line);border-radius:20px;padding:6px 12px}
.blog-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.blog-item{display:flex;flex-direction:row;gap:12px;align-items:center;border:1px solid #edf0f5;border-radius:14px;padding:9px;background:#fff;min-width:0}
.blog-thumb{width:82px;height:82px;flex:0 0 82px;border-radius:12px;overflow:hidden;background:#eef1f6}
.blog-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.blog-content{min-width:0}
.blog-item h3{font-size:13px;line-height:1.65;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.blog-item time{font-size:10px;color:#9aa4b4}

/* Footer */
.site-footer{background:var(--navy);color:#fff;margin-top:0;padding:42px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px}
.site-footer h3{font-size:15px;margin:0 0 12px}
.site-footer p,.site-footer a{color:#cdd7e9;font-size:11px}
.footer-links{display:flex;flex-direction:column;gap:4px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:13px;text-align:center;color:#aebbd2;font-size:10px}
.footer-bottom a{color:#fff;text-decoration:none}

/* WooCommerce */
.woocommerce ul.products{direction:rtl}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--navy);color:#fff;border-radius:10px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--navy-2);color:#fff}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--navy)}
.single-product .site-main,.woocommerce-page .site-main{padding:30px 0 60px}
.woocommerce div.product div.images img{border-radius:18px}
.woocommerce div.product .product_title{color:var(--navy)}
.woocommerce span.onsale{background:var(--navy)}
.woocommerce div.product form.cart .button{background:var(--navy);color:#fff;border-radius:10px}

/* Generic */
.page-wrap{padding:35px 0 55px}
.content-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}
.amys-no-image{height:100%;display:flex;align-items:center;justify-content:center;color:#8b96a8;font-size:11px;background:#eef1f6}

/* Responsive */
@media(max-width:900px){
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .hero-card{grid-template-columns:1fr}
  .hero-media{height:280px;order:1}
  .hero-content{order:2}
  .nav-search{min-width:150px}
  .blog-list{grid-template-columns:1fr}
}
@media(max-width:650px){
  .container{width:min(100% - 22px,1160px)}
  .header-top{grid-template-columns:1fr auto}
  .header-side.right{display:none}
  .header-brand{text-align:right;font-size:26px}
  .main-nav{border-radius:18px;overflow:auto}
  .nav-search{display:none}
  .nav-links{justify-content:flex-start;flex-wrap:nowrap}
  .nav-links a{white-space:nowrap}
  .quick-nav{overflow:auto;justify-content:flex-start}
  .quick-nav a{min-width:80px}
  .products-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .product-body{padding:8px}
  .product-title{font-size:11px}
  .hero h1{font-size:24px}
  .blog-heading{align-items:flex-start;flex-direction:column}
  .blog-list{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:20px}
}


/* ===== Default visual demo / supplied reference style ===== */
.hero-card{background:transparent}
.hero-media{position:relative}
.hero-media:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,0) 55%,rgba(255,255,255,.06))}
.section-head{display:flex;align-items:end;justify-content:space-between;text-align:right}
.section-head h2{font-weight:800}
.product-card{min-width:0}
.demo-image{
  display:flex;align-items:flex-end;justify-content:center;
  position:relative;overflow:hidden;
  background:#e9e7e8;
}
.demo-image:before{
  content:"";position:absolute;width:62%;height:78%;bottom:-7%;
  border-radius:48% 48% 8% 8%;
  background:linear-gradient(135deg,#e9d8d5,#b9a9a7);
  box-shadow:0 0 0 1px rgba(36,55,92,.04);
}
.demo-image:after{
  content:"";position:absolute;width:28%;height:26%;top:11%;left:36%;
  border-radius:50%;background:#d6b3a7;
  box-shadow:0 4px 0 8px rgba(92,67,62,.18);
}
.demo-2{background:#e8e1e7}
.demo-2:before{background:linear-gradient(135deg,#3f4053,#171925)}
.demo-3{background:#e8e4df}
.demo-3:before{background:linear-gradient(135deg,#8c6c5a,#c9aa92)}
.demo-4{background:#e7e1df}
.demo-4:before{background:linear-gradient(135deg,#a55a48,#e1aa8f)}
.demo-fashion{
  position:absolute;top:12px;left:12px;z-index:3;
  font-family:Georgia,serif;font-weight:700;font-size:10px;color:#fff;
  background:rgba(41,68,119,.78);padding:3px 7px;border-radius:10px;
}
.demo-caption{font-size:10px;color:#9aa4b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.demo-blog-thumb{
  display:flex;align-items:center;justify-content:center;
  position:relative;color:#fff;font:700 12px Georgia,serif;
  background:#d9dde5;
}
.demo-blog-thumb:after{content:"";position:absolute;width:42%;height:68%;bottom:0;border-radius:50% 50% 8px 8px;background:#b7becb}
.demo-blog-thumb.demo-2{background:#ded8df}
.demo-blog-thumb.demo-2:after{background:#55596a}
.demo-blog-thumb.demo-3{background:#e4ded7}
.demo-blog-thumb.demo-3:after{background:#a27f69}
.demo-blog-thumb.demo-4{background:#e5dbd8}
.demo-blog-thumb.demo-4:after{background:#9f6555}
.demo-blog-thumb span{position:relative;z-index:2;background:rgba(41,68,119,.7);padding:3px 6px;border-radius:8px}
@media(max-width:900px){
  .section-head{text-align:center;display:block}
}
