﻿/* Variables */
:root {
    --primary-color: #2a2a2a;
    --secondary-color: #8b7355;
    --accent-color: #d4af37;
    --text-light: #666;
    --border-color: #e8e8e8;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', 'Vazir', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    direction: rtl;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.navbar-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: -2px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: var(--secondary-color);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-icon:hover {
        color: var(--secondary-color);
    }

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   Hero Section
========================================== */

.hero-section {
    position: relative;
    margin-top: 70px;
    padding: 100px 0;
    min-height: clamp(650px, 80vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('/images/hero-desktop.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-content {
    width: min(90%, 600px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease .5s forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.9;
    max-width: 520px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease .8s forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    background: var(--accent-color);
    color: var(--white);
    transition: .3s;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

    .hero-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-3px);
    }

/* ==========================================
   Tablet
========================================== */

@media (max-width:992px) {

    .hero-section {
        min-height: 700px;
    }

    .hero-content {
        width: min(92%,520px);
    }
}

/* ==========================================
   Mobile
========================================== */

@media (max-width:768px) {

    .hero-section {
        margin-top: 60px;
        padding: 60px 0 40px;
        min-height: 650px;
        background-image: url('/images/hero-mobile.webp');
        background-size: cover;
        background-position: center bottom;
    }

    .hero-content {
        width: min(90%,380px);
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: .8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.9;
        margin-bottom: 1.8rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 230px;
        margin-top: 300px;
    }
}

/* ==========================================
   Small Phones
========================================== */

@media (max-width:480px) {

    .hero-section {
        min-height: 600px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: .95rem;
    }

    .hero-btn {
        padding: 12px 24px;
    }
}
/* Products Grid */
.products-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 60px;
        height: 2px;
        background: var(--secondary-color);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-price {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
}

    .btn-primary:hover {
        background: var(--secondary-color);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
}

    .btn-outline:hover {
        background: var(--primary-color);
        color: var(--white);
    }

/* Category Navigation */
.category-nav {
    background: var(--bg-light);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.category-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-item {
    text-align: center;
}

.category-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

    .category-link.active {
        color: var(--secondary-color);
    }

        .category-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 100%;
            height: 2px;
            background: var(--secondary-color);
        }

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

    .search-overlay.active {
        display: flex;
    }

.search-container {
    position: relative;
    width: 90%;
    max-width: 600px;
}

.search-close {
    position: absolute;
    top: -50px;
    left: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
}

.search-submit {
    background: var(--secondary-color);
    border: none;
    padding: 1rem 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s ease;
}

    .search-submit:hover {
        background: var(--primary-color);
    }

/* Newsletter */
.newsletter-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 2rem auto 0;
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    outline: none;
}

.newsletter-btn {
    background: var(--accent-color);
    border: none;
    padding: 12px 25px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .newsletter-btn:hover {
        background: var(--secondary-color);
    }

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4,
.footer-section h5 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

        .footer-section ul li a {
            text-decoration: none;
            color: var(--text-light);
            transition: color 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: var(--secondary-color);
            }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-links a {
        color: var(--primary-color);
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

        .social-links a:hover {
            color: var(--secondary-color);
        }

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-list {
        gap: 1rem;
    }
}
/* Navbar Toggler for Mobile */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background: var(--bg-light);
        color: var(--secondary-color);
    }

/* User Dropdown */
.nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Navbar */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-actions {
        margin-top: 1rem;
        justify-content: center;
    }

    .nav-item.dropdown .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--bg-light);
    }
}
/* User Section Styles */
.auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.login-btn,
.register-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .login-btn:hover,
    .register-btn:hover {
        transform: translateY(-1px);
    }

/* User Dropdown */
.user-dropdown .user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .user-dropdown .user-menu:hover {
        background: var(--bg-light);
        border-color: var(--border-color);
    }

.user-icon {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-dropdown-menu {
    min-width: 200px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 0.5rem 0;
}

    .user-dropdown-menu .dropdown-item {
        padding: 0.75rem 1.5rem;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }

        .user-dropdown-menu .dropdown-item:hover {
            background: var(--bg-light);
            color: var(--secondary-color);
            transform: translateX(-5px);
        }

    .user-dropdown-menu .dropdown-divider {
        margin: 0.5rem 0;
    }

/* Cart Icon */
.cart-icon {
    position: relative;
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

    .cart-icon:hover {
        color: var(--secondary-color);
    }

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Responsive Auth Buttons */
@media (max-width: 768px) {
    .auth-buttons {
        flex-direction: column;
        width: 100%;
        margin: 1rem 0;
    }

    .login-btn,
    .register-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .user-dropdown .user-menu {
        padding: 0.75rem 1rem;
    }

    .user-name {
        display: none;
    }
}

/* Search Overlay Enhancements */
.search-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}
/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    /*margin-top: 80px;*/
}

.contact-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-info-card, .contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info-title, .contact-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-form-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

    .contact-info-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-info-content p {
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.social-links-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

    .social-links-contact h4 {
        margin-bottom: 1rem;
        color: var(--primary-color);
    }

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background: var(--secondary-color);
        color: white;
        transform: translateY(-3px);
    }

/* Form Styles - Global (می‌تواند برای تمام فرم‌ها استفاده شود) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    display: block;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
    }

    .form-control::placeholder {
        color: #adb5bd;
    }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

    .btn-send:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
    }

.form-submit {
    text-align: left;
}

.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-content {
    color: var(--text-light);
}

    .map-content i {
        font-size: 4rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
    }

    .map-content h4 {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .map-content p {
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }

.alert-success {
    border-radius: 10px;
    border: none;
    background: #d1e7dd;
    color: #0f5132;
}

.text-danger {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.2rem;
    }

    .contact-info-card, .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .contact-icon {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .form-submit {
        text-align: center;
    }
}
/* ===== About Page Styles ===== */

/* Hero Section for About */
.about-hero {
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    /*margin-top: 80px;*/
}

    .about-hero .hero-content {
        position: relative;
        z-index: 2;
    }

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 60px;
        height: 3px;
        background: var(--secondary-color);
    }

.text-center .section-title::after {
    right: 50%;
    transform: translateX(50%);
}

