/* Single Product Store - Custom Styles */

:root {
    --bs-primary: #007bff;
    --bs-secondary: #6c757d;
    --bs-success: #28a745;
    --bs-danger: #dc3545;
    --bs-warning: #ffc107;
    --bs-info: #17a2b8;
    --bs-light: #f8f9fa;
    --bs-dark: #343a40;
    
    --gradient-primary: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Ensure body background is white everywhere except footer and bg-primary sections */
body > *:not(footer):not(section.bg-primary) {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Container responsive improvements */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Exception: bg-primary sections should have transparent container */
section.bg-primary .container {
    background-color: transparent !important;
    background: transparent !important;
}

/* All sections - Force white background (except footer) */
section:not(footer):not(.bg-dark):not(.bg-primary) {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Main content area - Force white */
main {
    background-color: #ffffff !important;
    background: #ffffff !important;
    min-height: 100vh;
}

/* Area before footer - Force white */
main + footer,
body > main {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Ensure no dark background between main and footer */
body > main::after,
main::after {
    display: none;
}

/* Footer - Keep dark */
footer,
footer.bg-dark {
    background-color: #212529 !important;
    background: #212529 !important;
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive font sizes */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1, .h1, .display-4 {
        font-size: 1.75rem !important;
    }
    
    h2, .h2 {
        font-size: 1.5rem !important;
    }
    
    h3, .h3 {
        font-size: 1.25rem !important;
    }
    
    h4, .h4 {
        font-size: 1.1rem !important;
    }
    
    h5, .h5 {
        font-size: 1rem !important;
    }
}

/* Mobile styles - Clean and consistent */
@media (max-width: 768px) {
    body {
        color: #333;
        background-color: #ffffff;
    }
    
    /* Cards - Clean white background */
    .card {
        background-color: #ffffff;
        color: #333;
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    }
    
    .card .text-muted {
        color: #6c757d !important;
    }
    
    /* Section backgrounds - Clean and light */
    section.bg-light {
        background-color: #f8f9fa !important;
        color: #333;
    }
    
    section:not(.hero-section):not(.bg-primary):not(.bg-dark) {
        background-color: #ffffff !important;
        color: #333;
    }
    
    section.bg-primary {
        background-color: #0d6efd !important;
        color: #ffffff;
    }
    
    section.bg-primary .text-muted {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Text colors - Consistent */
    .text-muted {
        color: #6c757d !important;
    }
    
    /* Buttons - Clean and visible */
    .btn {
        font-weight: 500;
    }
    
    .btn-outline-primary {
        color: #0d6efd;
        border-color: #0d6efd;
        background-color: transparent;
    }
    
    .btn-outline-primary:hover {
        background-color: #0d6efd;
        color: #ffffff;
    }
    
    /* Form elements - Clean white */
    .form-control,
    .form-select {
        background-color: #ffffff;
        color: #333;
        border-color: #dee2e6;
    }
    
    .form-control:focus,
    .form-select:focus {
        background-color: #ffffff;
        color: #333;
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    
    /* Navbar mobile - Clean white */
    .navbar {
        background-color: #ffffff !important;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    }
    
    .navbar .navbar-brand {
        color: #212529 !important;
    }
    
    .navbar .nav-link {
        color: #212529 !important;
    }
    
    .navbar .nav-link:hover {
        color: #0d6efd !important;
    }
    
    /* Tables - Clean */
    .table {
        background-color: #ffffff;
        color: #333;
    }
    
    .table th {
        background-color: #f8f9fa;
        color: #333;
    }
    
    .table td {
        color: #333;
    }
    
    /* Feature cards - Clean WHITE */
    .feature-card {
        background-color: #ffffff !important;
        color: #212529 !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .feature-card h5 {
        color: #212529 !important;
    }
    
    .feature-card .text-muted {
        color: #6c757d !important;
    }
    
    /* Testimonial cards - Clean WHITE */
    .testimonial-card {
        background-color: #ffffff !important;
        color: #212529 !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .testimonial-card p,
    .testimonial-card strong {
        color: #212529 !important;
    }
    
    .testimonial-card .text-muted {
        color: #6c757d !important;
    }
    
    /* Accordion - Clean WHITE - ALL STATES */
    .accordion-item {
        background-color: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .accordion-button {
        background-color: #ffffff !important;
        color: #212529 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .accordion-button.collapsed {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #ffffff !important;
        color: #212529 !important;
        box-shadow: none !important;
    }
    
    .accordion-button:hover {
        background-color: #f8f9fa !important;
        color: #212529 !important;
    }
    
    .accordion-button:focus {
        background-color: #ffffff !important;
        color: #212529 !important;
        box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25) !important;
    }
    
    .accordion-body {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Section headings and text - WHITE background */
    section#features h2,
    section#features .text-muted,
    section#features .product-description {
        color: #212529 !important;
    }
}

.min-vh-75 {
    min-height: 75vh;
}

/* Responsive Hero Section Height */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 !important;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0 !important;
    }
}

/* Hero Section - BASE STYLES - WHITE BACKGROUND FOR BLACK TEXT */
.hero-section {
    background: #ffffff !important;
    color: #000000 !important;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex !important;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
    background-position: bottom;
    z-index: 1 !important;
    pointer-events: none;
    opacity: 0.3;
}

.hero-content {
    position: relative !important;
    z-index: 1000 !important;
    width: 100% !important;
}

/* Hero Section - GLOBAL TEXT STYLES - BLACK TEXT ON WHITE BACKGROUND */
.hero-section .hero-title,
.hero-section h1,
.hero-section .display-4 {
    color: #000000 !important;
    text-shadow: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    position: relative !important;
    z-index: 1001 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.hero-section .hero-description,
.hero-section .lead,
.hero-section p.lead {
    color: #000000 !important;
    text-shadow: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.hero-section .price-section {
    position: relative !important;
    z-index: 101 !important;
}

.hero-section .price-section .text-white,
.hero-section .price-section .h2,
.hero-section .price-section h2 {
    color: #000000 !important;
    text-shadow: none !important;
    position: relative !important;
    z-index: 101 !important;
    display: inline-block !important;
}

.hero-section .price-section .text-muted {
    color: #666666 !important;
    text-shadow: none !important;
}

.hero-section .badge {
    position: relative !important;
    z-index: 101 !important;
    display: inline-block !important;
}

.hero-section .trust-indicators {
    position: relative !important;
    z-index: 101 !important;
}

.hero-section .trust-indicators .text-white,
.hero-section .trust-indicators small {
    color: #000000 !important;
    text-shadow: none !important;
}

.hero-section .btn {
    position: relative !important;
    z-index: 101 !important;
}

/* Desktop - BLACK TEXT ON WHITE BACKGROUND */
@media (min-width: 769px) {
    .hero-section {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .hero-section .hero-title,
    .hero-section h1,
    .hero-section .display-4 {
        color: #000000 !important;
        text-shadow: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-weight: 700 !important;
        font-size: 3.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        margin-top: 0 !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 101 !important;
    }
    
    .hero-section .hero-description,
    .hero-section .lead,
    .hero-section p.lead {
        color: #000000 !important;
        text-shadow: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.35rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        margin-top: 0 !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 101 !important;
    }
    
    .hero-section .price-section {
        z-index: 101 !important;
    }
    
    .hero-section .price-section .text-white,
    .hero-section .price-section .h2,
    .hero-section .price-section h2 {
        color: #000000 !important;
        text-shadow: none !important;
        position: relative !important;
        z-index: 101 !important;
        font-size: 2.5rem !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-section .price-section .text-muted {
        color: #666666 !important;
        text-shadow: none !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-section .trust-indicators .text-white,
    .hero-section .trust-indicators small {
        color: #000000 !important;
        text-shadow: none !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* REMOVED - Duplicate rules moved to base styles above */

/* Trust indicators in hero */
.hero-section .trust-indicators .text-muted,
.hero-section .trust-indicators small {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Desktop: allow dark text if section doesn't have gradient */
section:not(.hero-section) .hero-title {
    color: #212529 !important;
    text-shadow: none;
}

section:not(.hero-section) .hero-description {
    color: #6c757d !important;
    text-shadow: none;
}

/* Feature Cards - WHITE BACKGROUND */
.feature-card {
    background: #ffffff !important;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #212529 !important;
}

.feature-card h5 {
    color: #212529 !important;
}

.feature-card .text-muted {
    color: #6c757d !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Feature Cards */
@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card .feature-icon {
        font-size: 2rem !important;
    }
    
    .feature-card h5 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .feature-card .feature-icon {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Testimonial Cards - WHITE BACKGROUND */
.testimonial-card {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff !important;
    color: #212529 !important;
}

.testimonial-card p {
    color: #212529 !important;
}

.testimonial-card strong {
    color: #212529 !important;
}

.testimonial-card .text-muted {
    color: #6c757d !important;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive Testimonial Cards */
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }
}

/* Checkout Page - Force White Background */
body.checkout-page,
body[class*="checkout"],
.container.py-5 {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Ensure footer stays dark on checkout page */
body.checkout-page footer,
body[class*="checkout"] footer {
    background-color: #212529 !important;
    background: #212529 !important;
}

/* Checkout Styles */
.checkout-steps {
    margin-bottom: 2rem;
    background-color: transparent !important;
}

.checkout-steps .d-flex {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

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

.step-title {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.step.active .step-title {
    color: var(--bs-primary);
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e9ecef;
    margin: 0 1rem;
}

/* Price Display */
.price-section {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Price Section */
@media (max-width: 768px) {
    .price-section {
        justify-content: center;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .price-section {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Trust Indicators */
.trust-indicators {
    margin-top: 2rem;
}

.trust-indicators .row > * {
    display: flex;
    align-items: center;
}

/* Responsive Trust Indicators */
@media (max-width: 768px) {
    .trust-indicators {
        margin-top: 1.5rem;
    }
    
    .trust-indicators .row {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .trust-indicators {
        margin-top: 1rem;
    }
    
    .trust-indicators .col-auto {
        width: 100%;
        justify-content: center;
    }
}

/* Product Images */
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Carousel responsive */
.hero-image .carousel {
    border-radius: 0.75rem;
    overflow: hidden;
}

.hero-image .carousel-item img {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero-image .carousel-item img {
        min-height: 350px;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-image .carousel-item img {
        min-height: 300px;
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-image .carousel-item img {
        min-height: 250px;
        max-height: 300px;
    }
}

/* Cards */
.card {
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    border-radius: 0.75rem;
}

.card-header {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Responsive Buttons */
@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.95rem;
        padding: 0.625rem 1.25rem;
    }
    
    /* Button groups responsive */
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
        max-width: 100%;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 123, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 123, 255, 0.3);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Accordion - WHITE BACKGROUND - ALL STATES */
.accordion-item {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 0.5rem !important;
    margin-bottom: 0.5rem;
    background-color: #ffffff !important;
}

.accordion-button {
    border-radius: 0.5rem !important;
    font-weight: 500;
    background-color: #ffffff !important;
    color: #212529 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Collapsed state - WHITE */
.accordion-button.collapsed {
    background-color: #ffffff !important;
    color: #212529 !important;
}

/* Not collapsed (open) state - WHITE */
.accordion-button:not(.collapsed) {
    background-color: #ffffff !important;
    color: #212529 !important;
    box-shadow: none !important;
}

/* Hover state - WHITE */
.accordion-button:hover {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

/* Focus state - WHITE */
.accordion-button:focus {
    background-color: #ffffff !important;
    color: #212529 !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25) !important;
    border-color: transparent !important;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: #ffffff !important;
    color: #212529 !important;
}

/* Admin Styles */
.admin-sidebar {
    background: #2c3e50;
    min-height: 100vh;
    color: white;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-content {
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-header {
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.stats-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Tables */
.table {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border: none;
    font-weight: 600;
    color: var(--bs-primary);
}

.table td {
    border-color: rgba(0,0,0,0.05);
    vertical-align: middle;
}

/* Status Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

.status-pending { background: #ffc107; color: #000; }
.status-paid { background: #28a745; color: white; }
.status-processing { background: #17a2b8; color: white; }
.status-shipped { background: #6f42c1; color: white; }
.status-delivered { background: #20c997; color: white; }
.status-cancelled { background: #dc3545; color: white; }
.status-refunded { background: #6c757d; color: white; }

/* Responsive - Tablet */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .hero-title,
    .hero-section h1,
    .hero-section .display-4 {
        font-size: 2.5rem !important;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .price-section {
        justify-content: center;
    }
    
    /* Button group responsive */
    .hero-section .d-flex.gap-3 {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* General responsive */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    /* Hero section - Mobile: SAME AS DESKTOP - WHITE BACKGROUND BLACK TEXT */
    .hero-section {
        background: #ffffff !important;
        color: #000000 !important;
        text-align: center;
        padding: 3rem 0 !important;
    }
    
    .hero-section::before {
        display: none !important;
    }
    
    /* Hero section text colors for mobile - BLACK TEXT */
    .hero-section h1,
    .hero-section .display-4,
    .hero-section .hero-title,
    .hero-section h2,
    .hero-section h3 {
        font-size: 2rem !important;
        line-height: 1.2;
        color: #000000 !important;
        text-shadow: none !important;
        margin-bottom: 1.5rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-weight: 700 !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section p,
    .hero-section .lead,
    .hero-section .hero-description {
        font-size: 1.1rem !important;
        color: #000000 !important;
        text-shadow: none !important;
        margin-bottom: 1.5rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section .badge {
        background-color: rgba(220, 53, 69, 0.95) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        text-shadow: none !important;
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section .btn {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
        display: block;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section .btn-outline-light {
        background-color: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        color: #ffffff !important;
    }
    
    .hero-section .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.3) !important;
        border-color: #ffffff !important;
        color: #ffffff !important;
    }
    
    /* Trust indicators in hero - mobile SAME AS DESKTOP - WHITE TEXT */
    .hero-section .trust-indicators {
        background: rgba(255, 255, 255, 0.15) !important;
        padding: 1rem;
        border-radius: 0.5rem;
        backdrop-filter: blur(10px);
        margin-top: 1.5rem;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section .trust-indicators .row {
        justify-content: center;
    }
    
    .hero-section .trust-indicators .text-muted,
    .hero-section .trust-indicators small {
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
        font-size: 0.9rem;
    }
    
    .hero-section .trust-indicators .text-success {
        color: #90ee90 !important;
    }
    
    .price-section {
        justify-content: center;
        margin-bottom: 1.5rem !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .price-section .text-primary,
    .price-section .h2 {
        color: #000000 !important;
        text-shadow: none !important;
        font-size: 2rem !important;
    }
    
    .price-section .text-muted {
        color: #666666 !important;
        text-shadow: none !important;
        font-size: 1.25rem !important;
    }
    
    .checkout-steps .step-line {
        width: 30px;
        margin: 0 0.5rem;
    }
    
    .step {
        min-width: 60px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    /* Footer mobile visibility improvements */
    footer {
        background-color: #212529 !important;
    }
    
    footer .text-light,
    footer .text-muted {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    footer .text-white {
        color: #ffffff !important;
    }
    
    footer a.text-light {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    
    footer a.text-light:hover {
        color: #ffffff !important;
    }
    
    footer .btn-outline-light {
        border-color: rgba(255, 255, 255, 0.5);
        color: rgba(255, 255, 255, 0.9);
    }
    
    footer .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: #ffffff;
        color: #ffffff;
    }
    
    /* Card and button improvements for mobile */
    .card {
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    }
    
    .btn-primary {
        box-shadow: 0 0.375rem 0.75rem rgba(0, 123, 255, 0.3);
    }
    
    /* Admin sidebar mobile */
    .admin-sidebar {
        min-height: auto;
    }
    
    /* Section backgrounds for better mobile visibility */
    .bg-light {
        background-color: #f8f9fa !important;
    }
    
    /* Text colors in light sections */
    section.bg-light .text-muted {
        color: #6c757d !important;
    }
}

@media (max-width: 576px) {
    /* General responsive for small screens */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    section {
        padding: 2rem 0 !important;
    }
    
    .checkout-steps .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-line {
        width: 2px;
        height: 30px;
        margin: 0.5rem 0;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Extra small screens - Enhanced mobile styles - SAME AS DESKTOP - GRADIENT */
    .hero-section {
        background: var(--gradient-primary) !important;
        color: white !important;
        padding: 2rem 0 !important;
    }
    
    .hero-section::before {
        display: block !important;
    }
    
    .hero-section h1,
    .hero-section .display-4,
    .hero-section .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #ffffff !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.4) !important;
        font-weight: 700 !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section .lead,
    .hero-section .hero-description {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: rgba(255, 255, 255, 1) !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3) !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section .price-section .text-primary,
    .hero-section .price-section .h2 {
        color: #ffffff !important;
        text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5) !important;
        font-size: 1.75rem !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    .hero-section .price-section .text-muted {
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
        font-size: 1.1rem !important;
    }
    
    .hero-section .trust-indicators .text-muted,
    .hero-section .trust-indicators small {
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .hero-section .trust-indicators .text-success {
        color: #90ee90 !important;
    }
    
    /* Button improvements for small screens */
    .btn {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
        width: 100%;
        max-width: 280px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Price section small screens */
    .price-section .h2 {
        font-size: 1.75rem !important;
    }
    
    .price-section .h5 {
        font-size: 1.1rem !important;
    }
    
    /* Trust indicators small screens */
    .hero-section .trust-indicators {
        padding: 0.75rem;
    }
    
    .hero-section .trust-indicators .col-auto {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .trust-indicators .row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Footer text size for small screens */
    footer {
        font-size: 0.9rem;
    }
    
    footer h5,
    footer h6 {
        font-size: 1rem;
    }
    
    /* Ensure footer icons and text are visible */
    footer .text-light i,
    footer .text-light small {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    footer .text-success {
        color: #28a745 !important;
    }
    
    footer .text-primary {
        color: #0d6efd !important;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Dark Mode Support - DISABLED - Force White Theme (but keep footer dark) */
@media (prefers-color-scheme: dark) {
    /* Override dark mode - Force white theme for content only */
    :root {
        --bs-body-bg: #ffffff !important;
        --bs-body-color: #333 !important;
    }
    
    body {
        background-color: #ffffff !important;
        background: #ffffff !important;
        color: #333 !important;
    }
    
    /* All direct children of body except footer and bg-primary sections - Force white */
    body > *:not(footer):not(section.bg-primary) {
        background-color: #ffffff !important;
        background: #ffffff !important;
    }
    
    /* Keep footer dark */
    footer,
    footer.bg-dark {
        background-color: #212529 !important;
        background: #212529 !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    footer .text-light,
    footer .text-muted {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    footer .text-white {
        color: #ffffff !important;
    }
    
    footer a.text-light {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    
    footer a.text-light:hover {
        color: #ffffff !important;
    }
    
    /* Content areas - Force white */
    main {
        background-color: #ffffff !important;
        background: #ffffff !important;
    }
    
    /* Area before footer - Force white */
    main + footer,
    body > main {
        background-color: #ffffff !important;
        background: #ffffff !important;
    }
    
    .container:not(footer .container):not(section.bg-primary .container) {
        background-color: #ffffff !important;
    }
    
    section.bg-primary .container {
        background-color: transparent !important;
        background: transparent !important;
    }
    
    section:not(footer):not(.bg-dark):not(.bg-primary) {
        background-color: #ffffff !important;
    }
    
    .card {
        background: #ffffff !important;
        border-color: rgba(0,0,0,0.1) !important;
        color: #212529 !important;
    }
    
    .form-control, .form-select {
        background: #ffffff !important;
        border-color: #dee2e6 !important;
        color: #212529 !important;
    }
    
    .table {
        background: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Cards - Force white */
    .card-body, .card-header {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Navbar - Keep white */
    .navbar,
    .navbar.bg-white {
        background-color: #ffffff !important;
        background: #ffffff !important;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn, .checkout-steps {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}