        /* --- Muutujad ja Üldsätted --- */
        :root {
            --bg-dark: #05070b;
            --bg-dark-alt: #0b1018;
            --bg-card: rgba(15, 20, 32, 0.92);
            --bg-chip: rgba(255,255,255,0.04);
            --primary: #00e5ff; /* Mirlex Electric Blue */
            --primary-soft: rgba(0, 229, 255, 0.14);
            --primary-dark: #00b8cc;
            --accent: #7b4dff;
            --danger: #ff3460;
            --text-main: #ffffff;
            --text-muted: #a7b0c2;
            --border-subtle: rgba(255,255,255,0.06);
            --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
            --radius-lg: 18px;
            --radius-md: 12px;
            --radius-pill: 999px;
            --font-heading: 'Montserrat', sans-serif;
            --font-body: 'Open Sans', sans-serif;
            --transition: all 0.3s ease;
        }

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

        html {
            scroll-behavior: smooth;
        }

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

        ::-webkit-scrollbar-track {
            background: rgba(0,0,0,0.3);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(0,229,255,0.3);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(0,229,255,0.5);
        }

        /* --- Global --- */
        body {
            font-family: var(--font-body);
            background:
                radial-gradient(circle at 0% 0%, #071827 0, transparent 55%),
                radial-gradient(circle at 100% 0%, #220735 0, transparent 55%),
                radial-gradient(circle at 50% 100%, #06141f 0, transparent 60%),
                var(--bg-dark);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        body.menu-open {
            overflow: hidden;
        }

        h1, h2, h3 {
            font-family: var(--font-heading);
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 0.9rem;
            letter-spacing: 0.06em;
        }

        p {
            font-size: 0.98rem;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        .container {
            width: min(1200px, 92vw);
            margin: 0 auto;
        }

        .section-padding {
            padding: 90px 0;
        }

        .center {
            text-align: center;
        }

        /* --- Sektsiooni pealkirjad --- */
        .section-title {
            position: relative;
            text-align: center;
            margin-bottom: 48px;
            font-size: 1.75rem;
            letter-spacing: 0.1em;
            font-weight: 800;
        }

        .section-title::before {
            content: "";
            display: block;
            width: 60px;
            height: 3px;
            margin: 0 auto 16px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }

        .section-title::after {
            content: "";
            display: block;
            width: 80px;
            height: 3px;
            margin: 14px auto 0;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--accent), var(--primary));
        }

        /* --- Nupud --- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 30px;
            border-radius: var(--radius-pill);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.08em;
            cursor: pointer;
            border: 1px solid transparent;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 0 0, rgba(255,255,255,0.18), transparent 55%);
            opacity: 0;
            transition: var(--transition);
        }

        .btn:hover::before {
            opacity: 1;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #000;
            box-shadow: 0 10px 30px rgba(0, 229, 255, 0.35);
            border-color: rgba(255,255,255,0.18);
            font-weight: 700;
        }

        .btn-primary:hover {
            transform: translateY(-3px) scale(1.03);
            box-shadow: 0 18px 50px rgba(0, 229, 255, 0.5), 0 0 30px rgba(0,229,255,0.25);
        }

        .btn-primary:active {
            transform: translateY(-1px) scale(1.01);
        }

        .btn-outline {
            background-color: transparent;
            color: #fff;
            border: 1.5px solid rgba(255,255,255,0.4);
            font-weight: 600;
        }

        .btn-outline:hover {
            border-color: var(--primary);
            background: rgba(0, 229, 255, 0.1);
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(0, 229, 255, 0.2);
        }

        .full-width {
            width: 100%;
        }

        /* --- Navbar --- */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 4px 0;
            z-index: 1000;
            backdrop-filter: blur(16px);
            background: radial-gradient(circle at 0 0, rgba(0,229,255,0.25), transparent 50%)
                        rgba(5, 7, 11, 0.90);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: padding 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }

        .navbar.is-scrolled {
            padding: 10px 0;
            background: rgba(5, 7, 11, 0.96);
            box-shadow: 0 12px 28px rgba(0,0,0,0.85);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 800;
            font-family: var(--font-heading);
            letter-spacing: 0.18em;
        }

        .logo span {
            display: block;
            font-size: 0.7rem;
            color: var(--primary);
            letter-spacing: 0.35em;
            margin-top: 4px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 26px;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
        }

        .nav-links a {
            position: relative;
            font-weight: 600;
            color: white;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 999px;
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: #fff;
        }

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

        .nav-links .btn-primary {
            margin-left: 10px;
            font-size: 0.78rem;
            padding-inline: 18px;
        }

        .hamburger {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #fff;
        }

        /* --- Hero --- */
        .hero {
            min-height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding-top: 90px; /* navbar offset */
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: -2;
        }

        .hero-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(1.2) contrast(1.05) brightness(0.85);
        }

        .overlay {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 20% 0%, rgba(0,229,255,0.25), transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(123,77,255,0.35), transparent 55%),
                linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.92));
            z-index: -1;
        }

        /* hero "glow" taga */
        .hero::before {
            content: "";
            position: absolute;
            width: 420px;
            height: 420px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0,229,255,0.23), transparent 70%);
            filter: blur(10px);
            top: 12%;
            left: 45%;
            transform: translateX(-50%);
            opacity: 0.7;
            z-index: -1;
        }

        .hero-content {
            position: relative;
        }

        .hero-badge-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 16px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border-radius: 999px;
            font-size: 0.78rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            background: rgba(0,0,0,0.65);
            border: 1px solid rgba(0,229,255,0.4);
            color: var(--primary);
            backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.7);
            font-weight: 700;
        }

        .hero-badge-alt {
            color: #fff;
            background: rgba(0,0,0,0.65);
            border: 1px solid rgba(255,255,255,0.3);
        }

        .hero-content h1 {
            font-size: clamp(2.3rem, 4vw, 3.7rem);
            margin-bottom: 18px;
            text-shadow: 
                0 2px 6px rgba(0,0,0,0.6),
                0 4px 12px rgba(0,0,0,0.5);
            color: #fff;
        }

        .highlight {
            color: #fff;
        }

        .hero-content p {
            font-size: 1.05rem;
            max-width: 650px;
            margin: 0 auto 32px;
            color: #fff;
            text-shadow: 0 4px 16px rgba(0,0,0,0.85), 0 2px 8px rgba(0,0,0,0.7);
            line-height: 1.7;
            background: rgba(0,0,0,0.45);
            padding: 16px 24px;
            border-radius: 12px;
            backdrop-filter: blur(12px);
        }

        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 14px;
        }

        .hero-bottom-row {
            margin-top: 40px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 26px;
            align-items: center;
        }

        .hero-meta {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            padding: 10px 18px;
            border-radius: 999px;
            background: rgba(0,0,0,0.55);
            border: 1px solid rgba(255,255,255,0.18);
            backdrop-filter: blur(18px);
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--text-muted);
        }

        .hero-meta-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .hero-meta-label {
            opacity: 0.7;
        }

        .hero-meta-value {
            font-weight: 700;
            color: #fff;
        }

        .hero-meta-divider {
            width: 1px;
            height: 28px;
            background: rgba(255,255,255,0.24);
        }

        .scroll-indicator {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 0.78rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--text-muted);
            gap: 6px;
        }

        .scroll-indicator i {
            animation: bounceDown 1.4s infinite;
        }

        @keyframes bounceDown {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(4px); }
            60% { transform: translateY(2px); }
        }

        /* --- Trust Bar --- */
        .trust-bar {
            background:
        linear-gradient(135deg, rgba(11,17,28,0.8), rgba(8,12,21,0.85)),
        radial-gradient(circle at 20% 0%, rgba(0,229,255,0.15), transparent 55%);
            color: #fff;
            padding: 40px 0 42px;
            text-align: center;
            box-shadow: 0 16px 38px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
            position: relative;
            z-index: 2;
            border-top: 1px solid rgba(255,255,255,0.08);
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .trust-title {
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.78rem;
            color: var(--primary);
            margin-bottom: 20px;
            letter-spacing: 0.28em;
        }

        .partner-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 16px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .partner-card:nth-child(1) {
            animation: slideInUp 0.6s ease 0.1s both;
        }
        .partner-card:nth-child(2) {
            animation: slideInUp 0.6s ease 0.2s both;
        }
        .partner-card:nth-child(3) {
            animation: slideInUp 0.6s ease 0.3s both;
        }
        .partner-card:nth-child(4) {
            animation: slideInUp 0.6s ease 0.4s both;
        }
        .partner-card:nth-child(5) {
            animation: slideInUp 0.6s ease 0.5s both;
        }

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

        .partner-card {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px 12px;
            border-radius: 10px;
            border: 1px solid rgba(200,200,200,0.3);
            background: #f8f9fa;
            backdrop-filter: blur(6px);
            transition: var(--transition);
            height: 60px;
            width: 120px;
        }

        .partner-card img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: brightness(1) contrast(1);
            transition: var(--transition);
            padding: 4px;
        }

        .partner-card:hover {
            background: #ffffff;
            border-color: rgba(0,229,255,0.6);
            box-shadow: 0 8px 24px rgba(0,229,255,0.2);
        }

        .partner-card:hover img {
            filter: brightness(0.9) contrast(1.05);
        }

        .partner-card a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
        }

        .partner-card a img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 4px;
        }

        /* --- Teenused Grid --- */
        .services-overview {
            position: relative;
        }

        .services-overview::before {
            content: "";
            position: absolute;
            inset: 0 10% auto;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
            opacity: 0.35;
            top: 0;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 26px;
            margin-top: 34px;
        }

        .service-card {
            background: linear-gradient(135deg, rgba(15,22,38,0.6), rgba(10,14,24,0.65));
            padding: 32px 26px 28px;
            border-radius: var(--radius-lg);
            text-align: left;
            border: 1px solid rgba(0,229,255,0.08);
            backdrop-filter: blur(12px);
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            position: relative;
            overflow: hidden;
            transition: var(--transition);
        }

        .service-card::before {
            content: "";
            position: absolute;
            inset: -100%;
            background: radial-gradient(circle at 0 0, rgba(0,229,255,0.15), transparent 60%);
            opacity: 0;
            transition: var(--transition);
            z-index: 1;
        }

        .service-card:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: rgba(0,229,255,0.35);
            box-shadow: 0 20px 60px rgba(0,229,255,0.15), 0 0 30px rgba(0,0,0,0.7);
        }

        .service-card:hover::before {
            opacity: 1;
        }

        .service-card > * {
            position: relative;
            z-index: 2;
        }

        .service-card .icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
            filter: drop-shadow(0 0 8px rgba(0,229,255,0.3));
        }

        .service-card h3 {
            font-size: 0.9rem;
            margin-bottom: 12px;
            font-weight: 700;
        }

        .service-card p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.65;
        }

        /* --- Detail Sections (PPF & Tint) --- */
        .detail-section {
            position: relative;
        }

        .split-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
            gap: 48px;
            align-items: center;
        }

        .reverse {
            grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
        }

        .image-content img {
            width: 100%;
            border-radius: var(--radius-lg);
            box-shadow: 0 12px 40px rgba(0,0,0,0.6);
            border: 1px solid rgba(0,229,255,0.12);
            transform: translateY(0);
            transition: var(--transition);
        }

        .image-content img:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 26px 80px rgba(0,229,255,0.2), 0 0 40px rgba(0,0,0,0.9);
            border-color: rgba(0,229,255,0.25);
        }

        .subtitle {
            color: var(--primary);
            font-weight: 700;
            letter-spacing: 0.28em;
            font-size: 0.75rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
            text-transform: uppercase;
            filter: drop-shadow(0 0 6px rgba(0,229,255,0.2));
        }

        .subtitle::before {
            content: "";
            width: 30px;
            height: 2.5px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }

        .feature-list {
            margin: 24px 0 16px;
        }

        .feature-list li {
            margin-bottom: 16px;
            display: flex;
            align-items: flex-start;
            gap: 14px;
            color: var(--text-muted);
            font-size: 0.96rem;
            line-height: 1.65;
            transition: var(--transition);
        }

        .feature-list li:hover {
            color: #fff;
        }

        .feature-list i {
            color: var(--primary);
            margin-top: 2px;
            font-size: 1.1rem;
            flex-shrink: 0;
            filter: drop-shadow(0 0 6px rgba(0,229,255,0.3));
            transition: var(--transition);
        }

        .feature-list li:hover i {
            color: var(--accent);
            filter: drop-shadow(0 0 10px rgba(0,229,255,0.5));
        }

        .finishes {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 22px;
        }

        .finish-item {
            background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(123,77,255,0.06));
            padding: 10px 20px;
            border-radius: 999px;
            font-size: 0.83rem;
            font-weight: 600;
            border: 1px solid rgba(0,229,255,0.2);
            backdrop-filter: blur(12px);
            transition: var(--transition);
            color: #fff;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .finish-item:hover {
            background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(123,77,255,0.12));
            border-color: rgba(0,229,255,0.4);
            box-shadow: 0 6px 16px rgba(0,229,255,0.15);
            transform: translateY(-2px);
        }

        .tint-section .note a {
            color: var(--primary);
            text-decoration: underline;
            text-decoration-thickness: 1px;
        }

        /* --- Comparison Slider --- */
        .comparison-section {
            position: relative;
        }

        .comparison-container {
            position: relative;
            height: 460px;
            width: 100%;
            max-width: 820px;
            margin: 40px auto 20px;
        }

        .img-comp-container {
            position: relative;
            height: 100%;
            width: 100%;
            overflow: hidden;
            border-radius: var(--radius-lg);
            box-shadow: 0 12px 40px rgba(0,0,0,0.6);
            border: 1px solid rgba(0,229,255,0.15);
            transition: var(--transition);
        }

        .img-comp-container:hover {
            box-shadow: 0 18px 60px rgba(0,229,255,0.15), 0 0 30px rgba(0,0,0,0.8);
            border-color: rgba(0,229,255,0.3);
        }

        .img-comp-img {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }

        .img-comp-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .img-comp-slider {
            position: absolute;
            z-index: 9;
            cursor: ew-resize;
            width: 52px;
            height: 52px;
            background: radial-gradient(circle, #fff 0%, var(--primary) 50%, var(--accent) 100%);
            opacity: 1;
            border-radius: 50%;
            border: 2.5px solid rgba(0,0,0,0.4);
            box-shadow: 0 12px 32px rgba(0,229,255,0.35), 0 0 20px rgba(0,0,0,0.85);
            transition: var(--transition);
        }

        .img-comp-slider:hover {
            transform: scale(1.1);
            box-shadow: 0 16px 48px rgba(0,229,255,0.45), 0 0 24px rgba(0,0,0,0.9);
        }

        .img-comp-slider::before,
        .img-comp-slider::after {
            content: "";
            position: absolute;
            width: 2px;
            height: 70px;
            background: rgba(255,255,255,0.85);
            top: 50%;
            transform: translateY(-50%);
        }

        .img-comp-slider::before { left: -24px; }
        .img-comp-slider::after { right: -24px; }

        .comp-label {
            text-align: center;
            margin-top: 14px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* --- Galerii --- */
        .gallery-section {
            position: relative;
        }

        .gallery-filters {
            text-align: center;
            margin: 24px 0 26px;
        }

        .filter-btn {
            background: rgba(255,255,255,0.04);
            border: 1.5px solid rgba(255,255,255,0.12);
            color: #fff;
            padding: 9px 22px;
            margin: 0 6px 10px;
            border-radius: 999px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            font-weight: 600;
            backdrop-filter: blur(8px);
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #000;
            border-color: transparent;
            box-shadow: 0 8px 24px rgba(0,229,255,0.3);
            transform: translateY(-2px);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 16px;
        }

        .gallery-item {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid rgba(0,229,255,0.1);
            box-shadow: 0 12px 32px rgba(0,0,0,0.5);
            transition: var(--transition);
        }

        .gallery-item img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            transition: var(--transition);
            transform: scale(1.02);
        }

        .gallery-item::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 50% 0%, rgba(0,229,255,0.2), transparent 60%);
            opacity: 0;
            transition: var(--transition);
            z-index: 2;
        }

        .gallery-item::after {
            content: "Vaata";
            position: absolute;
            inset: auto 14px 14px 14px;
            height: 36px;
            border-radius: var(--radius-pill);
            background: linear-gradient(135deg, rgba(0,229,255,0.98), rgba(123,77,255,0.98));
            color: #000;
            font-size: 0.76rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            opacity: 0;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 3;
            box-shadow: 0 8px 24px rgba(0,229,255,0.3);
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            border-color: rgba(0,229,255,0.3);
            box-shadow: 0 20px 50px rgba(0,229,255,0.2), 0 0 30px rgba(0,0,0,0.8);
        }

        .gallery-item:hover::before {
            opacity: 1;
        }

        .gallery-item:hover img {
            transform: scale(1.08);
            opacity: 0.8;
        }

        .gallery-item:hover::after {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- Meist --- */
        .about-content {
            background: linear-gradient(135deg, rgba(15,22,38,0.7), rgba(10,14,24,0.75));
            padding: 40px 36px 36px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(0,229,255,0.15);
            backdrop-filter: blur(12px);
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            position: relative;
            overflow: hidden;
            transition: var(--transition);
        }

        .about-content:hover {
            border-color: rgba(0,229,255,0.25);
            box-shadow: 0 12px 48px rgba(0,229,255,0.12), 0 0 24px rgba(0,0,0,0.6);
        }

        .about-content::before {
            content: "";
            position: absolute;
            inset: -100%;
            background: radial-gradient(circle at 100% 0, rgba(123,77,255,0.15), transparent 60%);
            opacity: 0.5;
            pointer-events: none;
        }

        .about-text p {
            color: var(--text-muted);
            margin-bottom: 12px;
        }

        .info-box {
            background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(123,77,255,0.06));
            padding: 16px 18px;
            border-radius: var(--radius-lg);
            margin-top: 22px;
            display: flex;
            gap: 14px;
            align-items: flex-start;
            border: 1.5px solid rgba(0,229,255,0.2);
            backdrop-filter: blur(8px);
            transition: var(--transition);
        }

        .info-box:hover {
            background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(123,77,255,0.1));
            border-color: rgba(0,229,255,0.35);
            box-shadow: 0 8px 24px rgba(0,229,255,0.12);
        }

        .info-box i {
            margin-top: 2px;
            color: var(--primary);
            font-size: 1.1rem;
            flex-shrink: 0;
            filter: drop-shadow(0 0 6px rgba(0,229,255,0.3));
        }

        .info-box p {
            margin: 0;
            line-height: 1.65;
        }

        .about-stats {
            display: flex;
            gap: 30px;
            margin-top: 28px;
            flex-wrap: wrap;
        }

        .stat-box {
            min-width: 140px;
            padding: 16px 0;
            border-left: 2px solid rgba(0,229,255,0.2);
            padding-left: 18px;
            transition: var(--transition);
        }

        .stat-box:hover {
            border-left-color: var(--primary);
        }

        .stat-number {
            display: block;
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.1;
            margin-bottom: 6px;
            filter: drop-shadow(0 0 8px rgba(0,229,255,0.2));
        }

        .stat-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--text-muted);
            font-weight: 600;
        }

        /* --- FAQ --- */
        .faq-section {
            position: relative;
        }

        .faq-container {
            max-width: 780px;
            margin: 32px auto 0;
        }

        .faq-item {
            background: linear-gradient(135deg, rgba(15,22,38,0.6), rgba(10,14,24,0.65));
            margin-bottom: 12px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(0,229,255,0.1);
            overflow: hidden;
            backdrop-filter: blur(12px);
            box-shadow: 0 8px 28px rgba(0,0,0,0.4);
            transition: var(--transition);
        }

        .faq-item.open {
            border-color: rgba(0,229,255,0.25);
            box-shadow: 0 12px 40px rgba(0,229,255,0.15), 0 0 24px rgba(0,0,0,0.5);
        }

        .faq-question {
            padding: 18px 22px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #fff;
            transition: var(--transition);
            background: transparent;
            border: 0;
            text-align: left;
            font-size: 0.95rem;
            letter-spacing: 0.02em;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-question i {
            color: var(--primary);
            transition: var(--transition);
            font-size: 1.2rem;
            flex-shrink: 0;
            margin-left: 12px;
        }

        .faq-item.open .faq-question i {
            transform: rotate(180deg);
            color: var(--accent);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            padding: 0 22px;
            color: var(--text-muted);
            font-size: 0.93rem;
            line-height: 1.75;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

        .faq-item.open .faq-answer {
            max-height: 500px;
        }

        /* --- Kontakt --- */
        .contact-section {
            position: relative;
        }

        .split-layout.contact-layout {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
        }

        .contact-info h2 {
            margin-bottom: 6px;
        }

        .contact-info p {
            color: var(--text-muted);
            margin-bottom: 22px;
        }

        .contact-list li {
            margin-bottom: 14px;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .contact-list i {
            width: 26px;
            color: var(--primary);
            font-size: 1.1rem;
        }

        .contact-list a {
            color: #fff;
        }

        .contact-list a:hover {
            color: var(--primary);
        }

        .contact-form-wrapper {
            width: 100%;
        }

        .contact-form {
            background: linear-gradient(135deg, rgba(11,17,28,0.8), rgba(8,12,21,0.85));
            padding: 32px 32px 30px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(0,229,255,0.12);
            backdrop-filter: blur(16px);
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-size: 0.83rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--text-muted);
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 13px 16px;
            background: linear-gradient(135deg, rgba(15,20,32,0.7), rgba(10,14,24,0.75));
            border: 1.5px solid rgba(255,255,255,0.12);
            color: #5e616a;
            border-radius: 10px;
            font-family: inherit;
            font-size: 0.95rem;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255,255,255,0.35);
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            background: linear-gradient(135deg, rgba(15,20,32,0.9), rgba(10,14,24,0.95));
            box-shadow: 0 0 20px rgba(0,229,255,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
        }

        .map-placeholder {
            margin-top: 18px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.12);
            box-shadow: var(--shadow-soft);
        }

        /* --- Footer --- */
        footer {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 40px 0 60px;
            text-align: center;
            color: #8b96a8;
            font-size: 0.86rem;
            background: radial-gradient(circle at 50% 0%, rgba(0,229,255,0.08), transparent 60%);
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        .social-links {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .social-links a {
            font-size: 1.1rem;
            width: 38px;
            height: 38px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1.5px solid rgba(255,255,255,0.14);
            background: rgba(0,229,255,0.04);
            transition: var(--transition);
            color: var(--text-muted);
        }

        .social-links a:hover {
            color: #fff;
            background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(123,77,255,0.2));
            border-color: rgba(0,229,255,0.4);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,229,255,0.2);
        }

        /* --- Mobile Sticky Bar --- */
        .mobile-sticky-bar {
            display: none; /* Hidden on desktop */
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: #05070b;
            z-index: 1001;
            border-top: 1px solid rgba(255,255,255,0.16);
            padding: 8px 0;
            box-shadow: 0 -8px 32px rgba(0,0,0,0.85);
        }

        .mobile-sticky-bar .sticky-btn {
            flex: 1;
            text-align: center;
            padding: 10px;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 0.12em;
        }

        .call-btn {
            color: #00ff88;
            border-right: 1px solid rgba(255,255,255,0.12);
        }

        .map-btn {
            color: #fff;
        }

        /* --- Portfolio Gallery --- */
        .gallery-section {
            background: radial-gradient(circle at 20% 50%, rgba(0,229,255,0.05) 0%, transparent 50%), 
                        radial-gradient(circle at 80% 80%, rgba(123,77,255,0.03) 0%, transparent 50%);
        }

        .gallery-subtitle {
            text-align: center;
            color: var(--text-muted);
            margin-bottom: 40px;
            font-size: 1.05rem;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
            margin-top: 40px;
        }

        .portfolio-card {
            position: relative;
            overflow: hidden;
            border-radius: var(--radius-lg);
            cursor: pointer;
            transition: var(--transition);
            background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(123,77,255,0.05));
            border: 1px solid rgba(0,229,255,0.15);
        }

        .portfolio-card:hover {
            border-color: rgba(0,229,255,0.3);
            box-shadow: 0 16px 48px rgba(0,229,255,0.2);
            transform: translateY(-8px);
        }

        .portfolio-thumbnail {
            width: 100%;
            height: 280px;
            object-fit: cover;
            transition: var(--transition);
        }

        .portfolio-card:hover .portfolio-thumbnail {
            transform: scale(1.08);
        }


        .portfolio-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,229,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
            z-index: 1;
        }

        .portfolio-card:hover .portfolio-overlay {
            opacity: 1;
        }

        .portfolio-view-btn {
            background: var(--primary);
            color: #000;
            padding: 8px 16px;
            border-radius: 999px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }

        .portfolio-view-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 24px rgba(0,229,255,0.4);
        }

        /* --- News Section --- */
        .news-section {
            background: linear-gradient(135deg, rgba(15,22,38,0.4), rgba(20,15,32,0.5));
            border-top: 1px solid rgba(0,229,255,0.1);
        }

        .news-card {
            background: linear-gradient(135deg, rgba(0,229,255,0.03), rgba(123,77,255,0.02));
            border: 1px solid rgba(0,229,255,0.15);
            border-radius: var(--radius-lg);
            padding: 42px 36px;
            backdrop-filter: blur(8px);
            animation: slideInUp 0.7s ease 0.2s both;
        }

        .news-header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .news-date {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        .news-badge {
            display: inline-block;
            background: rgba(0,229,255,0.12);
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 700;
            border: 1px solid rgba(0,229,255,0.25);
        }

        .news-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 16px;
            line-height: 1.3;
        }

        .news-intro {
            font-size: 1.05rem;
            color: var(--text-muted);
            margin-bottom: 28px;
            line-height: 1.7;
        }

        .news-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            margin-bottom: 32px;
        }

        .highlight-item {
            background: rgba(0,229,255,0.06);
            border: 1px solid rgba(0,229,255,0.12);
            padding: 20px;
            border-radius: 14px;
            transition: var(--transition);
        }

        .highlight-item:hover {
            border-color: rgba(0,229,255,0.3);
            background: rgba(0,229,255,0.1);
            transform: translateY(-4px);
        }

        .highlight-item i {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 12px;
            display: block;
        }

        .highlight-item h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 10px;
        }

        .highlight-item p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .news-services {
            background: rgba(123,77,255,0.05);
            border-left: 4px solid var(--accent);
            padding: 20px 24px;
            border-radius: 8px;
            margin-bottom: 26px;
        }

        .news-services h4 {
            color: var(--text-main);
            margin-bottom: 14px;
            font-size: 1.05rem;
            font-weight: 700;
        }

        .news-services ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .news-services li {
            color: var(--text-muted);
            padding: 8px 0;
            font-size: 0.95rem;
            line-height: 1.6;
            padding-left: 24px;
            position: relative;
        }

        .news-services li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--primary);
            font-weight: 700;
        }

        .news-cta {
            text-align: center;
            margin-top: 28px;
            padding-top: 24px;
            border-top: 1px solid rgba(0,229,255,0.1);
        }

        /* --- Gallery Modal --- */
        .gallery-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 9999;
            animation: fadeIn 0.3s ease;
        }

        .gallery-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.92);
            backdrop-filter: blur(8px);
        }

        .modal-content {
            position: relative;
            z-index: 10000;
            background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,229,255,0.05));
            border: 1px solid rgba(0,229,255,0.2);
            border-radius: var(--radius-lg);
            max-width: 90vw;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 20px 80px rgba(0,229,255,0.3), 0 0 60px rgba(0,0,0,0.9);
            animation: slideUp 0.4s ease;
        }

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

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            border-bottom: 1px solid rgba(0,229,255,0.1);
        }

        .modal-header-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        #modalFolderTitle {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--primary);
        }

        .modal-image-counter {
            font-size: 0.9rem;
            color: var(--text-muted);
            background: rgba(0,229,255,0.1);
            padding: 4px 12px;
            border-radius: 999px;
            border: 1px solid rgba(0,229,255,0.2);
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 2rem;
            color: var(--text-muted);
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            border-radius: 50%;
        }

        .modal-close:hover {
            color: var(--primary);
            background: rgba(0,229,255,0.1);
        }

        .modal-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            padding: 20px;
        }

        .modal-image-wrapper {
            position: relative;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            overflow: hidden;
            border-radius: var(--radius-md);
            background: rgba(0,0,0,0.6);
        }

        #modalMainImage {
            max-width: 800px;
            max-height: 100%;
            object-fit: contain;
            animation: zoomIn 0.3s ease;
            transition: opacity 0.2s ease;
            cursor: grab;
        }

        #modalMainImage:active {
            cursor: grabbing;
        }

        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(0,229,255,0.15);
            border: 1px solid rgba(0,229,255,0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            color: var(--primary);
            font-size: 1.2rem;
            z-index: 100;
        }

        .modal-nav:hover {
            background: rgba(0,229,255,0.3);
            box-shadow: 0 0 20px rgba(0,229,255,0.3);
        }

        .modal-prev {
            left: 16px;
        }

        .modal-next {
            right: 16px;
        }

        .modal-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 12px 0;
            align-items: center;
        }

        .modal-thumbnail {
            width: 70px;
            height: 70px;
            border-radius: 8px;
            cursor: pointer;
            opacity: 0.5;
            transition: var(--transition);
            border: 1px solid rgba(0,229,255,0.2);
            overflow: hidden;
            flex-shrink: 0;
        }

        .modal-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-thumbnail:hover {
            opacity: 0.8;
        }

        .modal-thumbnail.active {
            opacity: 1;
            border-color: var(--primary);
            box-shadow: 0 0 12px rgba(0,229,255,0.3);
        }

        .modal-help {
            text-align: center;
            padding: 12px;
            color: var(--text-muted);
            border-top: 1px solid rgba(0,229,255,0.1);
            margin-top: 12px;
            font-size: 0.85rem;
        }

        .portfolio-grid {
            animation: fadeInStagger 0.6s ease;
        }

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

        .portfolio-card {
            animation: fadeInStagger 0.6s ease backwards;
        }

        @for $i from 1 through 12 {
            .portfolio-card:nth-child(n) {
                animation-delay: #{$i * 50}ms;
            }
        }

        /* --- Responsive Gallery --- */
        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 16px;
            }

            .modal-content {
                max-width: 95vw;
                max-height: 95vh;
                margin: 10px;
            }

            .modal-nav {
                width: 44px;
                height: 44px;
                font-size: 1rem;
            }

            .modal-prev {
                left: 8px;
            }

            .modal-next {
                right: 8px;
            }

            .modal-help {
                display: none;
            }

            .portfolio-thumbnail {
                height: 240px;
            }
        }

        @media (max-width: 480px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .portfolio-thumbnail {
                height: 180px;
            }

            .modal-image-counter {
                font-size: 0.8rem;
                padding: 3px 10px;
            }

            #modalFolderTitle {
                font-size: 1.1rem;
            }
        }

        /* --- Responsive --- */
        @media (max-width: 992px) {
            .split-layout {
                grid-template-columns: 1fr;
            }

            .split-layout.contact-layout {
                grid-template-columns: 1fr;
            }

            .reverse {
                grid-template-columns: 1fr;
            }

            .contact-form-wrapper {
                max-width: 100%;
                margin-top: 30px;
            }

            .contact-info {
                margin-bottom: 24px;
            }

            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 64px;
                left: 50%;
                transform: translateX(-50%);
                width: min(500px, 94vw);
                flex-direction: column;
                background: rgba(7, 10, 18, 0.98);
                padding: 16px 18px 18px;
                border-radius: 16px;
                border: 1px solid rgba(255,255,255,0.12);
                box-shadow: 0 20px 45px rgba(0,0,0,0.9);
            }

            .nav-links.active {
                display: flex;
            }

            .nav-links a {
                margin: 4px 0;
                text-align: left;
            }

            .nav-links .btn-primary {
                width: 100%;
                justify-content: center;
                margin-top: 10px;
            }

            .hamburger {
                display: block;
            }

            .hero-content h1 {
                font-size: 2.1rem;
            }

            .hero {
                padding-top: 88px;
            }

            .hero-bottom-row {
                flex-direction: column;
                gap: 20px;
                margin-top: 30px;
            }

            .hero-meta {
                width: 100%;
                justify-content: space-around;
                padding: 14px 20px;
                border-radius: 12px;
            }

            .scroll-indicator {
                margin-top: 10px;
            }

            .comparison-container {
                height: 360px;
            }

            .mobile-sticky-bar {
                display: flex;
            }

            .contact-form {
                padding: 24px 20px 22px;
            }

            footer {
                padding-bottom: 80px;
            }
        }

        @media (max-width: 480px) {
            .hero-content p {
                font-size: 0.95rem;
                padding: 12px 16px;
            }

            .hero-bottom-row {
                margin-top: 24px;
                gap: 16px;
            }

            .hero-meta {
                background: rgba(0, 0, 0, 0.6);
                padding: 12px 16px;
                border-radius: 10px;
                font-size: 0.73rem;
                gap: 12px;
            }

            .hero-meta-item {
                align-items: center;
                text-align: center;
            }

            .scroll-indicator {
                font-size: 0.7rem;
            }

            .service-card {
                padding: 22px 18px;
            }

            .gallery-item img {
                height: 210px;
            }

            .hero-meta-divider {
                display: none;
            }

            .contact-form {
                padding: 20px 16px 18px;
            }

            .form-group {
                margin-bottom: 14px;
            }

            .form-group label {
                font-size: 0.78rem;
            }

            .form-group input,
            .form-group textarea,
            .form-group select {
                padding: 11px 14px;
                font-size: 0.9rem;
            }

            .btn {
                padding: 11px 18px;
                font-size: 0.85rem;
            }

            .map-placeholder {
                margin-top: 14px;
            }

            .map-placeholder iframe {
                height: 200px !important;
            }

            .partner-grid {
                gap: 12px;
            }

            .partner-card {
                width: 90px;
                height: 45px;
            }

            .faq-item {
                margin-bottom: 10px;
            }

            .faq-question {
                padding: 14px 16px;
                font-size: 0.9rem;
            }

            .faq-answer {
                padding: 0 16px;
            }

            .faq-item.open .faq-answer {
                padding: 14px 16px;
            }

            .section-padding {
                padding: 40px 0;
            }

            .container {
                padding: 0 14px;
            }
        }
        
        
        .service-card {
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        }
        
        .scroll-indicator {
            cursor: pointer;
        }
        
        
        
        
        
        
        
