/* FILE PATH: /assets/css/style.css
   PURPOSE: NOVUSNINE main stylesheet - dark premium streetwear */

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:        #0a0a0a;
    --bg2:       #111111;
    --bg3:       #1a1a1a;
    --bg4:       #242424;
    --surface:   #161616;
    --border:    #2a2a2a;
    --border2:   #333333;

    --text:      #f0f0f0;
    --text2:     #a0a0a0;
    --text3:     #666666;

    --accent:    #e8c547;
    --accent2:   #c9a93a;
    --accent-dim:#e8c54720;

    --red:       #e05252;
    --green:     #4caf7d;
    --blue:      #5b8dee;
    --orange:    #e07c52;
    --purple:    #9b6ee8;
    --cyan:      #47c5d8;

    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.5);
    --shadow:    0 4px 16px rgba(0,0,0,.6);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.8);
    --shadow-accent: 0 0 30px rgba(232,197,71,.15);

    --transition: .2s ease;
    --font-display: 'Bebas Neue', sans-serif;
    --font-mono:    'Space Mono', monospace;
    --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent2); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 20px; }

.site-main { flex: 1; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1,h2,h3,h4,h5 {
    font-family: var(--font-display);
    letter-spacing: .03em;
    line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: .05em;
    margin-bottom: 4px;
}
.section-subtitle { color: var(--text2); font-size: .95rem; margin-bottom: 40px; }

.text-accent  { color: var(--accent); }
.text-danger  { color: var(--red); }
.text-success { color: var(--green); }
.text-muted   { color: var(--text2); }
.text-mono    { font-family: var(--font-mono); }
.text-center  { text-align: center; }
.text-sm      { font-size: .85rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: .02em;
    white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
    background: var(--accent);
    color: #0a0a0a;
}
.btn-primary:hover { background: var(--accent2); color: #0a0a0a; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,197,71,.3); }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border2);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.btn-danger {
    background: var(--red);
    color: #fff;
}
.btn-danger:hover { background: #c94848; }

.btn-success {
    background: var(--green);
    color: #fff;
}
.btn-success:hover { background: #3d9966; }

.btn-ghost {
    background: var(--bg3);
    color: var(--text2);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg4); color: var(--text); }

.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; }

/* =========================================================
   FORMS
   ========================================================= */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.form-control {
    width: 100%;
    background: var(--bg3);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 11px 16px;
    font-family: var(--font-body);
    font-size: .9rem;
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--accent);
    background: var(--bg2);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-control::placeholder { color: var(--text3); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-hint { font-size: .8rem; color: var(--text3); margin-top: 6px; }
.form-error { font-size: .8rem; color: var(--red); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-width: 100vw;
    overflow: hidden;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: .1em;
    color: var(--accent);
    text-decoration: none;
}
.site-nav {
    display: flex;
    gap: 32px;
}
.site-nav a {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text2);
    position: relative;
    padding-bottom: 2px;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.site-nav a:hover, .site-nav a.active {
    color: var(--text);
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text2);
    transition: var(--transition);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.header-icon-btn:hover { background: var(--bg3); color: var(--text); }
.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: .65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.user-menu-wrap { position: relative; }
.user-menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.user-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border2);
}
.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 180px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
}
.user-menu-wrap:hover .user-dropdown,
.user-menu-wrap.open .user-dropdown { display: block; }
.user-dropdown-name {
    padding: 8px 12px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text2);
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.user-dropdown a {
    display: block;
    padding: 8px 12px;
    font-size: .85rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.user-dropdown a:hover { background: var(--bg3); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    z-index: 99;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    padding: 12px 16px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text2);
    border-radius: var(--radius);
    transition: var(--transition);
}
.mobile-nav a:hover { background: var(--bg3); color: var(--text); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding: 60px 20px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent);
    letter-spacing: .1em;
    margin-bottom: 8px;
}
.footer-tagline { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text3); margin-bottom: 12px; }
.footer-desc { font-size: .85rem; color: var(--text2); line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: .08em;
    color: var(--text);
    margin-bottom: 16px;
}
.footer-links a, .footer-contact a {
    display: block;
    font-size: .85rem;
    color: var(--text2);
    margin-bottom: 8px;
    transition: var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact p { font-size: .85rem; color: var(--text2); margin-bottom: 8px; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px;
    text-align: center;
}
.footer-bottom p { font-size: .8rem; color: var(--text3); }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
    width: 100%;
    max-width: 100vw;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #111 40%, #1a1205 100%);
    z-index: 0;
}
.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(232,197,71,.08) 0%, transparent 70%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px),
                      repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px);
}
.hero-content { position: relative; z-index: 1; }
.hero-container { padding: 80px 20px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(232,197,71,.3);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    margin-bottom: 24px;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: .95;
    letter-spacing: .04em;
    margin-bottom: 24px;
}
.hero-title span { color: var(--accent); }
.hero-desc { font-size: 1.1rem; color: var(--text2); max-width: 480px; width: 100%; margin-bottom: 40px; line-height: 1.8; word-break: break-word; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-countdown {
    display: flex;
    gap: 16px;
    margin-top: 60px;
    align-items: center;
}
.hero-countdown-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); }
.countdown-units { display: flex; gap: 8px; }
.countdown-unit {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    text-align: center;
    min-width: 56px;
}
.countdown-num {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}
.countdown-lbl { font-size: .65rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border2);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg3);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 10px;
    border-radius: 20px;
}
.product-card-body { padding: 16px; }
.product-card-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: .04em;
    margin-bottom: 4px;
    color: var(--text);
}
.product-card-price {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    font-weight: 700;
}
.product-card-meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: .75rem;
    color: var(--text3);
}

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.product-detail-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}
.product-gallery-main {
    aspect-ratio: 1;
    background: var(--bg3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
    background: var(--bg3);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }

.product-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.product-price {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 24px;
}
.product-description { color: var(--text2); line-height: 1.8; margin-bottom: 24px; }
.size-picker, .color-picker { margin-bottom: 24px; }
.picker-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text2); margin-bottom: 10px; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border2);
    background: var(--bg3);
    color: var(--text);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.size-btn:hover { border-color: var(--accent); color: var(--accent); }
