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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

html, body {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #2d5a8c;
    --secondary-color: #4a90e2;
    --accent-color: #ff6b6b;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-color: #4a90e2;
    --secondary-color: #5ba3ff;
    --accent-color: #ff7e7e;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-light: #2a2a2a;
    --border-color: #404040;
    --white: #1a1a1a;
    --shadow: 0 2px 10px rgba(0,0,0,0.5);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.7);
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background: #2a2a2a;
}

body.dark-mode .nav-menu {
    background: #2a2a2a;
    border-top: 1px solid #444;
}

body.dark-mode .nav-menu a {
    color: #ffffff;
}

body.dark-mode .dropdown-menu {
    background: #333;
}

body.dark-mode .mobile-only a {
    background: #333;
    color: #ffffff;
}

body.dark-mode .mobile-only a:hover {
    background: var(--secondary-color);
}

body.dark-mode .mobile-only {
    border-top-color: #444;
}

body.dark-mode .hamburger span {
    background: #ffffff;
}

body.dark-mode .top-bar {
    background: #1a1a1a;
}

body.dark-mode .top-bar p {
    color: #ffffff;
}

body.dark-mode .product-card,
body.dark-mode .category-card,
body.dark-mode .feature-card,
body.dark-mode .testimonial-card {
    background: #2a2a2a;
    border: 1px solid #404040;
}

