
/* ========================================
   CSS VARIABLES & RESET
======================================== */
:root {
    --primary-color: #ff6b6b;
    --primary: #ff6b6b;
    --secondary-color: #ffb6c1;
    --dark-color: #292f36;
    --light-color: #fff0f5;
    --gray-color: #6c757d;
    --pink-bg: #c44569;
    --deeper-pink-bg: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #f8b500 100%);
    --accent-color: #ec4899;
    --text-light: #f8fafc;
    --primary-light: #fff0f5;
    --primary-dark: #292f36;
    --secondary: #ffb6c1;
    --success: #10b981;
    --danger: #ef4444;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-700: #374151;
    --gray-900: #111827;

}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--pink-bg);
    min-height: 100vh;
    padding: 20px;
}
#category-select,
#manage-category-select,
#discount-available,
#preview-mode {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #ec4899; /* Tailwind's pink-500 */
    border-radius: 12px;
    background-color: #fff;
    color: #1f2937; /* Tailwind's gray-800 */
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 1rem;
    cursor: pointer;
  }
  .category-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #444;
}

  .category-section {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}
  
  #category-select:focus {
    outline: none;
    border-color: #be185d; /* Tailwind's pink-700 */
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.3);
  }
  
  #category-select option {
    padding: 10px;
    background-color: #fff;
    color: #1f2937;
  }
  
  .modal-content {
    max-width: 900px; /* Increase from default */
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-product-details {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.modal-product-images {
    flex: 1;
    min-width: 300px;
}

.modal-product-info {
    flex: 1;
    min-width: 300px;
}

.modal-product-images img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-product-details {
        flex-direction: column;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 105, 180, 0.3);
}

.btn:hover {
    background: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.navbar {
    background: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-main-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-main-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-main-links a:hover::before {
    left: 100%;
}

.nav-main-links a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.nav-utility-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* This pushes the utility links to the far right */
}

#proedit-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}
.proedit-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-color);
    transition: color 0.2s;
    z-index: 1001;
}

.proedit-close:hover {
    color: var(--primary);
}

.proedit-close svg {
    display: block;
    width: 24px;
    height: 24px;
}
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #333;
}

.cart-icon:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

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

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}
.auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#user-name {
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.auth-links a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.info-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    color: #495057;
}

.shipping-info {
    margin-top: 5px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.shipping-info small {
    color: #6c757d;
    line-height: 1.4;
}

.shipping-row {
    display: none;
}

.collection-info, .shipping-options {
    margin-top: 10px;
}
#google-login-btn {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    box-shadow: 0 3px 15px rgba(66, 133, 244, 0.3);
}

#google-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(66, 133, 244, 0.4);
}

#logout-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 3px 15px rgba(255, 107, 107, 0.3);
}

#logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(102, 126, 234, 0.1);
}
.search-container {
    position: relative;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}
