/*
Theme Name: Ahura Classic Store (Digital Card)
Theme URI: https://mydigitalcard.ir
Author: Tahereh Mashayekhi
Description: قالب فروشگاهی وردپرس سبک دموی کلاسیک اهورا متناسب با ووکامرس و المنتور
Version: 1.0.0
Text Domain: ahura-classic-store
*/

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary-yellow: #FFD600;
    --primary-red: #FF4757;
    --primary-blue: #0084FF;
    --primary-green: #2ED573;
    --bg-light: #f8f9fa;
    --text-dark: #2f3542;
    --border-radius: 16px;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f1f2f6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.top-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-search-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.site-logo {
    font-size: 24px;
    font-weight: 800;
    color: #000;
}

.site-logo span {
    color: var(--primary-yellow);
}

.search-box {
    position: relative;
    width: 350px;
}

.search-box input {
    width: 100%;
    padding: 10px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background: #f8f9fa;
    font-family: inherit;
    font-size: 14px;
}

.main-nav {
    background: #ffffff;
    border-top: 1px solid #f1f2f6;
    padding: 10px 0;
}

.nav-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cat-btn {
    background-color: var(--primary-yellow);
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    font-weight: 500;
}

/* Banner Slider Section */
.hero-slider {
    margin: 25px 0;
}

.banner-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
}

.banner-card img {
    max-width: 450px;
    border-radius: 12px;
}

/* Quick Categories Grid */
.quick-cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.quick-cat-item {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 20px 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.quick-cat-item:hover {
    transform: translateY(-5px);
}

.quick-cat-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.quick-cat-item span {
    font-weight: bold;
    font-size: 14px;
    display: block;
}

/* Product Section Wrapper */
.product-box-wrapper {
    background: #ffffff;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: var(--card-shadow);
}

.product-box-wrapper.red-theme {
    background: var(--primary-red);
}

.side-banner {
    width: 240px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.side-banner.red { background-color: var(--primary-red); }
.side-banner.blue { background-color: var(--primary-blue); }
.side-banner.green { background-color: var(--primary-green); }

.side-banner h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.side-banner .btn-view-all {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.side-banner .btn-view-all:hover {
    background: #ffffff;
    color: #000000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
    flex-grow: 1;
    background: #ffffff;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #f1f2f6;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h4 {
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
}

.product-price {
    font-weight: bold;
    color: #2ed573;
    font-size: 16px;
}

/* Brands Section */
.brands-section {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.brand-item {
    text-align: center;
    color: #747d8c;
}

.brand-item img {
    width: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Blog Section */
.blog-section {
    margin-bottom: 35px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-right: 4px solid var(--primary-green);
    padding-right: 10px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-card {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%), #747d8c;
    border-radius: var(--border-radius);
    height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #ffffff;
    font-weight: bold;
    box-shadow: var(--card-shadow);
}

/* Footer */
.main-footer {
    background-color: #FFFDF0;
    padding: 40px 0 20px;
    border-top: 1px solid #f1e5ac;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2f3542;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #57606f;
    font-size: 14px;
}

.copyright-bar {
    background-color: var(--primary-yellow);
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
    font-size: 14px;
}
