/* ========================================
   COMBINED MODERN CUTE STYLES
   ======================================== */

:root {
    --lavender: #DABBE0;
    --blue: #93AECA;
    --pink: #ECAAC2;
    --lavender-rgb: 218, 187, 224;
    --blue-rgb: 147, 174, 202;
    --pink-rgb: 236, 170, 194;
}

* {
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   COLOR UTILITIES
   ======================================== */

.text-lavender { color: rgb(var(--lavender-rgb)); }
.text-blue { color: rgb(var(--blue-rgb)); }
.text-pink { color: rgb(var(--pink-rgb)); }
.bg-lavender { background-color: rgb(var(--lavender-rgb)); }
.bg-blue { background-color: rgb(var(--blue-rgb)); }
.bg-pink { background-color: rgb(var(--pink-rgb)); }
.border-lavender { border-color: rgb(var(--lavender-rgb)); }
.border-blue { border-color: rgb(var(--blue-rgb)); }
.border-pink { border-color: rgb(var(--pink-rgb)); }

/* ========================================
   GRADIENT UTILITIES
   ======================================== */

.gradient-primary { 
    background: linear-gradient(135deg, rgb(var(--lavender-rgb)), rgb(var(--pink-rgb))); 
}
.gradient-lavender { 
    background: linear-gradient(135deg, rgb(var(--lavender-rgb)), #d8b2d8);
}
.gradient-blue { 
    background: linear-gradient(135deg, rgb(var(--blue-rgb)), #7ba7d9);
}
.gradient-pink { 
    background: linear-gradient(135deg, rgb(var(--pink-rgb)), #ff9fbb);
}
.gradient-cute { 
    background: linear-gradient(135deg, #ff6b9d, #ffa8cc, #ffb3d9);
}
.gradient-fresh-1 { 
    background: linear-gradient(135deg, #a8e6cf, #dcedc1);
}
.gradient-fresh-2 { 
    background: linear-gradient(135deg, #ffaaa5, #ff8a80);
}
.gradient-fresh-3 { 
    background: linear-gradient(135deg, #b3e5fc, #81d4fa);
}
.gradient-soft {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(var(--lavender-rgb), 0.1));
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

@keyframes slide-in {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounce-cute {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0, -30px, 0); }
    70% { transform: translate3d(0, -15px, 0); }
    90% { transform: translate3d(0, -4px, 0); }
}

@keyframes wiggle {
    0%, 7% { transform: rotateZ(0); }
    15% { transform: rotateZ(-15deg); }
    20% { transform: rotateZ(10deg); }
    25% { transform: rotateZ(-10deg); }
    30% { transform: rotateZ(6deg); }
    35% { transform: rotateZ(-4deg); }
    40%, 100% { transform: rotateZ(0); }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-heart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cart-slide-in {
    from { 
        opacity: 0; 
        transform: translateX(100%); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slide-in-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes subtle-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(218, 187, 224, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(218, 187, 224, 0.5); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   ANIMATION CLASSES
   ======================================== */

.slide-in { animation: slide-in 0.6s ease-out forwards; }
.fade-in { animation: fade-in 0.6s ease-out forwards; }
.scale-in { animation: scale-in 0.5s ease-out forwards; }
.bounce-cute { animation: bounce-cute 2s ease-in-out infinite; }
.wiggle { animation: wiggle 2s ease-in-out infinite; }
.float-gentle { animation: float-gentle 3s ease-in-out infinite; }
.pulse-heart { animation: pulse-heart 1.5s ease-in-out infinite; }
.fade-up { animation: fade-up 0.6s ease-out forwards; }
.cart-slide-in { animation: cart-slide-in 0.4s ease-out forwards; }
.slide-in-up { animation: slide-in-up 0.8s ease-out forwards; }
.subtle-glow { animation: subtle-glow 2s ease-in-out infinite; }
.gradient-animate { 
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

.emoji-float {
    display: inline-block;
    animation: float-gentle 2s ease-in-out infinite;
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

.sidebar {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(218, 187, 224, 0.3);
}

.main-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

.sidebar-item {
    padding: 12px 20px;
    margin: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.sidebar-item:hover {
    background: rgba(218, 187, 224, 0.1);
}

.sidebar-item.active {
    background: linear-gradient(135deg, rgba(236, 170, 194, 0.2), rgba(218, 187, 224, 0.2));
    color: rgb(var(--pink-rgb));
    font-weight: 600;
}

/* ========================================
   CARD COMPONENTS
   ======================================== */

.card-modern {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(218, 187, 224, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(218, 187, 224, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(218, 187, 224, 0.25);
    border-color: rgba(218, 187, 224, 0.5);
}

.card-product {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(218, 187, 224, 0.2);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(218, 187, 224, 0.25);
    border-color: rgba(218, 187, 224, 0.4);
}

.stats-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(218, 187, 224, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(218, 187, 224, 0.2);
}

.price-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(var(--lavender-rgb), 0.1));
    border: 1px solid rgba(218, 187, 224, 0.2);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.form-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(218, 187, 224, 0.3);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(218, 187, 224, 0.2);
}

.faq-modern {
    border: 1px solid rgba(218, 187, 224, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 187, 224, 0.2);
}

.testimonial-modern {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(218, 187, 224, 0.3);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(218, 187, 224, 0.25);
}

/* ========================================
   BUTTON COMPONENTS
   ======================================== */

.btn-modern {
    background: linear-gradient(135deg, rgb(var(--pink-rgb)), rgb(var(--lavender-rgb)));
    border: none;
    border-radius: 16px;
    padding: 14px 28px;
    font-weight: 600;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(236, 170, 194, 0.3);
    cursor: pointer;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 170, 194, 0.4);
}

.btn-modern::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.6s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(var(--pink-rgb)), rgb(var(--lavender-rgb)));
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(236, 170, 194, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(218, 187, 224, 0.3);
    border-radius: 16px;
    padding: 16px 32px;
    font-weight: 600;
    color: rgb(var(--lavender-rgb));
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgb(var(--lavender-rgb));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(218, 187, 224, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(218, 187, 224, 0.3);
    border-radius: 50px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    color: #6b7280;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.filter-btn.active {
    background: linear-gradient(45deg, rgb(var(--lavender-rgb)), rgb(var(--pink-rgb)));
    color: white;
    border-color: rgb(var(--lavender-rgb));
}

.tab-button {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(218, 187, 224, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #6b7280;
    cursor: pointer;
}

.tab-button.active {
    background: linear-gradient(45deg, rgb(var(--lavender-rgb)), rgb(var(--pink-rgb)));
    color: white;
    border-color: rgb(var(--lavender-rgb));
}

.quantity-btn {
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(218, 187, 224, 0.3);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quantity-btn:hover {
    border-color: rgb(var(--lavender-rgb));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 187, 224, 0.3);
}

/* ========================================
   INPUT COMPONENTS
   ======================================== */

.input-modern {
    border: 2px solid rgba(218, 187, 224, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    width: 100%;
    outline: none;
}

.input-modern:focus {
    border-color: rgb(var(--pink-rgb));
    box-shadow: 0 0 0 3px rgba(236, 170, 194, 0.1);
    background: rgba(255, 255, 255, 1);
}

.quantity-input {
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(218, 187, 224, 0.3);
    border-radius: 12px;
    width: 60px;
    height: 40px;
    text-align: center;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    border-color: rgb(var(--lavender-rgb));
    box-shadow: 0 0 0 3px rgba(218, 187, 224, 0.2);
}

.search-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(218, 187, 224, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: rgb(var(--lavender-rgb));
    box-shadow: 0 0 0 3px rgba(218, 187, 224, 0.2);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    padding: 15px 20px;
    width: 100%;
    border-radius: 25px;
}

.input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgb(var(--pink-rgb));
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: rgb(var(--lavender-rgb));
}

/* ========================================
   PRODUCT COMPONENTS
   ======================================== */

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 200px;
    background: linear-gradient(135deg, rgba(218, 187, 224, 0.1), rgba(236, 170, 194, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: saturate(1.1) contrast(1.05);
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(218, 187, 224, 0.1), rgba(236, 170, 194, 0.1));
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.product-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.preview-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(218, 187, 224, 0.3);
}

/* ========================================
   NAVIGATION COMPONENTS
   ======================================== */

.navbar-modern,
.navbar-cute {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(218, 187, 224, 0.2);
}

.breadcrumb {
    color: rgb(var(--blue-rgb));
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb:hover {
    color: rgb(var(--lavender-rgb));
}

/* ========================================
   MODAL COMPONENTS
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid rgba(218, 187, 224, 0.3);
}

.modal.active .modal-content {
    transform: scale(1);
}

/* ========================================
   CART COMPONENTS
   ======================================== */

.cart-modern {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 420px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(218, 187, 224, 0.3);
    box-shadow: -10px 0 30px rgba(218, 187, 224, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.cart-modern.active {
    transform: translateX(0);
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid rgba(218, 187, 224, 0.3);
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));
}

.cart-content {
    padding: 24px;
    height: calc(100vh - 160px);
    overflow-y: auto;
}

.cart-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 187, 224, 0.2);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 187, 224, 0.15);
}

.cart-counter {
    background: linear-gradient(45deg, rgb(var(--pink-rgb)), rgb(var(--lavender-rgb)));
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
    animation: pulse-heart 1.5s infinite;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   TABLE COMPONENTS
   ======================================== */

.table-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(218, 187, 224, 0.2);
}

.table-modern thead {
    background: linear-gradient(135deg, rgba(218, 187, 224, 0.1), rgba(236, 170, 194, 0.1));
}

.table-modern tbody tr:hover {
    background: rgba(218, 187, 224, 0.05);
}

/* ========================================
   BADGE COMPONENTS
   ======================================== */

.category-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.category-music { background: linear-gradient(135deg, #8b5cf6, #a855f7); color: white; }
.category-movie { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.category-education { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.category-editing { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.category-other { background: linear-gradient(135deg, #6366f1, #4f46e5); color: white; }

.feature-badge {
    background: linear-gradient(135deg, rgba(var(--blue-rgb), 0.2), rgba(var(--lavender-rgb), 0.2));
    border: 1px solid rgba(218, 187, 224, 0.3);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgb(var(--lavender-rgb));
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stock-indicator {
    background: linear-gradient(135deg, rgba(var(--pink-rgb), 0.2), rgba(var(--lavender-rgb), 0.2));
    border: 1px solid rgba(236, 170, 194, 0.3);
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: rgb(var(--pink-rgb));
}

/* ========================================
   SPECIAL EFFECTS
   ======================================== */

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.6;
}

.cute-blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float-gentle 4s ease-in-out infinite;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float-gentle 4s ease-in-out infinite;
}

.floating-shape:nth-child(2) {
    animation-delay: -1s;
}

.floating-shape:nth-child(3) {
    animation-delay: -2s;
}

.rating-stars {
    color: #fbbf24;
    margin-right: 8px;
}

.description-section {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(218, 187, 224, 0.15);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
}

.icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 100;
        height: 100vh;
        width: 250px;
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .card-modern:hover,
    .card-product:hover {
        transform: translateY(-4px);
    }
    
    .product-card {
        margin: 16px;
        border-radius: 20px;
    }
    
    .cart-modern {
        width: 100vw;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .card-modern,
    .card-product {
        border-radius: 16px;
        margin: 8px;
    }
    
    .modal-content {
        margin: 20px;
        padding: 24px;
    }
    
    .cart-modern {
        width: 100vw;
        border-radius: 0;
    }
    
    .btn-modern {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .input-modern {
        padding: 10px 14px;
        font-size: 16px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.w-full { width: 100%; }
.h-full { height: 100%; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: bold; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 20px; }
.rounded-full { border-radius: 50%; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1); }
.m-0 { margin: 0; }
.m-1 { margin: 4px; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.m-5 { margin: 20px; }
.m-6 { margin: 24px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 4px; }
.ml-2 { margin-left: 8px; }
.ml-3 { margin-left: 12px; }
.ml-4 { margin-left: 16px; }
.ml-5 { margin-left: 20px; }
.ml-6 { margin-left: 24px; }
.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.mr-4 { margin-right: 16px; }
.mr-5 { margin-right: 20px; }
.mr-6 { margin-right: 24px; }
.p-0 { padding: 0; }
.p-1 { padding: 4px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 4px; }
.pt-2 { padding-top: 8px; }
.pt-3 { padding-top: 12px; }
.pt-4 { padding-top: 16px; }
.pt-5 { padding-top: 20px; }
.pt-6 { padding-top: 24px; }
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 4px; }
.pb-2 { padding-bottom: 8px; }
.pb-3 { padding-bottom: 12px; }
.pb-4 { padding-bottom: 16px; }
.pb-5 { padding-bottom: 20px; }
.pb-6 { padding-bottom: 24px; }
.pl-0 { padding-left: 0; }
.pl-1 { padding-left: 4px; }
.pl-2 { padding-left: 8px; }
.pl-3 { padding-left: 12px; }
.pl-4 { padding-left: 16px; }
.pl-5 { padding-left: 20px; }
.pl-6 { padding-left: 24px; }
.pr-0 { padding-right: 0; }
.pr-1 { padding-right: 4px; }
.pr-2 { padding-right: 8px; }
.pr-3 { padding-right: 12px; }
.pr-4 { padding-right: 16px; }
.pr-5 { padding-right: 20px; }
.pr-6 { padding-right: 24px; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:-translate-y-2:hover { transform: translateY(-8px); }
.active\:scale-95:active { transform: scale(0.95); }

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(218, 187, 224, 0.5), rgba(236, 170, 194, 0.5));
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(218, 187, 224, 0.7), rgba(236, 170, 194, 0.7));
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    .card-modern,
    .card-product {
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.8));
        border-color: rgba(218, 187, 224, 0.2);
    }
    
    .input-modern {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(218, 187, 224, 0.3);
        color: white;
    }
    
    .navbar-modern,
    .navbar-cute {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.8));
    }
    
    .sidebar {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.9));
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .btn-modern,
    .cart-modern,
    .modal,
    .floating-shape {
        display: none !important;
    }
    
    .card-modern,
    .card-product {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .gradient-primary,
    .gradient-lavender,
    .gradient-blue,
    .gradient-pink {
        background: #f8fafc !important;
        color: #1f2937 !important;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.focus-visible:focus-visible {
    outline: 2px solid rgb(var(--pink-rgb));
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}