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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Bootstrap Overrides */
.container {
    max-width: 1200px;
}

/* Navigation */
.navbar {
    background: #0a0a0a !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1rem 0;
}

.navbar-brand {
    color: #8b5cf6 !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: #e5e7eb !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b5cf6 !important;
}

.nav-link i {
    margin-right: 0.25rem;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Checkout Progress Steps - Fixed Mobile Display */
.checkout-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    gap: 1rem;
}

.checkout-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(139, 92, 246, 0.2);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #1a1a1a;
    padding: 0 0.5rem;
    min-width: 80px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-label {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.progress-step.active .step-number {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.progress-step.active .step-label {
    color: #8b5cf6;
    font-weight: 600;
}

.progress-step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.progress-step.completed .step-label {
    color: #10b981;
    font-weight: 600;
}

/* Button Text Fixes - Prevent Overlapping */
.btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.2;
}

.btn i {
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    min-width: auto;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    color: white;
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    color: #8b5cf6;
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
}

.btn-outline-danger:hover {
    background: #ef4444;
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.btn-outline-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
    color: #8b5cf6;
}

/* Step Actions - Fixed Button Layout */
.address-actions,
.payment-actions,
.summary-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    flex-wrap: wrap;
}

/* Address Actions - Fixed Button Layout */
.address-actions .btn {
    min-width: 140px;
}

.select-address-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: 100px;
}

.delete-address-btn {
    padding: 0.5rem;
    font-size: 0.9rem;
    min-width: 40px;
    width: 40px;
}