.size-btn.active { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.size-btn:disabled { opacity: .3; cursor: not-allowed; }

.color-options { display: flex; gap: 10px; flex-wrap: wrap; }
.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.color-btn:hover, .color-btn.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }

.qty-control { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border2);
    background: var(--bg3);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-input {
    width: 60px;
    text-align: center;
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    color: var(--text);
    padding: 8px;
    font-family: var(--font-mono);
    font-size: 1rem;
}

.preorder-info {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
}
.preorder-info p { font-size: .85rem; color: var(--text2); margin-bottom: 4px; }
.preorder-info strong { color: var(--text); }

/* =========================================================
   CART
   ========================================================= */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding: 40px 0;
}
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}
.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg3);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; margin-bottom: 4px; }
.cart-item-meta { font-size: .8rem; color: var(--text2); }
.cart-item-price { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: .95rem; }
.cart-empty { text-align: center; padding: 80px 20px; color: var(--text2); }
.cart-empty svg { width: 64px; height: 64px; margin: 0 auto 16px; opacity: .3; }

.order-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 80px;
}
.summary-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: .05em;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: .9rem;
}
.summary-row.total {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    font-size: 1rem;
}
.summary-row .label { color: var(--text2); }
.summary-row .value { font-family: var(--font-mono); color: var(--text); }
.summary-row.total .value { color: var(--accent); font-size: 1.1rem; }

/* =========================================================
   CHECKOUT STEPS
   ========================================================= */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}