/* Story Section */
.story-section {
    padding: 5rem 0;
}

    .story-section .section-icon {
        font-size: 3rem;
        color: var(--secondary-color);
        margin-bottom: 1.5rem;
    }

.story-image img {
    transition: transform 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .story-image img:hover {
        transform: scale(1.02);
    }

.story-content,
.mission-content,
.values-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
}

/* Statistics */
.stats-section {
    padding: 5rem 0;
}

.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

    .stat-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Mission & Values */
.mission-values {
    padding: 5rem 0;
}

.mission-card,
.values-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

    .mission-card:hover,
    .values-card:hover {
        transform: translateY(-5px);
    }

.mission-icon,
.values-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.values-list {
    border-top: 2px solid #f0f0f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

    .value-item i {
        color: var(--secondary-color);
        margin-left: 0.5rem;
    }

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.team-image {
    height: 300px;
    overflow: hidden;
}

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

    .team-info h4 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        font-family: 'Playfair Display', serif;
    }

    .team-info p.text-muted {
        color: var(--text-light);
        margin-bottom: 1rem;
    }

.team-bio {
    color: var(--text-light);
    margin: 1rem 0;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .social-link:hover {
        color: white;
        background: var(--secondary-color);
        transform: translateY(-3px);
    }

/* Milestones Timeline */
.milestones-section {
    padding: 5rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        right: 50%;
        transform: translateX(50%);
        width: 3px;
        height: calc(100% - 4rem);
        background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    }

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }

.timeline-year {
    flex: 1;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.timeline-content {
    flex: 2;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

    .timeline-content:hover {
        transform: translateY(-5px);
    }

    .timeline-content h4 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        color: var(--text-light);
        margin-bottom: 0;
    }

.timeline-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: -80px;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: -80px;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

    .cta-section h2 {
        font-family: 'Playfair Display', serif;
        margin-bottom: 1.5rem;
    }

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

    .cta-section .btn-light {
        background: white;
        color: var(--primary-color);
        padding: 12px 30px;
        border-radius: 25px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .cta-section .btn-light:hover {
            background: #f8f9fa;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

/* Responsive Design for About Page */
@media (max-width: 991.98px) {
    .about-hero {
        height: 50vh;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .timeline::before {
        right: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .timeline-year {
        margin-bottom: 1rem;
        text-align: right;
        width: 100%;
    }

    .timeline-icon {
        right: -50px !important;
        left: auto !important;
        width: 50px;
        height: 50px;
    }

    .mission-card,
    .values-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        height: 40vh;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .team-image {
        height: 250px;
    }
}
/* Category Tabs Styles */
.category-tabs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FEF7F0 0%, #FFFFFF 100%);
}

/* Custom Tabs */
.nav-tabs {
    border: none;
    margin-bottom: 3rem;
}

    .nav-tabs .nav-item {
        margin: 0 10px;
    }

    .nav-tabs .nav-link {
        border: none;
        background: transparent;
        color: var(--text-light);
        font-weight: 600;
        font-size: 1.1rem;
        padding: 15px 30px;
        border-radius: 50px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        .nav-tabs .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 0;
            height: 3px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .nav-tabs .nav-link:hover {
            color: var(--primary-color);
            background: rgba(139, 69, 19, 0.05);
        }

        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

            .nav-tabs .nav-link.active::before {
                width: 80%;
            }

        .nav-tabs .nav-link i {
            margin-left: 8px;
            font-size: 1.2rem;
        }

/* Tab Content Animation */
.tab-content {
    position: relative;
}

.tab-pane {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }

        .nav-tabs .nav-item {
            margin: 5px 0;
            width: 100%;
            max-width: 300px;
        }

        .nav-tabs .nav-link {
            text-align: center;
            width: 100%;
        }
}

/* Active Tab Indicator */
.active-tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--primary-color);
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 1;
}

/* Product Cards in Tabs */
.tab-content .product-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* View Detail Button */
.btn-view-detail {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .btn-view-detail:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: scale(1.05);
    }

/* Category Badge */
.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* Tab Content Container */
.tab-content {
    min-height: 500px; /* Ensure content has minimum height */
}

/* استایل Dropdown سبد خرید */
/* استایل مشترک برای Dropdown‌ها */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    width: 350px;
    max-width: 90vw;
    padding: 0;
    border: 1px solid #e8e8e8;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    overflow: hidden;
}

/* استایل آیکون علاقه‌مندی‌ها */
.favorites-icon {
    position: relative;
    text-decoration: none;
    color: inherit;
    margin-left: 10px;
}

.favorites-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* استایل Dropdown علاقه‌مندی‌ها */
.favorites-dropdown-header {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .favorites-dropdown-header h6 {
        margin: 0;
        font-weight: 600;
        color: #2a2a2a;
    }

.btn-clear-favorites {
    font-size: 0.75rem;
    padding: 3px 8px;
}

.favorites-dropdown-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.favorite-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

    .favorite-item:hover {
        background-color: #f9f9f9;
    }

    .favorite-item:last-child {
        border-bottom: none;
    }

.favorite-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-left: 10px;
}

    .favorite-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

.favorite-item-info {
    flex: 1;
    min-width: 0;
}

.favorite-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2a2a2a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-item-price {
    font-size: 0.9rem;
    color: #8b7355;
    font-weight: 600;
}

.favorite-item-old-price {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-top: 2px;
}

.favorite-item-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-right: 5px;
}

.add-to-cart-from-fav,
.remove-from-favorites {
    padding: 5px;
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

    .add-to-cart-from-fav:hover {
        background-color: #8b7355;
        color: white;
    }

    .remove-from-favorites:hover {
        background-color: #dc3545;
        color: white !important;
    }

.favorites-more-items {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
}

.favorites-empty {
    text-align: center;
    padding: 30px 20px;
    color: #999;
}

    .favorites-empty i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        display: block;
        color: #ddd;
    }

.favorites-dropdown-footer {
    padding: 15px;
    border-top: 1px solid #e8e8e8;
    background-color: #f9f9f9;
}

/* استایل Dropdown سبد خرید (قبلی) */
.cart-dropdown-header {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #f9f9f9;
}

    .cart-dropdown-header h6 {
        margin: 0;
        font-weight: 600;
        color: #2a2a2a;
    }

