:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #f39c12;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --gray: #95a5a6;
    --text: #333;
    --bg-light: #f8f9fa;
    --border: #e0e0e0;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --main-font: 'Barlow';
    --title-font: 'RetroFont';
    --font-1: 'Font1';
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--main-font);
}

@font-face {
    font-family: 'RetroFont';
    src: url('assets/fonts/GulfsDisplay-Normal.woff2') format('woff2'),
         url('assets/fonts/GulfsDisplay-Normal.ttf') format('woff');
    font-style: normal;
    font-display: swap;
    font-weight: 100;
}
@font-face {
    font-family: 'Font1';
    src: url('assets/fonts/flexslider-icon.woff') format('woff2');
    font-style: normal;
    font-display: swap;
    font-weight: 100;
}

body {
  background-image: url("assets/images/bg.jpg");
  background-size: cover;   
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center; 
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: #f39c12;
    display: inline-block;
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

/* Hero Section với Video */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.3) 0%,
        rgba(59, 20, 28, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.eyebrow {
            font-family: var(--font-1);
            font-size: 30px;
            color: white;
            margin-bottom: 60px;
            font-weight: 600;
            letter-spacing: 1px;
            text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
        }
.hero-actions {
            display: flex;
            justify-content: center;
            gap: 300px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .btn {
            padding: 15px 35px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            text-align: center;
            min-width: 200px;
        }
        .hero-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-top: 50px;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 80px;
        }
        
        .feature-item {
            padding: 20px 15px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            text-align: center;        
        }
        .feature-content {
            display: flex;
            flex-direction: column;
            gap: 12px;
            position: relative;
            z-index: 3;
        }
        
        .feature-title {
            font-family: var(--font-1);
            font-size: 20px;
            font-weight: 800;
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            margin-bottom: 5px;
        }
        
        .feature-desc {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 500;
            line-height: 1.6;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes gradientShift {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }
        
        @keyframes patternMove {
            0% {
                background-position: 0 0;
            }
            100% {
                background-position: 20px 20px;
            }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .hero-actions {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 300px;
            }
            
            .hero-features {
                grid-template-columns: 1fr;
            }
            
            .feature-item {
                padding: 25px 20px;
            }
            
            .feature-title {
                font-size: 1.2rem;
            }
        }
        
        @media (max-width: 480px) {
            .hero-features {
                gap: 15px;
            }
            
            .feature-item {
                padding: 20px 15px;
            }
            
            .feature-title {
                font-size: 1.1rem;
            }
            
            .feature-desc {
                font-size: 0.9rem;
            }
        }             
/* Volume control button */
.volume-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.volume-control:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: white;
    transform: scale(1.1);
}

.volume-control.muted i::before {
    content: "\f026"; /* fa-volume-mute */
}
/* Categories Section */
.categories {
    position: relative;
    padding: 80px 0;

}
.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #8b4513, 
        #a0522d, 
        #8b4513, 
        transparent);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.category-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 400px; /* Đảm bảo chiều cao đồng đều */
}

.titlemark {
    font-family: var(--font-1);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    flex-shrink: 0; /* Không bị co lại */
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

/* Container cho hình ảnh để căn giữa hoàn hảo */
.category-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 25px;
    min-height: 200px; /* Đảm bảo chiều cao tối thiểu */
}

.category-card img {
    max-width: 80%; /* Giảm width để có khoảng trống hai bên */
    max-height: 180px; /* Giới hạn chiều cao tối đa */
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Điều chỉnh riêng cho từng loại sản phẩm */
#artifactz\ vinora img {
    max-width: 70%; /* Vinyl có thể nhỏ hơn một chút */
    max-height: 160px;
}

#artifactz\ tapella .cd-container {
    max-width: 85%; /* Cassette có thể rộng hơn */
    max-height: 170px;
}

#artifactz\ discara img {
    max-width: 75%; /* CD cân đối */
    max-height: 165px;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card p {
    color: white;
    margin-bottom: 20px;
    flex-shrink: 0; /* Không bị co lại */
    line-height: 1.5;
}