/* === ÜLDINFO MODAL – PILDID + TEKST === */

.info-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

.js-info-modal-trigger{
    cursor: pointer;
}

.info-modal.is-open {
    display: flex;
}

.info-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
}

.info-modal-dialog {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: min(1100px, 96vw);
    max-height: 90vh;
    background: radial-gradient(circle at 0 0, rgba(0,229,255,0.18), transparent 60%),
                radial-gradient(circle at 100% 0, rgba(123,77,255,0.14), transparent 60%),
                rgba(5,7,11,0.96);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,229,255,0.3);
    box-shadow: 0 22px 70px rgba(0,0,0,0.9), 0 0 40px rgba(0,229,255,0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.info-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.7);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.info-modal-close:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0,229,255,0.14);
    box-shadow: 0 0 16px rgba(0,229,255,0.4);
}

.info-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 26px;
    padding: 26px 26px 24px;
    height: 100%;
    max-height: 90vh;
}

/* vasak pool – pildid */
.info-modal-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.info-modal-main {
    position: relative;
    flex: 1;
    min-height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: radial-gradient(circle at 50% 0, rgba(0,229,255,0.2), transparent 60%),
                rgba(0,0,0,0.9);
    border: 1px solid rgba(0,229,255,0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.8);
}

#infoModalMainImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 12px;
    animation: zoomIn 0.25s ease;
}