body.dark-mode .modal-content {
    background: #2a2a2a;
    color: #e0e0e0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

body.dark-mode .modal-header {
    background: #2a2a2a;
    border-bottom-color: #404040;
}

body.dark-mode .modal-footer {
    background: #2a2a2a;
    border-top-color: #404040;
}

body.dark-mode .footer {
    background: #0a0a0a;
}

body.dark-mode .footer-col h3 {
    color: #ffffff;
}

body.dark-mode .footer-col a {
    color: #e0e0e0;
}

body.dark-mode .footer-col a:hover {
    color: var(--secondary-color);
}

body.dark-mode .social-links a {
    color: #ffffff;
}

body.dark-mode .payment-methods,
body.dark-mode .payment-methods i {
    color: #ffffff;
}

body.dark-mode .footer-bottom p {
    color: #e0e0e0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Global smooth transitions for interactive elements */
a, button, input, select, textarea {
    transition: var(--transition-base);
}

img {
    transition: var(--transition-smooth);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1002;
}

.top-bar p {
    color: #ffffff;
    margin: 0;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    flex-wrap: wrap;
    position: relative;
}

.nav-brand h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-brand a {
    text-decoration: none;
    display: block;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 10px;
}

.search-btn,
.cart-btn,
.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover,
.cart-btn:hover,
.dark-mode-toggle:hover {
    color: var(--secondary-color);
    background: var(--bg-light);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Mobile only menu items */
.mobile-only {
    display: none;
}

.mobile-cart-count {
    background: var(--accent-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 80px 0 40px;
}

.hero-content {
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.2s both;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features {
    background: var(--white);
    padding: 40px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: var(--bg-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.feature-card:active {
    transform: translateY(-4px);
    transition: transform 0.1s ease;
}

.feature-card i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 107, 107, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.2);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(74, 144, 226, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.2);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Category Section */
.category-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.category-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.category-card:active {
    transform: translateY(-5px);
    transition: transform 0.1s ease;
}

.category-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Products Section */
.products-section {
    padding: 40px 0 80px;
    margin-top: 0;
}

.product-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-card:active {
    transform: translateY(-4px);
    transition: transform 0.1s ease;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

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

.btn-add-cart {
    flex: 1;
    padding: 10px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-view-detail {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-detail:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #ffffff;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.testimonial-card:active {
    transform: translateY(-4px) scale(1.01);
    transition: transform 0.1s ease;
}

.stars {
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-from {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.testimonial-product {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: var(--primary-color);
    color: #ffffff;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #ffffff;
}

.newsletter-section p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 30px;
}

/* Footer */
.footer {
    background: #2a2a2a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
}

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

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

.footer-col a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
    color: #ffffff;
}

.social-links a:hover {
    background: #ffffff;
    color: var(--primary-color);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 32px;
    margin-top: 10px;
    color: #ffffff;
}

.payment-methods i {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #e0e0e0;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        background: rgba(0,0,0,0);
    }
    to {
        opacity: 1;
        background: rgba(0,0,0,0.5);
    }
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    width: 600px;
    max-width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    transform-origin: center;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    0% {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    max-width: 85%;
    line-height: 1.3;
}

.close-btn {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    background: var(--white);
    position: sticky;
    bottom: 0;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

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

.cart-item-remove {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    background: #ff5252;
}

.cart-total {
    margin-bottom: 20px;
}

.cart-total h3 {
    font-size: 24px;
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 10px 20px;
    }
    
    /* Hide desktop action icons */
    .nav-actions .search-btn,
    .nav-actions .cart-btn,
    .nav-actions .dark-mode-toggle {
        display: none;
    }
    
    .nav-actions {
        gap: 15px;
        padding-right: 5px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        box-shadow: var(--shadow);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Show mobile only items */
    .mobile-only {
        display: block;
        border-top: 1px solid var(--border-color);
        padding-top: 10px;
        margin-top: 10px;
    }
    
    .mobile-only:first-of-type {
        margin-top: 15px;
        border-top: 2px solid var(--border-color);
        padding-top: 15px;
    }
    
    .mobile-only a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 15px;
        background: var(--bg-light);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .mobile-only a:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateX(5px);
    }
    
    .mobile-only a i {
        font-size: 18px;
        width: 20px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 10px;
    }
    
    .nav-brand h1 {
        font-size: 18px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .feature-grid,
    .category-slider,
    .product-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-section h2 {
        font-size: 24px;
    }
    
    .modal-content {
        width: 90%;
        max-height: 85vh;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content h2 {
        font-size: 28px;
    }
    
    .about-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .navbar .container {
        padding: 8px 15px;
    }
    
    .nav-brand h1 {
        font-size: 16px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-actions {
        gap: 12px;
        padding-right: 0;
    }
    
    .nav-menu {
        padding: 15px;
        gap: 12px;
    }
    
    .mobile-only a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .mobile-only a i {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .category-icon {
        font-size: 50px;
    }
    
    .category-card h3 {
        font-size: 20px;
    }
    
    .category-card p {
        font-size: 14px;
    }
    
    .product-image {
        height: 200px;
        font-size: 60px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-view-detail {
        width: 100%;
    }
    
    .about-content h2 {
        font-size: 22px;
    }
    
    .about-content p {
        font-size: 14px;
    }
    
    .newsletter-section h2 {
        font-size: 20px;
    }
    
    .newsletter-section p {
        font-size: 14px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        margin: 0 auto;
    }
    
    .filter-section {
        padding: 15px 0;
        margin-bottom: 15px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .modal-footer {
        padding: 12px;
    }
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(74, 144, 226, 0.95);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
    animation: pulse 2s infinite;
}

.coming-soon-badge i {
    font-size: 20px;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.coming-soon-image {
    position: relative;
    opacity: 0.6;
    filter: grayscale(50%);
}

.product-card:has(.coming-soon-badge) {
    border: 2px dashed var(--secondary-color);
}

.product-card:has(.coming-soon-badge):hover {
    cursor: default;
    transform: none;
}

/* Product Modal Image Container */
.modal-product-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
    background: var(--bg-light);
}

.modal-product-features {
    margin: 20px 0;
    text-align: left;
}

.modal-product-features ul {
    list-style: none;
    padding: 0;
}

.modal-product-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.modal-product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--secondary-color);
    color: var(--white);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    color: #ffffff;
}

/* Filter Section - Static Position */
.filter-section {
    position: static;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    margin-bottom: 30px;
}

.filter-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.filter-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.filter-item label {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.filter-item i {
    color: var(--secondary-color);
    font-size: 18px;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-weight: 500;
}

.filter-select:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
    transform: translateY(-1px);
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.12);
    transform: translateY(-1px);
}

.filter-select option {
    padding: 10px;
    font-weight: 500;
}

/* Featured Products Grid */
.featured-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Large Button */
.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-large i {
    margin-right: 10px;
}

/* Dark mode for filter section */
body.dark-mode .filter-section {
    background: #2a2a2a;
}

body.dark-mode .filter-item {
    background: #2a2a2a;
}

body.dark-mode .filter-item:hover {
    background: #333333;
}

body.dark-mode .filter-select {
    background: #2a2a2a;
    border-color: transparent;
    color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .filter-select:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

body.dark-mode .filter-select:focus {
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

body.dark-mode .newsletter-section {
    background: #2a2a2a;
}

body.dark-mode .newsletter-section h2,
body.dark-mode .newsletter-section p {
    color: #ffffff;
}

body.dark-mode .about-section {
    background: linear-gradient(135deg, #1a1a3e 0%, #2a1a3e 100%);
}

body.dark-mode .about-content h2,
body.dark-mode .about-content p {
    color: #ffffff;
}

/* Responsive adjustments for page header */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .filter-section {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .filter-container {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px;
    }
    
    .filter-item {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15px;
    }
    
    .filter-item label {
        font-size: 14px;
    }
    
    .filter-select {
        width: 100%;
        min-width: auto;
        font-size: 14px;
    }
    
    .featured-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Notification Styles with Smooth Animations */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 3000;
    opacity: 0;
    transform: translateX(400px) translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 15px;
    min-width: 250px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.notification.show {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    pointer-events: auto;
}

.notification.hide {
    opacity: 0;
    transform: translateX(400px) translateY(-20px) scale(0.9);
}

/* Notification Animation Keyframes */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(400px) translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(400px) translateY(-20px) scale(0.9);
    }
}

@keyframes notifPulse {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        transform: translateX(0) translateY(-5px) scale(1.02);
    }
}

/* Mobile notification positioning */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        top: 80px;
        min-width: auto;
        text-align: center;
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Search Modal Styles */
.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-results {
    max-height: 500px;
    overflow-y: auto;
    display: grid;
    gap: 15px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.search-result-item:hover {
    background: var(--white);
    border-color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-result-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 16px;
}

.search-result-category {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

.search-result-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 16px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.search-no-results i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Search Modal Responsive */
@media (max-width: 768px) {
    .search-result-image {
        width: 60px;
        height: 60px;
    }
    
    .search-result-name {
        font-size: 14px;
    }
    
    .search-result-category,
    .search-result-price {
        font-size: 13px;
    }
}