.cd-container {
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
/* Make sure the audio player is always hidden */
audio {
    display: none;
}


/* Retro Button Styles */
.btn {
    position: relative;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    overflow: hidden;
}

.btn-primary {
    backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #5d2906;
    box-shadow: 
        0 4px 0 #5d2906,
        0 6px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #5d2906,
        0 4px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    background: linear-gradient(135deg, #7a3c10, #8b4513);
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 
        0 0px 0 #5d2906,
        0 2px 4px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(0,0,0,0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.2), 
        transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Vintage Secondary Button */
.btn-secondary {
    backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  background: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    border: 2px solid #2c2c2c;
    box-shadow: 
        0 4px 0 #2c2c2c,
        0 6px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-secondary:hover {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #2c2c2c,
        0 4px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    background: linear-gradient(135deg, #2c4848, #5a6d7e);
}

/* Retro Text Effect */
.btn-retro {
    backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  background: rgba(255, 255, 255, 0.1);
    color: #2c2c2c;
    border: 2px solid #8b6914;
    box-shadow: 
        0 4px 0 #8b6914,
        0 6px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
    font-weight: 700;
    position: relative;
}

.btn-retro::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,0,0,0.3), 
        transparent);
}

.btn-retro:hover {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #8b6914,
        0 4px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.4);
    background: linear-gradient(135deg, #a0780a, #c6951c);
}

/* Common styles for all retro buttons */
.btn-worn,
.btn-vinyl,
.btn-cassette {
    background: 
        linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #8b4513 100%),
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 5px, 
            rgba(0,0,0,0.1) 5px, 
            rgba(0,0,0,0.1) 10px);
    color: #e8d8c3;
    border: 2px solid #5d2906;
    box-shadow: 
        0 4px 0 #5d2906,
        inset 0 0 10px rgba(0,0,0,0.3),
        0 0 5px rgba(139, 69, 19, 0.5);
    position: relative;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-worn::before,
.btn-vinyl::before,
.btn-cassette::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    pointer-events: none;
}

.btn-worn:hover,
.btn-vinyl:hover,
.btn-cassette:hover {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #5d2906,
        inset 0 0 10px rgba(0,0,0,0.3),
        0 0 8px rgba(139, 69, 19, 0.7);
}

.btn-worn:active,
.btn-vinyl:active,
.btn-cassette:active {
    transform: translateY(4px);
    box-shadow: 
        0 0px 0 #5d2906,
        inset 0 0 15px rgba(0,0,0,0.4);
}
.btn-worn::after,
.btn-vinyl::after,
.btn-cassette::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #e8d8c3, 
        transparent);
    animation: tapeMove 2s linear infinite;
}

@keyframes tapeMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hover effects */
.btn-vinyl:hover::after,
.btn-cassette:hover::after,
.btn-worn:hover::after {
    animation-duration: 1s;
}

/* For category card buttons */
.category-card .btn-worn,
.category-card .btn-vinyl,
.category-card .btn-cassette {
    margin-top: 10px;
    font-size: 12px;
    padding: 10px 20px;
    letter-spacing: 0.5px;
}
/* Active/Pressed State for all buttons */
.btn:active {
    transition: all 0.1s ease;
}

/* Disabled State */
.btn:disabled {
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

/* Specific styles for category card buttons */
.category-card .btn-primary {
    margin-top: 10px;
    font-size: 12px;
    padding: 10px 20px;
    letter-spacing: 0.5px;
}

/* Retro glow effect on hover */
.category-card .btn-primary:hover {
    box-shadow: 
        0 2px 0 #5d2906,
        0 4px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3),
        0 0 10px rgba(210, 105, 30, 0.5);
}
/* Responsive cho mobile */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        min-height: 350px;
        padding: 20px 15px;
    }
    
    .category-card img {
        max-width: 70%;
        max-height: 150px;
    }
    
    .titlemark {
        font-size: 20px;
        margin-bottom: 15px;
    }
}
/* Featured Products Section - Áp dụng từ audio-vinyl-products */
.featured-products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px; 
    margin-top: 40px;
} 

