/* ================================================
   TOP BAU GERMANY - Main Stylesheet v2
   ================================================ */

:root {
    --navy: #0f1923;
    --navy2: #1a2a3a;
   --orange: #ffd700;
  --orange-dark: #ccac00;
    --white: #ffffff;
    --gray-light: #f4f5f6;
    --gray: #9ca3af;
    --gray-dark: #374151;
    --text: #1f2937;
    --border: #e5e7eb;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Barlow', sans-serif; font-size: 15px; color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- TOPBAR ---- */
.topbar { background: var(--navy); color: #94a3b8; font-size: 13px; padding: 7px 0; }
/* Sticky header wrapper */
.header-sticky-wrap { position: sticky; top: 0; z-index: 100; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: var(--orange); }

/* Iconuri categorii alb-negru */
.category-card .icon {
    filter: grayscale(100%);
}

/* ---- HEADER - Steag Germania ---- */
.header {
    position: relative;
    z-index: 100;
    /* Steag Germania - 3 dungi egale orizontale */
    background: linear-gradient(
        to bottom,
        #000000 0%,   #000000 33.33%,
        #DD0000 33.33%, #DD0000 66.66%,
        #FFCE00 66.66%, #FFCE00 100%
    );
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    padding: 0;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
    background: transparent;
}
.logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo-top { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; color: var(--white); letter-spacing: 2px; }
.logo-sub { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; color: var(--orange); letter-spacing: 4px; }
.logo-navi{ color:black}

/* ---- NAV DROPDOWN ---- */
.nav-main { display: flex; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
    color: #cbd5e1; font-size: 13px; font-weight: 500; padding: 8px 14px;
    border-radius: var(--radius); transition: all 0.2s; white-space: nowrap;
    display: flex; align-items: center; gap: 4px; cursor: pointer;
    background: none; border: none; font-family: inherit;
}
.nav-link:hover {color:black!important}

 .nav-item:hover .nav-link { background: rgba(221,0,0,0.15); color: #DD0000; }
.nav-link .arrow { font-size: 10px; transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }

.dropdown {
    display: none; position: absolute; top: 100%; left: 0;
    background: white; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    min-width: 200px; padding: 8px 0; z-index: 200;
    border: 1px solid var(--border);
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
    display: block; padding: 9px 18px; font-size: 13px; color: var(--text);
    transition: all 0.15s; border-left: 3px solid transparent;
}
.dropdown a:hover { background: var(--gray-light); color: #DD0000; border-left-color: #DD0000; padding-left: 22px; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.cart-btn {
    background: var(--orange); color: white; padding: 8px 16px; border-radius: var(--radius);
    font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px;
    transition: background 0.2s; cursor: pointer; border: none; font-family: inherit;
}
.cart-btn:hover { background: var(--orange-dark); }
.cart-count {
    background: white; color: var(--orange); border-radius: 50%; width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.menu-toggle { display: none; background: none; border: none; color: white; font-size: 22px; cursor: pointer; }
.mobile-menu { display: none; background: var(--navy); padding: 8px 0; }
.mobile-menu a { display: block; color: #cbd5e1; padding: 10px 20px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a:hover { color: var(--orange); }
.mobile-sub { padding-left: 16px !important; font-size: 13px !important; color: #94a3b8 !important; }
.mobile-menu.open { display: block; }

/* ---- HERO ---- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #1e3a5f 100%); color: white; padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(247,133,0,0.15) 0%, transparent 70%); }
.hero-inner { position: relative; max-width: 650px; }
.hero-tag { display: inline-block; background: var(--orange); color: white; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-bottom: 20px; }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.05; margin-bottom: 16px; letter-spacing: -1px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 17px; color: #94a3b8; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; text-align: center; }
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: var(--navy2); }
.btn-danger { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: #16a34a; color: white; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION ---- */
.section { padding: 64px 0; }
.section-alt { background: var(--gray-light); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.section-header h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 700; letter-spacing: -0.5px; }
.section-header h2 span { color: var(--orange); }
.section-header a { color: var(--orange); font-size: 14px; font-weight: 600; }

/* ---- CATEGORIES GRID ---- */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.category-card { background: white; border: 1.5px solid var(--border); border-radius: 12px; padding: 28px 20px; text-align: center; transition: all 0.25s; cursor: pointer; }
.category-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.category-card .icon { font-size: 40px; margin-bottom: 12px; display: block; }
.category-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.category-card p { font-size: 12px; color: var(--gray); line-height: 1.5; }
.category-card .count { display: inline-block; margin-top: 10px; background: var(--gray-light); color: var(--gray-dark); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

/* ---- SUBCATEGORIES ---- */
.subcategories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 40px; }
.subcat-card { background: white; border: 1.5px solid var(--border); border-radius: 10px; padding: 18px 16px; text-align: center; transition: all 0.2s; }
.subcat-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
.subcat-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; }
.subcat-card span { font-size: 11px; color: var(--gray); }

/* ---- PRODUCTS GRID ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card { background: white; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.25s; }
.product-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-img { width: 100%; height: 180px; object-fit: cover; background: var(--gray-light); }
.product-img-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, #f0f4f8, #e2e8f0); display: flex; align-items: center; justify-content: center; font-size: 50px; }
.product-body { padding: 16px; }
.product-cat { font-size: 11px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-name { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.product-desc { font-size: 12px; color: var(--gray); margin-bottom: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.product-price { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); }
.product-price small { font-size: 12px; font-weight: 400; color: var(--gray); }
.add-to-cart { background: var(--orange); color: white; border: none; padding: 8px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Barlow', sans-serif; }
.add-to-cart:hover { background: var(--orange-dark); }
.add-to-cart.added { background: #16a34a; }

/* ---- PAGE BANNER ---- */
.page-banner { background: var(--navy2); color: white; padding: 40px 0; }
.page-banner h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; }
.page-banner p { color: var(--gray); margin-top: 6px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--gray); margin-bottom: 10px; flex-wrap: wrap; }
.breadcrumb a { color: var(--orange); }

/* ---- CART ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); background: var(--gray-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; margin-bottom: 4px; }
.cart-item-price { color: var(--orange); font-weight: 600; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 28px; height: 28px; border: 1.5px solid var(--border); background: white; border-radius: 6px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.qty-btn:hover { border-color: var(--orange); color: var(--orange); }
.qty-val { font-weight: 600; min-width: 24px; text-align: center; }
.remove-item { color: #dc2626; cursor: pointer; font-size: 18px; background: none; border: none; }
.order-summary { background: var(--gray-light); border-radius: 12px; padding: 24px; position: sticky; top: 90px; }
.order-summary h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.summary-total { display: flex; justify-content: space-between; padding: 16px 0 0; font-weight: 700; font-size: 18px; color: var(--navy); }

/* ---- FORM ---- */
.form-card { background: white; border: 1.5px solid var(--border); border-radius: 12px; padding: 32px; }
.form-card h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gray-dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--text); transition: border-color 0.2s; background: white; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--orange); }
.form-group textarea { height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- ADMIN ---- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--navy); color: white; flex-shrink: 0; padding: 24px 0; }
.admin-sidebar .logo { padding: 0 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: #94a3b8; font-size: 14px; font-weight: 500; transition: all 0.2s; border-left: 3px solid transparent; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(247,133,0,0.15); color: var(--orange); border-left-color: var(--orange); }
.admin-content { flex: 1; padding: 32px; background: var(--gray-light); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 700; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: white; border-radius: 12px; padding: 24px; border-left: 4px solid var(--orange); }
.stat-card .val { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; color: var(--navy); }
.stat-card .lbl { font-size: 13px; color: var(--gray); margin-top: 4px; }

.table-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.table-card table { width: 100%; border-collapse: collapse; }
.table-card th { background: var(--navy); color: white; padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.table-card td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.table-card tr:hover td { background: #fafafa; }
.table-card tr:last-child td { border-bottom: none; }

/* Products grouped by category */
.cat-group { margin-bottom: 28px; }
.cat-group-header { background: var(--navy2); color: white; padding: 10px 16px; border-radius: 8px 8px 0 0; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cat-group .table-card { border-radius: 0 0 12px 12px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-new { background: #dbeafe; color: #1d4ed8; }
.badge-process { background: #fef3c7; color: #92400e; }
.badge-done { background: #d1fae5; color: #065f46; }
.badge-cancel { background: #fee2e2; color: #991b1b; }
.badge-stock { background: #d1fae5; color: #065f46; }
.badge-nostock { background: #fee2e2; color: #991b1b; }

/* Admin Notes */
.note-item { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; position: relative; }
.note-item .note-text { font-size: 14px; line-height: 1.6; }
.note-item .note-date { font-size: 11px; color: var(--gray); margin-top: 6px; }
.note-item .note-delete { position: absolute; top: 8px; right: 10px; background: none; border: none; color: #dc2626; cursor: pointer; font-size: 16px; }

/* Image upload preview */
.img-upload-zone { border: 2px dashed var(--border); border-radius: 10px; padding: 16px; background: #fafafa; cursor: pointer; transition: all 0.2s; }
.img-upload-zone:hover { border-color: var(--orange); background: #fff8f0; }
.img-preview { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 2px solid var(--orange); }

/* Login */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); }
.login-card { background: white; border-radius: 16px; padding: 48px 40px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); }
.login-card h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 28px; }

.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* Success */
.success-page { text-align: center; padding: 80px 20px; }
.success-icon { font-size: 80px; margin-bottom: 20px; }
.success-page h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 40px; font-weight: 800; margin-bottom: 12px; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state .icon { font-size: 60px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; color: var(--text); margin-bottom: 8px; }

/* Legal pages */
.legal-content { max-width: 800px; margin: 0 auto; padding: 48px 20px; }
.legal-content h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal-content h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; margin: 28px 0 10px; color: var(--navy); }
.legal-content p { margin-bottom: 14px; line-height: 1.8; color: var(--gray-dark); }
.legal-content ul { margin: 10px 0 14px 20px; }
.legal-content ul li { margin-bottom: 6px; line-height: 1.7; }
.legal-content a { color: var(--orange); }
.legal-date { color: var(--gray); font-size: 13px; margin-bottom: 32px; }
.info-box { background: #fff8f0; border: 1px solid #fed7aa; border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: 14px; }
.info-box strong { color: var(--orange); }

/* Footer */
.footer { background: var(--navy); color: #94a3b8; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-bottom a { color: var(--orange); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* Responsive */

/* ---- RESPONSIVE & MOBILE ---- */

/* Topbar - ascuns pe mobile */
@media (max-width: 768px) {
    .topbar { display: none !important; }
}

/* Search form desktop */
.search-form-desktop {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.search-form-desktop input {
    background: none;
    border: none;
    padding: 8px 10px;
    color: white;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    width: 150px;
}
.search-form-desktop input::placeholder { color: rgba(255,255,255,0.5); }
.search-form-desktop button {
    background: var(--orange);
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    color: white;
    font-size: 13px;
}

/* Hamburger - ascuns pe desktop */
.menu-toggle { display: none !important; }

/* Mobile breakpoint */
@media (max-width: 900px) {
    /* Ascunde nav si search pe mobile */
    .nav-main { display: none !important; }
    .search-form-desktop { display: none !important; }

    /* Arata hamburger */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        color: white;
        font-size: 20px;
        cursor: pointer;
        padding: 7px 10px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    /* Header inner mai compact */
    .header-inner { gap: 8px; padding: 10px 14px; }
    .logo-top { font-size: 20px; }
    .logo-sub { font-size: 9px; letter-spacing: 3px; }
    .cart-btn { padding: 7px 12px; font-size: 13px; }
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 80vh;
    overflow-y: auto;
}
.mobile-menu.open { display: block; }

/* Search in mobile menu */
.mobile-search {
    display: flex;
    margin: 12px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}
.mobile-search input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 11px 14px;
    color: white;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    min-width: 0;
}
.mobile-search input::placeholder { color: rgba(255,255,255,0.5); }
.mobile-search button {
    background: var(--orange);
    border: none;
    padding: 11px 14px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    flex-shrink: 0;
}

/* Linkuri mobile */
.mobile-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
}
.mobile-cat:hover { color: var(--orange); }
.mobile-sub {
    display: block;
    color: #94a3b8 !important;
    padding: 8px 0 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
}
.mobile-sub:hover { color: var(--orange) !important; }
.mobile-contact {
    padding: 16px 0 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-contact a { color: var(--orange); font-size: 14px; font-weight: 600; text-decoration: none; }

/* Hero pe mobile */
@media (max-width: 600px) {
    .hero { padding: 36px 0; }
    .hero h1 { font-size: 34px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .feat-bar { justify-content: flex-start; gap: 12px; }
}

/* Grids pe mobile */
@media (max-width: 600px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .subcategories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 20px; }
    .page-banner { padding: 20px 0; }
    .page-banner h1 { font-size: 24px; }
    .section { padding: 36px 0; }
}

/* Product card pe mobile */
@media (max-width: 480px) {
    .product-name { font-size: 14px; }
    .product-price { font-size: 16px; }
    .product-img, .product-img-placeholder { height: 130px; }
    .add-to-cart { padding: 6px 8px; font-size: 11px; }
    .product-body { padding: 10px; }
}

/* Admin pe mobile */
@media (max-width: 768px) {
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .table-card { overflow-x: auto; }
}

/* ================================================
   HERO SPLIT - 2 coloane
   ================================================ */

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-left { position: relative; }

/* PROMO CARD dreapta */
.hero-promo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    color: var(--navy);
    max-width: 360px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Dungi steag Germania decorative pe card */
.promo-flag {
    display: flex;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}
.promo-flag span { flex: 1; }
.promo-flag span:nth-child(1) { background: #000000; }
.promo-flag span:nth-child(2) { background: #DD0000; }
.promo-flag span:nth-child(3) { background: #FFCE00; }

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #DD0000, #ff4444);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(221,0,0,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(221,0,0,0); }
}

.promo-percent {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: #DD0000;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -2px;
}

.promo-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.2;
}

.promo-desc {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--gray-light);
    border-radius: 10px;
    border-left: 3px solid #FFCE00;
}

.promo-validity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid #FFCE00;
}

.promo-btn {
    display: block;
    background: linear-gradient(135deg, #DD0000, #bb0000);
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.promo-btn:hover {
    background: linear-gradient(135deg, #bb0000, #990000);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(221,0,0,0.3);
    color: white;
}

.promo-note {
    font-size: 11px;
    color: var(--gray);
    text-align: center;
    line-height: 1.5;
}

/* Coltar decorativ galben */
.promo-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #FFCE00 transparent transparent;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-promo {
        order: -1; /* Promo apare prima pe mobile */
    }
    .promo-card { max-width: 100%; }
    .promo-percent { font-size: 64px; }
}

@media (max-width: 480px) {
    .promo-card { padding: 20px 16px; }
    .promo-percent { font-size: 56px; }
    .promo-title { font-size: 22px; }
}

/* ================================================
   CART MOBILE FIX
   ================================================ */
@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .order-summary {
        position: static;
        top: auto;
    }

    .cart-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }

    .cart-item-img {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .cart-item-info {
        flex: 1;
        min-width: 0;
    }

    .cart-item-name {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cart-item-price { font-size: 12px; }
    .qty-control { gap: 6px; }
    .qty-btn { width: 30px; height: 30px; font-size: 16px; }
    .qty-val { font-size: 14px; min-width: 20px; }
    .remove-item { font-size: 16px; }
}

@media (max-width: 480px) {
    .cart-item-img { width: 48px; height: 48px; }
    .cart-item-name { font-size: 12px; }
}

