* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --secondary: #00bcd4;
    --dark: #333;
    --gray: #666;
    --light-gray: #f5f5f5;
    --border: #e0e0e0;
    --white: #fff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    margin-right: 20px;
}

.top-left i, .top-right i {
    margin-right: 5px;
}

.top-right a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
}

.top-right a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
}

.search-box {
    flex: 1;
    display: flex;
    max-width: 600px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
}

.search-box button {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.header-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    font-size: 12px;
    position: relative;
}

.action-btn i {
    font-size: 22px;
    margin-bottom: 3px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Account Dropdown */
.account-btn {
    position: relative;
    cursor: pointer;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 10px;
    padding: 10px 0;
}

.account-btn:hover .account-dropdown {
    opacity: 1;
    visibility: visible;
}

.account-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 15px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.dropdown-item.login,
.dropdown-item.register {
    font-weight: 600;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    margin-left: 5px;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:active {
    color: var(--primary);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 10000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 17px;
    flex-shrink: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.mobile-menu-list {
    list-style: none;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    margin: 0;
}

.mobile-menu-list > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    transition: background 0.2s;
}

.mobile-menu-list > li > a:active {
    background: var(--light-gray);
}

.mobile-menu-list > li > a .arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-menu-list > li.active > a .arrow {
    transform: rotate(180deg);
}

.mobile-menu-list > li > a i:first-child {
    width: 22px;
    text-align: center;
    color: var(--primary);
    font-size: 15px;
}

.mobile-submenu {
    display: none;
    list-style: none;
    background: var(--light-gray);
    padding: 0;
    margin: 0;
}

.mobile-menu-list > li.active .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 54px;
    text-decoration: none;
    color: var(--gray);
    font-size: 13px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.mobile-submenu li a:hover,
.mobile-submenu li a:active {
    color: var(--primary);
    background: var(--white);
}

.mobile-menu-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    background: var(--white);
}

.mobile-menu-footer a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-menu-footer a:first-child {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-footer a:first-child:active {
    background: var(--primary-dark);
}

.mobile-menu-footer a:last-child {
    background: var(--light-gray);
    color: var(--dark);
    border: 1px solid var(--border);
}

.mobile-menu-footer a:last-child:active {
    background: var(--border);
}

/* Navigation */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu > li {
    position: static;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--dark);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    border-right: 1px solid var(--border);
}

.nav-menu > li:first-child > a {
    background: var(--light-gray);
}

.nav-menu > li > a:hover {
    color: var(--primary);
}

.nav-menu > li > a i {
    font-size: 12px;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    border-top: 2px solid var(--primary);
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-left {
    width: 250px;
    background: var(--light-gray);
    border-right: 1px solid var(--border);
}

.category-list {
    list-style: none;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--dark);
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.category-list li a i {
    font-size: 10px;
    color: var(--gray);
}

.category-list li:hover a,
.category-list li.active a {
    background: var(--white);
    color: var(--primary);
    font-weight: 500;
}

.mega-menu-right {
    flex: 1;
    padding: 25px;
}

.mega-products {
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.mega-products.active {
    display: grid;
}

.mega-product {
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.mega-product:hover {
    color: var(--primary);
}

.mega-product img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s;
}

.mega-product:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mega-product span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
}


/* Hero Section */
.hero-section {
    padding: 20px 0;
    background: var(--light-gray);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-slider {
    background: linear-gradient(135deg, var(--primary), #ff6090);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.slide {
    display: none;
    padding: 40px;
    align-items: center;
    justify-content: space-between;
}

.slide.active {
    display: flex;
}

.slide-content {
    color: var(--white);
    max-width: 50%;
}

.slide-tag {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.slide-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-shop {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slide img {
    max-width: 200px;
    border-radius: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 40px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--white);
}

.hero-banner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-item {
    background: linear-gradient(135deg, var(--secondary), #26c6da);
    border-radius: 10px;
    padding: 30px;
    color: var(--white);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-item span {
    font-size: 12px;
    opacity: 0.9;
}

.banner-item strong {
    font-size: 22px;
    margin: 10px 0;
}

.banner-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

/* Featured Section */
.featured-section {
    padding: 40px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.section-title h2 {
    font-size: 18px;
    color: var(--dark);
}

.section-title h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.products-slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.badge.sale {
    background: var(--primary);
    color: var(--white);
}

.badge.new {
    background: var(--secondary);
    color: var(--white);
}

.product-image {
    position: relative;
    padding: 0;
    background: var(--light-gray);
    height: 200px;
    overflow: hidden;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: all 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-actions button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-actions button:hover {
    background: var(--primary);
    color: var(--white);
}

.product-info {
    padding: 15px;
}

.product-cat {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
}

.product-info h3 {
    font-size: 13px;
    font-weight: 500;
    margin: 8px 0;
    color: var(--dark);
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
}

.product-info h3 a {
    color: inherit;
    text-decoration: none;
}

.product-info h3 a:hover {
    color: var(--primary);
}

.product-brand {
    font-size: 11px;
    color: var(--gray);
    display: block;
    margin-bottom: 5px;
}

.product-stock {
    font-size: 11px;
    margin-bottom: 5px;
}

.product-stock.in-stock {
    color: #28a745;
}

.product-stock.low-stock {
    color: #ff9800;
}

.product-stock.out-stock {
    color: #dc3545;
}

.product-price {
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 12px;
    margin-right: 8px;
}

.current-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.btn-add-cart {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}


/* Categories Section */
.categories-section {
    padding: 40px 0;
    background: var(--light-gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.category-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.category-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.category-card span {
    display: block;
    color: var(--dark);
    font-weight: 500;
    font-size: 13px;
}

/* Products Listing */
.products-listing {
    padding: 40px 0;
}

.products-listing.alt {
    background: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.product-card.mini .product-image {
    height: 150px;
}

.product-card.mini .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card.mini .product-info h3 {
    font-size: 12px;
    height: 32px;
}

.product-card.mini .product-info h3 a {
    color: var(--dark);
    text-decoration: none;
}

.product-card.mini .product-info h3 a:hover {
    color: var(--primary);
}

.product-card.mini .product-brand {
    font-size: 10px;
    color: var(--gray);
    display: block;
    margin-bottom: 3px;
}

.product-card.mini .product-stock {
    font-size: 10px;
    margin-bottom: 3px;
}

.btn-add-cart-mini {
    width: 100%;
    padding: 8px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart-mini:hover {
    background: var(--primary-dark);
}

.btn-add-cart-mini.disabled,
.btn-add-cart.disabled {
    background: #ccc !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Brands Section */
.brands-section {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brands-section .section-title {
    border-bottom: none;
    justify-content: center;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-item img {
    height: 40px;
    opacity: 0.6;
    transition: all 0.3s;
    filter: grayscale(100%);
}

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

/* Features Section */
.features-section {
    padding: 30px 0;
    background: var(--light-gray);
}

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

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
}

.feature-box i {
    font-size: 30px;
    color: var(--primary);
}

.feature-box h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.feature-box p {
    font-size: 12px;
    color: var(--gray);
}

/* Footer */
.footer {
    background: #2d2d2d;
    color: var(--white);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-col p {
    font-size: 13px;
    color: #aaa;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary);
    margin-top: 3px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 25px;
    background: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
}

.security-badges img {
    height: 35px;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #444;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-slider {
        grid-template-columns: repeat(4, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .mega-products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-banner {
        flex-direction: row;
    }
    .products-slider,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mega-menu-left {
        width: 200px;
    }
    .mega-products {
        grid-template-columns: repeat(3, 1fr);
    }
    .nav-menu > li > a {
        padding: 12px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .top-left, .top-right {
        width: 100%;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-left span {
        margin-right: 0;
    }
    .header .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    .logo {
        flex-shrink: 0;
    }
    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
        flex: 1 1 100%;
    }
    .header-actions {
        gap: 10px;
        align-items: center;
    }
    .action-btn span {
        display: none;
    }
    .action-btn i {
        font-size: 22px;
    }
    .action-btn {
        padding: 8px;
    }
    .cart-count {
        top: 0;
        right: 0;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    /* Hide favorites on mobile */
    .header-actions > a.action-btn:first-child {
        display: none;
    }
    
    /* Hide desktop navigation on mobile */
    .main-nav {
        display: none;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .products-slider,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .slide {
        padding: 25px;
    }
    .slide-content {
        max-width: 100%;
    }
    .slide-content h2 {
        font-size: 22px;
    }
    .slide img {
        display: none;
    }
    .hero-banner {
        flex-direction: column;
    }
    .banner-item {
        padding: 20px;
    }
    .banner-item strong {
        font-size: 18px;
    }
    .section-title {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .section-title h2 {
        font-size: 16px;
    }
    .product-info h3 {
        font-size: 12px;
        height: auto;
        min-height: 32px;
    }
    .current-price {
        font-size: 14px;
    }
    .feature-box {
        padding: 15px;
    }
    .feature-box i {
        font-size: 24px;
    }
    .feature-box h4 {
        font-size: 13px;
    }
    .feature-box p {
        font-size: 11px;
    }
    
    /* Hide account dropdown on mobile - use mobile menu instead */
    .account-btn .account-dropdown {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    .logo-icon, .logo-text {
        padding: 6px 10px;
        font-size: 14px;
    }
    .search-box input {
        padding: 10px 12px;
        font-size: 13px;
    }
    .search-box button {
        padding: 10px 15px;
    }
    
    /* Mobile Menu Improvements for Small Screens */
    .mobile-menu {
        width: 280px;
    }
    .mobile-menu-header {
        padding: 15px;
        font-size: 16px;
    }
    .mobile-menu-list > li > a {
        padding: 13px 15px;
        font-size: 13px;
    }
    .mobile-submenu li a {
        padding: 10px 15px 10px 47px;
        font-size: 12px;
    }
    .mobile-menu-footer {
        padding: 12px 15px;
        flex-direction: column;
        gap: 8px;
    }
    .mobile-menu-footer a {
        padding: 11px;
        font-size: 13px;
    }
    .mobile-menu-contact {
        padding: 12px 15px;
    }
    .mobile-menu-contact a {
        font-size: 12px;
        padding: 8px 0;
    }
    .hero-slider {
        min-height: 220px;
    }
    .slide {
        padding: 20px;
    }
    .slide-content h2 {
        font-size: 18px;
    }
    .slide-content p {
        font-size: 13px;
    }
    .btn-shop {
        padding: 10px 20px;
        font-size: 13px;
    }
    .slider-dots {
        left: 20px;
        bottom: 15px;
    }
    .products-slider,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .product-card {
        border-radius: 6px;
    }
    .product-image {
        padding: 10px;
    }
    .product-image img {
        height: 80px;
    }
    .product-info {
        padding: 10px;
    }
    .product-info h3 {
        font-size: 11px;
        margin: 5px 0;
    }
    .product-price {
        margin-bottom: 8px;
    }
    .old-price {
        font-size: 10px;
    }
    .current-price {
        font-size: 13px;
    }
    .btn-add-cart, .btn-add-cart-mini {
        padding: 8px;
        font-size: 11px;
    }
    .badge {
        padding: 3px 6px;
        font-size: 9px;
        top: 5px;
        left: 5px;
    }
    .category-card {
        padding: 15px 10px;
    }
    .category-card img {
        width: 50px;
        height: 50px;
    }
    .category-card span {
        font-size: 11px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .feature-box {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        gap: 8px;
    }
    .footer {
        padding: 30px 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-col h4 {
        display: block;
        text-align: center;
    }
    .contact-info li {
        justify-content: center;
        text-align: left;
    }
    .payment-icons {
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .header-actions {
        gap: 8px;
    }
    .action-btn i {
        font-size: 20px;
    }
    .mobile-menu-btn {
        font-size: 24px;
        padding: 6px;
    }
    .products-slider,
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-image img {
        height: 70px;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Menu for very small screens */
    .mobile-menu {
        width: 260px;
    }
    .mobile-menu-list > li > a {
        padding: 12px 15px;
        font-size: 13px;
    }
    .mobile-menu-list > li > a i:first-child {
        width: 20px;
        font-size: 14px;
    }
}


/* ==================== PRODUCT DETAIL PAGE ==================== */

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: var(--light-gray);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    margin: 0 10px;
    font-size: 10px;
    color: var(--gray);
}

.breadcrumb span {
    color: var(--dark);
}

/* Product Detail Section */
.product-detail {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-info-detail {
    padding: 0;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-meta .brand a {
    color: var(--primary);
    text-decoration: none;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating i {
    color: #ffc107;
    font-size: 14px;
}

.rating span {
    color: var(--gray);
    font-size: 13px;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.product-price-box .old-price {
    font-size: 18px;
}

.product-price-box .current-price {
    font-size: 28px;
}

.discount-badge {
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}

.product-short-desc {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4caf50;
    font-weight: 500;
    margin-bottom: 25px;
}

.product-stock i {
    font-size: 16px;
}


/* Product Variants */
.product-variants {
    margin-bottom: 25px;
}

.product-variants label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.variant-btn:hover {
    border-color: var(--primary);
}

.variant-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* Quantity Box */
.quantity-box {
    margin-bottom: 25px;
}

.quantity-box label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

.quantity-input {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 5px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--light-gray);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.quantity-input input {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.quantity-input input:focus {
    outline: none;
}

/* Product Actions Detail */
.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-add-cart-detail {
    flex: 1;
    padding: 15px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart-detail:hover {
    background: var(--primary-dark);
}

.btn-favorite {
    width: 55px;
    height: 55px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    color: var(--gray);
    transition: all 0.3s;
}

.btn-favorite:hover,
.btn-favorite.active {
    border-color: var(--primary);
    color: var(--primary);
}

/* Delivery Info */
.delivery-info {
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 25px;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-item i {
    font-size: 24px;
    color: var(--primary);
}

.delivery-item strong {
    display: block;
    margin-bottom: 3px;
}

.delivery-item span {
    font-size: 13px;
    color: var(--gray);
}

/* Share Box */
.share-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-box span {
    font-weight: 500;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.pinterest { background: #bd081c; }

.share-btn:hover {
    transform: translateY(-3px);
}


/* Product Tabs */
.product-tabs-section {
    padding: 40px 0;
    background: var(--light-gray);
}

.tabs-header {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border);
}

.tab-btn {
    padding: 15px 30px;
    background: var(--white);
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--white);
}

.tabs-content {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
}

.tab-pane h4 {
    font-size: 16px;
    margin: 25px 0 15px;
    color: var(--dark);
}

.tab-pane p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.tab-pane ul {
    margin-left: 20px;
    color: var(--gray);
}

.tab-pane ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
    background: var(--light-gray);
}

.specs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.specs-table td:first-child {
    font-weight: 500;
    width: 40%;
}

/* Reviews */
.reviews-summary {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 30px;
}

.rating-big .rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
}

.rating-big .stars {
    margin: 10px 0;
}

.rating-big .stars i {
    font-size: 20px;
    color: #ffc107;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.review-header strong {
    color: var(--dark);
}

.review-stars i {
    color: #ffc107;
    font-size: 12px;
}

.review-date {
    color: var(--gray);
    font-size: 12px;
    margin-left: auto;
}

.review-item p {
    margin: 0;
}

/* Related Products */
.related-products {
    padding: 40px 0;
}

/* Product Detail Responsive */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 20px;
    }
    
    .product-price-box .current-price {
        font-size: 24px;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .product-detail {
        padding: 20px 0;
    }
    
    .main-image {
        padding: 20px;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-price-box {
        flex-wrap: wrap;
        padding: 15px;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .btn-favorite {
        width: 100%;
    }
    
    .variant-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .share-box {
        flex-wrap: wrap;
    }
}


/* ==================== CATEGORY PAGE ==================== */

.category-page {
    padding: 30px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Sidebar */
.category-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-header {
    padding: 15px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px 10px 0 0;
}

.sidebar-header h3 {
    font-size: 14px;
    font-weight: 600;
}

.category-links {
    list-style: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.category-links li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.category-links li a:hover,
.category-links li.active a {
    color: var(--primary);
    background: var(--light-gray);
}

/* Filter Sections */
.filter-section {
    border-bottom: 1px solid var(--border);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-header:hover {
    background: var(--light-gray);
}

.filter-header h4 {
    font-size: 14px;
    font-weight: 600;
}

.filter-header i {
    font-size: 12px;
    transition: transform 0.3s;
}

.filter-header i.rotated {
    transform: rotate(180deg);
}

.filter-content {
    padding: 0 20px 15px;
    max-height: 300px;
    overflow-y: auto;
}

.filter-content.collapsed {
    display: none;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 13px;
    color: var(--dark);
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.btn-filter-apply {
    width: calc(100% - 40px);
    margin: 20px;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter-apply:hover {
    background: var(--primary-dark);
}

/* Category Products Area */
.category-products {
    min-width: 0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.category-header h1 {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
}

.category-header h1 span {
    color: var(--primary);
    font-weight: 600;
}

.category-sort select {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    background: var(--white);
}

.category-sort select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Category Products Grid */
.category-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Category Product Card */
.product-card.category-card {
    position: relative;
}

.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge-favorite {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.badge-favorite:hover {
    background: var(--primary);
    color: var(--white);
}

.badge-compare {
    background: var(--white);
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.badge-compare:hover {
    background: var(--secondary);
    color: var(--white);
}

.product-card.category-card .product-image {
    display: block;
    text-decoration: none;
    height: 200px;
}

.product-card.category-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card.category-card .product-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    margin-bottom: 5px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
}

.product-card.category-card .product-name:hover {
    color: var(--primary);
    text-decoration: none;
}

.product-card.category-card .product-brand {
    font-size: 11px;
    color: var(--gray);
    display: block;
    margin-bottom: 8px;
}

.product-card.category-card .product-stock {
    font-size: 10px;
    margin-bottom: 5px;
}

.product-card.category-card .product-stock.in-stock {
    color: #28a745;
}

.product-card.category-card .product-stock.low-stock {
    color: #ff9800;
}

.product-card.category-card .product-stock.out-stock {
    color: #dc3545;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Mobile Filter Button */
.filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
}

.filter-toggle-btn i {
    margin-right: 8px;
}


/* Category Page Responsive */
@media (max-width: 1200px) {
    .category-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }
    
    .category-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        z-index: 9999;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s;
    }
    
    .category-sidebar.active {
        left: 0;
    }
    
    .filter-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .category-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-header h1 {
        font-size: 14px;
    }
    
    .category-sort {
        width: 100%;
    }
    
    .category-sort select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .category-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-card.category-card .product-info {
        padding: 10px;
    }
    
    .product-card.category-card .product-name {
        font-size: 11px;
        height: 30px;
    }
    
    .badge-compare {
        display: none;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}


/* ==================== STATIC PAGES ==================== */

/* Page Content */
.page-content {
    padding: 40px 0;
}

.page-header {
    margin-bottom: 40px;
}

.page-header.center {
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--gray);
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.about-feature {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.about-feature i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.about-feature p {
    color: var(--gray);
    font-size: 14px;
}

.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mission-box {
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.mission-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--dark);
}

.mission-box h3 i {
    color: var(--primary);
}

.mission-box p {
    color: var(--gray);
    line-height: 1.7;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 25px;
    background: var(--light-gray);
    border-radius: 10px;
    text-align: center;
}

.contact-card i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-box {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-box h2 {
    margin-bottom: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    padding: 15px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.map-section h2 {
    margin-bottom: 20px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}


/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--gray);
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content h2 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h2 a {
    color: var(--dark);
    text-decoration: none;
}

.blog-content h2 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.blog-link i {
    margin-left: 5px;
    transition: margin 0.3s;
}

.blog-link:hover i {
    margin-left: 10px;
}

/* Blog Detail */
.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-detail-header h1 {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 14px;
}

.blog-detail-meta i {
    margin-right: 5px;
    color: var(--primary);
}

.blog-detail-image {
    margin-bottom: 30px;
}

.blog-detail-image img {
    width: 100%;
    border-radius: 10px;
}

.blog-detail-content {
    line-height: 1.8;
    color: var(--dark);
}

.blog-detail-content h2 {
    font-size: 22px;
    margin: 30px 0 15px;
}

.blog-detail-content h3 {
    font-size: 18px;
    margin: 25px 0 10px;
}

.blog-detail-content p {
    margin-bottom: 15px;
}

.blog-detail-content ul {
    margin: 15px 0 15px 25px;
}

.blog-detail-content li {
    margin-bottom: 8px;
}

.blog-detail-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.blog-detail-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-detail-tags a {
    padding: 5px 15px;
    background: var(--light-gray);
    border-radius: 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 13px;
}

.blog-detail-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.recent-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts a {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.recent-posts a:hover {
    color: var(--primary);
}

.recent-posts span {
    font-size: 12px;
    color: var(--gray);
}

.category-links-sidebar {
    list-style: none;
}

.category-links-sidebar li {
    margin-bottom: 10px;
}

.category-links-sidebar a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
}

.category-links-sidebar a:hover {
    color: var(--primary);
}

.category-links-sidebar span {
    color: var(--gray);
}


/* Help Page */
.help-search {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
}

.help-search input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.help-search button {
    padding: 15px 25px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.help-card {
    padding: 35px 25px;
    background: var(--light-gray);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.help-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.help-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.help-card:hover i {
    color: var(--white);
}

.help-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.help-card:hover h3 {
    color: var(--white);
}

.help-card p {
    color: var(--gray);
    font-size: 14px;
}

.help-card:hover p {
    color: rgba(255,255,255,0.8);
}

.help-contact {
    text-align: center;
    padding: 50px;
    background: var(--light-gray);
    border-radius: 10px;
}

.help-contact h2 {
    margin-bottom: 10px;
}

.help-contact > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.help-contact-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.help-contact-item {
    text-align: center;
}

.help-contact-item i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 15px;
}

.help-contact-item h4 {
    margin-bottom: 5px;
}

.help-contact-item p {
    font-weight: 600;
    margin-bottom: 5px;
}

.help-contact-item span {
    font-size: 12px;
    color: var(--gray);
}

/* FAQ Page */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: var(--light-gray);
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--primary);
    color: var(--white);
}

.faq-question h3 {
    font-size: 15px;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: var(--white);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 25px;
    background: var(--white);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.7;
}


/* Cart Page */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.cart-item-info h3 a {
    color: var(--dark);
    text-decoration: none;
}

.cart-item-info h3 a:hover {
    color: var(--primary);
}

.cart-item-code {
    font-size: 12px;
    color: var(--gray);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 5px;
}

.cart-item-quantity .qty-btn {
    width: 35px;
    height: 35px;
}

.cart-item-quantity input {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
}

.cart-item-price {
    text-align: right;
    min-width: 100px;
}

.unit-price {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-remove {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s;
}

.cart-item-remove:hover {
    background: #ff4444;
    color: var(--white);
}

.cart-summary {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-row .free {
    color: #4caf50;
    font-weight: 500;
}

.summary-row.discount span:last-child {
    color: #4caf50;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 18px;
    font-weight: 700;
}

.summary-total span:last-child {
    color: var(--primary);
}

.coupon-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.coupon-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
}

.coupon-box button {
    padding: 12px 20px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.btn-checkout:hover {
    background: var(--primary-dark);
}

.btn-continue {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--white);
    color: var(--dark);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid var(--border);
}

.btn-continue:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* Auth Pages (Login/Register) */
.auth-section {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.auth-box {
    max-width: 450px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.auth-box.register-box {
    max-width: 550px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.input-icon input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
}

.input-icon input:focus {
    outline: none;
    border-color: var(--primary);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-auth:hover {
    background: var(--primary-dark);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    position: relative;
    color: var(--gray);
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social.google:hover {
    background: #db4437;
    color: var(--white);
    border-color: #db4437;
}

.btn-social.facebook:hover {
    background: #4267b2;
    color: var(--white);
    border-color: #4267b2;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Static Pages Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-detail-grid {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
    .help-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .cart-grid {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 24px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .about-mission {
        grid-template-columns: 1fr;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .help-categories {
        grid-template-columns: 1fr;
    }
    .help-contact-options {
        flex-direction: column;
        gap: 25px;
    }
    .cart-item {
        flex-wrap: wrap;
    }
    .cart-item-info {
        width: calc(100% - 120px);
    }
    .cart-item-quantity,
    .cart-item-price {
        margin-top: 10px;
    }
    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
    .auth-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .cart-item {
        padding: 15px;
    }
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    .cart-summary {
        padding: 20px;
    }
}


/* ==================== SERVICES PAGE ==================== */

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary), #ff6090);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* Services Intro */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-intro p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr 350px;
    gap: 30px;
    align-items: start;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s;
}

.service-item:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-item.reverse {
    grid-template-columns: 350px 1fr 80px;
}

.service-item.reverse .service-icon {
    order: 3;
}

.service-item.reverse .service-content {
    order: 2;
}

.service-item.reverse .service-image {
    order: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 32px;
    color: var(--white);
}

.service-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 14px;
}

.service-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 12px;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Services CTA */
.services-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary), #ff6090);
    border-radius: 15px;
    color: var(--white);
}

.services-cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.services-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services Responsive */
@media (max-width: 992px) {
    .service-item,
    .service-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-item.reverse .service-icon,
    .service-item.reverse .service-content,
    .service-item.reverse .service-image {
        order: unset;
    }
    
    .service-icon {
        margin: 0 auto;
    }
    
    .service-content ul {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .service-image img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .page-banner p {
        font-size: 16px;
    }
    
    .service-item {
        padding: 25px;
    }
    
    .service-content h2 {
        font-size: 20px;
    }
    
    .services-cta {
        padding: 40px 20px;
    }
    
    .services-cta h2 {
        font-size: 22px;
    }
}


/* ==================== GALLERY PAGE ==================== */

/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filter .filter-btn,
.dealers-filter .filter-btn {
    padding: 12px 25px;
    background: var(--light-gray);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--dark);
}

.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active,
.dealers-filter .filter-btn:hover,
.dealers-filter .filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
}

.gallery-zoom:hover {
    background: var(--primary-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--primary);
    color: var(--white);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 18px;
    text-align: center;
}

/* Gallery Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .gallery-filter .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}


/* ==================== DEALERS PAGE ==================== */

/* Dealers Intro */
.dealers-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.dealers-intro p {
    color: var(--gray);
    line-height: 1.7;
}

/* Dealers Filter */
.dealers-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

/* Dealers Grid */
.dealers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.dealer-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.dealer-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.dealer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border);
}

.dealer-header h3 {
    font-size: 18px;
    color: var(--dark);
}

.dealer-badge {
    padding: 5px 12px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.dealer-badge.main {
    background: var(--primary);
}

.dealer-info {
    padding: 20px;
}

.dealer-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray);
}

.dealer-info p:last-child {
    margin-bottom: 0;
}

.dealer-info i {
    color: var(--primary);
    width: 16px;
    margin-top: 3px;
}

.dealer-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.btn-dealer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--light-gray);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-dealer:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-dealer.call {
    background: var(--primary);
    color: var(--white);
}

.btn-dealer.call:hover {
    background: var(--primary-dark);
}

/* Dealer Login Section */
.dealer-login-section {
    margin-bottom: 40px;
}

.dealer-login-box {
    background: linear-gradient(135deg, var(--primary), #ff6090);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.dealer-login-box i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.dealer-login-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.dealer-login-box p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-dealer-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-dealer-login:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Become Dealer Section */
.become-dealer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px;
    background: var(--light-gray);
    border-radius: 15px;
}

.become-dealer-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.become-dealer-content h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.become-dealer-content > p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.dealer-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.dealer-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--dark);
}

.dealer-benefits li i {
    color: var(--primary);
}

.become-dealer-image img {
    width: 100%;
    border-radius: 10px;
}

/* Dealers Responsive */
@media (max-width: 992px) {
    .dealers-grid {
        grid-template-columns: 1fr;
    }
    
    .become-dealer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    
    .dealer-benefits {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .dealer-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .dealer-actions {
        flex-direction: column;
    }
    
    .dealers-filter .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .become-dealer-content h2 {
        font-size: 22px;
    }
}


/* ==================== IMPROVED MOBILE MENU ==================== */

/* Mobile Menu Divider */
.mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
    pointer-events: none;
}

/* Mobile Menu Contact */
.mobile-menu-contact {
    padding: 15px 20px;
    background: var(--light-gray);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.mobile-menu-contact a:active {
    color: var(--primary);
}

.mobile-menu-contact a i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Hide top-bar links on mobile */
@media (max-width: 768px) {
    .top-bar .top-right {
        display: none;
    }
    
    .top-bar .top-left {
        width: 100%;
        justify-content: center;
    }
}


/* ==================== ACCOUNT PAGES ==================== */

/* Account Layout */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 30px 0;
}

/* Account Sidebar */
.account-sidebar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.account-user {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #ff6090);
    color: var(--white);
}

.account-user .avatar {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
    border: 3px solid rgba(255,255,255,0.3);
}

.account-user h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.account-user p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* Account Menu */
.account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.account-menu li:last-child {
    border-bottom: none;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.account-menu a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.account-menu a.active {
    background: #fce4ec;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    font-weight: 600;
}

.account-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.account-menu a .badge {
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

/* Account Content */
.account-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 30px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.account-header h1 {
    margin: 0;
    font-size: 24px;
    color: var(--dark);
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card h3 {
    margin: 0 0 5px;
    font-size: 28px;
    color: var(--dark);
}

.stat-card p {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

/* Recent Orders */
.recent-orders {
    margin-top: 30px;
}

.recent-orders h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
}

.order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 15px;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.order-info {
    flex: 1;
}

.order-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
}

.order-info p {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-status.shipping {
    background: #fff3e0;
    color: #ef6c00;
}

.order-status.pending {
    background: #e3f2fd;
    color: #1976d2;
}

.order-status.cancelled {
    background: #ffebee;
    color: #c62828;
}

.order-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.orders-table th {
    background: var(--light-gray);
    font-weight: 600;
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
}

.orders-table td {
    font-size: 14px;
}

.orders-table tr:hover {
    background: #fafafa;
}

.btn-detail {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-detail:hover {
    background: var(--primary-dark);
}

/* User Info Form */
.user-form {
    max-width: 600px;
}

.user-form .form-group {
    margin-bottom: 20px;
}

.user-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 14px;
}

.user-form input,
.user-form select,
.user-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.user-form input:focus,
.user-form select:focus,
.user-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.user-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-save {
    padding: 14px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-save:hover {
    background: var(--primary-dark);
}

/* Address Cards */
.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.address-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.address-card.default {
    border: 2px solid var(--primary);
}

.address-card .default-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.address-card h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.address-card p {
    margin: 0 0 5px;
    font-size: 14px;
    color: var(--gray);
}

.address-card .address-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.address-card .address-actions button {
    padding: 8px 15px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.address-card .address-actions button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.address-card .address-actions button.delete:hover {
    border-color: #c62828;
    color: #c62828;
}

.btn-add-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: transparent;
    color: var(--gray);
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-add-address:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Favorites Grid */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.favorite-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.favorite-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.favorite-item .remove-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.favorite-item .remove-fav:hover {
    background: var(--primary);
    color: var(--white);
}

.favorite-item .fav-info {
    padding: 15px;
}

.favorite-item .fav-info h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.favorite-item .fav-info .price {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
}

.favorite-item .fav-info .old-price {
    color: var(--gray);
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 8px;
}

.favorite-item .btn-add-cart {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.favorite-item .btn-add-cart:hover {
    background: var(--primary-dark);
}

/* Reviews */
.review-item {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-item .review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-item .review-header img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.review-item .review-header .product-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
}

.review-item .review-header .product-info p {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

.review-item .stars {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 10px;
}

.review-item .review-text {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
}

.review-item .review-date {
    font-size: 12px;
    color: var(--gray);
    margin-top: 10px;
}

.review-item .review-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.review-item .review-actions button {
    padding: 8px 15px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.review-item .review-actions button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--dark);
}

.empty-state p {
    margin: 0 0 25px;
    color: var(--gray);
}

.empty-state .btn-shop {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
}

.empty-state .btn-shop:hover {
    background: var(--primary-dark);
}

/* Account Responsive */
@media (max-width: 992px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
    }
    
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .address-grid {
        grid-template-columns: 1fr;
    }
    
    .user-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .orders-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .account-stats {
        grid-template-columns: 1fr;
    }
    
    .account-content {
        padding: 20px;
    }
    
    .account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-item {
        flex-wrap: wrap;
    }
    
    .order-item img {
        width: 50px;
        height: 50px;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}


/* ==================== ACCOUNT PAGES ==================== */

/* Account Layout */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 30px 0;
}

/* Account Sidebar */
.account-sidebar {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    height: fit-content;
}

.account-user {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #42a5f5);
    color: var(--white);
}

.account-user .avatar {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
    border: 3px solid rgba(255,255,255,0.3);
}

.account-user h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.account-user p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.account-menu li:last-child {
    border-bottom: none;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.account-menu a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.account-menu a.active {
    background: #e3f2fd;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    font-weight: 600;
}

.account-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.account-menu a .badge {
    background: #e91e63;
    color: var(--white);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

/* Account Content */
.account-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 30px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.account-header h1 {
    margin: 0;
    font-size: 24px;
    color: var(--dark);
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card h3 {
    margin: 0 0 5px;
    font-size: 28px;
    color: var(--dark);
}

.stat-card p {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

/* Recent Orders */
.recent-orders {
    margin-top: 30px;
}

.recent-orders h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
}

.order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 15px;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.order-info {
    flex: 1;
}

.order-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
}

.order-info p {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-status.shipping {
    background: #fff3e0;
    color: #ef6c00;
}

.order-status.pending {
    background: #e3f2fd;
    color: var(--primary);
}

.order-status.cancelled {
    background: #ffebee;
    color: #c62828;
}

.order-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}

/* Order Filters */
.order-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.order-filters button {
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.order-filters button.active,
.order-filters button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Order Card */
.order-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.order-card-header {
    background: var(--light-gray);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.order-card-header .order-no {
    font-weight: 600;
    color: var(--dark);
}

.order-card-header .order-date {
    color: var(--gray);
    font-size: 13px;
}

.order-card-body {
    padding: 20px;
}

.order-product {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-product:last-child {
    border-bottom: none;
}

.order-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.order-product-info {
    flex: 1;
}

.order-product-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
}

.order-product-info p {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

.order-product-price {
    text-align: right;
}

.order-product-price .price {
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
}

.order-product-price .qty {
    font-size: 13px;
    color: var(--gray);
}

.order-card-footer {
    background: var(--light-gray);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.order-total {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.order-actions {
    display: flex;
    gap: 10px;
}

.order-actions button,
.order-actions a {
    padding: 10px 20px;
    border: 1px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.order-actions button:hover,
.order-actions a:hover {
    background: var(--primary);
    color: var(--white);
}

.order-actions .primary {
    background: var(--primary);
    color: var(--white);
}

/* Review Tabs */
.review-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.review-tabs button {
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.review-tabs button.active,
.review-tabs button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Review Item */
.review-item {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-item-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.review-item-header img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.review-product-info {
    flex: 1;
}

.review-product-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.review-product-info p {
    margin: 0;
    font-size: 13px;
    color: var(--gray);
}

.review-stars {
    color: #ffc107;
    margin-top: 8px;
}

.review-stars i {
    margin-right: 2px;
}

.review-date {
    font-size: 12px;
    color: var(--gray);
}

.review-content {
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.review-content p {
    margin: 0;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
}

.review-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.review-actions button {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.review-actions button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.review-actions button.delete:hover {
    border-color: #e91e63;
    color: #e91e63;
}

/* Pending Review */
.pending-review {
    background: #fff3e0;
    border: 1px dashed #ff9800;
}

.pending-review .pending-badge {
    background: #ff9800;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 10px;
}

.pending-review .write-review-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.pending-review .write-review-btn:hover {
    background: var(--primary-dark);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Info Section */
.info-section {
    margin-bottom: 30px;
}

.info-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-section h2 i {
    color: var(--primary);
}

/* Password Section */
.password-section {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.password-section h2 {
    margin-top: 0;
}

/* Avatar Upload */
.avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
}

.avatar-upload .current-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 40px;
}

.avatar-upload .upload-btn {
    padding: 10px 20px;
    border: 1px dashed var(--primary);
    background: var(--white);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.avatar-upload .upload-btn:hover {
    background: #e3f2fd;
}

/* Input Note */
.input-note {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

/* Btn Save */
.btn-save {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-save:hover {
    background: var(--primary-dark);
}

/* Address Card */
.address-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.address-card.default {
    border: 2px solid var(--primary);
}

.address-card .default-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.address-card h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.address-card p {
    margin: 0 0 5px;
    font-size: 14px;
    color: var(--gray);
}

.address-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.address-actions button {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.address-actions button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Favorite Item */
.favorite-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 15px;
}

.favorite-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.favorite-item-info {
    flex: 1;
}

.favorite-item-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.favorite-item-info .price {
    font-weight: 600;
    color: var(--primary);
    font-size: 18px;
}

.favorite-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.favorite-item-actions button {
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.favorite-item-actions button.add-cart {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.favorite-item-actions button.remove:hover {
    border-color: #e91e63;
    color: #e91e63;
}

/* Account Page Responsive */
@media (max-width: 992px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .order-card-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .account-stats {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        flex-wrap: wrap;
    }
    
    .order-product {
        flex-direction: column;
    }
    
    .order-product img {
        width: 100%;
        height: 150px;
    }
    
    .review-item-header {
        flex-direction: column;
    }
    
    .review-item-header img {
        width: 100%;
        height: 150px;
    }
    
    .avatar-upload {
        flex-direction: column;
        text-align: center;
    }
    
    .favorite-item {
        flex-direction: column;
    }
    
    .favorite-item img {
        width: 100%;
        height: 150px;
    }
}


/* ==================== Address Page Styles ==================== */
.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.address-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.address-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.address-card.default {
    border-color: #1976d2;
    border-width: 2px;
}

.address-card-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.address-card.default .address-card-header {
    background: #e3f2fd;
}

.address-title {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-title i {
    color: #1976d2;
}

.default-badge {
    background: #1976d2;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-set-default {
    background: none;
    border: 1px solid #1976d2;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-set-default:hover {
    background: #1976d2;
    color: #fff;
}

.address-card-body {
    padding: 20px;
}

.address-name {
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    font-size: 15px;
}

.address-text {
    color: #666;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
}

.address-phone {
    color: #1976d2;
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
    border-top: 1px solid #e0e0e0;
}

.btn-edit, .btn-delete {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.3s;
}

.btn-edit:hover {
    border-color: #1976d2;
    color: #1976d2;
}

.btn-delete:hover {
    border-color: #e91e63;
    color: #e91e63;
}

.address-card.add-new {
    border: 2px dashed #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.address-card.add-new:hover {
    border-color: #1976d2;
    color: #1976d2;
    background: #f8f9fa;
}

.address-card.add-new i {
    font-size: 40px;
    margin-bottom: 10px;
}

.address-card.add-new span {
    font-size: 14px;
    font-weight: 500;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i {
    color: #1976d2;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body .form-group:last-child {
    margin-bottom: 0;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    font-family: inherit;
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(25,118,210,0.1);
}

.modal-body .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel {
    padding: 12px 25px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.btn-cancel:hover {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .address-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body .form-grid {
        grid-template-columns: 1fr;
    }
}


/* ==================== Favorites Page Styles ==================== */
.fav-count {
    color: #666;
    font-size: 14px;
}

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

.favorite-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

.favorite-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.favorite-card.out-of-stock .favorite-image img {
    opacity: 0.5;
}

.remove-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: 0.3s;
}

.remove-fav:hover {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.favorite-image {
    display: block;
    height: 160px;
    overflow: hidden;
    background: #f8f9fa;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.favorite-card:hover .favorite-image img {
    transform: scale(1.05);
}

.favorite-info {
    padding: 15px;
}

.favorite-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.favorite-title:hover {
    color: #1976d2;
}

.favorite-brand {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.favorite-price {
    margin-bottom: 8px;
}

.favorite-price .current {
    font-size: 18px;
    font-weight: 600;
    color: #1976d2;
}

.favorite-price .old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.favorite-stock {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.favorite-stock.in-stock {
    color: #2e7d32;
}

.favorite-stock.no-stock {
    color: #c62828;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: #1976d2;
    color: #fff;
    border: none;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-add-cart:hover {
    background: #1565c0;
}

.btn-notify {
    width: 100%;
    padding: 12px;
    background: #ff9800;
    color: #fff;
    border: none;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-notify:hover {
    background: #f57c00;
}

@media (max-width: 1200px) {
    .favorites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}


/* Legal Pages (Gizlilik, Kullanım Şartları, Veri Silme) */
.legal-page {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.legal-content h1 {
    font-size: 28px;
    color: #333;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-content h1 i {
    color: #1976d2;
}

.legal-content .last-update {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px;
}

.legal-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
    margin: 15px 0;
}

.legal-section li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px 20px;
    }
    
    .legal-content h1 {
        font-size: 22px;
    }
}
