/* ===== RESET & BASE STYLES ===== */
:root {
    /* Color Palette - Synthwave Theme */
    --primary: #6c5ce7;
    --primary-dark: #5a4fcf;
    --secondary: #fd79a8;
    --accent: #00cec9;
    --dark: #2d3436;
    --darker: #1a1e2c;
    --light: #f9f9f9;
    --gray: #636e72;
    --light-gray: #dfe6e9;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), #a29bfe);
    --gradient-dark: linear-gradient(135deg, var(--darker), #2d3436);
    --gradient-accent: linear-gradient(135deg, var(--accent), #81ecec);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-neon: 0 0 15px rgba(108, 92, 231, 0.5);
    
    /* Typography */
    --font-heading: 'Orbitron', 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-text: 'Roboto', sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--darker);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

p {
    font-family: var(--font-text);
    color: var(--gray);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: var(--gradient-dark);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo i {
    font-size: 2.5rem;
    color: var(--accent);
}

.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
}

.logo-text h1 span {
    color: var(--secondary);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-top: -0.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.user-btn, .wishlist-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
}

.user-btn:hover, .wishlist-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    font-size: 1.5rem;
    color: white;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-total {
    color: white;
    font-weight: 500;
}

.cart-total span {
    color: var(--accent);
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background: var(--darker);
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 0.5rem;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-dark);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-text h2 span {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-neon);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.vinyl-disc {
    width: 300px;
    height: 300px;
    position: relative;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vinyl-record {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a 0%, #333 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.vinyl-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 4px,
        rgba(255, 255, 255, 0.1) 4px,
        rgba(255, 255, 255, 0.1) 8px
    );
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--darker);
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat i {
    font-size: 2rem;
    color: var(--primary);
}

.stat h4 {
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.stat p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== LAYOUT ===== */
.layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h2 i {
    color: var(--primary);
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: center;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.6rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    flex: 1;
    min-width: 250px;
    transition: var(--transition-fast);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.search-box i {
    color: var(--gray);
    margin-right: 0.5rem;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-text);
    font-size: 1rem;
    padding: 0.3rem 0;
}

.search-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-left: 0.5rem;
}

.search-btn:hover {
    transform: translateY(-2px);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.view-btn {
    background: white;
    border: 2px solid var(--light-gray);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.view-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.view-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.products-container {
    position: relative;
    min-height: 500px;
}

.products-grid, .products-list {
    transition: var(--transition-normal);
}

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

.products-list {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.products-grid.active, .products-list.active {
    display: grid;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    height: 200px;
    background: linear-gradient(45deg, var(--light-gray), white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-artist {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.product-description {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--warning);
}

.product-stock {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.product-stock.in-stock {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.product-stock.low-stock {
    background: rgba(253, 203, 110, 0.1);
    color: var(--warning);
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-add-cart, .btn-wishlist, .btn-view {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-weight: 500;
}

.btn-add-cart {
    background: var(--gradient-primary);
    color: white;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-wishlist {
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--gray);
}

.btn-wishlist:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-view {
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--gray);
}

.btn-view:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== LIST VIEW ===== */
.product-list-item {
    display: flex;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.product-list-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.list-image {
    width: 150px;
    background: linear-gradient(45deg, var(--light-gray), white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.list-details {
    display: flex;
    gap: 2rem;
    margin-top: auto;
}

.list-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.page-btn {
    background: white;
    border: 2px solid var(--light-gray);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.page-number:hover {
    background: var(--light-gray);
}

.page-number.active {
    background: var(--primary);
    color: white;
}

/* ===== CART SECTION ===== */
.cart-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sticky {
    position: sticky;
    top: 100px;
}

.cart-card, .featured-card, .recently-viewed-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.cart-header {
    background: var(--gradient-dark);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-actions-top {
    display: flex;
    gap: 0.5rem;
}

.save-cart, .clear-cart {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.save-cart:hover {
    background: rgba(0, 206, 201, 0.2);
    color: var(--accent);
}

.clear-cart:hover {
    background: rgba(225, 112, 85, 0.2);
    color: var(--danger);
}

.cart-items {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.empty-cart i {
    font-size: 3rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.empty-cart p {
    margin-bottom: 0.5rem;
}

.empty-cart .small {
    font-size: 0.9rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

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

.cart-item-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.cart-item-artist {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--light-gray);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--light-gray);
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 0.2rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0.3rem;
    margin-left: 0.5rem;
}

.remove-item:hover {
    color: #c0392b;
}

.coupon-section {
    padding: 0 1.5rem 1.5rem;
}

.coupon-input {
    display: flex;
    gap: 0.5rem;
}

.coupon-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-text);
}

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

.apply-coupon {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.apply-coupon:hover {
    background: var(--primary-dark);
}

.coupon-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.coupon-message.success {
    color: var(--success);
}

.coupon-message.error {
    color: var(--danger);
}

.cart-summary {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid var(--light-gray);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.discount-row {
    color: var(--success);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.checkout-btn, .continue-btn {
    padding: 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.checkout-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-neon);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.3);
}

.continue-btn {
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--dark);
}

.continue-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray);
    font-size: 1.8rem;
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.security-info i {
    color: var(--success);
}

/* ===== FEATURED & RECENT CARDS ===== */
.featured-card, .recently-viewed-card {
    padding: 1.5rem;
}

.featured-card h4, .recently-viewed-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.featured-card h4 i {
    color: var(--warning);
}

.recently-viewed-card h4 i {
    color: var(--accent);
}

.featured-list, .recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-item, .recent-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
}

.featured-item:hover, .recent-item:hover {
    background: var(--light-gray);
}

.featured-item img, .recent-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.featured-item > div, .recent-item > div {
    flex: 1;
}

.featured-title, .recent-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.featured-artist, .recent-artist {
    color: var(--gray);
    font-size: 0.9rem;
}

.featured-price {
    font-weight: 600;
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--darker);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

.footer-logo i {
    font-size: 2rem;
    color: var(--accent);
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
}

.footer-logo h3 span {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--font-text);
}

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

.subscribe-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.subscribe-btn:hover {
    background: var(--primary-dark);
}

.newsletter-note {
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.credits {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.credits i {
    color: var(--secondary);
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

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

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.modal-header h3 {
    margin: 0;
    color: var(--dark);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.close-modal:hover {
    background: var(--light-gray);
    color: var(--dark);
}

.modal-body {
    padding: 1.5rem;
}

.product-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .product-modal-content {
        flex-direction: row;
    }
}

.modal-image {
    flex: 1;
    background: linear-gradient(45deg, var(--light-gray), white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.modal-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.modal-details {
    flex: 1;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.modal-description {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-features {
    margin-bottom: 1.5rem;
}

.modal-features ul {
    list-style: none;
}

.modal-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-features i {
    color: var(--success);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-actions .btn-add-cart,
.modal-actions .btn-wishlist {
    padding: 0.8rem 1.5rem;
}

.checkout-success {
    text-align: center;
    padding: 2rem 1rem;
}

.checkout-success i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.checkout-success h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.checkout-success p {
    margin-bottom: 0.8rem;
    color: var(--gray);
}

.order-id {
    background: var(--light-gray);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    margin: 1.5rem 0;
}

.continue-shopping {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition-normal);
}

.continue-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    transform: translateX(150%);
    transition: transform 0.4s ease;
    max-width: 400px;
    border-left: 4px solid var(--success);
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

#notificationIcon {
    font-size: 1.5rem;
    color: var(--success);
}

.notification-text {
    display: flex;
    flex-direction: column;
}

#notificationTitle {
    font-weight: 600;
    color: var(--dark);
}

#notificationText {
    color: var(--gray);
    font-size: 0.9rem;
}

.close-notification {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.close-notification:hover {
    background: var(--light-gray);
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 30, 44, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    display: none;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.vinyl-spinner {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    animation: rotate 1s linear infinite;
}

.spinner-inner {
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    border-radius: 50%;
    position: relative;
}

.spinner-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--darker);
    border-radius: 50%;
}

.loading-spinner p {
    color: white;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .layout {
        grid-template-columns: 1fr;
    }
    
    .sticky {
        position: static;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .product-list-item {
        flex-direction: column;
    }
    
    .list-image {
        width: 100%;
        height: 200px;
    }
    
    .list-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header-right {
        gap: 1rem;
    }
    
    .cart-info {
        padding: 0.3rem 0.8rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-section {
        padding: 1.5rem;
    }
    
    .filter-group select {
        min-width: 120px;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .modal-content {
        margin: 1rem;
    }
    
    .notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
/* ===== ENHANCED NAVIGATION STYLES ===== */
.nav-link {
    position: relative;
    overflow: hidden;
}

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

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

.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent);
}

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

/* ===== ENHANCED CART STYLES ===== */
.cart-items-container {
    display: flex;
    flex-direction: column;
    max-height: 450px; /* Increased from 400px */
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
}

.cart-manage-buttons {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--light-gray);
}

.save-cart, .clear-cart {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.save-cart {
    background: linear-gradient(135deg, var(--accent) 0%, #81ecec 100%);
    color: white;
}

.save-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.3);
}

.clear-cart {
    background: rgba(225, 112, 85, 0.1);
    color: var(--danger);
    border: 2px solid rgba(225, 112, 85, 0.2);
}

.clear-cart:hover {
    background: rgba(225, 112, 85, 0.2);
    transform: translateY(-2px);
}

/* ===== IMPROVED CART SCROLLING ===== */
.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 1200px) {
    .cart-items-container {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .cart-manage-buttons {
        flex-direction: column;
    }
    
    .save-cart, .clear-cart {
        width: 100%;
    }
    
    .cart-items {
        max-height: 350px;
    }
}

/* ===== HEADER STICKY FIX ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(26, 30, 44, 0.95);
}

/* ===== SCROLL PADDING FOR ANCHOR LINKS ===== */
html {
    scroll-padding-top: 80px;
}

/* ===== IMPROVED MOBILE MENU ===== */
.mobile-nav.active {
    display: block;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav a {
    padding: 12px 20px;
    font-size: 1.1rem;
}

/* ===== ENHANCED BUTTON STATES ===== */
.user-btn:hover, .wishlist-btn:hover, .cart-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== IMPROVED CART VISIBILITY ===== */
.cart-section {
    position: relative;
    z-index: 10;
}

.cart-card {
    background: white;
    border: 1px solid rgba(108, 92, 231, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== ACTIVE NAV INDICATOR ===== */
.nav-link:active {
    transform: translateY(1px);
}

/* ===== SMOOTH TRANSITIONS ===== */
.header, .cart-card, .product-card {
    transition: all 0.3s ease;
}

/* ===== IMPROVED EMPTY STATES ===== */
.empty-cart {
    padding: 40px 20px;
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-cart p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.empty-cart .small {
    font-size: 0.9rem;
    opacity: 0.7;
}}