.cart-total {
    font-size: 0.9rem;
    color: #8b7355;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.cart-dropdown-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

    .cart-item:hover {
        background-color: #f9f9f9;
    }

    .cart-item:last-child {
        border-bottom: none;
    }

.cart-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-left: 10px;
}

    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2a2a2a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.8rem;
    color: #666;
}

.cart-item-total {
    display: block;
    color: #8b7355;
    font-weight: 600;
    margin-top: 2px;
}

.cart-item-actions {
    margin-right: 5px;
}

.remove-from-cart {
    padding: 5px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .remove-from-cart:hover {
        color: #dc3545 !important;
    }

.cart-more-items {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #f0f0f0;
}

.cart-empty {
    text-align: center;
    padding: 30px 20px;
    color: #999;
}

    .cart-empty i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        display: block;
    }

.cart-dropdown-footer {
    padding: 15px;
    border-top: 1px solid #e8e8e8;
    background-color: #f9f9f9;
}

/* استایل‌های مشترک آیکون‌ها */
.nav-icon {
    position: relative;
    text-decoration: none;
    color: inherit;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #d4af37;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* استایل Dropdown فعال */
.dropdown-toggle::after {
    display: none;
}

/* انیمیشن Dropdown */
.favorites-dropdown-menu,
.cart-dropdown-menu {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        width: 300px;
        position: fixed !important;
        top: 70px !important;
        left: 50% !important;
        transform: translateX(50%) !important;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: nowrap;
    }

    .favorites-icon {
        margin-left: 5px;
    }

    .favorite-item,
    .cart-item {
        padding: 8px;
    }

    .favorite-item-image,
    .cart-item-image {
        width: 50px;
        height: 50px;
    }

    .favorite-item-actions {
        flex-direction: row;
    }

    .auth-buttons {
        display: flex;
        gap: 5px;
    }

    .login-btn,
    .register-btn {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
}

@media (max-width: 576px) {
    .nav-actions {
        gap: 10px;
    }

    .dropdown-menu {
        width: 280px;
    }
}
/* اضافه کردن به فایل CSS موجود یا تگ style */
.product-card {
    position: relative;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

    .product-card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* آیکون قلب در گوشه تصویر */
.btn-favorite {
    position: absolute;
    top: 10px;
    margin-right: 10px;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none !important;
}

    .btn-favorite:hover {
        background: #ff4757;
        transform: scale(1.1);
    }

    .btn-favorite i {
        font-size: 18px;
        color: #ff4757;
        transition: all 0.3s ease;
    }

    .btn-favorite:hover i {
        color: white;
    }

    /* آیکون قلب پر شده (وقتی محصول در علاقه‌مندی‌ها است) */
    .btn-favorite.active i,
    .btn-favorite-inline.active i {
        font-weight: 900; /* برای آیکون solid */
    }


/* Animation برای آیکون قلب */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.btn-favorite.active i,
.btn-favorite-inline.active i {
    animation: heartBeat 0.5s ease;
}
/* Logo Styles */
.navbar-brand {
    padding: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

    .logo-img:hover {
        transform: scale(1.05);
    }

/* اگر می‌خواهید لوگو دایره‌ای باشد */
.logo-img-circle {
    border-radius: 50%;
    object-fit: cover;
}

/* برای حالت موبایل */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }
}

/* اگر لوگو SVG دارید */
.logo-svg {
    height: 45px;
    width: auto;
}

.notfound-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .notfound-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(139, 69, 19, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 20s ease-in-out infinite;
    }

    .notfound-section::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(244, 164, 96, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 25s ease-in-out infinite reverse;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.notfound-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.notfound-number {
    font-family: 'Playfair Display', serif;
    font-size: 15rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0;
    opacity: 0.1;
    position: relative;
    text-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

.notfound-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.notfound-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.notfound-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.notfound-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .notfound-actions .btn {
        padding: 12px 35px;
        border-radius: 50px;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .notfound-actions .btn-primary {
        background: var(--primary-color);
        border: none;
    }

        .notfound-actions .btn-primary:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
        }

    .notfound-actions .btn-outline-primary {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
    }

        .notfound-actions .btn-outline-primary:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
        }

    .notfound-actions .btn .btn-icon {
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .notfound-actions .btn:hover .btn-icon {
        transform: translateX(-5px);
    }

.search-box-large {
    max-width: 500px;
    margin: 2rem auto;
    position: relative;
}

    .search-box-large .form-control {
        border-radius: 50px;
        padding: 15px 25px;
        border: 2px solid #e5e7eb;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        padding-right: 50px;
    }

        .search-box-large .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 5px rgba(139, 69, 19, 0.1);
        }

    .search-box-large .search-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-light);
        font-size: 1.2rem;
    }

    .search-box-large .btn-search {
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px 25px;
        border-radius: 50px;
        background: var(--primary-color);
        color: white;
        border: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }

        .search-box-large .btn-search:hover {
            background: var(--secondary-color);
        }

