﻿html { overflow-y: scroll; }

        :root {
            --bg-color: #ffffff;
            --text-color: #111111;
            --red-color: #ff2a2a;
            --border-color: #e0e0e0;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            overflow-x: hidden;
            background: var(--bg-color);
            color: var(--text-color);
            font-family: 'Space Grotesk', sans-serif;
            padding-top: 20px;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .top-marquee {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 20px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.92);
            color: #111111;
            z-index: 1100;
            border: 1px solid rgba(17, 17, 17, 0.16);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
            backdrop-filter: blur(18px) saturate(150%);
            -webkit-backdrop-filter: blur(18px) saturate(150%);
        }

        .marquee-track {
            display: flex;
            align-items: center;
            width: max-content;
            height: 100%;
            animation: marquee 120s linear infinite;
            will-change: transform;
            white-space: nowrap;
        }

        .marquee-group {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        .marquee-group span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 1.3rem;
            white-space: nowrap;
            flex-shrink: 0;
            font-size: 0.56rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 700;
            line-height: 20px;
            font-family: 'Quicksand', sans-serif;
        }

        @keyframes marquee {
            from { transform: translate3d(0, 0, 0); }
            to { transform: translate3d(-50%, 0, 0); }
        }

        .brand-header {
            position: fixed;
            top: 20px;
            left: 0;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 44px;
            background: rgba(255, 255, 255, 0.98);
            border-bottom: 1px solid var(--border-color);
            backdrop-filter: blur(10px);
        }

        .brand-header strong {
            font-size: 1.6rem;
            font-weight: 700;
            letter-spacing: 2px;
            font-style: italic;
        }

        header {
            position: fixed;
            top: 64px;
            left: 0;
            z-index: 1002;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 15px 5%;
            background: rgba(255, 255, 255, 0.95);
            border-bottom: 1px solid var(--border-color);
            backdrop-filter: blur(10px);
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .menu-toggle {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 28px;
            height: 24px;
            padding: 3px 0;
            border: 0;
            background: transparent;
            cursor: pointer;
        }

        .menu-toggle span {
            width: 100%;
            height: 2px;
            background: var(--text-color);
        }

        .logo {
            font-size: 1.25rem;
            font-weight: 500;
            letter-spacing: 1.5px;
        }

        nav ul {
            display: flex;
            gap: 30px;
            list-style: none;
        }

        nav a {
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        nav a:hover {
            opacity: 0.6;
        }

        nav a.highlight-new {
            color: #0b1f4d;
        }

        nav a.highlight-new {
            text-shadow: 0 0 0 rgba(255, 42, 42, 0);
            animation: navy-link-glow 1.6s ease-in-out infinite;
        }

        nav a.highlight-new { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: visible; z-index: 1; }
        nav a.highlight-new > span { position: relative; z-index: 1; }
        nav a.highlight-new .new-link-orbit { position: absolute; left: 50%; top: 48%; width: 205%; height: 225%; transform: translate(-50%, -50%) rotate(-3deg); overflow: visible; pointer-events: none; z-index: 0; }
        nav a.highlight-new .new-link-orbit path { fill: none; stroke: rgba(18, 40, 83, 0.96); stroke-width: 5.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 860; stroke-dashoffset: 860; opacity: 1; filter: drop-shadow(0 0 1.5px rgba(18, 40, 83, 0.18)); animation: new-link-orbit 30s linear infinite; }
        nav a.highlight-new .new-link-note { fill: #0b1f4d; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 52px; font-weight: 700; letter-spacing: 0.55px; opacity: 0; filter: drop-shadow(0 0 1px rgba(11, 31, 77, 0.18)); animation: new-link-note 30s linear infinite; }
        @keyframes new-link-orbit { 0% { stroke-dashoffset: 860; opacity: 0; } 4% { opacity: 1; } 16% { stroke-dashoffset: 225; opacity: 1; } 23% { stroke-dashoffset: 30; opacity: 1; } 28% { stroke-dashoffset: 0; opacity: 1; } 34% { opacity: 0.9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
        @keyframes new-link-note { 0%, 28% { opacity: 0; } 33%, 66% { opacity: 1; } 100% { opacity: 0; } }

        @keyframes hot-link-glow {
            0%, 100% { text-shadow: 0 0 0 rgba(255, 42, 42, 0); }
            50% { text-shadow: 0 0 9px rgba(255, 42, 42, 0.7); }
        }

        .nav-icons {
            font-size: 1.1rem;
        }

        .cart-icon {
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -10px;
            padding: 2px 6px;
            border-radius: 50%;
            background: var(--text-color);
            color: var(--bg-color);
            font-size: 0.7rem;
            font-weight: 700;
        }

        .side-menu {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1200;
            display: flex;
            flex-direction: column;
            width: min(360px, 88vw);
            height: 100vh;
            padding: 34px;
            background: var(--bg-color);
            border-right: 1px solid var(--border-color);
            transform: translateX(-100%);
            transition: transform 0.35s ease;
        }

        .side-menu.is-open {
            transform: translateX(0);
        }

        .side-menu-close {
            align-self: flex-end;
            border: 0;
            background: transparent;
            color: var(--text-color);
            -webkit-text-fill-color: var(--text-color);
            outline: 0;
            -webkit-tap-highlight-color: transparent;
            font-size: 1.7rem;
            cursor: pointer;
        }

        .side-menu-close:hover, .side-menu-close:focus, .side-menu-close:focus-visible, .side-menu-close:active { background: transparent; color: var(--text-color); -webkit-text-fill-color: var(--text-color); outline: 0; }

        .side-menu-title {
            margin: 38px 0 22px;
            color: #777;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .side-menu-links {
            display: flex;
            flex-direction: column;
            gap: 17px;
        }

        .side-menu-links a {
            font-size: 1.25rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .side-menu-links a:hover {
            color: #111111;
        }
        a.is-sale {
            color: #ff2a2a;
        }

        .side-menu-links a.is-new {
            color: #0b1f4d;
            font-weight: 700;
            animation: navy-link-glow 1.6s ease-in-out infinite;
        }

        a.is-sale {
            font-weight: 700;
            animation: hot-link-glow 1.6s ease-in-out infinite;
        }

        @keyframes navy-link-glow {
            0%, 100% { text-shadow: 0 0 0 rgba(11, 31, 77, 0); }
            50% { text-shadow: 0 0 10px rgba(11, 31, 77, 0.65); }
        }

        .side-menu-bottom {
            display: flex;
            flex-direction: column;
            gap: 9px;
            margin-top: auto;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
        }

        .side-menu-bottom a {
            color: #666;
            font-size: 0.72rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .menu-overlay {
            position: fixed;
            inset: 0;
            z-index: 1150;
            background: rgba(0, 0, 0, 0.35);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }

        .menu-overlay.is-visible {
            opacity: 1;
            pointer-events: auto;
        }

        main {
            padding: 150px 10px 60px;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
            width: 100%;
        }

        .product-card {
            position: relative;
            overflow: hidden;
            min-width: 0;
            width: 100%;
            background: var(--bg-color);
            border: 0;
        }

        .product-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            z-index: 2;
            padding: 0;
            background: transparent;
            color: #0b1f4d;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-shadow: 0 0 0 rgba(11, 31, 77, 0);
            text-transform: uppercase;
            animation: navy-link-glow 1.6s ease-in-out infinite;
            line-height: 1;
            white-space: nowrap;
            text-align: left;
        }

        .product-badge + .product-badge { top: 34px; }

        .product-badge.is-new-badge { color: #0b1f4d !important; text-shadow: 0 0 0 rgba(11, 31, 77, 0); animation: navy-link-glow 1.6s ease-in-out infinite; }

        @media (max-width: 650px) {
            .product-badge { top: 10px; left: 10px; font-size: 0.58rem; letter-spacing: 0.08em; }
            .product-badge + .product-badge { top: 27px; }
            .product-discount-badge { top: 10px; right: 10px; }
        }

        .product-badge.is-sale-badge {
            color: var(--red-color);
            text-shadow: 0 0 0 rgba(255, 42, 42, 0);
            animation: hot-link-glow 1.6s ease-in-out infinite;
        }

        .product-discount-badge { position: absolute; top: 14px; right: 14px; z-index: 2; color: var(--red-color); font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-shadow: 0 0 0 rgba(255, 42, 42, 0); animation: hot-link-glow 1.6s ease-in-out infinite; }

        .product-media {
            position: relative;
            width: 100%;
            aspect-ratio: 235 / 272;
            height: auto;
            margin: 0;
            overflow: hidden;
        }

        .product-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: opacity 0.35s ease, transform 0.35s ease;
        }

        .product-img-hover {
            opacity: 0;
        }

        .product-media.is-second .product-img-default {
            opacity: 0;
            transform: translateX(-3%) scale(1.04);
        }

        .product-media.is-second .product-img-hover {
            opacity: 1;
            transform: translateX(0) scale(1.04);
        }

        .image-arrow {
            position: absolute;
            top: 50%;
            z-index: 3;
            width: 28px;
            height: 28px;
            display: grid;
            place-items: center;
            border: 0;
            border-radius: 0;
            background: transparent;
            color: var(--text-color);
            cursor: pointer;
            font-size: 1.3rem;
            font-weight: 700;
            line-height: 1;
            text-shadow: none;
            opacity: 0;
            transform: translateY(-50%);
            transition: opacity 0.2s, transform 0.2s;
        }

        .product-card:hover .image-arrow,
        .image-arrow:focus-visible {
            opacity: 1;
        }

        .image-arrow:hover {
            transform: translateY(-50%) scale(1.08);
        }

        .image-arrow-left { left: 8px; }
        .image-arrow-right { right: 8px; }

        .product-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 16px 0 0;
            align-items: center;
            text-align: center;
        }

        .product-name,
        .product-price {
            font-weight: 500;
        }

        .product-name {
            font-size: 0.82rem;
            font-weight: 600;
            min-height: 2.4em;
            line-height: 1.2;
            text-transform: uppercase;
            overflow-wrap: anywhere;
        }

        .product-price {
            color: #444;
            font-size: 0.76rem;
            font-weight: 500;
        }

        .old-price { color: #999; font-size: 0.68rem; text-decoration: line-through; text-decoration-thickness: 1px; }
        .sale-price { margin-left: 5px; color: var(--red-color); font-weight: 700; }

        footer {
            margin-top: auto;
            padding: 10px 5%;
            border-top: 1px solid var(--border-color);
            color: #666;
            font-size: 0.62rem;
            text-align: right;
        }

        @media (max-width: 900px) {
            nav ul {
                gap: 14px;
            }

            nav a {
                font-size: 0.7rem;
            }

            .products-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 900px) {
            header nav { display: none; }
        }

        @media (max-width: 600px) {
            header {
                padding: 12px 4%;
            }

            header nav {
                display: none;
            }

            main {
                padding: 140px 10px 40px;
            }

            .products-grid {
                grid-template-columns: 1fr;
            }
        }
    