/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar-content {
        flex-wrap: wrap;
        min-height: 60px;
    }

    .navbar-header {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: block;
        order: -1;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.2) 0%, 
        rgba(196, 69, 105, 0.3) 100%);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-main-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0 20px;
    }

    .nav-main-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0.25rem 0;
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .nav-utility-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 1rem 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .auth-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .auth-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        justify-content: center;
        font-size: 1rem;
    }

    #user-name {
        text-align: center;
        width: 100%;
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .cart-icon {
        align-self: center;
        padding: 1rem;
        font-size: 1.3rem;
    }

    .logo-icon {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .navbar-content {
        min-height: 55px;
    }

    .logo-icon {
        height: 35px;
    }

    .nav-main-links a {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .auth-links a {
        padding: 0.8rem;
    }

    .login-text {
        display: none;
    }
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #4a5568;
    position: relative;
    min-width: 80px;
    justify-content: center;
}

.radio-group label:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.radio-group input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-group input[type="radio"]:checked {
    border-color: #667eea;
    background: #667eea;
}

.radio-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-group input[type="radio"]:checked + span {
    color: #667eea;
}

.radio-group label:has(input:checked) {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.radio-group label:has(input:checked) input[type="radio"] {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.radio-group label:has(input:checked) input[type="radio"]::after {
    background: white;
}

/* Alternative compact style */
.compact-style .radio-group {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
}

.compact-style .radio-group label {
    border: none;
    background: transparent;
    margin: 0;
    border-radius: 8px;
    padding: 8px 16px;
}

.compact-style .radio-group label:has(input:checked) {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .demo-content h1 {
        font-size: 2rem;
    }
    
    .demo-content p {
        font-size: 1rem;
        padding: 0 20px;
    }
}
/* Hero Slider - INCREASED SIZE */
/* ========================================
   Order SLIDER SECTION
======================================== */
.order-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-checkbox input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}

.order-checkbox label {
    margin: 0;
    cursor: pointer;
}

.no-orders {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}


.order-stats,.product-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.controls-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

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

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.control-group select, .control-group input {
    padding: 10px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.control-group select:focus, .control-group input:focus {
    outline: none;
    border-color: #667eea;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.orders-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.orders-grid {
    display: grid;
    gap: 20px;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.order-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-id {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d4edda; color: #155724; }
.status-delivered { background: #d1ecf1; color: #0c5460; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}
/* ========================================
   HERO SLIDER SECTION
======================================== */

/* Product Section with Pink Background */
.featured-products {
    padding: 60px 0;
    background: var(--deeper-pink-bg);
    margin-top: 40px;
}

.section-title {
    text-align: center;
    margin: 40px 0;
    font-size: 2rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}
.product-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

    /* Product Grid Layout */
.products-grid,
.products-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
    
    /* Product Card with proper proportions */
    
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}
    
    /* Ensure the header has relative positioning for the close button */
    .proedit-header {
        position: relative;
    }
    
    /* Demo styles for this example */
    .proedit-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
    }
    
    
    .proedit-content {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
    }
    .proedit-form {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .form-section {
        margin-bottom: 35px;
    }


    .proedit-preview {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        height: fit-content;
        position: sticky;
        top: 20px;
    }

    .preview-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1.4rem;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 3px solid #48bb78;
        position: relative;
    }

    .preview-title::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #48bb78, #38a169);
        border-radius: 2px;
    }

    .preview-title svg {
        color: #48bb78;
        filter: drop-shadow(0 2px 4px rgba(72, 187, 120, 0.3));
    }

    .preview-product {
        background: #ffffff;
        border-radius: 16px;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid #e2e8f0;
        margin-bottom: 25px;
    }

    .preview-image {
        margin-bottom: 20px;
    }

    .preview-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .preview-details h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 15px;
    }

    .preview-price {
        font-size: 1.8rem;
        font-weight: 800;
        color: #667eea;
        margin-bottom: 20px;
    }

    .preview-meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }

    .preview-meta span {
        font-size: 0.9rem;
        color: #718096;
        padding: 6px 12px;
        background: #f7fafc;
        border-radius: 6px;
        border-left: 3px solid #667eea;
    }

    .preview-attributes {
        margin-bottom: 20px;
    }

    .preview-attributes p {
        margin-bottom: 8px;
        color: #4a5568;
        font-size: 0.95rem;
    }

    .preview-attributes strong {
        color: #2d3748;
    }

    .preview-size,
    .preview-color {
        font-weight: 500;
    }

    .preview-discount-info {
        background: #f8f9ff;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        border-left: 4px solid #667eea;
    }

    .preview-discount-info p {
        margin-bottom: 6px;
        font-size: 0.9rem;
        color: #4a5568;
    }

    .preview-discount-info strong {
        color: #2d3748;
    }

    .preview-description {
        color: #4a5568;
        line-height: 1.7;
        font-size: 1rem;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 10px;
        border-left: 4px solid #48bb78;
    }
    
    .proedit-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        background: #f8f9fa;
    }
    
    
    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    }
    
    /* Proper Image Section - 60% of card height */
    .product-image {
        position: relative;
        height: 240px;
        overflow: hidden;
    }
    
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s cubic-bezier(0.25, 0.45, 0.45, 0.95);
    }
    
    .product-card:hover .product-image img {
        transform: scale(1.08);
    }
    .promo-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: linear-gradient(135deg, #ff416c, #ff4b2b);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 2;
        box-shadow: 0 2px 8px rgba(255, 65, 108, 0.3);
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); }
    }
    .discount-timer {
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 10px;
        font-weight: 500;
        backdrop-filter: blur(10px);
    }
    .preview-badge {
        position: absolute; top: 8px; right: 8px; background: linear-gradient(45deg, #ff9a9e, #fecfef); background-size: 300% 300%; color: #2d3748; padding: 0.4rem 0.8rem; border-radius: 0; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; z-index: 10; box-shadow: 4px 4px 0px #ff6b6b; animation: retroShine 4s ease-in-out infinite; border: 2px solid #2d3748; transform: rotate(-2deg); } @keyframes retroShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; }  }
    /* Content Section - 40% of card height */
    .product-info {
        padding: 20px;
    }  
    .product-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.3;
    }
        
        .price {
            font-size: 1.3rem;
            font-weight: 700;
            color: #e91e63;
            margin: 8px 0;
        }
        
        .product-category {
            font-size: 12px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
        }
        
        .product-description {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .price-section {
            margin-bottom: 16px;
        }
        .price-container {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
        }
        .original-price {
            font-size: 16px;
            color: #999;
            text-decoration: line-through;
        }
        
        .current-price {
            font-size: 24px;
            font-weight: 700;
            color: #2ecc71;
        }
        
        .regular-price {
            font-size: 20px;
            font-weight: 600;
            color: #333;
        }
        
        .discount-info {
            font-size: 12px;
            color: #e74c3c;
            font-weight: 500;
        }
        
        .savings-amount {
            font-size: 12px;
            color: #27ae60;
            font-weight: 600;
            background: rgba(46, 204, 113, 0.1);
            padding: 2px 6px;
            border-radius: 4px;
            display: inline-block;
            margin-top: 4px;
        }
        
        /* Action Buttons */
        .product-actions {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .card-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .view-details {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .view-details:hover {
            background: linear-gradient(45deg, #d81b60, #f50057);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(233, 30, 99, 0.25);
        }
        
        /* Admin Controls - More Compact */
        .admin-product-info {
            padding: 8px 16px;
            background: #f9f9f9;
            border-top: 1px solid #eee;
            display: flex;
            gap: 8px;
        }
        .admin-actions {
            display: flex;
            gap: 8px;
        }
        
        .admin-btn {
            background: none;
            border: 1px solid #ddd;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            color: #666;
        }
        
        
        .delete-product, 
        .edit-product {
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.75rem;
            transition: all 0.2s ease;
            display: inline-block;
    width: 100%;

    background: var(--accent-color);
 
    text-align: center;
  
    text-decoration: none;
    font-weight: 500;
   
        }
        
        .delete-product {
            background: #ff5252;
        }
        
        .edit-product {
            background: #448aff;
        }
        
        /* Add to Cart Button */
        .add-to-cart {
            background: #4CAF50;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9rem;
            margin-left: 10px;
            transition: all 0.3s ease;
        }
        
        .add-to-cart:hover {
            background: #388E3C;
            transform: translateY(-2px);
        }




        .view-details:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }
        
        
        .edit-product:hover {
            border-color: #3498db;
            color: #3498db;
        }
        
        .delete-product:hover {
            border-color: #e74c3c;
            color: #e74c3c;
        }
        
        .promo-highlight {
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            border: 2px solid #ff6b6b;
        }
        
        .countdown-timer {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            padding: 8px 16px;
            border-radius: 0 0 16px 16px;
            text-align: center;
            font-size: 12px;
            font-weight: 600;
        }
        
        .timer-section {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 4px;
        }
        
        .timer-unit {
            text-align: center;
        }
        
        .timer-number {
            display: block;
            font-size: 16px;
            font-weight: bold;
            color: #f39c12;
        }
        
        .timer-label {
            font-size: 10px;
            opacity: 0.8;
        }
        

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: rgb(241, 160, 128);
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    position: relative;
    animation: modalopen 0.5s;
}

@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .slide-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.slide.active .slide-content > *:nth-child(1) { animation-delay: 0.1s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: 0.2s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: 0.3s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: 0.4s; }

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--gray-color);
    cursor: pointer;
    transition: color 0.3s;
}

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

.modal-product-details {
    display: flex;
    gap: 30px;
}

.modal-product-images {
    flex: 1;
}

/* Essential slider styles - add to your existing CSS */
.hero-slider {
    margin-top: 70px; /* Space below navbar */
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: var(--deeper-pink-bg);
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100px);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.slide-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
   
    padding: 40px;
    position: relative;
}