.info-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0,229,255,0.3);
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 0 14px rgba(0,0,0,0.9);
}

.info-modal-nav:hover {
    background: rgba(0,229,255,0.25);
    box-shadow: 0 0 20px rgba(0,229,255,0.4);
}

.info-modal-prev { left: 14px; }
.info-modal-next { right: 14px; }

.info-modal-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 4px;
}

.info-modal-thumb {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0,229,255,0.25);
    opacity: 0.6;
    transition: var(--transition);
    background: rgba(0,0,0,0.7);
}

.info-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-modal-thumb:hover {
    opacity: 0.85;
}

.info-modal-thumb.is-active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(0,229,255,0.4);
}

/* parem pool – tekst */
.info-modal-text {
    min-width: 0;
    overflow-y: auto;
    padding-right: 4px;
}

/* kasutan section-title base, aga modalis natuke kohandan */
.info-modal-title {
    text-align: left;
    margin-bottom: 18px;
    font-size: 1.3rem;
}

.info-modal-title::before,
.info-modal-title::after {
    margin-left: 0;
}

.info-modal-copy {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.8;
}

.info-modal-copy p + p {
    margin-top: 10px;
}

/* mobiilis kompaktsem */
@media (max-width: 900px) {
    .info-modal-dialog {
        max-height: 95vh;
        width: 96vw;
    }

    .info-modal-body {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 18px 18px;
    }

    .info-modal-main {
        min-height: 220px;
    }

    .info-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .info-modal-text {
        max-height: 40vh;
    }
}

