
        :root {
            --primary: #45c2ef;
            --primary-dark: #4f46e5;
            --secondary: #0f172a;
            --text: #334155;
            --light: #f8fafc;
            --accent: #f59e0b;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            margin: 0;
            color: var(--text);
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }
        header, footer {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }
        header {
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
            transition: all 0.3s ease;
        }
        /* Header/nav styles (copied to match index.html) */
        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .nav-menu {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
        .nav-menu a {
            color: var(--text);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            font-weight: 500;
        }
        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }
        .nav-menu a:hover::after { width: 100%; }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }
        .cart-icon { position: relative; cursor: pointer; transition: transform 0.3s ease; }
        .cart-icon svg { color: var(--text); width: 28px; height: 28px; }
        .cart-icon:hover { transform: scale(1.1); }
        .cart-count {
            position: absolute; top: -8px; right: -8px; background: var(--accent);
            color: rgb(0, 0, 0); border-radius: 50%; width: 20px; height: 20px;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.75rem; font-weight: bold;
        }
        .cart-count.pulse { animation: pulse 0.5s ease; }
        @keyframes pulse { 0%{transform:scale(1)}50%{transform:scale(1.2)}100%{transform:scale(1)} }
        .hamburger-menu { display: none; cursor: pointer; z-index: 101; padding: 0.5rem; position: relative; }
        .hamburger-menu .bar { display:block; width:25px; height:3px; margin:5px auto; background-color: var(--secondary); transition: all 0.3s ease-in-out; border-radius: 2px; }
        /* Footer layout to match index.html */
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
        }
        .footer-grid {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        .footer-section h3 { color: var(--secondary); margin-bottom: 1rem; }
        .footer-section ul { list-style: none; padding: 0; margin: 0; }
        .footer-section ul li { margin-bottom: 0.5rem; }
        .footer-section ul li a { color: var(--text); text-decoration: none; transition: color 0.3s ease; }
        .footer-section ul li a:hover { color: var(--primary); }
        .social-links { display: flex; gap: 1rem; margin-top: 1rem; }
        .social-links a { width: 40px; height: 40px; background: #f1f5f9; color: var(--text); border-radius: 50%;
            display:flex; align-items:center; justify-content:center; transition: all .3s; }
        .social-links a:hover { transform: translateY(-5px); background: var(--primary); color: white; }
        .footer-bottom { text-align: center; border-top: 1px solid #e5e7eb; padding: 1.25rem 0 1.5rem; margin-top: 2rem; }
        a.logo {
            font-weight: 800;
            text-decoration: none;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            -webkit-background-clip: text; background-clip: text;
            -webkit-text-fill-color: transparent;
            font-size: 2.2rem;
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .logo-img {
            height: 2.5rem;
            width: auto;
            object-fit: contain;
            display: block;
        }
        a.logo::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        a.logo:hover::after {
            transform: scaleX(1);
        }
        a.logo:hover {
            transform: translateY(-1px);
            transition: transform 0.2s ease;
        }
        /* Modal styles for cart */
        .modal {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 1000;
        }
        .modal.active { display: flex; align-items: center; justify-content: center; }
        .modal-content {
            background: white; border-radius: 20px; padding: 2rem; max-width: 500px; width: 90%; position: relative;
        }
        
        /* Mobile: Instant modal appearance */
        @media (max-width: 768px) {
            .modal.active {
                align-items: flex-end;
                justify-content: stretch;
            }
            
            .modal-content {
                max-width: 100%;
                width: 100%;
                border-radius: 20px 20px 0 0;
                max-height: 90vh;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                padding: 1.5rem;
                margin: 0;
            }
        }
        .close-modal { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 2rem; cursor: pointer; color: #999; }
        .cart-item { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; border-bottom: 1px solid #e5e7eb; }
        .cart-item:last-child { border-bottom: none; }
        .remove-item { background: none; border: none; color: #9ca3af; font-size: 1.25rem; cursor: pointer; margin-left: .75rem; }
        .cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; }
        .toast {
            position: fixed; bottom: 2rem; right: 2rem; background: #10b981; color: white; padding: 1rem 2rem;
            border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transform: translateX(calc(100% + 2rem)); transition: transform .5s;
        }
        .toast.show { transform: translateX(0); }
        .toast.error { background: #ef4444; }
        /* Error Popup Modal Styles */
        .error-popup-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 3000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }
        .error-popup-modal.active {
            display: flex;
        }
        .error-popup-content {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: popupSlideIn 0.3s ease-out;
        }
        @keyframes popupSlideIn {
            from {
                opacity: 0;
                transform: translateY(-20px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        .error-popup-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #999;
            line-height: 1;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
        }
        .error-popup-close:hover {
            background: #f3f4f6;
            color: #333;
        }
        .error-popup-content h3 {
            margin: 0 0 1rem 0;
            color: #111827;
            font-size: 1.5rem;
            font-weight: 600;
        }
        .error-popup-content p {
            margin: 0 0 1.5rem 0;
            color: #4b5563;
            line-height: 1.6;
            font-size: 1rem;
        }
        .error-popup-content .btn {
            width: 100%;
            margin-top: 1rem;
        }
        @media (max-width: 768px) {
            .error-popup-content {
                padding: 1.5rem;
                margin: 1rem;
            }
            .error-popup-content h3 {
                font-size: 1.25rem;
            }
            .error-popup-content p {
                font-size: 0.95rem;
            }
        }
        .container {
            background: rgba(255, 255, 255, 0.95);
            margin: 2rem auto;
            border-radius: 18px;
            padding: 2rem;
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            max-width: 1200px;
        }
        .grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 2rem;
        }
        .cover {
            border-radius: 14px;
            overflow: hidden;
            background: #fff;
            padding: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        .cover img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: contain;
        }
        h1 {
            color: var(--secondary);
            margin: 0 0 0.5rem;
        }
        .subtitle { color: #475569; margin-bottom: 1rem; }
        .badge {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 0.35rem 0.75rem;
            border-radius: 999px;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }
        .price-container {
            margin: 0.75rem 0 1rem;
        }
        .price-wrapper {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 0.5rem;
        }
        .price {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .old-price {
            text-decoration: line-through;
            color: #94a3b8;
            font-weight: 500;
            font-size: 1.5rem;
        }
        .new-price {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--primary);
        }
        .discount-badge {
            display: inline-block;
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            color: white;
            padding: 0.4rem 0.9rem;
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
            white-space: nowrap;
        }
        .offer-badge {
            display: inline-block;
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            color: white;
            padding: 0.4rem 0.9rem;
            border-radius: 999px;
            font-size: 0.85rem;
            font-weight: 700;
            animation: pulse-badge 2s ease-in-out infinite;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
        }
        @keyframes pulse-badge {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 6px 16px rgba(245, 158, 11, 0.6);
            }
        }
        .btns { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.25rem 0 2rem; }
        .btn {
            border: none;
            padding: 0.9rem 1.4rem;
            border-radius: 999px;
            font-weight: 700;
            cursor: pointer;
        }
        .btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
        .btn-secondary { background: white; color: var(--primary); border: 2px solid var(--primary); text-decoration: none; display: inline-flex; align-items: center; }
        .section { margin: 1.25rem 0 0; }
        .section h2 { margin: 0 0 .5rem; color: var(--secondary); }
        .features { list-style: none; padding: 0; margin: .5rem 0 0; }
        .features li { margin: .35rem 0; }
        footer .footer-bottom {
            text-align: center;
            border-top: 1px solid #e5e7eb;
            padding: 1.25rem 0 1.5rem;
        }
        @media (max-width: 1024px) {
            .container {
                padding: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            body {
                font-size: 16px;
            }
            
            nav {
                padding: 0.75rem 1rem;
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            .container {
                padding: 1rem;
                margin: 1rem auto;
            }
            
            .grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .cover {
                padding: 8px;
            }
            
            h1 {
                font-size: 1.75rem;
            }
            
            .subtitle {
                font-size: 0.95rem;
            }
            
            .price-container {
                margin: 0.75rem 0 1rem;
            }
            .old-price {
                font-size: 1.25rem;
            }
            .new-price {
                font-size: 1.5rem;
            }
            .discount-badge {
                font-size: 0.75rem;
                padding: 0.3rem 0.65rem;
            }
            .offer-badge {
                font-size: 0.8rem;
                padding: 0.35rem 0.75rem;
            }
            
            .btns {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .btn {
                width: 100%;
                min-height: 44px;
                padding: 0.875rem 1.5rem;
            }
            
            .section {
                margin: 1rem 0 0;
            }
            
            .section h2 {
                font-size: 1.25rem;
            }
            
            .features li {
                font-size: 0.95rem;
            }
            
            .hamburger-menu {
                display: block;
                min-width: 44px;
                min-height: 44px;
                padding: 0.5rem;
            }
            
            .hamburger-menu.active .bar:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger-menu.active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            
            .hamburger-menu.active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
            
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 0;
                flex-direction: column;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(10px);
                width: 100%;
                height: 100vh;
                padding-top: 5rem;
                text-align: center;
                transition: 0.3s;
                gap: 1.5rem;
                z-index: 100;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            /* Close button overlay when menu is open */
            .nav-menu.active::before {
                content: '';
                position: fixed;
                top: 1rem;
                right: 1rem;
                width: 44px;
                height: 44px;
                background: rgba(0, 0, 0, 0.05);
                border-radius: 50%;
                z-index: 102;
                pointer-events: none;
            }
            
            .nav-menu a {
                font-size: 1.25rem;
                padding: 0.75rem;
                min-height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .cart-icon {
                min-width: 44px;
                min-height: 44px;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .footer-section {
                text-align: center;
            }
            
            .modal-content {
                max-width: 95%;
                padding: 1.5rem;
                margin: 1rem;
            }
            
            .toast {
                bottom: 1rem;
                right: 1rem;
                left: 1rem;
                transform: translateX(calc(100% + 1rem));
                padding: 1rem;
                font-size: 0.9rem;
                max-width: calc(100% - 2rem);
            }
            
            .toast.show {
                transform: translateX(0);
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0.75rem;
            }
            
            h1 {
                font-size: 1.5rem;
            }
            
            .old-price {
                font-size: 1.1rem;
            }
            .new-price {
                font-size: 1.35rem;
            }
            .discount-badge {
                font-size: 0.7rem;
                padding: 0.25rem 0.6rem;
            }
            .offer-badge {
                font-size: 0.75rem;
                padding: 0.3rem 0.65rem;
            }
            
            .logo, a.logo {
                font-size: 1.75rem;
            }
        }
