:root {
    --bg: #05070f;
    --card: rgba(13, 18, 36, 0.65);
    --card-hover: rgba(20, 28, 56, 0.85);
    --primary: #1e40af;
    --primary-glow: rgba(30, 64, 175, 0.35);
    --accent: #38bdf8;
    --text: #f1f5f9;
    --muted: #64748b;
    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(56, 189, 248, 0.3);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --font-stack: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg);
    background-image: 
        radial-gradient(circle at 85% 0%, rgba(30, 64, 175, 0.15), transparent 50%),
        radial-gradient(circle at 15% 75%, rgba(56, 189, 248, 0.08), transparent 55%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

.container { 
    width: min(1200px, 92%); 
    margin: 0 auto; }
.text-center { 
    text-align: center; }

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    display: inline-flex;
    align-items: center;
    background: rgba(56, 189, 248, 0.08);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    margin-bottom: 25px;
}

::-webkit-scrollbar { 
    
    width: 10px; }

::-webkit-scrollbar-track {
     background: var(--bg); }
::-webkit-scrollbar-thumb { 
    background: #1e293b; 
    border-radius: 100px; 
    border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { 
    background: #334155; }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(5, 7, 15, 0.8);
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo { 
    font-size: 1.5rem;
     font-weight: 800;
     letter-spacing: -0.5px; }
.logo a { 
    color: #fff; 
    text-decoration: none; }
.logo span { 
    color: var(--accent); }

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { 
    color: #fff; }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-premium);
}
.nav-links a:hover::after, .nav-links a.active::after { 
    width: 100%; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 10px 22px;
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s var(--ease-premium);
}
.cart-icon-svg { 
    stroke: var(--accent); 
    transition: stroke 0.3s ease; }
.nav-cta:hover { 
    background: #fff; 
    color: #000; 
    transform: translateY(-1px); }
.nav-cta:hover .cart-icon-svg { 
    stroke: #000; }

.cart-count {
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}
.nav-cta:hover .cart-count { 
    background: #000; 
    color: #fff; }

.menu-toggle { 
    display: none; }
.menu-icon { 
    display: none; 
    cursor: pointer; }

/* Hero section */
.store-hero { 
    padding: 120px 0 60px; }
.store-hero h1 { 
    font-size: clamp(2.5rem, 6vw, 4.2rem); 
    font-weight: 800; 
    letter-spacing: -2px; 
    line-height: 1.1; 
    margin-bottom: 24px; }
.store-hero p { 
    color: var(--muted); 
    font-size: 1.2rem;
     max-width: 640px; 
    margin: 0 auto; }

.catalog { 
    padding-bottom: 140px; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all 0.4s var(--ease-premium);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--card-hover);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.6s var(--ease-premium);
}
.product-card:hover .card-img-wrapper img { 
    transform: scale(1.04); }

.image-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    pointer-events: none;
    opacity: 0.6;
}
.watch-glow { 
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%); }
.audio-glow { 
    background: radial-gradient(circle, #a855f7 0%, transparent 70%); }
.fitness-glow { 
    background: radial-gradient(circle, #10b981 0%, transparent 70%); }

.badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 3;
}
.badge.secondary { 
    background: rgba(239, 68, 68, 0.25); 
    border-color: rgba(239, 68, 68, 0.4); 
    color: #ef4444; }

.card-info { 
    padding: 35px;
     display: flex; 
    flex-direction: column; 
    flex-grow: 1; }
.card-info h3 { 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-bottom: 12px;
     color: #fff; }
.card-info p { 
    color: var(--muted); 
    font-size: 0.95rem; 
    line-height: 1.6; 
    margin-bottom: 30px; 
    flex-grow: 1; }

.card-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 20px; 
    border-top: 1px solid var(--border); }
.card-price { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: #fff; }

.btn-sm, .btn-primary {
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-premium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}
.btn-sm { 
    background: rgba(255, 255, 255, 0.05);
     border: 1px solid var(--border);
     color: #fff; padding: 10px 24px; }
.btn-sm:hover { 
    background: #fff; 
    color: #000; 
    border-color: #fff; }
.disabled-btn { 
    background: rgba(255,255,255,0.02); 
    border-color: var(--border); 
    color: #475569; 
    cursor: not-allowed; }

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    padding: 16px 40px;
    box-shadow: 0 10px 30px var(--primary-glow);
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5); }
.full-width { 
    width: 100%; }

.breadcrumbs { 
    padding: 40px 0 10px; }
.breadcrumbs ol { 
    display: flex; 
    gap: 10px; 
    list-style: none; 
    font-size: 0.85rem; 
    color: var(--muted); }
.breadcrumbs a { 
    color: var(--muted); 
    text-decoration: none; }
.breadcrumbs a:hover { 
    color: #fff; }

.detail-section { 
    padding-top: 20px; 
    padding-bottom: 140px; }
.detail-grid { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr;
     gap: 80px; 
    align-items: center; }

.main-display-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: 40px;
    height: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.main-display-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    position: relative; 
    z-index: 2; 
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.6)); 
}

.watch-glow-lg { 
    background: radial-gradient(circle, rgba(30, 64, 175, 0.3) 0%, transparent 70%); 
    width: 400px; 
    height: 400px; }
.audio-glow-lg { 
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%); 
    width: 400px; 
    height: 400px; }

.detail-content h1 { 
    font-size: clamp(2.2rem, 5vw, 3rem); 
    font-weight: 800; 
    letter-spacing: -1.5px; 
    margin-bottom: 15px; 
    color: #fff; }
.detail-price { 
    font-size: 2.5rem;
     font-weight: 800;
     color: #fff;
     margin-bottom: 30px;
     display: flex; 
    align-items: center; 
    gap: 20px; }
.old-price {
     font-size: 1.5rem;
     color: var(--muted);
     text-decoration: line-through; 
    font-weight: 400; }
.product-desc { 
    color: var(--muted); 
    font-size: 1.05rem; 
    line-height: 1.7; 
    margin-bottom: 40px; }

.sub-heading-specs { 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px;
     color: #fff; 
    margin-bottom: 20px; 
    font-weight: 700; }
.spec-highlights { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    margin-bottom: 45px; }
.highlight-item { 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid var(--border); 
    padding: 18px 12px;
     border-radius: 20px;
     text-align: center; 
    font-size: 0.85rem;
     color: var(--muted); }
.highlight-item strong { 
    display: block; 
    color: #fff; 
    font-size: 1.1rem;
     margin-bottom: 4px; }

.security-badges { 
    margin-top: 25px;
     display: flex;
     flex-direction: column; 
    gap: 8px; }
.security-badges p {
     font-size: 0.8rem;
     color: var(--muted);
     display: flex; 
    align-items: center;
     gap: 8px; 
    justify-content: center; }

.cart-page-section {
     padding: 60px 0 140px; }
.cart-page-section h1 { 
    font-size: 2.8rem; 
    font-weight: 800; 
    letter-spacing: -1.5px; 
    margin-bottom: 50px; }
.cart-layout-grid { 
    display: grid; 
    grid-template-columns: 1.3fr 0.7fr; 
    gap: 50px; 
    align-items: start; }

.cart-items-list { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; }
.cart-item-row {
     display: flex; 
    align-items: center; 
    background: var(--card); 
    border: 1px solid var(--border); 
    padding: 25px; 
    border-radius: 24px; 
    gap: 25px; }
.cart-item-thumb { 
    width: 90px; 
    height: 90px; 
    background: rgba(0,0,0,0.2); 
    border-radius: 16px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 10px; }
.cart-item-thumb img { 
    max-height: 100%; 
    object-fit: contain; }

.cart-item-meta { 
    flex-grow: 1; }
.cart-item-meta h3 { 
    font-size: 1.15rem; 
    font-weight: 600; 
    color: #fff; 
    margin-bottom: 4px; }
.meta-spec { 
    color: var(--muted);
     font-size: 0.85rem; 
    margin-bottom: 8px; }
.meta-delivery {
     color: #10b981; 
    font-size: 0.8rem; 
    font-weight: 500; }

.cart-item-actions { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    align-items: flex-start; }
.quantity-picker {
     font-size: 0.85rem; 
    color: var(--text);
     background: rgba(255,255,255,0.04); 
    padding: 4px 12px; 
    border-radius: 6px;
     border: 1px solid var(--border); }
.remove-btn { 
    background: transparent;
     border: none; 
    color: #ef4444; 
    font-size: 0.8rem; 
    font-weight: 500; 
    cursor: pointer;
     padding: 0; }
.remove-btn:hover { 
    text-decoration: underline; }
.cart-item-price-col { 
    font-size: 1.3rem; 
    font-weight: 700;
     color: #fff; 
    min-width: 90px; 
    text-align: right; }

.cart-summary-card { 
    background: linear-gradient(180deg, rgba(20, 28, 56, 0.4) 0%, rgba(10, 14, 28, 0.8) 100%); 
    border: 1px solid rgba(56, 189, 248, 0.15); 
    padding: 40px;
     border-radius: 28px; 
    backdrop-filter: blur(20px); }
.cart-summary-card h2 { 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-bottom: 30px;
     color: #fff; }
.summary-row {
     display: flex; 
    justify-content: space-between; 
    font-size: 0.95rem; 
    color: var(--muted); 
    margin-bottom: 18px; }
.summary-row span:last-child { 
    color: #fff; 
    font-weight: 500; }
.summary-row .free-text {
     color: #10b981 !important; 
    font-weight: 600 !important; }

.summary-total-divider { 
    height: 1px; 
    background: var(--border); 
    margin: 25px 0; }
.total-row { 
    font-size: 1.25rem; 
    color: #fff;
     font-weight: 700; }
.total-row span:last-child { 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: var(--accent); }
.checkout-btn { 
    margin-top: 25px; }
.guarantee-text { 
    text-align: center; 
    margin-top: 15px; 
    font-size: 0.75rem; 
    color: var(--muted); }

.contact-section {
     padding: 80px 0 140px; }
.contact-intro { 
    margin-bottom: 60px; }
.contact-intro h1 { 
    font-size: 3rem; 
    font-weight: 800; 
    letter-spacing: -1.5px; 
    margin-bottom: 20px; }
.contact-intro p { 
    color: var(--muted); 
    font-size: 1.15rem; 
    max-width: 680px; 
    margin: 0 auto; }

.form-wrapper-box {
     max-width: 700px; 
    margin: 0 auto;
     background: var(--card); 
    border: 1px solid var(--border);
     padding: 50px; 
    border-radius: 32px; 
    backdrop-filter: blur(16px); }
.production-form {
     display: flex; 
    flex-direction: column; 
    gap: 28px; }
.form-group-row { 
    display: grid;
     grid-template-columns: 1fr 1fr; 
    gap: 25px; }

.form-field { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; }
.form-field label { 
    font-size: 0.85rem; 
    font-weight: 600; 
    color: #e2e8f0; 
    letter-spacing: 0.5px; }
.form-field input, .form-field select, .form-field textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 14px;
    color: #fff;
    font-family: var(--font-stack);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-premium);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    border-color: var(--accent);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
    outline: none;
}
.form-field select {
     appearance: none; 
    cursor: pointer; }
.form-field textarea {
     resize: none; }

/* Footer */
.footer { 
    background: #03050a; 
    padding: 80px 0 40px; 
    border-top: 1px solid var(--border); 
    margin-top: auto; 
}

.footer-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: start; 
    padding-bottom: 50px; 
}

.footer-brand h3 { 
    font-size: 1.8rem; 
    font-weight: 800; 
    margin-bottom: 15px; 
    color: #fff; 
}

.footer-brand h3 span { 
    color: var(--accent); 
}

.footer-brand p { 
    color: var(--muted); 
    font-size: 0.95rem; 
    max-width: 320px; 
}

.footer-links h4 { 
    font-size: 0.9rem;
     text-transform: uppercase; 
    letter-spacing: 1px; 
    color: #fff; 
    margin-bottom: 20px; 
}

.footer-links ul { 
   
    list-style: none; 
    display: flex; 
    flex-direction: column;
     gap: 12px; 
}

.footer-links a { 
   
    color: var(--muted); 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: color 0.2s ease; 
}

.footer-links a:hover { 
    color: var(--accent); 
}

.footer-bottom { 
    border-top: 1px solid var(--border);
     padding-top: 30px;
     display: flex;
     justify-content: center; 
}

.copy { 
    color: #334155;
     font-size: 0.85rem;
     text-align: center;
}

@media (max-width: 992px) {
    .detail-grid, .cart-layout-grid { grid-template-columns: 1fr; gap: 50px; }
    .main-display-box { height: 420px; }
    .form-wrapper-box { padding: 35px; }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        order: 2;
    }

    .nav-bar-line {
        width: 100%;
        height: 2px;
        background-color: var(--text);
        border-radius: 2px;
        transition: transform 0.4s var(--ease-premium), opacity 0.3s ease;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 7, 15, 0.96);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        text-align: center;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease-premium), opacity 0.3s ease;
    }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        width: 100%;
    }
    .nav-links a::after { display: none; } 

    .nav-cta {
        order: 1;
        padding: 8px 18px;
    }

    .menu-toggle:checked ~ .nav-links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
   
    .menu-toggle:checked ~ .menu-icon .nav-bar-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle:checked ~ .menu-icon .nav-bar-line:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .menu-icon .nav-bar-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .form-group-row { grid-template-columns: 1fr; gap: 28px; }
    .card-img-wrapper { height: 280px; }
    
    .footer-inner { 
        flex-direction: column; 
        gap: 40px; 
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .cart-item-row { flex-direction: column; align-items: flex-start; }
    .cart-item-price-col { text-align: left; min-width: auto; }
    .btn-primary, .btn-sm { width: 100%; }
    .spec-highlights { grid-template-columns: 1fr; }
}