/* ==========================================================================
   Afghan Herb - Premium Aesthetic Stylesheet
   Palette: Deep Forest Green (#1B3B2B), Gold Accent (#C5A059), Cream (#FAF7F2)
   ========================================================================== */

:root {
    --primary-green: #1B3B2B;
    --primary-green-dark: #12281D;
    --gold-accent: #C5A059;
    --gold-light: #E6CA85;
    --bg-cream: #FAF7F2;
    --card-bg: #FFFFFF;
    --text-dark: #2B2623;
    --text-muted: #6B6560;
    --border-color: #E8E2D8;
    --shadow-sm: 0 4px 15px rgba(27, 59, 43, 0.05);
    --shadow-lg: 0 10px 30px rgba(27, 59, 43, 0.12);
    --font-main: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    direction: rtl;
    line-height: 1.7;
    padding-bottom: 70px; /* space for sticky button on mobile */
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: linear-gradient(180deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 40px 20px 35px;
    border-bottom: 3px solid var(--gold-accent);
}

.logo-wrapper {
    margin-bottom: 15px;
}

.site-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-accent);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.brand-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: -0.5px;
}

.brand-subtitle {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.brand-desc {
    font-size: 0.95rem;
    color: #E2E8F0;
    font-weight: 300;
}

/* Features Badges Section */
.features-section {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: var(--bg-cream);
    border-radius: 10px;
    border-right: 3px solid var(--gold-accent);
}

.feature-icon {
    font-size: 1.2rem;
    color: var(--primary-green);
}

.feature-card p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Products Section */
.products-section {
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--primary-green);
    font-weight: 800;
    margin-bottom: 5px;
}

.section-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #F0EAE1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-green);
    color: var(--gold-light);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.price-wrapper {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-green);
}

.price-value small {
    font-size: 0.75rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-order {
    background-color: var(--gold-accent);
    color: #FFFFFF;
}

.btn-order:hover {
    background-color: #B38E46;
}

/* Footer */
.main-footer {
    background-color: var(--primary-green-dark);
    color: #FFFFFF;
    padding: 40px 20px 30px;
    margin-top: 40px;
    border-top: 3px solid var(--gold-accent);
}

.footer-title {
    text-align: center;
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.footer-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #A0AEC0;
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #FFFFFF;
    transition: background 0.3s ease;
}

.contact-card:hover {
    background: rgba(197, 160, 89, 0.15);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--gold-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 0.75rem;
    color: #CBD5E0;
}

.contact-info .value {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #A0AEC0;
}

.copyright {
    margin-top: 5px;
    font-size: 0.75rem;
}

/* Mobile Sticky Bottom CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 10px 15px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    z-index: 999;
    display: block;
}

.btn-sticky {
    width: 100%;
    background-color: var(--primary-green);
    color: var(--gold-light);
    padding: 12px;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .mobile-sticky-cta {
        display: none;
    }
    body {
        padding-bottom: 0;
    }
}