.step.active { color: var(--accent); }
.step.done { color: var(--green); }
.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.step.active .step-num { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.step.done .step-num { background: var(--green); color: #fff; border-color: var(--green); }
.step-line { width: 48px; height: 1px; background: var(--border2); flex-shrink: 0; }
.step-line.done { background: var(--green); }

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding-bottom: 60px;
}
.checkout-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}
.checkout-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: .05em;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.payment-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.payment-type-card {
    border: 1.5px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.payment-type-card:hover { border-color: var(--accent); background: var(--accent-dim); }
.payment-type-card.selected { border-color: var(--accent); background: var(--accent-dim); }
.payment-type-card input[type="radio"] { position: absolute; opacity: 0; }
.payment-type-name { font-weight: 700; margin-bottom: 4px; }
.payment-type-desc { font-size: .8rem; color: var(--text2); }
.payment-type-amount { font-family: var(--font-mono); color: var(--accent); font-weight: 700; margin-top: 8px; font-size: 1.1rem; }

.bank-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
}
.bank-name { font-weight: 700; font-size: .9rem; }
.bank-account { font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent); }
.bank-holder { font-size: .8rem; color: var(--text2); margin-top: 4px; }

.upload-area {
    border: 2px dashed var(--border2);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.upload-area:hover, .upload-area.dragging { border-color: var(--accent); background: var(--accent-dim); }
.upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-text { color: var(--text2); font-size: .9rem; }
.upload-preview { margin-top: 16px; }
.upload-preview img { max-height: 200px; border-radius: var(--radius); margin: 0 auto; }

/* =========================================================
   ORDER STATUS
   ========================================================= */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.status-warning  { background: rgba(224,178,82,.15); color: #e0b252; border: 1px solid rgba(224,178,82,.3); }
.status-info     { background: rgba(91,141,238,.15); color: #5b8dee; border: 1px solid rgba(91,141,238,.3); }
.status-orange   { background: rgba(224,124,82,.15); color: #e07c52; border: 1px solid rgba(224,124,82,.3); }
.status-purple   { background: rgba(155,110,232,.15); color: #9b6ee8; border: 1px solid rgba(155,110,232,.3); }
.status-blue     { background: rgba(91,141,238,.15); color: #5b8dee; border: 1px solid rgba(91,141,238,.3); }
.status-cyan     { background: rgba(71,197,216,.15); color: #47c5d8; border: 1px solid rgba(71,197,216,.3); }
.status-success  { background: rgba(76,175,125,.15); color: #4caf7d; border: 1px solid rgba(76,175,125,.3); }
.status-danger   { background: rgba(224,82,82,.15); color: #e05252; border: 1px solid rgba(224,82,82,.3); }
.status-default  { background: var(--bg3); color: var(--text2); border: 1px solid var(--border); }

.orders-list { display: flex; flex-direction: column; gap: 16px; }
.order-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: var(--transition);
}
.order-card:hover { border-color: var(--border2); }
.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.order-invoice { font-family: var(--font-mono); font-size: .85rem; color: var(--text2); }
.order-date { font-size: .8rem; color: var(--text3); }
.order-card-body { display: flex; align-items: center; gap: 16px; }
.order-item-img { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; background: var(--bg3); flex-shrink: 0; }
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info { flex: 1; }
.order-item-name { font-weight: 600; margin-bottom: 4px; }
.order-item-meta { font-size: .8rem; color: var(--text2); }
.order-total { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 1rem; text-align: right; }

/* =========================================================
   ORDER DETAIL / INVOICE
   ========================================================= */
.order-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    padding: 40px 0;
}
.detail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.detail-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: .05em;
    color: var(--text2);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-row .label { color: var(--text2); flex-shrink: 0; }
.detail-row .value { text-align: right; font-weight: 500; }

.countdown-banner {
    background: linear-gradient(135deg, rgba(232,197,71,.1) 0%, rgba(224,124,82,.1) 100%);
    border: 1px solid rgba(232,197,71,.3);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 20px;
    text-align: center;
}
.countdown-banner-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text2); margin-bottom: 12px; }
.countdown-banner-units { display: flex; justify-content: center; gap: 12px; }

.wa-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 12px 20px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    justify-content: center;
}
.wa-btn:hover { background: #1db954; color: #fff; }

/* =========================================================
   PROFILE PAGE
   ========================================================= */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 40px 0;
}
.profile-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
}
.profile-avatar-wrap {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    margin: 0 auto 12px;
}
.profile-avatar-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 3px solid var(--accent);
}
.profile-name { font-weight: 700; margin-bottom: 4px; }
.profile-email { font-size: .85rem; color: var(--text2); }
.profile-nav { display: flex; flex-direction: column; gap: 4px; }
.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--text2);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    text-align: left;
    width: 100%;
}
.profile-nav-item:hover, .profile-nav-item.active {
    background: var(--bg3);
    color: var(--text);
}
.profile-nav-item.active { color: var(--accent); }

