/**
 * YOSM - Custom CSS
 * Canzoni Personalizzate E-commerce
 */

:root {
    --primary-color: #9f7217;
    --primary-dark: #7a5812;
    --primary-light: #d3ac50;
    --secondary-color: #b8963a;
    --accent-color: #e6c875;
    --dark-color: #1F2937;
    --light-color: #FFFDF8;
    --gradient-primary: linear-gradient(135deg, #9f7217 0%, #d3ac50 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #2d3748 100%);
    --gold-gradient: linear-gradient(135deg, #9f7217 0%, #d3ac50 50%, #9f7217 100%);
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(159, 114, 23, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 20px rgba(159, 114, 23, 0.15);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.4rem 0.85rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%239f7217' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
}

/* Hero Section */
.hero-section {
    background: #ffffff;
    color: var(--dark-color);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(159, 114, 23, 0.15);
}

/* Musical Notes Background Layer */
.hero-section::before {
    content: '♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♭ ♯ ♪ ♫ ♬ ♩ 𝄞 ♪ ♫ ♬ ♩ 𝄞 ♭ ♯';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 5rem;
    color: rgba(159, 114, 23, 0.15);
    word-spacing: 30px;
    line-height: 100px;
    white-space: nowrap;
    text-shadow: 0 0 25px rgba(211, 172, 80, 0.25);
    animation: scrollNotes 45s linear infinite;
    pointer-events: none;
}

/* Staff Lines Background Layer */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 18px,
            rgba(159, 114, 23, 0.06) 18px,
            rgba(159, 114, 23, 0.06) 20px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(159, 114, 23, 0.1) 98px,
            rgba(159, 114, 23, 0.1) 100px
        );
    animation: staffPulse 8s ease-in-out infinite;
    pointer-events: none;
}

/* Floating Musical Notes */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .container::before,
.hero-section .container::after {
    position: absolute;
    font-size: 3.5rem;
    color: rgba(159, 114, 23, 0.2);
    text-shadow: 0 0 15px rgba(211, 172, 80, 0.3);
    animation: floatNotes 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-section .container::before {
    content: '♪ ♫ ♬';
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-section .container::after {
    content: '♩ 𝄞 ♫';
    bottom: 15%;
    right: -3%;
    animation-delay: -7s;
}

@keyframes scrollNotes {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50%) translateY(20px); }
}

@keyframes staffPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes floatNotes {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.2;
    }
    25% { 
        transform: translateY(-30px) rotate(5deg); 
        opacity: 0.35;
    }
    50% { 
        transform: translateY(-15px) rotate(-3deg); 
        opacity: 0.25;
    }
    75% { 
        transform: translateY(-40px) rotate(8deg); 
        opacity: 0.4;
    }
}

.hero-brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--dark-color);
}