.slide-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.slide-image-container img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height:65%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.6s ease;
    z-index: 2;
    position: relative;
    backdrop-filter: blur(10px);
}

.slide.active .slide-image-container img {
    transform: scale(1.05) rotateY(5deg);
}

.slide-content {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    color: var(--text-light);
    height: 100%;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.slide-content h2 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    line-height: 1.7;
    opacity: 0.9;
    color: #e2e8f0;
}

.slide-price {
    font-size: 2rem; 
    font-weight: 700; 
    color: #fbbf24; 
    margin: 15px 0;
}

.slide-cta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.cta-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.slider-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.slider-indicator.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.slider-indicator.active::before {
    width: 20px;
    height: 20px;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Create Product Section - Positioned below navbar */
.create-section {
    margin-top: 90px; /* Space below fixed navbar */
    padding: 40px 0;
    background:  var(--deeper-pink-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 90px 20px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.admin-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.admin-form {
    flex: 1 1 45%;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 182, 193, 0.3);
}

.admin-form h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.admin-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.admin-form form input,
.admin-form form textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.admin-form form input:focus,
.admin-form form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.admin-form form textarea {
    resize: vertical;
    min-height: 100px;
}

.admin-form .btn {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
}

/* Checkout Modal Styles */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
}

.checkout-content {
    background-color: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    animation: modalopen 0.5s;
}

.checkout-content h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.checkout-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.close-checkout {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: var(--gray-color);
    cursor: pointer;
    transition: color 0.3s;
}

.close-checkout:hover {
    color: var(--dark-color);
}

.checkout-container {
    display: flex;
    gap: 30px;
}

.customer-info {
    flex: 1;
    padding-right: 20px;
}

.order-summary {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}


.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.checkout-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

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

.checkout-item-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.checkout-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.checkout-item-quantity {
    color: var(--gray-color);
    font-size: 14px;
}

.order-totals {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.grand-total {
    font-weight: 600;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.place-order-btn:hover {
    background: #d81b60;
    transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .checkout-container {
        flex-direction: column;
    }
    
    .customer-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
        
    }

    .slide {
        flex-direction: column;
        text-align: center;
    }

    .slide-image-container {
        width: 100%;
        padding: 10px 0;
        height: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slide-content {
        width: 100%;
        padding: 20px 30px;
        height: 60%;
        text-align: center;
        align-items: center;
    }
    
    .slide-image-container img {
        max-height: 100%;
        width: 250%;
        max-width: 100%;
        height: auto; /* Add this to maintain aspect ratio */
        object-fit: contain; /* Ensure the image fits within container */
    }

    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .slider-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 20px;
    }

    .next-btn {
        right: 20px;
    }

    .hero-slider {
        height: 500px; /* Adjusted for smaller screens */
    }

    .slide {
        flex-direction: column;
    }

    .slide-image-container,
    .slide-content {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .slide-image-container {
        height: 50%;
    }

    .slide-content {
        height: 50%;
    }

    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }



    #modal-main-image {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .cart-sidebar {
        width: 90%;
        right: -90%;
       
    }
}

#modal-main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #f8f8f8;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.modal-thumbnails img:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.modal-product-info {
    flex: 1;
}

