﻿@import url(/css/fonts.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'samim', sans-serif;
}

:root {
    --primary-color: #f7faf7;
    --secondary-color: #1c8a35;
    --secondary-dark: #0f3d1a;
    --secondary-light: #2fad4a;
    --accent-color: #d4960f;
    --accent-light: #e6ad3a;
    --accent-dark: #a8770c;
    --text-color: #3d3d3d;
    --text-muted: #767676;
    --button-color: #0f6b22;
    --border-color: #e6e9e6;
    --success-color: #28a745;
    --ink-color: #1a1410;
    --shadow-sm: 0 2px 10px rgba(15, 61, 26, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 61, 26, 0.10);
    --shadow-lg: 0 20px 50px rgba(15, 61, 26, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

a {
    text-decoration: none;
}

body {
    background-color: white;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 120px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-sm);
}

.header-main {
    padding: 15px 0;
    transition: all 0.4s ease;
    position: relative;
}

    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.4s ease;
        position: relative;
    }
::placeholder {
    font-size: 12px;
    font-family: 'samim', sans-serif;
}
/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

    .logo img {
        height: 80px;
        width: auto;
        transition: all 0.4s ease;
        object-fit: contain;
    }

    /* Desktop Logo - Centered by default */
    .logo.upper-logo {
        transform: translateX(-50%);
    }

    /* Nav Logo - Hidden by default, shown when scrolled */
    .logo.nav-logo {
        display: none;
        order: 1;
        margin-left: auto;
    }

.scrolled .logo img {
    height: 60px;
    margin: 4px;
    filter: brightness(0%) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(340deg) brightness(102%) contrast(101.2%);
}
/* Desktop Sample Button in Nav - Hidden by default */
.nav-sample-btn {
    display: none;
    background: linear-gradient(135deg, #fff, #fff);
    padding-left: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(177, 241, 191, 0.61);
    white-space: nowrap;
    order: 3;
    margin-right: 15px;
    border-radius: 50px;
}
    .nav-sample-btn input {
        border: 1px solid var(--border-color);
        padding: 5px 10px;
        transition: all 0.3s;
        font-size: 13px;
    }

    .nav-sample-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(212, 150, 15, 0.4);
    }

    .nav-sample-btn i {
        margin-right: 8px;
        font-size: 1rem;
    }

/* When scrolled on desktop - Hide desktop fixed sample button */
header.scrolled .fixed-sample-btn-desktop {
    display: none;
}

header.scrolled .logo.upper-logo {
    display: none;
}

header.scrolled .logo.nav-logo {
    display: flex;
}

header.scrolled .nav-sample-btn {
    display: flex;
}

.scrolled .header-main {
    padding: unset !important;
}

/* Navigation */
nav {
    background: linear-gradient(160deg, #0f3d1a 0%, #1a4d24 100%);
    border-top: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 999;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
}

/* Shrink header when scrolled on mobile */
header.compact .header-main {
    padding: 8px 0;
}

header.compact .logo img {
    height: 45px;
}

.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 2px;
    transition: all 0.3s ease;
    order: 2;
    margin-left: auto;
    margin-bottom: 0px !important;
}

header.scrolled .main-menu {
    margin-right: 0;
    margin-left: 20px;
}

.main-menu > li {
    position: relative;
}

    .main-menu > li > a {
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        padding: 16px 16px;
        display: flex;
        align-items: center;
        gap: 7px;
        transition: all 0.25s ease;
        font-size: 0.88rem;
        font-weight: 500;
        white-space: nowrap;
        position: relative;
    }

        .main-menu > li > a:hover,
        .main-menu > li.active > a {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .main-menu > li > a i:first-child {
            font-size: 0.8rem;
            color: #f4c96c;
            transition: transform 0.3s;
        }

        .main-menu > li > a i.fa-chevron-down {
            font-size: 0.6rem;
            margin-right: 1px;
            color: rgba(255, 255, 255, 0.6);
            transition: transform 0.3s;
        }

    .main-menu > li:hover > a i.fa-chevron-down {
        transform: rotate(180deg);
        color: var(--accent-color);
    }

    .main-menu > li:hover .submenu {
        display: block;
    }

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 20px 45px rgba(8, 24, 10, 0.25);
    border-radius: 14px;
    z-index: 100;
    padding: 10px;
    animation: navSubmenuIn 0.25s ease;
}

    .submenu::before {
        content: '';
        position: absolute;
        top: -6px;
        right: 26px;
        width: 12px;
        height: 12px;
        background: white;
        transform: rotate(45deg);
        border-radius: 2px;
    }

@keyframes navSubmenuIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submenu li {
    list-style: none;
}

.submenu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 9px;
}

    .submenu a i {
        font-size: 0.75rem;
        color: var(--secondary-color);
        width: 26px;
        height: 26px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(28, 138, 53, 0.1);
        border-radius: 50%;
        transition: all 0.25s;
    }

    .submenu a:hover {
        background: rgba(28, 138, 53, 0.06);
        color: var(--secondary-color);
    }

        .submenu a:hover i {
            background: var(--accent-color);
            color: white;
        }

/* Mobile Navigation Toggle - Right side in mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 50px;
    height: 40px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.hamburger-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

    .hamburger-line:nth-child(1) {
        top: 0;
        width: 100%;
    }

    .hamburger-line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
        width: 80%;
    }

    .hamburger-line:nth-child(3) {
        bottom: 0;
        width: 60%;
    }

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(14px) rotate(45deg);
    width: 100%;
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
    width: 100%;
}

/* Fixed Sample Button - Desktop Only - Left side in header */
.fixed-sample-btn-desktop {
    background: linear-gradient(135deg, #194b23, #194b23);
    color: white;
    border: none;
    padding-left: 9px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(25, 76, 35, 0.23);
    white-space: nowrap;
    width:60%;
}

    .fixed-sample-btn-desktop:hover  {
        transform: translateY(-2px);
    }

    .fixed-sample-btn-desktop i {
        margin-right: 8px;
        font-size: 1.1rem;
    }
    .fixed-sample-btn-desktop input {
        border: 1px solid var(--border-color);
        padding: 5px 10px;
        transition: all 0.3s;
        font-size: 13px;
    }

/* Fixed Sample Button - Mobile Only */
.fixed-sample-btn-mobile {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: none;
    align-items: center;
    box-shadow: 0 5px 20px rgba(212, 150, 15, 0.4);
    z-index: 998;
    transition: all 0.3s;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

    .fixed-sample-btn-mobile:hover {
        transform: translateX(-50%) translateY(-3px);
        box-shadow: 0 8px 25px rgba(212, 150, 15, 0.5);
    }

    .fixed-sample-btn-mobile i {
        margin-right: 8px;
        font-size: 1.2rem;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(212, 150, 15, 0.4);
    }

    50% {
        box-shadow: 0 5px 25px rgba(212, 150, 15, 0.7);
    }

    100% {
        box-shadow: 0 5px 20px rgba(212, 150, 15, 0.4);
    }
}

/* Header Slider - Reduced height */
.header-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .header-slider .swiper-slide {
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

    .slide-content img {
        width: 100%;
    }

.btn {
    padding: 15px 38px;
    border-radius: 50px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    border: none;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    box-shadow: 0 8px 22px rgba(212, 150, 15, 0.28);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(212, 150, 15, 0.4);
    }

.btn i {
    margin-left: 8px;
}

/* Modern Slider Pagination - Only One */
.header-slider .swiper-pagination {
    bottom: 20px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.header-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 0 -3px !important;
}

    .header-slider .swiper-pagination-bullet::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
        border-radius: 50%;
        transform: scale(0);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .header-slider .swiper-pagination-bullet::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        width: 8px;
        height: 8px;
        background: white;
        border-radius: 50%;
        opacity: 0;
        transition: all 0.3s;
    }

.header-slider .swiper-pagination-bullet-active {
    background: transparent;
    border-color: var(--accent-color);
    width: 24px;
    border-radius: 20px;
}

    .header-slider .swiper-pagination-bullet-active::before {
        transform: scale(1);
    }

    .header-slider .swiper-pagination-bullet-active::after {
        opacity: 1;
    }

.header-slider .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Custom Swiper Navigation - More Beautiful */
.header-slider .swiper-button-next,
.header-slider .swiper-button-prev {
    background: linear-gradient(135deg, rgba(212, 150, 15, 0.9), rgba(247, 187, 51, 0.9));
    backdrop-filter: blur(10px);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

    .header-slider .swiper-button-next:after,
    .header-slider .swiper-button-prev:after {
        font-size: 1.5rem;
        color: white;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .header-slider .swiper-button-next:hover,
    .header-slider .swiper-button-prev:hover {
        background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
        transform: scale(1.15) translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.6);
    }

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid var(--border-color);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    flex: 1;
    position: relative;
}

    .mobile-nav-item.active {
        color: var(--accent-color);
    }

    .mobile-nav-item:hover {
        color: var(--accent-color);
    }

.nav-icon {
    font-size: 1.4rem;
    margin-bottom: 5px;
    position: relative;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 500;
}

.nav-badge {
    position: absolute;
    top: -7px;
    left: -9px;
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    color: #0f3d1a;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 8px rgba(212, 150, 15, 0.5);
    border: 2px solid white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

    .mobile-menu.active {
        right: 0;
    }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu-list {
    list-style: none;
}

    .mobile-menu-list li {
        margin-bottom: 5px;
    }

    .mobile-menu-list a {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        color: var(--text-color);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s;
    }

        .mobile-menu-list a:hover {
            background: var(--primary-color);
            color: var(--accent-color);
        }

    .mobile-menu-list i {
        width: 24px;
        text-align: center;
        font-size: 1.1rem;
        margin-left: 10px;
    }

.mobile-submenu {
    display: none;
    margin-right: 20px;
    margin-top: 5px;
    border-right: 2px solid var(--accent-color);
}

    .mobile-submenu.active {
        display: block;
    }

    .mobile-submenu a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .mobile-submenu i {
        font-size: 0.9rem;
    }

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    text-align: right;
    font-size: 1rem;
    padding: 12px 15px;
    border-radius: 8px;
}

    .mobile-menu-toggle:hover {
        background: var(--primary-color);
        color: var(--accent-color);
    }

    .mobile-menu-toggle i:last-child {
        transition: transform 0.3s ease;
        font-size: 0.9rem;
    }

    .mobile-menu-toggle.active i:last-child {
        transform: rotate(180deg);
    }

/* Products Slider */
.products-slider {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-dark);
    font-size: 2rem;
    position: relative;
    padding-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

    .section-title i.fa-leaf,
    .section-title .title-leaf {
        color: var(--accent-color);
        font-size: 1.1rem;
        margin-left: 10px;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 56px;
        height: 4px;
        background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
        border-radius: 50px;
    }

    .section-title::before {
        content: '';
        position: absolute;
        bottom: -1px;
        right: 50%;
        transform: translateX(50%);
        width: 10px;
        height: 10px;
        background: var(--accent-color);
        border-radius: 50%;
        box-shadow: 0 0 0 4px rgba(212, 150, 15, 0.15);
    }

.products-swiper-container {
    position: relative;
    padding: 0 60px;
}

.product-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    border: 1px solid var(--border-color);
    position: relative;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(28, 138, 53, 0.2);
    }

.product-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        transition: transform 0.4s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.02);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: .70rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s;
    line-height: 1.4;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card:hover .product-title {
    color: var(--accent-color);
}

.product-description {
  margin-bottom: 5px;
  overflow: hidden;
}

.product-price {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

    .product-price i {
        margin-left: 5px;
        font-size: 0.9rem;
    }

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.product-btn {
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .product-btn:hover {
        background-color: var(--accent-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(212, 150, 15, 0.3);
    }

    .product-btn i {
        margin-left: 5px;
    }

    .product-btn.secondary {
        background-color: transparent;
        color: var(--secondary-color);
        border: 1px solid var(--secondary-color);
    }

        .product-btn.secondary:hover {
            background-color: var(--secondary-color);
            color: white;
            border-color: var(--secondary-color);
        }

/* Beautiful Product Slider Navigation */
.products-swiper-container .swiper-button-next,
.products-swiper-container .swiper-button-prev {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--border-color);
    top: 50%;
    transform: translateY(-50%);
}

.products-swiper-container .swiper-button-next {
    left: 0;
    right: auto;
}

.products-swiper-container .swiper-button-prev {
    right: 0;
    left: auto;
}

    .products-swiper-container .swiper-button-next:after,
    .products-swiper-container .swiper-button-prev:after {
        font-size: 1.5rem;
        color: var(--secondary-color);
        font-weight: bold;
    }

    .products-swiper-container .swiper-button-next:hover,
    .products-swiper-container .swiper-button-prev:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-50%) scale(1.15);
        box-shadow: 0 15px 40px rgba(212, 150, 15, 0.3);
        border-color: var(--accent-color);
    }

        .products-swiper-container .swiper-button-next:hover:after,
        .products-swiper-container .swiper-button-prev:hover:after {
            color: white;
        }