.hero-section p {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.hero-section .btn-light {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.hero-section .btn-light:hover {
    background: linear-gradient(135deg, #7a5812 0%, #9f7217 100%);
    color: white;
}

.hero-section .btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.hero-section .btn-outline-light:hover {
    background: var(--primary-color);
    color: white;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(159, 114, 23, 0.2);
}

.hero-image img.hero-logo {
    max-width: 350px;
    border-radius: 50%;
    box-shadow: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.step-card h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-card p {
    color: #6B7280;
}

.step-connector {
    position: absolute;
    top: 60px;
    right: -30%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title p {
    color: #6B7280;
    font-size: 1.1rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border: 3px solid var(--primary-color);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-image {
    height: 200px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.product-body {
    padding: 2rem;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-description {
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #4B5563;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Cart Page */
.cart-section {
    padding: 60px 0;
    min-height: calc(100vh - 300px);
}

.cart-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.cart-table th {
    background: var(--dark-color);
    color: white;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: none;
}

.cart-table td {
    padding: 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #E5E7EB;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-product-image i {
    font-size: 2rem;
    color: white;
}

.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.cart-summary h4 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

.cart-summary .total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.cart-summary .total-row:last-of-type {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Checkout Page */
.checkout-section {
    padding: 30px 0;
}

.checkout-form {
    background: white;
    border-radius: 12px;
    padding: 0.65rem;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.form-control, .form-select {
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.story-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Auth Pages */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    margin: 0 auto;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.auth-card .auth-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.auth-card .auth-icon i {
    font-size: 2rem;
    color: white;
}

/* User Dashboard */
.dashboard-section {
    padding: 60px 0;
}

.dashboard-sidebar {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.dashboard-sidebar .nav-link {
    color: var(--dark-color) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
    margin-bottom: 0.25rem;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--primary-color);
    color: white !important;
}

.dashboard-sidebar .nav-link i {
    width: 25px;
}

.dashboard-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card .stat-icon.bg-primary { background: var(--gradient-primary); }
.stat-card .stat-icon.bg-success { background: linear-gradient(135deg, #10B981, #059669); }
.stat-card .stat-icon.bg-warning { background: linear-gradient(135deg, #F59E0B, #D97706); }
.stat-card .stat-icon.bg-info { background: linear-gradient(135deg, #3B82F6, #2563EB); }

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-card .stat-label {
    color: #6B7280;
    font-size: 0.9rem;
}

/* Order Cards */
.order-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.order-number {
    font-weight: 600;
    color: var(--dark-color);
}

.order-status {
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Status badges */
.badge-pending { background: #FEF3C7; color: #D97706; }
.badge-paid { background: #DBEAFE; color: #2563EB; }
.badge-in_progress { background: #E0E7FF; color: #4F46E5; }
.badge-completed { background: #D1FAE5; color: #059669; }
.badge-delivered { background: #D1FAE5; color: #059669; }
.badge-cancelled { background: #FEE2E2; color: #DC2626; }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: #D1D5DB;
    margin-bottom: 1.5rem;
}

.empty-state h4 {
    color: #6B7280;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #9CA3AF;
}

/* Admin specific */
.admin-header {
    background: var(--gradient-dark);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.admin-table {
    width: 100%;
}

.admin-table th {
    background: var(--light-color);
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.admin-table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #E5E7EB;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 15px;
    padding: 1rem 1.5rem;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
    background: #faf8f5;
}

.feature-item {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(159, 114, 23, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0;
}

/* =====================================================
   DEMO SONGS SECTION
   ===================================================== */
.demo-section {
    background: white;
}

.demo-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-card:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.demo-card:hover .demo-play-btn {
    background: white;
    color: var(--primary-color);
}

.demo-card:hover .demo-info h5,
.demo-card:hover .demo-author {
    color: white;
}

.demo-card:hover .demo-genre {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.demo-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.demo-info {
    flex: 1;
}

.demo-info h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.demo-author {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.demo-genre {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(159, 114, 23, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* =====================================================
   YOUTUBE SECTION
   ===================================================== */
.youtube-section {
    background: #f8f9fa;
}

.youtube-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.youtube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.youtube-thumbnail {
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-play-overlay {
    width: 70px;
    height: 50px;
    background: #ff0000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.youtube-card:hover .youtube-play-overlay {
    transform: scale(1.1);
    background: #cc0000;
}

.youtube-play-overlay i {
    color: white;
    font-size: 1.8rem;
}

.youtube-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.youtube-info {
    padding: 20px;
}

.youtube-info h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.youtube-info p {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0;
}

/* YouTube Card Link */
.youtube-card-link {
    text-decoration: none;
    display: block;
}

.youtube-card-link:hover .youtube-info h5,
.youtube-card-link:hover .youtube-info p {
    color: var(--primary-color);
}

/* Demo Card Playing State */
.demo-card.playing {
    background: var(--primary-color);
}

.demo-card.playing .demo-play-btn {
    background: white;
    color: var(--primary-color);
}

.demo-card.playing .demo-info h5,
.demo-card.playing .demo-author {
    color: white;
}

.demo-card.playing .demo-genre {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 0 30px;
    border-top: 3px solid var(--primary-color);
}

.footer h5, .footer h6 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer .footer-brand {
    display: flex;
    align-items: center;
}

.footer .footer-brand img {
    filter: brightness(1.2);
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer ul li a:hover {
    color: var(--primary-light);
}

.footer .social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(211, 172, 80, 0.3);
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer .text-muted:hover {
    color: var(--primary-light) !important;
}

/* Success Page */
.success-section {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.success-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .dashboard-sidebar {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease;
    border-top: 3px solid var(--primary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h5 {
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.cookie-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    flex: 1;
    min-width: 200px;
}

.cookie-info strong {
    display: block;
    color: var(--primary-light);
    font-size: 0.9rem;
}

.cookie-info small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

/* Cookie Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background: var(--gradient-primary);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-gold {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #7a5812 0%, #9f7217 100%);
    color: white;
}

/* Cookie Settings Button */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(159, 114, 23, 0.4);
    transition: all 0.3s ease;
    z-index: 9998;
    display: none;
}

.cookie-settings-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(159, 114, 23, 0.5);
}

.cookie-settings-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-options {
        flex-direction: column;
    }
    
    .cookie-category {
        min-width: 100%;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: 100px;
    }
}

/* Legal Pages Styles */
.legal-section {
    background: var(--light-color);
    min-height: calc(100vh - 200px);
}

.legal-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.legal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

.legal-content {
    padding: 3rem;
}

.legal-section-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E5E7EB;
}

.legal-section-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section-item h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
}

.legal-section-item h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section-item p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section-item ul,
.legal-section-item ol {
    color: #4a5568;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section-item li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-section-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-section-item a:hover {
    color: var(--primary-dark);
}

.legal-section-item .table {
    margin-top: 1rem;
}

.legal-section-item .table th {
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
}

.legal-section-item .table td {
    color: #4a5568;
}

.info-box {
    background: linear-gradient(135deg, rgba(159, 114, 23, 0.05) 0%, rgba(211, 172, 80, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 1rem 0;
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.legal-footer {
    background: var(--light-color);
    padding: 2rem 3rem;
    text-align: center;
    border-top: 1px solid #E5E7EB;
}

.legal-footer p {
    margin-bottom: 1rem;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-header {
        padding: 2rem 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 1.75rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-footer {
        padding: 1.5rem;
    }
    
    .legal-section-item h2 {
        font-size: 1.25rem;
    }
}

/* =====================================================
   FULLSCREEN MOBILE MENU
   ===================================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Hamburger Icon */
.toggler-icon {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.toggler-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation to X */
.mobile-menu-toggle.active .toggler-icon span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-toggle.active .toggler-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .toggler-icon span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Fullscreen Mobile Menu Overlay */
/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Top (Navigation) */
.mobile-menu-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu Bottom (Footer) */
.mobile-menu-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 15px 20px 25px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-bottom.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Navigation Container - Grid Layout */
.mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 95px 20px 20px;
}

/* Mobile Navigation Links - Grid Items */
.mobile-nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    text-align: center;
}

.mobile-nav-link i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.mobile-menu-top.active .mobile-nav-link {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation for links */
.mobile-menu-top.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-top.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-top.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-top.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--primary-color);
    color: white;
}

.mobile-nav-link:hover i,
.mobile-nav-link:active i {
    color: white;
}

/* Cart Link in Mobile Menu */
.mobile-nav-link .badge {
    font-size: 0.65rem;
    padding: 0.2em 0.5em;
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Mobile Menu Bottom Footer Elements */
.mobile-menu-bottom .mobile-footer-logo {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-menu-bottom .mobile-footer-logo img {
    height: 30px;
    width: auto;
}

.mobile-menu-bottom .mobile-footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-bottom .mobile-footer-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-style: italic;
}

.mobile-menu-bottom .mobile-footer-contact {
    margin-bottom: 10px;
}

.mobile-menu-bottom .mobile-footer-contact a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.mobile-menu-bottom .mobile-footer-contact a:hover {
    color: var(--primary-color);
}

.mobile-menu-bottom .mobile-footer-contact i {
    color: var(--primary-color);
    margin-right: 5px;
}

.mobile-menu-bottom .mobile-footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-menu-bottom .mobile-footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-bottom .mobile-footer-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-bottom .mobile-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--text-light);
}

.mobile-menu-bottom .mobile-footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-bottom .mobile-footer-legal a:hover {
    color: var(--primary-color);
}

.mobile-menu-bottom .mobile-footer-legal span {
    color: var(--primary-color);
}

/* Social Icons in Mobile Menu - Compact */
.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* Legal Links in Mobile Menu - Compact */
.mobile-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px 10px;
}

.mobile-legal-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.mobile-legal-link:hover {
    color: var(--primary-color);
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Close button area at top */
.mobile-menu-close-area {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close-area:hover {
    background: var(--primary-color);
}

.mobile-menu-close-area i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-close-area:hover i {
    color: white;
    transform: rotate(90deg);
}

/* Mobile Nav Divider */
.mobile-nav-divider {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 10px auto;
    border-radius: 2px;
}

/* Mobile Nav Logout */
.mobile-nav-logout {
    color: #dc3545 !important;
}

.mobile-nav-logout:hover {
    color: #a71d2a !important;
}

/* Mobile Nav CTA (Register) */
.mobile-nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 15px 40px !important;
    border-radius: 50px;
    margin-top: 10px;
}

.mobile-nav-cta:hover {
    transform: scale(1.05);
}

/* Mobile Footer Social - Compact */
.mobile-footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-footer-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile Footer Legal - Compact */
.mobile-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--text-light);
}

.mobile-footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-footer-legal a:hover {
    color: var(--primary-color);
}

.mobile-footer-legal span {
    color: var(--primary-color);
}
