/* CSS Variables for Premium Theme */
:root {
    /* iOS 26 Liquid Glass Palette */
    --bg-deep: #000000;
    --accent-gold: #d4b06a;
    --accent-liquid: rgba(212, 176, 106, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    /* Ultra transparent */
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: 40px;
    /* Deep blur */
    --text-primary: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.5);
    --transition-liquid: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Typography */
h1,
h2,
h3,
.brand-logo {
    font-family: 'Playfair Display', serif;
}

h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Liquid Background System */
.liquid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-deep);
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: flow 20s infinite alternate var(--transition-liquid);
    will-change: transform;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-liquid) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #2a1b3d 0%, transparent 70%);
    bottom: -10%;
    right: 5%;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0a192f 0%, transparent 70%);
    top: 30%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes flow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 150px) scale(1.1);
    }
}

/* Glass Components Overhaul */
.navbar.scrolled,
.modal-content.auth-modal,
.cart-sidebar,
.product-card,
.toast {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.navbar {
    padding: 2rem 5% !important;
}

.navbar.scrolled {
    padding: 1.2rem 5% !important;
}

.hero {
    background: transparent !important;
}

.hero-subtitle {
    color: var(--accent-gold);
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 176, 106, 0.05);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.btn-luxury,
.btn-primary {
    border-radius: 100px !important;
    /* Organic rounding */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b88a44 100%) !important;
}

.btn-outline-luxury {
    border-radius: 100px !important;
    border: 1px solid var(--glass-border) !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
}

/* Scrollbar Modernization */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Navbar Modernization */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    flex: 1;
    /* Take space to push links to center */
}

.logo-icon {
    width: 35px;
    height: 35px;
    border: 1.5px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    /* Take space to push links to center */
    justify-content: flex-end;
    /* Align actions to the right */
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Hero Modern / Editorial Style */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/hero-pattern.svg') center/cover;
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    z-index: 2;
}

.hero-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    display: block;
    animation: fadeInDown 1s var(--transition);
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2rem;
    font-style: italic;
    animation: revealText 1.2s var(--transition);
}

.hero h1 span {
    display: block;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 3rem auto;
    color: var(--text-secondary);
    font-weight: 300;
    animation: fadeInUp 1s var(--transition) 0.5s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s var(--transition) 0.8s both;
}

.btn-luxury {
    padding: 1.2rem 3rem;
    background: var(--accent-gold);
    color: #000;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s var(--transition);
}

.btn-luxury:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 176, 106, 0.2);
    background: #e5c385;
}

.btn-outline-luxury {
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s var(--transition);
}

.btn-outline-luxury:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Products Section 3.0 */
.products-section {
    padding: 100px 5%;
    background: var(--bg-deep);
}

.section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--accent-gold);
    margin-bottom: 10px;
}

.controls-container {
    max-width: 1000px;
    margin: 0 auto 5rem auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.search-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    /* Pill shape for liquid look */
}

.search-input {
    color: #fff;
}

.product-card {
    border-radius: 32px !important;
    /* Extra round */
    overflow: hidden;
    padding: 2rem !important;
}

.product-image {
    mix-blend-mode: screen;
    /* Makes backgrounds disappear if they are white/light */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Sort Styles */
.sort-container {
    position: relative;
}

.sort-btn {
    padding: 18px 30px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.sort-btn:hover {
    border-color: var(--accent-gold);
    background: #1a1a1a;
}

.sort-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: #161616;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    overflow: hidden;
}

.sort-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    padding: 15px 25px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sort-option:last-child {
    border-bottom: none;
}

.sort-option:hover {
    background: #1f1f1f;
    color: var(--accent-gold);
    padding-left: 35px;
}

.sort-option.active {
    color: var(--accent-gold);
    background: rgba(212, 176, 106, 0.05);
}

/* Modern Product Grid & Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: #0f0f0f;
    border: 1px solid var(--glass-border);
    position: relative;
    padding: 1.5rem;
    transition: all 0.5s var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px);
    background: #141414;
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: grayscale(0.2);
    transition: all 0.5s var(--transition);
}

.product-card:hover .product-image {
    filter: grayscale(0);
    transform: scale(1.05);
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.product-price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.product-stock {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
}

.product-stock.low {
    color: #ffa502;
    background: rgba(255, 165, 2, 0.05);
}

.product-stock.out {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
}

.btn-add {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.product-card:hover .btn-add {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

.btn-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Luxury Footer */
footer {
    background: #050505;
    padding: 80px 5% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    border-radius: 2px;
}

.footer-social a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Minimalist Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: var(--bg-deep);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.6s var(--transition);
    border-left: 1px solid var(--glass-border);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

/* Profile Modal Specific Styles */
#profile-modal .modal-content {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(198, 165, 102, 0.3);
    padding: 2.5rem;
    max-width: 480px;
}

