/* Font */
@font-face {
    font-family: 'Stadium';
    src: url('fonts/stadium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druk';
    src: url('fonts/DrukCyr-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druk Text Wide';
    src: url('fonts/druktextwidecyr-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    --accent: #e6ab17;
    --accent-hover: #d49c0e;
    --black: #000000;
    --white: #ffffff;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.6;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Stadium', sans-serif;
    font-size: 36px;
    font-style: italic;
    letter-spacing: 0.02em;
}

.lang-switch {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    transition: all 0.2s;
}

.lang-switch:hover {
    background: #000;
    color: #fff;
}

/* Hero */
.hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    margin-top: 0;
}

.hero-content {
    padding: 40px;
}

.hero-title {
    font-family: 'Stadium', sans-serif;
    font-size: clamp(48px, 10vw, 120px);
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #666;
}

/* Products Section */
.products {
    padding: 80px 40px;
    padding-top: 100px;
    max-width: 1800px;
    margin: 0 auto;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sort-select {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border: 1px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

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

/* Product Card */
.product-card {
    cursor: pointer;
}

.product-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 15px;
}

/* Product Slider */
.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-slider .slide.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .slider-dots {
    opacity: 1;
}

.slider-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-dots .dot.active {
    background: var(--accent);
}

.slider-dots .dot:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: #000;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: var(--accent);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

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

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

.product-info {
    text-align: left;
    padding-top: 12px;
}

.product-category {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.product-name {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.product-price {
    font-size: 13px;
    font-weight: 400;
    color: #000;
}

/* Product Modal */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 300;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    background: #fff;
    z-index: 301;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    overflow: hidden;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #000;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    max-height: 90vh;
}

.modal-gallery {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.modal-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-slide {
    position: absolute;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-slide.active {
    opacity: 1;
    position: relative;
}

.modal-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.modal-dot:hover {
    background: rgba(0, 0, 0, 0.5);
}

.modal-dot.active {
    background: var(--accent);
}

.modal-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-slider-arrow:hover {
    background: var(--accent);
}

.modal-slider-prev {
    left: 15px;
}

.modal-slider-next {
    right: 15px;
}

.modal-info {
    padding: 50px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-category {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-price {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.modal-color {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
}

.modal-sizes {
    margin-bottom: 25px;
}

.sizes-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

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

.size-btn {
    min-width: 50px;
    padding: 12px 18px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.size-btn:hover {
    border-color: #000;
}

.size-btn.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.add-to-bag-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-bottom: 30px;
}

.add-to-bag-btn:hover {
    background: var(--accent-hover);
}

.add-to-bag-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.modal-details {
    margin-top: auto;
    border-top: 1px solid #e5e5e5;
    padding-top: 25px;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-item h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.detail-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Modal Mobile */
@media (max-width: 768px) {
    .product-modal {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
    }

    .product-modal.active {
        transform: none;
    }

    .modal-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .modal-gallery {
        padding: 20px;
        max-height: 50vh;
    }

    .modal-slide {
        max-height: 45vh;
    }

    .modal-slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .modal-slider-prev {
        left: 10px;
    }

    .modal-slider-next {
        right: 10px;
    }

    .modal-info {
        padding: 25px 20px;
    }

    .modal-title {
        font-size: 18px;
    }
}

/* Scroll Animation Section */
.scroll-animation {
    display: none; /* Hidden for now */
    height: 300vh;
    position: relative;
    background: #fff;
}

.scroll-animation-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 80px;
}

.kinetic-text {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 10;
}

.kinetic-line {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.1;
    color: #000;
    position: relative;
    display: block;
    font-family: 'Druk', sans-serif;
    text-transform: uppercase;
}

.kinetic-line.small {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

.kinetic-line.accent {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 15px;
}

.kinetic-line .char {
    display: inline-block;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.86, 0, 0.07, 1),
                letter-spacing 0.6s cubic-bezier(0.86, 0, 0.07, 1);
}

.kinetic-line .char::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.kinetic-line:hover .char::after {
    transform: scaleX(1);
    transform-origin: left;
}

.kinetic-line:hover .char {
    letter-spacing: 0.15em;
}

.scroll-text-left {
    text-align: right;
}

.scroll-text-right {
    text-align: left;
}

/* Scramble effect */
.kinetic-line.scramble {
    animation: scrambleGlitch 0.1s steps(2) infinite;
}

@keyframes scrambleGlitch {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

#belt-canvas {
    max-width: 500px;
    max-height: 80vh;
    object-fit: contain;
}

.scroll-animation-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #000;
    z-index: 10;
    pointer-events: none;
}

.scroll-title {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.scroll-subtitle {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
    max-width: 400px;
}

@media (max-width: 768px) {
    .scroll-animation {
        height: 200vh;
    }

    .scroll-animation-container {
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
    }

    .scroll-text-left,
    .scroll-text-right {
        text-align: center;
    }

    .kinetic-line {
        font-size: 28px;
    }

    .kinetic-line.small {
        font-size: 14px;
    }

    .kinetic-line.accent {
        font-size: 24px;
    }
}

/* About Section */
.about {
    padding: 120px 40px;
    background: #000;
    color: #fff;
    text-align: center;
}

.about-content {
    max-width: 600px;
    margin: 0 auto;
}

.about-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
    color: #ccc;
}

/* Footer */
.footer {
    padding: 60px 40px 30px;
    background: #fafafa;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.footer-section a {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.footer-bottom p {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05em;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 200;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 201;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e5e5e5;
}

.cart-header h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.cart-close {
    font-size: 24px;
    color: #000;
    transition: opacity 0.2s;
}

.cart-close:hover {
    opacity: 0.6;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.cart-item-size {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.cart-item-remove {
    font-size: 11px;
    color: #999;
    text-decoration: underline;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #000;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 13px;
}

.cart-footer {
    padding: 25px 30px;
    border-top: 1px solid #e5e5e5;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: var(--black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: var(--accent-hover);
}

/* Checkout Form */
.cart-view,
.checkout-view,
.success-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-view .cart-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    font-size: 20px;
    padding: 5px 10px;
    color: #000;
    transition: opacity 0.2s;
}

.back-btn:hover {
    opacity: 0.6;
}

.checkout-form {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.checkout-summary {
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
}

.submit-order-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: var(--black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s;
    margin-top: 10px;
}

.submit-order-btn:hover {
    background: var(--accent-hover);
}

/* Success View */
.success-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.success-content h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.success-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #000;
    transition: all 0.3s;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 99;
    padding: 30px 20px;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

/* Tablet */
@media (max-width: 1024px) {
    .nav {
        padding: 15px 30px;
    }

    .nav-left,
    .nav-right {
        gap: 20px;
    }

    .products {
        padding: 60px 30px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .about {
        padding: 80px 30px;
    }

    .footer {
        padding: 50px 30px 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-left {
        display: none;
    }

    .nav-right {
        gap: 12px;
        align-items: center;
    }

    .nav-right .nav-link:not(.cart-link) {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .logo-img {
        height: 22px;
    }

    .lang-switch {
        padding: 5px 10px;
        font-size: 10px;
    }

    .hero {
        height: 50vh;
        min-height: 350px;
        margin-top: 60px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .products {
        padding: 40px 15px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .sort-select {
        width: 100%;
        padding: 12px 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        margin-bottom: 10px;
    }

    .product-name {
        font-size: 11px;
        letter-spacing: 0.05em;
    }

    .product-price {
        font-size: 11px;
    }

    .about {
        padding: 50px 20px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cart-sidebar {
        width: 100%;
    }

    .cart-header {
        padding: 20px;
    }

    .cart-items {
        padding: 15px 20px;
    }

    .cart-footer {
        padding: 20px;
    }

    .checkout-btn {
        padding: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero {
        height: 45vh;
        min-height: 300px;
    }

    .hero-title {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-name {
        font-size: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .nav {
        padding: 12px 15px;
    }

    .logo-img {
        height: 18px;
    }

    .hero-title {
        font-size: 32px;
    }

    .products {
        padding: 30px 10px;
    }

    .products-grid {
        gap: 8px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero text transition */
.hero-text-container {
    position: relative;
    min-height: 40px;
}

.hero-subtitle-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

.hero-subtitle .word {
    display: inline-block;
    margin-right: 0.3em;
}

.hero-title .char {
    display: inline-block;
}

/* Product card hover effects */
.product-image {
    overflow: hidden;
}

/* Nav link hover */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--accent);
}

/* Header Search */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-form {
    display: none;
    align-items: center;
    gap: 10px;
}

.header-search.active .search-btn {
    display: none;
}

.header-search.active .header-search-form {
    display: flex;
}

.header-search-input {
    width: 200px;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid #000;
    background: transparent;
    outline: none;
    font-family: inherit;
    letter-spacing: 0.05em;
    transition: border-color 0.2s, width 0.3s;
}

.header-search-input:focus {
    border-color: var(--accent);
    width: 250px;
}

.header-search-input::placeholder {
    color: #999;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.header-search-close {
    font-size: 18px;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.header-search-close:hover {
    color: var(--accent);
}

.header-search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: none;
    z-index: 150;
}

.header-search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f9f9f9;
}

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

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-result-price {
    font-size: 12px;
    color: #666;
}

.search-no-results {
    text-align: center;
    padding: 30px 15px;
    color: #666;
    font-size: 12px;
}

/* Mobile search - full overlay */
@media (max-width: 768px) {
    .header-search-form {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 200;
        padding: 80px 20px 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .header-search.active .header-search-form {
        display: flex;
    }

    .header-search-input {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .header-search-input:focus {
        width: 100%;
    }

    .header-search-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 28px;
    }

    .header-search-results {
        position: relative;
        width: 100%;
        max-height: none;
        flex: 1;
        border: none;
        box-shadow: none;
        margin-top: 20px;
    }

    .header-search.active .header-search-results.active {
        display: block;
    }
}
