/*
 * TonerHub — Shared Components CSS
 * Header, Footer, Payment Bar, Toast
 * Include: <link rel="stylesheet" href="/assets/css/components.css">
 */

/* TonerHub Components — no global reset to avoid breaking page styles */

body { font-family: 'DM Sans', sans-serif; }

:root {
  --accent:     #e05c1a;
  --accent-hot: #ff4500;
  --teal:       #1ac896;
}

/* Dark theme vars scoped to header and footer only */
.site-header, footer, .payment-bar {
  --ink:        #0e0e1a;
  --ink-soft:   #14142a;
  --paper:      #f5f4f0;
  --border:     rgba(245,244,240,0.1);
  --text-sub:   rgba(245,244,240,0.5);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.4);
}

/* ── NAVBAR ── */
/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--ink);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Rândul 1: logo + search + acțiuni */
.header-top {
    display: flex; align-items: center; gap: 24px;
    padding: 12px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 24px;
    color: var(--paper); letter-spacing: -0.5px;
    display: flex; align-items: center;
    text-decoration: none; flex-shrink: 0;
    line-height: 1;
}
.nav-logo span { color: var(--accent-hot); }

/* Search */
.nav-search {
    flex: 1; position: relative;
    max-width: 640px;
}

.nav-search-inner {
    display: flex; align-items: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255,107,43,0.25);
    transition: border-color 0.2s;
}
.nav-search-inner:focus-within { border-color: var(--accent); }

.nav-search input {
    flex: 1; border: none; outline: none;
    color: #111;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    background: transparent;
}
.nav-search input::placeholder { color: #aaa; }

.nav-search-btn {
    background: var(--accent);
    color: white; border: none;
    padding: 12px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: background 0.2s;
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
}
.nav-search-btn:hover { background: var(--accent-hot); }

/* Acțiuni dreapta */
.nav-actions {
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0; margin-left: auto;
}

.nav-action-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; cursor: pointer; text-decoration: none;
    color: rgba(245,244,240,0.8);
    padding: 6px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-action-item:hover {
    background: rgba(255,255,255,0.08);
    color: var(--paper);
}
.nav-action-icon {
    font-size: 20px; position: relative;
    line-height: 1;
}
.nav-action-label {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.02em;
}
.cart-badge {
    position: absolute; top: -5px; right: -8px;
    background: var(--accent-hot); color: white;
    border-radius: 50%; width: 17px; height: 17px;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

/* Rândul 2: categorii */
.header-nav {
    display: flex; align-items: center;
    padding: 0 40px;
    overflow-x: auto;
    gap: 4px;
}
.header-nav::-webkit-scrollbar { display: none; }

.header-nav a {
    display: flex; align-items: center; gap: 7px;
    padding: 10px 16px;
    color: rgba(245,244,240,0.65);
    text-decoration: none;
    font-size: 13px; font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    border-radius: 4px 4px 0 0;
}
.header-nav a:hover {
    color: var(--paper);
    border-bottom-color: var(--accent);
}
.header-nav-icon { font-size: 15px; line-height: 1; }

/* ── HERO ── */

/* ── PAYMENT BADGES ── */
.payment-bar {
    background: #12122a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 40px;
}
.payment-bar-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap;
}
.seedbox-badge {
    display: inline-flex; align-items: center;
    opacity: 0.7; transition: opacity 0.2s;
}
.seedbox-badge:hover { opacity: 1; }
.seedbox-badge img { height: 44px; object-fit: contain; }
.pay-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; height: 52px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 15px; font-weight: 700;
    color: rgba(245,244,240,0.7);
    white-space: nowrap; gap: 8px;
    transition: border-color 0.2s;
}
.pay-badge:hover { border-color: rgba(255,255,255,0.2); }
.pay-badge.visa { color: #1a73e8; font-style: italic; font-size: 20px; letter-spacing: -0.5px; }
.pay-badge.mastercard { gap: 4px; }
.pay-badge.mc-red { width: 16px; height: 16px; background: #eb001b; border-radius: 50%; display: inline-block; }
.pay-badge.mc-orange { width: 16px; height: 16px; background: #f79e1b; border-radius: 50%; display: inline-block; margin-left: -8px; }
.pay-badge.gpay { font-size: 14px; letter-spacing: -0.3px; }
.pay-badge.gpay span:first-child { color: #4285f4; }
.pay-badge.gpay span:nth-child(2) { color: #ea4335; }
.pay-badge.gpay span:nth-child(3) { color: #fbbc05; }
.pay-badge.gpay span:last-child { color: #34a853; }
.pay-badge.ssl { border-color: rgba(245,197,24,0.3); color: var(--yellow); }
.pay-badge.ramburs { color: var(--green); border-color: rgba(26,200,150,0.2); }
.pay-badge.transfer { color: rgba(245,244,240,0.6); }
.pay-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.08); margin: 0 8px; }
footer {
    background: #12122a;
    color: rgba(245,244,240,0.6);
    padding: 56px 80px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand-name {
    font-family: 'Syne', sans-serif;
    font-size: 22px; font-weight: 800;
    color: var(--paper); margin-bottom: 12px;
}
.footer-brand-name span { color: var(--accent-hot); }

.footer-company-info {
    margin-top: 16px;
    font-size: 12px; line-height: 2;
    color: rgba(245,244,240,0.45);
}
.footer-company-info strong { color: rgba(245,244,240,0.7); font-weight: 600; }

.footer-desc {
    font-size: 13px; line-height: 1.7;
    color: rgba(245,244,240,0.45);
    margin-bottom: 16px;
}

.footer-col-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px; font-weight: 700;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 0;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }

.footer-links a {
    text-decoration: none;
    color: rgba(245,244,240,0.55);
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--paper); }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 18px;
}
.footer-contact-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.footer-contact-main {
    font-size: 15px; font-weight: 700;
    color: var(--paper); margin-bottom: 2px;
}
.footer-contact-sub {
    font-size: 12px; color: rgba(245,244,240,0.4);
}

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px; color: rgba(245,244,240,0.35);
}

/* ── TOAST ── */
#toast {

/* ── TOAST ── */
#toast {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    background: var(--ink);
    color: var(--paper);
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex; align-items: center; gap: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(80px); opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    border-left: 3px solid var(--accent-hot);
}

#toast.show { transform: translateY(0); opacity: 1; }

/* ── UTILS ── */
.tag {
    display: inline-flex; align-items: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
}

.tag-teal { background: rgba(26,158,142,0.12); color: var(--teal); }
.tag-gold { background: rgba(212,168,67,0.12); color: #b88a1a; }