/* آفتاب جنوب – لایه مدرن (روی main.css اعمال می‌شود) */
:root{
	--r:18px;--r-s:12px;
	--c-bg:#F7F5F2;--c-line:#ECE8E2;
	--shadow:0 1px 2px rgba(16,24,40,.04),0 6px 20px rgba(16,24,40,.06);
	--shadow-h:0 2px 4px rgba(16,24,40,.06),0 16px 34px rgba(16,24,40,.13);
	--font:Vazirmatn,"Vazir",Tahoma,"Segoe UI",system-ui,sans-serif;
}
body{background:var(--c-bg);font-size:15px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,.aj-title,.aj-card__title,.aj-btn,.button,button,input,select,textarea{font-family:var(--font)}

/* قیمت‌ها: بدون خط روی قیمت قبلی، فونت و وزن یکدست */
del,.price del,.aj-card__price del,.aj-single .summary .price del{display:none!important;text-decoration:none!important;color:var(--c-muted);font-weight:500;font-size:.8em;opacity:.85}
ins,.price ins{text-decoration:none!important;background:none}
.price,.aj-card__price,.aj-single .summary .price,.woocommerce-Price-amount{font-family:var(--font);font-variant-numeric:normal;font-weight:800;letter-spacing:0}
.woocommerce-Price-currencySymbol{font-family:var(--font);font-weight:600;font-size:.72em;color:var(--c-muted);margin-inline:3px}
.aj-card__price ins .woocommerce-Price-amount{color:var(--c-primary-dd)}

/* گالری محصول همیشه دیده شود */
.woocommerce-product-gallery,.aj-single .woocommerce-product-gallery{opacity:1!important}
.woocommerce-product-gallery__image img,.woocommerce-product-gallery img{display:block;max-width:100%;height:auto;opacity:1!important;visibility:visible!important}
.aj-single .woocommerce-product-gallery__image{border-radius:var(--r-s);overflow:hidden;background:#fff}

/* هدر شیشه‌ای */
.aj-notice{background:linear-gradient(90deg,#F28C28,#E5791A);color:#2b1700;letter-spacing:0}
.aj-header{background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px);box-shadow:0 1px 0 rgba(16,24,40,.06)}
.aj-search input[type=search]{border-radius:999px;background:#F3F1ED;border-color:transparent;padding-inline:20px}
.aj-search input[type=search]:focus{background:#fff}
.aj-act,.aj-iconbtn{border-radius:999px}
.aj-cart-count{background:linear-gradient(135deg,#D9700F,#AA5309)}
.aj-tabbar{background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top-color:rgba(16,24,40,.06)}

/* دکمه‌ها */
.aj-btn,.button,button.button,input.button,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:999px;background:linear-gradient(135deg,#CC650B,#AA5309);box-shadow:0 6px 16px rgba(170,83,9,.25);transition:transform .15s,box-shadow .15s,filter .15s}
.aj-btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:linear-gradient(135deg,#C2600A,#9A4A07);transform:translateY(-1px);box-shadow:0 10px 22px rgba(170,83,9,.32)}
.aj-btn:active,.button:active{transform:none}
.aj-btn--ghost,.woocommerce a.button.aj-btn--ghost{background:#fff;box-shadow:none;border:1px solid var(--c-line)}
.aj-btn--ghost:hover{background:var(--c-soft);box-shadow:none;transform:none}

/* کارت محصول */
.aj-card{border:1px solid rgba(16,24,40,.05);transition:transform .22s ease,box-shadow .22s ease}
.aj-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-h)}
.aj-card__img{background:linear-gradient(180deg,#fff,#FAF8F5);padding:14px}
.aj-card__img img{transition:transform .35s ease}
.aj-card:hover .aj-card__img img{transform:scale(1.05)}
.aj-card__title{font-weight:700;color:var(--c-text)}
.aj-badge{background:linear-gradient(135deg,#E04646,#C93434);box-shadow:0 4px 10px rgba(201,52,52,.3)}
.aj-card .button{border-radius:999px}
.aj-stock{letter-spacing:0}

/* عنوان بخش‌ها و دسته‌بندی‌ها */
.aj-section__head h2{font-weight:800}
.aj-section__head h2::before{border-radius:4px;background:linear-gradient(180deg,#F28C28,#C9650B)}
.aj-catgrid__img{border:3px solid #fff;box-shadow:var(--shadow)}
.aj-catgrid__list a:hover .aj-catgrid__img{box-shadow:var(--shadow-h)}
.aj-hero__wrap{box-shadow:var(--shadow)}
.aj-benefits__list,.aj-banner,.aj-post,.aj-page{border:1px solid rgba(16,24,40,.05)}
.aj-chips a{border-radius:999px}

/* صفحه محصول و سبد خرید */
.aj-single .summary,.aj-single .woocommerce-product-gallery,.woocommerce-tabs,.woocommerce-cart-form,.cart_totals,#order_review,.woocommerce-checkout .col2-set,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation{border:1px solid rgba(16,24,40,.05)}
.aj-single .summary .price{font-size:26px}
.quantity{border-radius:999px}
.aj-step{background:#F3F1ED}
.woocommerce-tabs ul.tabs li.active a{border-color:var(--c-primary-d)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border-radius:var(--r-s)}

/* فوتر */
.aj-footer{border-top:0;box-shadow:0 -1px 0 rgba(16,24,40,.06);border-radius:28px 28px 0 0}
.aj-footer__title{font-weight:800}

@media (prefers-reduced-motion:reduce){.aj-card,.aj-card__img img,.aj-btn,.button{transition:none!important}.aj-card:hover{transform:none}}

/* قیمت کارت دقیقاً زیر تصویر؛ عنوان و موجودی بعد از آن */
.aj-card__price{
  order:-1;
  margin:0 0 2px!important;
  padding:2px 0 8px;
  width:100%;
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:baseline;
  gap:7px;
  border-bottom:1px solid rgba(16,24,40,.06);
}
.aj-card__price del{display:none!important}

.aj-card__price ins{
  order:1;
  text-decoration:none!important;
  background:none!important;
  color:var(--c-primary-dd);
  font-size:16px;
  font-weight:900;
}
.aj-card__title{order:2}
.aj-card__meta{order:3}
.aj-card__body>.button,.aj-card__body>.added_to_cart{order:4}

/* نماد ریال مخفی و واحد تومان خوانا */
.woocommerce-Price-currencySymbol{font-size:0!important}
.woocommerce-Price-currencySymbol::after{
  content:"تومان";
  display:inline-block;
  font-family:var(--font);
  font-size:11px;
  font-weight:600;
  color:var(--c-muted);
  margin-inline:3px;
  vertical-align:baseline;
}

/* نوار پیشرفت تا ارسال رایگان */
.aj-free-shipping{
  --aj-progress:0%;
  margin:0 0 16px;
  padding:14px 16px;
  border:1px solid rgba(27,138,75,.16);
  border-radius:16px;
  background:linear-gradient(135deg,#f2fbf5,#fff);
  color:#225c3b;
  box-shadow:0 4px 16px rgba(20,80,45,.05);
}
.aj-free-shipping__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:13.5px;
  font-weight:700;
  line-height:1.8;
}
.aj-free-shipping__message{margin:0}
.aj-free-shipping__amount{font-weight:900;white-space:nowrap;color:#17683a}
.aj-free-shipping__track{
  height:8px;
  margin-top:10px;
  overflow:hidden;
  border-radius:999px;
  background:#dcefe2;
}
.aj-free-shipping__fill{
  display:block;
  width:var(--aj-progress);
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#35a765,#16804a);
  transition:width .25s ease;
}
.aj-free-shipping.is-complete{background:linear-gradient(135deg,#eaf8ef,#fff)}
.aj-free-shipping__complete{color:#17683a}
@media(max-width:600px){
  .aj-free-shipping{padding:12px;border-radius:13px}
  .aj-free-shipping__top{align-items:flex-start;flex-direction:column;gap:3px}
}

/* بازطراحی بصری صفحه اصلی و فروشگاه */
:root{--c-bg:#f5f2ed;--c-line:#e8e1d7;--aj-ink:#25231f;--aj-orange:#d96d16;--aj-orange-dark:#a94d0b}
body{background:#f5f2ed;color:#25231f}
.aj-container{width:min(1240px,calc(100% - 40px))}
.aj-header{background:#fff;border-bottom:1px solid #eee7de;box-shadow:0 5px 24px rgba(45,35,24,.07)}
.aj-header__row{min-height:88px;gap:22px}
.aj-logo img{max-height:58px;width:auto}
.aj-search{max-width:560px;flex:1}
.aj-search input[type=search]{height:48px;background:#f5f2ed;border:1px solid #e8e1d7;font-size:14px}
.aj-search input[type=search]:focus{border-color:#d96d16;box-shadow:0 0 0 4px rgba(217,109,22,.12)}
.aj-catnav{background:#292722;border:0}
.aj-catnav__row{min-height:48px}
.aj-catnav a,.aj-catnav button{color:#fff}
.aj-catnav__btn{background:#d96d16;border-radius:10px;padding:10px 16px}
.aj-menu a{padding:14px 16px}
.aj-menu a:hover{color:#ffbf82}
.aj-home{padding-bottom:44px}
.aj-hero{padding-top:26px}
.aj-hero__wrap{border-radius:22px;overflow:hidden;box-shadow:0 14px 38px rgba(50,35,20,.12);background:#302a23}
.aj-slide{min-height:350px}
.aj-slide.is-default{background:radial-gradient(circle at 18% 30%,rgba(245,160,75,.34),transparent 34%),linear-gradient(115deg,#29251f 0%,#49301e 58%,#9c511b 100%)}
.aj-slide__txt{max-width:560px;padding:52px}
.aj-slide__txt h2{font-size:clamp(28px,4vw,44px);line-height:1.5;color:#fff;font-weight:900;margin:0 0 12px}
.aj-slide__txt p{font-size:17px;line-height:2;color:#f5e7d8}
.aj-slide__txt .aj-btn{display:inline-flex;margin-top:18px;padding:13px 26px;background:#f18a32;color:#24180f;font-weight:900;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.aj-section{padding-top:34px;padding-bottom:12px}
.aj-section__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.aj-section__head h2{font-size:23px;font-weight:900;color:#29251f}
.aj-section__head h2:before{width:5px;height:28px;border-radius:5px}
.aj-more{color:#b75b13;font-weight:800}
.aj-catgrid__list{gap:18px}
.aj-catgrid__list li{background:#fff;border:1px solid #eee7df;border-radius:18px;padding:16px 10px;box-shadow:0 5px 18px rgba(45,35,24,.045);transition:transform .2s,box-shadow .2s}
.aj-catgrid__list li:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(45,35,24,.11)}
.aj-catgrid__img{width:94px;height:94px;border:0;background:#f8f5f0;box-shadow:none}
.aj-catgrid__name{font-weight:800;color:#302b25;margin-top:10px}
.aj-psec .products,.aj-psec ul.products{gap:18px}
.aj-card{height:100%;background:#fff;border:1px solid #eae4dc;border-radius:18px;overflow:hidden;box-shadow:0 5px 18px rgba(45,35,24,.045)}
.aj-card__img{display:flex;align-items:center;justify-content:center;min-height:190px;padding:18px;background:#fff}
.aj-card__img img{width:100%;height:180px;object-fit:contain}
.aj-card__body{padding:14px 16px 17px;gap:9px}
.aj-card__title{font-size:14px;line-height:1.9;min-height:52px;margin:0}
.aj-card__price{border-top:1px solid #f0ebe5;border-bottom:0;padding:10px 0 0;margin-top:4px!important}
.aj-card__price ins{font-size:17px}
.aj-card .button{width:100%;padding:11px 12px;background:#292722;color:#fff;border-radius:10px;box-shadow:none;font-weight:800}
.aj-card .button:hover{background:#d96d16;color:#fff}
.aj-benefits__list{background:#fff;border:1px solid #eae4dc;border-radius:20px;padding:22px;box-shadow:0 6px 22px rgba(45,35,24,.05)}
.aj-benefits__list li{padding:12px}
.aj-benefits__ic{color:#d96d16}
.aj-banner{border-radius:18px;overflow:hidden}
.aj-footer{background:#292722;color:#f7eee5;border-radius:28px 28px 0 0;padding-top:36px}
.aj-footer a,.aj-footer p{color:#e8d9c9}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{margin-bottom:18px}
@media(max-width:768px){
 .aj-container{width:calc(100% - 24px)}
 .aj-header__row{min-height:70px;gap:10px}
 .aj-hero{padding-top:14px}
 .aj-slide{min-height:260px}
 .aj-slide__txt{padding:28px 22px}
 .aj-slide__txt h2{font-size:25px}
 .aj-slide__txt p{font-size:14px}
 .aj-section{padding-top:24px}
 .aj-section__head h2{font-size:19px}
 .aj-catgrid__list{gap:10px}
 .aj-catgrid__list li{padding:12px 6px;border-radius:14px}
 .aj-catgrid__img{width:68px;height:68px}
 .aj-card__img{min-height:140px;padding:10px}
 .aj-card__img img{height:130px}
 .aj-card__body{padding:10px}
 .aj-card__title{font-size:12px;min-height:48px}
 .aj-card__price ins{font-size:14px}
 .aj-card .button{font-size:12px;padding:9px 6px}
}
@media(max-width:420px){
 .aj-catgrid__list{grid-template-columns:repeat(3,minmax(0,1fr))}
}