.suggested-products {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

    .suggested-products .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

        .suggested-products .section-title::after {
            width: 50px;
        }

.suggested-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

    .suggested-product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        text-decoration: none;
        color: var(--text-dark);
    }

    .suggested-product-card .product-image {
        height: 200px;
        object-fit: cover;
        width: 100%;
    }

    .suggested-product-card .product-body {
        padding: 1.5rem;
    }

    .suggested-product-card .product-name {
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .suggested-product-card .product-price {
        color: var(--primary-color);
        font-weight: bold;
        font-size: 1.1rem;
    }

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quick-link-item {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid #f0f0f0;
}

    .quick-link-item:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-5px);
        text-decoration: none;
        box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    }

    .quick-link-item i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        display: block;
    }

    .quick-link-item span {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .quick-link-item:hover i,
    .quick-link-item:hover span {
        color: white;
    }

/* Responsive */
@media (max-width: 768px) {
    .notfound-number {
        font-size: 8rem;
    }

    .notfound-title {
        font-size: 2rem;
    }

    .notfound-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .notfound-actions {
        flex-direction: column;
        align-items: center;
    }

        .notfound-actions .btn {
            width: 100%;
            max-width: 300px;
        }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-box-large {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .notfound-number {
        font-size: 6rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .quick-link-item {
        padding: 1rem 0.5rem;
    }

        .quick-link-item i {
            font-size: 1.4rem;
        }

        .quick-link-item span {
            font-size: 0.8rem;
        }
}

.featured-carousel-wrapper {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f4f0 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2C1810;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #8B4513, #D2691E);
    }

.section-subtitle {
    color: #6B7280;
    font-size: 1.1rem;
}

.featured-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    margin: 10px;
}

    .featured-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(139, 69, 19, 0.15);
    }

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f8f4f0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-card:hover .product-image {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.badge-new {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.badge-discount {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    animation: pulse-badge 2s infinite;
}

.badge-outofstock {
    background: linear-gradient(135deg, #6c757d, #495057);
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.product-actions {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.featured-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #2C1810;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-actions button:hover {
        background: #8B4513;
        color: white;
        transform: scale(1.1);
    }

.product-info {
    padding: 20px 20px 25px;
}

.product-category {
    margin-bottom: 8px;
}

.category-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #8B4513;
    background: #f8f4f0;
    padding: 3px 12px;
    border-radius: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px 0 8px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

    .product-title a {
        color: #2C1810;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .product-title a:hover {
            color: #8B4513;
        }

.product-price {
    margin-bottom: 15px;
}

.old-price {
    color: #f70202;
    text-decoration: line-through;
    font-size: 18px;
    margin-left: 10px;
    margin-bottom: 15px;
}

.current-price {
    color: #8B4513;
    font-size: 1.3rem;
    font-weight: 700;
}

.product-actions-bottom {
    display: flex;
    gap: 10px;
}

    .product-actions-bottom .btn {
        flex: 1;
        padding: 10px;
        border-radius: 25px;
        font-size: 0.85rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

.btn-primary {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border: none;
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #A0522D, #8B4513);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    }

.btn-secondary {
    background: #6c757d;
    border: none;
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    pointer-events: all;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C1810;
    font-size: 1.2rem;
}

    .nav-btn:hover {
        background: #8B4513;
        color: white;
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(139, 69, 19, 0.3);
    }

.prev-btn {
    right: 20px;
}

.next-btn {
    left: 20px;
}

.carousel-progress {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    height: 3px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8B4513, #D2691E);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Owl Carousel Custom */
.owl-stage {
    display: flex;
    align-items: stretch;
}

    .owl-stage .owl-item {
        height: auto;
    }

.owl-dots {
    margin-top: 20px;
    text-align: center;
}

.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
    margin: 0 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

    .owl-dot.active {
        background: #8B4513;
        width: 30px;
        border-radius: 5px;
    }

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .product-image-container {
        height: 200px;
    }

    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .product-actions-bottom {
        flex-direction: column;
    }
}

.quick-view-container .btn-close {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.quick-view-container .current-price {
    color: #8B4513 !important;
}

.quick-view-container .current-price {
    color: #8B4513 !important;
}
/* استایل‌های بخش جزئیات محصول */
.product-detail-actions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    margin: 20px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .quantity-selector .btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
    }

        .quantity-selector .btn:hover {
            background: var(--secondary-color);
            color: white;
        }

.quantity-input {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    width: 70px !important;
    border: 2px solid #e8e8e8;
    border-radius: 5px;
    padding: 5px;
}

    .quantity-input:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
    }

    /* حذف فلش‌های بالا و پایین در input number */
    .quantity-input::-webkit-inner-spin-button,
    .quantity-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.quantity-input {
    -moz-appearance: textfield;
}

.stock-status {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}

    .stock-status .text-success {
        color: #28a745;
    }

    .stock-status .text-warning {
        color: #ffc107;
    }

    .stock-status .text-danger {
        color: #dc3545;
    }

.action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .action-buttons .add-to-cart {
        min-width: 200px;
        padding: 12px 30px;
        font-size: 16px;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

        .action-buttons .add-to-cart:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
        }

    .action-buttons .add-to-wishlist {
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 25px;
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .action-buttons .add-to-wishlist:hover {
            background: #dc3545;
            color: white !important;
            border-color: #dc3545;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }

/* Responsive */
@media (max-width: 768px) {
    .product-detail-actions .row {
        flex-direction: column;
        align-items: stretch;
    }

    .product-detail-actions .col-auto {
        width: 100%;
        margin-bottom: 10px;
    }

    .quantity-selector {
        justify-content: center;
    }

    .stock-status {
        text-align: center;
    }

    .action-buttons {
        justify-content: center;
        flex-direction: column;
    }

        .action-buttons .add-to-cart {
            width: 100%;
            min-width: unset;
        }

        .action-buttons .add-to-wishlist {
            width: 100%;
            height: 50px;
        }
}
/* در فایل productdetail.css */
.action-buttons .add-to-cart.disabled,
.action-buttons .add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

    .action-buttons .add-to-cart.disabled:hover,
    .action-buttons .add-to-cart:disabled:hover {
        transform: none !important;
        box-shadow: none !important;
        background: #6c757d !important;
        border-color: #6c757d !important;
    }

/* انیمیشن برای دکمه غیرفعال */
.action-buttons .btn-secondary:disabled {
    animation: none !important;
}

.product-videos-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 30px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2C1810;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 50%;
        transform: translateX(50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #8B4513, #D2691E);
        border-radius: 3px;
    }

.video-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

    .video-card.main-video {
        border: 3px solid #8B4513;
        box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
    }

        .video-card.main-video:hover {
            box-shadow: 0 8px 35px rgba(139, 69, 19, 0.25);
        }

.main-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ========================================== */
/* استایل یکسان برای همه ویدئوها */
/* ========================================== */
.video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* نسبت تصویر 16:9 */
    border-radius: 0;
}

.product-video-player {
    width: 100% !important;
    height: 100% !important;
    display: block;
    background: #000;
    object-fit: contain; /* یا contain */
    filter: brightness(4); /* افزایش روشنایی */
}

    /* برای اطمینان از یکسان بودن سایز در همه حالت‌ها */
    .product-video-player::-webkit-media-controls-enclosure {
        background: rgba(0, 0, 0, 0.7);
        border-radius: 0 0 12px 12px;
    }

    /* استایل کنترل‌های ویدئو */
    .product-video-player::-webkit-media-controls-panel {
        background: rgba(0, 0, 0, 0.6);
    }

    .product-video-player::-webkit-media-controls-current-time-display,
    .product-video-player::-webkit-media-controls-time-remaining-display {
        color: white;
    }

/* ========================================== */

.video-info {
    padding: 16px 20px;
}

.video-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2C1810;
    margin-bottom: 6px;
}

.video-description {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #6c757d;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .video-meta .badge {
        padding: 5px 12px;
        font-weight: 400;
    }

/* پاسخگو */
@media (max-width: 768px) {
    .product-videos-section {
        padding: 20px 0;
        margin: 15px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .video-card {
        margin-bottom: 15px;
    }

    .main-badge {
        top: 10px;
        right: 10px;
        padding: 4px 12px;
        font-size: 0.7rem;
    }

    .video-title {
        font-size: 1rem;
    }

    .video-description {
        font-size: 0.85rem;
    }

    .video-wrapper {
        aspect-ratio: 16 / 9;
    }
}

/* حالت بدون ویدئو */
.no-video {
    padding: 40px 20px;
    text-align: center;
}

    .no-video i {
        font-size: 3rem;
        color: #dee2e6;
        margin-bottom: 15px;
    }

    .no-video h5 {
        color: #6c757d;
        margin-bottom: 5px;
    }

    .no-video p {
        color: #adb5bd;
        font-size: 0.95rem;
    }
/* ========================================== */
/* استایل دکمه‌های اقدام در کارت محصول - یکپارچه */
/* ========================================== */

/* استایل پایه دکمه‌های اقدام */
.product-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-height: 40px;
    white-space: nowrap;
    border: none;
    text-decoration: none;
}

    .product-action-btn i {
        font-size: 15px;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .product-action-btn .btn-text {
        font-size: 20px;
        line-height: 1;
    }

    /* استایل دکمه مشاهده */
    .product-action-btn.btn-light {
        background: #f1f3f5;
        color: #495057;
        border: 1px solid #e9ecef;
    }

        .product-action-btn.btn-light:hover {
            background: #e9ecef;
            border-color: #dee2e6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

    /* استایل دکمه افزودن به سبد */
    .product-action-btn.btn-primary {
        background: linear-gradient(135deg, #1976d2, #1565c0);
        color: #ffffff;
        box-shadow: 0 2px 8px rgba(25, 118, 210, 0.25);
    }

        .product-action-btn.btn-primary:hover {
            background: linear-gradient(135deg, #1565c0, #0d47a1);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(25, 118, 210, 0.35);
        }

    /* استایل دکمه به زودی */
    .product-action-btn.btn-secondary {
        background: #e9ecef;
        color: #6c757d;
        cursor: not-allowed;
        opacity: 0.7;
    }

        .product-action-btn.btn-secondary i {
            color: #868e96;
        }

/* ========================================== */
/* استایل دکمه‌های آیکون‌دار بدون متن */
/* ========================================== */
.product-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-height: 44px;
    min-width: 44px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .product-icon-btn i {
        font-size: 20px;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-icon-btn:hover {
        transform: scale(1.05) translateY(-2px);
    }

/* استایل دکمه‌های گرد */
.product-rounded-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 40px;
    text-decoration: none;
}

    .product-rounded-btn i {
        font-size: 15px;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-rounded-btn span {
        font-size: 12px;
        line-height: 1;
    }

    .product-rounded-btn.btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

        .product-rounded-btn.btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

    .product-rounded-btn.btn-outline-primary {
        border: 2px solid #e0e0e0;
        background: transparent;
        color: #495057;
    }

        .product-rounded-btn.btn-outline-primary:hover {
            border-color: #667eea;
            background: rgba(102, 126, 234, 0.05);
            transform: translateY(-3px);
        }

/* ========================================== */
/* استایل کارت محصول */
/* ========================================== */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* نسبت 4:3 */
    background: #f8f9fa;
}

    .product-image-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* ========================================== */
/* استایل دکمه علاقه‌مندی */
/* ========================================== */
/* استایل دکمه علاقه‌مندی */
.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .btn-favorite:hover {
        transform: scale(1.15);
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    }

    .btn-favorite i {
        font-size: 16px;
        color: #6c757d; /* رنگ خاکستری برای حالت عادی */
        transition: color 0.3s ease;
    }

    /* حالت انتخاب شده - فقط رنگ آیکون قرمز می‌شود */
    .btn-favorite.favorited {
        background: rgba(255, 255, 255, 0.9); /* پس‌زمینه سفید باقی می‌ماند */
        border-color: rgba(0, 0, 0, 0.05);
    }

        .btn-favorite.favorited i {
            color: #dc3545; /* فقط آیکون قرمز می‌شود */
        }

        .btn-favorite.favorited:hover {
            background: #ffffff;
            transform: scale(1.15);
            box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
        }

/* ========================================== */
/* اطلاعات محصول در کارت */
/* ========================================== */
.product-info .product-category {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 500;
}

.product-info .product-title {
    font-size: 25px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #1976d2;
}

    .product-info .product-price:last-of-type {
        font-size: 18px;
        color: #8B4513;
        font-weight: 400;
    }

/* ========================================== */
/* ریسپانسیو */
/* ========================================== */
@media (max-width: 768px) {
    .product-action-btn {
        padding: 6px 8px;
        font-size: 12px;
        min-height: 36px;
        border-radius: 8px;
    }

        .product-action-btn i {
            font-size: 13px;
            width: 18px;
            height: 18px;
        }

        .product-action-btn .btn-text {
            font-size: 20px;
        }

    .product-info .product-title {
        font-size: 25px;
    }

    .product-info .product-price {
        font-size: 16px;
    }

    .product-icon-btn {
        min-height: 38px;
        min-width: 38px;
    }

        .product-icon-btn i {
            font-size: 17px;
            width: 20px;
            height: 20px;
        }

    .product-rounded-btn {
        padding: 6px 10px;
        min-height: 36px;
        font-size: 12px;
    }

        .product-rounded-btn i {
            font-size: 13px;
            width: 18px;
            height: 18px;
        }

        .product-rounded-btn span {
            font-size: 11px;
        }
}

@media (max-width: 576px) {
    .product-action-btn {
        padding: 4px 6px;
        font-size: 10px;
        min-height: 45px;
        gap: 4px;
    }

        .product-action-btn i {
            font-size: 11px;
            width: 16px;
            height: 16px;
        }

        .product-action-btn .btn-text {
            font-size: 20px;
        }

    .product-icon-btn {
        min-height: 34px;
        min-width: 34px;
        padding: 6px;
    }

        .product-icon-btn i {
            font-size: 15px;
            width: 18px;
            height: 18px;
        }

    .product-rounded-btn {
        padding: 4px 8px;
        min-height: 32px;
        font-size: 10px;
        gap: 5px;
    }

        .product-rounded-btn i {
            font-size: 12px;
            width: 16px;
            height: 16px;
        }

        .product-rounded-btn span {
            font-size: 9px;
        }

    .btn-favorite {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }

        .btn-favorite i {
            font-size: 13px;
        }
}

/* ============================================
           گالری استایل
   ============================================ */
.gallery-page {
    background: #f8f6f4;
    min-height: 100vh;
    /*padding-top: 100px !important;*/
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2C1810;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #8B4513, #D2691E);
        border-radius: 3px;
    }

/* ===== فیلتر ===== */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 24px;
    border: 2px solid #8B4513;
    background: transparent;
    color: #8B4513;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

    .filter-btn:hover {
        background: #8B4513;
        color: white;
        transform: translateY(-2px);
    }

    .filter-btn.active {
        background: #8B4513;
        color: white;
        box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    }

/* ===== گرید گالری ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: white;
    height: 100%;
    cursor: pointer;
}

    .gallery-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }

.gallery-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    background: #f0ece8;
}

    .gallery-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

/* ===== اوورلی ===== */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85), rgba(44, 24, 16, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

    .gallery-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

.btn-view {
    padding: 8px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    color: #8B4513;
    border: none;
    text-decoration: none;
    display: inline-block;
}

    .btn-view:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        background: white;
        color: #8B4513;
    }

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    }

    .gallery-overlay-content {
        transform: translateY(0);
    }

    .gallery-title {
        font-size: 1rem;
    }

    .gallery-description {
        display: none;
    }

    .gallery-meta {
        font-size: 0.7rem;
        gap: 8px;
    }

    .btn-view {
        padding: 6px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .gallery-filter {
        gap: 5px;
    }

    .filter-btn {
        padding: 4px 12px;
        font-size: 0.7rem;
    }

    .old-price {
        font-size: 30px;
    }

    .product-price {
        font-size: 30px;
    }
}

/* ===== حالت خالی ===== */
.empty-gallery {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

    .empty-gallery i {
        font-size: 4rem;
        color: #dee2e6;
        margin-bottom: 20px;
    }

.article-header .article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2C1810;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2C1810;
}

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 15px 0;
    }

    .article-content h2,
    .article-content h3,
    .article-content h4 {
        margin-top: 25px;
        margin-bottom: 15px;
        color: #2C1810;
    }

    .article-content ul,
    .article-content ol {
        padding-right: 20px;
        margin-bottom: 15px;
    }

    .article-content blockquote {
        border-right: 4px solid #8B4513;
        padding: 10px 20px;
        background: #f8f9fa;
        border-radius: 4px;
        margin: 15px 0;
    }

.related-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    transition: background 0.3s ease;
    height: 100%;
}

    .related-card:hover {
        background: #f0f0f0;
    }

    .related-card h6 {
        color: #2C1810;
        font-size: 0.95rem;
        margin-top: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.gallery-detail {
    background: #f8f6f4;
    min-height: 100vh;
}

.gallery-image-container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-info {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2C1810;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.gallery-description {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

    .gallery-description h5 {
        font-weight: 600;
        color: #2C1810;
        margin-bottom: 10px;
    }

    .gallery-description p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #4a4a4a;
    }

/* ==========================================
           دکمه‌های اشتراک‌گذاری
           ========================================== */
.share-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

    .share-section h5 {
        color: #2C1810;
        font-weight: 600;
    }

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white;
}

    .share-btn i {
        font-size: 1.1rem;
    }

    .share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        color: white;
        text-decoration: none;
    }

    /* رنگ‌های هر شبکه */
    .share-btn.telegram {
        background: #0088cc;
    }

        .share-btn.telegram:hover {
            background: #0077b3;
        }

    .share-btn.whatsapp {
        background: #25d366;
    }

        .share-btn.whatsapp:hover {
            background: #1da85a;
        }

    .share-btn.instagram {
        background: #E4405F;
    }

        .share-btn.instagram:hover {
            background: #c1354a;
        }

    .share-btn.twitter {
        background: #1DA1F2;
    }

        .share-btn.twitter:hover {
            background: #1a8cd8;
        }

    .share-btn.linkedin {
        background: #0077B5;
    }

        .share-btn.linkedin:hover {
            background: #006396;
        }

    .share-btn.copy-link {
        background: #6c757d;
    }

        .share-btn.copy-link:hover {
            background: #5a6268;
        }

        .share-btn.copy-link.copied {
            background: #28a745;
        }

/* ===== پیام کپی ===== */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
}

    .copy-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 1.5rem;
    }

    .gallery-info {
        padding: 20px;
    }

    .gallery-meta {
        font-size: 0.8rem;
        gap: 12px;
    }

    .share-buttons {
        gap: 8px;
    }

    .share-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

        .share-btn span {
            display: none; /* مخفی کردن متن در موبایل */
        }

        .share-btn i {
            font-size: 1.2rem;
        }
}

@media (max-width: 480px) {
    .share-buttons {
        justify-content: center;
    }

    .share-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

        .share-btn span {
            display: none;
        }

        .share-btn i {
            font-size: 1.2rem;
        }
}

/* فاصله از هدر */
.page-content {
/*    padding-top: 120px !important;*/
    min-height: 80vh;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

.article-image {
    position: relative;
    overflow: hidden;
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .article-overlay {
    opacity: 1;
}

.article-body {
    padding: 20px;
}

.article-category {
    font-size: 0.75rem;
    color: #8B4513;
    background: #f8f4f0;
    padding: 3px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 10px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

    .article-title a {
        color: #2C1810;
        text-decoration: none;
    }

        .article-title a:hover {
            color: #8B4513;
        }

.article-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

/* ریسپانسیو */
@media (max-width: 768px) {
/*    .page-content {
        padding-top: 100px;
    }*/
}


/* ============================================
           هدر مقاله
   ============================================ */
.article-hero {
    padding: 80px 0 60px;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

    .article-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to top, #f8f6f4, transparent);
    }

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 5px 16px;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

    .category-badge:hover {
        background: rgba(255,255,255,0.3);
        color: white;
        transform: translateY(-2px);
    }

.meta-badge {
    background: rgba(255,255,255,0.15);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.article-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 20px 0 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.article-hero-excerpt {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.article-hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #D2691E, #F4A460);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.tag-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 3px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 3px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
           محتوای مقاله
           ============================================ */
.article-body {
    font-size: 1.05rem;
    line-height: 2;
    color: #2C1810;
}

    .article-body h2,
    .article-body h3,
    .article-body h4 {
        margin-top: 30px;
        margin-bottom: 15px;
        font-weight: 700;
        color: #2C1810;
    }

    .article-body h2 {
        font-size: 1.8rem;
        border-right: 4px solid #8B4513;
        padding-right: 15px;
    }

    .article-body h3 {
        font-size: 1.4rem;
    }

    .article-body img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 20px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    .article-body ul,
    .article-body ol {
        padding-right: 20px;
        margin-bottom: 20px;
    }

    .article-body blockquote {
        border-right: 4px solid #8B4513;
        padding: 15px 25px;
        background: #f8f4f0;
        border-radius: 8px;
        margin: 20px 0;
        font-style: italic;
        color: #555;
    }

        .article-body blockquote p {
            margin: 0;
        }

/* ============================================
           ویدئو
           ============================================ */
.article-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-video {
    display: block;
    max-height: 450px;
}

/* ============================================
           اشتراک‌گذاری
           ============================================ */
.share-label {
    font-size: 0.95rem;
    color: #2C1810;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    color: #666;
    background: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
}

    .share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        text-decoration: none;
    }

    .share-btn.whatsapp:hover {
        color: #25d366;
        border-color: #25d366;
    }

    .share-btn.telegram:hover {
        color: #0088cc;
        border-color: #0088cc;
    }

    .share-btn.twitter:hover {
        color: #1DA1F2;
        border-color: #1DA1F2;
    }

    .share-btn.linkedin:hover {
        color: #0077B5;
        border-color: #0077B5;
    }

    .share-btn.copy-link:hover {
        color: #6c757d;
        border-color: #6c757d;
    }

/* ============================================
           مقالات مرتبط
           ============================================ */
.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}

    .related-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }

.related-card-image {
    overflow: hidden;
}

    .related-card-image img {
        transition: transform 0.4s ease;
    }

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-body {
    padding: 16px 18px 20px;
}

.related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

    .related-card-title:hover {
        color: #8B4513;
    }

.related-card-excerpt {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.related-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #999;
}

/* ============================================
           Copy Toast
           ============================================ */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #28a745;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .copy-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* ============================================
           ریسپانسیو
           ============================================ */
@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0 40px;
        min-height: 300px;
    }

    .article-hero-title {
        font-size: 1.8rem;
    }

    .article-hero-excerpt {
        font-size: 1rem;
    }

    .article-body {
        font-size: 0.95rem;
    }

        .article-body h2 {
            font-size: 1.4rem;
        }

        .article-body h3 {
            font-size: 1.2rem;
        }

    .share-buttons {
        gap: 6px;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .article-meta-top {
        gap: 6px;
    }

    .category-badge,
    .meta-badge {
        font-size: 0.75rem;
        padding: 3px 12px;
    }
}

@media (max-width: 576px) {
    .article-hero-title {
        font-size: 1.4rem;
    }

    .article-hero-excerpt {
        font-size: 0.9rem;
    }

    .article-meta-top {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .share-buttons {
        justify-content: center;
        width: 100%;
        flex-wrap: nowrap;
    }

    .article-share-section .d-flex {
        flex-direction: row;
        align-items: center !important;
    }
}


/* شبکه‌های اجتماعی جدید */
.share-btn.bale {
    background: #28a745;
}

.share-btn.rubika {
    background: #0055a4;
}

.share-btn.eita {
    background: #6c2b8c;
}

/* استایل برای آیکون‌های تصویری */
.share-btn img {
    transition: transform 0.3s ease;
}

.share-btn:hover img {
    transform: scale(1.2);
}

/* اگر آیکون‌های SVG دارید */
.share-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* استایل‌های موجود دکمه‌ها */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 4px;
    border: none;
    cursor: pointer;
}

    .share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        color: white;
    }

    /* رنگ‌های شبکه‌های اجتماعی */
    .share-btn.telegram {
        background: #0088cc;
    }

    .share-btn.whatsapp {
        background: #25d366;
        flex-shrink: 0;
    }

    .share-btn.instagram {
        background: #e4405f;
        flex-shrink: 0;
    }

    .share-btn.twitter {
        background: #1da1f2;
        flex-shrink: 0;
    }

    .share-btn.linkedin {
        background: #0077b5;
        flex-shrink: 0;
    }

    .share-btn.copy-link {
        background: #6c757d;
        flex-shrink: 0;
    }

/* ============================================
   Category Tabs - اصلاح شده برای نمایش افقی در موبایل
   ============================================ */
.category-tabs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FEF7F0 0%, #FFFFFF 100%);
}

/* اسلایدر دسته‌بندی - جایگزین nav-tabs */
.category-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding: 5px 0 15px 0;
    margin: 0 0 25px 0;
    list-style: none;
    border-bottom: none !important;
}

    .category-slider::-webkit-scrollbar {
        display: none;
    }

    .category-slider .nav-item {
        flex: 0 0 auto !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
    }

    .category-slider .nav-link {
        display: flex !important;
        align-items: center;
        white-space: nowrap;
        padding: 10px 22px;
        border-radius: 25px;
        border: 2px solid transparent;
        background: #f8f9fa;
        color: #495057;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        width: auto !important;
        gap: 6px;
    }

        .category-slider .nav-link:hover {
            background: #e9ecef;
            border-color: #dee2e6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        .category-slider .nav-link.active {
            background: #8B4513;
            color: #ffffff;
            border-color: #8B4513;
            box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
        }

        .category-slider .nav-link i {
            font-size: 1.1rem;
        }

/* دکمه‌های اسکرول */
.category-tabs-section {
    position: relative;
}

    .category-tabs-section .scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: rgba(255,255,255,0.95);
        border: 1px solid #e0e0e0;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        padding: 0;
        color: #333;
    }

        .category-tabs-section .scroll-btn:hover {
            background: #ffffff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            transform: translateY(-50%) scale(1.08);
        }

        .category-tabs-section .scroll-btn.left {
            left: 5px;
        }

        .category-tabs-section .scroll-btn.right {
            right: 5px;
        }

        .category-tabs-section .scroll-btn i {
            font-size: 0.9rem;
        }