/* Remove pagination from products slider */
.productsSwiper .swiper-pagination {
    display: none;
}

/* Blog Section - Updated for Swiper */
.blog-section {
    padding: 60px 0;
}

.blog-swiper-container {
    position: relative;
    padding: 0 60px;
}

.blog-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.blog-image {
    height: 200px;
    position: relative;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #666;
}

    .blog-meta i {
        margin-left: 5px;
        color: var(--accent-color);
        font-size: 0.9rem;
    }

.blog-date {
    margin-left: 15px;
}

.blog-title {
    font-size: .65rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.4;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card:hover .blog-title {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: .70rem;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: match-parent;
}

.blog-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    font-size: 0.85rem;
}

    .blog-link:hover {
        color: var(--secondary-color);
    }

    .blog-link i {
        margin-right: 5px;
        transition: transform 0.3s;
        font-size: 0.9rem;
    }

    .blog-link:hover i {
        transform: translateX(-5px);
    }

/* Beautiful Blog Slider Navigation */
.blog-swiper-container .swiper-button-next,
.blog-swiper-container .swiper-button-prev {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--border-color);
    top: 50%;
    transform: translateY(-50%);
}

.blog-swiper-container .swiper-button-next {
    left: 0;
    right: auto;
}

.blog-swiper-container .swiper-button-prev {
    right: 0;
    left: auto;
}

    .blog-swiper-container .swiper-button-next:after,
    .blog-swiper-container .swiper-button-prev:after {
        font-size: 1.5rem;
        color: var(--secondary-color);
        font-weight: bold;
    }

    .blog-swiper-container .swiper-button-next:hover,
    .blog-swiper-container .swiper-button-prev:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-50%) scale(1.15);
        box-shadow: 0 15px 40px rgba(212, 150, 15, 0.3);
        border-color: var(--accent-color);
    }

        .blog-swiper-container .swiper-button-next:hover:after,
        .blog-swiper-container .swiper-button-prev:hover:after {
            color: white;
        }

/* Remove pagination from blog slider */
.blogSwiper .swiper-pagination {
    display: none;
}

/* Floating Contact Button - Show on both desktop and mobile */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 997;
}

.contact-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #2fad4a);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(28, 138, 53, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

    .contact-main-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(28, 138, 53, 0.5);
    }

    .contact-main-btn i {
        transition: transform 0.3s ease;
    }

.floating-contact.active .contact-main-btn i {
    transform: rotate(45deg);
}

.contact-buttons {
    position: absolute;
    bottom: 70px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.floating-contact.active .contact-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

    .contact-btn:hover {
        transform: translateY(-3px);
    }

    .contact-btn.whatsapp {
        background-color: #25D366;
    }

    .contact-btn.telegram {
        background-color: #0088cc;
    }

    .contact-btn.instagram {
        background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    }

    .contact-btn.phone {
        background-color: var(--accent-color);
    }

.contact-tooltip {
    position: absolute;
    left: 60px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-btn:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    left: 70px;
}

/* Footer */
footer {
    background: linear-gradient(160deg, #0f3d1a 0%, #1a4d24 55%, #0f3d1a 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #1c8a35, #d4960f, #1c8a35);
        background-size: 200% 100%;
    }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background-color: var(--accent-color);
        border-radius: 2px;
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
    }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-right: 5px;
        }

        .footer-links a i {
            margin-left: 8px;
            font-size: 0.8rem;
        }

.contact-info {
    list-style: none;
}

    .contact-info li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
    }

    .contact-info i {
        color: var(--accent-color);
        margin-left: 10px;
        margin-top: 5px;
        min-width: 20px;
        font-size: 1rem;
    }

    .contact-info span {
        line-height: 1.5;
    }

.social-links {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: white;
        border-radius: 50%;
        transition: all 0.3s;
        font-size: 1.1rem;
    }

        .social-links a:hover {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            color: #0f3d1a;
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(212, 150, 15, 0.35);
        }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top Button - Desktop: 30px, Mobile: 90px */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

    .scroll-to-top.active {
        opacity: 1;
        visibility: visible;
    }

    .scroll-to-top:hover {
        background-color: #c47f05;
        transform: translateY(-3px);
    }

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .products-swiper-container,
    .blog-swiper-container {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 110px;
    }

    .header-slider .swiper-button-next,
    .header-slider .swiper-button-prev {
        width: 60px;
        height: 60px;
    }

    .fixed-sample-btn-desktop {
         
    }

    .fixed-sample-btn-mobile {
        display: none;
    }

    .products-swiper-container,
    .blog-swiper-container {
        padding: 0 40px;
    }

    .products-slider,
    .blog-section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    .logo img {
        height: 50px;
    }
    /* در موبایل: دکمه منو سمت چپ، لوگو سمت راست */
    .header-main .container {
        justify-content: space-between;
    }
    /* دکمه منو سمت چپ */
    .nav-toggle {
        display: block;
        order: 1;
        margin-right: auto;
        margin-left: 0;
    }
    /* لوگوی اصلی - همیشه نمایش داده شود */
    .logo.upper-logo {
        order: 0;
        position: relative;
        left: 0;
        transform: none;
        display: flex !important;
        margin-left: auto;
        margin-right: 0;
    }
    /* لوگوی داخل ناوبری را در موبایل مخفی کن */
    .logo.nav-logo {
        display: none !important;
    }
    /* دکمه نمونه رایگان در ناوبری مخفی */
    .nav-sample-btn {
        display: none !important;
    }
    /* در موبایل وقتی اسکرول می‌کنیم، کلاس scrolled را اعمال نکن */
    header.scrolled .logo.upper-logo {
        display: flex !important;
    }

    header.scrolled .logo.nav-logo {
        display: none !important;
    }

    header.scrolled .nav-sample-btn {
        display: none !important;
    }

    .main-menu {
        display: none;
    }

    nav {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .header-slider .swiper-button-next,
    .header-slider .swiper-button-prev {
        display: none;
    }

    .header-slider .swiper-pagination-bullet {
        width: 20px;
        height: 20px;
    }

    .header-slider .swiper-pagination-bullet-active {
        width: 30px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    /* Product slider adjustments for mobile */
    .products-swiper-container,
    .blog-swiper-container {
        padding: 0 15px;
    }

        .products-swiper-container .swiper-button-next,
        .products-swiper-container .swiper-button-prev,
        .blog-swiper-container .swiper-button-next,
        .blog-swiper-container .swiper-button-prev {
            width: 50px;
            height: 50px;
        }
    /* Position adjustments for mobile */
    .fixed-sample-btn-mobile {
        bottom: 90px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .floating-contact {
        left: 15px;
        bottom: 90px;
    }

    .contact-main-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .scroll-to-top {
        bottom: 90px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-slider,
    .blog-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }

    .logo img {
        height: 40px;
    }

    .nav-toggle {
        width: 45px;
        height: 35px;
    }

    .header-slider .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        margin: 0 6px !important;
    }

    .header-slider .swiper-pagination-bullet-active {
        width: 24px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .products-swiper-container .swiper-button-next,
    .products-swiper-container .swiper-button-prev,
    .blog-swiper-container .swiper-button-next,
    .blog-swiper-container .swiper-button-prev {
        width: 45px;
        height: 45px;
    }

        .products-swiper-container .swiper-button-next:after,
        .products-swiper-container .swiper-button-prev:after,
        .blog-swiper-container .swiper-button-next:after,
        .blog-swiper-container .swiper-button-prev:after {
            font-size: 1.2rem;
        }

    .fixed-sample-btn-mobile {
        bottom: 90px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .floating-contact {
        left: 10px;
        bottom: 90px;
    }

    .contact-main-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .scroll-to-top {
        bottom: 90px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .products-slider,
    .blog-section {
        padding: 30px 0;
    }

    .product-title,
    .blog-title {
        font-size: 1rem;
    }

    .product-description,
    .blog-excerpt {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    .mobile-menu-overlay, .mobile-menu {
        display: none !important;
    }

    .nav-toggle {
        display: none !important;
    }

    .main-menu {
        display: flex !important;
    }

    nav {
        display: block;
    }

    .fixed-sample-btn-mobile {
        display: none !important;
    }

    .floating-contact {
        display: block !important;
        bottom: 30px !important;
    }

    .scroll-to-top {
        bottom: 30px !important;
    }
}



/* About & Contact Pages Styles */
.page-hero {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 55%, #2fad4a 100%);
    color: white;
    padding: 110px 0 70px;
    margin-top: -20px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 40px;
    }
}

/* بافت ردیف‌های مزرعه - الهام از خطوط شخم */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient( 115deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 46px );
    opacity: 0.5;
    pointer-events: none;
}

/* درخشش طلایی - الهام از خوشه‌ گندم */
.page-hero::after {
    content: '';
    position: absolute;
    top: -35%;
    left: -10%;
    width: 55%;
    height: 140%;
    background: radial-gradient(circle, rgba(212,150,15,0.22) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(15, 61, 26, 0.35);
}

    .page-hero h1::before {
        content: '\f06c';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        display: block;
        font-size: 1.5rem;
        color: var(--accent-light);
        margin-bottom: 14px;
        opacity: 0.9;
    }

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 20px;
    font-size: 0.9rem;
}

    .breadcrumb li {
        margin: 0 5px;
    }

        .breadcrumb li a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: color 0.3s;
        }

            .breadcrumb li a:hover {
                color: var(--accent-color);
            }

        .breadcrumb li.active {
            color: var(--accent-color);
        }

        .breadcrumb li.separator {
            color: rgba(255, 255, 255, 0.5);
        }

/* About Page Content */
.about-content {
    padding: 80px 0;
}

.section-title-about {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

    .section-title-about::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
        border-radius: 2px;
    }

.about-intro {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .about-intro {
        flex-direction: column;
        gap: 30px;
    }
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.about-text {
    flex: 1;
}

    .about-text h2 {
        color: var(--secondary-color);
        margin-bottom: 20px;
        font-size: 1.8rem;
    }

    .about-text p {
        color: var(--text-color);
        line-height: 1.8;
        margin-bottom: 20px;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

    .feature-card:hover {
        transform: translateY(-10px);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

    .contact-info-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-color);
    line-height: 1.6;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

    .contact-form-card h2 {
        color: var(--secondary-color);
        margin-bottom: 30px;
        font-size: 1.8rem;
        text-align: center;
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--secondary-color);
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--primary-color);
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(212, 150, 15, 0.1);
    }

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
}

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 20px rgba(212, 150, 15, 0.3);
    }

.map-container {
    margin-top: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

    .map-container iframe {
        width: 100%;
        height: 400px;
        border: none;
        display: block;
    }

/* Working Hours */
.working-hours {
    margin-top: 40px;
}

    .working-hours h3 {
        color: var(--secondary-color);
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

.hours-list {
    list-style: none;
}

    .hours-list li {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
    }

        .hours-list li:last-child {
            border-bottom: none;
        }

    .hours-list .day {
        font-weight: 500;
    }

/* Responsive Styles for About & Contact */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        padding: 50px 0;
    }

    .section-title-about {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 25px;
    }

    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .about-content,
    .contact-content {
        padding: 40px 0;
    }

    .contact-grid {
        gap: 20px;
    }
}
/* Blog Categories Menu Styles */
.blog-menu-desktop {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.blog-categories-mobile .dropdown-menu {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.blog-categories-mobile .dropdown-item {
    padding: 10px 20px;
    color: var(--text-color);
    transition: all 0.3s;
    border-radius: 5px;
    margin: 2px 10px;
}

    .blog-categories-mobile .dropdown-item:hover {
        background-color: var(--primary-color);
        color: var(--accent-color);
    }

    .blog-categories-mobile .dropdown-item.active {
        background-color: var(--accent-color);
        color: white;
    }

.blog-categories-mobile .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-color);
    border-radius: 10px;
    padding: 10px 20px;
}

    .blog-categories-mobile .btn-outline-secondary:hover {
        background-color: var(--primary-color);
        border-color: var(--accent-color);
        color: var(--accent-color);
    }
/* Blog Page Styles */
.blog-content {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.blog-search {
    position: relative;
}

.search-box {
    position: relative;
    display: flex;
}

    .search-box input {
        padding-right: 50px;
        border-radius: 25px 0 0 25px;
        border: 2px solid var(--border-color);
        border-left: none;
        height: 45px;
        font-size: 0.9rem;
    }

.search-btn {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    width: 50px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s;
}

    .search-btn:hover {
        background: linear-gradient(135deg, #e6ad3a, var(--accent-color));
    }

/* Categories Menu */
.blog-categories-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 10px;
}

    .blog-categories-list li {
        margin: 0;
    }

        .blog-categories-list li a {
            display: inline-block;
            padding: 8px 20px;
            background: white;
            color: var(--text-color);
            text-decoration: none;
            border-radius: 25px;
            border: 1px solid var(--border-color);
            transition: all 0.3s;
            font-size: 0.85rem;
            font-weight: 500;
        }

            .blog-categories-list li.active a,
            .blog-categories-list li a:hover {
                background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
                color: white;
                border-color: var(--accent-color);
            }

/* Blog Card Styles */
.blog-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
    height: 100%;
}

    .blog-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.blog-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #666;
}

    .blog-meta i {
        margin-left: 5px;
        color: var(--accent-color);
        font-size: 0.9rem;
    }