@media (max-width: 600px) {
    .info-modal-dialog {
        border-radius: 14px;
    }

    .info-modal-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .info-modal-body {
        padding-top: 40px; /* et close nupp ei kattuks sisuga */
    }

    .info-modal-title {
        font-size: 1.15rem;
    }

    .info-modal-thumbs {
        padding-bottom: 4px;
    }
}

        
        
        
/* --- TÄIENDUSED KOMPAKTSE MODAALI JAOKS --- */

/* 1. Üldine seade: kui teksti pole, muudame dialoogiakna kitsamaks ja ühe-tulbaliseks */
.info-modal.no-text .info-modal-dialog {
    max-width: 850px; /* Kitsam ja fookustatum vaade piltidele */
}

.info-modal.no-text .info-modal-body {
    grid-template-columns: 1fr; /* Ainult üks tulp */
    padding-top: 50px; /* Jätame sulgemisnupule ruumi */
}

/* 2. Peidame parempoolse tekstiosa täielikult */
.info-modal.no-text .info-modal-text {
    display: none;
}

/* 3. Eemaldame vahejoone piltide ja teksti vahelt */
.info-modal.no-text .info-modal-media {
    border-right: none;
    padding-right: 0;
}

/* 4. Pealkiri pildi kohal (vaikimisi peidus, kuvatakse vaid .no-text klassiga) */
.info-modal-title-top {
    display: none;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.info-modal.no-text .info-modal-title-top {
    display: block; /* Kuvame ainult siis kui teksti pole */
}

/* 5. Mobiili kohandused kompaktsele vaatele */
@media (max-width: 900px) {
    /* Kui teksti pole, siis mobiilis pealkiri on kõige esimene asi */
    .info-modal.no-text .info-modal-title-top {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    /* Reguleerime pildi kõrgust mobiilis, et thumbnails mahuks ekraanile */
    .info-modal.no-text .info-modal-main {
        min-height: 250px;
        max-height: 50vh;
    }
}

/* 6. Portfoolio võrgustiku parandus (et kaardid oleksid ühesuurused) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3; /* Sunnib kõik kaardid samasse mõõtu */
    background: #000;
}

.portfolio-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Lõpuks lisame animatsiooni sujuvuse --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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



/* --- PARANDUS: MODAALI ELEMENTIDE MAHUTAMINE --- */

.info-modal-dialog {
    /* Lubame sisu paindlikkust */
    display: flex;
    flex-direction: column;
}

/* Kompaktne vaade (.no-text klassiga) */
.info-modal.no-text .info-modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* Hoiab ära sisu väljavoolamise */
    padding-top: 20px; /* Ruum sulgemisnupule */
}

