/* Base styles */
:root {
    --primary-color: #ff6b00;
    --primary-light: #ff8c33;
    --primary-dark: #e55f00;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #2c2c2c;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #f0f0f0;
    color: #333;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    background-color: var(--border-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #3c3c3c;
}

.dark-theme .btn {
    background-color: var(--border-color);
    color: var(--text-light);
}

.btn-small {
    padding: 4px 8px;
    font-size: 0.85rem;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-danger {
    background-color: var(--error-color);
    color: white;
}

/* Header */
header {
    background-color: var(--bg-card);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white; /* Change the default color to white for "Cart" */
}

.logo h1 .orange-text {
    color: var(--primary-color); /* This will make "Boom" orange using your primary color */
}






nav ul {
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.header-actions {
    display: flex;
    align-items: center;
}

.auth-buttons {
    margin-right: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.user-info span {
    color: var(--text-light);
    margin-right: 10px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 690px;
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: brightness(0.6);
}

.carousel-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 600px;
    padding: 20px;
}

.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s;
}

.carousel-control:hover {
    background-color: rgba(255, 107, 0, 0.8);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Category Sections */
.category-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.view-all {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.view-all::after {
    content: '\2192';
    margin-left: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 15px;
}

.product-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.current-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.original-price {
    margin-left: 10px;
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.add-to-cart {
    width: 100%;
}

/* Sponsorship Section */
.sponsorship-section {
    margin-bottom: 60px;
}

.sponsorship-header {
    text-align: center;
    margin-bottom: 30px;
}

.sponsorship-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sponsorship-header p {
    color: var(--text-muted);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sponsor-card {
    height: 200px;
    background-color: var(--bg-card);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.sponsor-card.locked {
    position: relative;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px dashed var(--border-color);
}

.lock-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.sponsor-card p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--bg-card);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-light);
}

.quantity-control span {
    margin: 0 8px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--error-color);
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 15px;
}

.checkout-btn, .clear-cart-btn {
    width: 100%;
    margin-bottom: 10px;
}

/* Category Page */
.breadcrumb {
    margin: 20px 0;
    color: var(--text-muted);
}

.category-header {
    margin-bottom: 30px;
}

.category-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
}

.modal h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.form-group small {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
    display: block;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 900;
}

/* Tabs */
.tabs {
    width: 100%;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-header div {
    padding: 10px 15px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
}

.tab-header div.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-body {
    display: none;
}

.tab-body.active {
    display: block;
}

/* Checkout Modal */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr 1fr;
    }
}

.customer-info, .payment-info {
    background-color: var(--bg-dark);
    padding: 15px;
    border-radius: 6px;
}

.customer-info h3, .payment-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.upi-details {
    margin-bottom: 15px;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    text-align: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    background-color: white;
    margin-bottom: 10px;
    padding: 10px;
}