/* ============================================
   ریسپانسیو برای تب‌ها
   ============================================ */
@media (max-width: 768px) {
    .category-slider {
        gap: 6px;
        padding: 5px 0 12px 0;
        margin: 0 -15px 20px -15px;
        padding: 5px 15px 12px 15px;
    }

        .category-slider .nav-link {
            padding: 8px 16px;
            font-size: 0.85rem;
            border-radius: 20px;
        }

            .category-slider .nav-link i {
                font-size: 1rem;
            }

    .category-tabs-section .scroll-btn {
        display: flex;
        width: 30px;
        height: 30px;
    }

        .category-tabs-section .scroll-btn i {
            font-size: 0.8rem;
        }
}

@media (max-width: 576px) {
    .category-slider {
        gap: 4px;
        padding: 5px 0 10px 0;
        margin: 0 -10px 15px -10px;
        padding: 5px 10px 10px 10px;
    }

        .category-slider .nav-link {
            padding: 6px 12px;
            font-size: 0.75rem;
            border-radius: 16px;
            border-width: 1.5px;
        }

            .category-slider .nav-link i {
                font-size: 0.85rem;
            }

            /* نمایش متن کوتاه در موبایل */
            .category-slider .nav-link .d-sm-inline {
                display: none !important;
            }

            .category-slider .nav-link .d-sm-none {
                display: inline !important;
            }

    .category-tabs-section .scroll-btn {
        width: 26px;
        height: 26px;
    }

        .category-tabs-section .scroll-btn i {
            font-size: 0.7rem;
        }
}

