/* ============================================
   DUVANNE LUXURY - MODERN GLASSMORPHISM DESIGN
   ============================================ */

/* Core Variables & Reset */
:root {
    /* Purple/Black Theme */
    --primary-purple: #8B5CF6;
    --primary-purple-light: #A78BFA;
    --primary-purple-dark: #7C3AED;
    --accent-gold: #F59E0B;
    --accent-gold-light: #FBBF24;

    /* Backgrounds */
    --bg-dark: #0a0a0f;
    --bg-darker: #05050a;
    --bg-card: rgba(20, 20, 35, 0.8);
    --bg-glass: rgba(139, 92, 246, 0.1);
    --bg-glass-strong: rgba(139, 92, 246, 0.2);

    /* Text */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #1e1e2e;

    /* Effects */
    --glass-border: rgba(139, 92, 246, 0.3);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, var(--bg-darker) 100%);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(167, 139, 250, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
.logo,
.product-name {
    font-family: 'Cinzel', serif;
}

/* ============================================
   AUTHENTICATION WRAPPER
   ============================================ */

.auth-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, var(--bg-darker) 100%);
    z-index: 1000;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.auth-wrapper.hidden {
    display: none;
}

.container {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glow), var(--shadow-card);
    position: relative;
    overflow: hidden;
    width: 800px;
    max-width: 95%;
    min-height: 550px;
    z-index: 1;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: var(--transition-slow);
    background: var(--bg-card);
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 5;
}

.container.right-panel-active .sign-in-container {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    animation: show 0.6s;
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}

/* Overlay Section */
.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: var(--transition-slow);
    z-index: 100;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 50%, var(--primary-purple-light) 100%);
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: var(--transition-slow);
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: var(--transition-slow);
}

.overlay-panel h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.overlay-panel p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.overlay-left {
    transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

/* Forms & Inputs */
form {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

form h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-purple-light), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-title {
    font-size: 2.5rem !important;
    letter-spacing: 3px;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 14px 18px;
    margin: 8px 0;
    width: 100%;
    color: var(--text-white);
    border-radius: 12px;
    outline: none;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

input::placeholder {
    color: var(--text-muted);
}

input:focus {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

span {
    font-size: 12px;
    color: var(--text-muted);
    margin: 15px 0;
}

a {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-purple-light);
}

/* Buttons */
button {
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary-purple-dark), var(--primary-purple));
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-normal);
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
}

button:active {
    transform: scale(0.98);
}

button.ghost {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

button.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

button.gold-btn {
    background: linear-gradient(135deg, var(--primary-purple-dark), var(--primary-purple));
}

button.gold-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    margin-top: 15px;
    font-size: 0.9em;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.app-dashboard {
    width: 100%;
    min-height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 500;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    margin: 0;
    padding: 10px 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: var(--transition-normal);
}

.nav-links a:hover {
    background: var(--bg-glass);
}

.nav-links a.active {
    color: var(--primary-purple-light);
    background: var(--bg-glass-strong);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

#welcome-msg {
    color: var(--text-muted);
    font-size: 14px;
}

.logout-btn {
    padding: 10px 25px;
    font-size: 11px;
    background: transparent;
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

.logout-btn:hover {
    background: var(--bg-glass);
    border-color: var(--primary-purple);
}

/* Cart Icon */
.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.cart-icon-wrapper:hover {
    background: var(--bg-glass);
}

.cart-icon-wrapper i {
    font-size: 20px;
    color: var(--text-light);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-purple);
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.8), rgba(139, 92, 246, 0.2)),
        url('https://images.unsplash.com/photo-1615655406736-b37c4fabf923?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(transparent, var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-white), var(--primary-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-muted);
    line-height: 1.7;
}

.cta-btn {
    padding: 18px 50px;
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.products-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-purple-light), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
    display: block;
    transition: var(--transition-normal);
}

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

.product-info {
    padding: 25px;
    text-align: center;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.product-price {
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    font-size: 12px;
    margin-top: 0;
}

/* ============================================
   CART SIDEBAR
   ============================================ */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 999;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--glass-border);
}

.cart-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple-light), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    box-shadow: none;
}

