/* ========== فونت وزیرمتن ========== */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Thin.woff2') format('woff2'),
         url('../fonts/vazirmatn/Vazirmatn-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2'),
         url('../fonts/vazirmatn/Vazirmatn-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2'),
         url('../fonts/vazirmatn/Vazirmatn-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2'),
         url('../fonts/vazirmatn/Vazirmatn-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Black.woff2') format('woff2'),
         url('../fonts/vazirmatn/Vazirmatn-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    color: #2d3436;
    line-height: 1.8;
    overflow-x: hidden;
    top: 0 !important;
    position: relative !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: #2c3e50;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #667eea;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    margin: 0 5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-add-cart {
    background: #27ae60;
    color: white;
    padding: 8px 15px;
    font-size: 13px;
    width: 100%;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-add-cart:hover {
    background: #229954;
    transform: translateY(-2px);
}

/* ========== Navbar ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.nav-brand img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: contain;
    pointer-events: none;
}

.nav-brand img:hover {
    transform: scale(0.95);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .user-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.nav-menu .user-nav-item:hover {
    border-color: #ecf0f1;
    background: #f8f9fa;
}

.nav-menu .user-nav-item .user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.nav-menu .user-nav-item .user-name {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.nav-menu .user-nav-item .dropdown-icon {
    font-size: 12px;
    color: #95a5a6;
    transition: transform 0.3s;
}

.nav-menu .user-nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-menu .user-dropdown-menu {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    border: 1px solid #ecf0f1;
    overflow: hidden;
    padding: 5px 0;
}

.nav-menu .user-nav-item:hover .user-dropdown-menu {
    display: block;
}

.nav-menu .user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
}

.nav-menu .user-dropdown-menu a:hover {
    background: #f8f9fa;
    color: #e67e22;
}

.nav-menu .user-dropdown-menu a i {
    width: 20px;
    color: #7f8c8d;
}

.nav-menu .user-dropdown-menu a:hover i {
    color: #e67e22;
}

.nav-menu .user-dropdown-menu .divider {
    height: 1px;
    background: #ecf0f1;
    margin: 5px 0;
}

.nav-menu .user-dropdown-menu .logout-link {
    color: #e74c3c;
}

.nav-menu .user-dropdown-menu .logout-link i {
    color: #e74c3c;
}

.nav-menu .user-dropdown-menu .logout-link:hover {
    background: #fef5e7;
    color: #e74c3c;
}

.nav-menu .login-nav-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    border: 2px solid #e67e22;
    border-radius: 50px;
    color: #e67e22;
    transition: all 0.3s;
}

.nav-menu .login-nav-item a:hover {
    background: #e67e22;
    color: white;
}

.nav-menu .login-nav-item a::after {
    display: none;
}

.nav-cart {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-cart i {
    font-size: 22px;
    color: #2c3e50;
    transition: color 0.3s;
}

.nav-cart:hover i {
    color: #667eea;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid white;
}

.mobile-menu-btn {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: #2c3e50;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ========== Hero Slider ========== */
.hero-slider {
    margin-top: 85px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.swiper-slide:hover .slide-bg {
    transform: scale(1.05);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    top: 50%;
    transform: translateY(-50%);
    margin: 0 50px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.slide-content .btn {
    background: white;
    color: #2c3e50;
    font-weight: 600;
}

.slide-content .btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

/* ========== Categories Section ========== */
.categories {
    padding: 80px 0;
    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    padding: 30px 15px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.category-card i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.category-card p {
    color: #7f8c8d;
    font-size: 13px;
}

/* ========== Products Sections ========== */
.products {
    padding: 60px 0;
}

.products.products-new {
    background: white;
}

.products.products-bestseller {
    background: #f8f9fa;
}

.products.products-all {
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    z-index: 1;
}

.product-badge.new {
    background: #27ae60;
}

.product-badge.bestseller {
    background: #f39c12;
}

.product-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 15px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image i {
    font-size: 60px;
    color: #667eea;
}

.product-info {
    padding: 20px 15px 15px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
    height: 45px;
    overflow: hidden;
}

.product-info p {
    color: #7f8c8d;
    font-size: 12px;
    margin-bottom: 12px;
    height: 35px;
    overflow: hidden;
}

.product-price {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
}

.old-price {
    font-size: 13px;
    color: #95a5a6;
    text-decoration: line-through;
}

/* ========== Features Section ========== */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.features .section-title {
    color: white;
}

.features .section-title::after {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.feature-card i {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    opacity: 0.9;
    font-size: 14px;
}

/* ========== About Section ========== */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #7f8c8d;
}

.about-image {
    text-align: center;
}

.about-image i {
    font-size: 200px;
    color: #667eea;
    opacity: 0.8;
}

/* ========== Blog Section on Homepage ========== */
.blog-section-home {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-section-home .section-description {
    font-size: 16px;
    color: #7f8c8d;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.blog-card-home {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102,126,234,0.15);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-home:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e67e22;
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
}

.blog-card-body {
    padding: 20px 22px 25px;
}

.blog-card-body .post-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-card-body .post-meta i {
    margin-left: 4px;
}

.blog-card-body h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body .read-more {
    color: #e67e22;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.blog-card-body .read-more:hover {
    color: #d35400;
    gap: 10px;
}

.no-posts-home {
    grid-column: 1/-1;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.no-posts-home i {
    font-size: 48px;
    color: #95a5a6;
    margin-bottom: 15px;
}

/* ========== Newsletter Section ========== */
.newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn {
    background: white;
    color: #2c3e50;
}

.newsletter-form .btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* ========== Contact Section ========== */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateX(-5px);
    background: #667eea;
    color: white;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 20px;
}

.info-item p {
    font-size: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 20px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.telegram:hover {
    background: #0088cc;
    color: white;
}

.social-link.instagram:hover {
    background: #e4405f;
    color: white;
}

.social-link.whatsapp:hover {
    background: #25d366;
    color: white;
}

/* ========== Footer ========== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-section ul li i {
    margin-left: 10px;
    width: 20px;
}

.founder-message {
    margin: 40px 0 20px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(230, 126, 34, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.founder-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: #e67e22;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    right: -20px;
    transform: rotate(180deg);
}

.founder-text {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.founder-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.founder-name {
    font-size: 22px;
    font-weight: 700;
    color: #e67e22;
    letter-spacing: 1px;
}

.founder-title {
    font-size: 14px;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 5px 15px;
    border-radius: 50px;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-bottom ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom ul li a:hover {
    color: #e67e22;
}

/* ========== Toast ========== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.error {
    background: #e74c3c;
}

/* ========== Share Buttons ========== */
.share-buttons-container {
    direction: ltr;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.share-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25) !important;
}

/* ===== Google Translate Widget ===== */
.goog-te-gadget {
    font-family: inherit !important;
    font-size: 13px !important;
    color: #2c3e50 !important;
}

.goog-te-gadget .goog-te-combo {
    padding: 8px 15px !important;
    border: 2px solid #ecf0f1 !important;
    border-radius: 50px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    background: white !important;
    cursor: pointer !important;
    outline: none !important;
    min-width: 130px !important;
}

.goog-te-gadget .goog-te-combo:hover {
    border-color: #e67e22 !important;
}

.goog-te-gadget .goog-te-combo:focus {
    border-color: #e67e22 !important;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1) !important;
}

.goog-te-gadget span {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

/* ========== Instagram Section ========== */
.instagram-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.instagram-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.instagram-header .title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instagram-header .title i {
    font-size: 40px;
    color: #e4405f;
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(228, 64, 95, 0.15);
}

.instagram-header .title h2 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.instagram-header .title p {
    color: #7f8c8d;
    font-size: 14px;
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

.follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(228, 64, 95, 0.3);
    color: white !important;
}

.btn-instagram-more {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #e4405f;
    color: #e4405f;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-instagram-more:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.2);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.instagram-grid .instagram-post {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.instagram-grid .instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ========== Blog Section (عمومی) ========== */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-section .section-description {
    font-size: 16px;
    color: #7f8c8d;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102,126,234,0.15);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e67e22;
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
}

.blog-card-body {
    padding: 20px 22px 25px;
}

.blog-card-body .post-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-card-body .post-meta i {
    margin-left: 4px;
}

.blog-card-body h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body .read-more {
    color: #e67e22;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.blog-card-body .read-more:hover {
    color: #d35400;
    gap: 10px;
}

/* ========== Animations ========== */
@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .hero-slider { height: 500px; }
    .slide-content h2 { font-size: 42px; }
    .slide-content p { font-size: 20px; }
    .section-title { font-size: 2rem; }
    .about-content { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .blog-grid-home { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

@media (max-width: 768px) {
    .hero-slider { height: 450px; margin-top: 75px; }
    .slide-content h2 { font-size: 32px; }
    .slide-content p { font-size: 18px; }
    .swiper-button-next,
    .swiper-button-prev { display: none; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 100%;
    }
    
    .nav-menu.active { 
        display: flex; 
    }

    .nav-menu .user-nav-item {
        border: none;
        padding: 5px 0;
    }

    .nav-menu .user-nav-item .user-dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        padding: 5px 10px;
        background: #f8f9fa;
        border-radius: 10px;
        margin-top: 5px;
    }

    .nav-menu .user-nav-item .dropdown-icon {
        display: none;
    }

    .nav-menu .user-nav-item:hover {
        background: transparent;
        border-color: transparent;
    }

    .nav-menu .login-nav-item a {
        border: none;
        padding: 5px 0;
        color: #2c3e50;
        border-radius: 0;
    }

    .nav-menu .login-nav-item a:hover {
        background: transparent;
        color: #667eea;
    }

    .mobile-menu-btn { 
        display: block; 
    }
    
    .nav-actions {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-form { flex-direction: column; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid-home { grid-template-columns: 1fr; }
    .instagram-grid { grid-template-columns: 1fr; gap: 15px; }
    .instagram-section { padding: 40px 0; }
    .instagram-header { flex-direction: column; text-align: center; }
    .instagram-header .title { flex-direction: column; }
    
    .share-buttons-container {
        left: 10px !important;
        gap: 6px !important;
    }
    .share-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 15px !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    p { font-size: 14px; }
    
    /* ===== مخفی کردن سبد خرید بالا در موبایل ===== */
    .nav-cart {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-slider { height: 400px; }
    .slide-content h2 { font-size: 28px; }
    .slide-content p { font-size: 16px; }
    .product-grid { 
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .category-grid { grid-template-columns: 1fr; }
    
    .founder-text {
        font-size: 16px;
        line-height: 1.7;
    }
    .founder-name { font-size: 18px; }
    .founder-message {
        padding: 20px 15px;
        margin: 30px 0 15px;
    }
    .quote-icon {
        font-size: 30px;
        top: -10px;
        right: -10px;
    }
    
    .share-buttons-container {
        left: 5px !important;
        top: 55% !important;
    }
    .share-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 13px !important;
    }
    
    .container {
        padding: 0 12px !important;
    }
    h1 { font-size: 22px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    p { font-size: 13px; }
}

.slide-bg.fallback {
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-image: none !important;
}

.slide-bg.fallback .fallback-content {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.container {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

section, div, img, table {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.about, .about-content, .about-text, .about-image {
    max-width: 100% !important;
    overflow: hidden !important;
}
/* در assets/css/style.css یا bottom-nav.css اضافه کنید */
#bottomNavCount {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    transition: transform 0.2s ease;
    font-family: 'Vazir', sans-serif;
}

#bottomNavCount.show {
    display: flex;
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
/* ===== دکمه‌های ناوبری اسلایدر ===== */
.swiper-button-next,
.swiper-button-prev,
.slider-next,
.slider-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover,
.slider-next:hover,
.slider-prev:hover {
    background: rgba(230, 126, 34, 0.8);
    transform: translateY(-50%) scale(1.1);
    border-color: #e67e22;
}

.swiper-button-next,
.slider-next {
    right: 25px;
}

.swiper-button-prev,
.slider-prev {
    left: 25px;
}

/* ===== دکمه‌های Pagination ===== */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #e67e22;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.4);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev,
    .slider-next,
    .slider-prev {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .swiper-button-next,
    .slider-next {
        right: 10px;
    }
    
    .swiper-button-prev,
    .slider-prev {
        left: 10px;
    }
}
/* ============================================================ */
/* ========== نماد اعتماد ========== */
/* ============================================================ */

.trust-badges {
    padding: 20px 0;
    background: #f8f9fa;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
}

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2c3e50;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 50px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.trust-item img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.trust-item i {
    font-size: 26px;
    color: #e67e22;
}

.trust-item i.fa-shield-alt { color: #27ae60; }
.trust-item i.fa-truck { color: #3498db; }
.trust-item i.fa-credit-card { color: #9b59b6; }
.trust-item i.fa-undo-alt { color: #e67e22; }

.trust-item .trust-label {
    font-weight: 500;
    font-size: 13px;
    color: #555;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .trust-grid {
        gap: 15px;
    }
    .trust-item {
        padding: 6px 12px;
        font-size: 12px;
    }
    .trust-item img {
        height: 30px;
    }
    .trust-item i {
        font-size: 20px;
    }
    .trust-item .trust-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        gap: 10px;
    }
    .trust-item {
        padding: 4px 10px;
        font-size: 10px;
        gap: 6px;
    }
    .trust-item img {
        height: 24px;
    }
    .trust-item i {
        font-size: 16px;
    }
    .trust-item .trust-label {
        font-size: 9px;
    }
}

/* ===== نماد اعتماد در فوتر ===== */
.footer-trust {
    padding: 25px 0;
    background: #2c3e50;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-trust .trust-item {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    box-shadow: none;
}

.footer-trust .trust-item:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: none;
}

.footer-trust .trust-item i {
    color: #e67e22;
}

.footer-trust .trust-item .trust-label {
    color: rgba(255,255,255,0.7);
}

/* ===== نماد اعتماد در کارت محصول ===== */
.product-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #27ae60;
    margin-top: 8px;
}

.product-trust-badge i {
    font-size: 13px;
    color: #27ae60;
}
/* ============================================================ */
/* ========== نماد اعتماد حرفه‌ای ========== */
/* ============================================================ */

.trust-section {
    padding: 70px 0 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230,126,34,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.trust-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102,126,234,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.trust-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.trust-subtitle {
    display: inline-block;
    background: rgba(230,126,34,0.1);
    color: #e67e22;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.trust-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.trust-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    margin: 12px auto 0;
    border-radius: 10px;
}

.trust-desc {
    color: #7f8c8d;
    font-size: 16px;
    max-width: 550px;
    margin: 12px auto 0;
}

.trust-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.trust-item {
    background: white;
    padding: 30px 20px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.trust-item:hover::before {
    transform: scaleX(1);
}

.trust-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(230,126,34,0.12);
    border-color: rgba(230,126,34,0.08);
}

.trust-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(230,126,34,0.08), rgba(243,156,18,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.trust-item:hover .trust-icon {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

.trust-icon i {
    font-size: 28px;
    color: #e67e22;
    transition: all 0.4s;
}

.trust-item:hover .trust-icon i {
    color: white;
    transform: scale(1.1);
}

.trust-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.trust-item h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 6px;
    font-weight: 600;
}

.trust-item p {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.7;
    margin: 0;
}

/* ===== نمادهای رسمی ===== */
.trust-official {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #ecf0f1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.official-label {
    display: block;
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.official-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.official-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}

.official-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-color: rgba(230,126,34,0.1);
}

.official-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.official-item i {
    font-size: 24px;
    color: #e67e22;
}

.official-item span {
    font-size: 13px;
    color: #2c3e50;
    font-weight: 500;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 992px) {
    .trust-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-title {
        font-size: 28px;
    }
    .official-icons {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .trust-section {
        padding: 40px 0 30px;
    }
    .trust-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .trust-item {
        padding: 20px 14px 18px;
    }
    .trust-item h3 {
        font-size: 14px;
    }
    .trust-item p {
        font-size: 12px;
    }
    .trust-icon {
        width: 55px;
        height: 55px;
    }
    .trust-icon i {
        font-size: 22px;
    }
    .trust-title {
        font-size: 22px;
    }
    .official-icons {
        gap: 12px;
    }
    .official-item {
        padding: 5px 12px;
    }
    .official-item img {
        height: 24px;
    }
    .official-item i {
        font-size: 18px;
    }
    .official-item span {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .trust-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .trust-item {
        padding: 14px 10px 14px;
    }
    .trust-item h3 {
        font-size: 12px;
    }
    .trust-item p {
        font-size: 10px;
    }
    .trust-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    .trust-icon i {
        font-size: 18px;
    }
    .trust-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
}