#profile-modal h2 {
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#profile-modal .tabs-header {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    flex-wrap: wrap;
    border-radius: 12px;
    margin: 2rem 0;
}

#profile-modal .tab-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#profile-modal .tab-btn.active {
    background: var(--accent-gold);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(198, 165, 102, 0.3);
}

#profile-modal .input-group label {
    color: var(--accent-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

#profile-modal .input-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.9rem;
    border-radius: 8px;
    width: 100%;
}

#profile-modal .input-group input:focus {
    border-color: var(--accent-gold);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

#profile-modal .google-management {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#profile-modal .google-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#profile-modal .google-info i {
    font-size: 1.8rem;
    color: #4285F4;
}

#profile-modal .btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

#logout-btn {
    margin-top: 2.5rem;
    background: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0 0 0;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

#logout-btn:hover {
    color: #ff4757;
    filter: drop-shadow(0 0 8px rgba(255, 71, 87, 0.2));
}

#logout-btn i {
    font-size: 1.1rem;
}

/* Modern Auth & Profile Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    /* Permite scroll si es muy alto */
    justify-content: center;
    padding: 3rem 1rem;
    overflow-y: auto;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-liquid);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content.auth-modal {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 3rem;
    max-width: 450px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.input-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    display: block;
}

.input-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    padding: 15px;
    font-family: inherit;
    color: #fff;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.auth-switch {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Tabs System Modernized */
.tabs-header {
    display: flex;
    gap: 30px;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
}

.tab-btn {
    padding: 15px 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 0;
    position: relative;
}

.tab-btn.active {
    color: var(--accent-gold);
    background: none;
    box-shadow: none;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    display: block;
}

/* Tabs System */
.tabs-header {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border: none;
}

.tab-btn {
    flex: 1;
    padding: 0.7rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--accent-gold);
    color: var(--surface-color);
    box-shadow: 0 4px 15px rgba(198, 165, 102, 0.3);
}

.tab-btn.active::after {
    display: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    display: block;
}

.mt-2 {
    margin-top: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--accent-gold);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.item-details {
    flex: 1;
}

.item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.item-price {
    color: var(--accent-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 0.9rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cart-total span:last-child {
    color: var(--accent-gold);
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: var(--accent-gold);
    color: #000;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-checkout:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-checkout:disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.modal-content {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    border: 1px solid rgba(198, 165, 102, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-icon {
    color: #4cd137;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.bank-details {
    background: var(--surface-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    color: var(--text-secondary);
}

.detail-row strong {
    color: var(--text-primary);
    font-family: monospace;
    font-size: 1.05rem;
}

.total-pay {
    margin-top: 0.5rem;
    padding-top: 1rem !important;
    border-top: 1px dashed var(--border-color) !important;
}

.total-pay strong {
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-size: 1.3rem;
}

.modal-actions {
    text-align: center;
}

.modal-actions p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealText {
    from {
        opacity: 0;
        letter-spacing: 15px;
        filter: blur(10px);
    }

    to {
        opacity: 1;
        letter-spacing: normal;
        filter: blur(0);
    }
}

.w-100 {
    width: 100%;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
    border: none;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 176, 106, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links a {
        display: none;
        /* Hide links on mobile for simplicity, keep cart */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.3rem;
    }

    .controls-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .search-container {
        width: 100%;
    }

    .sort-btn {
        width: 100%;
        justify-content: space-between;
    }

    .sort-dropdown {
        width: 100%;
        text-align: center;
    }
}

/* Auth Styling */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1200;
}

.user-auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    pointer-events: auto;
}

.user-auth-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
}