/* =========================================================
   NOTIFICATIONS
   ========================================================= */
.notif-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    transition: var(--transition);
}
.notif-item.unread { border-left: 3px solid var(--accent); background: rgba(232,197,71,.05); }
.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.notif-content { flex: 1; }
.notif-title { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.notif-msg { font-size: .85rem; color: var(--text2); line-height: 1.5; }
.notif-time { font-size: .75rem; color: var(--text3); margin-top: 6px; }

/* =========================================================
   AUTH PAGES
   ========================================================= */
.auth-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
}
.auth-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
    letter-spacing: .1em;
    text-align: center;
    margin-bottom: 8px;
}
.auth-subtitle {
    text-align: center;
    color: var(--text2);
    font-size: .9rem;
    margin-bottom: 36px;
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text3);
    font-size: .85rem;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* =========================================================
   ADMIN LAYOUT
   ========================================================= */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 240px;
    background: var(--bg2);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 50;
    overflow-y: auto;
}
.admin-logo {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--accent);
    letter-spacing: .1em;
}
.admin-logo span { display: block; font-family: var(--font-body); font-size: .7rem; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.admin-nav { flex: 1; padding: 16px 12px; }
.admin-nav-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text3);
    padding: 8px 8px 4px;
    margin-top: 8px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: .875rem;
    color: var(--text2);
    transition: var(--transition);
    margin-bottom: 2px;
    text-decoration: none;
}
.admin-nav a:hover { background: var(--bg3); color: var(--text); }
.admin-nav a.active { background: var(--accent-dim); color: var(--accent); border-left: 2px solid var(--accent); }
.admin-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-content { margin-left: 240px; flex: 1; min-height: 100vh; background: var(--bg); }
.admin-topbar {
    height: 60px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 40;
}
.admin-page-title { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .05em; }
.admin-main { padding: 28px 24px; }

/* =========================================================
   ADMIN STATS
   ========================================================= */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}
.stat-card.blue::before  { background: var(--blue); }
.stat-card.green::before { background: var(--green); }
.stat-card.orange::before{ background: var(--orange); }
.stat-card.purple::before{ background: var(--purple); }
.stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text2); margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-size: 2rem; letter-spacing: .02em; }
.stat-sub { font-size: .8rem; color: var(--text3); margin-top: 4px; }

/* =========================================================
   ADMIN TABLE
   ========================================================= */
.table-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}
.table-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.table-card-title { font-weight: 600; font-size: .9rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
    padding: 12px 16px;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text3);
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
td {
    padding: 14px 16px;
    font-size: .875rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }

.table-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--bg3);
}
.table-product-name { font-weight: 600; }
.table-product-meta { font-size: .75rem; color: var(--text2); margin-top: 2px; }
.table-actions { display: flex; gap: 6px; white-space: nowrap; }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination { display: flex; gap: 4px; justify-content: center; padding: 24px 0; }
.page-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border2);
    background: var(--bg3);
    color: var(--text2);
    font-size: .85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.page-btn.active { font-weight: 700; }