.qr-inner {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, #000 25%, transparent 25%), 
        linear-gradient(-45deg, #000 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #000 75%), 
        linear-gradient(-45deg, transparent 75%, #000 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.place-order-btn {
    width: 100%;
    margin-top: 20px;
}

/* Order Confirmation */
.confirmation-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

/* Admin Dashboard */
.admin-container {
    padding: 30px 20px;
}

.admin-header {
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.stat-icon.pending {
    background-color: rgba(255, 152, 0, 0.2);
    color: var(--warning-color);
}

.stat-icon.approved {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
}

.stat-icon.rejected {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--error-color);
}

.stat-details h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-tabs {
    margin-bottom: 20px;
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 8px 16px;
    margin-right: 10px;
    background-color: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.order-table-container {
    overflow-x: auto;
    background-color: var(--bg-card);
    border-radius: 8px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table th, .order-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.order-table th {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background-color: rgba(255, 152, 0, 0.2);
    color: var(--warning-color);
}

.status-approved {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
}

.status-rejected {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--error-color);
}

.no-orders {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}

.hidden {
    display: none;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--bg-card);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Authentication Messages */
.text-success {
    color: var(--success-color);
}

.text-error {
    color: var(--error-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .hero-carousel {
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav li {
        margin-left: 10px;
    }
    
    .header-actions {
        flex-wrap: wrap;
    }
}
/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-carousel {
        height: 400px;
    }
    
    .carousel-content h2 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .product-grid,
    .product-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--text-light);
        cursor: pointer;
        margin-left: auto;
    }
    
    nav {
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
    }
    
    .auth-buttons, .user-info {
        margin-right: 0;
    }
    
    .hero-carousel {
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .product-grid,
    .product-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Checkout adjustments */
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        margin-top: 20px;
    }
    
    /* Category page adjustments */
    .category-container {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-carousel {
        height: 250px;
        margin-bottom: 30px;
    }
    
    .carousel-content {
        max-width: 100%;
        padding: 15px;
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .carousel-content .btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .product-grid,
    .product-grid-full {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-details {
        padding: 12px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Cart modal adjustments */
    .cart-modal {
        width: 95%;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
    }
    
    .cart-item-details h3 {
        font-size: 0.9rem;
    }
    
    /* Auth modal adjustments */
    .auth-modal {
        width: 95%;
    }
    
    /* Product detail adjustments */
    .product-detail-container {
        grid-template-columns: 1fr;
    }
    
    .product-detail-image {
        height: 250px;
    }
    
    /* Checkout adjustments */
    .form-grid {
        grid-template-columns: 1fr;
    }
}
/* Mobile Menu Toggle (hidden by default on desktop) */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    margin-left: auto;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-carousel {
        height: 400px;
    }
    
    .carousel-content h2 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .product-grid,
    .product-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        width: 100%;
        display: none;
        margin-top: 15px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .header-actions {
        width: auto;
    }
    
    .hero-carousel {
        height: 300px;
    }
    
    .carousel-content h2 {
        font-size: 2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .product-grid,
    .product-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Admin dashboard adjustments */
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .order-table-container {
        overflow-x: auto;
    }
    
    /* Cart modal adjustments */
    .cart-sidebar {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-carousel {
        height: 250px;
        margin-bottom: 30px;
    }
    
    .carousel-content {
        max-width: 100%;
        padding: 15px;
    }
    
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .carousel-content .btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .product-grid,
    .product-grid-full {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-details {
        padding: 12px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Admin dashboard adjustments */
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    /* Modal adjustments */
    .modal-content {
        width: 90%;
        margin: 5% auto;
    }
    
    /* Cart sidebar adjustments */
    .cart-sidebar {
        width: 100%;
    }
}
/* Product Detail Page Styles */
.product-detail {
    margin: 30px 0 60px;
}

.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-detail-left {
    flex: 1;
    min-width: 300px;
}

.product-detail-right {
    flex: 1;
    min-width: 300px;
}

.product-detail-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.product-detail-image:hover img {
    transform: scale(1.05);
}

.product-detail-name {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.product-detail-price {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.product-detail-price .current-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-detail-price .original-price {
    margin-left: 15px;
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.discount-badge {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 15px;
}

.product-detail-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.product-detail-actions {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-right: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background-color: var(--border-color);
    color: var(--text-light);
    border: none;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: var(--primary-color);
}

#product-quantity {
    width: 40px;
    text-align: center;
    border: none;
    background-color: var(--bg-card);
    color: var(--text-light);
    font-size: 1rem;
    -moz-appearance: textfield;
}

#product-quantity::-webkit-outer-spin-button,
#product-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    padding: 10px 20px;
    font-size: 1.1rem;
}

.product-detail-meta {
    margin-bottom: 30px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: bold;
    width: 100px;
    color: var(--text-muted);
}

.meta-value {
    color: var(--text-light);
}

.product-detail-features {
    margin-top: 20px;
}

.product-detail-features h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.product-detail-features ul {
    list-style: none;
}

.product-detail-features li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.product-detail-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.breadcrumb {
    display: flex;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb > * {
    margin: 0 5px;
}

.breadcrumb > *:first-child {
    margin-left: 0;
}

.loading-spinner {
    width: 100%;
    text-align: center;
    padding: 50px 0;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.error-message {
    width: 100%;
    text-align: center;
    padding: 50px 0;
}

.error-message i {
    font-size: 3rem;
    color: var(--error-color);
    margin-bottom: 20px;
}

.error-message h2 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.error-message p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.related-products {
    margin-top: 60px;
}

/* Make product-link work for all product cards */
.product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-detail-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quantity-selector {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .add-to-cart-btn {
        width: 100%;
    }
}