/* Mayra's Scrunchies - Modern E-commerce Styles */

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

:root {
    --primary: #ec4899;
    --primary-dark: #db2777;
    --secondary: #8b5cf6;
    --accent: #f472b6;
    --background: #0a0a0a;
    --surface: #111111;
    --surface-elevated: #1a1a1a;
    --border: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 0.75rem;
    --radius-sm: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Announcement Bar */
.announcement-bar {
    background: #ec4899;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    margin-left: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
}

.close-btn:hover {
    color: #fce7f3;
}

/* Header */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    padding: 0 1rem;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    transition: var(--transition);
    display: block;
    max-width: 100%;
    object-fit: contain;
}

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

@media (min-width: 640px) {
    .logo-img {
        height: 3rem;
    }
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: #ec4899;
    background: var(--surface);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(236, 72, 153, 0.1);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .header-icons {
        gap: 0.25rem;
    }

    .header-icons .icon-btn {
        min-width: 40px;
        min-height: 40px;
        padding: 0.5rem;
    }

    .header-content {
        height: 4rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 360px) {
    .header-icons {
        gap: 0.125rem;
    }

    .nav-desktop .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: #ec4899;
    background: var(--surface-elevated);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background: #ec4899;
    color: white;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    border-top: 1px solid #374151;
    padding: 1rem 0;
    flex-direction: column;
    gap: 0.5rem;
    background: #000000;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link-mobile:hover {
    color: #ec4899;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: #ec4899;
    animation-delay: 0s;
}

.floating-2 {
    top: 10rem;
    right: 5rem;
    width: 20rem;
    height: 20rem;
    background: #3b82f6;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 5rem;
    left: 33%;
    width: 18rem;
    height: 18rem;
    background: #f472b6;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    text-align: left;
    color: var(--text-primary);
    position: relative;
    z-index: 10;
    max-width: 50rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-pink {
    color: #ec4899;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 42rem;
    margin: 0 0 2rem 0;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 0;
}

.btn:hover::before {
    left: 100%;
}

.btn span,
.btn i,
.btn svg {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary span,
.btn-primary:hover span,
.btn-primary i,
.btn-primary:hover i,
.btn-primary svg,
.btn-primary:hover svg {
    color: white !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-primary) !important;
    background: transparent;
}

.btn-outline:hover {
    background: var(--surface-elevated);
    color: var(--text-primary) !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline,
.btn-outline:hover,
.btn-outline span,
.btn-outline:hover span,
.btn-outline i,
.btn-outline:hover i,
.btn-outline svg,
.btn-outline:hover svg {
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: unset !important;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: #000000;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.text-pink {
    color: #ec4899;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background: #ec4899;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
}

.filter-btn-clear {
    border: 1px solid #4b5563;
    color: #d1d5db;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn-clear:hover {
    color: #ec4899;
    border-color: #ec4899;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    group: hover;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    border-radius: var(--radius);
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-image-container {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.product-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, #f472b6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image.active {
    opacity: 1;
}

.product-image.blue {
    background: linear-gradient(135deg, #60a5fa, #06b6d4);
}

.product-image.neon {
    background: linear-gradient(135deg, #f472b6, #3b82f6);
}

.product-image.dark {
    background: linear-gradient(135deg, #374151, #1f2937);
}

.image-dots {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.25rem;
    z-index: 10;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ec4899;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.new-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #ec4899;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
}

.product-placeholder {
    text-align: center;
    color: var(--text-primary);
}

.scrunchie-visual {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrunchie-inner {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.product-hover-actions {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-hover-actions {
    opacity: 1;
}

.action-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background: white;
}

.action-btn.primary {
    background: #ec4899;
    color: white;
}

.action-btn.primary:hover {
    background: #db2777;
}

.product-info {
    padding: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.875rem;
}

.review-count {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-left: 0.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.product-card:hover .product-name {
    color: var(--primary);
}

.product-details {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-sizes,
.product-colors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.size-label,
.color-label {
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 3rem;
}

.size-list,
.color-list {
    color: var(--text-primary);
    font-weight: 500;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ec4899;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Discount Pricing Styles */
.price-original {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1rem;
    font-weight: normal;
}

.price-sale {
    color: #dc2626;
    font-weight: 600;
}

/* Ensure product images can contain positioned badges */
.product-card .product-image {
    position: relative;
}

/* Discount and Featured Badges */
.badge-sale,
.badge-featured {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-featured {
    background: #f59e0b;
    top: 0.75rem;
    left: 0.75rem;
    right: auto;
}

.add-btn {
    background: #ec4899;
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.add-btn:hover {
    background: #db2777;
}

/* Features Section */
.features-section {
    margin-top: 5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 1.5rem;
    background: #1f2937;
    border-radius: 0.5rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon.pink {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.feature-icon.blue {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.feature-icon.purple {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-icon .circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: currentColor;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--background);
    color: var(--text-primary);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ec4899;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ec4899;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Shopping Cart */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    z-index: 50;
    transition: right 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

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

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 49;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

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

.cart-header h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    color: white;
    transition: color 0.2s;
}

.close-cart:hover {
    color: #ec4899;
}

.cart-content {
    padding: 1rem;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.cart-content p, .cart-content span, .cart-content div {
    color: white;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
}

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

/* Responsive Design */

/* Mobile First - Base styles for mobile */

.products-grid {
    grid-template-columns: 1fr;
}

.features-grid {
    grid-template-columns: 1fr;
}

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

.header-content {
    padding: 0 0.5rem;
}

.container {
    padding: 0 1rem;
}

/* Small Mobile (320px+) */
@media (min-width: 320px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

/* Large Mobile (480px+) */
@media (min-width: 480px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .cart-sidebar {
        width: 400px;
        right: -400px;
    }
    
    .container {
        padding: 0 2rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .floating-1, .floating-2, .floating-3 {
        display: block;
    }
    
    .cart-sidebar {
        width: 500px;
        right: -500px;
    }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .hero-title {
        font-size: 5.5rem;
    }
    
    .container {
        max-width: 1280px;
    }
}

/* Extra Large Desktop (1536px+) */
@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Admin Panel Responsive */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .admin-nav {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
    }
    
    .admin-nav-link {
        white-space: nowrap;
        min-width: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .admin-user {
        gap: 0.5rem;
    }
}

/* Auth Pages Responsive */
@media (max-width: 640px) {
    .auth-card {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .auth-header {
        padding: 1rem;
    }
    
    .auth-content {
        padding: 1rem;
    }
}

/* Cart Page Responsive */
@media (max-width: 1024px) {
    .cart-page-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Checkout Responsive */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr !important;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .checkout-step {
        font-size: 0.75rem;
    }
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
    
    .faq-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Product Detail Page Styles */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-main-image {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumbnail-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #ec4899 #1f2937;
}

.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 3px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: #ec4899;
    border-radius: 3px;
}

.thumbnail {
    width: 5rem;
    height: 5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: #ec4899;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #ec4899;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.3);
}

.image-nav-btn {
    transition: all 0.3s ease;
}

.image-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7) !important;
    transform: translateY(-50%) scale(1.1);
}

.size-btn, .color-btn {
    transition: all 0.3s ease;
}

.size-btn:hover {
    transform: translateY(-1px);
}

.color-btn:hover {
    transform: scale(1.1);
}

.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #ec4899 !important;
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

/* Product Detail Responsive */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .thumbnail-container {
        justify-content: center;
    }
    
    .size-options, .color-options {
        justify-content: center;
    }
    
    .product-tabs {
        overflow-x: auto;
    }
    
    .product-tabs > div {
        min-width: max-content;
    }
    
    .image-nav-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .image-nav-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (max-width: 480px) {
    .product-detail-grid {
        gap: 1.5rem;
    }
    
    .thumbnail {
        width: 4rem;
        height: 4rem;
    }
    
    .size-btn, .color-btn {
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .product-info-section {
        padding: 0 0.5rem;
    }
}

/* Admin Styles */
.admin-body {
    background: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
}

.admin-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.admin-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.admin-user:hover {
    background: var(--surface);
    border-color: var(--primary);
}

.admin-avatar {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.admin-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-sidebar {
    width: 16rem;
    background: var(--surface);
    border-right: 1px solid var(--border);
    min-height: calc(100vh - 100px);
    padding: 1rem 0;
}

.admin-nav {
    padding: 0 1rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 0.25rem;
    position: relative;
    border: 1px solid transparent;
}

.admin-nav-link:hover {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border-color: var(--border);
    transform: translateX(4px);
}

.admin-nav-link.active {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.admin-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0 2px 2px 0;
}

.admin-main {
    flex: 1;
    padding: 1.5rem;
    background: var(--background);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stat-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--error);
}

.orders-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.orders-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.orders-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface-elevated);
}

.orders-content {
    padding: 1.25rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: var(--surface-elevated);
    transition: var(--transition);
}

.order-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.order-info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.order-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.order-meta {
    text-align: right;
}

.order-total {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    box-shadow: var(--shadow);
}

/* Auth Styles */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 50%, #1a1625 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5%, 5%) rotate(5deg); }
    50% { transform: translate(0, 10%) rotate(10deg); }
    75% { transform: translate(-5%, 5%) rotate(5deg); }
}

.auth-card {
    width: 100%;
    max-width: 28rem;
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ec4899, #8b5cf6, transparent);
}

.auth-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    position: relative;
}

.auth-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ec4899;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

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

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #9ca3af;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.auth-content {
    padding: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: white;
    transition: all 0.3s;
}

.auth-input::placeholder {
    color: #6b7280;
}

.auth-input:focus {
    outline: none;
    border-color: #ec4899;
    background: rgba(10, 10, 15, 0.9);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1), 0 0 20px rgba(236, 72, 153, 0.2);
    transform: translateY(-2px);
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ec4899;
    font-size: 1.1rem;
    pointer-events: none;
}

.auth-submit {
    width: 100%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.auth-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.auth-submit:hover::before {
    left: 100%;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.auth-links p {
    color: #9ca3af;
    margin: 0;
}

.auth-links a {
    color: #ec4899;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: #f472b6;
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(236, 72, 153, 0.2);
}

.auth-divider::before {
    margin-right: 1rem;
}

.auth-divider::after {
    margin-left: 1rem;
}

.demo-credentials {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-credentials:hover {
    background: rgba(10, 10, 15, 0.8);
    border-color: rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
}

.demo-credentials p {
    margin: 0.25rem 0;
}

.demo-credentials strong {
    color: #ec4899;
    display: block;
    margin-bottom: 0.5rem;
}

.otp-section {
    padding: 1rem;
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 0.75rem;
    margin: 0.5rem 0;
}

.otp-section p {
    color: #9ca3af;
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
}

.resend-otp {
    color: #ec4899;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding: 0;
    transition: color 0.2s;
}

.resend-otp:hover {
    color: #f472b6;
}

.error-message {
    display: none;
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.success-message {
    display: none;
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.hidden { display: none; }

/* New Section Styles */

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto;
}

/* Why Our Scrunchies Section */
.why-scrunchies-section {
    padding: 5rem 0;
    background: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(236, 72, 153, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon.pink {
    background: #ec4899;
}

.feature-icon.blue {
    background: #3b82f6;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Style Your Way Section */
.style-your-way-section {
    padding: 5rem 0;
    background: #000000;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.style-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    position: relative;
}

.style-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pink-gradient {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.3));
}

.blue-gradient {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.3));
}

.purple-gradient {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.3));
}

.gray-gradient {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2), rgba(107, 114, 128, 0.3));
}

.mixed-gradient {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(59, 130, 246, 0.2));
}

.style-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.style-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.style-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.style-content p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Crafted with Love Section */
.crafted-with-love-section {
    padding: 5rem 0;
    background: #000000;
}

.crafted-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.crafted-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.process-steps {
    margin-bottom: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon.pink {
    background: #ec4899;
}

.step-icon.blue {
    background: #3b82f6;
}

.step-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.btn-blue {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.btn-blue:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.crafted-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.image-card {
    aspect-ratio: 1;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.image-card:hover {
    transform: scale(1.05);
}

.image-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.image-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-content p {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Best Sellers Section */
.best-sellers-section {
    padding: 5rem 0;
    background: #000000;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.best-sellers-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.view-all-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-link:hover {
    color: #2563eb;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: rgba(236, 72, 153, 0.3);
    transform: translateY(-4px);
}

.product-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-content {
    text-align: center;
    color: white;
}

.product-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
}

.add-to-cart-btn {
    background: #ec4899;
    color: white;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: #db2777;
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #000000;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(236, 72, 153, 0.3);
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #ec4899;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: #ec4899;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.customer-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.customer-status {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #581c87, #be185d);
}

.newsletter-content {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.newsletter-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-privacy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Instagram Section */
.instagram-section {
    padding: 5rem 0;
    background: #000000;
}

.instagram-handle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instagram-card {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.instagram-content {
    text-align: center;
    color: white;
}

.instagram-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

.chat-btn {
    width: 3.5rem;
    height: 3.5rem;
    background: #ec4899;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.chat-btn:hover {
    background: #db2777;
    transform: scale(1.1);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: #ec4899;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .crafted-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .crafted-images {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .best-sellers-section .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo-img {
        height: 2rem;
    }
}

/* ==================== COMPREHENSIVE RESPONSIVE STYLES ==================== */

/* Hide desktop nav on mobile/tablet */
@media (max-width: 767px) {
    .nav-desktop {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }
}

/* Product Detail Page Responsive */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .thumbnail-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .size-options, .color-options {
        flex-wrap: wrap;
    }
}

/* Checkout Page Responsive */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr !important;
    }

    .checkout-steps {
        display: none !important;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

@media (max-width: 640px) {
    .checkout-grid > div:first-child {
        order: 1;
    }

    .checkout-grid > div:last-child {
        order: 2;
    }
}

/* Admin Panel Mobile Responsive */
@media (max-width: 768px) {
    .admin-header {
        padding: 0.75rem 1rem;
    }

    .admin-header-content {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .admin-logo {
        font-size: 1.25rem;
    }

    .admin-main {
        padding: 1rem;
    }

    .admin-nav-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.875rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-content {
        width: 95% !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    .order-item {
        padding: 0.75rem;
    }

    .orders-header {
        padding: 0.875rem 1rem;
    }

    .orders-content {
        padding: 1rem;
    }
}

/* Cart Sidebar Responsive */
@media (max-width: 640px) {
    .cart-sidebar {
        width: 100% !important;
        right: -100% !important;
    }

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

/* Product Cards Responsive */
@media (max-width: 480px) {
    .product-card {
        margin: 0.5rem 0;
    }

    .product-name {
        font-size: 0.875rem;
    }

    .product-price {
        font-size: 1rem;
    }
}

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Forms Responsive */
@media (max-width: 640px) {
    .auth-card {
        width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }

    .auth-form input,
    .auth-form button {
        font-size: 16px !important;
    }
}

/* Grid Layouts Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

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

/* Typography Responsive */
@media (max-width: 640px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem !important;
    }
}

/* Spacing Responsive */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 0;
    }
}

/* Buttons Responsive */
@media (max-width: 640px) {
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
    }
}

/* Product Image Gallery Mobile */
@media (max-width: 640px) {
    .main-image-container {
        aspect-ratio: 1 / 1;
    }

    .image-nav-btn {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    .thumbnail {
        width: 4rem !important;
        height: 4rem !important;
    }
}

/* Stats Grid Responsive */
@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.875rem !important;
    }

    .stat-value {
        font-size: 1.5rem !important;
    }

    .stat-title {
        font-size: 0.7rem !important;
    }
}

/* Modal Responsive */
@media (max-width: 768px) {
    #addProductModal {
        padding: 1rem !important;
    }

    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
}

/* Touch-friendly spacing */
@media (max-width: 768px) {
    .icon-btn {
        min-width: 44px;
        min-height: 44px;
    }

    button,
    a.btn,
    .btn {
        min-height: 44px;
    }
}

/* Horizontal scroll for tables */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 600px;
    }
}

/* Prevent horizontal scroll */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }
}

/* Landscape mobile specific */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .modal-content {
        max-height: 80vh;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Tablet / Small Desktop */
@media (min-width: 1024px) and (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
}

/* Improve touch targets on mobile */
@media (hover: none) {
    .nav-link-mobile {
        padding: 1rem;
        font-size: 1rem;
    }

    .icon-btn {
        padding: 1rem;
    }
}

/* ==================== MODERN ECOMMERCE UI ENHANCEMENTS ==================== */

/* Modern Product Cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3), 0 15px 25px rgba(0, 0, 0, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

/* Modern Buttons */
.btn-primary {
    position: relative;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    color: white !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary span,
.btn-primary i,
.btn-primary *,
.btn-primary:hover,
.btn-primary:hover span,
.btn-primary:hover i,
.btn-primary:hover * {
    position: relative;
    z-index: 1;
    color: white !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

.btn-outline {
    position: relative;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}

.btn-outline:hover::before {
    width: 300%;
    height: 300%;
}

.btn-outline:hover {
    color: white !important;
    border-color: transparent;
}

.btn-outline span,
.btn-outline i,
.btn-outline *,
.btn-outline:hover span,
.btn-outline:hover i,
.btn-outline:hover * {
    position: relative;
    z-index: 1;
}

.btn-outline:hover,
.btn-outline:hover span,
.btn-outline:hover i,
.btn-outline:hover * {
    color: white !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

/* Glass Morphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Animated Gradients */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animated {
    background: linear-gradient(-45deg, #ec4899, #8b5cf6, #06b6d4, #10b981);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

/* Modern Input Fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
    outline: none;
}

/* Floating Labels */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0.75rem 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group label {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0.25rem;
    font-size: 0.75rem;
    color: var(--primary);
}

/* Skeleton Loading */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}

/* Badges & Tags */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    color: var(--primary);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.2));
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Modern Cards */
.modern-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.modern-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.modern-card:hover::after {
    transform: scaleX(1);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Modern Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--surface);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

/* Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 1rem;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--surface);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
}

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

/* Selection Color */
::selection {
    background: rgba(236, 72, 153, 0.3);
    color: var(--text-primary);
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Disabled State */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Admin Nav Icons */
.admin-nav-link i {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==== ADMIN PANEL TEXT READABILITY FIXES ==== */
/* Fix all dark text on dark backgrounds - ensure all admin text is light colored */

/* Admin page headings and paragraphs should be light */
.admin-main h1,
.admin-main h2,
.admin-main h3,
.admin-main h4,
.admin-main h5,
.admin-main h6 {
    color: var(--text-primary) !important;
}

.admin-main p {
    color: var(--text-secondary) !important;
}

/* Table headers and text should be light */
.admin-main table th {
    color: var(--text-primary) !important;
}

.admin-main table td {
    color: var(--text-secondary) !important;
}

.admin-main table td p,
.admin-main table td div {
    color: inherit !important;
}

.admin-main table td strong,
.admin-main table td .font-weight-500 {
    color: var(--text-primary) !important;
}

/* Orders card text should be light */
.orders-header h2,
.orders-header p {
    color: var(--text-primary) !important;
}

.order-info h4 {
    color: var(--text-primary) !important;
}

.order-info p {
    color: var(--text-secondary) !important;
}

/* All inline styled dark colors should be overridden */
.admin-main [style*="color: #111827"],
.admin-main [style*="color: #374151"],
.admin-main [style*="color: #6b7280"],
.admin-main [style*="color: black"],
.admin-main [style*="color:#111827"],
.admin-main [style*="color:#374151"],
.admin-main [style*="color:#6b7280"] {
    color: var(--text-primary) !important;
}

/* Muted text should use text-secondary */
.admin-main [style*="color: #9ca3af"],
.admin-main [style*="color:#9ca3af"] {
    color: var(--text-secondary) !important;
}

/* Ensure input fields and form elements have proper colors */
.admin-main input,
.admin-main select,
.admin-main textarea {
    background: var(--surface-elevated) !important;
    color: var(--text-primary) !important;
    border-color: var(--border) !important;
}

.admin-main input::placeholder,
.admin-main select::placeholder,
.admin-main textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Fix modal content text */
#addProductModal h3,
#addProductModal h4 {
    color: #111827 !important; /* Keep dark in modal as modal has light background */
}

#addProductModal [style*="color: #374151"],
#addProductModal [style*="color: #6b7280"] {
    color: inherit; /* Keep original colors in modal */
}

/* Buttons in admin should have proper text color */
.admin-main .btn {
    color: white !important;
}

.admin-main button[style*="color: white"] {
    color: white !important;
}

/* Specific fixes for table content */
.admin-main tbody tr td > div p:first-child {
    color: var(--text-primary) !important;
    font-weight: 500;
}

.admin-main tbody tr td > div p:last-child {
    color: var(--text-secondary) !important;
}

/* ==== COMPACT TABLE STYLES FOR ADMIN ==== */
/* Make tables more modern and compact */

.admin-main table {
    font-size: 0.875rem;
}

.admin-main table th {
    padding: 0.75rem !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.admin-main table td {
    padding: 0.75rem !important;
    font-size: 0.875rem;
}

.admin-main table tr {
    transition: background-color 0.2s ease;
}

.admin-main table tbody tr:hover {
    background: var(--surface-elevated);
}

/* Compact buttons in tables */
.admin-main table button {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.75rem !important;
    border-radius: var(--radius-sm);
}

/* Compact badges and status indicators */
.admin-main table .badge,
.admin-main table span[style*="background"] {
    padding: 0.25rem 0.625rem !important;
    font-size: 0.7rem !important;
    border-radius: 0.25rem;
}

