/* --- URBAN ZEN THEME VARIABLES --- */
:root {
    --bg-body: #ffffff;
    --bg-surface: #f3f4f6;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent-color: #a3e635; /* Lime Green */
    --accent-text: #1a2e05;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 65px;
    --radius-lg: 24px;
    --radius-md: 12px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    padding-bottom: calc(var(--nav-height) + 20px);
}

@media (min-width: 992px) { body { padding-bottom: 0; } }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* --- HEADER --- */
.desktop-header {
    padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.nav-link-desk {
    text-transform: uppercase; font-weight: 600; font-size: 0.85rem;
    margin-left: 30px; text-decoration: none; color: var(--text-main);
    position: relative; cursor: pointer;
}
.nav-link-desk:hover { color: var(--text-muted); }

/* Cart Badge Styles */
.badge-count {
    position: absolute; top: -8px; right: -8px;
    background: #ef4444; color: white;
    font-size: 0.6rem; font-weight: bold;
    padding: 2px 6px; border-radius: 10px;
    display: none; /* Hidden initially */
}

@media (max-width: 991px) { .desktop-header { display: none; } }

/* --- MOBILE NAV --- */
.mobile-nav {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; height: 65px;
    background: #ffffff;
    border-radius: 50px;
    display: flex; justify-content: space-around; align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.nav-tab {
    color: #9ca3af; text-decoration: none; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 50%;
    transition: all 0.3s ease; position: relative;
}
.nav-tab.active { color: var(--text-main); background: var(--bg-surface); }

/* Mobile Dot */
.cart-dot-nav {
    position: absolute; top: 12px; right: 12px;
    width: 8px; height: 8px; background-color: #ef4444;
    border-radius: 50%; border: 2px solid #fff;
    display: none; 
}

@media (min-width: 992px) { .mobile-nav { display: none; } }

/* --- HERO --- */
.hero-wrap {
    height: 85vh; min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    position: relative; padding: 0 20px; padding-top: 80px;
    background-color: var(--bg-surface);
    margin-bottom: 40px;
}

.hero-img-box {
    position: absolute; top: 0; right: 0; width: 50%; height: 100%;
    /* [INSTRUCTION] HERO IMAGE: Replace 'placeholder' with url('images/hero.jpg') */
    background: #e5e7eb; 
    background-size: cover; background-position: center;
    z-index: 0;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content {
    width: 50%; padding-right: 50px; z-index: 1; position: relative;
}

.hero-title { font-size: 4.5rem; line-height: 0.95; margin-bottom: 20px; color: var(--text-main); }
.hero-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 40px; max-width: 400px; line-height: 1.6; }

.btn-urban {
    background: var(--text-main); color: #fff;
    border: none; padding: 15px 40px; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem;
    transition: transform 0.2s;
}
.btn-urban:hover { transform: scale(1.05); color: #fff; }

@media (max-width: 991px) {
    .hero-wrap { flex-direction: column; height: auto; padding-top: 120px; padding-bottom: 60px; text-align: center; }
    .hero-img-box { position: relative; width: 100%; height: 400px; order: -1; margin-bottom: 40px; clip-path: none; border-radius: var(--radius-lg); }
    .hero-content { width: 100%; padding: 0; }
    .hero-title { font-size: 3rem; }
    .hero-sub { margin: 0 auto 30px auto; }
}

/* --- PRODUCT --- */
.product-card {
    background: #fff; border-radius: var(--radius-md);
    overflow: hidden; cursor: pointer; transition: transform 0.2s;
    border: 1px solid #f0f0f0;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.prod-img {
    aspect-ratio: 1/1; background: var(--bg-surface);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}

.img-item { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { color: #9ca3af; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }

.prod-info { padding: 15px; }
.prod-cat { font-size: 0.7rem; color: var(--accent-text); background: var(--accent-color); padding: 2px 8px; border-radius: 4px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 5px; }
.prod-name { font-size: 1rem; font-weight: 600; margin: 0; }
.prod-price { font-family: var(--font-body); font-weight: 700; color: var(--text-muted); font-size: 0.9rem; margin-top: 5px; }

/* --- DROP SECTION & LOOKBOOK --- */
.drop-section {
    background: var(--text-main); color: white;
    border-radius: var(--radius-lg); padding: 60px 40px;
    text-align: center; margin-bottom: 60px; position: relative; overflow: hidden;
}
.drop-section::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
    z-index: 0; pointer-events: none;
}
.drop-content { position: relative; z-index: 1; }

.timer-box { display: inline-flex; gap: 15px; margin: 30px 0; }
.time-unit { background: rgba(255,255,255,0.1); padding: 15px; border-radius: 12px; min-width: 80px; }
.time-val { font-size: 2rem; font-weight: 700; font-family: var(--font-display); line-height: 1; display: block; }
.time-label { font-size: 0.7rem; text-transform: uppercase; color: #9ca3af; }

/* Featured Look */
.featured-look {
    background: #fff; border: 1px solid #eee; border-radius: var(--radius-lg); overflow: hidden;
    display: flex; margin-top: 40px;
}
.featured-img { width: 50%; min-height: 400px; background: #eee; position: relative; overflow: hidden; }
.featured-info { width: 50%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) { 
    .featured-look { flex-direction: column; } 
    .featured-img, .featured-info { width: 100%; }
    .featured-img { height: 300px; }
}

/* --- FOOTER --- */
.site-footer {
    background: var(--bg-surface); padding: 60px 20px 100px 20px;
    margin-top: 60px; text-align: center; border-top: 1px solid #eee;
}
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; display: block; text-decoration: none; color: var(--text-main); }
.social-links a { color: var(--text-main); font-size: 1.2rem; margin: 0 10px; transition: color 0.2s; }
.social-links a:hover { color: var(--accent-text); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; margin-top: 30px; }

/* --- UTILS --- */
.form-control-clean {
    background: var(--bg-surface); border: none; color: var(--text-main);
    border-radius: 12px; padding: 15px; font-family: var(--font-body);
    width: 100%; margin-bottom: 15px;
}
.form-control-clean:focus { outline: 2px solid var(--accent-color); background: #fff; }

.offcanvas { border: none; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.cart-item { padding: 15px; background: var(--bg-surface); border-radius: 12px; display: flex; gap: 15px; align-items: center; margin-bottom: 15px; }
.cart-thumb { width: 60px; height: 60px; border-radius: 8px; background: #ddd; object-fit: cover; }

.app-view { display: none; padding-top: 100px; animation: fadeUp 0.4s ease; }
.app-view.active-view { display: block; }
@media (max-width: 991px) { .app-view { padding-top: 20px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Payment Option Cards */
.payment-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin-bottom: 10px;
}
.payment-option:hover {
    border-color: #ddd;
    background-color: #fafafa;
}
.payment-option.selected {
    border-color: var(--accent-color);
    background-color: #f0fdf4; /* Light green tint */
}
.payment-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Preloader Styles */
.preloader-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Warning Popup Styles */
.warning-container {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.warning-icon {
    font-size: 3rem;
    color: #ef4444; /* Red color for warning */
    margin-bottom: 10px;
}