/* ============================================================
   3D Vision Store — Dark Tech Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ==================== VARIABLES ==================== */
:root {
    /* Backgrounds */
    --bg:   #07090f;
    --bg-2: #0b1018;
    --bg-3: #101820;
    --bg-4: #182030;

    /* Backward-compatible aliases used in inline styles across all pages */
    --dark:       #d8e0eb;   /* inline color:var(--dark) → readable light text */
    --dark-light: #0b1018;
    --light:      #0b1018;   /* inline background:var(--light) → dark section bg */
    --white:      #101820;   /* inline background:var(--white) → dark card bg */

    /* Brand accent */
    --primary:      #00d4ff;
    --primary-dark: #009dbf;
    --secondary:    #6366f1;
    --accent:       #f97316;
    --success:      #10b981;
    --danger:       #ef4444;

    /* Text */
    --text:       #b0b8c4;
    --text-light: #7a8898;
    --text-muted: #4b5563;

    /* Borders */
    --border:        rgba(255,255,255,0.07);
    --border-accent: rgba(0,212,255,0.28);

    /* Effects */
    --gradient:        linear-gradient(135deg, #00d4ff 0%, #6366f1 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, rgba(99,102,241,0.08) 100%);
    --shadow:          0 4px 24px rgba(0,0,0,0.55);
    --shadow-lg:       0 20px 60px rgba(0,0,0,0.7);
    --transition:      all 0.3s cubic-bezier(0.4,0,0.2,1);
    --radius:          12px;
    --radius-lg:       20px;
}

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

html { scroll-behavior: smooth; color-scheme: dark; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Gradient-Übertitel (gilt für alle Pages) ── */
.pg-h1, .sec-h2, .pd-title, .product-name {
    background: linear-gradient(135deg, #6366f1 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
img { max-width: 100%; display: block; }

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HEADER ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(7, 9, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    border-bottom-color: var(--border-accent);
}

.main-header.scroll-down { transform: translateY(-100%); }
.main-header.scroll-up   { transform: translateY(0); }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    gap: 2rem;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo a:hover { opacity: 0.85; }

.logo img {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-highlight {
    color: var(--primary);
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-link i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(0,212,255,0.08);
}

.nav-link:hover i { transform: translateY(-1px); }

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(0,212,255,0.1);
    border: 1px solid var(--border-accent);
    color: var(--primary);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.cart-btn:hover {
    background: var(--primary);
    color: #07090f;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,212,255,0.35);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 10px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== HERO (legacy) ==================== */
.hero {
    margin-top: 80px;
    background: var(--gradient);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section {
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 10px,
        rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes moveBackground {
    from { background-position: 0 0; }
    to   { background-position: 50px 50px; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,212,255,0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border-accent);
}

.btn-outline:hover {
    background: rgba(0,212,255,0.08);
    transform: translateY(-2px);
}

/* ==================== SECTIONS ==================== */
section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 1rem;
}

/* ==================== PRODUCT GRID ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInScale 0.5s ease-out forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

.product-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,212,255,0.08);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: var(--bg-2);
}

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

.product-card:hover .product-image img { transform: scale(1.07); }

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    z-index: 1;
}

.product-info { padding: 1.4rem; }

.product-category {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #3b3b3b;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.btn-add-cart {
    background: rgba(0,212,255,0.1);
    border: 1px solid var(--border-accent);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn-add-cart:hover {
    background: var(--primary);
    color: #07090f;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,212,255,0.3);
}

.btn-add-cart:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ==================== FEATURES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: rgba(0,212,255,0.1);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e8edf2;
    margin-bottom: 0.5rem;
}

.feature-card p { color: var(--text-light); font-size: 0.9rem; }

/* ==================== UPLOAD ZONE ==================== */
.upload-zone {
    background: var(--bg-3);
    border: 2px dashed var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(0,212,255,0.05);
    box-shadow: inset 0 0 30px rgba(0,212,255,0.06);
}

.upload-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: bounce 2.5s ease-in-out infinite;
}

.upload-zone h3 {
    font-size: 1.4rem;
    color: #e8edf2;
    margin-bottom: 0.5rem;
}

.upload-zone p { color: var(--text-light); margin-bottom: 1rem; }

.file-formats {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.format-badge {
    background: rgba(0,212,255,0.1);
    border: 1px solid var(--border-accent);
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
}

/* ==================== FORMS ==================== */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 11px 18px;
    background: var(--bg-2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    appearance: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
    outline: none;
    border-color: var(--border-accent);
    background: var(--bg-3);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

select.form-control { cursor: pointer; }

/* ==================== CART ==================== */
.cart-items {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1.25rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: var(--transition);
    border-radius: var(--radius);
}

.cart-item:last-child { border-bottom: none; }

.cart-item:hover { background: var(--bg-4); }

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e8edf2;
    margin-bottom: 0.35rem;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid var(--border-accent);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-family: inherit;
}

.qty-btn:hover {
    background: var(--primary);
    color: #07090f;
    border-color: var(--primary);
}

.cart-summary {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.95rem;
}

.summary-row.total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: #04060e;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    position: relative;
    margin-top: 4rem;
}

.footer-content { padding: 4rem 0 2rem; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-desc {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links { display: flex; gap: 0.75rem; }

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #07090f;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0,212,255,0.3);
}

.footer-col h4 {
    color: #e8edf2;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-links a i { font-size: 0.7rem; color: var(--text-muted); transition: var(--transition); }

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

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

.footer-contact { list-style: none; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-light);
    transition: var(--transition);
}

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

.newsletter-signup h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}

.newsletter-form {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    background: var(--bg-2);
    color: var(--text);
    font-family: inherit;
    font-size: 0.875rem;
    outline: none;
}

.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
    padding: 10px 16px;
    border: none;
    background: var(--primary);
    color: #07090f;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 600;
}

.newsletter-form button:hover { background: var(--primary-dark); }

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0,212,255,0.1);
    border: 1px solid var(--border-accent);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary);
    color: #07090f;
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,212,255,0.35);
}

/* ==================== UTILITY ==================== */
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-light); }
.text-center  { text-align: center; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .logo img { height: 46px; }

    .logo-text { display: none; }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(7, 9, 15, 0.98);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        transition: var(--transition);
        border-top: 1px solid var(--border);
        overflow-y: auto;
    }

    .nav-links.active { left: 0; }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 10px;
        width: 100%;
    }

    .mobile-toggle { display: flex; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }

    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

    .cart-item { grid-template-columns: 75px 1fr; }

    .footer-bottom { text-align: center; justify-content: center; }
}

@media (max-width: 640px) {
    .hero-text h1  { font-size: 2rem; }
    .section-header h2 { font-size: 1.9rem; }
    .products-grid { grid-template-columns: 1fr; }

    section { padding: 60px 0; }

    .btn { padding: 11px 22px; font-size: 0.9rem; }
}