.blog-title {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.4;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card:hover .blog-title {
    color: var(--accent-color);
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

    .blog-title a:hover {
        color: var(--accent-color);
    }

.blog-excerpt {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.85rem;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.blog-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    font-size: 0.85rem;
}

    .blog-link:hover {
        color: var(--secondary-color);
    }

    .blog-link i {
        margin-right: 5px;
        transition: transform 0.3s;
        font-size: 0.9rem;
    }

    .blog-link:hover i {
        transform: translateX(-5px);
    }

.blog-read-time {
    font-size: 0.8rem;
    color: #666;
}

/* Loading Animation */
#loading-indicator {
    display: none;
}

    #loading-indicator .spinner-border {
        width: 3rem;
        height: 3rem;
        color: var(--accent-color);
    }

/* Pagination Styles */
.blog-pagination .pagination {
    margin-bottom: 0;
}

.blog-pagination .page-item .page-link {
    border: 1px solid var(--border-color);
    color: var(--text-color);
    margin: 0 3px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    border-color: var(--accent-color);
    color: white;
}

.blog-pagination .page-item .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Mobile Dropdown Menu */
.dropdown-menu {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--text-color);
    transition: all 0.3s;
}

    .dropdown-item:hover,
    .dropdown-item.active {
        background-color: var(--primary-color);
        color: var(--accent-color);
    }

/* Responsive Styles */
@media (max-width: 992px) {
    .blog-content {
        padding: 40px 0;
    }

    .blog-image {
        height: 180px;
    }

    .blog-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .blog-header {
        margin-bottom: 30px;
    }

    .section-title-about {
        font-size: 1.5rem;
    }

    .blog-categories-list {
        justify-content: center;
    }

    .blog-image {
        height: 160px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-pagination .page-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .blog-content {
        padding: 30px 0;
    }

    .blog-image {
        height: 140px;
    }

    .blog-card {
        margin-bottom: 20px;
    }

    .blog-pagination .page-link {
        padding: 5px 10px;
        font-size: 0.8rem;
        margin: 0 2px;
    }

    .blog-categories-list {
        gap: 5px;
    }

        .blog-categories-list li a {
            padding: 6px 12px;
            font-size: 0.8rem;
        }
}
/* Blog Page Main Styles */
.blog-content-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

/* Sidebar Styles */
.blog-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.sidebar-search .input-group {
    display: flex;
}

.sidebar-search input {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--border-color);
    border-left: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    flex: 1;
}

.sidebar-search .btn-search {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.3s;
}

    .sidebar-search .btn-search:hover {
        background: linear-gradient(135deg, #e6ad3a, var(--accent-color));
    }

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .category-list li {
        margin-bottom: 8px;
    }

        .category-list li a {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            color: var(--text-color);
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

            .category-list li a:hover,
            .category-list li.active a {
                background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
                color: white;
                transform: translateX(-5px);
            }

            .category-list li a i {
                width: 20px;
                text-align: center;
                margin-left: 10px;
            }

        .category-list li .count {
            margin-right: auto;
            font-size: 0.8rem;
            opacity: 0.8;
        }

/* Mobile Accordion */
.accordion-button {
    background: linear-gradient(135deg, var(--secondary-color), #2fad4a);
    color: white;
    font-weight: 600;
}

    .accordion-button:not(.collapsed) {
        background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    }

/* Blog Grid */
.blog-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.search-result-info {
    color: var(--text-color);
    font-size: 1rem;
}

/* Blog Post Card */
.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
    height: 100%;
}

    .blog-post-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #666;
}

    .post-meta i {
        color: var(--accent-color);
    }

.post-title {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.4;
    height: 2.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .post-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s;
    }

.blog-post-card:hover .post-title a {
    color: var(--accent-color);
}

.post-excerpt {
    color: var(--text-color);
    line-height: 1.4;
    font-size: 0.85rem;
    margin-bottom: 20px;
    height: 4.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

    .read-more:hover {
        color: var(--secondary-color);
    }

    .read-more i {
        transition: transform 0.3s;
    }

    .read-more:hover i {
        transform: translateX(-5px);
    }

.read-time {
    font-size: 0.8rem;
    color: #666;
}

    .read-time i {
        color: var(--accent-color);
    }

/* No Results */
.no-results {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
    color: var(--border-color);
}

/* Loading Indicator */
#loading-indicator .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--accent-color);
}

/* Pagination */
.blog-pagination .page-link {
    border: 1px solid var(--border-color);
    color: var(--text-color);
    margin: 0 3px;
    border-radius: 8px;
    transition: all 0.3s;
}

.blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    border-color: var(--accent-color);
    color: white;
}

.blog-pagination .page-item .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-post-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .blog-content-section {
        padding: 40px 0;
    }

    .blog-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .post-image {
        height: 180px;
    }

    .page-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .blog-content-section {
        padding: 30px 0;
    }

    .blog-sidebar {
        padding: 20px;
    }

    .post-image {
        height: 160px;
    }

    .post-content {
        padding: 20px;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .category-list li a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .post-image {
        height: 140px;
    }

    .blog-pagination .page-link {
        padding: 6px 10px;
        font-size: 0.85rem;
        margin: 0 2px;
    }
}


/* Blog Detail Section */
.blog-detail-section {
    padding: 60px 0;
    background-color: var(--primary-color);
}