.cart-close:hover {
    color: var(--primary-purple-light);
    transform: none;
    box-shadow: none;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-glass);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.cart-item:hover {
    border-color: var(--primary-purple);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-white);
}

.cart-item-price {
    color: var(--primary-purple-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--bg-glass-strong);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    font-size: 16px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.qty-btn:hover {
    background: var(--primary-purple);
    transform: none;
}

.cart-item-qty {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    box-shadow: none;
    font-size: 18px;
}

.cart-item-remove:hover {
    color: #f87171;
    transform: none;
    box-shadow: none;
}

.cart-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Coupon Section */
.coupon-section {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
}

.coupon-input-wrapper {
    display: flex;
    gap: 10px;
}

.coupon-input-wrapper input {
    flex: 1;
    margin: 0;
    padding: 12px 15px;
    font-size: 14px;
}

.coupon-btn {
    padding: 12px 20px;
    margin: 0;
    font-size: 11px;
    white-space: nowrap;
}

.coupon-success {
    margin-top: 10px;
    padding: 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #22c55e;
    font-size: 13px;
    display: none;
}

.coupon-success.active {
    display: block;
}

.coupon-error {
    margin-top: 10px;
    color: #ef4444;
    font-size: 13px;
    display: none;
}

.coupon-error.active {
    display: block;
}

/* Cart Footer */
.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 10, 20, 0.5);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.cart-summary-row.discount {
    color: #22c55e;
}

.cart-summary-row.total {
    font-size: 18px;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.cart-summary-row.total span:last-child {
    color: var(--primary-purple-light);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    font-size: 14px;
    background: linear-gradient(135deg, var(--primary-purple-dark), var(--primary-purple));
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */

.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    padding: 20px;
}

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

.checkout-modal {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.checkout-overlay.active .checkout-modal {
    transform: scale(1);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--glass-border);
}

.checkout-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple-light), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    box-shadow: none;
}

.checkout-close:hover {
    color: var(--primary-purple-light);
    transform: none;
    box-shadow: none;
}

.checkout-content {
    padding: 30px;
}

.checkout-section {
    margin-bottom: 30px;
}

.checkout-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-purple-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-section h3 i {
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.form-group input {
    margin: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Order Summary in Checkout */
.order-summary {
    background: var(--bg-glass);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--glass-border);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--glass-border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    color: var(--text-light);
}

.order-item-price {
    color: var(--primary-purple-light);
    font-weight: 600;
}

.order-total-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--glass-border);
}

/* Stripe Element */
#card-element {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    transition: var(--transition-normal);
}

#card-element:focus-within {
    border-color: var(--primary-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

#card-errors {
    color: #ef4444;
    font-size: 13px;
    margin-top: 10px;
}

.place-order-btn {
    width: 100%;
    padding: 18px;
    font-size: 15px;
    margin-top: 10px;
}

.place-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 12px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    transform: translateX(200%);
    transition: var(--transition-normal);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.active {
    transform: translateX(0);
}

.notification.success {
    border-color: #22c55e;
}

.notification.success i {
    color: #22c55e;
}

.notification.error {
    border-color: #ef4444;
}

.notification.error i {
    color: #ef4444;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    text-align: center;
    padding: 40px;
    background: rgba(5, 5, 10, 0.8);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 80px;
}

.hidden {
    display: none !important;
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .container {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
    }

    .form-container {
        width: 100%;
        position: relative;
        height: auto;
        min-height: 500px;
    }

    .sign-in-container,
    .sign-up-container {
        width: 100%;
        position: relative;
    }

    .sign-up-container {
        display: none;
    }

    .container.right-panel-active .sign-in-container {
        display: none;
    }

    .container.right-panel-active .sign-up-container {
        display: flex;
        opacity: 1;
        transform: none;
    }

    .overlay-container {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    form {
        padding: 40px 30px;
    }

    .navbar {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }

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

    .products-section {
        padding: 50px 20px;
    }

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

    .cart-sidebar {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-modal {
        max-height: 100vh;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.6rem;
    }

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

    .products-section h3 {
        font-size: 1.8rem;
    }
}