/*
Theme Name: Akhtarmar Lovable Minimal v3 (Product Grid)
Theme URI: https://akhtarmar.ir
Author: Akhtarmar
Author URI: https://akhtarmar.ir
Description: تم مینیمال فارسی/RTL با گرید محصولات در صفحهٔ اصلی؛ تصویر (لینک به صفحه محصول)، عنوان، و دکمهٔ «خرید» (افزودن به سبد). کوپن فعال؛ Checkout بدون فرم؛ سازگار با زرین‌پال.
Version: 1.4.0
License: GPL-2.0-or-later
License: GPL-2.0-or-later
Text Domain: akhtarmar-lovable-minimal
Tags: rtl, woocommerce, product-grid, minimal, responsive, dark
*/
:root {
  --background: hsl(220 13% 9%);
  --foreground: hsl(210 40% 98%);
  --card: hsl(220 13% 12%);
  --border: hsl(220 13% 18%);
  --primary: hsl(262 83% 58%);
  --muted-foreground: hsl(215 20.2% 65.1%);
  --gradient-primary: linear-gradient(135deg, hsl(262 83% 58%), hsl(262 50% 70%));
  --shadow-card: 0 8px 32px hsl(220 13% 5% / 0.8);
}
html { direction: rtl; }
body { margin:0; padding:0; background:var(--background); color:var(--foreground); font-family: Tahoma, Arial, sans-serif; }
a { color: hsl(262 50% 70%); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width:100%; height:auto; border-radius:12px; }
.container { max-width:1200px; margin:0 auto; padding:24px; }
.muted{ color: var(--muted-foreground); }
header.site-header, footer.site-footer { background: var(--card); border-color: var(--border); }
header.site-header { position: sticky; top: 0; z-index: 30; border-bottom:1px solid var(--border); }
.site-header-inner, .site-footer-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.logo { font-weight:800; }
.cart-link { display:flex; align-items:center; gap:8px; background: hsl(220 13% 15%); padding:10px 14px; border-radius:14px; border:1px solid var(--border); }
.cart-count { background: var(--primary); color:#fff; padding:2px 8px; border-radius:999px; font-size:.85rem; }
.btn { display:inline-block; background: var(--primary); color:#fff; padding:10px 14px; border-radius:12px; font-weight:700; border:0; cursor:pointer; }
.btn:hover { background: hsl(262 75% 52%); }
.card { background: var(--card); border:1px solid var(--border); border-radius:16px; padding:16px; box-shadow: var(--shadow-card); }
.card h3 { margin:10px 0 8px; font-size:1rem; font-weight:800; color: var(--foreground); }
.price { font-weight:800; margin-bottom:10px; background:var(--gradient-primary); -webkit-background-clip:text; background-clip:text; color:transparent; }
.products-grid { display:grid; gap:16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.product-card .thumb { display:block; overflow:hidden; border-radius:12px; }
.product-card .thumb img { display:block; width:100%; height:auto; transition: transform .25s ease; }
.product-card .thumb:hover img { transform: scale(1.03); }
.actions { display:flex; gap:10px; align-items:center; justify-content:space-between; }
table.shop_table{ width:100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; }
table.shop_table th, table.shop_table td{ padding: 12px 14px; border-bottom: 1px solid var(--border); }
.wc-proceed-to-checkout a, .button.checkout{ display:inline-block; background:var(--primary); color:#fff!important; padding:14px 18px; border-radius:14px; font-weight:700; border:0; }