@media (min-width: 577px) {
    .category-slider .nav-link .d-sm-inline {
        display: inline !important;
    }

    .category-slider .nav-link .d-sm-none {
        display: none !important;
    }
}

/* حذف استایل‌های قبلی nav-tabs که باعث مشکل می‌شدند */
.nav-tabs {
    border: none;
    margin-bottom: 3rem;
}

    .nav-tabs .nav-item {
        margin: 0 10px;
    }

    /* این استایل‌ها را غیرفعال می‌کنیم تا با استایل جدید تداخل نداشته باشند */
    .nav-tabs .nav-link {
        /* استایل‌های قبلی را غیرفعال می‌کنیم */
        /* border: none; */
        /* background: transparent; */
        /* ... */
    }




/* ============================================
   Product Tabs - اسلایدر افقی
   ============================================ */
.product-tabs-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 4px;
    padding: 0 0 2px 0;
    margin: 0 0 20px 0;
    list-style: none;
    border-bottom: 2px solid #dee2e6;
}

    .product-tabs-list::-webkit-scrollbar {
        display: none;
    }

    .product-tabs-list .nav-item {
        flex: 0 0 auto !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
    }

    .product-tabs-list .nav-link {
        display: flex !important;
        align-items: center;
        white-space: nowrap;
        padding: 0.7rem 1.2rem;
        border: none;
        border-bottom: 3px solid transparent;
        background: transparent;
        color: #6c757d;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        cursor: pointer;
        border-radius: 0;
    }

        .product-tabs-list .nav-link:hover {
            color: #2a2a2a;
            background: rgba(139, 69, 19, 0.05);
        }

        .product-tabs-list .nav-link.active {
            color: #8B4513;
            border-bottom-color: #8B4513;
            background: transparent;
        }

        .product-tabs-list .nav-link i {
            font-size: 1rem;
            margin-left: 6px;
        }