.info-modal.no-text .info-modal-media {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* SUUR PILT: Piirame kõrgust dünaamiliselt */
.info-modal.no-text .info-modal-main {
    flex: 1; /* Võtab kogu vaba ruumi pealkirja ja thumbside vahel */
    min-height: 0; /* Oluline Flexboxi parandus! */
    max-height: calc(90vh - 250px); /* Arvestab pealkirja (~60px) ja thumbside (~100px) kulu */
    margin-bottom: 10px;
}

#infoModalMainImage {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Hoiab pildi proportsioonis ega venita seda välja */
}

/* PISIPILDID: Sunnime need alati nähtavale jääma */
.info-modal-thumbs {
    flex-shrink: 0; /* Keelab pisipiltidel kokku tõmbumast või kadumast */
    height: 90px;
    margin-top: auto;
    padding: 5px 0 15px 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

/* PEALKIRI: Teeme selle veidi kompaktsemaks */
.info-modal-title-top {
    flex-shrink: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

/* MOBIILI KOHANDUS */
@media (max-width: 600px) {
    .info-modal.no-text .info-modal-main {
        max-height: calc(95vh - 220px);
    }
    
    .info-modal-thumb {
        width: 60px;
        height: 60px;
    }
}











/* --- Muutujad ja Üldsätted --- */
:root {
    --bg-dark: #05070b;
    --bg-dark-alt: #0b1018;
    --bg-card: rgba(15, 20, 32, 0.92);
    --bg-chip: rgba(255,255,255,0.04);
    --primary: #00e5ff;
    --primary-soft: rgba(0, 229, 255, 0.14);
    --primary-dark: #00b8cc;
    --accent: #7b4dff;
    --danger: #ff3460;
    --text-main: #ffffff;
    --text-muted: #a7b0c2;
    --border-subtle: rgba(255,255,255,0.06);
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
::-webkit-scrollbar-thumb { background: rgba(0,229,255,0.3); border-radius: 5px; }

body {
    font-family: var(--font-body);
    background: radial-gradient(circle at 0% 0%, #071827 0, transparent 55%),
                radial-gradient(circle at 100% 0%, #220735 0, transparent 55%),
                radial-gradient(circle at 50% 100%, #06141f 0, transparent 60%),
                var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; margin-bottom: 0.9rem; letter-spacing: 0.06em; }
.section-padding { padding: 90px 0; }
.container { width: min(1200px, 92vw); margin: 0 auto; }
.center { text-align: center; }

/* Sektsiooni pealkirjad */
.section-title { position: relative; text-align: center; margin-bottom: 48px; font-size: 1.75rem; letter-spacing: 0.1em; font-weight: 800; }
.section-title::before { content: ""; display: block; width: 60px; height: 3px; margin: 0 auto 16px; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.section-title::after { content: ""; display: block; width: 80px; height: 3px; margin: 14px auto 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--primary)); }

/* Nupud */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 30px; border-radius: var(--radius-pill); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #000; box-shadow: 0 10px 30px rgba(0, 229, 255, 0.35); font-weight: 700; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0, 229, 255, 0.5); }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; padding: 4px 0; z-index: 1000; backdrop-filter: blur(16px); background: rgba(5, 7, 11, 0.9); border-bottom: 1px solid var(--border-subtle); transition: var(--transition); }
.navbar.is-scrolled { padding: 10px 0; background: rgba(5, 7, 11, 0.96); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
@media (min-width: 769px) {
  .nav-links { display: flex; align-items: center; gap: 26px; }
}

/* Portfolio Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.portfolio-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: #000; border: 1px solid rgba(255,255,255,0.15); transition: var(--transition); cursor: pointer; }
.portfolio-card:hover { transform: translateY(-8px); border-color: var(--primary); }
.portfolio-thumbnail { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.portfolio-card:hover .portfolio-thumbnail { transform: scale(1.08); opacity: 0.7; }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(0, 229, 255, 0.15); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { display: none; } /* Peidame pealkirja pildi pealt */

/* === INFO MODAL DISAIN === */
.info-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; animation: fadeIn 0.25s ease; }
.info-modal.is-open { display: flex; }
.info-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(10px); }

.info-modal-dialog {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: min(1100px, 96vw);
    max-height: 85vh;
    background: #0b1018;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,229,255,0.3);
    box-shadow: 0 22px 70px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.info-modal-close { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; border-radius: 50%; background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; z-index: 110; display: flex; align-items: center; justify-content: center; }

.info-modal-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    padding: 50px 30px 30px;
    height: 100%;
    overflow: hidden;
}

/* Pealkirjad */
.info-modal-title, .info-modal-title-top {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0px;
}
.info-modal-title::after, .info-modal-title-top::after {
    content: ""; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); margin-top: 10px; border-radius: 99px;
}

.info-modal-title-top { display: none; text-align: center; }
.info-modal-title-top::after { margin: 10px auto 0; }

.info-modal-media { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.info-modal-main { 
    flex: 1; 
    min-height: 0; 
    background: #000; 
    border-radius: var(--radius-md); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
}
#infoModalMainImage { max-width: 100%; max-height: 100%; object-fit: contain; }

.info-modal-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 15px 0 5px; flex-shrink: 0; overflow-y: hidden;}
.info-modal-thumb { width: 65px; height: 65px; flex: 0 0 auto; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; opacity: 0.5; transition: var(--transition); }
.info-modal-thumb.is-active { opacity: 1; border-color: var(--primary); }
.info-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.info-modal-text { overflow-y: auto; padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.1); }

/* --- KOMPAKTNE REŽIIM (.no-text) --- */
.info-modal.no-text .info-modal-dialog { max-width: 800px; }
.info-modal.no-text .info-modal-body { grid-template-columns: 1fr; }
.info-modal.no-text .info-modal-text { display: none; }
.info-modal.no-text .info-modal-media { border-right: none; }
.info-modal.no-text .info-modal-title-top { display: block; }

@media (max-width: 900px) {
    .info-modal-body { grid-template-columns: 1fr; padding: 60px 20px 20px; overflow-y: auto; }
    .info-modal-text { border-left: none; padding-left: 0; margin-top: 20px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.gallery-info h3 {
    margin: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.photo-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-links.active { display: flex !important; }
}


.form-status{
  display:block;
  margin-top:12px;
  padding:12px 14px;
  border-radius:10px;
  font-weight:700;
  text-align:center;
  border:1px solid rgba(255,255,255,0.15);
}

.form-status.success{
  background: rgba(0, 255, 136, 0.16);
  color:#00ff88;
  border-color: rgba(0, 255, 136, 0.35);
}

.form-status.error{
  background: rgba(255, 52, 96, 0.14);
  color:#ff3460;
  border-color: rgba(255, 52, 96, 0.35);
}


/* --- Hinnanäidise sektsioon --- */
.price-visual-card {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    /* Tekitab kerge "helendava" efekti, mis sobib sinu tumeda teemaga */
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-visual-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hõljumisefekt (arvutis) */
.price-visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.25);
}

/* Mobiili jaoks kohandused */
@media (max-width: 768px) {
    .price-visual-card {
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Et pilt oleks mobiilis servast servani või vähese paddinguga */
    .price-example-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}










/* --- SHOP & PRODUCT PAGE STYLES --- */

/* CATALOG GRID */
.catalog-page { padding-top: 130px; padding-bottom: 80px; min-height: 100vh; }
.catalog-container { display: flex; gap: 40px; position: relative; margin-top: 40px; }
.catalog-sidebar { width: 260px; flex-shrink: 0; }
.catalog-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }

/* Filter Styles */
.filter-group { margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.filter-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; color: #fff; margin-bottom: 15px; letter-spacing: 0.05em; }
.checkbox-label { display: flex; align-items: center; gap: 10px; color: #a7b0c2; font-size: 0.9rem; cursor: pointer; transition: 0.2s; margin-bottom: 8px; }
.checkbox-label:hover { color: #fff; }
.checkbox-label input { accent-color: var(--primary); width: 16px; height: 16px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); }

/* Product Card */
.catalog-grid { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; align-content: start; }
.product-card { 
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }

.product-image-wrapper { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #0b1018; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease, transform 0.6s ease; }
.product-image.hover-img { position: absolute; top: 0; left: 0; opacity: 0; z-index: 2; }
.product-card:hover .product-image.main-img { opacity: 0; }
.product-card:hover .product-image.hover-img { opacity: 1; transform: scale(1.08); }

.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.badge { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; color: #000; letter-spacing: 0.05em; }
.badge-new { background: var(--primary); }
.badge-stock-out { background: rgba(255,255,255,0.9); color: #000; }

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.7rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; font-weight: 700; }
.product-name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.4; font-family: var(--font-heading); flex-grow: 1; }
.product-price { font-size: 1.2rem; color: #fff; font-weight: 700; margin-bottom: 15px; }
.product-btn { width: 100%; border: 1px solid var(--primary); color: var(--primary); background: transparent; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; transition: 0.3s; text-align: center; }
.product-card:hover .product-btn { background: var(--primary); color: #000; box-shadow: 0 0 15px rgba(0,229,255,0.4); }

/* --- PRODUCT PAGE (TOODE.PHP) --- */
.product-detail-container { padding-top: 140px; padding-bottom: 100px; max-width: 1250px; margin: 0 auto; }
.breadcrumbs { margin-bottom: 40px; font-size: 0.9rem; color: #788191; }
.breadcrumbs a { color: #a7b0c2; transition: 0.2s; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs i { margin: 0 10px; font-size: 0.7rem; opacity: 0.5; }
.breadcrumbs span { color: #fff; font-weight: 600; }

.product-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; margin-bottom: 100px; align-items: start; }

/* Gallery */
.gallery-wrapper { position: sticky; top: 120px; }
.main-image-frame { 
    aspect-ratio: 16/10; background: radial-gradient(circle, #1a202c, #000); 
    border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); 
    margin-bottom: 15px; position: relative; cursor: zoom-in;
}
.main-image-frame img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.zoom-hint { position: absolute; bottom: 15px; right: 15px; background: rgba(0,0,0,0.6); color: #fff; padding: 6px 12px; border-radius: 20px; pointer-events: none; backdrop-filter: blur(4px); font-size: 0.8rem; display: flex; gap: 6px; align-items: center; }

.thumb-list { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: thin; }
.thumb { 
    width: 80px; height: 80px; border-radius: 10px; cursor: pointer; object-fit: cover; 
    border: 2px solid rgba(255,255,255,0.1); opacity: 0.6; transition: 0.2s; flex-shrink: 0; background: #000;
}
.thumb.active, .thumb:hover { border-color: var(--primary); opacity: 1; transform: translateY(-2px); }

/* Product Info Col */
.pi-category { color: var(--primary); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 10px; display: block;}
.pi-title { font-family: var(--font-heading); font-size: 2.4rem; line-height: 1.1; margin-bottom: 15px; font-weight: 800; text-transform: uppercase; color: #fff; }
.pi-sku { color: #64748b; font-size: 0.9rem; margin-bottom: 30px; display: block; font-family: monospace; letter-spacing: 0.05em; }

.pi-price-row { display: flex; align-items: center; gap: 20px; margin-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 25px; }
.pi-price { font-size: 2.2rem; color: #fff; font-weight: 700; text-shadow: 0 0 20px rgba(0,229,255,0.3); }
.pi-stock { font-size: 0.85rem; background: rgba(0,255,136,0.1); color: #00ff88; padding: 6px 12px; border-radius: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid rgba(0,255,136,0.2); }

.pi-options { margin-bottom: 40px; }
.pi-label { display: block; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; font-size: 0.8rem; color: #fff; letter-spacing: 0.05em; }
.size-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.size-btn { 
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.15); 
    padding: 12px 16px; border-radius: 8px; cursor: pointer; text-align: center; transition: 0.2s; min-width: 120px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.size-btn:hover { border-color: var(--primary); background: rgba(0,229,255,0.05); }
.size-btn.active { background: var(--primary); color: #000; border-color: var(--primary); box-shadow: 0 0 20px rgba(0,229,255,0.3); }
.size-val { font-weight: 700; font-size: 0.95rem; }
.size-cost { font-size: 0.8rem; opacity: 0.8; margin-top: 2px; }

/* Bundle Box */
.bundle-container { 
    background: linear-gradient(145deg, rgba(20,25,35,0.6), rgba(10,12,18,0.8)); 
    border: 1px solid rgba(0,229,255,0.15); border-radius: 16px; padding: 25px; 
    backdrop-filter: blur(10px);
}
.bundle-header { font-weight: 800; text-transform: uppercase; margin-bottom: 15px; color: #fff; font-size: 0.9rem; letter-spacing: 0.05em; display: flex; align-items: center; gap: 8px; }
.bundle-row { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; padding: 10px; background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); transition: 0.2s; }
.bundle-row:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.bundle-img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; }
.bundle-check { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; }
.bundle-sum { margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.1rem; }

.btn-quote-big {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000; width: 100%; padding: 16px; border-radius: 12px; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 0.1em; border: none; cursor: pointer; margin-top: 20px;
    font-size: 1rem; box-shadow: 0 10px 30px rgba(0,229,255,0.25); transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-quote-big:hover { transform: translateY(-3px); box-shadow: 0 15px 50px rgba(0,229,255,0.4); }

/* Tabs */
.tab-nav { display: flex; gap: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 30px; overflow-x: auto; }
.tab-btn { 
    padding: 15px 0; background: none; border: none; color: #788191; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; position: relative; transition: 0.3s; font-size: 0.95rem; white-space: nowrap;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: var(--primary); }
.tab-btn.active::after { content:""; position: absolute; bottom: -1px; left:0; width: 100%; height: 3px; background: var(--primary); box-shadow: 0 -2px 10px rgba(0,229,255,0.5); }

.tab-pane { display: none; animation: fadeIn 0.4s ease; color: #b0b8c4; line-height: 1.7; }
.tab-pane.active { display: block; }
.tab-pane h3 { color: #fff; margin: 25px 0 15px; font-size: 1.2rem; }

/* Specs Table */
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 15px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; overflow: hidden; }
.spec-table tr:nth-child(odd) { background: rgba(255,255,255,0.02); }
.spec-table th, .spec-table td { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: left; }
.spec-table th { color: #fff; width: 35%; font-weight: 700; border-right: 1px solid rgba(255,255,255,0.05); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,0.95); display: none; justify-content: center; align-items: center; backdrop-filter: blur(10px); animation: fadeIn 0.3s; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; box-shadow: 0 0 50px rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; }
.lightbox-close { position: absolute; top: 30px; right: 30px; font-size: 3rem; color: #fff; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; color: rgba(255,255,255,0.5); cursor: pointer; padding: 20px; transition: 0.3s; }
.lightbox-nav:hover { color: var(--primary); background: rgba(0,0,0,0.5); border-radius: 50%; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Quote Modal */
.q-modal { position: fixed; inset: 0; z-index: 10002; background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; animation: fadeIn 0.3s; }
.q-modal.active { display: flex; }
.q-card { background: #0b1018; border: 1px solid var(--primary); padding: 40px; border-radius: 16px; width: 90%; max-width: 500px; position: relative; box-shadow: 0 0 60px rgba(0,229,255,0.15); }
.q-close { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #fff; cursor: pointer; }

@media (max-width: 992px) {
    .product-hero { grid-template-columns: 1fr; gap: 40px; }
    .gallery-wrapper { position: static; }
    .catalog-container { flex-direction: column; }
    .catalog-sidebar { width: 100%; }
    .mobile-filter-toggle { display: block; }
}



/* --- E-POE KATALOOGI STIILID (Lisa style.css lõppu) --- */

/* Üldine paigutus */
.catalog-page {
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.catalog-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    margin-top: 40px;
}

/* Külgriba (Sidebar) */
.catalog-sidebar {
    background: rgba(15, 20, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 130px; /* Jätab ruumi päisele */
    transition: transform 0.3s ease;
    z-index: 90;
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Checkbox disain */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}

.checkbox-label:hover {
    color: #fff;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #000;
    font-size: 12px;
    font-weight: 800;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Otsingukast */
.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 15px 12px 45px;
    border-radius: 99px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Ülemine riba (Top bar) */
.catalog-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(15, 20, 32, 0.6);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.sort-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Toodete ruudustik */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Toote kaart */
.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.1);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #0b1018;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.product-image.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.product-card:hover .product-image.main-img {
    opacity: 0;
}

.product-card:hover .product-image.hover-img {
    opacity: 1;
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    color: #000;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge-new { background: var(--primary); }
.badge-stock-out { background: rgba(255, 255, 255, 0.9); }

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 700;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--font-heading);
    flex-grow: 1;
}

.product-price {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 0 15px rgba(0,229,255,0.2);
}

.btn-card {
    width: 100%;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.3s;
    text-align: center;
}

.product-card:hover .btn-card {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* Mobiili nupud ja vaade */
.mobile-filter-btn {
    display: none;
    width: 100%;
    background: var(--bg-card);
    color: #fff;
    border: 1px solid var(--primary);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .catalog-container {
        display: block; /* Eemaldab gridi mobiilis */
    }
    
    .catalog-sidebar {
        display: none; /* Vaikimisi peidus */
        width: 100%;
        margin-bottom: 30px;
        position: static;
    }
    
    .catalog-sidebar.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .mobile-filter-btn {
        display: flex;
    }
    
    .catalog-topbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sort-select {
        width: 100%;
    }
}




/* --- TOOTE LEHT (Product Detail) --- */

.product-detail-page {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
}

/* Breadcrumbs (Navigatsiooniriba) */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumbs a {
    color: var(--text-muted);
    transition: 0.2s;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--primary);
}
.breadcrumbs i {
    margin: 0 10px;
    font-size: 0.7rem;
    opacity: 0.5;
}
.breadcrumbs span {
    color: #fff;
    font-weight: 600;
}

/* Toote ülemine osa (Grid) */
.product-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Vasak pool laiem */
    gap: 50px;
    margin-bottom: 80px;
    align-items: start;
}

/* Vasak pool: Galerii */
.gallery-wrapper {
    position: sticky;
    top: 130px;
}

.main-image-frame {
    aspect-ratio: 16/10;
    background: radial-gradient(circle, #1a202c, #000);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image-frame:hover img {
    transform: scale(1.05);
}

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    backdrop-filter: blur(4px);
    font-size: 0.8rem;
    display: flex;
    gap: 6px;
    align-items: center;
}

.thumb-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0 10px;
    scrollbar-width: thin;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    transition: 0.2s;
    flex-shrink: 0;
    background: #000;
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
}

/* Parem pool: Info */
.product-info-col {
    background: rgba(15, 20, 32, 0.4);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pi-category {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

.pi-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.pi-sku {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: block;
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* Hind ja Saadavus */
.pi-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.pi-price {
    font-size: 2.4rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.pi-stock {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stock-in {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.stock-out {
    background: rgba(255, 255, 255, 0.1);
    color: #a7b0c2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Suuruse valik */
.pi-options {
    margin-bottom: 30px;
}

.pi-label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.size-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 229, 255, 0.05);
}

.size-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.size-val {
    font-weight: 700;
    font-size: 0.95rem;
}

.size-cost {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

.size-btn.active .size-cost {
    opacity: 1;
    color: #000;
}

/* "Sageli ostetakse koos" kast */
.bundle-container {
    background: linear-gradient(145deg, rgba(20, 25, 35, 0.6), rgba(10, 12, 18, 0.8));
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.bundle-header {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bundle-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
}

.bundle-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.bundle-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: #000;
}

.bundle-check {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.bundle-sum {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-quote-big {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-quote-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 229, 255, 0.4);
}

/* Tabs (Kirjeldus, Tehnilised andmed) */
.tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #788191;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
    color: #b0b8c4;
    line-height: 1.7;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #fff;
    margin: 0 0 20px;
    font-size: 1.4rem;
}

/* Spetsifikatsioonide tabel */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.spec-table tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.spec-table th,
.spec-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.spec-table th {
    color: #fff;
    width: 35%;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

/* Lightbox (suur pilt) */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--primary);
}

/* Päringu Modal */
.q-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.q-modal.active {
    display: flex;
}

.q-card {
    background: #0b1018;
    border: 1px solid var(--primary);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
}

.q-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Mobiilne vaade */
@media (max-width: 992px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-wrapper {
        position: static;
    }
    
    .pi-title {
        font-size: 1.8rem;
    }
    
    .size-btn {
        flex: 1 1 45%;
    }
}



/* --- TOOTE LEHT (Product Detail) --- */

.product-detail-page {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
}

/* Breadcrumbs (Navigatsiooniriba) */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumbs a {
    color: var(--text-muted);
    transition: 0.2s;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--primary);
}
.breadcrumbs i {
    margin: 0 10px;
    font-size: 0.7rem;
    opacity: 0.5;
}
.breadcrumbs span {
    color: #fff;
    font-weight: 600;
}

/* Toote ülemine osa (Grid) */
.product-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Vasak pool laiem */
    gap: 50px;
    margin-bottom: 80px;
    align-items: start;
}

/* Vasak pool: Galerii */
.gallery-wrapper {
    position: sticky;
    top: 130px;
}

.main-image-frame {
    aspect-ratio: 16/10;
    background: radial-gradient(circle, #1a202c, #000);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image-frame:hover img {
    transform: scale(1.05);
}

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    backdrop-filter: blur(4px);
    font-size: 0.8rem;
    display: flex;
    gap: 6px;
    align-items: center;
}

.thumb-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0 10px;
    scrollbar-width: thin;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    transition: 0.2s;
    flex-shrink: 0;
    background: #000;
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
}

/* Parem pool: Info */
.product-info-col {
    background: rgba(15, 20, 32, 0.4);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pi-category {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

.pi-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.pi-sku {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: block;
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* Hind ja Saadavus */
.pi-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.pi-price {
    font-size: 2.4rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.pi-stock {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stock-in {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.stock-out {
    background: rgba(255, 255, 255, 0.1);
    color: #a7b0c2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Suuruse valik */
.pi-options {
    margin-bottom: 30px;
}

.pi-label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.size-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 229, 255, 0.05);
}

.size-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.size-val {
    font-weight: 700;
    font-size: 0.95rem;
}

.size-cost {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

.size-btn.active .size-cost {
    opacity: 1;
    color: #000;
}

/* "Sageli ostetakse koos" kast */
.bundle-container {
    background: linear-gradient(145deg, rgba(20, 25, 35, 0.6), rgba(10, 12, 18, 0.8));
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.bundle-header {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bundle-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
}

.bundle-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.bundle-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: #000;
}

.bundle-check {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.bundle-sum {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-quote-big {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-quote-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 229, 255, 0.4);
}

/* Tabs (Kirjeldus, Tehnilised andmed) */
.tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    color: #788191;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
    color: #b0b8c4;
    line-height: 1.7;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #fff;
    margin: 0 0 20px;
    font-size: 1.4rem;
}

/* Spetsifikatsioonide tabel */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.spec-table tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.spec-table th,
.spec-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.spec-table th {
    color: #fff;
    width: 35%;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

/* Lightbox (suur pilt) */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--primary);
}

/* Päringu Modal */
.q-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.q-modal.active {
    display: flex;
}

.q-card {
    background: #0b1018;
    border: 1px solid var(--primary);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
}

.q-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Mobiilne vaade */
@media (max-width: 992px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-wrapper {
        position: static;
    }
    
    .pi-title {
        font-size: 1.8rem;
    }
    
    .size-btn {
        flex: 1 1 45%;
    }
}



/* --- TOOTE LEHT (Product Detail) --- */

.product-detail-page {
    padding-top: 150px; /* Tekitab ruumi päise ja sisu vahele */
    padding-bottom: 100px; /* Tekitab ruumi jaluse ja sisu vahele */
    min-height: 100vh; /* Tagab, et leht on vähemalt ekraani kõrgune */
    position: relative;
    z-index: 1;
}

/* Mobiilis võib päis olla madalam, kohendame vahet */
@media (max-width: 992px) {
    .product-detail-page {
        padding-top: 110px;
        padding-bottom: 60px;
    }
}






/* --- UUE TOOTELEHE STIILID (LISA FAILI LÕPPU) --- */

.product-detail-page {
    padding-top: 140px; /* Ruumi päise jaoks */
    padding-bottom: 100px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs i { margin: 0 10px; font-size: 0.7rem; opacity: 0.5; }
.breadcrumbs span { color: #fff; font-weight: 600; }

/* Product Grid */
.product-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: start;
}

/* Vasak pool: Galerii */
.gallery-wrapper { position: sticky; top: 130px; }

.main-image-frame {
    aspect-ratio: 16/10;
    background: radial-gradient(circle, #1a202c, #000);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    position: relative;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-image-frame img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.main-image-frame:hover img { transform: scale(1.05); }

.zoom-hint {
    position: absolute; bottom: 15px; right: 15px;
    background: rgba(0, 0, 0, 0.7); color: #fff;
    padding: 6px 12px; border-radius: 20px;
    pointer-events: none; font-size: 0.8rem;
    display: flex; gap: 6px; align-items: center;
}

.thumb-list { display: flex; gap: 12px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: thin; }
.thumb {
    width: 80px; height: 80px; border-radius: 10px; cursor: pointer; object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1); opacity: 0.6; transition: 0.2s; flex-shrink: 0; background: #000;
}
.thumb.active, .thumb:hover { border-color: var(--primary); opacity: 1; transform: translateY(-2px); }

/* Parem pool: Info */
.product-info-col {
    background: rgba(15, 20, 32, 0.6);
    padding: 30px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.pi-category { color: var(--primary); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 10px; display: block; }
.pi-title { font-family: var(--font-heading); font-size: 2.2rem; line-height: 1.1; margin-bottom: 10px; font-weight: 800; text-transform: uppercase; color: #fff; }
.pi-sku { color: #64748b; font-size: 0.9rem; margin-bottom: 25px; display: block; font-family: monospace; }

.pi-price-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 20px;
}
.pi-price { font-size: 2.4rem; color: #fff; font-weight: 700; text-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
.pi-stock { font-size: 0.85rem; padding: 6px 14px; border-radius: 6px; font-weight: 700; text-transform: uppercase; }
.stock-in { background: rgba(0, 255, 136, 0.15); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.3); }
.stock-out { background: rgba(255, 255, 255, 0.1); color: #a7b0c2; border: 1px solid rgba(255, 255, 255, 0.2); }

/* Suurused ja Nupud */
.size-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.size-btn {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 16px; border-radius: 8px; cursor: pointer; text-align: center;
    transition: 0.2s; flex: 1; min-width: 100px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.size-btn:hover { border-color: var(--primary); background: rgba(0, 229, 255, 0.05); }
.size-btn.active { background: var(--primary); color: #000; border-color: var(--primary); }
.size-val { font-weight: 700; font-size: 0.95rem; }
.size-cost { font-size: 0.75rem; opacity: 0.8; margin-top: 2px; }
.size-btn.active .size-cost { color: #000; opacity: 1; }

.bundle-container {
    background: linear-gradient(145deg, rgba(20, 25, 35, 0.6), rgba(10, 12, 18, 0.8));
    border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 16px; padding: 25px;
}
.bundle-row { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; padding: 10px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; }
.bundle-img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; background: #000; }
.bundle-sum { margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.15); display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.1rem; }

.btn-quote-big {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000; width: 100%; padding: 16px; border-radius: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em; border: none; cursor: pointer; margin-top: 20px;
    font-size: 1rem; transition: 0.3s;
}
.btn-quote-big:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3); }

/* Tabs */
.tab-nav { display: flex; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 30px; overflow-x: auto; }
.tab-btn {
    padding: 12px 20px; background: none; border: none; color: #788191;
    font-weight: 700; text-transform: uppercase; cursor: pointer; font-size: 0.9rem;
    border-bottom: 2px solid transparent; transition: 0.3s;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; animation: fadeIn 0.4s ease; color: #b0b8c4; line-height: 1.7; }
.tab-pane.active { display: block; }

/* Specs Table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 15px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; overflow: hidden; }
.spec-table tr:nth-child(odd) { background: rgba(255, 255, 255, 0.02); }
.spec-table th, .spec-table td { padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); text-align: left; }
.spec-table th { color: #fff; width: 35%; font-weight: 700; border-right: 1px solid rgba(255, 255, 255, 0.05); }

/* --- TÄIUSTATUD LIGHTBOX --- */
.lightbox {
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(0, 0, 0, 0.96); /* Tumedam taust */
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(10px); animation: fadeIn 0.3s;
}
.lightbox.active { display: flex; }

.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw; max-height: 90vh;
    display: flex; justify-content: center; align-items: center;
}

.lightbox img {
    max-width: 100%; max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border-radius: 4px; user-select: none;
}

/* Sulgemise ja Navigeerimise nupud */
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    width: 50px; height: 50px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff; cursor: pointer; transition: 0.3s; z-index: 10005;
}
.lightbox-close:hover { background: rgba(255,30,60,0.5); color: #fff; }

.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 60px; height: 60px; background: rgba(0,0,0,0.5);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: rgba(255,255,255,0.8); cursor: pointer; transition: 0.3s;
    z-index: 10002;
    border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-nav:hover { background: var(--primary); color: #000; box-shadow: 0 0 20px rgba(0,229,255,0.5); }
.lb-prev { left: -80px; }
.lb-next { right: -80px; }

/* Responsive Lightbox */
@media (max-width: 1024px) {
    .lb-prev { left: 20px; }
    .lb-next { right: 20px; }
    .lightbox-close { top: 15px; right: 15px; }
}

@media (max-width: 992px) {
    .product-detail-page { padding-top: 110px; }
    .product-hero { grid-template-columns: 1fr; gap: 40px; }
    .gallery-wrapper { position: static; }
}



/* --- E-POE KATALOOGI STIILID (Lisa style.css lõppu) --- */

/* Üldine paigutus */
.catalog-page {
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.catalog-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    margin-top: 40px;
}

/* Külgriba (Sidebar) */
.catalog-sidebar {
    background: rgba(15, 20, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 130px; /* Jätab ruumi päisele */
    transition: transform 0.3s ease;
    z-index: 90;
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Checkbox disain */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}

.checkbox-label:hover {
    color: #fff;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #000;
    font-size: 12px;
    font-weight: 800;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Otsingukast */
.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 15px 12px 45px;
    border-radius: 99px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Ülemine riba (Top bar) */
.catalog-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(15, 20, 32, 0.6);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.sort-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Toodete ruudustik */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Toote kaart */
.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.1);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #0b1018;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.product-image.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.product-card:hover .product-image.main-img {
    opacity: 0;
}

.product-card:hover .product-image.hover-img {
    opacity: 1;
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    color: #000;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge-new { background: var(--primary); }
.badge-stock-out { background: rgba(255, 255, 255, 0.9); }

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 700;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--font-heading);
    flex-grow: 1;
}

.product-price {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 0 15px rgba(0,229,255,0.2);
}

.btn-card {
    width: 100%;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.3s;
    text-align: center;
}

.product-card:hover .btn-card {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* Mobiili nupud ja vaade */
.mobile-filter-btn {
    display: none;
    width: 100%;
    background: var(--bg-card);
    color: #fff;
    border: 1px solid var(--primary);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .catalog-container {
        display: block; /* Eemaldab gridi mobiilis */
    }
    
    .catalog-sidebar {
        display: none; /* Vaikimisi peidus */
        width: 100%;
        margin-bottom: 30px;
        position: static;
    }
    
    .catalog-sidebar.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .mobile-filter-btn {
        display: flex;
    }
    
    .catalog-topbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sort-select {
        width: 100%;
    }
}












/* --- VINYLFROG SECTION STYLES --- */
.vf-section {
    background-color: #0d1324; /* Väga tume taust 0b0b0b*/
    background: radial-gradient(circle at 0 0, rgba(0, 229, 255, 0.15), transparent 60%);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

/* Taustamuster */
.vf-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Grid paigutus ilma Bootstrapita */
.vf-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Vasak pool natuke laiem */
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Tekstiosa stiilid */
.vf-badge {
    background-color: #39ff14; /* VinylFrog Neon Green */
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

.vf-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.vf-brand {
    color: #39ff14; /* Neon highlight */
    text-transform: uppercase;
}

.vf-lead {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 95%;
}

.vf-lead strong {
    color: #fff;
}

/* Statistika ruudustik */
.vf-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.vf-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}

.vf-stat-item:hover {
    border-color: #39ff14;
    background: rgba(57, 255, 20, 0.05);
}

.vf-icon {
    font-size: 1.4rem;
    color: #39ff14;
}

.vf-stat-text {
    display: flex;
    flex-direction: column;
}

.vf-stat-text strong {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.2;
}

.vf-stat-text span {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

/* Omaduste nimekiri */
.vf-features-list {
    margin-bottom: 35px;
}

.vf-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #bbb;
    font-size: 0.95rem;
}

.vf-feat i {
    color: #39ff14;
    margin-top: 4px;
}

.vf-feat strong {
    color: #fff;
}

/* Nupud */
.vf-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vf-btn-primary {
    background-color: #39ff14;
    color: #000;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
}

.vf-btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.vf-trust-text {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Pildi pool */
.vf-image-card {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.vf-img {
    border-radius: 15px;
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) brightness(0.9);
}

.vf-floating-box {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: #000;
    border: 1px solid #333;
    padding: 15px 25px;
    border-radius: 12px;
    border-left: 4px solid #39ff14;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2;
}

.vf-fb-title {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.vf-fb-desc {
    color: #888;
    font-size: 0.8rem;
}

/* --- Mobiili kohandused (Responsive) --- */
@media (max-width: 992px) {
    .vf-section {
        padding: 50px 0; /* Vähem tühja ruumi üleval ja all */
        padding-top: 200px;
    }

    .vf-wrapper {
        display: block; /* Eemaldab gridi */
    }

    /* PEIDAME PILDI JA KASTI MOBIILIS */
    .vf-visual {
        display: none; 
    }

    /* Tsentreerime sisu mobiilis */
    .vf-content {
        text-align: center;
    }

    .vf-badge-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .vf-title {
        font-size: 2rem; /* Veidi väiksem pealkiri */
    }

    .vf-lead {
        margin: 0 auto 30px auto; /* Tsentreerimine */
        font-size: 1rem;
    }

    .vf-stats-grid {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .vf-stat-item {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    
    .vf-features-list {
        text-align: left; /* Nimekiri jääb vasakule joondatuks, loetavam */
        display: inline-block; /* Aga plokk ise keskele */
        margin-bottom: 30px;
    }

    .vf-cta-row {
        justify-content: center; /* Nupud keskele */
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .vf-stats-grid {
        grid-template-columns: 1fr; /* Mobiilis statistika üksteise alla */
    }
    
    .vf-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }
}









/* --- HOTSPOTS SECTION (PARANDATUD) --- */
.hotspot-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    /* Eemaldame overflow: hidden, et äärmised sildid välja ei lõigataks */
    /* overflow: hidden; */ 
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 0;
    border: none;
    line-height: 0; /* Eemaldab pildi alt tühja riba */
}

/* Et pilt oleks ilusti raamis, paneme raadiuse pildile */
.hotspot-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; 
    opacity: 0.9;
    transition: opacity 0.3s;
    margin: 0;
    padding: 0;
}

.hotspot-container:hover .hotspot-main-img {
    opacity: 0.7; /* Teeb pildi tumedamaks kui hiir on peal, et täpid säraks */
}

/* See on konteiner, mis asub täpselt koordinaadil */
.hotspot-point {
    position: absolute;
    width: 40px;  /* Fikseeritud suurus klikitava ala jaoks */
    height: 40px;
    transform: translate(-50%, -50%); /* Tsentreerib selle kasti täpselt koordinaadile */
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pulseeriv ring */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #39ff14;
    border-radius: 50%;
    animation: pulse 2s infinite;
    top: 0; left: 0;
    pointer-events: none;
    box-sizing: border-box;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Ise täpp (keskel) */
.hotspot-point .dot {
    width: 16px;
    height: 16px;
    background: #00e6ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 10px;
    box-shadow: 0 0 10px #00e6ff;
    transition: transform 0.3s, background 0.3s;
    z-index: 2;
    position: relative;
}

.hotspot-point .dot i {
    display: none; /* Peidame plussi ikooni vaikimisi, et oleks puhas täpp */
}

.hotspot-point:hover .dot {
    transform: scale(1.3);
    background: #fff;
    box-shadow: 0 0 20px #fff;
}

/* Silt täpi kõrval (NÜÜD ABSOLUUTNE - EI NIHUTA TÄPPI) */
.hotspot-label {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: rgba(11, 16, 24, 0.95);
    border: 1px solid rgb(0 230 255 / 30%);
    padding: 10px 18px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 20;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

/* Väike nooleke sildi vasakul küljel */
.hotspot-label::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent rgba(11, 16, 24, 0.95) transparent transparent;
}

/* Kuvame sildi hoveri ajal */
.hotspot-point:hover .hotspot-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0); /* Libiseb paika */
}

.hs-title {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hs-price {
    display: block;
    color: #39ff14;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- HOTSPOT MODAL STYLES --- */
.custom-modal {
    display: none; 
    position: fixed; 
    z-index: 10000; /* Kõrgem kui navbar */
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal[style*="display: flex"] {
    opacity: 1;
}

.custom-modal-content {
    background-color: #0b1018;
    border: 1px solid rgba(57, 255, 20, 0.2);
    width: 90%;
    max-width: 900px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(57, 255, 20, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.custom-modal[style*="display: flex"] .custom-modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px; right: 20px;
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 100;
    line-height: 1;
    transition: 0.3s;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.close-modal:hover {
    color: #39ff14;
    background: rgba(255,255,255,0.2);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img-wrapper {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 500px;
}

.modal-text-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text-content h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.price-tag {
    font-size: 2rem;
    color: #39ff14;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

#modalHsDesc {
    color: #a7b0c2;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    /* Mobiilis täpp natuke suurem */
    .hotspot-point { width: 50px; height: 50px; }
    .hotspot-point .dot { width: 20px; height: 20px; }
    
    /* Mobiilis ei kuva silte üldse, et ei kataks pilti */
    .hotspot-label { display: none !important; }

    .modal-body-grid {
        grid-template-columns: 1fr;
    }

    .modal-img-wrapper {
        min-height: 250px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .modal-text-content {
        padding: 30px;
    }
    
    .modal-text-content h3 {
        font-size: 1.6rem;
    }
    
    .price-tag {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}