.modal-product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.modal-product-info .price {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.modal-product-info .description {
    margin-bottom: 25px;
    line-height: 1.7;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background: #f1f1f1;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
    border-radius: 5px;
}

.quantity-btn:hover {
    background: #ddd;
}

.quantity-input {
    width: 60px;
    height: 35px;
    text-align: center;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}




.remove-item {
    position: absolute;
    top: 5px;
    right: 0;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: color 0.3s;
}

.remove-item:hover {
    color: var(--accent-color);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}


.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
}

.notification.active {
    opacity: 1;
}

.footer {
    background: linear-gradient(135deg, var(--accent-color), #ff1493);
    color: white;
    padding: 60px 0 0;
    margin-top: 50px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ff69b4" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ff69b4" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ff69b4"/></svg>') no-repeat;
    background-size: 100% 100%;
}

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

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: white;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    transform: translateX(5px);
    opacity: 1;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: var(--gray-color);
}

.admin-section {
    padding: 40px 20px;
    background-color: #fff0f6;
    margin-top: 40px;
    border-radius: 10px;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full screen height */
    text-align: center;
    background-color: var(--deeper-pink-bg);
}

.auth-section .container {
    max-width: 400px;
    padding: 2rem;
    background-color: var(--deeper-pink-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}


.btn.google-btn {
    background-color: #db4437;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.btn.logout-btn {
    background-color: #444;
    color: white;
    margin-left: 10px;
}

#category-list li {
    margin-bottom: 10px;
}
#category-list button {
    margin-left: 10px;
    padding: 4px 8px;
    font-size: 0.9em;
}





