/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --dark-bg: rgba(26, 26, 26, 0.85);
    --darker-bg: rgba(10, 10, 10, 0.85);
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --smoke-color: rgba(255, 255, 255, 0.03);
    --card-bg: rgba(20, 20, 20, 0.6);
    --success-color: #4caf50;
    --danger-color: #f44336;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.35);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

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

.logo h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.75rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--light-text);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
}

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

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

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

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

/* ===== MOBILE MENU HEADER ===== */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 107, 53, 0.1);
}

.mobile-menu-header .logo h1 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.mobile-menu-header .tagline {
    font-size: 0.7rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 10px;
}

.mobile-nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    display: block;
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding-left: 24px;
}

.mobile-nav-link::before {
    content: '→';
    position: absolute;
    left: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    opacity: 1;
}

/* ===== MOBILE AUTH SECTION ===== */
.mobile-auth-section {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-auth-buttons,
.mobile-user-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-user-info {
    margin-bottom: 15px;
}

.mobile-user-greeting {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.mobile-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
}

/* ===== MOBILE CART SECTION ===== */
.mobile-cart-section {
    padding: 20px;
    margin-top: auto;
}

.mobile-cart-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
}

/* ===== DESKTOP ONLY ===== */
.desktop-only {
    display: flex !important;
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.auth-buttons,
.user-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-greeting {
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0 10px;
}

.btn-auth {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.btn-auth:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

.btn-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border-color: transparent;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    border-color: transparent;
}

/* ===== CART BUTTON ===== */
.cart-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.cart-count {
    background: var(--light-text);
    color: var(--primary-color);
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 5px;
    font-weight: 700;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    position: relative;
    overflow: hidden;
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.05;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.08;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-auth {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.auth-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
}

.auth-toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--gray-text);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.auth-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
}

.auth-toggle-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.hero-auth-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.hero-auth-form.visible {
    display: flex;
    animation: slideFade 0.3s ease;
}

.hero-auth-form h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--light-text);
}

.hero-auth-form p {
    color: var(--gray-text);
    font-size: 1rem;
    margin-bottom: 10px;
}

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

.hero-auth-form input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hero-auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.hero-auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}

.auth-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-top: 10px;
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-link a:hover {
    color: var(--secondary-color);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
}

.btn .spinner,
.btn-auth .spinner,
.add-to-cart-btn .spinner,
.quantity-btn .spinner,
.remove-item-btn .spinner,
.cart-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--light-text);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

.btn.is-loading,
.btn-auth.is-loading,
.add-to-cart-btn.is-loading,
.quantity-btn.is-loading,
.remove-item-btn.is-loading,
.cart-btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ===== SECTIONS ===== */
.products-section,
.about-section,
.contact-section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    color: var(--light-text);
    border: 2px solid transparent;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
}

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

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-image.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--light-text);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.play-video-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-text);
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    z-index: 3;
}

.play-video-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.play-icon {
    font-size: 1rem;
}

/* Video Overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-overlay.active {
    opacity: 1;
}

.video-modal {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.close-video {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--light-text);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 4;
    transition: all 0.3s;
}

.close-video:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.product-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

.product-video-inline {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.close-video-inline {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-text);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 4;
    transition: all 0.3s;
}

.close-video-inline:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-description {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--gray-text);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--gray-text);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker-bg);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: var(--gray-text);
    margin: 5px 0;
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--dark-bg);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

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

.cart-header h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

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

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

.empty-cart {
    text-align: center;
    color: var(--gray-text);
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

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

.cart-item-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--secondary-color);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    background: var(--card-bg);
    border: none;
    color: var(--light-text);
    width: 25px;
    height: 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: var(--primary-color);
}

.cart-item-quantity {
    font-weight: 700;
}

.remove-item-btn {
    background: var(--danger-color);
    border: none;
    color: var(--light-text);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-left: auto;
    transition: opacity 0.3s;
}

.remove-item-btn:hover {
    opacity: 0.8;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.total-price {
    color: var(--secondary-color);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.modal.active {
    display: flex;
}

.modal.show {
    animation: modalFadeIn 0.35s ease forwards;
}

.modal-content {
    background: linear-gradient(160deg, rgba(26, 26, 26, 0.95), rgba(13, 13, 13, 0.95));
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.modal.show .modal-content {
    opacity: 1;
    transform: translateY(0);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px 10px;
}

.modal-header-text h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.4rem;
    margin-top: 6px;
}

.modal-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.15);
    color: var(--primary-color);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.close-modal {
    background: none;
    border: none;
    color: var(--gray-text);
    font-size: 2.2rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px 32px 32px;
}

/* ===== AUTH FORMS ===== */
.modal-auth .modal-content {
    max-width: 480px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.modal-auth .modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.2), transparent 55%);
    pointer-events: none;
    border-radius: inherit;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--gray-text);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
}

