/*
Theme Name: IranKasbino Universal Shop
Author: IranKasbino
Description: Universal e-commerce theme with dark mode
Version: 1.0
Text Domain: irankasbino
*/

:root {
    --bg: #070A14; --bg-soft: #0F1424; --card: #141A2E;
    --text: #F5F7FF; --text-muted: #8A94B0;
    --primary: #0A72C3; --accent: #1CB5FF;
    --border: rgba(255,255,255,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: 'Vazirmatn', Tahoma, sans-serif; direction: rtl; line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header { background: var(--bg-soft); padding: 15px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.logo a { font-size: 26px; font-weight: 900; color: #fff; }
.logo span { color: var(--accent); }
.main-nav ul { display: flex; list-style: none; gap: 24px; }
.main-nav a { font-weight: 600; font-size: 14px; color: var(--text-muted); }
.main-nav a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 15px; align-items: center; }
.cart-icon { position: relative; font-size: 22px; color: #fff; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #000; font-size: 10px; font-weight: 900; width: 18px; height: 18px; border-radius: 50%; display: flex; justify-content: center; align-items: center; }

.hero { margin: 30px 20px; padding: 60px 30px; border-radius: 24px; background: linear-gradient(135deg, var(--primary), var(--accent)); text-align: center; }
.hero h1 { font-size: 38px; font-weight: 900; color: #fff; margin-bottom: 15px; }
.hero p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 25px; }
.hero-btn { background: #fff; color: var(--primary); padding: 14px 36px; border-radius: 99px; font-weight: 800; display: inline-block; font-size: 15px; }

.section-title { font-size: 24px; font-weight: 800; margin: 40px 20px 20px; display: flex; align-items: center; }
.section-title::before { content: ''; width: 5px; height: 26px; background: var(--accent); margin-left: 12px; border-radius: 4px; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; padding: 0 20px; margin-bottom: 60px; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: 0.3s; text-align: center; padding-bottom: 18px; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(28,181,255,0.15); border-color: var(--primary); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card h3 { font-size: 16px; font-weight: 700; margin: 15px 10px 8px; }
.product-price { color: var(--accent); font-weight: 900; font-size: 16px; margin-bottom: 12px; display: block; }
.add-to-cart { background: var(--primary); color: #fff; border: none; padding: 10px 22px; border-radius: 8px; font-weight: 700; cursor: pointer; width: 85%; margin: 0 auto; display: block; text-align: center; }
.add-to-cart:hover { background: var(--accent); color: #000; }

.categories-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 20px; margin-bottom: 30px; }
.cat-item { background: var(--bg-soft); padding: 10px 20px; border-radius: 99px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-muted); }
.cat-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.site-footer { background: var(--bg-soft); padding: 50px 0 25px; border-top: 1px solid var(--border); margin-top: 60px; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0 20px 40px; }
.footer-widget h4 { font-size: 17px; margin-bottom: 18px; color: #fff; }
.footer-widget a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-widget a:hover { color: var(--accent); }
.copyright { border-top: 1px solid var(--border); padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }

@media (max-width: 768px) {
    .header-inner { flex-direction: column; }
    .main-nav ul { gap: 12px; }
    .hero { padding: 40px 20px; }
    .hero h1 { font-size: 26px; }
    .footer-widgets { grid-template-columns: 1fr; gap: 25px; }
}