.admin-form form input,
.admin-form form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

/* Add to your existing CSS */
.product-option {
    margin: 15px 0;
    display: none; /* Hidden by default */
}

.product-option label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-color);
}

.product-select {
    width: 40%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.quantity-selector {
    margin-top: 20px;
}



/* Responsive Styles */


@media (max-width: 576px) {
    .slide-image-container {
        padding: 5px 20px;
    }
    .slide-content {
        padding: 10px 20px;
    }
    .slide-content h2 {
        font-size: 1.8rem;
    }
    .slide-content p {
        font-size: 1rem;
    }

    .hero-slider {
        height: 450px; /* Adjusted for smaller screens */
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

  

    .products-grid,
.products-grid-admin {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .slider-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Fix body padding */
    body {
        padding: 10px;
    }

    /* Improve navbar spacing */
    .navbar {
        padding: 10px 0;
    }

    /* Better mobile menu transitions */
    .nav-links {
        transition: all 0.4s ease-out;
        padding: 1rem 0;
    }

    /* Improve product grid */
    .products-grid,
.products-grid-admin {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Better modal spacing */
    .modal-content {
        padding: 20px 15px;
        margin: 20px auto;
        width: 95%;
    }

    /* Stack product details in modal */
    .modal-product-details {
        flex-direction: column;
        gap: 20px;
    }

    /* Adjust hero slider */
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    /* Footer adjustments */
    .footer-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Better button sizing */
    .btn, .cta-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .hero-slider {
        height: 60vh;
    }

    .slide-content {
        padding: 20px;
    }

    /* Single column layout for products */
    .products-grid,
.products-grid-admin {
        grid-template-columns: 1fr;
    }

    /* Compact form inputs */
    .admin-form form input,
    .admin-form form textarea,
    .form-group input {
        padding: 10px 12px;
    }
}