/* GREEKYA Frontend Styles - Premium High-Tech Redesign */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;500;700&display=swap');

:root {
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.4);
    --secondary: #7000ff;
    --secondary-glow: rgba(112, 0, 255, 0.4);
    --accent: #ff007a;
    --dark-bg: #05070a;
    --card-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --success: #00ffaa;
    --warning: #ffb800;
    --danger: #ff4d4d;
}

body.light-mode {
    --dark-bg: #f0f4f8;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --primary-glow: rgba(0, 242, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(112, 0, 255, 0.03) 0%, transparent 40%);
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

body.light-mode {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(112, 0, 255, 0.05) 0%, transparent 40%);
}

h1,
h2,
h3,
.nav-brand {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

/*.nav-brand i {
    filter: drop-shadow(0 0 8px var(--primary));
}*/


/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

body.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Split Nav Structure */
.split-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.nav-brand-center {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    /* Safe space around logo */
}

.nav-left {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

.nav-right {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.nav-brand-center a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.nav-brand-center span {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
}

.nav-brand-center img {
    height: 40px;
}

.nav-left .nav-link,
.nav-right .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsiveness for Split Nav */
@media (max-width: 968px) {
    .split-nav {
        display: flex;
        justify-content: space-between;
        grid-template-columns: none;
    }

    .nav-left,
    .nav-right {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-brand-center {
        padding: 0;
    }

    /* Active Mobile Menu */
    .split-nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #000;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        z-index: 1000;
        justify-content: center;
    }

    .split-nav.active .nav-brand-center {
        margin-bottom: 40px;
    }

    .split-nav.active .nav-left,
    .split-nav.active .nav-right {
        display: flex;
        gap: 20px;
        margin: 0;
    }

    .mobile-toggle {
        z-index: 1001;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../imagen/hero_bg_spartan.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.6) saturate(1.1);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 7, 10, 0.4), var(--dark-bg));
    z-index: -1;
}

body.light-mode .hero-background {
    background-image: url('../../imagen/hero_bg_futuristic_light.png');
    filter: none;
    /* Remove filter for light mode image */
}

body.light-mode .hero-background::after {
    display: none;
    /* Remove gradient overlay */
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 10;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
}

body.light-mode .hero-subtitle {
    color: var(--text-main);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

/* Glass Buttons */
.btn {
    padding: 16px 45px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #05070a;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px var(--primary);
}

.btn-outline {
    background: rgba(0, 242, 255, 0.05);
    color: var(--primary);
    border: 1px solid var(--primary);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-5px);
}

/* Products Section */
.products-section {
    background: var(--dark-bg);
    position: relative;
    padding-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.category-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 25px;
    border-radius: 2px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
    box-shadow: inset 0 0 10px var(--primary-glow);
}

.product-slider-container {
    padding: 0 80px;
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--primary-glow);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.product-slider {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 20px 0 60px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 400px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 242, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.product-card:hover::before {
    transform: translateX(100%);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.2);
}

.product-image {
    height: 250px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8));
    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.product-specs {
    list-style: none;
    margin-bottom: 30px;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.product-specs i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 20px;
}

.product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.stock-status {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stock-status.in-stock {
    color: var(--success);
}

.stock-status.out-of-stock {
    color: var(--danger);
}

.stock-status i {
    font-size: 0.85rem;
}

/* Warranty Section */
.warranty-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--dark-bg), #0a0f18);
}

.warranty-form-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.warranty-form-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    z-index: -1;
    filter: blur(10px);
    opacity: 0.2;
}

.form-group label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.warranty-form input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 20px;
    margin-top: 15px;
    border-radius: 2px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.warranty-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.warranty-form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.warranty-form .form-group {
    flex-grow: 1;
}

.warranty-form button {
    height: 65px;
    /* Match input height */
    white-space: nowrap;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--dark-bg), #0a0f18);
    position: relative;
    overflow: hidden;
}

body.light-mode .about-section {
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .about-content h2 {
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1px 1px 0 #000) drop-shadow(-1px -1px 0 #000) drop-shadow(1px -1px 0 #000) drop-shadow(-1px 1px 0 #000);
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

body.light-mode .about-content p {
    color: #000;
    font-weight: 600;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    transition: 0.4s;
    text-align: left;
}

body.light-mode .feature-item {
    background: #000;
    border-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.light-mode .feature-item p {
    color: #a0aec0;
}

.feature-item:hover {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(15px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
    width: 60px;
    text-align: center;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid var(--primary);
    opacity: 0.3;
    z-index: -1;
    transform: rotate(2deg);
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    filter: saturate(1.2) brightness(0.85);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 80px 0;
    background: #05070a;
    border-top: 1px solid var(--glass-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 4px;
}

.contact-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.contact-item h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
    transform: translateY(-5px);
}

.contact-form-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 4px;
    position: relative;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 20px;
    width: 100%;
    border-radius: 2px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    outline: none;
}

/* --- FOOTER --- */
.footer {
    padding: 60px 0 30px;
    background: #020408;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.05rem;
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.4s;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 0 20px var(--primary-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px var(--primary-glow));
    }

    50% {
        filter: drop-shadow(0 0 15px var(--primary));
    }

    100% {
        filter: drop-shadow(0 0 5px var(--primary-glow));
    }
}

.brand-logo {
    animation: glow 3s infinite;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .product-slider-container {
        padding: 0 40px;
    }

    .product-card {
        min-width: 300px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .warranty-form-card,
    .contact-form-container {
        padding: 30px;
    }

    .warranty-form {
        flex-direction: column;
        align-items: stretch;
    }

    .warranty-form button {
        height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .product-slider-container {
        padding: 0 15px;
    }

    .product-card {
        min-width: 280px;
    }

    .slider-btn {
        display: none;
    }

    .product-slider {
        padding-bottom: 30px;
        gap: 20px;
    }

    .category-filter {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.7rem;
        padding: 10px 15px;
    }
}

/* Sub Filter Buttons */
.sub-filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 2px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 5px;
}

.sub-filter-btn:hover,
.sub-filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
    box-shadow: inset 0 0 10px var(--primary-glow);
}

.sub-filter {
    opacity: 0;
    animation: fadeIn 0.4s forwards;
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- SHOP PAGE STYLES --- */
.shop-header {
    padding: 120px 0 60px;
    background: linear-gradient(to bottom, var(--dark-bg), #0a0f18);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.shop-title {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shop-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.shop-section {
    padding: 60px 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar */
.shop-sidebar {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
}

.filter-checkbox:hover {
    color: #fff;
}

.filter-checkbox input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
}

/* Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.shop-card {
    min-width: 0;
    /* Override generic slider min-width */
}

.product-price.consult-price {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.small-specs li {
    font-size: 0.9rem;
}

.no-image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--glass-border);
}

.product-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

/* --- PRODUCT MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    /* JS will toggle flex */
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image-col {
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 400px;
}

.modal-image-col img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.modal-info-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 5px;
    line-height: 1.2;
}

.modal-series {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.modal-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
}

.modal-specs-container {
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
}

.modal-specs-container h3 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.modal-specs-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-specs-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-specs-list li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.modal-specs-list li strong {
    color: #fff;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image-col {
        min-height: 250px;
        padding: 20px;
    }

    .modal-image-col img {
        max-height: 250px;
    }

    .modal-info-col {
        padding: 25px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-specs-list {
        grid-template-columns: 1fr;
    }
}