:root {
    /* "Aura" Gradient Theme */
    --bg: #FDFBF9;
    --card-bg: #FFFFFF;
    --text: #403D39;
    --text-muted: #8C5A66;

    --primary: #C3A382;
    --primary-dark: #A68A6D;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #C3A382 0%, #8C5A66 100%);
    --gradient-bg: linear-gradient(135deg, #FDFBF9 0%, #F3E7E0 100%);
    --gradient-dark: linear-gradient(135deg, #403D39 0%, #8C5A66 100%);

    --green-btn: #403D39;
    --orange-btn: #C3A382;
    --yellow-btn: #D9C2BA;

    --border: #EFE6E1;

    --font-main: 'Outfit', sans-serif;
    --nav-height: 65px;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(195, 163, 130, 0.15);
}

/* Logo Sizing */
.logo-img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-brand-text {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    background: var(--gradient-bg);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
}

body {
    background: white;
    /* Content background */
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.5;
    padding-bottom: 70px;
    /* Space for bottom nav */
    margin: 0 auto;
    max-width: 800px;
    /* Constrain for laptop/desktop responsiveness */
    position: relative;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
    /* Soft shadow for the 'app' container */
}

/* --- Common Components --- */
.container {
    padding: 0 16px;
}

.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: opacity 0.2s;
}

.btn:active {
    opacity: 0.8;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner for loading state */
.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

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


.icon-btn {
    background: none;
    border: none;
    color: var(--text);
    padding: 8px;
    cursor: pointer;
    position: relative;
}

/* --- Header --- */
.app-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.search-bar {
    background: var(--bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 10px;
}

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}

.search-bar i {
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

/* --- Categories --- */
.categories-section {
    padding: 20px 0 0 16px;
}

.section-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.categories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    cursor: pointer;
}

.cat-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cat-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Banner --- */
.banner-section {
    padding: 20px 16px;
}

.banner-card {
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 24px;
    color: white;
    /* Text stays white on dark beige */
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(198, 169, 140, 0.4);
    animation: floating-banner 6s ease-in-out infinite;
}

@keyframes floating-banner {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.banner-tag {
    background: #000000;
    /* Black tag on beige banner for luxury look */
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.banner-text h2 {
    font-size: 1.8rem;
    margin: 10px 0 20px;
    line-height: 1.2;
}

.banner-btn {
    background: white;
    color: black;
    width: auto;
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* --- Product Grid --- */
.products-section {
    padding: 0 16px 20px;
}

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

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.section-header a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    /* Box shadow removed for cleaner look, simulating a simple card */
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(195, 163, 130, 0.15);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border: none;
    cursor: pointer;
}

.wishlist-btn i {
    width: 16px;
    height: 16px;
    color: #ef4444;
    /* Red heart */
}

.product-img-wrapper {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    padding: 20px;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-img-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-slider img,
.product-img-slider video {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-img-slider img.active,
.product-img-slider video.active {
    opacity: 1;
    z-index: 1;
}

.slider-indicator {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-details {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-brand {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.current-price {
    font-weight: 700;
    font-size: 1rem;
}

.add-btn {
    background: var(--gradient-dark);
    color: white;
    font-size: 0.9rem;
    padding: 8px;
    border-radius: 6px;
}

/* --- Bottom Nav --- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: var(--nav-height);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 900;
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    width: 25%;
}

.nav-item i {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active i {
    transform: translateY(-4px) scale(1.1);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* --- Overlays (Cart & Checkout) --- */
.full-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    background-attachment: fixed;
    z-index: 2000;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    overflow-y: auto;
}

.full-page-overlay.active {
    display: flex;
}

.overlay-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.overlay-header h2 {
    font-size: 1.1rem;
}

.close-overlay,
.close-checkout {
    background: none;
    border: none;
    cursor: pointer;
}

/* Cart Items */
.cart-content {
    flex: 1;
    padding: 16px;
}

.cart-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

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

.item-details {
    flex: 1;
}

.item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-price {
    font-weight: 700;
    margin-bottom: 8px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-val {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Sticky Footer */
.sticky-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 16px;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
}

.checkout-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 14px;
    border-radius: 30px;
}

/* --- Checkout Specifics (Amazon Style) --- */
.checkout-content {
    padding: 16px;
}

.checkout-section {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.checkout-section h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.address-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 4px 0 8px;
}

.change-link {
    font-size: 0.85rem;
    color: #007185;
    text-decoration: none;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    /* Align top to handle subtitles */
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.payment-option:last-child {
    border-bottom: none;
}

.payment-option input {
    margin-top: 4px;
    accent-color: var(--orange-btn);
    transform: scale(1.2);
}

.payment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.payment-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.selected-method {
    background-color: #fcf5ee;
    /* Slight orange tint background */
    margin: -12px;
    padding: 12px;
    border: 1px solid #fbd8b4;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.total-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 800;
    color: #b12704;
    /* Amazon red for total */
}

.place-order-btn {
    background-color: var(--yellow-btn);
    color: black;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    padding: 14px;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    text-align: center;
    width: 80%;
    max-width: 320px;
    display: none;
}

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

.success-icon {
    width: 60px;
    height: 60px;
    background: #4ADE80;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

/* --- Floating Action Dock --- */
.floating-dock {
    position: fixed;
    bottom: 80px;
    right: max(20px, calc(50% - 380px));
    /* Responsive right spacing */
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    align-items: center;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    color: var(--text);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.float-btn i,
.float-btn svg {
    width: 24px;
    height: 24px;
}

/* Specific Button Colors */
.admin-btn {
    background: #1F2937;
    color: white;
    border: 2px solid #C3A382;
    animation: admin-glow 2s infinite;
}

@keyframes admin-glow {
    0% {
        box-shadow: 0 0 5px rgba(195, 163, 130, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(195, 163, 130, 0.8);
    }

    100% {
        box-shadow: 0 0 5px rgba(195, 163, 130, 0.4);
    }
}

body.admin-mode #admin-dashboard-btn {
    display: flex !important;
}

.call-btn {
    background: #0073BB;
    color: white;
}

.call-btn i {
    color: white;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn svg {
    fill: white;
}

.music-btn {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
    color: #fff;
}

.music-btn i {
    color: white;
    /* Ensure lucide icon is white */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.instagram-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.instagram-btn i {
    color: white;
    /* Ensure lucide icon is white */
}

.refresh-btn {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

.refresh-btn i {
    color: var(--primary);
}

/* --- Admin Panel Styles (Restored) --- */
.admin-product-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    align-items: center;
    background: white;
}

.admin-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.admin-p-info {
    flex: 1;
}

.admin-p-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.admin-p-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-actions {
    display: flex;
    gap: 8px;
}

.admin-actions .edit-btn {
    background: #EFF6FF;
    color: var(--primary);
    border-radius: 6px;
}

.admin-actions .delete-btn {
    background: #FEF2F2;
    color: #EF4444;
    border-radius: 6px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
}

.admin-tab {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

.admin-tab.active {
    background: var(--primary);
    /* Changed to primary from light for better visibility if var missing */
    color: white;
    /* Changed to white for contrast */
}

/* Admin Customer List */
.admin-customer-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    margin-top: 10px;
    gap: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.customer-avatar {
    width: 48px;
    height: 48px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.customer-info {
    flex: 1;
}

.customer-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.customer-detail {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

/* Admin Dashboard Stats */
.admin-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Order List */
.admin-order-item {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.order-id {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-customer {
    font-weight: 600;
    margin-bottom: 5px;
}

.order-items {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.order-total {
    font-weight: 700;
    color: var(--green-btn);
}

.order-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.status-pending {
    background: #FEF3C7;
    color: #D97706;
}

.status-completed {
    background: #DCFCE7;
    color: #166534;
}

/* Admin Tabs Scrollable */
.admin-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.admin-tabs::-webkit-scrollbar {
    display: none;
}

/* Profile Page Styles */
.profile-content {
    padding: 20px;
    background: #FCF9F6;
    min-height: calc(100% - 60px);
    overflow-y: auto;
}

.profile-user-card {
    background: white;
    padding: 30px 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #F3ECE7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #C6A98C;
}

.profile-avatar i {
    width: 40px;
    height: 40px;
}

.profile-user-details h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
}

.profile-user-details p {
    color: #888;
    font-size: 0.9rem;
}

.profile-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    background: white;
    padding: 16px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.option-item:active {
    transform: scale(0.98);
    background: #f9f9f9;
}

.option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.option-sub {
    font-size: 0.8rem;
    color: #999;
}

.chevron {
    color: #CCC;
    width: 18px;
}

.logout-item {
    margin-top: 20px;
    border: 1px solid #fee2e2;
}

.logout-item .option-icon {
    background: #fee2e2;
    color: #ef4444;
}

.logout-item .option-title {
    color: #ef4444;
}

/* Switch Styling for Profile */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #C6A98C;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --- Welcome Popup Styles --- */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 6000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.welcome-popup.active {
    display: flex;
    opacity: 1;
}

.welcome-content {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.welcome-popup.active .welcome-content {
    transform: translateY(0);
}

.welcome-icon {
    margin-bottom: 20px;
}

.welcome-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    padding: 5px;
    background: white;
}

.welcome-content h2 {
    color: var(--text);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.welcome-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.welcome-btn {
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px;
    padding: 16px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(198, 169, 140, 0.4);
}

.place-order-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 16px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(198, 169, 140, 0.4);
}

/* --- Order Status Badges --- */
.order-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-shipped {
    background-color: #E0F2FE;
    color: #0369A1;
}

.status-delivered {
    background-color: #DCFCE7;
    color: #15803D;
}

/* --- Notification Toast | Gemini 3.1 Pro --- */
.notif-toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 18px;
    display: flex;
    gap: 16px;
    z-index: 10000;
    box-shadow: var(--glass-shadow);
    transition: top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notif-toast.active {
    top: 25px;
}

.notif-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text);
}

.notif-msg {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Admin History Items */
.notif-history-item {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.notif-history-item:hover {
    transform: scale(1.02);
}

.notif-history-meta {
    font-size: 0.75rem;
    color: #999;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
}