/* ==========================================================================
   SIGIL LABS STORE - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

:root {
    --bg-dark: #07090e;
    --bg-card: #0f131d;
    --bg-card-hover: #161b29;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.4);

    --primary-emerald: #10b981;
    --primary-emerald-glow: rgba(16, 185, 129, 0.25);
    --accent-cyan: #06b6d4;
    --accent-violet: #8b5cf6;
    --accent-gold: #f59e0b;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-sub: #64748b;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --font-body: 'Outfit', sans-serif;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
    background-attachment: fixed;
}

/* ==========================================
   TOP ANNOUNCEMENT BANNER
   ========================================== */
.top-banner {
    background: linear-gradient(90deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ecfdf5;
    font-size: 0.85rem;
    padding: 8px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
    z-index: 100;
}

.banner-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(52, 211, 153, 0.6);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 90;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-gem {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-violet) 0%, var(--primary-emerald) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.logo-gem.small {
    width: 32px;
    height: 32px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 60%, var(--primary-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-sub);
    letter-spacing: 0.12em;
    font-weight: 700;
}

.search-bar {
    flex: 1;
    max-width: 420px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar svg {
    position: absolute;
    left: 14px;
    color: var(--text-sub);
}

.search-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 10px 16px 10px 42px;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.search-bar input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-emerald);
}

.cart-trigger {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.cart-trigger:hover {
    background: var(--primary-emerald);
    color: #07090e;
    box-shadow: 0 0 15px var(--primary-emerald-glow);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-violet);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-dark);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    padding: 60px 24px 40px;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-emerald) 0%, var(--accent-cyan) 50%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 36px;
}

.hero-desc strong {
    color: #ffffff;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.h-feature {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.h-feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hf-icon {
    font-size: 1.8rem;
}

.h-feature strong {
    font-size: 0.95rem;
    display: block;
    color: var(--text-main);
}

.h-feature p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================
   STORE CATALOG & FILTERS
   ========================================== */
.store-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.filter-tab.active {
    background: var(--primary-emerald);
    color: #07090e;
    border-color: var(--primary-emerald);
    box-shadow: 0 0 15px var(--primary-emerald-glow);
}

.catalog-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-sub);
}

/* ==========================================
   PRODUCT GRID & CARD
   ========================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.card-img-wrap {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #000;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #38bdf8;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary-emerald);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 6px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-main);
    cursor: pointer;
}

.card-title:hover {
    color: var(--primary-emerald);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Split Price Box */
.price-split-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: auto;
    margin-bottom: 16px;
}

.price-full-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-sub);
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
}

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

.deposit-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.deposit-amount {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-emerald);
    letter-spacing: -0.01em;
}

.price-remaining-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-sub);
    margin-top: 4px;
}

/* Card Action Buttons */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-emerald) 0%, #059669 100%);
    border: none;
    color: #07090e;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-it-works-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0 12px;
}

.section-header p {
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-4px);
}

.step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   SLIDING CART DRAWER
   ========================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #0d1019;
    border-left: 1px solid var(--border-color);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-emerald);
}

.cart-title h3 {
    font-size: 1.15rem;
    color: var(--text-main);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover {
    color: white;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-sub);
    padding: 40px 0;
    font-size: 0.95rem;
}

.cart-item {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

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

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-split {
    font-size: 0.78rem;
    color: var(--primary-emerald);
    font-weight: 700;
}

.cart-item-total {
    font-size: 0.75rem;
    color: var(--text-sub);
}

.remove-item-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 4px;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
}

.cart-summary {
    margin-bottom: 16px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 8px;
}

.striked-val {
    text-decoration: line-through;
}

.summary-split-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}

.split-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.split-line small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-sub);
}

.split-line.highlight strong {
    color: #6ee7b7;
    font-size: 0.95rem;
}

.big-green {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-emerald);
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-emerald) 0%, #059669 100%);
    border: none;
    color: #07090e;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.checkout-btn:hover {
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
    filter: brightness(1.1);
}

.cart-secure-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-top: 10px;
}

/* ==========================================
   MODALS (CHECKOUT & DETAILS)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #0f1420;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-box.modal-wide {
    max-width: 780px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

.checkout-notice {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #a5f3fc;
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.submit-order-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
    transition: all 0.2s ease;
}

.submit-order-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.6);
}

/* Modal Product Details */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
}

.detail-img-wrap {
    width: 100%;
    height: 340px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-specs-list {
    list-style: none;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-specs-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.detail-specs-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-emerald);
    font-weight: bold;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #05070a;
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 40px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 12px 0 8px;
}

.footer-brand p {
    color: var(--text-sub);
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-brand .copyright {
    margin-top: 24px;
    font-size: 0.75rem;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-emerald);
}

.wa-link {
    color: #34d399 !important;
    font-weight: 600;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 860px) {
    .nav-container {
        flex-wrap: wrap;
    }
    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   USER ACCOUNT & AUTH SYSTEM
   ========================================== */
.account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.account-trigger:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-emerald);
    color: #ecfdf5;
}

.user-avatar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-emerald);
}

.account-trigger.logged-in .user-avatar-icon {
    background: linear-gradient(135deg, var(--primary-emerald), var(--accent-cyan));
    color: #07090e;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.auth-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: var(--primary-emerald);
    color: #07090e;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.auth-form.active {
    display: flex;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 8px 0;
    color: var(--text-sub);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 12px;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 12px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Checkbox in Checkout */
.checkbox-group {
    background: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #ecfdf5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-emerald);
    cursor: pointer;
}

/* Dashboard User Header */
.dashboard-user-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-big-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-emerald), var(--accent-cyan));
    color: #07090e;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.dash-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-verified-badge {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
}

/* Dashboard Tabs */
.dash-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin: 16px 0;
    overflow-x: auto;
}

.dash-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dash-tab:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.dash-tab.active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.dash-view {
    display: none;
}

.dash-view.active {
    display: block;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.order-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: border-color 0.2s ease;
}

.order-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

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

.order-code {
    font-family: var(--font-mono);
    color: var(--primary-emerald);
    font-size: 0.85rem;
    font-weight: 700;
}

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

.order-status-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-processing {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-shipped {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.order-items-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.order-money-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    font-size: 0.88rem;
}

.order-wa-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s ease;
}

.order-wa-support-btn:hover {
    background: rgba(16, 185, 129, 0.2);
}

/* Payments Box */
.payments-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.payment-method-card.active {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.03);
}

.pm-icon {
    font-size: 1.8rem;
}

.pm-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.pm-info p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 2px;
}

.pm-status {
    margin-left: auto;
    font-family: var(--font-mono);
    color: var(--primary-emerald);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Dashboard Footer */
.dashboard-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.18);
}

/* ==========================================
   AMAZON AFFILIATE STYLING (sigillabs-21)
   ========================================== */
.tab-amazon {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.tab-amazon:hover, .tab-amazon.active {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25) !important;
}

.product-card.product-amazon {
    border-color: rgba(245, 158, 11, 0.18);
}

.product-card.product-amazon:hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
}

.badge-amazon {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #07090e !important;
    font-weight: 800 !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.amazon-price-container {
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amz-ref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.amz-usd {
    font-family: var(--font-mono);
    color: #fbbf24;
    font-size: 1.15rem;
    font-weight: 800;
}

.amz-ars-row {
    font-size: 0.82rem;
    color: var(--text-sub);
}

.amz-badge-note {
    font-size: 0.76rem;
    color: #f59e0b;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed rgba(245, 158, 11, 0.2);
}

.btn-amazon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #07090e;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    color: #000;
}