.product-card {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    background: transparent; 
    border: none; 
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.product-image img.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .product-image img.main-image {
    opacity: 0;
}

.product-card:hover .product-image img.hover-image {
    opacity: 1;
}

.product-overlay {
    position: absolute;
    z-index: 2;
    text-align: center;
    bottom: -40px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    bottom: 15px;
    opacity: 1;
    visibility: visible;
}

.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.action-btn,
.heart-btn {
    width: 55px;
    height: 45px;
    text-align: center;
    line-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0px #000000;
    border: 1px solid #000000;
    color: var(--text-dark);
    background-color: var(--white-color);
    transition: var(--transition-normal, all 0.3s ease);
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.action-btn:hover,
.heart-btn:hover {
    background-color: var(--text-dark);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 2px 2px 0px #000000;
}

.action-btn i {
    font-size: 16px;
}

.product-info {
    padding: 20px 15px;
    text-align: center;
}

.product-info h4 {
    font-size: 16px;
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Retro Sale Tag Styles */
.sale-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #e74c3c 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 
        0 3px 0 #8b0000,
        0 5px 10px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1px solid #8b0000;
    transform: rotate(-3deg);
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: 'Barlow', sans-serif;
}

.sale-tag::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    pointer-events: none;
}

.sale-tag::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #8b0000;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

/* Different tag styles */
.sale-tag.hot {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #f39c12 100%);
    box-shadow: 
        0 3px 0 #b06a0f,
        0 5px 10px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1px solid #b06a0f;
}

.sale-tag.new {
    background: linear-gradient(135deg, #27ae60 0%, #229954 50%, #27ae60 100%);
    box-shadow: 
        0 3px 0 #1e7e4c,
        0 5px 10px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1px solid #1e7e4c;
}

.sale-tag.limited {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 50%, #9b59b6 100%);
    box-shadow: 
        0 3px 0 #6c3483,
        0 5px 10px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1px solid #6c3483;
}

.sale-tag.vintage {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #8b4513 100%);
    box-shadow: 
        0 3px 0 #5d2906,
        0 5px 10px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid #5d2906;
    color: #e8d8c3;
}

/* Retro flicker animation */
@keyframes pulse {
    0%, 100% {
        transform: rotate(-3deg) scale(1);
        box-shadow: 
            0 3px 0 #8b0000,
            0 5px 10px rgba(0,0,0,0.3),
            inset 0 1px 0 rgba(255,255,255,0.3);
    }
    50% {
        transform: rotate(-3deg) scale(1.05);
        box-shadow: 
            0 3px 0 #8b0000,
            0 7px 15px rgba(231, 76, 60, 0.4),
            inset 0 1px 0 rgba(255,255,255,0.4);
    }
}

/* Hover effects */
.product-card:hover .sale-tag {
    animation: pulse 0.8s ease-in-out infinite;
    transform: rotate(-3deg) scale(1.1);
}

/* Retro tape effect for vintage tag */
.sale-tag.vintage::before {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 4px
    );
}

/* Sparkle effect */
.sale-tag::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 10px 10px;
}

/* Discount badge in price */
.discount-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 0 #8b0000;
    border: 1px solid #8b0000;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

/* Retro price styles */
.old-price {
    font-size: 14px;
    color: #95a5a6;
    text-decoration: line-through;
    font-weight: 400;
    position: relative;
}

.old-price::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    right: -5px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e74c3c, transparent);
    transform: translateY(-50%);
}

.current-price {
    font-size: 18px;
    color: #f39c12;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    position: relative;
}

.current-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f39c12, transparent);
}

/* Responsive design cho 5 sp */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 sp trên màn vừa */
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 sp trên tablet */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sp trên mobile */
        gap: 15px;
    }
    
    .product-image img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr; /* 1 sp trên mobile nhỏ */
        gap: 15px;
    }
}

/* Heart icon custom */
.heart-icon {
    background-image: url('assets/images/heart-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.heart-icon.active {
    filter: brightness(0) saturate(100%) invert(28%) sepia(91%) saturate(2817%) hue-rotate(346deg) brightness(95%) contrast(93%);
    transform: scale(1.1);
}

.heart-icon:hover {
    transform: scale(1.2);
}

/* Shopping bag icon custom */
.shopping-bag-icon {
    background-image: url('assets/images/shopping-bag-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 16px;
    height: 20px;
}

/* Wishlist notification */
.wishlist-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2c3e50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.wishlist-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.wishlist-notification.success {
    background: #27ae60;
}

.wishlist-notification.info {
    background: #3498db;
}

.wishlist-notification.error {
    background: #e74c3c;
}

/* Empty state for products */
.product-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-card {
    background: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.empty-card i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-card h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.filter-reset-btn {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    background: var(--secondary-color);
}

/* Responsive design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image img {
        height: 200px;
    }
    
    .product-info {
        padding: 15px 10px;
    }
    
    .product-info h4 {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-actions {
        gap: 5px;
    }
    
    .action-btn {
        width: 40px;
        height: 35px;
        line-height: 40px;
    }
}

/* Story Section */
.story {
    border-radius: 25px;
    margin: 50px;}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text .eyebrow {
    color: var(--secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
}

.story-text h2 {
    font-family: var(--font-1);
    font-size: 30px;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--secondary);
}

.story-text p {
    margin-bottom: 20px;
    color: white;
    line-height: 1.7;
}

.story-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.story-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.story-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-1);
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: white;
}

/* Gallery Section */
/* Common styles for the gallery */
.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden; /* Giới hạn không gian hiển thị của gallery */
}