.auth-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

/* Auth Forms */
.auth-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.auth-form.visible {
    display: flex;
    animation: slideFade 0.3s ease;
}

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

.auth-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Password Requirements */
.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.password-requirements li {
    padding: 2px 0;
    font-size: 0.8rem;
    color: var(--gray-text);
}

.password-requirements li.valid {
    color: var(--success-color);
}

.password-requirements li.invalid {
    color: var(--danger-color);
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.auth-footer a:hover {
    opacity: 0.8;
}

.auth-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    margin-bottom: 24px;
}

.switch-pill {
    border: none;
    border-radius: 12px;
    padding: 12px 0;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.switch-pill:hover {
    transform: translateY(-1px);
}

.switch-pill.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 180, 70, 0.2));
    color: var(--light-text);
}

.auth-tabs {
    position: relative;
}

.auth-tabs .auth-form {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.auth-tabs .auth-form.visible {
    display: flex;
    animation: slideFade 0.35s ease;
}

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

.form-intro h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.form-intro p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.text-link-inline {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.text-link-inline:hover {
    color: var(--secondary-color);
}

.password-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.password-hints .hint-item {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    transition: color 0.3s, background 0.3s;
}

.password-hints .hint-item.active {
    color: var(--secondary-color);
    background: rgba(255, 107, 53, 0.15);
}

.password-strength {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.password-strength strong {
    color: var(--secondary-color);
}

.password-match {
    margin-top: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.password-match.valid {
    color: var(--success-color);
}

.password-match.invalid {
    color: var(--danger-color);
}

.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.login-security {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 4px 0 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.auth-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.inline-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-bottom: 2px;
}

.inline-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.inline-link:hover::after {
    transform: scaleX(1);
}

.plan-select {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.plan-option {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.plan-option input {
    accent-color: var(--primary-color);
}

.plan-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.4);
}

.plan-option .plan-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-title {
    font-weight: 600;
    color: var(--light-text);
}

.plan-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.form-switch {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.form-switch button.inline-link {
    font-size: inherit;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-text);
}

.input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper:focus-within {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.input-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

.auth-form input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--light-text);
    font-size: 1rem;
}

.auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-form input:focus {
    outline: none;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--secondary-color);
}

.helper-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    line-height: 1.4;
}

.text-link {
    color: var(--primary-color);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    align-self: flex-end;
}

.text-link:hover {
    color: var(--secondary-color);
}

.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.remember-me input {
    accent-color: var(--primary-color);
    margin-right: 8px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: border-color 0.3s, background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.4);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.form-switch {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.form-switch a {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.form-switch a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.form-switch a:hover::after {
    transform: scaleX(1);
}

.form-switch a:hover {
    color: var(--secondary-color);
}

/* ===== CHECKOUT FORM ===== */
.checkout-form h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.checkout-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.order-summary {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.summary-items {
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray-text);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-total span:last-child {
    color: var(--secondary-color);
}

/* ===== OVERLAY ===== */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1500;
}

.overlay.active {
    display: block;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: var(--light-text);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 4000;
    transition: top 0.3s;
}

.success-message.active {
    top: 20px;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-icon {
    background: var(--light-text);
    color: var(--success-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header .container {
        position: relative;
        justify-content: space-between;
    }

    /* Hide desktop navigation and actions */
    .nav,
    .desktop-only {
        display: none !important;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .modal-content {
        max-height: 95vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .about-text {
        padding: 25px;
    }

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

    .header-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .auth-buttons,
    .user-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .btn-auth {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .user-greeting {
        font-size: 0.8rem;
    }

    .cart-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== FORM ERROR STATES ===== */
input.error,
textarea.error,
select.error {
    border-color: var(--danger-color) !important;
    animation: shake 0.5s;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

/* ===== SHAKE ANIMATION ===== */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

.shake {
    animation: shake 0.5s;
}

/* ===== LOADING SPINNER ===== */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.is-loading .spinner {
    margin: 0 auto;
}