/* ════════════════════════════════════════════
   VERO STATIONERY — Main Stylesheet
   ════════════════════════════════════════════ */

/* ── Root Variables ─────────────────────────── */
:root {
    --primary:   #1a1a2e;
    --secondary: #16213e;
    --accent:    #ffc107;
    --text:      #333;
    --light-bg:  #f8f9fa;
    --border:    #dee2e6;
    --radius:    10px;
    --shadow:    0 2px 15px rgba(0,0,0,0.08);
}

/* ── Base ───────────────────────────────────── */
* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: #fff;
}

a { text-decoration: none; }
a:hover { text-decoration: none; }

img { max-width: 100%; }

/* ── Navbar ─────────────────────────────────── */
.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

/* ── Hero Banner ────────────────────────────── */
.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 80px 0;
}

.hero-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-banner p {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ── Section Titles ─────────────────────────── */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.section-divider {
    width: 50px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* ── Product Card ───────────────────────────── */
.product-card {
    position: relative; /* Required: contains Bootstrap stretched-link pseudo-element */
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.product-card .badge-preorder {
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* ── Batch Countdown ────────────────────────── */
.batch-banner {
    background: linear-gradient(90deg, #1a1a2e, #0f3460);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.countdown-box {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 60px;
}

.countdown-item .num {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.65rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Cart ───────────────────────────────────── */
.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

/* ── Order Status Steps ──────────────────────── */
.order-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
}

.order-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.order-step {
    text-align: center;
    z-index: 1;
    flex: 1;
}

.order-step .step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border);
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 1rem;
}

.order-step.active .step-icon {
    background: var(--accent);
    color: #000;
}

.order-step.done .step-icon {
    background: #198754;
    color: #fff;
}

.order-step small {
    font-size: 0.7rem;
    display: block;
    color: #666;
}

/* ── Forms ──────────────────────────────────── */
.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(255,193,7,0.25);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* ── Auth Pages ──────────────────────────────── */
.auth-card {
    max-width: 460px;
    margin: 60px auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.auth-card h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* ── Category Pills ──────────────────────────── */
.category-pill {
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid var(--border);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    background: #fff;
    color: var(--text);
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ── Breadcrumb ──────────────────────────────── */
.breadcrumb-bar {
    background: var(--light-bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 576px) {
    .hero-banner h1 { font-size: 1.8rem; }
    .auth-card { padding: 24px; margin: 20px auto; }
}