.user-auth-btn i {
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.user-auth-btn span {
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-modal {
    max-width: 400px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-group input {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    position: relative;
    background: #1a1a1a;
    padding: 0 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--accent-gold);
    font-weight: bold;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.w-100 {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide main links on mobile for clarity */
    }

    .nav-actions {
        gap: 1rem;
    }

    .user-auth-btn {
        padding: 0.8rem;
        /* Larger hit area */
        background: rgba(255, 255, 255, 0.1);
    }

    .user-auth-btn span {
        display: none;
    }
}

/* Premium Admin Dashboard - V3 Compact */
.dashboard-theme {
    max-width: 850px !important;
    width: 92% !important;
    background: #0c0c0c !important;
    border: 1px solid rgba(198, 165, 102, 0.15) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    padding: 0 !important;
    overflow-y: auto;
    max-height: 90vh;
}

.dashboard-header {
    background: linear-gradient(135deg, rgba(198, 165, 102, 0.06) 0%, transparent 100%);
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard-header h2 {
    font-size: 1.3rem;
    margin-bottom: 0.15rem;
    background: linear-gradient(45deg, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-header p {
    font-size: 0.75rem;
    opacity: 0.5;
    margin: 0;
}

.dashboard-quick-stats {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 1;
    transition: all 0.2s ease;
}

.stat-card::after {
    display: none;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(198, 165, 102, 0.2);
}

.stat-card i {
    background: rgba(198, 165, 102, 0.08);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--accent-gold);
}

.stat-card.alert i {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.08);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.6rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.dashboard-tabs {
    margin: 0.8rem 1.8rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.dashboard-tabs .tab-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
}

.admin-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(0, 0, 0, 0.15);
    gap: 1rem;
}

.admin-actions-bar .btn-primary {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.search-mini {
    position: relative;
    flex: 1;
    max-width: 280px;
}

.search-mini i {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.search-mini input {
    width: 100%;
    padding: 0.5rem 0.8rem 0.5rem 2.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
}

.search-mini input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.06);
}

.admin-table-wrapper {
    margin: 0.8rem 1.8rem 1.8rem 1.8rem;
    border: none;
    background: transparent;
    overflow-x: auto;
}

.admin-dashboard-table {
    width: 100%;
    border-spacing: 0 0.4rem;
    border-collapse: separate;
}

.admin-dashboard-table thead th {
    padding: 0 0.8rem 0.4rem 0.8rem;
    border: none;
    font-size: 0.6rem;
    opacity: 0.5;
    color: var(--accent-gold);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-dashboard-table tbody tr {
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s ease;
}

.admin-dashboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.admin-dashboard-table td {
    padding: 0.6rem 0.8rem;
    border: none;
    vertical-align: middle;
    font-size: 0.85rem;
}

.admin-dashboard-table td:first-child {
    border-radius: 8px 0 0 8px;
}

.admin-dashboard-table td:last-child {
    border-radius: 0 8px 8px 0;
}

.admin-prod-img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(198, 165, 102, 0.15);
}

.dashboard-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.badge-instock {
    border: 1px solid rgba(46, 204, 113, 0.25);
    color: #2ecc71;
    background: transparent;
}

.badge-outstock {
    border: 1px solid rgba(231, 76, 60, 0.25);
    color: #e74c3c;
    background: transparent;
}

.admin-edit-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.admin-edit-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.admin-edit-input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    width: 80px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    outline: none;
}

.admin-edit-input:focus {
    border-color: var(--accent-gold);
}

.admin-actions {
    display: flex;
    gap: 0.4rem;
}

.btn-admin-action {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.btn-admin-action.save:hover {
    background: var(--accent-gold);
    color: black;
    border-color: var(--accent-gold);
}

.btn-admin-action.delete:hover {
    background: #ff4757;
    color: white;
    border-color: #ff4757;
}

.toast-admin {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(198, 165, 102, 0.95);
    backdrop-filter: blur(10px);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-admin.show {
    transform: translateX(0);
}

/* Mobile Dashboard */
@media (max-width: 768px) {
    .dashboard-theme {
        width: 98% !important;
        max-height: 95vh;
    }

    .dashboard-header {
        padding: 1rem;
    }

    .dashboard-quick-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-actions-bar {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .admin-table-wrapper {
        margin: 0.5rem 0.8rem 1rem 0.8rem;
    }

    .admin-dashboard-table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }

    .admin-prod-img {
        width: 30px;
        height: 30px;
    }

    .admin-edit-input {
        width: 60px;
        font-size: 0.7rem;
        padding: 0.25rem;
    }
}

/* Admin Form Styles */
.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.admin-form-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.4);
}

.admin-form-group label i {
    color: var(--accent-gold);
    width: 14px;
    margin-right: 0.3rem;
    font-size: 0.65rem;
}

.admin-form-group input,
.admin-form-group select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.admin-form-group input:focus,
.admin-form-group select:focus {
    border-color: var(--accent-gold);
}

.admin-form-group select {
    appearance: none;
    cursor: pointer;
}

.admin-form-group select option {
    background: #1a1a1a;
    color: white;
}

.btn-admin-submit {
    width: 100%;
    padding: 0.8rem;
    background: var(--accent-gold);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-admin-submit:hover {
    background: #d4b06a;
    transform: translateY(-1px);
}

/* Image upload overlay */
.admin-img-upload {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.admin-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.admin-img-overlay i {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.admin-img-upload:hover .admin-img-overlay {
    opacity: 1;
}

/* File upload box */
.file-upload-box {
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-box:hover {
    border-color: var(--accent-gold);
    background: rgba(198, 165, 102, 0.04);
}

.file-upload-box i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.file-upload-box span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Confirm Modal */
.confirm-actions {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1.5rem;
}

.confirm-btn {
    flex: 1;
    padding: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.confirm-btn.cancel {
    color: rgba(255, 255, 255, 0.4);
}

.confirm-btn.cancel:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.confirm-btn.danger {
    color: #ff4757;
    font-weight: 700;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.confirm-btn.danger:hover {
    background: rgba(255, 71, 87, 0.1);
}

/* Toast Notifications System */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    pointer-events: auto;
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    overflow: hidden;
}

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success {
    border-left: 4px solid var(--accent-gold);
}

.toast.success .toast-icon {
    color: var(--accent-gold);
}

.toast.error {
    border-left: 4px solid #ff4757;
}

.toast.error .toast-icon {
    color: #ff4757;
}

.toast.warning {
    border-left: 4px solid #ffa502;
}

.toast.warning .toast-icon {
    color: #ffa502;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2px;
    display: block;
}

.toast-msg {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.toast-close {
    cursor: pointer;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    transition: color 0.2s;
    padding: 5px;
}

.toast-close:hover {
    color: #fff;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
}

.toast.success .toast-progress-bar {
    background: var(--accent-gold);
}

.toast.error .toast-progress-bar {
    background: #ff4757;
}

.toast.warning .toast-progress-bar {
    background: #ffa502;
}

/* Checkout Success Step Premium Styles */
.success-container {
    padding: 2rem 1rem;
    text-align: center;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon-wrapper {
    font-size: 4rem;
    color: #00ff88;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.4));
}

.success-container h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.order-id-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 176, 106, 0.15);
    border: 1px solid rgba(212, 176, 106, 0.5);
    border-radius: 50px;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.bank-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    text-align: left;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.bank-card-header {
    background: rgba(212, 176, 106, 0.2);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bank-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bank-row span {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.2px;
}

.bank-row strong {
    font-size: 1.1rem;
    color: #fff;
    word-break: break-all;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.success-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-whatsapp-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 1.3rem;
    background: #25d366 !important;
    color: #fff !important;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    font-size: 1.1rem;
}

.btn-whatsapp-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
    filter: brightness(1.2);
}

/* Fix for Admin Buttons overlap */
.admin-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-admin-action {
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}


/* Order Details Modal Styles */
.order-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.order-detail-info {
    display: flex;
    flex-direction: column;
}

.order-detail-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.order-detail-qty-price {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.order-detail-total {
    font-weight: 700;
    color: var(--accent-gold);
}

/* Red Delete Button for Admin */
.btn-admin-action.delete {
    background: rgba(255, 71, 87, 0.1) !important;
    color: #ff4757 !important;
}

.btn-admin-action.delete:hover {
    background: #ff4757 !important;
    color: #fff !important;
}



/* Custom Confirmation Modal Premium Styles */
#confirm-modal .modal-content {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

#confirm-title {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#confirm-message {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-luxury {
    background: var(--accent-gold);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-luxury:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.btn-outline-luxury {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Fix for overlapping modals (Admin vs Details/Confirm) */
#order-details-modal,
#confirm-modal {
    z-index: 9000 !important;
}

#order-details-modal .modal-content,
#confirm-modal .modal-content {
    z-index: 9001 !important;
}

/* User Orders History Styles - Premium Redesign */
.user-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 450px;
    overflow-y: auto;
    padding: 0.5rem 0.5rem 1rem 0;
    margin-top: 1.5rem;
}

.user-order-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.user-order-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 176, 106, 0.4);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.user-order-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-order-number {
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.user-order-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Outfit', sans-serif;
}

.user-order-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.user-order-price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.user-order-status {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
}

.status-pending {
    border: 1px solid rgba(212, 176, 106, 0.3);
    color: var(--accent-gold);
    background: rgba(212, 176, 106, 0.05);
}

.status-completed {
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

/* Scrollbar for User Orders */
.user-orders-list::-webkit-scrollbar {
    width: 3px;
}

.user-orders-list::-webkit-scrollbar-thumb {
    background: rgba(212, 176, 106, 0.3);
    border-radius: 10px;
}

/* Admin Badge Status Mapping */
.badge-pending {
    border: 1px solid rgba(212, 176, 106, 0.3);
    color: var(--accent-gold);
}

.badge-completed {
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}



/* Dangerous Actions Styling */
.btn-danger {
    background: rgba(255, 71, 87, 0.1) !important;
    color: #ff4757 !important;
    border: 1px solid rgba(255, 71, 87, 0.3) !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-danger:hover {
    background: #ff4757 !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.4);
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Product Details Modal Premium Styles */
#product-details-modal .modal-content {
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(212, 176, 106, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.product-modal-image-container {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.liquid-blob-mini {
    animation: pulseBlob 4s ease-in-out infinite alternate;
}

@keyframes pulseBlob {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@media (max-width: 768px) {
    .product-modal-content {
        flex-direction: column !important;
        overflow-y: auto !important;
        max-height: 90vh;
    }
    
    .product-modal-image-container {
        padding: 3rem 2rem !important;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .product-modal-info {
        padding: 2rem !important;
    }
}




/* DEFINITIVE PROFILE UI FIX - FLEXBOX Centering */
#profile-modal .auth-modal { max-width: 520px !important; width: 95% !important; padding: 2.5rem 1rem !important; }
#profile-modal .tabs-container { width: 100% !important; }
#profile-modal .tabs-header { display: flex !important; width: 100% !important; gap: 4px !important; margin: 1.5rem 0 !important; padding: 4px !important; background: rgba(255, 255, 255, 0.05) !important; border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; overflow: hidden !important; }
#profile-modal .tab-btn { flex: 1 !important; min-width: 0 !important; white-space: nowrap !important; overflow: hidden !important; padding: 12px 2px !important; font-size: 10px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; border-radius: 8px !important; opacity: 0.6 !important; background: transparent !important; color: #fff !important; border: none !important; cursor: pointer !important; text-align: center !important; transition: all 0.3s ease !important; }
#profile-modal .tab-btn.active { opacity: 1 !important; background: var(--accent-gold) !important; color: #000 !important; box-shadow: 0 4px 15px rgba(212, 176, 106, 0.3) !important; }
#profile-modal .auth-form { margin-top: 0 !important; }