/* =========================================================
   ALERTS & TOASTS
   ========================================================= */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: .9rem;
}
.alert-success { background: rgba(76,175,125,.1); border: 1px solid rgba(76,175,125,.3); color: #4caf7d; }
.alert-danger   { background: rgba(224,82,82,.1);  border: 1px solid rgba(224,82,82,.3);  color: #e05252; }
.alert-warning  { background: rgba(232,197,71,.1); border: 1px solid rgba(232,197,71,.3); color: var(--accent); }
.alert-info     { background: rgba(91,141,238,.1); border: 1px solid rgba(91,141,238,.3); color: #5b8dee; }

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .875rem;
    animation: toastIn .3s ease;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   INVOICE PRINT
   ========================================================= */
.invoice-paper {
    background: #fff;
    color: #1a1a1a;
    max-width: 800px;
    margin: 40px auto;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.invoice-paper .inv-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.invoice-paper .inv-brand { font-family: var(--font-display); font-size: 2.5rem; color: #1a1a1a; letter-spacing: .1em; }
.invoice-paper .inv-brand span { display: block; font-family: var(--font-body); font-size: .75rem; color: #666; font-weight: 400; text-transform: uppercase; letter-spacing: .12em; }
.invoice-paper .inv-info h2 { font-family: var(--font-display); font-size: 1.8rem; color: #1a1a1a; }
.invoice-paper .inv-info p { font-size: .85rem; color: #666; }
.invoice-paper table { color: #1a1a1a; }
.invoice-paper th { color: #999; background: #f5f5f5; }
.invoice-paper td { border-color: #eee; }
.invoice-paper .inv-total { background: #f5f5f5; padding: 20px; border-radius: var(--radius); margin-top: 20px; }
.invoice-paper .inv-status { display: inline-flex; padding: 6px 16px; border-radius: 20px; font-size: .8rem; font-weight: 700; text-transform: uppercase; }

@media print {
    body { background: #fff !important; }
    .site-header, .site-footer, .print-hide { display: none !important; }
    .invoice-paper { box-shadow: none; margin: 0; padding: 20px; }
}

/* =========================================================
   MISC COMPONENTS
   ========================================================= */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: .8rem;
    color: var(--text3);
}
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border2); }

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text2);
}
.empty-state-icon { font-size: 4rem; opacity: .3; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--text2); margin-bottom: 8px; }
.empty-state p { font-size: .9rem; }

.divider { height: 1px; background: var(--border); margin: 24px 0; }

.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    background: var(--bg3);
    color: var(--text2);
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(.95);
    transition: transform .25s ease;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .04em; }
.modal-close { background: none; border: none; color: var(--text2); cursor: pointer; padding: 4px; font-size: 1.5rem; line-height: 1; }
.modal-close:hover { color: var(--text); }

/* =========================================================
   TABS
   ========================================================= */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.tab-btn {
    padding: 12px 20px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text2);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .product-detail-wrap { grid-template-columns: 1fr; gap: 32px; }
    .checkout-layout, .cart-layout, .order-detail-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .profile-layout { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
    .profile-sidebar { position: static; width: 100%; box-sizing: border-box; }
}

@media (max-width: 768px) {
    .site-nav { display: none; }
    .hamburger { display: flex; }
    .admin-sidebar { transform: translateX(-100%); transition: transform .3s ease; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .payment-type-options { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 20px; }
    .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
    .auth-card { padding: 32px 24px; }
    .checkout-steps { gap: 0; }
    .step-label { display: none; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .checkout-card { padding: 20px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; box-sizing: border-box; }
    .hero-title { font-size: clamp(2.8rem, 13vw, 4rem); }
    .hero-desc { font-size: 1rem; }
    .hero-eyebrow { font-size: .7rem; letter-spacing: .08em; }
    .hero-container { padding: 60px 20px; }
    .container, .container-sm { padding: 0 16px; box-sizing: border-box; width: 100%; }
    section, .section { max-width: 100vw; overflow: hidden; }
}
