* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --green-900: #0d2b1a;
            --green-800: #1a4a2e;
            --green-700: #1e6138;
            --green-600: #2d7a48;
            --green-500: #3a9e5f;
            --green-400: #52c27a;
            --green-300: #80d99f;
            --green-100: #e8f7ed;
            --cream: #fdfcf8;
            --stone-100: #f5f3ee;
            --stone-200: #ede9e0;
            --stone-400: #a89f8c;
            --stone-600: #6b6258;
            --stone-800: #2c2520;
            --orange-600: #e85d04;
            --orange-500: #f48c06;
            --white: #ffffff;
            --primary: var(--green-600);
            --primary-dark: var(--green-700);
            --secondary: var(--green-400);
            --danger: var(--orange-600);
            --success: var(--green-500);
            --light: var(--stone-100);
            --text-primary: var(--stone-800);
            --text-secondary: var(--stone-600);
            --border: #e2ded5;
            --shadow-sm: 0 1px 3px rgba(13, 43, 26, .06);
            --shadow-md: 0 4px 16px rgba(13, 43, 26, .1);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 24px;
            --radius-pill: 99px;
            --font-display: 'Sora', sans-serif;
            --font-body: 'DM Sans', sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background: var(--cream);
            color: var(--stone-800);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== HEADER ===== */
        .header {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-sm);
        }

        .header-content {
            display: flex;
            align-items: center;
            height: 72px;
            gap: 28px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo-icon,
        .logo-img {
            height: 36px;
            width: auto;
            display: block;
            object-fit: contain;
        }

        .nav {
            flex: 1;
        }

        .nav ul {
            list-style: none;
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .nav a {
            text-decoration: none;
            color: var(--stone-600);
            font-size: 14px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: var(--radius-pill);
            transition: all 0.2s;
        }

        .nav a:hover {
            color: var(--green-700);
            background: var(--green-100);
        }

        .search-bar {
            flex: 1;
            max-width: 380px;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 10px 16px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-pill);
            font-family: var(--font-body);
            font-size: 14px;
            color: var(--stone-800);
            background: var(--stone-100);
            transition: all 0.25s;
        }

        .search-bar input::placeholder {
            color: var(--stone-400);
        }

        .search-bar input:focus {
            outline: none;
            border-color: var(--green-500);
            background: var(--white);
            box-shadow: 0 0 0 3px rgba(58, 158, 95, .12);
        }

        .header-actions {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-shrink: 0;
        }

        .cart-icon {
            position: relative;
            cursor: pointer;
            font-size: 24px;
            transition: transform 0.3s;
        }

        .cart-icon:hover {
            transform: scale(1.1);
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--danger);
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
        }

        .btn {
            padding: 10px 24px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(45, 122, 72, 0.25);
        }

        .btn-secondary {
            background: var(--light);
            color: var(--primary);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background: #e5e7eb;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            padding: 100px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            top: -100px;
            right: -50px;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 52px;
            margin-bottom: 20px;
            font-weight: 800;
            line-height: 1.2;
        }

        .hero p {
            font-size: 18px;
            margin-bottom: 40px;
            opacity: 0.95;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .hero .btn {
            padding: 14px 40px;
            font-size: 15px;
        }

        .btn-white {
            background: white;
            color: var(--primary);
        }

        .btn-white:hover {
            background: #f0f0f0;
        }

        /* ===== SEARCH & FILTER ===== */
        .filter-section {
            background: white;
            padding: 30px 0;
            margin: -40px 0 40px;
            position: relative;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            border-radius: 12px;
        }

        .filter-container {
            display: flex;
            gap: 20px;
            align-items: center;
            flex-wrap: wrap;
        }

        .filter-group {
            flex: 1;
            min-width: 200px;
        }

        .filter-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .filter-group select {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .filter-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(45, 122, 72, 0.12);
        }

        .price-range {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .price-range input {
            flex: 1;
            padding: 10px 14px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 14px;
        }

        .price-range-separator {
            color: var(--text-secondary);
            font-weight: 600;
        }

        /* ===== PRODUCTS SECTION ===== */
        .products-section {
            padding: 40px 0 80px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .view-toggle {
            display: flex;
            gap: 10px;
        }

        .view-toggle button {
            padding: 8px 12px;
            background: var(--light);
            border: 1px solid var(--border);
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s;
        }

        .view-toggle button.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 24px;
        }

        .product-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            position: relative;
        }

        .product-card:hover {
            border-color: var(--primary);
            box-shadow: 0 16px 40px rgba(45, 122, 72, 0.15);
            transform: translateY(-12px);
        }

        .product-image {
            width: 100%;
            height: 240px;
            background: linear-gradient(135deg, var(--light) 0%, #e5e7eb 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 70px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .product-card:hover .product-image {
            transform: scale(1.08);
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .product-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: var(--danger);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
            z-index: 10;
        }

        .product-badge.new {
            background: var(--success);
            box-shadow: 0 4px 12px rgba(81, 207, 102, 0.3);
        }

        .product-info {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .product-category {
            font-size: 11px;
            color: var(--primary);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            margin-bottom: 10px;
            opacity: 0.8;
        }

        .product-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 10px;
            line-height: 1.5;
            min-height: 30px;
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .stars {
            color: #ffc107;
            font-size: 13px;
            letter-spacing: 1px;
        }

        .product-price {
            display: flex;
            align-items: baseline;
            gap: 10px;
            margin-bottom: auto;
            margin-bottom: 16px;
            padding: 12px 0;
            border-top: 1px solid #f0f0f0;
            border-bottom: 1px solid #f0f0f0;
        }

        .price {
            font-size: 22px;
            font-weight: 800;
            color: var(--primary);
        }

        .original-price {
            font-size: 13px;
            color: var(--text-secondary);
            text-decoration: line-through;
            opacity: 0.7;
        }

        .discount-badge {
            font-size: 11px;
            background: var(--danger);
            color: white;
            padding: 4px 10px;
            border-radius: 6px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .product-actions {
            display: flex;
            gap: 8px;
        }

        .btn-add-cart {
            flex: 1;
            padding: 12px 16px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 13px;
            box-shadow: 0 4px 12px rgba(45, 122, 72, 0.18);
        }

        .btn-add-cart:hover {
            background: linear-gradient(135deg, var(--primary-dark), #e875d9);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(45, 122, 72, 0.28);
        }

        .btn-add-cart:active {
            transform: translateY(0);
        }

        .btn-favorite {
            padding: 12px 16px;
            background: #fef3f3;
            border: 2px solid var(--border);
            border-radius: 10px;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s;
            color: #ff6b6b;
        }

        .btn-favorite:hover {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
            box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
        }

        .btn-favorite.active {
            background: var(--danger);
            color: white;
            border-color: var(--danger);
        }

        /* ===== CART MODAL ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            backdrop-filter: blur(4px);
        }

        .modal-overlay.active {
            display: block;
        }

        .modal {
            position: fixed;
            right: 0;
            top: 0;
            width: 400px;
            height: 100vh;
            background: white;
            z-index: 2001;
            display: flex;
            flex-direction: column;
            box-shadow: -8px 0 30px rgba(13, 43, 26, 0.12);
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }

        .modal.active {
            transform: translateX(0);
        }

        .modal-header {
            padding: 20px;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            font-size: 20px;
            font-weight: 700;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-secondary);
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: var(--text-primary);
        }

        .modal-content {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }

        .cart-empty {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-secondary);
        }

        .cart-empty-icon {
            font-size: 60px;
            margin-bottom: 20px;
        }

        .cart-item {
            display: flex;
            gap: 15px;
            padding: 15px;
            background: var(--light);
            border-radius: 8px;
            margin-bottom: 15px;
        }

        .cart-item-image {
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            flex-shrink: 0;
        }

        .cart-item-info {
            flex: 1;
        }

        .cart-item-title {
            font-weight: 600;
            margin-bottom: 4px;
            font-size: 14px;
        }

        .cart-item-price {
            color: var(--primary);
            font-weight: 700;
            margin-bottom: 8px;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            border: 1px solid var(--border);
            border-radius: 4px;
            overflow: hidden;
        }

        .quantity-control button {
            background: white;
            border: none;
            width: 28px;
            height: 28px;
            cursor: pointer;
            font-weight: 600;
            color: var(--primary);
            transition: all 0.3s;
        }

        .quantity-control button:hover {
            background: var(--light);
        }

        .quantity-control input {
            width: 40px;
            border: none;
            text-align: center;
            font-weight: 600;
        }

        .btn-remove {
            background: none;
            border: none;
            color: var(--danger);
            cursor: pointer;
            font-size: 18px;
            transition: color 0.3s;
        }

        .btn-remove:hover {
            color: #ff5252;
        }

        .modal-footer {
            padding: 20px;
            border-top: 1px solid var(--border);
            background: var(--light);
        }

        .cart-summary {
            margin-bottom: 15px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 14px;
        }

        .summary-row.total {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary);
            border-top: 1px solid var(--border);
            padding-top: 10px;
        }

        .btn-checkout {
            width: 100%;
            padding: 14px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-checkout:hover {
            background: var(--primary-dark);
        }

        .btn-checkout:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        /* ===== PRODUCT DETAIL MODAL ===== */
        .product-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            background: white;
            border-radius: 12px;
            z-index: 2002;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            display: none;
            opacity: 0;
            transition: all 0.3s ease;
            padding: 0;
        }

        .product-modal.active {
            display: block;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .product-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--light);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            z-index: 10;
        }

        .product-modal-close:hover {
            background: var(--border);
        }

        .product-modal-image {
            width: 100%;
            height: 300px;
            background: linear-gradient(135deg, var(--light) 0%, #e5e7eb 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 100px;
        }

        .product-modal-content {
            padding: 30px;
        }

        .product-modal-category {
            color: var(--primary);
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .product-modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .product-modal-rating {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .product-modal-price {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .product-modal-description {
            color: var(--text-secondary);
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .product-modal-features {
            background: var(--light);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 25px;
        }

        .product-modal-features h4 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .product-modal-features ul {
            list-style: none;
        }

        .product-modal-features li {
            padding: 8px 0;
            font-size: 14px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .product-modal-features li::before {
            content: '✓';
            color: var(--success);
            font-weight: 700;
        }

        .product-modal-quantity {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
        }

        .product-modal-quantity label {
            font-weight: 600;
            font-size: 14px;
        }

        .modal-quantity-control {
            display: flex;
            align-items: center;
            border: 1px solid var(--border);
            border-radius: 6px;
            overflow: hidden;
        }

        .modal-quantity-control button {
            background: var(--light);
            border: none;
            width: 36px;
            height: 36px;
            cursor: pointer;
            font-weight: 600;
            color: var(--primary);
            transition: all 0.3s;
        }

        .modal-quantity-control button:hover {
            background: #e5e7eb;
        }

        .modal-quantity-control input {
            width: 50px;
            border: none;
            text-align: center;
            font-weight: 600;
            font-size: 16px;
        }

        .product-modal-actions {
            display: flex;
            gap: 15px;
        }

        .product-modal-actions .btn {
            flex: 1;
            padding: 14px;
            font-size: 15px;
            border: none;
            cursor: pointer;
        }

        /* ===== NOTIFICATIONS ===== */
        .notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: white;
            padding: 16px 20px;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 3000;
            animation: slideIn 0.3s ease;
            max-width: 350px;
        }

        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        .notification.success {
            border-left: 4px solid var(--success);
        }

        .notification.error {
            border-left: 4px solid var(--danger);
        }

        .notification.info {
            border-left: 4px solid var(--primary);
        }

        .notification-icon {
            font-size: 20px;
            flex-shrink: 0;
        }

        .notification-message {
            font-size: 14px;
            font-weight: 500;
        }

        .notification-close {
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            font-size: 18px;
            margin-left: auto;
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--green-900);
            color: rgba(255, 255, 255, 0.92);
            padding: 60px 0 30px;
            margin-top: 100px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h4 {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 20px;
            color: white;
        }

        .footer-section a {
            display: block;
            color: rgba(255, 255, 255, 0.75);
            text-decoration: none;
            font-size: 14px;
            margin-bottom: 12px;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: var(--green-400);
        }

        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            font-size: 18px;
            color: white;
            text-decoration: none;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            padding-top: 30px;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .header-content {
                flex-wrap: wrap;
                gap: 15px;
            }

            .search-bar {
                order: 3;
                flex-basis: 100%;
                max-width: 100%;
            }

            .nav {
                order: 2;
            }

            .nav ul {
                gap: 20px;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 16px;
            }

            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }

            .modal {
                width: 100%;
            }

            .modal-overlay.active {
                display: block;
            }

            .notification {
                bottom: 20px;
                right: 20px;
                left: 20px;
                max-width: none;
            }

            .filter-container {
                flex-direction: column;
            }

            .filter-group {
                width: 100%;
            }
        }