/* Responsive Design for Checkout - Fixed Mobile Issues */
@media (max-width: 991.98px) {
    .checkout-progress {
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .checkout-progress::before {
        display: none;
    }
    
    .progress-step {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.25rem;
        min-width: 70px;
        flex-shrink: 0;
    }
    
    .step-number {
        margin-bottom: 0.25rem;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .address-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-actions {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .address-actions,
    .payment-actions,
    .summary-actions {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .address-actions .btn,
    .payment-actions .btn,
    .summary-actions .btn {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .checkout-progress {
        margin-bottom: 1.5rem;
        gap: 0.25rem;
    }
    
    .progress-step {
        min-width: 60px;
        padding: 0 0.125rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.75rem;
        max-width: 60px;
    }
    
    .address-item {
        padding: 1rem;
    }
    
    .new-address-form {
        padding: 1rem;
    }
    
    .address-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .select-address-btn,
    .delete-address-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        width: 100%;
        min-width: 0;
    }
    
    .delete-address-btn {
        width: 100%;
        min-width: 0;
    }
    
    .address-actions .btn,
    .payment-actions .btn,
    .summary-actions .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-nav {
        margin-top: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
        font-size: 0.9rem;
    }
    
    .checkout-progress {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.125rem;
    }
    
    .progress-step {
        min-width: 50px;
        padding: 0;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .step-label {
        font-size: 0.7rem;
        max-width: 50px;
        line-height: 1.1;
    }
    
    .address-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .address-actions {
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .address-actions,
    .payment-actions,
    .summary-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .btn-sm {
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .select-address-btn,
    .delete-address-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    
    .delete-address-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Extra Small Mobile Fixes */
@media (max-width: 480px) {
    .checkout-progress {
        gap: 0.1rem;
    }
    
    .progress-step {
        min-width: 45px;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .step-label {
        font-size: 0.65rem;
        max-width: 45px;
    }
    
    .btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Enhanced Button Text Handling */
.btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.btn-icon {
    flex-shrink: 0;
    margin-right: 0.25rem;
}

/* Fix for Button Groups */
.btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group .btn {
    flex: 1;
    min-width: 0;
}

/* Enhanced Form Button Layout */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.form-actions .btn {
    min-width: 120px;
}

/* Enhanced Address Item Button Layout */
.address-item .address-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.address-item .select-address-btn {
    flex: 1;
    min-width: 0;
}

.address-item .delete-address-btn {
    flex-shrink: 0;
    width: 40px;
    min-width: 40px;
}

/* Enhanced Loading States */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Focus States */
.btn:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Enhanced Disabled States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Enhanced Hover States */
.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

/* Enhanced Active States */
.btn:active:not(:disabled) {
    transform: translateY(0);
}

/* Enhanced Transition States */
.btn {
    transition: all 0.3s ease;
}

/* Enhanced Accessibility */
.btn[aria-label] {
    position: relative;
}

.btn[aria-label]:focus::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #e5e7eb;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 0.5rem;
}

/* Enhanced Print Styles */
@media print {
    .btn {
        border: 1px solid #ccc !important;
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .btn:hover,
    .btn:focus {
        transform: none !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%238b5cf6" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.gradient-text {
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #9ca3af;
    line-height: 1.7;
    font-weight: 400;
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent !important;
    color: #8b5cf6 !important;
    border: 2px solid #8b5cf6 !important;
}

.btn-secondary:hover {
    background: #8b5cf6 !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #8b5cf6;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
    display: block;
    line-height: 1.2;
}

/* Hero Product Showcase */
.hero-product-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2);
}

.main-product {
    transform: scale(1.05);
}

.secondary-product {
    transform: scale(0.95);
    align-self: flex-end;
}

.product-card .product-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.product-card .product-info p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #8b5cf6;
}

/* Features Section */
.features {
    background: #0f0f0f;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Section Styles */
.section-header {
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Products Section */
.products {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.product-item {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 92, 246, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info {
    padding: 2rem;
}

.product-category {
    color: #8b5cf6;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.product-info p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-tag {
    background: linear-gradient(135deg, #262626, #404040);
    color: #e5e7eb;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
}

.original-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 400;
    white-space: nowrap;
}

.price {
    color: #8b5cf6;
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.add-to-cart {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* About Section */
.about {
    background: #0f0f0f;
}

.about-text p {
    font-size: 1.1rem;
    color: #9ca3af;
    line-height: 1.7;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.2rem;
    color: #8b5cf6;
    margin-top: 0.2rem;
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.feature p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-stats {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    gap: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #8b5cf6;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.testimonial-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-card p {
    color: #9ca3af;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Contact Section */
.contact {
    background: #0f0f0f;
}

.contact-info p {
    color: #9ca3af;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.contact-item p {
    color: #9ca3af;
    margin: 0;
}

.contact-form {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.form-control {
    background: #262626 !important;
    border: 1px solid #404040 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    outline: none !important;
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
    background: #262626 !important;
}

.form-control::placeholder {
    color: #6b7280 !important;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-logo h3 {
    color: #8b5cf6;
    font-weight: 800;
}

.footer-logo p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section h4 {
    color: #f9fafb;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8b5cf6;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

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

.newsletter-input .form-control {
    background: #1a1a1a !important;
    border: 1px solid #404040 !important;
    color: white !important;
}

.newsletter-input .form-control:focus {
    border-color: #8b5cf6 !important;
}

.newsletter-input .btn {
    padding: 0.8rem;
    border-radius: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #262626;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-stats {
        position: static;
        margin-top: 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-product,
    .secondary-product {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
        padding: 0.5rem 0.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .newsletter-input {
        flex-direction: column;
    }
    
    .product-price {
        flex-direction: column;
        align-items: stretch;
    }
    
    .add-to-cart {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        position: static;
        margin-top: 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Mobile navigation improvements */
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(139, 92, 246, 0.2);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem !important;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .btn {
        margin-top: 1rem;
        width: 100%;
    }
    
    /* Footer mobile improvements */
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .newsletter-input {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Extra small screen hero stats */
    .hero-stats {
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.25rem 0.1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        line-height: 1;
    }
    
    /* Extra small screen navigation */
    .navbar-brand h2 {
        font-size: 1.5rem;
    }
    
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem !important;
        font-size: 0.9rem;
    }
    
    /* Extra small screen footer */
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
    
    .filters-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .filter-select {
        flex: 1;
        min-width: auto;
    }
    
    .product-modal-content {
        padding: 1rem;
    }
    
    .product-modal-info h2 {
        font-size: 1.3rem;
    }
    
    .notification {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 6px;
    }
    
    .notification-content {
        gap: 0.375rem;
    }
    
    .notification-content i {
        font-size: 1rem;
    }
    
    .notification-content span {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.product-item,
.feature-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Active Navigation */
.navbar-nav .nav-link.active {
    color: #8b5cf6 !important;
}

.navbar-nav .nav-link.active::after {
    width: 80% !important;
}

/* Products Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 80px 0 40px;
}

.breadcrumb-nav {
    color: #9ca3af;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #a855f7;
}

/* Filters Section */
.filters-section {
    background: rgba(139, 92, 246, 0.05);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.filters-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    color: #e5e7eb;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-select {
    background: rgba(139, 92, 246, 0.1) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    color: #e5e7eb !important;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: 120px;
}

.filter-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
    border-color: #8b5cf6 !important;
}

.filter-select option {
    background: #1a1a1a;
    color: #e5e7eb;
}

/* Search Box */
.search-wrapper {
    display: flex;
    justify-content: flex-end;
}

.search-box {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-box .form-control {
    background: rgba(139, 92, 246, 0.1) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    color: #e5e7eb !important;
    border-radius: 25px;
    padding: 0.75rem 3rem 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.search-box .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
    border-color: #8b5cf6 !important;
}

.search-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8b5cf6;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #a855f7;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #1a1a1a;
    border-left: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: #e5e7eb;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.cart-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

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

.cart-item {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h4 {
    color: #e5e7eb;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.cart-item-info p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

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

.quantity-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.quantity-btn:hover {
    background: #8b5cf6;
    color: white;
}

.quantity {
    color: #e5e7eb;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #ef4444;
    color: white;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e5e7eb;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Cart Toggle Button */
.cart-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 1030;
}

.cart-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.cart-toggle i {
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.product-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #1a1a1a;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.product-modal-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-modal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-modal-info h2 {
    color: #e5e7eb;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    color: #9ca3af;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #1a1a1a;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    z-index: 1070;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.notification-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(16, 185, 129, 0.05) 100%);
}

.notification-success i {
    color: #10b981;
}

.notification-warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(245, 158, 11, 0.05) 100%);
}

.notification-warning i {
    color: #f59e0b;
}

.notification-info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(59, 130, 246, 0.05) 100%);
}

.notification-info i {
    color: #3b82f6;
}

.notification-content span {
    color: #e5e7eb;
    font-weight: 500;
    line-height: 1.4;
}

/* Body cart open state */
body.cart-open {
    overflow: hidden;
}

/* Responsive Design for Products Page */
@media (max-width: 991.98px) {
    .filters-wrapper {
        justify-content: center;
    }
    
    .search-wrapper {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .product-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .product-modal-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .filter-select {
        min-width: 150px;
    }
    
    .cart-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
    
    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        transform: translateY(-100%);
        border-radius: 8px;
        padding: 0.875rem 1.25rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .notification-content {
        gap: 0.5rem;
    }
    
    .notification-content i {
        font-size: 1.1rem;
    }
    
    .notification-content span {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .filters-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .filter-select {
        flex: 1;
        min-width: auto;
    }
    
    .product-modal-content {
        padding: 1rem;
    }
    
    .product-modal-info h2 {
        font-size: 1.3rem;
    }
    
    .notification {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 6px;
    }
    
    .notification-content {
        gap: 0.375rem;
    }
    
    .notification-content i {
        font-size: 1rem;
    }
    
    .notification-content span {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* Desktop-specific product price improvements */
@media (min-width: 768px) {
    .product-price {
        gap: 1.5rem;
    }
    
    .price-container {
        min-width: 120px;
    }
    
    .add-to-cart {
        min-width: 140px;
    }
}

@media (min-width: 1200px) {
    .product-price {
        gap: 2rem;
    }
    
    .price-container {
        min-width: 140px;
    }
    
    .add-to-cart {
        min-width: 150px;
    }
}

/* Cart Page Styles */

.cart-page {
    background: #0a0a0a;
}

.cart-items-container {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.cart-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 1rem;
}

.cart-section-title {
    color: #e5e7eb;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.cart-item-count {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-cart-icon {
    font-size: 4rem;
    color: #8b5cf6;
    margin-bottom: 1.5rem;
}

.empty-cart h3 {
    color: #e5e7eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item-large {
    display: flex;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    gap: 1.5rem;
    align-items: center;
}

.cart-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cart-item-info h4 {
    color: #e5e7eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.cart-item-price {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
}

.quantity-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.quantity-btn:hover {
    background: #8b5cf6;
    color: white;
}

.quantity-display {
    color: #e5e7eb;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    font-size: 1rem;
}

.cart-item-total {
    text-align: right;
}

.total-price {
    color: #8b5cf6;
    font-size: 1.2rem;
    font-weight: 700;
}

.remove-item-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background: #ef4444;
    color: white;
}

/* Cart Summary */
.cart-summary {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: sticky;
    top: 100px;
}

.cart-summary-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.cart-summary-header h3 {
    color: #e5e7eb;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.cart-summary-content {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #e5e7eb;
    font-size: 1rem;
}

.summary-row.total-row {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-top: 1rem;
}

.summary-divider {
    height: 1px;
    background: rgba(139, 92, 246, 0.2);
    margin: 1rem 0;
}

.cart-summary-actions {
    margin-bottom: 1.5rem;
}

/* Coupon Section */
.coupon-section {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
}

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

.coupon-input .form-control {
    background: rgba(139, 92, 246, 0.1) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    color: #e5e7eb !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.coupon-input .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
    border-color: #8b5cf6 !important;
}

.coupon-input .btn {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.coupon-input .btn:hover {
    background: #8b5cf6;
    color: white;
}

/* Checkout Page Styles */

.checkout-page {
    background: #0a0a0a;
    min-height: 100vh;
}

.checkout-form {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    height: fit-content;
}

/* Main Container Layout */
.checkout-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.checkout-main {
    flex: 1;
    min-width: 0;
}

.checkout-sidebar {
    width: 400px;
    flex-shrink: 0;
}

/* Order Summary Sidebar */
.order-summary {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.summary-header h3 {
    color: #e5e7eb;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.summary-content {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #e5e7eb;
    font-size: 1rem;
}

.summary-row.total-row {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-top: 1rem;
}

.summary-divider {
    height: 1px;
    background: rgba(139, 92, 246, 0.2);
    margin: 1rem 0;
}

.summary-actions {
    margin-bottom: 1.5rem;
}

.summary-actions .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.summary-actions .btn:last-child {
    margin-bottom: 0;
}

/* Security Info */
.security-info {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.security-item i {
    color: #8b5cf6;
    width: 16px;
    flex-shrink: 0;
}

/* Form Layout Improvements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    color: #e5e7eb;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    background: rgba(139, 92, 246, 0.1) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    color: #e5e7eb !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
    border-color: #8b5cf6 !important;
    outline: none;
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.payment-info {
    flex: 1;
    min-width: 0;
}

.payment-info h5 {
    color: #e5e7eb;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.payment-info p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

/* Order Items */
.order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 8px;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    color: #e5e7eb;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.order-item-info {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.order-item-price {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Address Display */
.address-display {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.address-display-content h6 {
    color: #e5e7eb;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.address-display-content p {
    color: #9ca3af;
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

/* Payment Display */
.payment-display {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.payment-display-content h6 {
    color: #e5e7eb;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.payment-display-content p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design - Large Screens */
@media (max-width: 1199.98px) {
    .checkout-sidebar {
        width: 350px;
    }
}

/* Responsive Design - Medium Screens */
@media (max-width: 991.98px) {
    .checkout-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .checkout-sidebar {
        width: 100%;
        order: -1;
    }
    
    .order-summary {
        position: static;
        margin-bottom: 1.5rem;
    }
    
    .checkout-form {
        padding: 1.5rem;
    }
    
    .cart-item-large {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cart-item-details {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }
    
    .checkout-progress {
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .checkout-progress::before {
        display: none;
    }
    
    .progress-step {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.25rem;
        min-width: 70px;
        flex-shrink: 0;
    }
    
    .step-number {
        margin-bottom: 0.25rem;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .address-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-actions {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .address-actions,
    .payment-actions,
    .summary-actions {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .address-actions .btn,
    .payment-actions .btn,
    .summary-actions .btn {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Responsive Design - Small Screens */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .checkout-form {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .order-summary {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .checkout-progress {
        margin-bottom: 1.5rem;
        gap: 0.25rem;
    }
    
    .progress-step {
        min-width: 60px;
        padding: 0 0.125rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.75rem;
        max-width: 60px;
    }
    
    .address-item {
        padding: 1rem;
    }
    
    .new-address-form {
        padding: 1rem;
    }
    
    .address-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .select-address-btn,
    .delete-address-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        width: 100%;
        min-width: 0;
    }
    
    .delete-address-btn {
        width: 100%;
        min-width: 0;
    }
    
    .address-actions .btn,
    .payment-actions .btn,
    .summary-actions .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .payment-label {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .order-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .order-item-details {
        text-align: center;
    }
    
    .cart-items-container,
    .cart-summary {
        padding: 1.5rem;
    }
    
    .cart-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .quantity-controls {
        padding: 0.25rem;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
    }
}

/* Responsive Design - Extra Small Screens */
@media (max-width: 575.98px) {
    .navbar-nav {
        margin-top: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
        font-size: 0.9rem;
    }
    
    .checkout-form {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .order-summary {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .checkout-progress {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.125rem;
    }
    
    .progress-step {
        min-width: 50px;
        padding: 0;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .step-label {
        font-size: 0.7rem;
        max-width: 50px;
        line-height: 1.1;
    }
    
    .address-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .address-actions {
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .address-actions,
    .payment-actions,
    .summary-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .btn-sm {
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .select-address-btn,
    .delete-address-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    
    .delete-address-btn {
        width: 100%;
        min-width: 0;
    }
    
    .cart-items-container,
    .checkout-form,
    .cart-summary,
    .order-summary {
        padding: 1rem;
    }
    
    .cart-item-large {
        padding: 1rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .quantity-controls {
        align-self: flex-start;
    }
    
    .coupon-input {
        flex-direction: column;
    }
    
    .payment-label {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .order-item {
        flex-direction: column;
        text-align: center;
    }
    
    .order-item-details {
        text-align: center;
    }
    
    .summary-row {
        font-size: 0.9rem;
    }
    
    .summary-row.total-row {
        font-size: 1.1rem;
    }
    
    .security-item {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile Fixes */
@media (max-width: 480px) {
    .checkout-progress {
        gap: 0.1rem;
    }
    
    .progress-step {
        min-width: 45px;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .step-label {
        font-size: 0.65rem;
        max-width: 45px;
    }
    
    .btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .checkout-form,
    .order-summary {
        padding: 0.75rem;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
    
    .summary-header h3 {
        font-size: 1.3rem;
    }
    
    .payment-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .order-item-image {
        width: 50px;
        height: 50px;
    }
}

/* Enhanced Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Enhanced Form Responsiveness */
@media (max-width: 767.98px) {
    .row {
        margin: 0 -0.5rem;
    }
    
    .col-md-6,
    .col-md-4 {
        padding: 0 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Button Responsiveness */
@media (max-width: 575.98px) {
    .d-flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .d-flex.gap-2 .btn {
        width: 100%;
    }
    
    .me-2 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    .checkout-step.active,
    .btn,
    .payment-label,
    .address-item {
        transition: none;
    }
}

/* Enhanced Print Styles */
@media print {
    .checkout-progress,
    .address-actions,
    .payment-actions,
    .summary-actions {
        display: none !important;
    }
    
    .checkout-step {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .address-item,
    .payment-option,
    .order-item {
        border: 1px solid #ccc !important;
        background: white !important;
        color: black !important;
    }
    
    .checkout-form,
    .order-summary {
        border: 1px solid #ccc !important;
        background: white !important;
        color: black !important;
    }
}

/* Checkout Step Styles */
.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* Section Header */
.section-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    color: #e5e7eb;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.section-header h3 i {
    color: #8b5cf6;
}

/* Address Management */
.address-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-item {
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.address-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.08);
}

.address-item.active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.address-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.address-details h6 {
    color: #e5e7eb;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.address-details p {
    color: #9ca3af;
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.select-address-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.delete-address-btn {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.no-addresses {
    text-align: center;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px dashed rgba(139, 92, 246, 0.3);
    border-radius: 12px;
}

/* New Address Form */
.new-address-form {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

/* Form Check Styles */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.form-check-label {
    color: #e5e7eb;
    font-weight: 500;
    cursor: pointer;
}

/* Row and Column Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.75rem;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 0.75rem;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0.75rem;
}

/* Enhanced Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.btn-outline-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
}

/* Enhanced Button Styles for Steps */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
}

.btn-outline-danger:hover {
    background: #ef4444;
    color: white;
}

/* Step Actions */
.address-actions,
.payment-actions,
.summary-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25) !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #ef4444;
}

.form-control.is-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25) !important;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #10b981;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

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

.checkout-step.active {
    animation: slideInRight 0.3s ease-out;
}

.checkout-step.active[data-direction="left"] {
    animation: slideInLeft 0.3s ease-out;
}

/* Enhanced Focus States for Address Items */
.address-item:focus-within {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

/* Enhanced Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Validation Styles */
.form-control.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25) !important;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #ef4444;
}

/* Enhanced Success States */
.form-control.is-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25) !important;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #10b981;
}

/* Enhanced Accessibility */
.address-item[tabindex]:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

.progress-step[tabindex]:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Product Detail Page Styles */
.product-detail .main-image-container {
    position: relative;
    width: 100%;
    background: #18181b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.08);
}
.product-detail .main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    background: #222;
}
.product-detail .image-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
.product-detail .zoom-btn {
    background: rgba(139, 92, 246, 0.9);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
    transition: background 0.2s;
}
.product-detail .zoom-btn:hover {
    background: #8b5cf6;
}
.product-detail .thumbnail-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    position: relative;
}
.product-detail .thumbnail-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}
.product-detail .thumbnail-wrapper::-webkit-scrollbar {
    display: none;
}
.product-detail .thumbnail {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border 0.2s;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: #222;
}
.product-detail .thumbnail.active,
.product-detail .thumbnail:hover {
    border: 2px solid #8b5cf6;
}
.product-detail .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.product-detail .thumbnail-nav {
    background: #18181b;
    border: none;
    color: #8b5cf6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: background 0.2s;
}
.product-detail .thumbnail-nav.prev {
    left: -40px;
}
.product-detail .thumbnail-nav.next {
    right: -40px;
}
.product-detail .thumbnail-nav:hover {
    background: #8b5cf6;
    color: #fff;
}
.product-info .product-category {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.product-info .product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.product-info .product-rating .stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}
.product-info .product-rating .rating-text {
    color: #9ca3af;
    font-size: 1rem;
}
.product-info .product-price-section .price-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.product-info .current-price {
    color: #8b5cf6;
    font-size: 2rem;
    font-weight: 700;
}
.product-info .original-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.1rem;
}
.product-info .discount-badge {
    background: #10b981;
    color: #fff;
    border-radius: 6px;
    padding: 0.2rem 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 0.5rem;
}
.product-info .product-description {
    color: #e5e7eb;
    font-size: 1.1rem;
}
.product-info .features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.5rem;
    margin-top: 0.5rem;
}
.product-info .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 500;
    font-size: 1rem;
}
.product-info .feature-item i {
    color: #10b981;
}
.product-info .option-group {
    margin-bottom: 1rem;
}
.product-info .option-label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
    display: block;
}
.product-info .option-buttons {
    display: flex;
    gap: 0.5rem;
}
.product-info .option-btn {
    background: #18181b;
    color: #fff;
    border: 1.5px solid #8b5cf6;
    border-radius: 6px;
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.product-info .option-btn.active,
.product-info .option-btn:hover {
    background: #8b5cf6;
    color: #fff;
}
.product-info .quantity-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.product-info .quantity-label {
    font-weight: 600;
    color: #fff;
}
.product-info .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-info .quantity-btn {
    background: #18181b;
    border: none;
    color: #8b5cf6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s;
}
.product-info .quantity-btn:hover {
    background: #8b5cf6;
    color: #fff;
}
.product-info .quantity-input {
    width: 48px;
    text-align: center;
    border: 1px solid #8b5cf6;
    border-radius: 6px;
    background: #18181b;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
}
.product-info .action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.product-info .wishlist-btn.active {
    color: #ef4444;
    border-color: #ef4444;
}
.product-info .product-meta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.product-info .meta-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #9ca3af;
    font-size: 1rem;
}
.product-info .meta-item i {
    color: #8b5cf6;
    font-size: 1.2rem;
}

/* Product Tabs */
.product-tabs .tabs-container {
    background: #18181b;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.08);
}
.product-tabs .nav-tabs {
    border-bottom: 2px solid #8b5cf6;
    margin-bottom: 1.5rem;
}
.product-tabs .nav-link {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    background: transparent;
    margin-right: 1rem;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s, color 0.2s;
}
.product-tabs .nav-link.active {
    background: #8b5cf6;
    color: #fff;
}
.product-tabs .tab-content-wrapper {
    color: #e5e7eb;
    font-size: 1.1rem;
}
.product-tabs .nutrition-table th,
.product-tabs .nutrition-table td {
    color: #fff;
    background: #222;
}
.product-tabs .nutrition-table th {
    background: #8b5cf6;
    color: #fff;
}
.product-tabs .nutrition-table tr {
    border-bottom: 1px solid #333;
}
.product-tabs .reviews-container .review-item {
    background: #222;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}
.product-tabs .reviews-container .review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.product-tabs .reviews-container .review-rating .stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}
.product-tabs .reviews-container .review-date {
    color: #9ca3af;
    font-size: 0.95rem;
}
.product-tabs .reviews-container .reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8b5cf6;
}
.product-tabs .reviews-container .review-comment {
    color: #e5e7eb;
    font-size: 1rem;
}
.product-tabs .shipping-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}
.product-tabs .shipping-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #222;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: #fff;
}
.product-tabs .shipping-item i {
    color: #8b5cf6;
    font-size: 1.5rem;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.image-modal.active {
    display: flex;
}
.image-modal-content {
    position: relative;
    background: #18181b;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    gap: 2rem;
}
.image-modal .modal-image {
    max-width: 500px;
    max-height: 70vh;
    border-radius: 12px;
    object-fit: contain;
    background: #222;
}
.image-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    transition: background 0.2s;
}
.image-modal .modal-close:hover {
    background: #a78bfa;
}
.image-modal .modal-nav {
    background: #18181b;
    color: #8b5cf6;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s;
}
.image-modal .modal-nav:hover {
    background: #8b5cf6;
    color: #fff;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    background: #18181b;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.15);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.notification.show {
    opacity: 1;
    pointer-events: auto;
}
.notification-success {
    border-left: 6px solid #10b981;
}
.notification-info {
    border-left: 6px solid #8b5cf6;
}
.notification-warning {
    border-left: 6px solid #f59e42;
}
.notification-content i {
    font-size: 1.3rem;
    margin-right: 0.7rem;
}

@media (max-width: 991.98px) {
    .product-detail .main-image {
        height: 300px;
    }
    .image-modal .modal-image {
        max-width: 90vw;
    }
}
@media (max-width: 767.98px) {
    .product-detail .main-image {
        height: 220px;
    }
    .product-tabs .tabs-container {
        padding: 1rem;
    }
    .image-modal-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}