/* Article Styles */
.blog-detail-article {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.article-meta {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.meta-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

    .meta-items span {
        display: flex;
        align-items: center;
        color: #666;
        font-size: 0.9rem;
    }

    .meta-items i {
        color: var(--accent-color);
        margin-left: 5px;
        font-size: 0.9rem;
    }

.meta-category a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

    .meta-category a:hover {
        color: var(--accent-color);
    }

.article-title {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

    .article-featured-image img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

    .article-featured-image:hover img {
        transform: scale(1.02);
    }

.article-abstract {
    background: var(--primary-color);
    border-right: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.abstract-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-content {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
}

    .article-content h2,
    .article-content h3,
    .article-content h4 {
        color: var(--secondary-color);
        margin: 25px 0 15px;
        font-weight: 600;
    }

    .article-content h2 {
        font-size: 1.8rem;
    }

    .article-content h3 {
        font-size: 1.5rem;
    }

    .article-content h4 {
        font-size: 1.3rem;
    }

    .article-content p {
        margin-bottom: 20px;
        text-align: justify;
    }

    .article-content ul,
    .article-content ol {
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .article-content li {
        margin-bottom: 10px;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin: 20px 0;
    }

.article-tags {
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tags-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .tags-title i {
        margin-left: 10px;
        color: var(--accent-color);
    }

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

    .tag:hover {
        background: var(--accent-color);
        color: white;
        border-color: var(--accent-color);
        transform: translateY(-2px);
    }

.article-author {
    display: flex;
    align-items: center;
    background: var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.author-avatar {
    margin-left: 20px;
}

    .author-avatar img {
        width: 80px;
        height: 80px;
        border: 3px solid white;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

.author-info {
    flex: 1;
}

.author-name {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.author-bio {
    color: #666;
    font-size: 0.9rem;
}

.article-share {
    padding: 25px;
    background: var(--primary-color);
    border-radius: 10px;
    text-align: center;
}

.share-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
}

    .share-btn:hover {
        transform: translateY(-3px);
    }

    .share-btn.facebook {
        background: #1877F2;
    }

    .share-btn.twitter {
        background: #1DA1F2;
    }

    .share-btn.linkedin {
        background: #0077B5;
    }

    .share-btn.whatsapp {
        background: #25D366;
    }

    .share-btn.telegram {
        background: #0088cc;
    }

/* Related Posts */
.related-posts {
    margin-bottom: 40px;
}

.section-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
        border-radius: 2px;
    }

.related-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

    .related-post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }

.related-post-image {
    height: 150px;
    overflow: hidden;
}

    .related-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

    .related-post-title a {
        color: var(--secondary-color);
        text-decoration: none;
        transition: color 0.3s;
    }

        .related-post-title a:hover {
            color: var(--accent-color);
        }

.related-post-meta {
    font-size: 0.8rem;
    color: #666;
}

.related-post-date i {
    color: var(--accent-color);
    margin-left: 5px;
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.no-comments {
    color: #666;
}

.comment-form {
    margin-top: 30px;
}

.form-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: var(--secondary-color);
        font-weight: 500;
    }

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(212, 150, 15, 0.1);
    }

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(212, 150, 15, 0.3);
    }

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.widget-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

    .widget-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background-color: var(--accent-color);
        border-radius: 2px;
    }

.search-form .input-group {
    display: flex;
}

.search-form input {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--border-color);
    border-left: none;
    padding: 12px 20px;
    flex: 1;
}

.search-form .btn-search {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s;
}

    .search-form .btn-search:hover {
        background: linear-gradient(135deg, #e6ad3a, var(--accent-color));
    }

/* Recent Posts */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

    .recent-post-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

.recent-post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

    .recent-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

    .recent-post-title a {
        color: var(--secondary-color);
        text-decoration: none;
        transition: color 0.3s;
    }

        .recent-post-title a:hover {
            color: var(--accent-color);
        }

.recent-post-date {
    font-size: 0.8rem;
    color: #666;
}

    .recent-post-date i {
        color: var(--accent-color);
        margin-left: 5px;
    }

/* Advertisement */
.ad-banner {
    border-radius: 10px;
    overflow: hidden;
}

    .ad-banner img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

    .ad-banner:hover img {
        transform: scale(1.02);
    }

/* Responsive */
@media (max-width: 992px) {
    .blog-detail-section {
        padding: 40px 0;
    }

    .blog-detail-article {
        padding: 30px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .meta-items {
        gap: 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .comments-section {
        padding: 30px;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .blog-detail-section {
        padding: 30px 0;
    }

    .blog-detail-article {
        padding: 25px;
    }

    .article-title {
        font-size: 1.4rem;
    }

    .meta-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-author {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .author-avatar {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .comments-section {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .blog-detail-article {
        padding: 20px;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .article-content h4 {
        font-size: 1.1rem;
    }

    .tags-list {
        gap: 5px;
    }

    .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/*Product Page*/

/* Product Page Modern Styles */
:root {
    --product-primary: #1c8a35;
    --product-accent: #d4960f;
    --product-success: #28a745;
    --product-danger: #dc3545;
    --product-warning: #ffc107;
    --product-light: #f8f9fa;
    --product-dark: #1a1410;
    --product-border: #e9ecef;
    --product-text: #495057;
    --product-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --product-radius: 12px;
    --product-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-page-wrapper {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Breadcrumb Modern */
.product-breadcrumb-modern {
    background: white;
    padding: 16px 24px;
    border-radius: var(--product-radius);
    box-shadow: var(--product-shadow);
    margin-bottom: 30px;
    border: 1px solid var(--product-border);
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .breadcrumb-modern li {
        display: flex;
        align-items: center;
        font-size: 14px;
    }

        .breadcrumb-modern li a {
            color: var(--product-text);
            text-decoration: none;
            transition: var(--product-transition);
            padding: 4px 8px;
            border-radius: 6px;
        }

            .breadcrumb-modern li a:hover {
                color: var(--product-accent);
                background: rgba(212, 150, 15, 0.05);
            }

        .breadcrumb-modern li.active a {
            color: var(--product-accent);
            font-weight: 600;
        }

.breadcrumb-separator {
    color: var(--product-border);
    margin: 0 4px;
}

/* Product Main Grid */
.product-main-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    .product-main-container {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Gallery Modern */
.product-gallery-modern {
    background: white;
    border-radius: var(--product-radius);
    overflow: hidden;
    box-shadow: var(--product-shadow);
    border: 1px solid var(--product-border);
}

.gallery-main {
    position: relative;
    height: 500px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .gallery-main img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: var(--product-transition);
    }

.gallery-thumbs {
    padding: 15px;
    background: white;
    border-top: 1px solid var(--product-border);
}

.thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--product-transition);
    opacity: 0.6;
}

    .thumb-item:hover,
    .thumb-item.active {
        opacity: 1;
        border-color: var(--product-accent);
        transform: translateY(-2px);
    }

    .thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Product Info Modern */
.product-info-modern {
    background: white;
    border-radius: var(--product-radius);
    padding: 30px;
    box-shadow: var(--product-shadow);
    border: 1px solid var(--product-border);
    position: sticky;
    top: 100px;
}

/* Product Header */
.product-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--product-border);
}

.product-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--product-primary), #2fad4a);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-title-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--product-primary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-model {
    color: var(--product-text);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .product-model i {
        color: var(--product-accent);
    }

/* Rating Modern */
.rating-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stars-modern {
    display: flex;
    gap: 2px;
}

.star-modern {
    color: var(--product-warning);
    font-size: 18px;
}

    .star-modern.empty {
        color: #e4e5e9;
    }

.rating-text {
    color: var(--product-text);
    font-size: 14px;
}

    .rating-text strong {
        color: var(--product-primary);
    }

/* Price Section Modern */
.price-section-modern {
    background: linear-gradient(135deg, #f8fafc, #e9ecef);
    padding: 25px;
    border-radius: var(--product-radius);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

    .price-section-modern::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, rgba(212, 150, 15, 0.1), transparent);
        border-radius: 0 0 0 100px;
    }

.price-final {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--product-accent);
    line-height: 1;
}

.price-currency {
    color: var(--product-text);
    font-size: 16px;
}

.price-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.original-amount {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 18px;
    font-weight: 500;
}

.discount-badge-modern {
    background: var(--product-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stock-status-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.stock-available {
    color: var(--product-success);
}

.stock-unavailable {
    color: var(--product-danger);
}
/* Product Page Modern Styles */
:root {
    --product-primary: #1c8a35;
    --product-accent: #d4960f;
    --product-success: #28a745;
    --product-danger: #dc3545;
    --product-warning: #ffc107;
    --product-light: #f8f9fa;
    --product-dark: #1a1410;
    --product-border: #e9ecef;
    --product-text: #495057;
    --product-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --product-radius: 12px;
    --product-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-page-wrapper {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Breadcrumb Modern */
.product-breadcrumb-modern {
    background: white;
    padding: 16px 24px;
    border-radius: var(--product-radius);
    box-shadow: var(--product-shadow);
    margin-bottom: 30px;
    border: 1px solid var(--product-border);
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .breadcrumb-modern li {
        display: flex;
        align-items: center;
        font-size: 14px;
    }

        .breadcrumb-modern li a {
            color: var(--product-text);
            text-decoration: none;
            transition: var(--product-transition);
            padding: 4px 8px;
            border-radius: 6px;
        }

            .breadcrumb-modern li a:hover {
                color: var(--product-accent);
                background: rgba(212, 150, 15, 0.05);
            }

        .breadcrumb-modern li.active a {
            color: var(--product-accent);
            font-weight: 600;
        }

.breadcrumb-separator {
    color: var(--product-border);
    margin: 0 4px;
}

/* Product Main Grid */
.product-main-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    .product-main-container {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Gallery Modern */
.product-gallery-modern {
    background: white;
    border-radius: var(--product-radius);
    overflow: hidden;
    box-shadow: var(--product-shadow);
    border: 1px solid var(--product-border);
    position: relative;
}

.gallery-main {
    position: relative;
    height: 500px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .gallery-main img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: var(--product-transition);
    }

.zoom-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--product-transition);
    z-index: 10;
}

    .zoom-btn:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }

/* Zoom Modal */
.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .zoom-modal.active {
        display: flex;
    }

.zoom-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
}

.zoom-close-btn {
    position: absolute;
    top: -40px;
    left: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.zoom-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .zoom-image-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.gallery-thumbs {
    padding: 15px;
    background: white;
    border-top: 1px solid var(--product-border);
}

.thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--product-transition);
    opacity: 0.6;
}

    .thumb-item:hover,
    .thumb-item.active {
        opacity: 1;
        border-color: var(--product-accent);
        transform: translateY(-2px);
    }

    .thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Product Info Modern */
.product-info-modern {
    background: white;
    border-radius: var(--product-radius);
    padding: 30px;
    box-shadow: var(--product-shadow);
    border: 1px solid var(--product-border);
    position: sticky;
    top: 100px;
}

/* Product Header */
.product-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--product-border);
}

.product-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--product-primary), #2fad4a);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

    .product-category-badge a {
        color: #fff;
    }

.product-title-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--product-primary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-model {
    color: var(--product-text);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .product-model i {
        color: var(--product-accent);
    }

/* Rating Modern */
.rating-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stars-modern {
    display: flex;
    gap: 2px;
}

    .stars-modern i {
        color: var(--product-warning);
        font-size: 18px;
    }

        .stars-modern i.far {
            color: #e4e5e9;
        }

.rating-text {
    color: var(--product-text);
    font-size: 14px;
}

    .rating-text strong {
        color: var(--product-primary);
    }

/* Price Section Modern */
.price-section-modern {
    background: linear-gradient(135deg, #f8fafc, #e9ecef);
    padding: 25px;
    border-radius: var(--product-radius);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

    .price-section-modern::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, rgba(212, 150, 15, 0.1), transparent);
        border-radius: 0 0 0 100px;
    }

.price-final {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--product-accent);
    line-height: 1;
}

.price-currency {
    color: var(--product-text);
    font-size: 16px;
}

.price-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.original-amount {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 18px;
    font-weight: 500;
}

.discount-badge-modern {
    background: var(--product-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stock-status-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.stock-available {
    color: var(--product-success);
}

.stock-unavailable {
    color: var(--product-danger);
}

/* Quantity Discount Tiers Modern */
.discount-tiers-modern {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: var(--product-radius);
    border: 2px solid var(--product-border);
    position: relative;
    overflow: hidden;
}

    .discount-tiers-modern::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, rgba(28, 138, 53, 0.05), transparent);
        border-radius: 0 0 0 80px;
    }

.tiers-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--product-primary);
    font-size: 18px;
    font-weight: 600;
}

    .tiers-title i {
        color: var(--product-accent);
    }

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.tier-card {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #e9ecef);
    border-radius: 10px;
    border-left: 4px solid var(--product-accent);
    transition: var(--product-transition);
    position: relative;
    overflow: hidden;
}

    .tier-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(212, 150, 15, 0.05), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .tier-card:hover::before {
        opacity: 1;
    }

    .tier-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .tier-card.active {
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), #f8fafc);
        border-color: var(--product-success);
        box-shadow: 0 5px 20px rgba(40, 167, 69, 0.15);
    }

        .tier-card.active .tier-discount {
            background: var(--product-success);
        }

.tier-range {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--product-primary);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

    .tier-range i {
        color: var(--product-accent);
    }

.tier-prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.tier-original {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 14px;
}

.tier-final {
    color: var(--product-accent);
    font-size: 20px;
    font-weight: 700;
}

.tier-discount {
    background: var(--product-accent);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* Product Options Modern */
.options-modern {
    margin: 25px 0;
}

.option-label-modern {
    display: block;
    color: var(--product-primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

.option-select-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--product-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--product-text);
    background: white;
    transition: var(--product-transition);
    cursor: pointer;
}

    .option-select-modern:focus {
        outline: none;
        border-color: var(--product-accent);
        box-shadow: 0 0 0 3px rgba(212, 150, 15, 0.1);
    }

/* Quantity Selector Modern */
.quantity-modern {
    margin: 25px 0;
    padding: 20px;
    background: white;
    border-radius: var(--product-radius);
    border: 2px solid var(--product-border);
}

.quantity-label-modern {
    display: block;
    color: var(--product-primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid var(--product-border);
    background: white;
    color: var(--product-text);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--product-transition);
}

    .quantity-btn:hover {
        border-color: var(--product-accent);
        background: var(--product-accent);
        color: white;
        transform: scale(1.05);
    }

    .quantity-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none !important;
    }

.quantity-input-modern {
    width: 80px;
    height: 48px;
    text-align: center;
    border: 2px solid var(--product-border);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--product-primary);
    background: white;
    transition: var(--product-transition);
}

    .quantity-input-modern:focus {
        outline: none;
        border-color: var(--product-accent);
        box-shadow: 0 0 0 3px rgba(212, 150, 15, 0.1);
    }

/* Add to Cart Button Modern */
.add-to-cart-modern {
    margin: 30px 0;
}

.btn-add-cart-modern {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--product-accent), #e6ad3a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--product-transition);
    position: relative;
    overflow: hidden;
}

    .btn-add-cart-modern:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(212, 150, 15, 0.3);
    }

    .btn-add-cart-modern:disabled {
        background: linear-gradient(135deg, #adb5bd, #6c757d);
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

    .btn-add-cart-modern::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: translateX(-100%);
    }

    .btn-add-cart-modern:hover::after {
        transform: translateX(100%);
        transition: transform 0.6s ease;
    }

/* Product Attributes Modern */
.attributes-modern {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--product-border);
}

.attributes-title {
    color: var(--product-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attributes-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.attribute-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-right: 3px solid var(--product-accent);
    transition: var(--product-transition);
}

    .attribute-item-modern:hover {
        transform: translateX(-5px);
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

.attribute-name-modern {
    color: var(--product-text);
    font-weight: 500;
    font-size: 14px;
}

.attribute-value-modern {
    color: var(--product-primary);
    font-weight: 600;
    font-size: 14px;
}

/* Product Tabs Modern */
.tabs-modern-container {
    background: white;
    border-radius: var(--product-radius);
    overflow: hidden;
    box-shadow: var(--product-shadow);
    margin-top: 40px;
    border: 1px solid var(--product-border);
}

.tabs-header-modern {
    display: flex;
    background: linear-gradient(135deg, #f8fafc, #e9ecef);
    border-bottom: 2px solid var(--product-border);
    overflow-x: auto;
    scrollbar-width: none;
}

    .tabs-header-modern::-webkit-scrollbar {
        display: none;
    }

.tab-btn-modern {
    padding: 18px 30px;
    background: none;
    border: none;
    color: var(--product-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--product-transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-width: 200px;
    justify-content: center;
}

    .tab-btn-modern:hover {
        color: var(--product-accent);
        background: rgba(212, 150, 15, 0.05);
    }

    .tab-btn-modern.active {
        color: var(--product-accent);
        background: white;
    }

        .tab-btn-modern.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--product-accent);
        }

.tab-badge {
    background: var(--product-accent);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.tabs-content-modern {
    padding: 40px;
}

.tab-pane-modern {
    display: none;
    animation: fadeInUp 0.5s ease;
}

    .tab-pane-modern.active {
        display: block;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Description Tab */
.description-content {
    line-height: 1.8;
    color: var(--product-text);
}

    .description-content h1,
    .description-content h2,
    .description-content h3,
    .description-content h4 {
        color: var(--product-primary);
        margin: 25px 0 15px;
        font-weight: 600;
    }

    .description-content h2 {
        font-size: 24px;
    }

    .description-content h3 {
        font-size: 20px;
    }

    .description-content p {
        margin-bottom: 20px;
        text-align: justify;
    }

    .description-content ul,
    .description-content ol {
        margin-right: 25px;
        margin-bottom: 20px;
    }

    .description-content li {
        margin-bottom: 10px;
        position: relative;
    }

        .description-content li::before {
            content: '›';
            color: var(--product-accent);
            font-weight: bold;
            position: absolute;
            right: -20px;
        }

    .description-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Specifications Tab */
.specs-table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

    .specs-table-modern thead {
        background: linear-gradient(135deg, var(--product-primary), #2fad4a);
    }

    .specs-table-modern th {
        color: white;
        font-weight: 600;
        padding: 18px 20px;
        text-align: right;
        font-size: 16px;
        border: none;
    }

    .specs-table-modern tbody tr {
        transition: var(--product-transition);
    }

        .specs-table-modern tbody tr:nth-child(even) {
            background: #f8fafc;
        }

        .specs-table-modern tbody tr:hover {
            background: rgba(212, 150, 15, 0.05);
            transform: translateX(-5px);
        }

    .specs-table-modern td {
        padding: 16px 20px;
        border-bottom: 1px solid var(--product-border);
        color: var(--product-text);
        font-size: 14px;
    }

        .specs-table-modern td:first-child {
            font-weight: 500;
            color: var(--product-primary);
            border-left: 3px solid var(--product-accent);
        }

/* Comments Tab */
.comments-modern-container {
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--product-transition);
}

    .loading-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--product-border);
    border-top-color: var(--product-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.toast-modern {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    transition: var(--product-transition);
    opacity: 0;
}

    .toast-modern.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    .toast-modern.success {
        border-right: 4px solid var(--product-success);
    }

    .toast-modern.error {
        border-right: 4px solid var(--product-danger);
    }

    .toast-modern.warning {
        border-right: 4px solid var(--product-warning);
    }

.toast-icon {
    font-size: 20px;
}

.toast-success .toast-icon {
    color: var(--product-success);
}

.toast-error .toast-icon {
    color: var(--product-danger);
}

.toast-warning .toast-icon {
    color: var(--product-warning);
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .product-title-main {
        font-size: 22px;
    }

    .price-amount {
        font-size: 28px;
    }

    .gallery-main {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .product-main-container {
        grid-template-columns: 1fr;
    }

    .product-info-modern {
        position: static;
    }

    .gallery-main {
        height: 350px;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-page-wrapper {
        padding: 20px 0 40px;
    }

    .product-title-main {
        font-size: 20px;
    }

    .price-amount {
        font-size: 24px;
    }

    .gallery-main {
        height: 300px;
    }

    .tab-btn-modern {
        min-width: 150px;
        padding: 15px 20px;
        font-size: 14px;
    }

    .tabs-content-modern {
        padding: 25px;
    }

    .attributes-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .product-title-main {
        font-size: 18px;
    }

    .price-amount {
        font-size: 22px;
    }

    .gallery-main {
        height: 250px;
    }

    .product-info-modern {
        padding: 20px;
    }

    .tab-btn-modern {
        min-width: 120px;
        padding: 12px 15px;
        font-size: 13px;
    }

    .tabs-content-modern {
        padding: 20px;
    }

    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .quantity-input-modern {
        width: 60px;
        height: 40px;
        font-size: 16px;
    }
}
/* Quantity Discount Tiers Modern */
.discount-tiers-modern {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: var(--product-radius);
    border: 2px solid var(--product-border);
    position: relative;
    overflow: hidden;
}

    .discount-tiers-modern::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, rgba(28, 138, 53, 0.05), transparent);
        border-radius: 0 0 0 80px;
    }

.tiers-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--product-primary);
    font-size: 18px;
    font-weight: 600;
}

    .tiers-title i {
        color: var(--product-accent);
    }

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.tier-card {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #e9ecef);
    border-radius: 10px;
    border-left: 4px solid var(--product-accent);
    transition: var(--product-transition);
    position: relative;
    overflow: hidden;
}

    .tier-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .tier-card.active {
        background: linear-gradient(135deg, rgba(212, 150, 15, 0.1), #f8fafc);
        border-color: var(--product-success);
    }

.tier-range {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--product-primary);
    font-weight: 600;
    font-size: 16px;
}

    .tier-range i {
        color: var(--product-accent);
    }

.tier-prices {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tier-original {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 14px;
}

.tier-final {
    color: var(--product-accent);
    font-size: 20px;
    font-weight: 700;
}

.tier-discount {
    background: var(--product-accent);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

/* Product Options Modern */
.options-modern {
    margin: 25px 0;
}

.option-label-modern {
    display: block;
    color: var(--product-primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

.option-select-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--product-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--product-text);
    background: white;
    transition: var(--product-transition);
    cursor: pointer;
}

    .option-select-modern:focus {
        outline: none;
        border-color: var(--product-accent);
        box-shadow: 0 0 0 3px rgba(212, 150, 15, 0.1);
    }

/* Quantity Selector Modern - فقط اگر موجود و قیمت دارد */
@if (showQuantityInput) {
    <text >
    .quantity-modern {
        margin: 25px 0;
        padding: 20px;
        background: white;
        border-radius: var(--product-radius);
        border: 2px solid var(--product-border);
    }

    .quantity-label-modern {
        display: block;
        color: var(--product-primary);
        font-weight: 600;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 15px;
        justify-content: center;
    }

    .quantity-btn {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        border: 2px solid var(--product-border);
        background: white;
        color: var(--product-text);
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--product-transition);
    }

        .quantity-btn:hover {
            border-color: var(--product-accent);
            background: var(--product-accent);
            color: white;
            transform: scale(1.05);
        }

        .quantity-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }

    .quantity-input-modern {
        width: 80px;
        height: 48px;
        text-align: center;
        border: 2px solid var(--product-border);
        border-radius: 12px;
        font-size: 18px;
        font-weight: 700;
        color: var(--product-primary);
        background: white;
        transition: var(--product-transition);
    }

        .quantity-input-modern:focus {
            outline: none;
            border-color: var(--product-accent);
            box-shadow: 0 0 0 3px rgba(212, 150, 15, 0.1);
        }

    </text>
}

/* Add to Cart Button Modern */
.add-to-cart-modern {
    margin: 30px 0;
}

.btn-add-cart-modern {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--product-accent), #e6ad3a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--product-transition);
    position: relative;
    overflow: hidden;
}

    .btn-add-cart-modern:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(212, 150, 15, 0.3);
    }

    .btn-add-cart-modern:disabled {
        background: linear-gradient(135deg, #adb5bd, #6c757d);
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

    .btn-add-cart-modern::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: translateX(-100%);
    }

    .btn-add-cart-modern:hover::after {
        transform: translateX(100%);
        transition: transform 0.6s ease;
    }

/* Product Attributes Modern */
.attributes-modern {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--product-border);
}

.attributes-title {
    color: var(--product-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attributes-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.attribute-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-right: 3px solid var(--product-accent);
    transition: var(--product-transition);
}

    .attribute-item-modern:hover {
        transform: translateX(-5px);
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

.attribute-name-modern {
    color: var(--product-text);
    font-weight: 500;
    font-size: 14px;
}

.attribute-value-modern {
    color: var(--product-primary);
    font-weight: 600;
    font-size: 14px;
}

/* Product Tabs Modern */
.tabs-modern-container {
    background: white;
    border-radius: var(--product-radius);
    overflow: hidden;
    box-shadow: var(--product-shadow);
    margin-top: 40px;
    border: 1px solid var(--product-border);
}

.tabs-header-modern {
    display: flex;
    background: linear-gradient(135deg, #f8fafc, #e9ecef);
    border-bottom: 2px solid var(--product-border);
    overflow-x: auto;
    scrollbar-width: none;
}

    .tabs-header-modern::-webkit-scrollbar {
        display: none;
    }

.tab-btn-modern {
    padding: 18px 30px;
    background: none;
    border: none;
    color: var(--product-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--product-transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-width: 200px;
    justify-content: center;
}

    .tab-btn-modern:hover {
        color: var(--product-accent);
        background: rgba(212, 150, 15, 0.05);
    }

    .tab-btn-modern.active {
        color: var(--product-accent);
        background: white;
    }

        .tab-btn-modern.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--product-accent);
        }

.tab-badge {
    background: var(--product-accent);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.tabs-content-modern {
    padding: 40px;
}

.tab-pane-modern {
    display: none;
    animation: fadeInUp 0.5s ease;
}

    .tab-pane-modern.active {
        display: block;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Description Tab */
.description-content {
    line-height: 1.8;
    color: var(--product-text);
}

    .description-content h1,
    .description-content h2,
    .description-content h3,
    .description-content h4 {
        color: var(--product-primary);
        margin: 25px 0 15px;
        font-weight: 600;
    }

    .description-content h2 {
        font-size: 24px;
    }

    .description-content h3 {
        font-size: 20px;
    }

    .description-content p {
        margin-bottom: 20px;
        text-align: justify;
    }

    .description-content ul,
    .description-content ol {
        margin-right: 25px;
        margin-bottom: 20px;
    }

    .description-content li {
        margin-bottom: 10px;
        position: relative;
    }

        .description-content li::before {
            content: '›';
            color: var(--product-accent);
            font-weight: bold;
            position: absolute;
            right: -20px;
        }

    .description-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

/* Specifications Tab */
.specs-table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

    .specs-table-modern thead {
        background: linear-gradient(135deg, var(--product-primary), #2fad4a);
    }

    .specs-table-modern th {
        color: white;
        font-weight: 600;
        padding: 18px 20px;
        text-align: right;
        font-size: 16px;
        border: none;
    }

    .specs-table-modern tbody tr {
        transition: var(--product-transition);
    }

        .specs-table-modern tbody tr:nth-child(even) {
            background: #f8fafc;
        }

        .specs-table-modern tbody tr:hover {
            background: rgba(212, 150, 15, 0.05);
            transform: translateX(-5px);
        }

    .specs-table-modern td {
        padding: 16px 20px;
        border-bottom: 1px solid var(--product-border);
        color: var(--product-text);
        font-size: 14px;
    }

        .specs-table-modern td:first-child {
            font-weight: 500;
            color: var(--product-primary);
            border-left: 3px solid var(--product-accent);
        }

/* Comments Tab */
.comments-modern-container {
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .product-title-main {
        font-size: 22px;
    }

    .price-amount {
        font-size: 28px;
    }

    .gallery-main {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .product-main-container {
        grid-template-columns: 1fr;
    }

    .product-info-modern {
        position: static;
    }

    .gallery-main {
        height: 350px;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-page-wrapper {
        padding: 20px 0 40px;
    }

    .product-title-main {
        font-size: 20px;
    }

    .price-amount {
        font-size: 24px;
    }

    .gallery-main {
        height: 300px;
    }

    .tab-btn-modern {
        min-width: 150px;
        padding: 15px 20px;
        font-size: 14px;
    }

    .tabs-content-modern {
        padding: 25px;
    }

    .attributes-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .product-title-main {
        font-size: 18px;
    }

    .price-amount {
        font-size: 22px;
    }

    .gallery-main {
        height: 250px;
    }

    .product-info-modern {
        padding: 20px;
    }

    .tab-btn-modern {
        min-width: 120px;
        padding: 12px 15px;
        font-size: 13px;
    }

    .tabs-content-modern {
        padding: 20px;
    }

    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .quantity-input-modern {
        width: 60px;
        height: 40px;
        font-size: 16px;
    }
}

/* Utility Classes */
.text-accent {
    color: var(--product-accent) !important;
}

.text-primary {
    color: var(--product-primary) !important;
}

.text-success {
    color: var(--product-success) !important;
}

.text-danger {
    color: var(--product-danger) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 8px !important;
}

.mb-2 {
    margin-bottom: 16px !important;
}

.mb-3 {
    margin-bottom: 24px !important;
}

.mb-4 {
    margin-bottom: 32px !important;
}

.mb-5 {
    margin-bottom: 40px !important;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--product-transition);
}

    .loading-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--product-border);
    border-top-color: var(--product-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.toast-modern {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    transition: var(--product-transition);
    opacity: 0;
}

    .toast-modern.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    .toast-modern.success {
        border-right: 4px solid var(--product-success);
    }

    .toast-modern.error {
        border-right: 4px solid var(--product-danger);
    }

    .toast-modern.warning {
        border-right: 4px solid var(--product-warning);
    }

.toast-icon {
    font-size: 20px;
}

.toast-success .toast-icon {
    color: var(--product-success);
}

.toast-error .toast-icon {
    color: var(--product-danger);
}

.toast-warning .toast-icon {
    color: var(--product-warning);
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}



/* به بخش CSS اضافه کنید: */

/* Zoom functionality */
.gallery-main {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

    .gallery-main.zoomed {
        cursor: zoom-out;
    }

    .gallery-main img {
        transition: transform 0.3s ease;
    }

    .gallery-main.zoomed img {
        transform: scale(2);
    }

/* Fix for empty option text */
.option-select-modern option:empty {
    display: none;
}

.option-select-modern option[value="0"] {
    color: #6c757d;
    font-style: italic;
}

/* Enhance tier cards */
.tier-card {
    position: relative;
    overflow: hidden;
}

    .tier-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(212, 150, 15, 0.05), transparent);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .tier-card:hover::before {
        opacity: 1;
    }

    .tier-card.active {
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), #f8fafc);
        border-color: #28a745;
        box-shadow: 0 5px 20px rgba(40, 167, 69, 0.15);
    }

        .tier-card.active .tier-discount {
            background: #28a745;
        }

/* Fix for discount tiers display */
.discount-tiers-modern:empty {
    display: none;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .tiers-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .tier-final {
        font-size: 18px;
    }
}

/*commnet*/

/* Rating Summary Styles */
.rating-summary-modern {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.overall-rating {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
}

.rating-score {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stars-large {
    font-size: 18px;
    color: #ffc107;
    margin-bottom: 10px;
    direction: ltr;
}

    .stars-large .far {
        color: #e4e5e9;
    }

.rating-count {
    color: #6c757d;
    font-size: 14px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-label {
    width: 70px;
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-progress {
    flex: 1;
}

    .rating-progress .progress {
        background-color: #e9ecef;
        border-radius: 4px;
        overflow: hidden;
    }

    .rating-progress .progress-bar {
        background: linear-gradient(90deg, #ffc107, #ff9800);
        border-radius: 4px;
    }

.rating-count {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

/* Comment Card Styles */
.comments-list-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .comment-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.avatar-initials {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.verified-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-name {
    font-weight: 600;
    color: #1a1410;
    font-size: 16px;
}

.comment-date {
    color: #6c757d;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-rating .stars {
    color: #ffc107;
    font-size: 16px;
    direction: ltr;
}

    .comment-rating .stars .far {
        color: #e4e5e9;
    }

/* Pros & Cons Styles */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

.pros, .cons {
    padding: 15px;
    border-radius: 8px;
}

.pros {
    background: rgba(40, 167, 69, 0.05);
    border-right: 3px solid #28a745;
}

.cons {
    background: rgba(220, 53, 69, 0.05);
    border-right: 3px solid #dc3545;
}

.pros-cons-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
}

.pros .pros-cons-title {
    color: #28a745;
}

.cons .pros-cons-title {
    color: #dc3545;
}

.pros-cons-content {
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
}

/* Comment Text */
.comment-text {
    margin-top: 15px;
}

    .comment-text p {
        color: #495057;
        line-height: 1.8;
        font-size: 15px;
        margin: 0;
    }

/* Comment Actions (Hidden) */
.comment-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-text {
    color: #6c757d;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-like, .btn-dislike {
    background: none;
    border: 1px solid #e9ecef;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .btn-like:hover {
        background: #28a745;
        color: white;
        border-color: #28a745;
    }

    .btn-dislike:hover {
        background: #dc3545;
        color: white;
        border-color: #dc3545;
    }

/* Load More Button */
.btn-load-more {
    background: linear-gradient(135deg, var(--accent-color), #e6ad3a);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-load-more:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(212, 150, 15, 0.3);
    }

    .btn-load-more.loading span {
        display: none;
    }

    .btn-load-more.loading .fa-spinner {
        display: inline-block !important;
    }

/* No Comments */
.no-comments {
    background: white;
    border-radius: 12px;
    padding: 60px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.no-comments-icon {
    font-size: 64px;
    color: #e9ecef;
    margin-bottom: 20px;
}

.no-comments h5 {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 576px) {
    .comment-header {
        flex-direction: column;
        gap: 15px;
    }

    .comment-rating {
        align-self: flex-start;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }
}

/* ===== متغیرهای سایدبار ===== */
:root {
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
    --sidebar-primary: #1c8a35;
    --sidebar-accent: #d4960f;
    --sidebar-bg: linear-gradient(165deg, #0b4d12, #123d18);
    --sidebar-hover: rgba(212, 150, 15, 0.15);
    --sidebar-text: rgba(255, 255, 255, 0.85);
    --sidebar-border: rgba(255, 255, 255, 0.1);
    --sidebar-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    --sidebar-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== کانتینر اصلی ===== */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 140px);
    position: relative;
    gap: 24px;
}

/* ===== سایدبار اصلی ===== */
.profile-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-radius: 24px;
    padding: 28px 20px;
    box-shadow: var(--sidebar-shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
    transition: var(--sidebar-transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

    /* حالت کوچک شده */
    .profile-sidebar.collapsed {
        width: var(--sidebar-collapsed-width);
        padding: 28px 12px;
    }

        .profile-sidebar.collapsed .sidebar-user-info,
        .profile-sidebar.collapsed .sidebar-nav-text,
        .profile-sidebar.collapsed .sidebar-badge,
        .profile-sidebar.collapsed .sidebar-footer-text,
        .profile-sidebar.collapsed .sidebar-section-title {
            display: none;
        }

        .profile-sidebar.collapsed .sidebar-nav-link {
            justify-content: center;
            padding: 14px 0;
        }

        .profile-sidebar.collapsed .sidebar-nav-icon {
            margin: 0;
            font-size: 22px;
        }

        .profile-sidebar.collapsed .sidebar-user-avatar {
            margin: 0 auto 16px;
        }

        .profile-sidebar.collapsed .sidebar-user-name {
            text-align: center;
            font-size: 13px;
            display: block;
            margin-top: 8px;
        }

        .profile-sidebar.collapsed .sidebar-chevron {
            display: none;
        }

/* ===== هدر سایدبار ===== */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--sidebar-border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .sidebar-logo img {
        height: 45px;
        width: auto;
        transition: var(--sidebar-transition);
    }

    .sidebar-logo span {
        color: white;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: 1px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

.sidebar-collapse-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--sidebar-transition);
}

    .sidebar-collapse-btn:hover {
        background: var(--sidebar-accent);
        border-color: var(--sidebar-accent);
        transform: scale(0.95);
    }

/* ===== پروفایل کاربر در سایدبار ===== */
.sidebar-user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user-avatar {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
}

    .sidebar-user-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 4px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        object-fit: cover;
        transition: var(--sidebar-transition);
    }

    .sidebar-user-avatar .avatar-badge {
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 24px;
        height: 24px;
        background: #28a745;
        border: 3px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 12px;
    }

.sidebar-user-info {
    text-align: center;
    width: 100%;
}

.sidebar-user-name {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.user-verified-badge {
    background: var(--sidebar-accent);
    padding: 3px 8px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-user-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sidebar-user-stats {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.sidebar-stat-item {
    text-align: center;
}

.sidebar-stat-value {
    color: white;
    font-size: 18px;
    font-weight: 800;
}

.sidebar-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-top: 4px;
}

/* ===== بخش‌های ناوبری ===== */
.sidebar-nav-section {
    margin-bottom: 28px;
}

.sidebar-section-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sidebar-section-title i {
        color: var(--sidebar-accent);
        font-size: 14px;
    }

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav-item {
    position: relative;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 16px;
    transition: var(--sidebar-transition);
    position: relative;
    overflow: hidden;
}

    .sidebar-nav-link::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, var(--sidebar-accent), transparent);
        opacity: 0.1;
        transition: width 0.3s ease;
    }

    .sidebar-nav-link:hover::before {
        width: 100%;
    }

    .sidebar-nav-link:hover {
        background: var(--sidebar-hover);
        color: white;
        transform: translateX(-5px);
    }

.sidebar-nav-item.active .sidebar-nav-link {
    background: linear-gradient(135deg, var(--sidebar-accent), #e6ad3a);
    color: white;
    box-shadow: 0 10px 20px rgba(212, 150, 15, 0.3);
}

.sidebar-nav-item.active .sidebar-nav-icon {
    color: white;
}

.sidebar-nav-icon {
    width: 24px;
    text-align: center;
    font-size: 18px;
    margin-left: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--sidebar-transition);
}

.sidebar-nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .sidebar-badge.accent {
        background: var(--sidebar-accent);
        border-color: var(--sidebar-accent);
    }

.sidebar-chevron {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.sidebar-nav-link:hover .sidebar-chevron {
    color: white;
    transform: rotate(-180deg);
}

/* ===== زیرمنوی کشویی ===== */
.sidebar-submenu {
    list-style: none;
    padding: 8px 0 8px 16px;
    margin-right: 42px;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.sidebar-nav-item.open .sidebar-submenu {
    display: block;
}

.sidebar-nav-item.open .sidebar-chevron {
    transform: rotate(-180deg);
}

.sidebar-submenu-item {
    margin-bottom: 4px;
}

.sidebar-submenu-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    border-radius: 12px;
    transition: var(--sidebar-transition);
}

    .sidebar-submenu-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: white;
        padding-right: 20px;
    }

    .sidebar-submenu-link i {
        margin-left: 10px;
        font-size: 12px;
        color: var(--sidebar-accent);
    }

/* ===== فوتر سایدبار ===== */
.sidebar-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer-link {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 16px;
    transition: var(--sidebar-transition);
    gap: 12px;
}

    .sidebar-footer-link:hover {
        background: rgba(220, 53, 69, 0.2);
        color: white;
    }

    .sidebar-footer-link i {
        font-size: 18px;
        width: 24px;
        text-align: center;
    }

.sidebar-footer-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

/* ===== محتوای اصلی ===== */
.dashboard-content {
    flex: 1;
    min-width: 0;
}

/* ===== اوورلی برای موبایل ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    backdrop-filter: blur(3px);
}

/* ===== رسپانسیو ===== */
@media (max-width: 1200px) {
    .profile-sidebar:not(.collapsed) {
        width: 260px;
    }
}

@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100% !important;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        transition: right 0.4s ease;
        overflow-y: auto;
    }

        .profile-sidebar.mobile-active {
            right: 0;
        }

    .sidebar-overlay.active {
        display: block;
    }

    .dashboard-content {
        width: 100%;
    }

    .mobile-sidebar-toggle {
        display: flex !important;
    }
}

/* ===== دکمه منوی موبایل ===== */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--sidebar-accent), #e6ad3a);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(212, 150, 15, 0.4);
    z-index: 1001;
    cursor: pointer;
    border: 3px solid white;
    transition: var(--sidebar-transition);
}

    .mobile-sidebar-toggle:hover {
        transform: scale(1.1);
    }

/* ===== انیمیشن‌ها ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-content {
    animation: slideIn 0.5s ease;
}
/* ===== متغیرهای سایدبار ===== */
:root {
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 90px;
    --sidebar-primary: #1c8a35;
    --sidebar-accent: #d4960f;
    --sidebar-bg: linear-gradient(165deg, #0b4d12, #123d18);
    --sidebar-hover: rgba(212, 150, 15, 0.15);
    --sidebar-text: rgba(255, 255, 255, 0.9);
    --sidebar-border: rgba(255, 255, 255, 0.1);
    --sidebar-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    --sidebar-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== کانتینر اصلی ===== */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 140px);
    position: relative;
    gap: 24px;
}

/* ===== سایدبار اصلی ===== */
.profile-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-radius: 24px;
    padding: 28px 20px;
    box-shadow: var(--sidebar-shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
    transition: var(--sidebar-transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    overflow: hidden;
}

    /* حالت کوچک شده */
    .profile-sidebar.collapsed {
        width: var(--sidebar-collapsed-width);
        padding: 28px 12px;
    }

        .profile-sidebar.collapsed .sidebar-logo span,
        .profile-sidebar.collapsed .sidebar-user-info,
        .profile-sidebar.collapsed .sidebar-nav-text,
        .profile-sidebar.collapsed .sidebar-badge,
        .profile-sidebar.collapsed .sidebar-section-title,
        .profile-sidebar.collapsed .sidebar-footer-text,
        .profile-sidebar.collapsed .sidebar-user-stats,
        .profile-sidebar.collapsed .sidebar-user-email {
            display: none;
        }

        .profile-sidebar.collapsed .sidebar-nav-link {
            justify-content: center;
            padding: 14px 0;
        }

        .profile-sidebar.collapsed .sidebar-nav-icon {
            margin: 0;
            font-size: 22px;
        }

        .profile-sidebar.collapsed .sidebar-user-avatar {
            margin: 0 auto 10px;
            width: 55px;
            height: 55px;
        }

        .profile-sidebar.collapsed .sidebar-user-name {
            display: block;
            text-align: center;
            font-size: 12px;
            margin-top: 5px;
            color: white;
        }

        .profile-sidebar.collapsed .sidebar-chevron {
            display: none;
        }

        .profile-sidebar.collapsed .sidebar-header {
            padding-bottom: 16px;
            margin-bottom: 20px;
        }

        .profile-sidebar.collapsed .sidebar-logo img {
            height: 40px;
            margin: 0 auto;
        }

        .profile-sidebar.collapsed .sidebar-collapse-btn i {
            transform: rotate(180deg);
        }

        /* دکمه بازگشت در حالت collapsed */
        .profile-sidebar.collapsed .sidebar-collapse-btn {
            position: absolute;
            top: 28px;
            left: 12px;
        }

/* ===== هدر سایدبار ===== */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--sidebar-border);
    position: relative;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .sidebar-logo img {
        height: 45px;
        width: auto;
        transition: var(--sidebar-transition);
    }

    .sidebar-logo span {
        color: white;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.2);
        white-space: nowrap;
    }

.sidebar-collapse-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--sidebar-transition);
    flex-shrink: 0;
}

    .sidebar-collapse-btn:hover {
        background: var(--sidebar-accent);
        border-color: var(--sidebar-accent);
        transform: scale(0.95);
    }

.profile-sidebar.collapsed .sidebar-collapse-btn i {
    transform: rotate(180deg);
}

/* ===== پروفایل کاربر در سایدبار ===== */
.sidebar-user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--sidebar-transition);
    position: relative;
}

    .sidebar-user-profile:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.sidebar-user-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

    .sidebar-user-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        object-fit: cover;
        transition: var(--sidebar-transition);
    }

    .sidebar-user-avatar .avatar-badge {
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 22px;
        height: 22px;
        background: #28a745;
        border: 2px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 11px;
    }

.sidebar-user-info {
    text-align: center;
    width: 100%;
}

.sidebar-user-name {
    color: white;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.user-verified-badge {
    background: var(--sidebar-accent);
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-user-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sidebar-user-stats {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.sidebar-stat-item {
    text-align: center;
}

.sidebar-stat-value {
    color: white;
    font-size: 16px;
    font-weight: 800;
}

.sidebar-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    margin-top: 2px;
}

/* ===== بخش‌های ناوبری ===== */
.sidebar-nav-section {
    margin-bottom: 24px;
}

.sidebar-section-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sidebar-section-title i {
        color: var(--sidebar-accent);
        font-size: 13px;
    }

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav-item {
    position: relative;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 14px;
    transition: var(--sidebar-transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    border: none;
    background: transparent;
    text-align: right;
}

    .sidebar-nav-link::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, var(--sidebar-accent), transparent);
        opacity: 0.1;
        transition: width 0.3s ease;
    }

    .sidebar-nav-link:hover::before {
        width: 100%;
    }

    .sidebar-nav-link:hover {
        background: var(--sidebar-hover);
        color: white;
        transform: translateX(-3px);
    }

.sidebar-nav-item.active .sidebar-nav-link {
    background: linear-gradient(135deg, var(--sidebar-accent), #e6ad3a);
    color: white;
    box-shadow: 0 8px 16px rgba(212, 150, 15, 0.25);
}

.sidebar-nav-item.active .sidebar-nav-icon {
    color: white;
}

.sidebar-nav-icon {
    width: 24px;
    text-align: center;
    font-size: 17px;
    margin-left: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--sidebar-transition);
    flex-shrink: 0;
}

.sidebar-nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.sidebar-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 3px 8px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

    .sidebar-badge.accent {
        background: var(--sidebar-accent);
        border-color: var(--sidebar-accent);
    }

.sidebar-chevron {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
    margin-right: 4px;
    flex-shrink: 0;
}

.sidebar-nav-link:hover .sidebar-chevron {
    color: white;
}

.sidebar-nav-item.open .sidebar-chevron {
    transform: rotate(-180deg);
}

/* ===== زیرمنوی کشویی ===== */
.sidebar-submenu {
    list-style: none;
    padding: 6px 0 6px 0;
    margin-right: 38px;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.sidebar-nav-item.open .sidebar-submenu {
    display: block;
}

.sidebar-submenu-item {
    margin-bottom: 2px;
}

.sidebar-submenu-link {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    border-radius: 10px;
    transition: var(--sidebar-transition);
    cursor: pointer;
    width: 100%;
    border: none;
    background: transparent;
    text-align: right;
}

    .sidebar-submenu-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: white;
        padding-right: 20px;
    }

    .sidebar-submenu-link i {
        margin-left: 10px;
        font-size: 11px;
        color: var(--sidebar-accent);
        width: 16px;
        text-align: center;
    }

/* ===== فوتر سایدبار ===== */
.sidebar-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 14px;
    transition: var(--sidebar-transition);
    gap: 12px;
    cursor: pointer;
    width: 100%;
    border: none;
    background: transparent;
    text-align: right;
}

    .sidebar-footer-link:hover {
        background: rgba(220, 53, 69, 0.2);
        color: white;
        transform: translateX(-3px);
    }

    .sidebar-footer-link i {
        font-size: 17px;
        width: 24px;
        text-align: center;
        flex-shrink: 0;
    }

.sidebar-footer-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

/* ===== منوی کشویی موبایل (حساب کاربری) ===== */
.mobile-user-dropdown {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    z-index: 2000;
    padding: 28px 20px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

    .mobile-user-dropdown.active {
        transform: translateX(0);
    }

.mobile-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-logo img {
    height: 40px;
}

.mobile-dropdown-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .mobile-dropdown-close:hover {
        background: var(--sidebar-accent);
    }

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.mobile-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
}

    .mobile-user-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

.mobile-user-details h5 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mobile-user-details small {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    width: 100%;
    border: none;
    background: transparent;
    text-align: right;
}

    .mobile-nav-link:hover {
        background: rgba(212, 150, 15, 0.15);
        color: white;
        padding-right: 24px;
    }

    .mobile-nav-link i {
        width: 22px;
        text-align: center;
        color: var(--sidebar-accent);
        font-size: 16px;
    }

    .mobile-nav-link.active {
        background: linear-gradient(135deg, var(--sidebar-accent), #e6ad3a);
        color: white;
    }

        .mobile-nav-link.active i {
            color: white;
        }

.mobile-nav-badge {
    margin-right: auto;
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
}

/* ===== محتوای اصلی ===== */
.dashboard-content {
    flex: 1;
    min-width: 0;
    padding-top: 42px;
}

/* ===== اوورلی برای موبایل ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    display: none;
    backdrop-filter: blur(4px);
}

    .sidebar-overlay.active {
        display: block;
    }

/* ===== دکمه منوی موبایل ===== */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    top: 80px;
    left: 10px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--sidebar-accent), #e6ad3a);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(212, 150, 15, 0.4);
    z-index: 1001;
    cursor: pointer;
    border: 3px solid white;
    transition: var(--sidebar-transition);
}

    .mobile-sidebar-toggle:hover {
        transform: scale(1.1);
    }

/* ===== کارت‌های آمار ===== */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
        border-color: rgba(212, 150, 15,0.2);
    }

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

    .stat-icon.orders {
        background: linear-gradient(135deg, #4e73df, #224abe);
    }

    .stat-icon.tickets {
        background: linear-gradient(135deg, #d4960f, #e67e22);
    }

    .stat-icon.cart {
        background: linear-gradient(135deg, #28a745, #1e7e34);
    }

    .stat-icon.comments {
        background: linear-gradient(135deg, #17a2b8, #117a8b);
    }

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #1c8a35;
    line-height: 1;
    margin-bottom: 2px;
}

.stat-unit {
    font-size: 13px;
    color: #6c757d;
    margin-right: 5px;
    font-weight: 400;
}

/* ===== کارت‌های داشبورد ===== */
.dashboard-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header-modern {
    padding: 18px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .card-header-modern h6 {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #1c8a35;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.btn-view-all {
    padding: 6px 16px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: #1c8a35;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .btn-view-all:hover {
        background: #d4960f;
        color: white;
        border-color: #d4960f;
    }

.dashboard-list {
    padding: 8px 0;
    max-height: 320px;
    overflow-y: auto;
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
}

.empty-icon {
    font-size: 48px;
    color: #d4960f;
    opacity: 0.3;
    margin-bottom: 16px;
}

/* ===== چارت ===== */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    padding: 16px;
}

.chart-header {
    background: linear-gradient(135deg, #1c8a35, #2fad4a);
}

    .chart-header h6 {
        color: white;
    }

    .chart-header select {
        background: rgba(255,255,255,0.15);
        border: 1px solid rgba(255,255,255,0.3);
        color: white;
        border-radius: 30px;
        padding: 6px 16px;
        font-size: 13px;
    }

        .chart-header select option {
            color: #1c8a35;
        }

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.spinner-modern {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(212, 150, 15,0.1);
    border-top-color: #d4960f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== رسپانسیو ===== */
@media (max-width: 1200px) {
    .profile-sidebar:not(.collapsed) {
        width: 260px;
    }
}

@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }

    .profile-sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px !important;
        height: 100vh;
        z-index: 2000;
        border-radius: 0;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 28px 20px;
    }

        .profile-sidebar.mobile-active {
            display: block;
            right: 0;
        }

    .mobile-sidebar-toggle {
        display: flex;
    }

    .dashboard-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .stat-card {
        padding: 18px 16px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .stat-value {
        font-size: 20px;
    }

    .card-header-modern {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .btn-view-all {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        margin-bottom: 8px;
    }
}

:root {
    --primary: #1c8a35;
    --primary-light: #2fad4a;
    --primary-dark: #0b4d12;
    --accent: #d4960f;
    --accent-light: #e6ad3a;
    --accent-dark: #c47f05;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --dark: #1a1410;
    --gray: #6c757d;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-accent: 0 8px 25px rgba(212, 150, 15,0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== بخش پیشنهادات ویژه - استایل مدرن شبیه دیجی‌کالا ===== */
.special-offers {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px 0;
    margin-bottom: 40px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

    .special-offers::before {
        content: '';
        position: absolute;
        top: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(212, 150, 15,0.1) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .special-offers::after {
        content: '';
        position: absolute;
        bottom: -50px;
        right: -50px;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(28, 138, 53,0.08) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

.special-offer-bg-parent {
    position: relative;
    z-index: 2;
}

.special-offer-bg {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 6px 15px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

    .special-offer-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transform: translateX(-100%);
        animation: shine 3s infinite;
    }

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.special-offer-bg svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.special-offer-bg h6 {
    margin: 0 0 0 15px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ===== کارد محصول - مدرن و زیبا ===== */
.product-card-modern {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .product-card-modern::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 0%;
        height: 3px;
        background: linear-gradient(90deg, var(--secondary-color, #1c8a35), var(--accent, #d4960f));
        transition: width 0.4s ease;
        z-index: 3;
    }

    .product-card-modern:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--accent);
    }

        .product-card-modern:hover::before {
            width: 100%;
        }

/* ===== تصویر محصول ===== */
.product-image-modern {
    position: relative;
    padding-top: 70%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

    .product-image-modern img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.product-card-modern:hover .product-image-modern img {
    transform: scale(1.08);
}

/* ===== برچسب‌های محصول ===== */
.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
    pointer-events: none;
}

.badge-right, .badge-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-badge-modern {
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    pointer-events: auto;
    border: none;
    backdrop-filter: blur(2px);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

    .product-badge-modern i {
        font-size: 11px;
    }

    .product-badge-modern.discount {
        background: linear-gradient(135deg, #dc3545, #c82333);
    }

    .product-badge-modern.special {
        background: linear-gradient(135deg, var(--accent), var(--accent-light));
    }

    .product-badge-modern.new {
        background: linear-gradient(135deg, #28a745, #218838);
    }

    .product-badge-modern.out-of-stock {
        background: linear-gradient(135deg, #6c757d, #5a6268);
    }

/* ===== اطلاعات محصول ===== */
.product-info-modern {
    padding: 16px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.product-title-modern {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

    .product-title-modern:hover {
        color: var(--accent);
    }

/* ===== بخش قیمت ===== */
.product-price-modern {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.current-price-modern {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.currency-modern {
    font-size: 11px;
    font-weight: 400;
    color: var(--gray);
    margin-right: 2px;
}

.old-price-modern {
    font-size: 11px;
    color: #adb5bd;
    text-decoration: line-through;
}

.discount-percent-modern {
    background: linear-gradient(135deg, var(--success), #218838);
    color: white;
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

    .discount-percent-modern i {
        font-size: 10px;
    }

/* ===== استایل تایمر موجود ===== */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: #fff8f0;
    padding: 6px 10px;
    border-radius: 30px;
    border: 1px solid rgba(212, 150, 15,0.2);
    direction: rtl;
    font-family: 'Courier New', monospace;
}

    .countdown span {
        background: white;
        padding: 2px 6px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

/* ===== لینک مشاهده جزئیات ===== */
.view-details-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    width: fit-content;
}

    .view-details-modern:hover {
        color: var(--accent);
        border-bottom-color: var(--accent);
    }

    .view-details-modern i {
        font-size: 11px;
        transition: transform 0.2s;
    }

    .view-details-modern:hover i {
        transform: translateX(-4px);
    }

/* ===== دکمه‌های اسلایدر - مدرن و زیبا ===== */
.pro-slider {
    position: relative;
    padding: 15px 0 25px;
}

    .pro-slider .swiper-button-next,
    .pro-slider .swiper-button-prev {
        width: 44px;
        height: 44px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        transition: var(--transition);
        border: 1px solid var(--border);
        opacity: 0;
        visibility: hidden;
    }

    .pro-slider:hover .swiper-button-next,
    .pro-slider:hover .swiper-button-prev {
        opacity: 1;
        visibility: visible;
    }

    .pro-slider .swiper-button-next:after,
    .pro-slider .swiper-button-prev:after {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary);
        transition: var(--transition);
    }

    .pro-slider .swiper-button-next:hover,
    .pro-slider .swiper-button-prev:hover {
        background: var(--accent);
        border-color: var(--accent);
        transform: scale(1.1);
        box-shadow: var(--shadow-accent);
    }

        .pro-slider .swiper-button-next:hover:after,
        .pro-slider .swiper-button-prev:hover:after {
            color: white;
        }

    .pro-slider .swiper-button-next {
        right: -10px;
    }

    .pro-slider .swiper-button-prev {
        left: -10px;
    }

@media (max-width: 768px) {
    .pro-slider .swiper-button-next,
    .pro-slider .swiper-button-prev {
        display: none;
    }
}

/* ===== عنوان بخش ===== */
.section-title-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.with-highlight {
    position: relative;
    display: inline-block;
}

.section-title .col-sm-8:first-child {
    text-align: right;
}

.with-highlight:after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(212, 150, 15,0.3);
}

.btn.main-color-one-bg {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    box-shadow: 0 3px 10px rgba(212, 150, 15,0.3);
}

    .btn.main-color-one-bg:hover {
        background: linear-gradient(135deg, var(--accent-dark), var(--accent));
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(212, 150, 15,0.4);
    }

/* ===== رسپانسیو ===== */
@media (max-width: 1200px) {
    .pro-slider .swiper-button-next,
    .pro-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

        .pro-slider .swiper-button-next:after,
        .pro-slider .swiper-button-prev:after {
            font-size: 16px;
        }
}

@media (max-width: 992px) {
    .special-offer-bg h6 {
        font-size: 20px;
    }

    .special-offer-bg svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .special-offer-bg {
        padding: 10px 20px;
    }

        .special-offer-bg h6 {
            font-size: 18px;
        }

    .section-title-title h2 {
        font-size: 20px;
    }

    .product-title-modern {
        font-size: 13px;
        height: 38px;
    }

    .current-price-modern {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .special-offer-bg {
        padding: 8px 16px;
    }

        .special-offer-bg h6 {
            font-size: 16px;
        }

        .special-offer-bg svg {
            width: 24px;
            height: 24px;
        }

    .product-title-modern {
        font-size: 12px;
        height: 34px;
    }

    .current-price-modern {
        font-size: 13px;
    }

    .discount-percent-modern {
        padding: 3px 6px;
        font-size: 10px;
    }

    .countdown {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* ===== انیمیشن‌ها ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card-modern {
    animation: fadeInUp 0.5s ease forwards;
}

/* ===== اصلاح ارتفاع کارد محصول ===== */
.old-price-modern {
    font-size: 11px;
    color: #adb5bd;
    text-decoration: line-through;
    min-height: 18px; /* ارتفاع ثابت */
    line-height: 18px;
    visibility: visible;
}

    .old-price-modern:empty {
        visibility: hidden; /* اگر خالی بود مخفی کن */
    }

.nullprice {
    height: 67px;
}
/* ========== استایل سبد خرید - حل ریشه‌ای مشکلات ========== */

/* متغیرهای رنگ اختصاصی */
:root {
    --cart-primary: #5f2eea;
    --cart-primary-light: #7c4dff;
    --cart-primary-dark: #4a1fb3;
    --cart-secondary: #00c9b7;
    --cart-success: #00b894;
    --cart-danger: #d4960f;
    --cart-warning: #fdcb6e;
    --cart-dark: #1e272e;
    --cart-gray: #7f8c8d;
    --cart-gray-light: #dfe6e9;
    --cart-bg: #f5f7fa;
    --cart-card-bg: #ffffff;
    --cart-border: #e9ecef;
    --cart-shadow-sm: 0 5px 15px rgba(95, 46, 234, 0.05);
    --cart-shadow-md: 0 8px 25px rgba(95, 46, 234, 0.1);
    --cart-shadow-lg: 0 15px 35px rgba(95, 46, 234, 0.15);
    --cart-shadow-footer: 0 -5px 20px rgba(0, 0, 0, 0.02);
}

/* Offcanvas سبد خرید */
.offcanvas#offcanvasCart {
    width: 420px;
    max-width: 100%;
    background: var(--cart-bg);
    border-left: none;
    box-shadow: -15px 0 35px rgba(95, 46, 234, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .offcanvas#offcanvasCart .offcanvas-header {
        background: var(--cart-card-bg);
        padding: 1.2rem 1.5rem;
        border-bottom: 1px solid rgba(95, 46, 234, 0.05);
        flex-shrink: 0;
    }

        .offcanvas#offcanvasCart .offcanvas-header h5 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--cart-dark);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

            .offcanvas#offcanvasCart .offcanvas-header h5 i {
                color: var(--cart-primary);
                font-size: 1.3rem;
                background: rgba(95, 46, 234, 0.1);
                padding: 0.5rem;
                border-radius: 12px;
            }

            .offcanvas#offcanvasCart .offcanvas-header h5 small {
                font-size: 0.75rem;
                font-weight: 500;
                color: var(--cart-gray);
                background: var(--cart-bg);
                padding: 0.3rem 0.8rem;
                border-radius: 30px;
                margin-right: 0.5rem;
                letter-spacing: 0.3px;
            }

        .offcanvas#offcanvasCart .offcanvas-header .btn-close {
            background-color: var(--cart-bg);
            border-radius: 12px;
            padding: 0.6rem;
            opacity: 0.8;
            transition: all 0.2s;
            background-size: 12px;
        }

            .offcanvas#offcanvasCart .offcanvas-header .btn-close:hover {
                opacity: 1;
                background-color: rgba(255, 107, 107, 0.1);
                transform: rotate(90deg);
            }

    .offcanvas#offcanvasCart .offcanvas-body {
        padding: 0;
        position: relative;
        background: var(--cart-bg);
        flex: 1 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
    }

/* لیست محصولات */
.cart-canvas-parent {
    padding: 1rem;
    margin: 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

/* آیتم سبد خرید */
.cart-item {
    background: var(--cart-card-bg);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    box-shadow: var(--cart-shadow-sm);
    border: 1px solid rgba(95, 46, 234, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cartFadeIn 0.4s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    overflow: visible;
}

    .cart-item:last-child {
        margin-bottom: 0;
    }

    .cart-item::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 1px;
        width: 4px;
        height: 0;
        background: linear-gradient(135deg, var(--cart-primary), var(--cart-secondary));
        transition: height 0.3s ease;
        border-radius: 4px 0 0 4px;
    }

    .cart-item:hover::before {
        height: 94%;
    }

@keyframes cartFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item:hover {
    box-shadow: var(--cart-shadow-md);
    transform: translateY(-2px);
    border-color: rgba(95, 46, 234, 0.1);
}

/* ردیف‌ها */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
    width: 100%;
}

    .row > [class*="col-"] {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

.col-3 {
    width: 25%;
    flex: 0 0 25%;
}

.col-9 {
    width: 75%;
    flex: 0 0 75%;
}

/* تصویر محصول */
.cart-item-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid white;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf5 100%);
    box-shadow: 0 4px 12px rgba(95, 46, 234, 0.1);
    transition: all 0.3s;
}

    .cart-item-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.cart-item:hover .cart-item-image {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(95, 46, 234, 0.15);
}

    .cart-item:hover .cart-item-image img {
        transform: scale(1.08);
    }

/* عنوان محصول */
.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cart-dark);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

/* بخش اطلاعات قیمت */
.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

/* ردیف قیمت و تعداد */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* قیمت تکی */
.price-info {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(95, 46, 234, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    border: 1px solid rgba(95, 46, 234, 0.1);
    flex-wrap: wrap;
}

.current-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--cart-primary);
    white-space: nowrap;
}

.price-info small {
    font-size: 0.65rem;
    color: var(--cart-gray);
    white-space: nowrap;
}

/* نشان تخفیف */
.discount-badge {
    background: linear-gradient(135deg, var(--cart-danger), #ff8787);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 40px;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.2);
    white-space: nowrap;
}

/* بج تعداد */
.item-quantity-badge .badge {
    background: rgba(0, 201, 183, 0.1) !important;
    color: var(--cart-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    border: 1px solid rgba(0, 201, 183, 0.2);
    white-space: nowrap;
}

/* جمع هر آیتم */
.item-total-price {
    background: rgba(0, 184, 148, 0.08);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    border: 1px solid rgba(0, 184, 148, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

    .item-total-price .fw-bold {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--cart-success);
    }

    .item-total-price small {
        font-size: 0.65rem;
        color: var(--cart-gray);
    }

/* قیمت اصلی */
.original-price {
    width: 100%;
    margin: 0.25rem 0;
}

    .original-price del {
        color: var(--cart-gray);
        font-size: 0.8rem;
        text-decoration-color: var(--cart-danger);
        text-decoration-thickness: 2px;
        white-space: nowrap;
    }

/* ردیف کنترل‌ها */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* کنترل تعداد */
.cart-item-quantity {
    display: flex;
    flex-direction: column;
    min-width: 85px;
}

    .cart-item-quantity label {
        font-size: 0.65rem;
        color: var(--cart-gray);
        margin-bottom: 0.2rem;
        font-weight: 500;
    }

.cart-quantity-input {
    width: 100%;
    text-align: center;
    border: 2px solid rgba(95, 46, 234, 0.1);
    border-radius: 40px;
    padding: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    background: white;
    color: var(--cart-dark);
}

    .cart-quantity-input:focus {
        outline: none;
        border-color: var(--cart-primary);
        box-shadow: 0 0 0 3px rgba(95, 46, 234, 0.1);
    }

/* دکمه حذف */
.btn-outline-danger {
    border: 2px solid rgba(255, 107, 107, 0.15);
    color: var(--cart-danger);
    background: transparent;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    transition: all 0.3s;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

    .btn-outline-danger i {
        font-size: 0.9rem;
    }

    .btn-outline-danger:hover {
        background: linear-gradient(135deg, var(--cart-danger), #ff8787);
        color: white;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(255, 107, 107, 0.25);
    }

/* وزن محصول */
.cart-item-weight {
    font-size: 0.65rem;
    color: var(--cart-gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(95, 46, 234, 0.1);
    width: 100%;
}

    .cart-item-weight i {
        color: var(--cart-primary);
        font-size: 0.75rem;
        flex-shrink: 0;
    }

/* ===== فوتر سبد خرید ===== */
.cart-canvas-foots {
    background: white;
    border-top: 1px solid rgba(95, 46, 234, 0.05);
    padding: 5px 15px;
    box-shadow: var(--cart-shadow-footer);
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* خلاصه قیمت */
.cart-summary {
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
}

    .summary-row span:first-child {
        font-size: 0.8rem;
        color: var(--cart-gray);
    }

    .summary-row span:last-child {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--cart-dark);
    }

    /* تخفیف */
    .summary-row.discount span:last-child {
        color: var(--cart-success);
        background: rgba(0, 184, 148, 0.1);
        padding: 0.2rem 0.8rem;
        border-radius: 30px;
    }

    /* جمع کل */
    .summary-row.total {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 2px dashed rgba(95, 46, 234, 0.1);
    }

        .summary-row.total span:first-child {
            font-size: 0.9rem;
            font-weight: 700;
        }

        .summary-row.total span:last-child {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--cart-primary);
        }

        .summary-row.total small {
            font-size: 0.7rem;
            font-weight: 400;
            color: var(--cart-gray);
        }

/* دکمه‌ها */
.cart-actions {
    display: flex;
    gap: 0.8rem;
    width: 100%;
}

.btn-view-cart {
    flex: 1;
    background: transparent;
    border: 2px solid rgba(95, 46, 234, 0.1);
    color: var(--cart-dark);
    padding: 0.7rem 0;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

    .btn-view-cart:hover {
        background: var(--cart-primary);
        border-color: var(--cart-primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(95, 46, 234, 0.2);
    }

/* دکمه تکمیل خرید */
.btn-checkout {
    flex: 1.5;
    background: linear-gradient(145deg, var(--cart-primary), var(--cart-primary-light));
    border: none;
    color: white;
    padding: 0.7rem 0;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.4s;
    box-shadow: 0 8px 18px rgba(95, 46, 234, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

    .btn-checkout::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .btn-checkout:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(95, 46, 234, 0.35);
    }

        .btn-checkout:hover::before {
            left: 100%;
        }

        .btn-checkout:hover i {
            transform: translateX(-5px);
        }

    .btn-checkout i {
        font-size: 1.1rem;
        transition: transform 0.3s;
    }

/* ===== سبد خرید خالی ===== */
.empty-cart {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 24px;
    margin: 1rem;
    width: calc(100% - 2rem);
    box-sizing: border-box;
}

.empty-cart-icon {
    width: 60px;
    height: 60px;
    background: rgba(95, 46, 234, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px dashed rgba(95, 46, 234, 0.2);
}

    .empty-cart-icon i {
        font-size: 1.8rem;
        color: var(--cart-primary);
        opacity: 0.4;
    }

.empty-cart h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cart-dark);
    margin-bottom: 0.3rem;
}

.empty-cart p {
    font-size: 0.8rem;
    color: var(--cart-gray);
    margin-bottom: 1.2rem;
}

.empty-cart .btn-shop {
    background: linear-gradient(145deg, var(--cart-primary), var(--cart-primary-light));
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(95, 46, 234, 0.2);
    cursor: pointer;
    text-decoration: none;
}

    .empty-cart .btn-shop:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(95, 46, 234, 0.3);
    }

/* ریسپانسیو */
@media (max-width: 576px) {
    .offcanvas#offcanvasCart {
        width: 100%;
    }

    .cart-item-title {
        font-size: 0.9rem;
    }

    .current-price {
        font-size: 0.95rem;
    }

    .item-total-price .fw-bold {
        font-size: 0.9rem;
    }

    .summary-row.total span:last-child {
        font-size: 1.1rem;
    }

    .btn-view-cart, .btn-checkout {
        font-size: 0.75rem;
    }
}

@media (max-width: 380px) {
    .controls-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-quantity {
        width: 100%;
        max-width: 100%;
    }

    .btn-outline-danger {
        width: 100%;
        justify-content: center;
    }

    .cart-actions {
        flex-direction: column;
    }

    .btn-view-cart, .btn-checkout {
        width: 100%;
    }
}

.main-color-green {
    font-size: 14px !important;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.2);
}

    .main-color-green:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(72, 187, 120, 0.3);
        color: #fff;
    }

    .main-color-green i {
        margin-left: 0.5rem;
    }

.my-buttoncart {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    white-space: nowrap;
  
}

    .my-buttoncart:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: #0f3d1a;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(212, 150, 15, 0.35);
    }