.gallery-track {
    display: flex;
    animation: slide-left-to-right 20s linear infinite; /* Default animation */
}

.gallery-item {
    flex: 0 0 auto;
    margin-right: 30px; /* Tăng khoảng cách giữa các ảnh */
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 250px; /* Làm ảnh lớn hơn một chút */
    height: auto;
    display: block;
    object-fit: cover; /* Giữ ảnh luôn phủ đầy khung mà không bị méo */
}

/* Animation for the top gallery (left to right) */
@keyframes slide-left-to-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Bottom gallery (right to left) */
.gallery-track.bottom-gallery {
    animation: slide-right-to-left 20s linear infinite;
}

@keyframes slide-right-to-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* Adjust spacing between top and bottom galleries */
.gallery-slider > div {
    margin-bottom: 20px;
}



/* Loading Portal */
.loading-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-portal.active {
    opacity: 1;
    visibility: visible;
}

.loading-shell {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px;
}

.loading-vinyl {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(45deg, #333, #555);
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
    animation: spin 3s linear infinite;
    cursor: pointer;
}

.loading-portal.turbo .loading-vinyl {
    animation-duration: 0.5s;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: white;
}

.vinyl-spark {
    position: absolute;
    top: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: gold;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.loading-countdown {
    margin-bottom: 20px;
}

.count {
    font-size: 48px;
    font-weight: 700;
    color: #e74c3c;
    display: block;
}

.label {
    font-size: 14px;
    color: #ccc;
}

.loading-progress {
    margin-bottom: 30px;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: #444;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 2px;
    transition: width 0.1s ease;
    width: calc(var(--progress) * 100%);
}

.loading-message {
    font-size: 16px;
    margin-bottom: 10px;
    color: white;
}

.loading-fact {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
    min-height: 40px;
}

.loading-tip {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.loading-skip {
    background: transparent;
    border: 1px solid #666;
    color: #999;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.loading-skip:hover {
    background: #333;
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* Cart Modal Styles */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    
}

.cart-modal.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center; /* Thay space-between bằng center */
    align-items: center;
    background: black;
    text-align: center;
    position: relative; /* Thêm position relative */
}

.cart-header h3 {
    color: var(--secondary);
    margin: 0;
    font-size: 18px;
    /* Xóa align-items: center; vì không áp dụng cho h3 */
}

.cart-close {
    position: absolute; /* Đặt nút close ở vị trí tuyệt đối */
    right: 20px; /* Cách mép phải 20px */
    top: 50%; /* Căn giữa theo chiều dọc */
    transform: translateY(-50%); /* Căn giữa chính xác */
    background: none;
    border: none;
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-image: url('assets/images/material.png');
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    gap: 30px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    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-family: var(--font-1);
    color: black;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.3;
}

.cart-item-price {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid var(--border);
    background: black;
    color: white;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--secondary);
}

.quantity-input {
    width: 40px;
    height: 25px;
    border: 1px solid var(--border);
    background: black;
    color: white;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
}

.remove-item {
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    padding: 5px;
}

.remove-item:hover {
    color: black;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: black;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.cart-total span:last-child {
    color: var(--secondary);
    font-weight: 600;
    font-size: 18px;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-btn {
    background: white;
    color: black;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-btn:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.continue-shopping {
    background: transparent;
    color: white;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.continue-shopping:hover {
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: black;
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    color: black;
}

.cart-empty p {
    margin-bottom: 20px;
}

/* Cart Badge */
.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.badge.show {
    opacity: 1;
    transform: scale(1);
}

/* Add to cart animation */
.add-to-cart.added {
    background-color: #d5b948 !important;
    border-color: #d5b948 !important;
}

/* Heart button style */
.heart-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.heart-btn:focus {
    outline: none;
}

/* Fix for shopping bag icon */
.shopping-bag-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 7h-3V6a4 4 0 0 0-8 0v1H5a1 1 0 0 0-1 1v11a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V8a1 1 0 0 0-1-1zm-9-1a2 2 0 0 1 4 0v1h-4V6zm8 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9h2v1a1 1 0 0 0 2 0V9h4v1a1 1 0 0 0 2 0V9h2v11z"/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 7h-3V6a4 4 0 0 0-8 0v1H5a1 1 0 0 0-1 1v11a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V8a1 1 0 0 0-1-1zm-9-1a2 2 0 0 1 4 0v1h-4V6zm8 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9h2v1a1 1 0 0 0 2 0V9h4v1a1 1 0 0 0 2 0V9h2v11z"/></svg>') no-repeat center;
}
/*NEW ARRIVAL GALLERY*/
.home-text {
  text-shadow:#8d5252 0px 10px 15px;
  letter-spacing: 5px;
  text-align:center;
  font-size: 36px;
  color: #f39c12;
  display: inline-block;
  margin-bottom: 15px;
  font-family: var(--title-font);
  
}
.arrival-gallery{
    width: 100%;
    height: 100%;
    overflow: hidden;
    backface-visibility: hidden;
    position: relative;
    background-color: solid black;
}
.arrival-container{
    /*margin:;
    width: ;
    height:;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}
.pro-gallery inline-styles one row hide-scrollbars slider ltr {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
}
div.pro-gallery .ltr {
    direction: ltr;
}
div.pro-gallery .hide-scrollbars {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
}
div.pro-gallery.one-row {
    white-space: nowrap;
    float: left;
}
div.pro-gallery .ltr {
    direction: ltr;
}
div.pro-gallery .hide-scrollbars {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
}
div.pro-gallery.one-row {
    white-space: nowrap;
    float: left;
}
div.pro-gallery .ltr {
    direction: ltr;
}
div.pro-gallery .hide-scrollbars {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
}
div.pro-gallery.one-row {
    white-space: nowrap;
    float: left;
}
div.pro-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    backface-visibility: hidden;
    position: relative;
}
div.pro-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    backface-visibility: hidden;
    position: relative;
}
div.pro-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    backface-visibility: hidden;
    position: relative;
}
.gallery-horizontal-scroll gallery-column hide-scrollbars  ltr{
width: 916px; 
height: 597px; 
overflow-y: hidden;
}
div.pro-gallery.one-row.slider .gallery-column {
    overflow-x: scroll;
}
div.pro-gallery.one-row .gallery-column {
    width: 100%;
    float: none;
    white-space: nowrap;
}
div.pro-gallery .ltr {
    direction: ltr;
}
div.pro-gallery .hide-scrollbars {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
}
div.pro-gallery .gallery-column {
    float: left;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
.gallery-horizontal-scroll-inner{
    transition: none; 
    transform: translateX(0px);
}
div.pro-gallery.one-row .gallery-horizontal-scroll-inner {
    position: relative;
    will-change: transform;
}
.gallery-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 100px;
}

.slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
}

.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
    gap: 20px;
}

.slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 22s linear infinite;
    animation-delay: calc((22s / var(--quantity)) * (var(--position) - 1) - 22s) !important;
}

/* Dòng 2 lệch ra để tạo hiệu ứng xéo */
.slider-offset .list .item {
    animation-delay: calc((22s / var(--quantity)) * (var(--position) - 0.5) - 22s) !important;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes autoRun {
    from {
        left: 100%;
    }
    to {
        left: calc(var(--width) * -1);
    }
}

.gallery-container:hover .item {
    animation-play-state: paused !important;
}
        .display-default {
            text-align: center;
            color: var(--secondary);
            padding: 20px 0;
        }

        .display-default h3 {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .display-active {
            display: none;
            animation: fadeInUp 0.6s ease;
        }

        /* Product Header */
        .product-header {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 15px;
        }

        .product-image {
            flex: 0 0 70px;
        }

        .product-header .product-image img {
            width: 70px;
            height: 70px;
            object-fit: cover;
        }

        .product-title {
            font-family: var(--font-1);
            color: var(--secondary);
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .product-price {
            font-size: 16px;
            font-weight: bold;
            color: var(--secondary);
            margin-bottom: 8px;
        }

        .product-actions {
            display: flex;
            gap: 8px;
        }

        .btn {
            padding: 6px 12px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            font-size: 12px;
        }

        .btn-primary {
            background: var(--secondary);
            color: white;
        }

        .btn-secondary {
            background: transparent;
            color: var(--secondary);
            border: 1px solid var(--secondary);
        }

        .btn:hover {
            transform: translateY(-1px);
        }

        /* Reviews Section */
        .reviews-section {
            margin-top: 15px;
        }

        .section-title {
            font-size: 14px;
            color: var(--secondary);
            margin-bottom: 10px;
            font-weight: bold;
        }

        .review-item {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 10px;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
        }

        .reviewer-name {
            font-weight: bold;
            color: var(--secondary);
            font-size: 13px;
        }

        .review-date {
            color: rgba(255, 255, 255, 0.6);
            font-size: 11px;
        }

        .review-rating {
            color: var(--secondary);
            font-size: 13px;
            margin-bottom: 5px;
        }

        .review-text {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.3;
            font-size: 12px;
        }

        /* Card Gallery */
        .wrapper {
            width: 100%;
            height: calc(100vh - 200px);
            display: flex;
            justify-content: center;
            align-items: center;
            overflow-x: auto;
            padding: 20px 0;
        }

        .footer-gallery {
            height: 100%;
            width: fit-content;
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            align-items: center;
            gap: 20px;
        }

        .footer-gallery input {
            display: none;
        }

        .card {
            width: 200px;
            height: 280px;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.6s ease;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            background-size: cover;
            background-position: center;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .card .content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.8);
            padding: 15px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .card .content h4 {
            font-family: var(--font-1);
            color: var(--secondary);
            font-size: 20px;
            margin-bottom: 8px;
        }

        .card .content p {
            color: white;
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s ease 0.2s;
        }

        /* Card backgrounds */
        .card[for="c1"] { background: url('assets/images/vinyl.png'); }
        .card[for="c2"] { background: url('assets/images/cdplayer.png'); }
        .card[for="c3"] { background: url('assets/images/pola.png'); }
        .card[for="c4"] { background: url('assets/images/vhs.png'); }
        .card[for="c5"] { background: url('assets/images/ipod.png'); }

        .card .icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 32px;
            transition: all 0.3s ease;
        }

        /* Expanded card state */
        input:checked + .card {
            width: 350px;
            height: 450px;
        }

        input:checked + .card .content {
            transform: translateY(0);
        }

        input:checked + .card .content p {
            opacity: 1;
        }

        input:checked + .card .icon {
            top: 30px;
            transform: translateX(-50%);
        }

        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .footer-gallery {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .product-header {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .card {
                width: 150px;
                height: 200px;
            }
            
            input:checked + .card {
                width: 250px;
                height: 300px;
            }
        }
/* Newsletter Styles */
.newsletter {
    padding: 80px 0;
    color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text .eyebrow {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter-text h2 {
    font-family:  var(--font-1);
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--main-color);
}

.newsletter-text p {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary);
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.email-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-1);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-btn {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: black;
    border: none;
    border-radius: 50px;
    font-family: var(--font-1);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #e08515;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(243, 150, 28, 0.3);
}

.newsletter-note {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .newsletter-text h2 {
        font-size: 28px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .subscribe-btn {
        justify-content: center;
    }
}
/* Product Display Area Styles */
.product-display-area {
    width: 100%;
    padding: 40px;
    background: black;
}

.display-content {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.display-default {
    text-align: center;
    width: 100%;
    color: var(--secondary);
}

.display-default h3 {
    font-family: var(--font-1);
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.display-default p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

.display-active {
    display: none;
    width: 100%;
    gap: 40px;
    animation: fadeInUp 0.6s ease;
}
.campaign-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
}

.campaign-title {
    font-family: var(--title-font);
    font-size: 36px;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.campaign-tagline {
    font-family: var(--font-1);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin: 0;
}



/* ===== WISHLIST STYLES ===== */
.heart-icon.active,
.wishlist-like.active {
    color: #e74c3c !important;
    background-image: none !important;
}

.heart-icon.active::before,
.wishlist-like.active::before {
    content: "" !important;
}

.heart-btn,
.wishlist-like {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.heart-btn:hover,
.wishlist-like:hover {
    transform: scale(1.1);
}

/* Wishlist notification */
.wishlist-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    color: black;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    border-left: 4px solid #f39c12;
}

.wishlist-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.wishlist-notification--success {
    border-left-color: #2ecc71;
}

.wishlist-notification--error {
    border-left-color: #e74c3c;
}

.wishlist-notification--warning {
    border-left-color: #f39c12;
}

.wishlist-notification--info {
    border-left-color: #3498db;
}

/* Wishlist empty state */
.wishlist-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* Wishlist card animations */
@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wishlist-card {
    animation: fadeIn 0.3s ease;
}

/* Wishlist price in card */
.wishlist-price {
    color: #f39c12;
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-top: 5px;
}

.wishlist-card-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}


/* Fix: Prevent heart icon from shifting when clicking cart button */
.product-actions ul li {
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.product-actions ul li button {
  pointer-events: auto;
  isolation: isolate;
}

.product-actions ul li button i {
  pointer-events: none;
  display: block;
}

