/* =========================================================
   AutoAlmani – stilurile temei
   Preluate neschimbate din prototip/css/style.css (culori și dimensiuni de pe autoalmani.ro);
   adăugirile pentru WordPress sunt la finalul fișierului.
   ========================================================= */
:root {
    --primary: #006eff;
    --primary-dark: #0058cc;
    --secondary: #041a24;
    --header-bg: #00071f;
    --header-text: #c9c9c9;
    --header-link: #9d9e9f;
    --header-link-hover: #007bff;
    --topbar-bg: #02001f;
    --topbar-text: #f2f2f2;
    --button-bg: #0084ff;
    --button-hover: #032549;
    --radius: 8px;
    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --line: #eef2ff;
    --line-2: #e2e8f0;
    --bg: #f8fafc;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --hero-grad: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    background: var(--bg);
    color: var(--ink-2);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: Inter, sans-serif; }
a { color: var(--primary); }
button { font-family: inherit; }

#app { min-height: 60vh; }

/* ========== BANDA PROTOTIP ========== */
.proto-strip {
    background: repeating-linear-gradient(135deg, #fbbf24 0 14px, #f59e0b 14px 28px);
    color: #1c1917;
    font-size: 12px;
    text-align: center;
    padding: 6px 16px;
    font-weight: 500;
}
.proto-strip i { margin-right: 6px; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { color: var(--primary); }
.top-bar .separator { color: #334155; margin: 0 8px; }
.top-bar .tb-item { white-space: nowrap; }
.top-bar-right { display: flex; align-items: center; gap: 15px; justify-content: flex-end; }

@keyframes blink {
    0% { background: #dc2626; box-shadow: 0 0 0 #dc2626; }
    50% { background: #ef4444; box-shadow: 0 0 15px #ef4444; }
    100% { background: #dc2626; box-shadow: 0 0 0 #dc2626; }
}
.top-bar .rca-button, .rca-button {
    background: #dc2626;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: blink 1.5s infinite ease-in-out;
}
.top-bar .rca-button:hover { color: #fff; background: #b91c1c; animation: none; }

.lang-btn, .currency-btn {
    background: transparent;
    border: none;
    color: var(--topbar-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}
.lang-btn:hover, .currency-btn:hover { background: rgba(255,255,255,0.1); color: #0084ff; }
.caret { font-size: 10px; margin-left: 4px; }

.dropdown-container { position: relative; }
.dropdown-menu-custom, .custom-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 5px 12px rgba(0,0,0,0.05);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: hidden;
}
.dropdown-menu-custom.show, .custom-dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu-custom a, .custom-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}
.custom-dropdown-menu a { color: #475569; font-size: 14px; padding: 12px 18px; }
.dropdown-menu-custom a i, .custom-dropdown-menu a i { width: 24px; font-size: 16px; color: var(--primary); }
.dropdown-menu-custom a:hover, .custom-dropdown-menu a:hover { background: var(--bg); color: var(--primary); padding-left: 26px; }
.custom-dropdown-divider { height: 1px; background: var(--line); margin: 8px 0; }
.flag { width: 24px; font-size: 16px; }

/* ========== HEADER ========== */
.main-header {
    background: var(--header-bg);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo-link { display: flex; align-items: center; margin: -10px 0; }
.logo-img { height: 104px; width: auto; display: block; }
.main-header.compact .logo-img { height: 64px; }
.logo-img, .main-header { transition: all 0.25s ease; }

.search-wrapper { display: flex; gap: 10px; align-items: center; margin: 0; }
.search-select {
    width: 180px;
    padding: 12px 16px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    outline: none;
}
.search-input-wrapper { flex: 1; position: relative; }
.search-input-wrapper i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.search-input {
    width: 100%;
    padding: 12px 20px 12px 42px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,0.15); }
.search-btn {
    background: #0081f8;
    border-radius: var(--radius);
    color: #fff;
    font-size: 14px;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
}
.search-btn:hover { background: var(--button-hover); transform: translateY(-1px); }

.header-icons { display: flex; align-items: center; gap: 25px; justify-content: flex-end; }
.custom-dropdown-container { position: relative; display: inline-block; }
.custom-dropdown-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--header-link);
    transition: all 0.3s;
    position: relative;
}
.custom-dropdown-btn i { font-size: 22px; color: var(--primary); transition: transform 0.2s; }
.custom-dropdown-btn:hover { color: var(--header-link-hover); }
.custom-dropdown-btn:hover i { transform: translateY(-2px); }
.custom-dropdown-menu { margin-top: 12px; border-radius: 12px; min-width: 250px; border: 1px solid rgba(0,0,0,0.05); }
.cart-menu { min-width: 350px; }
.cart-count {
    position: absolute;
    top: -8px;
    right: -6px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump { 50% { transform: scale(1.5); } }

.mini-cart { max-height: 320px; overflow-y: auto; }
.mini-cart-empty { padding: 30px; text-align: center; color: var(--muted-2); }
.mini-cart-empty i { font-size: 28px; display: block; margin-bottom: 8px; }
.mini-cart-item { display: flex; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #f1f5f9; align-items: center; }
.mini-cart-item .mc-icon { width: 40px; height: 40px; border-radius: 10px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.mini-cart-item .mc-name { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mini-cart-item .mc-meta { font-size: 11px; color: var(--muted); }
.mini-cart-item .mc-price { margin-left: auto; font-weight: 700; color: var(--primary); font-size: 13px; white-space: nowrap; }
.custom-dropdown-menu a.mini-cart-btn { justify-content: center; background: var(--primary); color: #fff; font-weight: 600; padding: 12px; }
.custom-dropdown-menu a.mini-cart-btn i { color: #fff; width: auto; }
.custom-dropdown-menu a.mini-cart-btn:hover { background: var(--primary-dark); color: #fff; padding-left: 12px; }

.mobile-header-icons { display: inline-flex; gap: 18px; align-items: center; }
.mobile-cart { position: relative; color: var(--primary); font-size: 22px; }
.hamburger { background: rgba(255,255,255,0.08); border: none; color: #fff; width: 42px; height: 42px; border-radius: 10px; font-size: 18px; }

/* ========== MENIU ========== */
.bottom-menu { background: var(--secondary); border-top: 1px solid #3a3a3a; position: relative; z-index: 900; }
.main-nav .nav-link {
    color: #cbd5e1;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--primary); }
.dropdown-mega { position: static; }
.mega-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 999;
}
.dropdown-mega:hover .mega-dropdown, .dropdown-mega.open .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-dropdown-inner { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.mega-title { color: var(--primary); font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.brands-grid-menu { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.brand-card-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: var(--bg);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--line);
}
.brand-card-menu:hover { background: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,110,255,0.12); }
.brand-card-menu img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 10px; }
.brand-card-menu span { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: center; }
.mega-all-btn { display: inline-block; background: var(--primary); color: #fff; padding: 10px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 14px; }
.mega-all-btn:hover { background: var(--primary-dark); color: #fff; }

/* ========== ELEMENTE COMUNE PAGINI ========== */
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 32px 20px 60px; }
.page-wrap.wide { max-width: 1400px; }

@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

.breadcrumb-modern { margin-bottom: 28px; }
.breadcrumb-modern ol { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumb-modern li { font-size: 13px; }
.breadcrumb-modern a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb-modern a:hover { color: var(--primary); }
.breadcrumb-modern .separator { color: #cbd5e1; font-size: 12px; }
.breadcrumb-modern .current { color: var(--primary); font-weight: 500; }
.breadcrumb-modern .current.pill { background: rgba(0,110,255,0.1); padding: 4px 12px; border-radius: 20px; }

.dark-hero {
    background: var(--hero-grad);
    border-radius: 24px;
    padding: 36px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    animation: fadeSlideDown 0.6s ease-out;
    color: #fff;
}
.dark-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -12%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(0,110,255,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}
.dark-hero h1 { font-size: 32px; font-weight: 700; color: #fff; margin: 0 0 8px; letter-spacing: -0.3px; position: relative; }
.dark-hero h1 span { color: var(--primary); }
.dark-hero p { color: var(--muted-2); font-size: 15px; margin: 0; max-width: 560px; position: relative; }
.hero-stats { display: flex; gap: 28px; margin-top: 14px; flex-wrap: wrap; position: relative; }
.hero-stat { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 13px; }
.hero-stat i { color: var(--primary); font-size: 14px; }
.hero-stat strong { color: #fff; font-weight: 600; }
.hero-watermark { position: absolute; right: 30px; bottom: -30px; font-size: 170px; color: rgba(255,255,255,0.05); pointer-events: none; }

.brand-hero { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.brand-hero-logo {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    animation: slideInLeft 0.5s ease-out;
    position: relative;
}
.brand-hero-logo img { width: 64px; height: 64px; object-fit: contain; image-rendering: auto; }
.brand-hero-info { flex: 1; position: relative; }

.pill-search { max-width: 500px; margin: 0 auto; position: relative; }
.pill-search input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid var(--line-2);
    border-radius: 48px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}
.pill-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,110,255,0.15); }
.pill-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 16px; pointer-events: none; }
.pill-search .clear-btn {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: #f1f5f9; border: none; width: 28px; height: 28px; border-radius: 50%;
    display: none; align-items: center; justify-content: center; color: var(--muted); cursor: pointer;
}
.pill-search .clear-btn.visible { display: flex; }
.search-row { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.search-row .pill-search { flex: 1; margin: 0; max-width: none; min-width: 260px; }
.search-meta { text-align: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.stat-pill { background: #fff; border-radius: 60px; padding: 12px 24px; font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); white-space: nowrap; }
.stat-pill i { color: var(--primary); }

.no-results { text-align: center; padding: 60px 20px; background: #fff; border-radius: 24px; border: 1px solid var(--line); }
.no-results i { font-size: 52px; color: #cbd5e1; margin-bottom: 16px; display: block; }
.no-results h3, .no-results .no-results-title { font-size: 20px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.no-results p { color: var(--muted); margin-bottom: 18px; }

.btn-primary-modern {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-primary-modern:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,110,255,0.3); }
.btn-secondary-modern {
    background: #fff;
    color: var(--ink-2);
    border: 1px solid var(--line-2);
    border-radius: 40px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-secondary-modern:hover { border-color: var(--primary); color: var(--primary); }
.btn-garage {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}
.btn-garage:hover { color: #fff; background: var(--primary-dark); }
.vehicle-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,110,255,0.18);
    color: #dbeafe;
    border-radius: 40px;
    padding: 8px 16px;
    font-size: 13px;
    position: relative;
}
.vehicle-badge i { color: #60a5fa; }
.vehicle-badge.light { background: rgba(0,110,255,0.1); color: var(--ink-2); }
.vehicle-badge.light i { color: var(--primary); }

/* ========== ACASĂ ========== */
.home-hero {
    background: radial-gradient(circle at 85% 20%, rgba(0,110,255,0.25), transparent 45%), linear-gradient(135deg, #00071f 0%, #0f172a 55%, #1e293b 100%);
    color: #fff;
    padding: 56px 0 64px;
    position: relative;
    overflow: hidden;
}
.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero h1 { font-family: Montserrat, sans-serif; font-size: 40px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.home-hero h1 span { color: var(--primary); }
.home-hero .lead { color: #cbd5e1; font-size: 16px; max-width: 520px; }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.hero-badges div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #e2e8f0; }
.hero-badges i { color: #34d399; }

.finder-card {
    background: #fff;
    color: var(--ink-2);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.finder-tabs { display: flex; gap: 6px; background: #f1f5f9; border-radius: 14px; padding: 5px; margin-bottom: 20px; }
.finder-tab { flex: 1; border: none; background: transparent; padding: 10px 8px; border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.finder-tab.active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.finder-step { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.finder-step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--line-2); color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; transition: all 0.2s; }
.finder-step.done .num { background: var(--success); color: #fff; }
.finder-step.ready .num { background: var(--primary); color: #fff; }
.finder-select, .form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
    color: var(--ink-2);
    font-family: inherit;
}
.finder-select:focus, .form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,0.12); }
.finder-select:disabled { background: #f8fafc; color: var(--muted-2); }
.finder-hint { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

.section-block { padding: 56px 0; }
.section-block.white { background: #fff; }
.section-block.soft { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-family: Montserrat, sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); margin: 0; }
.section-head h2 span { color: var(--primary); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

.home-brands { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.home-brand {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 8px 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s;
}
.home-brand img { width: 44px; height: 44px; object-fit: contain; margin-bottom: 10px; }
.home-brand span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.home-brand:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 14px 28px -10px rgba(0,110,255,0.35); }

.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: var(--ink);
}
.cat-tile .ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; background: linear-gradient(135deg, #006eff, #3b8cff); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.cat-tile h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.cat-tile small { color: var(--muted); font-size: 11px; }
.cat-tile:hover { transform: translateY(-6px); border-color: rgba(0,110,255,0.35); box-shadow: 0 20px 35px -14px rgba(0,0,0,0.2); color: var(--ink); }

.tabs-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn { border: 1px solid var(--line-2); background: #fff; padding: 9px 18px; border-radius: 40px; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.tab-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.features-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item { background: #fff; padding: 28px 22px; text-align: center; border: 1px solid var(--line); transition: all 0.3s; }
.feature-item:first-child { border-radius: 20px 0 0 20px; }
.feature-item:last-child { border-radius: 0 20px 20px 0; }
.feature-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1); border-color: var(--primary); }
.feature-icon { width: 60px; height: 60px; margin: 0 auto 14px; background: #e0edff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-icon i { font-size: 24px; color: var(--primary); }
.feature-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.feature-desc { font-size: 12px; color: var(--muted); margin: 0; }

.promo-banner {
    border-radius: 24px;
    padding: 36px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}
.promo-banner h3 { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 8px; position: relative; }
.promo-banner p { color: rgba(255,255,255,0.8); max-width: 360px; position: relative; }
.promo-banner .big-ic { position: absolute; right: 24px; bottom: -20px; font-size: 150px; opacity: 0.12; }
.promo-banner .go { position: relative; font-weight: 700; color: #fff; display: inline-flex; gap: 8px; align-items: center; }
.promo-blue { background: linear-gradient(135deg, #0047b3, #006eff); }
.promo-dark { background: linear-gradient(135deg, #0f172a, #334155); }
.promo-banner:hover { color: #fff; }
.promo-banner:hover .go { gap: 14px; }

/* ========== MARCĂ – MODELE ========== */
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.model-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeSlideUp 0.5s ease-out backwards;
    position: relative;
}
.model-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.model-card:hover::before, .model-card.open::before { transform: scaleX(1); }
.model-card:hover { box-shadow: 0 25px 40px -14px rgba(0,0,0,0.15); border-color: rgba(0,110,255,0.3); }
.model-card.open { border-color: rgba(0,110,255,0.35); }
.model-header { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; background: #fafcff; transition: all 0.3s ease; text-decoration: none; color: inherit; }
.model-header:hover { background: var(--bg); padding-left: 26px; }
.model-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.model-header:hover .model-icon { transform: scale(1.1) rotate(5deg); box-shadow: 0 4px 12px rgba(0,110,255,0.35); }
.model-title { flex: 1; }
.model-title h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.model-header:hover .model-title h2 { color: var(--primary); }
.model-title small { font-size: 11px; color: var(--muted); }
.model-chevron { color: var(--muted-2); font-size: 14px; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.model-card.open .model-chevron { transform: rotate(180deg); color: var(--primary); }
.model-chevron.arrow { color: var(--primary); }
.variant-list { padding: 0 14px 14px; display: none; flex-direction: column; gap: 8px; }
.model-card.open .variant-list { display: flex; padding-top: 14px; }
.variant-item {
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--line);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slideInLeft 0.3s ease-out backwards;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: inherit;
}
.variant-item:hover { transform: translateX(6px); border-color: rgba(0,110,255,0.4); background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.variant-img { width: 44px; height: 40px; background: #f1f5f9; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 18px; flex-shrink: 0; }
.variant-title { flex: 1; }
.variant-title h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 2px; }
.variant-item:hover .variant-title h4 { color: var(--primary); }
.variant-title small { font-size: 11px; color: var(--muted-2); }
.variant-title small i { color: var(--primary); margin-right: 4px; font-size: 10px; }
.variant-arrow { color: var(--muted-2); font-size: 11px; transition: all 0.3s ease; }
.variant-item:hover .variant-arrow { transform: translateX(4px); color: var(--primary); }

/* ========== TOATE MĂRCILE ========== */
.all-brands-letters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 28px; }
.letter-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; color: var(--muted); cursor: pointer; }
.letter-btn.active, .letter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.letter-btn.letter-all { width: auto; padding: 0 14px; }
.all-brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

/* ========== MOTORIZĂRI ========== */
.fuel-section { margin-bottom: 44px; }
.fuel-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.fuel-header.diesel { border-bottom-color: #3b82f6; }
.fuel-header.other { border-bottom-color: var(--muted-2); }
.fuel-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(0,110,255,0.1); color: var(--primary); }
.fuel-icon.diesel { background: rgba(59,130,246,0.1); color: #3b82f6; }
.fuel-icon.other { background: #f1f5f9; color: var(--muted); }
.fuel-header h2 { font-size: 24px; font-weight: 600; color: var(--ink); margin: 0; }
.fuel-badge { background: var(--line); color: var(--ink-2); padding: 4px 12px; border-radius: 30px; font-size: 12px; font-weight: 500; }
.engines-grid { display: flex; flex-direction: column; gap: 12px; }
.engine-card { background: #fff; border-radius: 16px; border: 1px solid var(--line); transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; animation: fadeSlideUp 0.4s ease-out backwards; }
.engine-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary); transform: scaleY(0); transition: transform 0.2s; }
.engine-card:hover { border-color: rgba(0,110,255,0.35); box-shadow: 0 12px 24px -12px rgba(0,0,0,0.15); transform: translateX(4px); color: inherit; }
.engine-card:hover::before { transform: scaleY(1); }
.engine-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; flex-wrap: wrap; gap: 16px; }
.engine-info { flex: 1; min-width: 200px; }
.engine-name { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.engine-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.engine-meta-item { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.engine-meta-item i { font-size: 10px; color: var(--primary); }
.engine-specs { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.engine-spec { text-align: center; min-width: 70px; }
.engine-spec-label { font-size: 10px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; letter-spacing: 0.5px; }
.engine-spec-value { font-size: 20px; font-weight: 700; color: var(--ink); }
.engine-spec-unit { font-size: 10px; font-weight: 400; color: var(--muted-2); margin-left: 2px; }
.engine-year { font-size: 13px; color: #475569; background: var(--bg); padding: 4px 12px; border-radius: 30px; display: inline-flex; align-items: center; gap: 6px; }
.engine-year i { font-size: 10px; color: var(--primary); }
.btn-details { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--primary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.btn-details:hover { background: var(--primary); color: #fff; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-card { background: var(--bg); border-radius: 18px; padding: 18px; }
.spec-card-title { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--line-2); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-card-title i { margin-right: 8px; }
.spec-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); }
.spec-row:last-child { border-bottom: none; }
.spec-row span { color: var(--muted); }
.spec-row strong { color: var(--ink); }

/* ========== CATEGORII PIESE ========== */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.categorie-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; transition: all 0.3s; animation: fadeSlideUp 0.4s ease backwards; }
.categorie-card:hover { box-shadow: 0 20px 35px -15px rgba(0,0,0,0.12); }
.categorie-header { background: linear-gradient(135deg, #f8fafc, #fff); padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.categorie-header .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,110,255,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.categorie-header h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.categorie-header .count { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; padding: 4px 12px; border-radius: 30px; }
.subcategorii-lista { padding: 8px 0 12px; }
.subcategorie-item { border-bottom: 1px solid #f1f5f9; padding: 4px 0; }
.subcategorie-item:last-child { border-bottom: none; }
.subcategorie-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; cursor: pointer; transition: all 0.2s; border-radius: 12px; margin: 0 8px; }
.subcategorie-header:hover { background: var(--bg); }
.subcategorie-left { display: flex; align-items: center; gap: 10px; }
.subcategorie-chevron { color: var(--primary); font-size: 12px; transition: transform 0.2s; width: 16px; }
.subcategorie-item.open .subcategorie-chevron { transform: rotate(90deg); }
.subcategorie-nume { font-size: 14px; font-weight: 600; color: var(--ink); }
.subcategorie-badge { background: #f1f5f9; color: #000; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 30px; }
.items-grid { display: none; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 6px 20px 14px 54px; }
.subcategorie-item.open .items-grid { display: grid; }
.group-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; background: var(--bg); border-radius: 12px; text-decoration: none; transition: all 0.2s; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.group-link i { color: var(--primary); margin-right: 6px; font-size: 11px; }
.group-link:hover { background: #fff; border-color: var(--primary); color: var(--primary); transform: translateX(3px); }
.group-count { background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 20px; flex-shrink: 0; }
.group-link.highlight { border-color: var(--primary); background: #eff6ff; }

/* ========== MAGAZIN – LISTĂ PRODUSE ========== */
.shop-header { background: var(--hero-grad); padding: 54px 0; text-align: center; position: relative; overflow: hidden; }
.shop-header h1, .shop-header-title { font-size: 46px; font-weight: 800; color: #fff; margin: 0; position: relative; font-family: inherit; line-height: 1.2; }
.shop-header h1 i, .shop-header-title i { color: var(--primary); margin-right: 12px; }
.shop-header .hero-watermark { right: 40px; bottom: -40px; }
.shop-header .vehicle-badge { margin-top: 16px; }
.page-header-modern { margin: 10px 0 20px; }
.page-header-modern h1 { font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.page-header-modern h1 span { color: var(--primary); }
.page-header-modern p { color: var(--muted); font-size: 14px; margin: 0; }
.sort-header-modern { margin: 0 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; background: #fff; padding: 8px; border-radius: 20px; border: 1px solid var(--line); }
.results-count-modern { color: #475569; font-size: 14px; background: #fff; padding: 8px 16px; border-radius: 40px; border: 1px solid var(--line); }
.results-count-modern i { color: var(--primary); margin-right: 8px; }
.sort-actions-modern { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.sort-actions-modern label { font-size: 13px; color: var(--muted); margin-right: 8px; }
.sort-actions-modern select { padding: 8px 15px; border: 1px solid var(--line-2); border-radius: 40px; font-size: 13px; background: #fff; cursor: pointer; outline: none; }
.view-buttons-modern { display: flex; gap: 8px; }
.view-btn-modern { padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; color: var(--muted); }
.view-btn-modern.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.products-layout-modern { display: flex; gap: 30px; align-items: flex-start; }
.filters-sidebar-modern { width: 280px; flex-shrink: 0; background: #fff; border-radius: 24px; padding: 24px; border: 1px solid var(--line); position: sticky; top: 150px; }
.filter-section-modern { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-section-modern:last-of-type { border-bottom: none; }
.filter-title-modern { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.filter-title-modern i { color: var(--primary); }
.filter-options-modern { display: flex; flex-direction: column; gap: 10px; max-height: 260px; overflow-y: auto; }
.filter-option-modern { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: #475569; margin: 0; }
.filter-option-modern input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }
.filter-option-modern .count { color: var(--muted-2); font-size: 11px; margin-left: auto; }
.price-range { width: 100%; accent-color: var(--primary); }
.price-inputs { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.price-inputs input { width: 90px; padding: 8px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 12px; outline: none; }
.btn-filter-modern { background: var(--primary); color: #fff; border: none; border-radius: 40px; padding: 9px 20px; font-weight: 600; font-size: 12px; cursor: pointer; width: 100%; margin-top: 4px; }
.reset-filters-modern { display: block; text-align: center; color: var(--primary); font-size: 12px; text-decoration: none; margin-top: 14px; cursor: pointer; }
.filters-toggle { display: none; padding: 8px 16px; font-size: 13px; }
.fitment-note { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 14px; padding: 12px 14px; font-size: 12px; display: flex; gap: 10px; }
.fitment-note i { color: var(--success); margin-top: 2px; }

.products-area { flex: 1; min-width: 0; }
.products-grid-modern { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.products-grid-modern.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card-modern { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; transition: all 0.3s; animation: fadeSlideUp 0.4s ease backwards; display: flex; flex-direction: column; }
.product-card-modern:hover { transform: translateY(-4px); box-shadow: 0 20px 35px -12px rgba(0,0,0,0.12); border-color: rgba(0,110,255,0.3); }
.product-image-modern { height: 180px; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; text-decoration: none; }
.part-visual { width: 110px; height: 110px; border-radius: 28px; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff; background: linear-gradient(135deg, #1e293b, #475569); box-shadow: inset 0 -8px 20px rgba(0,0,0,0.25), 0 14px 26px -12px rgba(15,23,42,0.6); position: relative; }
.part-visual::after { content: attr(data-brand); position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); background: #fff; color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); white-space: nowrap; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.product-badge.fit { left: auto; right: 12px; background: var(--success); }
.product-info-modern { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-code-modern { font-size: 10px; color: var(--muted); margin-bottom: 8px; display: inline-flex; gap: 6px; align-items: center; background: #f1f5f9; padding: 3px 10px; border-radius: 30px; align-self: flex-start; font-weight: 600; }
.product-title-modern { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 6px; min-height: 40px; }
.product-title-modern a { text-decoration: none; color: inherit; transition: color 0.2s; }
.product-title-modern a:hover { color: var(--primary); }
.product-brand-modern { font-size: 11px; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.product-brand-modern i { margin-right: 4px; }
.product-props { font-size: 11px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.product-price-row { margin-top: auto; }
.current-price-modern { font-size: 20px; font-weight: 800; color: var(--primary); }
.old-price-modern { font-size: 12px; color: var(--muted-2); text-decoration: line-through; margin-left: 8px; }
.vat-note { font-size: 10px; color: var(--muted-2); display: block; }
.stock-status-modern { font-size: 12px; font-weight: 600; margin: 8px 0 12px; display: flex; align-items: center; gap: 6px; }
.in-stock-modern { color: var(--success); }
.supplier-stock-modern { color: #2563eb; }
.on-order-modern { color: var(--warning); }
.btn-actions-group-modern { display: flex; gap: 8px; }
.btn-details-modern { flex: 0 0 auto; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; background: #fff; }
.btn-details-modern:hover { border-color: var(--primary); color: var(--primary); }
.btn-cart-modern { flex: 1; padding: 10px 12px; border-radius: 12px; border: none; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.btn-cart-modern:hover { background: var(--primary-dark); }
.btn-cart-modern.added { background: var(--success); }

.products-grid-modern.list { grid-template-columns: 1fr; }
.products-grid-modern.list .product-card-modern { flex-direction: row; }
.products-grid-modern.list .product-image-modern { width: 200px; height: auto; min-height: 170px; flex-shrink: 0; }
.products-grid-modern.list .product-title-modern { min-height: 0; }
.products-grid-modern.list .product-info-modern { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
.products-grid-modern.list .pi-main { flex: 1; min-width: 220px; }
.products-grid-modern.list .product-price-row { margin-top: 0; width: 220px; }

.pagination-modern { display: flex; gap: 8px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.page-btn { min-width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 0 12px; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.4; cursor: default; }

/* ========== PAGINĂ PRODUS ========== */
.product-detail-card { background: #fff; border-radius: 28px; border: 1px solid var(--line); padding: 32px; margin-bottom: 28px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.product-gallery-modern { background: var(--bg); border-radius: 24px; min-height: 380px; display: flex; align-items: center; justify-content: center; position: relative; }
.product-gallery-modern .part-visual { width: 190px; height: 190px; font-size: 80px; border-radius: 44px; }
.product-gallery-modern .part-visual::after { font-size: 12px; padding: 5px 14px; bottom: -14px; }
.gallery-thumbs { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.gallery-thumbs span { width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--muted-2); }
.gallery-thumbs span.active { border-color: var(--primary); color: var(--primary); }
.badge-stock-modern { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 700; background: #dcfce7; color: #166534; }
.badge-stock-modern.supplier { background: #dbeafe; color: #1e40af; }
.badge-stock-modern.order { background: #fef3c7; color: #92400e; }
.brand-badge-modern { display: inline-flex; gap: 6px; align-items: center; background: rgba(0,110,255,0.1); color: var(--primary); padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.detail-title { font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.detail-code { font-size: 13px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 18px; flex-wrap: wrap; }
.detail-code strong { color: var(--ink); }
.price-section-modern { background: var(--bg); border-radius: 20px; padding: 20px 22px; margin-bottom: 18px; }
.price-section-modern .current-price-modern { font-size: 34px; }
.stock-info-modern { display: flex; flex-direction: column; gap: 6px; font-size: 13px; margin-top: 10px; }
.stock-info-modern div { display: flex; gap: 8px; align-items: center; }
.stock-info-modern i { width: 16px; color: var(--primary); }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 40px; overflow: hidden; background: #fff; }
.qty-box button { width: 40px; height: 44px; border: none; background: #fff; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.qty-box button:hover { background: var(--bg); color: var(--primary); }
.qty-box input { width: 46px; text-align: center; border: none; font-weight: 700; outline: none; }
.action-buttons-modern { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust-row div { background: var(--bg); border-radius: 14px; padding: 12px; font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.trust-row i { color: var(--primary); font-size: 18px; }
.detail-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.section-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: 26px; }
.section-title-modern { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.section-title-modern i { color: var(--primary); }
.specs-grid-modern { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec-item-modern { background: var(--bg); border-radius: 12px; padding: 10px 14px; }
.spec-label-modern { font-size: 11px; color: var(--muted); }
.spec-value-modern { font-size: 14px; font-weight: 700; color: var(--ink); }
.analogs-list-modern { display: flex; flex-wrap: wrap; gap: 8px; }
.analog-badge-modern { background: var(--bg); border: 1px solid var(--line-2); border-radius: 30px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.analog-badge-modern i { color: var(--muted-2); }
.analog-badge-modern:hover { border-color: var(--primary); color: var(--primary); }
.fit-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.fit-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line-2); }
.fit-table td { padding: 10px; border-bottom: 1px solid #f1f5f9; }
.fit-table tr.current td { background: #ecfdf5; font-weight: 600; }
.btn-back-modern { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-weight: 600; margin-top: 24px; }
.btn-back-modern:hover { color: var(--primary); }

/* ========== COȘ & FINALIZARE ========== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-items { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto 36px; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid #f1f5f9; }
.cart-row:last-child { border-bottom: none; }
.cart-thumb { width: 64px; height: 64px; border-radius: 16px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--primary); }
.cart-name { font-weight: 700; color: var(--ink); font-size: 14px; text-decoration: none; }
.cart-name:hover { color: var(--primary); }
.cart-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cart-line-price { font-weight: 800; color: var(--ink); min-width: 100px; text-align: right; }
.cart-remove { width: 36px; height: 36px; border-radius: 50%; border: none; background: #fef2f2; color: var(--danger); cursor: pointer; }
.cart-remove:hover { background: var(--danger); color: #fff; }
.qty-box.sm button { width: 32px; height: 34px; font-size: 13px; }
.qty-box.sm input { width: 36px; font-size: 13px; }
.summary-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: 24px; position: sticky; top: 150px; }
.summary-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.summary-line { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 8px 0; color: #475569; }
.summary-line span:last-child { white-space: nowrap; text-align: right; }
.summary-line.total { border-top: 2px solid var(--line-2); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.summary-line.total span:last-child { color: var(--primary); }
.free-ship-bar { background: #f1f5f9; border-radius: 10px; height: 8px; overflow: hidden; margin: 8px 0 4px; }
.free-ship-bar div { height: 100%; background: linear-gradient(90deg, var(--primary), #3b8cff); }
.free-ship-text { font-size: 12px; color: var(--muted); }
.checkout-box { background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: 26px; margin-bottom: 20px; }
.checkout-box h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.checkout-box h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.proto-form label, .form-label-modern { font-size: 12px; font-weight: 600; color: #475569; margin: 10px 0 6px; display: block; }
.option-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.option-card { border: 2px solid var(--line-2); border-radius: 16px; padding: 14px 16px; cursor: pointer; display: flex; gap: 12px; align-items: center; transition: all 0.2s; margin: 0; }
.option-card input { accent-color: var(--primary); }
.option-card i { font-size: 20px; color: var(--primary); width: 24px; text-align: center; }
.option-card strong { display: block; font-size: 13px; color: var(--ink); }
.option-card small { font-size: 11px; color: var(--muted); }
.option-card:has(input:checked) { border-color: var(--primary); background: #eff6ff; }

/* ========== FORMULARE (Cere ofertă, Urmărește) ========== */
.form-card { background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: 30px; }
.side-info { background: var(--hero-grad); border-radius: 24px; padding: 30px; color: #cbd5e1; }
.side-info h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.side-info li { margin-bottom: 12px; display: flex; gap: 10px; }
.side-info li i { color: #60a5fa; margin-top: 3px; }
.side-info ul { list-style: none; padding: 0; margin: 0; }
.track-steps { display: flex; justify-content: space-between; margin: 28px 0 10px; position: relative; }
.track-steps::before { content: ''; position: absolute; top: 18px; left: 6%; right: 6%; height: 3px; background: var(--line-2); }
.track-step { text-align: center; flex: 1; position: relative; font-size: 12px; color: var(--muted); }
.track-step span { width: 38px; height: 38px; border-radius: 50%; background: var(--line-2); color: var(--muted); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; position: relative; }
.track-step.done span { background: var(--success); color: #fff; }
.track-step.current span { background: var(--primary); color: #fff; box-shadow: 0 0 0 6px rgba(0,110,255,0.15); }

/* ========== PAGINI TEXT ========== */
.text-page { background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: 36px; line-height: 1.75; color: #334155; }
.text-page h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 22px 0 10px; }

/* ========== FOOTER ========== */
.footer-ultra { position: relative; background: linear-gradient(180deg, #080c14 0%, #0a0f1a 50%, #0d1321 100%); color: #b0b8c8; padding: 64px 0 0; overflow: hidden; margin-top: 0; }
.footer-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.footer-glow-1 { width: 400px; height: 400px; background: rgba(0,102,255,0.12); top: -150px; left: -100px; }
.footer-glow-2 { width: 300px; height: 300px; background: rgba(0,102,255,0.08); bottom: -100px; right: -50px; }
.footer-container { position: relative; z-index: 1; }
.footer-main-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { width: 200px; max-width: 100%; margin-bottom: 14px; }
.footer-desc { font-size: 13px; line-height: 1.7; color: #8a94a6; }
.footer-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #8a94a6; font-weight: 700; margin: 18px 0 10px; }
.social-grid { display: flex; gap: 10px; }
.social-circle { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #e8ecf1; text-decoration: none; transition: all 0.25s; }
.social-circle:hover { background: #0066ff; color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,102,255,0.5); }
.footer-heading { font-size: 15px; font-weight: 700; color: #e8ecf1; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.heading-icon { width: 32px; height: 32px; border-radius: 10px; background: rgba(0,102,255,0.15); color: #3399ff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a { color: #b0b8c8; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s; }
.footer-nav-list a:hover { color: #3399ff; transform: translateX(4px); }
.link-arrow { color: #0066ff; }
.footer-contact-mini { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.contact-row { display: flex; gap: 12px; align-items: center; }
.contact-icon-box { width: 38px; height: 38px; border-radius: 12px; background: rgba(0,102,255,0.12); color: #3399ff; display: flex; align-items: center; justify-content: center; }
.contact-label { display: block; font-size: 11px; color: #8a94a6; }
.contact-value { color: #e8ecf1; text-decoration: none; font-weight: 600; font-size: 13px; }
.contact-value:hover { color: #3399ff; }
.contact-line { display: flex; gap: 12px; font-size: 13px; }
.contact-line i { color: #3399ff; margin-top: 3px; }
.newsletter-subtitle { font-size: 12px; color: #8a94a6; margin-bottom: 12px; }
.newsletter-box { display: flex; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 40px; padding: 4px; }
.newsletter-field { flex: 1; background: transparent; border: none; color: #fff; padding: 10px 16px; font-size: 13px; outline: none; min-width: 0; }
.newsletter-field::placeholder { color: #8a94a6; }
.newsletter-submit { width: 42px; height: 42px; border-radius: 50%; border: none; background: #0066ff; color: #fff; cursor: pointer; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.05); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.legal-row { display: flex; gap: 10px; }
.badge-anpc { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #e8ecf1; text-decoration: none; font-size: 12px; font-weight: 700; }
.badge-anpc i { color: #3399ff; }
.badge-anpc:hover { color: #fff; border-color: #0066ff; }
.payment-strip { display: flex; gap: 10px; }
.payment-badge { width: 48px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #e8ecf1; font-size: 18px; }
.copyright-line { margin: 0; font-size: 12px; color: #8a94a6; }
.copyright-brand { color: #3399ff; font-weight: 700; }

/* ========== FLOTANTE ========== */
.chat-fab { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; border: none; background: #10b981; color: #fff; font-size: 22px; box-shadow: 0 10px 25px rgba(16,185,129,0.45); z-index: 2000; cursor: pointer; transition: transform 0.2s; }
.chat-fab:hover { transform: scale(1.08); }
.scroll-top-btn { position: fixed; right: 30px; bottom: 90px; width: 40px; height: 40px; border-radius: 12px; border: none; background: var(--primary); color: #fff; z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.25s; cursor: pointer; }
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.chat-panel { position: fixed; right: 22px; bottom: 90px; width: 340px; max-width: calc(100vw - 32px); background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.25); z-index: 2100; display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; animation: fadeSlideUp 0.25s ease; }
.chat-head { background: var(--hero-grad); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.chat-head i { color: #34d399; margin-right: 8px; }
.chat-head small { display: block; font-weight: 400; font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.chat-close { background: rgba(255,255,255,0.1); color: #fff; border: none; width: 32px; height: 32px; border-radius: 10px; }
.chat-body { padding: 16px; height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.45; }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.me { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; border: 1px solid var(--line-2); border-radius: 30px; padding: 10px 14px; font-size: 13px; outline: none; }
.chat-input button { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--primary); color: #fff; }

/* ========== MODALE ========== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.active { display: flex; }
.modal-window { background: #fff; border-radius: 28px; max-width: 720px; width: 100%; max-height: 88vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0,0,0,0.3); animation: modalPop 0.35s cubic-bezier(0.34, 1.2, 0.64, 1); }
.modal-sm-window { max-width: 440px; }
@keyframes modalPop { from { opacity: 0; transform: scale(0.92) translateY(-24px); } to { opacity: 1; transform: none; } }
.modal-header-dark { background: var(--hero-grad); padding: 20px 26px; display: flex; justify-content: space-between; align-items: center; }
.modal-header-dark h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 0; }
.modal-header-dark h3 i { color: var(--primary); margin-right: 10px; }
.modal-close-btn { background: rgba(255,255,255,0.1); border: none; width: 38px; height: 38px; border-radius: 12px; color: #fff; font-size: 18px; cursor: pointer; transition: all 0.25s; }
.modal-close-btn:hover { background: var(--primary); transform: rotate(90deg); }
.modal-body-pad { padding: 24px 26px; overflow-y: auto; }
.account-type { display: flex; gap: 16px; margin-bottom: 4px; }
.account-type label { font-size: 13px; display: flex; gap: 6px; align-items: center; margin: 0; }

.toast-box { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 11000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast-msg { background: #0f172a; color: #fff; padding: 12px 20px; border-radius: 40px; font-size: 13px; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,0.3); animation: fadeSlideUp 0.25s ease; display: flex; gap: 10px; align-items: center; }
.toast-msg i { color: #34d399; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
    .home-brands { grid-template-columns: repeat(6, 1fr); }
    .cat-tiles { grid-template-columns: repeat(4, 1fr); }
    .products-grid-modern, .products-grid-modern.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .all-brands-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 991px) {
    .top-bar-left, .top-bar .col-lg-3 { display: none; }
    .logo-img { height: 70px; }
    .logo-link { margin: -6px 0; }
    .search-select { display: none; }
    .search-btn { padding: 12px 16px; }
    .bottom-menu { display: none; }
    /* fix sub antetul lipit sus (poziția o pune site.js), ca să se vadă și când pagina e derulată până jos */
    .bottom-menu.mobile-open {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--aa-menu-top, 0px);
        max-height: calc(100vh - var(--aa-menu-top, 0px));
        max-height: calc(100dvh - var(--aa-menu-top, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 1001;
        box-shadow: 0 18px 40px rgba(0,0,0,0.35);
        animation: fadeSlideDown 0.2s ease;
    }
    body.mobile-menu-open { overflow: hidden; }
    body.mobile-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(15,23,42,0.55); z-index: 999; }
    /* opacity, nu doar visibility: clasa .visible din Bootstrap pune visibility cu !important */
    body.mobile-menu-open .chat-fab, body.mobile-menu-open .scroll-top-btn { visibility: hidden; opacity: 0; pointer-events: none; }
    .main-nav { flex-direction: column; }
    .main-nav .nav-link { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .mega-dropdown { display: none; }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: 1fr; }
    .products-layout-modern { flex-direction: column; }
    .filters-sidebar-modern { width: 100%; position: static; display: none; }
    .filters-sidebar-modern.open { display: block; animation: fadeSlideDown 0.25s ease; }
    .filters-toggle { display: inline-flex; }
    .shop-header { padding: 40px 16px; }
    .shop-header .vehicle-badge { flex-wrap: wrap; justify-content: center; text-align: center; }
    .product-detail-grid, .detail-sections, .cart-layout { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .footer-main-row { grid-template-columns: 1fr 1fr; }
    .features-strip { grid-template-columns: repeat(2, 1fr); }
    .feature-item:first-child, .feature-item:last-child { border-radius: 0; }
    .home-hero h1 { font-size: 32px; }
}
@media (max-width: 767px) {
    .page-wrap { padding: 22px 16px 44px; }
    .dark-hero { padding: 26px 22px; border-radius: 20px; }
    .dark-hero h1 { font-size: 24px; }
    .brand-hero { gap: 18px; }
    .brand-hero-logo { width: 84px; height: 84px; }
    .brand-hero-logo img { width: 48px; height: 48px; }
    .models-grid { grid-template-columns: 1fr; }
    .home-brands { grid-template-columns: repeat(4, 1fr); }
    .cat-tiles { grid-template-columns: repeat(2, 1fr); }
    .all-brands-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid-modern, .products-grid-modern.cols-4 { grid-template-columns: 1fr; }
    .products-grid-modern.list .product-card-modern { flex-direction: column; }
    .products-grid-modern.list .product-image-modern { width: 100%; }
    .items-grid { grid-template-columns: 1fr; margin-left: 20px; }
    .engine-specs { gap: 16px; }
    .engine-inner { padding: 16px; }
    .spec-grid, .specs-grid-modern, .trust-row { grid-template-columns: 1fr; }
    .cart-row { grid-template-columns: 52px 1fr; }
    .cart-row .qty-box, .cart-row .cart-line-price { grid-column: 2; justify-self: start; text-align: left; }
    .cart-row .cart-remove { grid-column: 2; justify-self: end; margin-top: -40px; }
    .footer-main-row { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; text-align: center; }
    .shop-header h1 { font-size: 32px; }
    .home-hero { padding: 36px 0 44px; }
    .finder-card { padding: 18px; }
    .finder-tab { font-size: 12px; padding: 9px 4px; }
    .home-hero h1 { font-size: 27px; }
    .section-block { padding: 40px 0; }
    .promo-banner { padding: 28px 24px; }
    .product-detail-card { padding: 18px; }
    .detail-title { font-size: 22px; }
    .features-strip { grid-template-columns: 1fr; }
}

/* =========================================================
   ADĂUGIRI PENTRU TEMA WORDPRESS
   ========================================================= */
#continut { min-height: 60vh; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000; background: #fff; color: var(--primary); padding: 10px 16px; border-radius: 8px; font-weight: 600; }

/* bara de administrare WordPress deasupra antetului lipit */
.admin-bar .main-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .main-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .main-header { top: 0; } }

/* mega-meniu: iconițele categoriilor și inițialele producătorilor */
.mega-dropdown-inner { max-height: calc(100vh - 220px); overflow-y: auto; }
/* categoriile sunt multe (25): pe rânduri compacte, iconița lângă nume */
.brands-grid-menu.mega-cats { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mega-cats .brand-card-menu { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
.mega-cats .brand-card-menu span:last-child { text-align: left; font-size: 12.5px; line-height: 1.3; }
.brand-card-menu .mega-ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(0,110,255,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.brand-mono, .brand-card-menu .brand-mono, .home-brand .brand-mono { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 0.5px; margin-bottom: 10px; }
.brand-card-menu .brand-mono { width: 48px; height: 48px; }
.home-brand small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.home-brand span:not(.brand-mono) { overflow-wrap: anywhere; }

/* liste: subcategoriile din bara de filtre */
.filters-form { margin: 0; }
.filter-link { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #475569; text-decoration: none; padding: 4px 8px; margin: 0 -8px; border-radius: 10px; }
.filter-link:hover { color: var(--primary); background: var(--bg); }
.filter-link.active { color: var(--primary); font-weight: 700; background: rgba(0,110,255,0.08); }
.filter-link .count { color: var(--muted-2); font-size: 11px; margin-left: auto; font-weight: 400; }
.filters-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.sort-form { display: flex; align-items: center; margin: 0; }
.sort-note { font-size: 13px; color: var(--muted); padding: 0 8px; }
.sort-note i { color: var(--primary); margin-right: 6px; }

/* paginare cu legături */
a.page-btn, span.page-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
a.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.disabled { opacity: 0.4; cursor: default; }
.page-gap { align-self: center; padding: 0 4px; color: var(--muted); }

/* cardul piesei */
.product-badge.deposit { background: #0f172a; }
.deposit-note { display: block; font-size: 11px; color: #92400e; font-weight: 600; margin-top: 2px; }
.product-code-modern { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-title-modern, .detail-title { overflow-wrap: anywhere; }
.btn-cart-modern:disabled, .btn-primary-modern:disabled { background: #cbd5e1; color: #fff; cursor: not-allowed; transform: none; box-shadow: none; }
.part-photo { display: block; max-width: 100%; object-fit: contain; }
.part-photo-card { max-height: 140px; }
.part-photo-detail { max-height: 340px; padding: 20px; }

/* pagina piesei */
.brand-badge-modern { text-decoration: none; }
a.brand-badge-modern:hover { background: rgba(0,110,255,0.18); color: var(--primary); }
.auto-translated { font-size: 12px; color: var(--muted); margin: -12px 0 16px; }
.auto-translated i { color: var(--primary); margin-right: 6px; }
.deposit-box { display: flex; gap: 12px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; padding: 12px 14px; margin-top: 12px; font-size: 13px; color: #78350f; }
.deposit-box i { color: #d97706; margin-top: 3px; }
.deposit-box span { display: block; font-size: 12px; color: #92400e; margin-top: 2px; }
.btn-add-detail { flex: 1; }
.analog-badge-modern { font-family: inherit; }

/* categorii: subcategoriile sunt mereu vizibile */
.items-grid.flat { display: grid; margin: 14px 20px 18px; }
.categorie-header h2 a { color: inherit; text-decoration: none; }
.categorie-header h2 a:hover { text-decoration: underline; }

/* pagina principală */
.feature-desc a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* căutare */
.search-notice { display: flex; gap: 12px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; border-radius: 14px; padding: 12px 16px; font-size: 13px; margin-bottom: 20px; }
.search-notice i { color: var(--primary); margin-top: 2px; }
.search-page-form { max-width: 640px; margin: 10px 0 14px; }
.search-page-form .pill-search { margin: 0; max-width: none; }
.search-examples { font-size: 13px; color: var(--muted); }

/* pagini WordPress */
.text-page-content > *:last-child { margin-bottom: 0; }
.text-page-content img { max-width: 100%; height: auto; }

/* subsol și butoane flotante */
.footer-company { line-height: 1.6; color: #8a94a6; font-size: 12px; }
.footer-company strong { color: #e8ecf1; }
a.chat-fab { display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; }
a.chat-fab:hover { color: #fff; }

@media (max-width: 991px) {
    /* pe telefon bara de sus arată telefonul și emailul */
    .top-bar .top-bar-left { display: block; text-align: center; }
    .top-bar-left > :nth-child(n+4) { display: none; }
    .top-bar .col-lg-5 { display: none; }
    /* lista ocupă toată lățimea și când are un singur rezultat */
    .products-area { width: 100%; }
}
/* iconițele din butoanele mesajelor „nu am găsit” rămân de mărimea textului */
.no-results .btn-primary-modern i, .no-results .btn-secondary-modern i { font-size: inherit; display: inline; color: inherit; margin: 0; }
.stock-info-modern .in-stock-modern i { color: var(--success); }
.stock-info-modern .on-order-modern i { color: var(--warning); }
@media (max-width: 767px) {
    .search-btn { padding: 12px 14px; }
    .product-gallery-modern { min-height: 250px; padding-top: 36px; }
    .product-gallery-modern .part-visual { width: 150px; height: 150px; font-size: 62px; border-radius: 36px; }
    .action-buttons-modern .btn-add-detail { flex: 1 1 auto; }
    .sort-header-modern { padding: 8px 10px; }
    /* pe telefon: „Filtre” și sortarea pe un rând (vederea „listă” arată la fel ca grila) */
    .sort-actions-modern { width: 100%; flex-wrap: nowrap; gap: 10px; }
    .sort-actions-modern label, .view-buttons-modern { display: none; }
    .sort-form { flex: 1; min-width: 0; }
    .sort-form select { width: 100%; }
    .sort-note { padding: 0; }
}

/* ========== Coș (WooCommerce) ========== */
.toast-msg .toast-link { color: #93c5fd; font-weight: 700; margin-left: 6px; pointer-events: auto; }
.aa-cart-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); }
.aa-deposit-qty { display: inline-block; min-width: 36px; text-align: center; font-weight: 700; color: var(--muted); }

/* WooCommerce (coș, finalizare, cont): aceleași culori și forme ca restul site-ului, nu movul implicit */
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background: var(--primary); color: #fff; border-radius: 40px; font-weight: 700; padding: 14px 28px; border: none; transition: all 0.2s;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce #place_order:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: var(--primary-dark); color: #fff; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    border-radius: 40px; background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); font-weight: 600; padding: 10px 20px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea,
.woocommerce .coupon input.input-text, .woocommerce .quantity input.qty {
    border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; font-family: inherit; background: #fff;
}
.woocommerce .quantity input.qty { padding: 8px 6px; width: 64px; }
.woocommerce table.shop_table { border-radius: 16px; border-color: var(--line); overflow: hidden; }
.woocommerce-checkout #payment { background: var(--bg); border-radius: 16px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--primary); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--primary); }

/* siglele mărcilor auto (PNG transparente, 256 px înălțime): se micșorează, deci rămân clare și pe ecranele dense */
img.make-logo { width: 64px; height: 42px; object-fit: contain; }
.home-brand img.make-logo { width: 72px; height: 46px; margin: 0 0 10px; }
.brand-card-menu img.make-logo { width: 64px; height: 40px; margin: 2px 0 12px; }
.brand-hero-logo:has(img.make-logo) { background: #fff; }
.brand-hero-logo img.make-logo { width: 96px; height: 72px; }
.analog-badge-modern img.make-logo { width: 28px; height: 18px; }
@media (max-width: 767px) {
    .brand-hero-logo img.make-logo { width: 64px; height: 48px; }
}
a.analog-badge-modern { text-decoration: none; }

/* nota de pe paginile Autoturisme */
.vin-note { display: flex; align-items: center; gap: 18px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 18px; padding: 16px 20px; margin-bottom: 24px; }
.vin-note-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.vin-note-text { flex: 1; font-size: 14px; color: #1e3a8a; line-height: 1.55; }
.vin-note-text strong { display: block; color: var(--ink); margin-bottom: 2px; }
.vin-note .btn-primary-modern { white-space: nowrap; flex-shrink: 0; }

/* produse universale */
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uni-card { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; text-decoration: none; color: var(--ink); transition: all 0.2s; position: relative; }
.uni-card:hover { border-color: var(--primary); box-shadow: 0 12px 30px rgba(0,110,255,0.10); transform: translateY(-2px); color: var(--ink); }
.uni-ic { width: 52px; height: 52px; border-radius: 16px; background: #eff6ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.uni-body { flex: 1; min-width: 0; padding-right: 18px; }
.uni-body h2 { font-size: 17px; font-weight: 700; margin: 2px 0 6px; }
.uni-body p { font-size: 13px; color: var(--muted); margin: 0 0 8px; line-height: 1.5; }
.uni-body small { font-size: 12px; font-weight: 600; color: var(--primary); }
.uni-go { position: absolute; right: 20px; top: 24px; color: var(--muted-2); transition: all 0.2s; }
.uni-card:hover .uni-go { color: var(--primary); transform: translateX(3px); }
.cat-tiles.cat-tiles-3 { grid-template-columns: repeat(3, 1fr); }

/* formularul de ofertă */
.quote-section-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 26px 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote-section-title:first-of-type { margin-top: 0; }
.quote-section-title i { color: var(--primary); }
.quote-section-title .optional { font-size: 12px; font-weight: 500; color: var(--muted); }
.quote-form textarea.form-input { resize: vertical; min-height: 90px; }
.form-input.is-invalid { border-color: var(--danger); background: #fff5f5; }
.form-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.field-error { color: #b91c1c; font-size: 12px; font-weight: 600; margin-top: 6px; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 14px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.form-alert i { margin-top: 3px; }
.quote-product { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.quote-product i { color: var(--primary); margin-top: 3px; }
.quote-product a { color: var(--ink); }
.form-privacy { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.form-privacy i { margin-right: 4px; }
.form-privacy a { color: var(--primary); }
/* câmpul capcană pentru roboți: ascuns pentru oameni și pentru cititoarele de ecran */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.quote-success { text-align: center; padding: 44px 30px; }
.quote-success-icon { font-size: 54px; color: var(--success); margin-bottom: 10px; }
.quote-success h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.quote-success p { max-width: 560px; margin-left: auto; margin-right: auto; }
.side-info p { color: #cbd5e1; }

@media (max-width: 991px) {
    .uni-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .vin-note { flex-direction: column; align-items: flex-start; }
    .vin-note .btn-primary-modern { width: 100%; justify-content: center; }
    .uni-grid { grid-template-columns: 1fr; }
    .cat-tiles.cat-tiles-3 { grid-template-columns: 1fr; }
    .form-card { padding: 20px; }
    .quote-success { padding: 30px 18px; }
}

/* bannerele puse două câte două au aceeași înălțime */
.row > [class*="col"] > .promo-banner { height: 100%; }

/* paginile de text (termeni, confidențialitate, livrare…) */
.text-page h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 18px 0 8px; }
.text-page-content ul, .text-page-content ol { padding-left: 22px; margin-bottom: 14px; }
.text-page-content li { margin-bottom: 4px; }
.text-page-content li > ul { margin: 6px 0 4px; }
.text-page-content a { color: var(--primary); }
.text-page-content code { background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; font-size: 0.86em; color: var(--ink-2); }
.text-page-content .table-wrap { overflow-x: auto; margin: 10px 0 18px; border: 1px solid var(--line-2); border-radius: 14px; }
.text-page-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.text-page-content th, .text-page-content td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.text-page-content th { background: var(--bg); color: var(--ink); font-weight: 700; }
.text-page-content tr:last-child td { border-bottom: 0; }
/* textele care trebuie completate înainte de lansare */
mark.aa-todo { background: #fef3c7; color: #92400e; border-radius: 4px; padding: 0 4px; font-weight: 600; }
@media (max-width: 767px) {
    .text-page { padding: 22px 18px; }
    .text-page-content th, .text-page-content td { padding: 8px 10px; font-size: 13px; }
}
.aa-anchor { display: block; position: relative; top: -140px; visibility: hidden; }

/* Contul meu (WooCommerce): meniul contului ca listă de butoane, cu iconițe */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.15s; }
.woocommerce-MyAccount-navigation a::before { font-family: "Font Awesome 6 Free"; font-weight: 900; width: 18px; text-align: center; color: var(--primary); content: "\f105"; }
.woocommerce-MyAccount-navigation a:hover { border-color: var(--primary); color: var(--primary); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--primary); border-color: var(--primary); color: #fff; }
.woocommerce-MyAccount-navigation .is-active a::before { color: #fff; }
.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f625"; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "\f290"; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f3c5"; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f007"; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5"; }
.woocommerce-MyAccount-content > p:first-of-type { margin-top: 0; }

/* ========== Fereastra laterală a coșului ========== */
a.custom-dropdown-btn { text-decoration: none; }
.cart-drawer-backdrop { position: fixed; inset: 0; background: rgba(2,6,23,0.55); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; z-index: 5000; }
body.cart-drawer-open { overflow: hidden; }
body.cart-drawer-open .cart-drawer-backdrop { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; height: 100dvh; width: 420px; max-width: 100%; background: #fff; z-index: 5010; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform 0.32s cubic-bezier(0.2,0.8,0.2,1), visibility 0.32s; box-shadow: -24px 0 60px rgba(2,6,23,0.25); }
.cart-drawer.open { transform: none; visibility: visible; }
.cart-drawer:focus { outline: none; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--hero-grad); flex-shrink: 0; }
.cd-head h2 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.cd-head h2 i { color: #60a5fa; }
.cd-count { background: var(--primary); color: #fff; border-radius: 20px; font-size: 12px; padding: 2px 9px; }
.cd-close { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #fff; font-size: 18px; cursor: pointer; }
.cd-close:hover, .cd-close:focus-visible { background: rgba(255,255,255,0.15); }
.cd-added { display: none; padding: 12px 20px; background: #ecfdf5; color: #065f46; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid #a7f3d0; line-height: 1.45; flex-shrink: 0; }
.cd-added.show { display: block; }
.cd-added.error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.cd-added i { margin-right: 6px; }
.cd-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cd-items { flex: 1; overflow-y: auto; padding: 4px 20px; margin: 0; list-style: none; }
.cd-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f1f5f9; transition: opacity 0.2s; }
.cd-item:last-child { border-bottom: 0; }
.cd-item.removing { opacity: 0.4; pointer-events: none; }
.cd-thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; overflow: hidden; text-decoration: none; }
.cd-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.cd-thumb .aa-cart-icon { font-size: 26px; color: var(--primary); }
.cd-info { flex: 1; min-width: 0; }
.cd-name { font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-name:hover { color: var(--primary); }
.cd-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cd-deposit { display: inline-block; margin-top: 6px; padding: 4px 8px; border-radius: 8px; background: #fffbeb; color: #92400e; font-size: 12px; line-height: 1.35; }
.cd-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cd-price { font-weight: 700; color: var(--ink); font-size: 14px; white-space: nowrap; }
.cd-remove { border: 0; background: transparent; color: var(--muted-2); width: 32px; height: 32px; border-radius: 9px; cursor: pointer; }
.cd-remove:hover, .cd-remove:focus-visible { background: #fef2f2; color: var(--danger); }
.cd-footer { padding: 16px 20px 20px; border-top: 1px solid var(--line-2); background: #fff; box-shadow: 0 -10px 30px rgba(15,23,42,0.05); flex-shrink: 0; }
.cd-ship { margin-bottom: 14px; }
.cd-ship-text { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.cd-ship-text i { color: var(--primary); margin-right: 6px; }
.cd-ship.done .cd-ship-text i { color: var(--success); }
.cd-ship-bar { height: 8px; background: #e2e8f0; border-radius: 10px; overflow: hidden; }
.cd-ship-bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--primary), #38bdf8); transition: width 0.4s; }
.cd-ship.done .cd-ship-bar span { background: var(--success); }
.cd-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.cd-subtotal strong { font-size: 21px; color: var(--ink); }
.cd-note { font-size: 12px; color: var(--muted); margin: 2px 0 14px; }
.cd-btn { width: 100%; justify-content: center; margin-top: 8px; }
.cd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; color: var(--muted); }
.cd-empty > i { font-size: 48px; color: #cbd5e1; margin-bottom: 12px; }
.cd-empty p { margin-bottom: 16px; }

/* ========== Coș și finalizare ========== */
.shop-page-title { font-size: 28px; font-weight: 800; color: var(--ink); margin: 6px 0 18px; }
.checkout-steps { list-style: none; display: flex; align-items: center; flex-wrap: wrap; padding: 0; margin: 0 0 26px; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.checkout-steps li + li::before { content: ""; width: 56px; height: 2px; background: var(--line-2); margin: 0 4px; border-radius: 2px; }
.checkout-steps li.done + li::before { background: var(--success); }
.cs-dot { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.checkout-steps li.current { color: var(--ink); }
.checkout-steps li.current .cs-dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(0,110,255,0.3); }
.checkout-steps li.done { color: var(--success); }
.checkout-steps li.done .cs-dot { background: var(--success); border-color: var(--success); color: #fff; }

/* casetele albe */
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout #order_review, .woocommerce-cart form.woocommerce-cart-form, .woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-order-received .woocommerce-order { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; box-shadow: 0 10px 30px rgba(15,23,42,0.04); }

/* finalizarea: datele în stânga, rezumatul comenzii fix în dreapta */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 24px 28px; align-items: start; }
.woocommerce-checkout form.checkout > * { grid-column: 1; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout form.checkout::before, .woocommerce-checkout form.checkout::after { display: none; }
.woocommerce-checkout #customer_details { grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 20px; width: auto; }
.woocommerce-checkout #customer_details::before, .woocommerce-checkout #customer_details::after { display: none; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; max-width: none; flex: none; }
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 130px; box-shadow: 0 20px 50px rgba(15,23,42,0.08); }
.woocommerce-checkout #customer_details h3, .aa-review-title, .woocommerce-cart .cart_totals h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.aa-review-title i { color: var(--primary); }
.woocommerce-billing-fields > h3::before, .woocommerce-additional-fields > h3::before { font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--primary); }
.woocommerce-billing-fields > h3::before { content: "\f2bb"; }
.woocommerce-additional-fields > h3::before { content: "\f249"; }
.woocommerce-checkout #ship-to-different-address { font-size: 16px; margin-bottom: 14px; }
.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; margin: 0; }
.woocommerce-checkout #ship-to-different-address input { accent-color: var(--primary); width: 18px; height: 18px; margin: 0; }
.woocommerce-checkout .woocommerce-shipping-fields .shipping_address { margin-top: 6px; }

/* câmpurile pe două coloane */
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.woocommerce-billing-fields__field-wrapper::before, .woocommerce-billing-fields__field-wrapper::after,
.woocommerce-shipping-fields__field-wrapper::before, .woocommerce-shipping-fields__field-wrapper::after { display: none; }
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row, .woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row { float: none; width: auto; margin: 0 0 14px; padding: 0; grid-column: 1 / -1; }
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce form .woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row-first, .woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row-last { grid-column: auto; }
.woocommerce-checkout .woocommerce form .form-row label, .woocommerce-checkout form .form-row label { font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 6px; line-height: 1.3; }
.woocommerce-checkout form .form-row input.input-text, .woocommerce-checkout form .form-row textarea { padding: 12px 14px; border-radius: 12px; }
.woocommerce-checkout form .form-row textarea.input-text { min-height: 96px; border: 1px solid var(--line-2); }
.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text { border-color: var(--danger); }
.woocommerce-checkout .select2-container .select2-selection--single { height: 46px; border-radius: 12px; border: 1px solid var(--line-2); }
/* WooCommerce pune și padding 0.5em sus/jos: cu line-height 44px, textul (județul ales) cobora sub mijlocul casetei */
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { height: 44px; line-height: 44px; padding: 0 34px 0 14px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; top: 0; right: 8px; }

/* rezumatul comenzii */
.woocommerce-checkout table.woocommerce-checkout-review-order-table { border: 0; margin: 0 0 18px; border-radius: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table th, .woocommerce-checkout table.woocommerce-checkout-review-order-table td { padding: 11px 0; border: 0; border-top: 1px solid #f1f5f9; background: transparent; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); padding-top: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name { font-size: 13.5px; color: var(--ink-2); padding-right: 12px; line-height: 1.4; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-quantity { color: var(--primary); font-weight: 700; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th { font-weight: 600; color: var(--muted); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot .order-total th, .woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot .order-total td { font-size: 18px; font-weight: 800; color: var(--ink); padding-top: 14px; border-top: 2px solid var(--line-2); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot .order-total small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: normal; }
.woocommerce-checkout #shipping_method { margin: 0; padding: 0; list-style: none; }
.woocommerce-checkout #shipping_method li { margin: 0; }

/* metodele de plată ca niște casete de ales */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0; border: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.woocommerce-checkout #payment ul.payment_methods::before, .woocommerce-checkout #payment ul.payment_methods::after { display: none; }
.woocommerce-checkout #payment ul.payment_methods li { list-style: none; margin: 0; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 13px 14px; background: #fff; line-height: 1.4; transition: border-color 0.15s, box-shadow 0.15s; }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,110,255,0.12); background: #f8fbff; }
.woocommerce-checkout #payment ul.payment_methods li > label { font-weight: 600; color: var(--ink); cursor: pointer; margin: 0; }
.woocommerce-checkout #payment ul.payment_methods li > input { margin: 0 8px 0 0; accent-color: var(--primary); }
.woocommerce-checkout #payment div.payment_box { margin: 8px 0 0; padding: 0 0 0 24px; background: transparent; font-size: 13px; color: var(--muted); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 0; margin: 0; }
.woocommerce-checkout .woocommerce-privacy-policy-text p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row { padding: 0; margin: 8px 0 4px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input { accent-color: var(--primary); }
.woocommerce-checkout #payment #place_order { width: 100%; float: none; padding: 16px; font-size: 16px; font-weight: 700; border-radius: 14px; margin-top: 10px; }
.woocommerce-checkout #payment #place_order::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f023"; margin-right: 8px; }
.checkout-trust { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: 12.5px; color: var(--muted); }
.checkout-trust i { color: var(--success); width: 18px; }

/* coșul: produsele în stânga, totalurile fixe în dreapta */
.woocommerce-cart .shop-page-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px 28px; align-items: start; }
.woocommerce-cart .shop-page-content > .woocommerce > * { grid-column: 1 / -1; }
.shop-page-content .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-cart .shop-page-content .checkout-steps { margin-bottom: 4px; }
.woocommerce-cart .shop-page-content > .woocommerce > form.woocommerce-cart-form { grid-column: 1; padding: 6px 22px; margin: 0; }
.woocommerce-cart .shop-page-content > .woocommerce > .cart-collaterals { grid-column: 2; position: sticky; top: 130px; width: auto; }
.woocommerce-cart .cart-collaterals::before, .woocommerce-cart .cart-collaterals::after { display: none; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; box-shadow: 0 20px 50px rgba(15,23,42,0.08); }
.woocommerce-cart .cart-collaterals .cart_totals table { border: 0; margin: 0 0 8px; }
.woocommerce-cart .cart-collaterals .cart_totals th, .woocommerce-cart .cart-collaterals .cart_totals td { border: 0; border-top: 1px solid #f1f5f9; padding: 11px 0; background: transparent; }
.woocommerce-cart .cart-collaterals .cart_totals th { color: var(--muted); font-weight: 600; }
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr td { background: transparent; }
.woocommerce-cart .cart-collaterals .cart_totals td { text-align: right; font-weight: 600; color: var(--ink); }
.woocommerce-cart .cart-collaterals .cart_totals .order-total th, .woocommerce-cart .cart-collaterals .cart_totals .order-total td { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 2px solid var(--line-2); }
.woocommerce-cart .cart-collaterals .cart_totals .order-total small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.woocommerce-cart .cart-collaterals .cart_totals #shipping_method { list-style: none; margin: 0; padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 8px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { padding: 16px; font-size: 16px; font-weight: 700; border-radius: 14px; margin: 0; }
.woocommerce-cart .cd-ship { margin-bottom: 18px; }
.woocommerce-cart table.shop_table.cart { border: 0; border-radius: 0; margin: 0; }
.woocommerce-cart table.shop_table.cart th, .woocommerce-cart table.shop_table.cart td { border: 0; border-top: 1px solid #f1f5f9; padding: 14px 10px; background: transparent; vertical-align: middle; }
.woocommerce-cart table.shop_table.cart thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); }
.woocommerce-cart table.shop_table.cart td.product-name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.woocommerce-cart table.shop_table.cart td.product-name a:hover { color: var(--primary); }
.woocommerce-cart table.shop_table.cart td.product-thumbnail { width: 88px; }
.woocommerce-cart table.shop_table.cart td.product-thumbnail img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.woocommerce-cart table.shop_table.cart td.product-subtotal { font-weight: 700; color: var(--ink); white-space: nowrap; }
.woocommerce-cart table.shop_table.cart a.remove { color: var(--muted-2) !important; border-radius: 9px; width: 30px; height: 30px; line-height: 28px; font-size: 20px; }
.woocommerce-cart table.shop_table.cart a.remove:hover { background: #fef2f2; color: var(--danger) !important; }
.woocommerce-cart table.shop_table.cart td.actions { padding-top: 16px; text-align: right; }
.woocommerce-cart table.shop_table.cart td.actions .button { border-radius: 12px; }

/* confirmarea comenzii */
.woocommerce-order-received .woocommerce-order { margin-bottom: 20px; }
.woocommerce-order-received .woocommerce-thankyou-order-received { font-size: 20px; font-weight: 700; color: var(--success); }
.woocommerce-order-received ul.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 16px 0; }
.woocommerce-order-received ul.woocommerce-order-overview::before, .woocommerce-order-received ul.woocommerce-order-overview::after { display: none; }
.woocommerce-order-received ul.woocommerce-order-overview li { float: none; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; margin: 0; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.woocommerce-order-received ul.woocommerce-order-overview li strong { display: block; font-size: 14px; text-transform: none; color: var(--ink); margin-top: 2px; }
.woocommerce-order-received ul.woocommerce-order-overview li:last-of-type { border: 1px solid var(--line-2); }
.woocommerce-order-received .woocommerce-order h2 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 26px 0 14px; }
.woocommerce-order-received .woocommerce-order table.shop_table { border-radius: 14px; border-color: var(--line-2); }
.woocommerce-order-received .woocommerce-order table.shop_table td:last-child, .woocommerce-order-received .woocommerce-order table.shop_table th:last-child { text-align: right; }
.woocommerce-order-received .woocommerce-order address { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; line-height: 1.6; }

@media (max-width: 991px) {
    .woocommerce-checkout form.checkout, .woocommerce-cart .shop-page-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
    .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
    .woocommerce-checkout #order_review, .woocommerce-cart .shop-page-content > .woocommerce > .cart-collaterals { position: static; }
    .woocommerce-cart .shop-page-content > .woocommerce > form.woocommerce-cart-form, .woocommerce-cart .shop-page-content > .woocommerce > .cart-collaterals { grid-column: 1; }
}
@media (max-width: 600px) {
    .shop-page-title { font-size: 24px; }
    .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
    .woocommerce form .woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce form .woocommerce-billing-fields__field-wrapper .form-row-last,
    .woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row-first, .woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row-last { grid-column: 1 / -1; }
    .woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2, .woocommerce-checkout #order_review,
    .woocommerce-cart .cart-collaterals .cart_totals { padding: 18px 16px; border-radius: 16px; }
    .woocommerce-cart .shop-page-content > .woocommerce > form.woocommerce-cart-form { padding: 4px 14px; border-radius: 16px; }
    .checkout-steps li .cs-label { display: none; }
    .checkout-steps li.current .cs-label { display: inline; }
    .checkout-steps li + li::before { width: 24px; }
}
@media (max-width: 480px) { .cart-drawer { width: 100%; } }
/* coșul pe telefon: fiecare piesă e o casetă (poză, denumire, cantitate, preț), în locul tabelului cu etichete */
@media (max-width: 768px) {
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: center; position: relative; padding: 14px 0; border-top: 1px solid #f1f5f9; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tbody tr.cart_item:first-child { border-top: 0; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td { display: block; padding: 0; border: 0; background: transparent; text-align: left !important; min-width: 0; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td::before { display: none; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-thumbnail { display: block; grid-column: 1; grid-row: 1 / span 3; align-self: start; width: auto; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 64px; height: 64px; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-name { grid-column: 2 / -1; grid-row: 1; padding-right: 34px; font-size: 14px; line-height: 1.35; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-price { grid-column: 2 / -1; grid-row: 2; font-size: 12.5px; color: var(--muted); }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-price::before { display: inline; float: none; content: "Preț: "; font-weight: 500; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-quantity { grid-column: 2; grid-row: 3; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-quantity .quantity input.qty { width: 72px; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-subtotal { grid-column: 3; grid-row: 3; text-align: right !important; font-size: 15px; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-remove { position: absolute; top: 10px; right: 0; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr.cart_item td.product-remove:empty { display: none; }
    .woocommerce-cart .shop-page-content table.shop_table.cart tr:not(.cart_item) td { background: transparent; border-top: 1px solid #f1f5f9; padding: 14px 0; }
}
.cd-ship.bulky { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 10px 12px; }
.cd-ship.bulky .cd-ship-text { margin: 0; color: #92400e; line-height: 1.45; }
.cd-ship.bulky .cd-ship-text i { color: #d97706; }

/* telefon: cele patru coloane de mărci auto încap în ecran (logo-ul de 72 px făcea pagina mai lată cu 24 px) */
@media (max-width: 767px) {
    .home-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .home-brand { min-width: 0; padding: 14px 4px 12px; }
    .home-brand img.make-logo { width: 100%; max-width: 64px; height: 40px; }
}