/* ============================================
   ریسپانسیو
   ============================================ */
@media (max-width: 768px) {
    .product-tabs-list {
        margin: 0 -15px 20px -15px;
        padding: 0 15px 2px 15px;
        gap: 2px;
    }

        .product-tabs-list .nav-link {
            padding: 0.6rem 1rem;
            font-size: 0.8rem;
        }

            .product-tabs-list .nav-link i {
                font-size: 0.9rem;
            }
}

@media (max-width: 576px) {
    .product-tabs-list {
        margin: 0 -10px 15px -10px;
        padding: 0 10px 2px 10px;
        gap: 2px;
    }

        .product-tabs-list .nav-link {
            padding: 0.5rem 0.8rem;
            font-size: 0.7rem;
        }

            .product-tabs-list .nav-link i {
                font-size: 0.8rem;
                margin-left: 4px;
            }

            /* در موبایل فقط آیکون نمایش داده شود */
            .product-tabs-list .nav-link span {
                display: none;
            }

            .product-tabs-list .nav-link i {
                margin-left: 0;
                font-size: 1.1rem;
            }
}
.breadcrumb-section {
    margin-top: 90px; /* اگر ارتفاع Header حدود 80px است */
    padding: 12px 0;
    background: #ffffff;
    border-bottom: 1px solid #ececec;
}

.breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: none;
    color: #999;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

    .breadcrumb a:hover {
        color: #b8860b;
    }

.breadcrumb-item.active {
    color: #222;
    font-weight: 600;
}
.hero-brand-line {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-style: italic;
    color: #d4af37; /* طلایی */
    text-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.5rem;
}

    /* خط زیر آن با افکت درخشش */
    .hero-brand-line::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 2px;
        background: linear-gradient(to right, transparent, #d4af37, transparent);
    }