/* ===== MAGAZINUL ELECTRICIANULUI - MAIN STYLESHEET ===== */
:root {
  --blue: #0a2d6e;
  --blue-mid: #1348b8;
  --blue-light: #1e5ef5;
  --yellow: #f5c518;
  --yellow-dark: #d4a800;
  --yellow-light: #fff3b0;
  --dark: #0d1117;
  --dark-2: #161b22;
  --dark-3: #21262d;
  --gray: #6e7681;
  --gray-light: #c9d1d9;
  --white: #ffffff;
  --bg: #f6f8fa;
  --border: #e1e4e8;
  --success: #2ea043;
  --danger: #da3633;
  --warning: #d29922;
  --shadow: 0 4px 24px rgba(10,45,110,0.10);
  --shadow-lg: 0 8px 40px rgba(10,45,110,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--dark); line-height: 1.6; overflow-x: hidden; width: 100%; max-width: 100vw; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== TOPBAR ===== */
.topbar { background: var(--blue); color: rgba(255,255,255,0.95); font-size: 0.82rem; padding: 9px 0; border-bottom: 2px solid var(--yellow); }
.topbar .container { display: flex; justify-content: center; align-items: center; }
.topbar-info { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.95); font-weight: 500; }
.topbar-item:hover { color: var(--yellow); }
.topbar-ico { font-size: 0.95rem; line-height: 1; }
.topbar-sep { color: var(--yellow); opacity: 0.7; }
.topbar a { color: rgba(255,255,255,0.95); }
.topbar a:hover { color: var(--yellow); }

/* ===== HEADER ===== */
.main-header { background: var(--dark); padding: 16px 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-lg); }
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo-link { flex-shrink: 0; }
.logo { height: 70px; width: auto; filter: drop-shadow(0 0 12px rgba(245,197,24,0.3)); transition: filter var(--transition); }
.logo:hover { filter: drop-shadow(0 0 20px rgba(245,197,24,0.6)); }

.search-bar { flex: 1; max-width: 600px; }
.search-inner { display: flex; background: rgba(255,255,255,0.08); border: 2px solid rgba(245,197,24,0.3); border-radius: 50px; overflow: hidden; transition: border-color var(--transition); }
.search-inner:focus-within { border-color: var(--yellow); background: rgba(255,255,255,0.12); }
.search-inner input { flex: 1; background: none; border: none; padding: 12px 20px; color: white; font-size: 0.9rem; outline: none; }
.search-inner input::placeholder { color: rgba(255,255,255,0.5); }
.search-inner button { background: var(--yellow); border: none; padding: 12px 20px; cursor: pointer; color: var(--dark); display: flex; align-items: center; transition: background var(--transition); }
.search-inner button:hover { background: var(--yellow-dark); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn { display: flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--dark); padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; position: relative; transition: background var(--transition), transform var(--transition); }
.cart-btn:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.cart-badge { background: var(--blue-light); color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,0.3); color: white; padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 1.2rem; }

/* ===== NAVIGATION ===== */
.main-nav { background: var(--blue); border-bottom: 3px solid var(--yellow); position: sticky; top: 103px; z-index: 99; }
.nav-list { display: flex; align-items: center; height: 52px; gap: 0; }
.nav-list > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-list > li > a { padding: 0 20px; height: 100%; display: flex; align-items: center; color: rgba(255,255,255,0.9); font-weight: 500; font-size: 0.9rem; transition: color var(--transition), background var(--transition); white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li.active > a { color: var(--yellow); background: rgba(255,255,255,0.06); }

/* MEGA MENU */
.mega-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 900px; background: var(--dark-2); border: 1px solid var(--border); border-top: 3px solid var(--yellow); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); z-index: 200; }
.has-dropdown:hover .mega-menu { display: block; }
.mega-menu-inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; padding: 24px; gap: 16px; }
.mega-col { display: flex; flex-direction: column; gap: 6px; }
.mega-title { font-weight: 700; color: var(--yellow) !important; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mega-col a { color: rgba(255,255,255,0.75); font-size: 0.82rem; padding: 3px 0; transition: color var(--transition); }
.mega-col a:hover { color: var(--yellow); }

/* DROPDOWN */
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--dark-2); border: 1px solid var(--border); border-top: 3px solid var(--yellow); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); padding: 12px 0; z-index: 200; }
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.85); font-size: 0.88rem; transition: background var(--transition), color var(--transition); }
.dropdown-menu a:hover { background: rgba(245,197,24,0.1); color: var(--yellow); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { background: white; border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; }
.breadcrumb a { color: var(--blue-mid); }
.breadcrumb a:hover { color: var(--blue-light); }
.bc-sep { color: var(--gray); }
.bc-active { color: var(--gray); }

/* ===== FLASH MESSAGES ===== */
.flash-message { padding: 12px 0; font-size: 0.9rem; }
.flash-success { background: #d4edda; color: #155724; border-bottom: 2px solid #28a745; }
.flash-error { background: #f8d7da; color: #721c24; border-bottom: 2px solid var(--danger); }
.flash-message .container { display: flex; justify-content: space-between; align-items: center; }
.flash-message button { background: none; border: none; font-size: 1.2rem; cursor: pointer; opacity: 0.7; }

/* ===== MAIN CONTENT ===== */
.main-content { min-height: 60vh; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 50%, var(--dark-2) 100%); color: white; padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f5c518' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero::after { content: '⚡'; position: absolute; right: 5%; top: 50%; transform: translateY(-50%); font-size: 20rem; opacity: 0.03; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-inner--single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; text-align: center; }
.hero-inner--single .hero-text p { margin-left: auto; margin-right: auto; }
.hero-inner--single .hero-buttons { justify-content: center; }
.hero-inner--single .hero-stats { max-width: 620px; margin-left: auto; margin-right: auto; margin-top: 40px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,197,24,0.15); border: 1px solid rgba(245,197,24,0.4); color: var(--yellow); padding: 6px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.hero h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--yellow); display: block; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--yellow); color: var(--dark); padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; border: 2px solid var(--yellow); transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,24,0.4); }
.btn-outline { background: transparent; color: white; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; border: 2px solid rgba(255,255,255,0.4); transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.hero-stat { text-align: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 20px 12px; }
.hero-stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--yellow); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-logo-big { width: 100%; max-width: 420px; filter: drop-shadow(0 0 40px rgba(245,197,24,0.4)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section-alt { background: white; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.section-header h2 span { color: var(--blue-mid); }
.section-header p { color: var(--gray); max-width: 560px; margin: 0 auto; }
.section-divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--blue-mid), var(--yellow)); border-radius: 2px; margin: 16px auto 0; }

/* ===== BRANDS GRID ===== */
.brands-section { background: var(--dark); padding: 64px 0; }
.brands-section .section-header h2 { color: white; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.brand-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px 20px; text-align: center; cursor: pointer; transition: all var(--transition); text-decoration: none; color: white; }
.brand-card:hover { background: rgba(255,255,255,0.1); border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.brand-card-dot { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; color: white; }
.brand-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.brand-card p { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.brand-card .brand-arrow { display: inline-block; margin-top: 12px; color: var(--yellow); font-size: 0.82rem; }

/* ===== CATEGORIES ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cat-card { background: white; border: 2px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all var(--transition); text-decoration: none; color: var(--dark); display: flex; align-items: flex-start; gap: 16px; }
.cat-card:hover { border-color: var(--blue-mid); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-icon { font-size: 2.2rem; flex-shrink: 0; }
.cat-info h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.cat-info p { font-size: 0.78rem; color: var(--gray); }
.cat-count { font-size: 0.75rem; color: var(--blue-mid); font-weight: 600; margin-top: 6px; }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); position: relative; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-light); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge-new { background: var(--success); color: white; padding: 3px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.badge-sale { background: var(--danger); color: white; padding: 3px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }
.badge-brand { background: var(--blue-mid); color: white; padding: 3px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; }
.product-img-wrap { aspect-ratio: 1; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform var(--transition); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-img-placeholder { font-size: 4rem; opacity: 0.3; }
.product-info { padding: 16px; }
.product-brand { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--blue-mid); letter-spacing: 0.06em; margin-bottom: 4px; }
.product-name { font-size: 0.88rem; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--blue-mid); }
.price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price { font-size: 1.15rem; font-weight: 800; color: var(--blue); font-family: 'Rajdhani', sans-serif; }
.price-old { font-size: 0.82rem; color: var(--gray); text-decoration: line-through; }
.product-actions { display: flex; gap: 8px; }
.btn-cart { flex: 1; background: var(--blue); color: white; border: none; padding: 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.83rem; cursor: pointer; transition: background var(--transition); display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-cart:hover { background: var(--blue-mid); }
.btn-cart.added { background: var(--success); }
.btn-view { background: var(--bg); color: var(--dark); border: 1px solid var(--border); padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.82rem; transition: all var(--transition); }
.btn-view:hover { background: var(--yellow); border-color: var(--yellow); }
.product-stock { font-size: 0.72rem; margin-bottom: 8px; }
.in-stock { color: var(--success); }
.out-stock { color: var(--danger); }

/* ===== FEATURES STRIP ===== */
.features-strip { background: var(--blue); color: white; padding: 32px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.feature-item { display: flex; align-items: center; gap: 16px; }
.feature-icon { font-size: 2rem; flex-shrink: 0; }
.feature-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.feature-text p { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

/* ===== PROMO BANNERS ===== */
.promo-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.promo-card { border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); color: white; }
.promo-card-sm { background: linear-gradient(135deg, #1a1a2e 0%, var(--blue) 100%); }
.promo-card::after { content: '⚡'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); font-size: 10rem; opacity: 0.07; }
.promo-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow); margin-bottom: 8px; }
.promo-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.promo-card p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin-bottom: 20px; }

/* ===== PRODUCT PAGE ===== */
.product-detail { padding: 48px 0; }
.container.product-detail { padding-left: 28px; padding-right: 28px; }
.product-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { }
.gallery-main { background: white; border-radius: var(--radius); border: 2px solid var(--border); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 16px; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 24px; }
.gallery-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; padding: 4px; background: white; transition: border-color var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--blue-mid); }
.product-detail-info h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.product-detail-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.product-detail-brand a { color: var(--blue-mid); font-weight: 600; font-size: 0.88rem; }
.product-price-block { background: var(--bg); border-radius: var(--radius); padding: 24px; margin: 20px 0; }
.product-price-main { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.product-price-old { font-size: 1rem; color: var(--gray); text-decoration: line-through; margin-left: 8px; }
.product-price-save { font-size: 0.82rem; color: var(--success); font-weight: 600; margin-top: 4px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin: 20px 0; flex-wrap: wrap; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { background: var(--bg); border: none; width: 40px; height: 44px; font-size: 1.2rem; cursor: pointer; transition: background var(--transition); }
.qty-btn:hover { background: var(--yellow); }
.qty-input { width: 60px; height: 44px; border: none; border-left: 2px solid var(--border); border-right: 2px solid var(--border); text-align: center; font-size: 1rem; font-weight: 600; outline: none; }
.btn-add-cart { background: var(--blue); color: white; border: none; padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all var(--transition); display: flex; align-items: center; gap: 10px; }
.btn-add-cart:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(19,72,184,0.4); }
.product-meta { font-size: 0.82rem; color: var(--gray); display: flex; flex-direction: column; gap: 8px; }
.product-meta span { display: flex; gap: 8px; }
.product-tabs { margin-top: 40px; }
.tabs-header { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn { padding: 12px 24px; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-weight: 600; cursor: pointer; color: var(--gray); transition: all var(--transition); }
.tab-btn.active { color: var(--blue-mid); border-bottom-color: var(--blue-mid); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== CART ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 40px 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--bg); padding: 12px 16px; text-align: left; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; color: var(--gray); letter-spacing: 0.05em; }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg); padding: 4px; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; }
.cart-item-name a:hover { color: var(--blue-mid); }
.cart-remove { color: var(--danger); background: none; border: none; cursor: pointer; font-size: 1.2rem; }
.cart-summary { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; height: fit-content; position: sticky; top: 170px; }
.cart-summary h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; }
.summary-row.total { font-weight: 800; font-size: 1.1rem; border-top: 2px solid var(--border); margin-top: 8px; padding-top: 12px; }
.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart .empty-icon { font-size: 5rem; margin-bottom: 20px; }

/* ===== CHECKOUT ===== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 40px 0; align-items: start; }
.checkout-form h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; transition: border-color var(--transition); outline: none; background: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-mid); }
.form-group textarea { resize: vertical; min-height: 80px; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.payment-method { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all var(--transition); }
.payment-method:hover, .payment-method.selected { border-color: var(--blue-mid); background: rgba(19,72,184,0.04); }
.payment-method input { width: 18px; height: 18px; accent-color: var(--blue-mid); }
.payment-method-info h4 { font-size: 0.9rem; font-weight: 700; }
.payment-method-info p { font-size: 0.78rem; color: var(--gray); }
.order-summary-box { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: sticky; top: 170px; }
.order-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-item-img { width: 52px; height: 52px; object-fit: contain; background: var(--bg); border-radius: var(--radius-sm); }
.order-item-details { flex: 1; }
.order-item-name { font-size: 0.82rem; font-weight: 600; }
.order-item-qty { font-size: 0.75rem; color: var(--gray); }
.order-item-price { font-weight: 700; font-size: 0.9rem; color: var(--blue); }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); padding: 48px 0; }
.newsletter-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.newsletter-text h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 4px; }
.newsletter-text p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.newsletter-form { display: flex; flex: 1; min-width: 300px; gap: 0; border-radius: 50px; overflow: hidden; border: 2px solid rgba(255,255,255,0.3); }
.newsletter-form input { flex: 1; background: rgba(255,255,255,0.15); border: none; padding: 14px 20px; color: white; font-size: 0.9rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form button { background: var(--yellow); color: var(--dark); border: none; padding: 14px 28px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background var(--transition); }
.newsletter-form button:hover { background: var(--yellow-dark); }

/* ===== FOOTER ===== */
.main-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { height: 60px; margin-bottom: 16px; }
.footer-col p { font-size: 0.82rem; line-height: 1.7; margin-bottom: 6px; }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 700; transition: all var(--transition); }
.social-btn.fb { background: #1877f2; color: white; }
.social-btn.wa { background: #25d366; color: white; }
.social-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 4px 10px; font-size: 0.72rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 8px; }

/* ===== ADMIN ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--dark); flex-shrink: 0; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 50; }
.admin-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-logo img { height: 48px; }
.admin-logo span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500; transition: all var(--transition); border-left: 3px solid transparent; }
.admin-nav a:hover, .admin-nav a.active { color: var(--yellow); background: rgba(255,255,255,0.06); border-left-color: var(--yellow); }
.admin-nav .nav-section { padding: 16px 20px 8px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); font-weight: 700; }
.admin-main { margin-left: 260px; flex: 1; }
.admin-topbar { background: white; border-bottom: 1px solid var(--border); padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 40; }
.admin-topbar h1 { font-size: 1.1rem; font-weight: 700; }
.admin-content { padding: 32px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.stat-value { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 800; }
.stat-label { font-size: 0.82rem; color: var(--gray); margin-top: 4px; }
.stat-card.stat-blue { border-left: 4px solid var(--blue-mid); }
.stat-card.stat-yellow { border-left: 4px solid var(--yellow-dark); }
.stat-card.stat-green { border-left: 4px solid var(--success); }
.stat-card.stat-red { border-left: 4px solid var(--danger); }
.admin-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.admin-card-header h2 { font-size: 1rem; font-weight: 700; }
.admin-card-body { padding: 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th { background: var(--bg); padding: 12px 16px; text-align: left; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; color: var(--gray); letter-spacing: 0.05em; white-space: nowrap; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg); }
.btn-sm { padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition); }
.btn-sm-blue { background: var(--blue-mid); color: white; }
.btn-sm-blue:hover { background: var(--blue); }
.btn-sm-yellow { background: var(--yellow); color: var(--dark); }
.btn-sm-yellow:hover { background: var(--yellow-dark); }
.btn-sm-red { background: var(--danger); color: white; }
.btn-sm-red:hover { opacity: 0.85; }
.admin-form label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; outline: none; transition: border-color var(--transition); }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--blue-mid); }
.admin-form textarea { min-height: 100px; resize: vertical; }
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-form .form-group { margin-bottom: 20px; }
.btn-save { background: var(--blue-mid); color: white; padding: 12px 32px; border-radius: var(--radius-sm); border: none; font-weight: 700; cursor: pointer; font-size: 0.95rem; transition: background var(--transition); }
.btn-save:hover { background: var(--blue); }
.status-badge { padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.status-noua { background: #fff3cd; color: #856404; }
.status-procesare { background: #cce5ff; color: #004085; }
.status-livrata { background: #d4edda; color: #155724; }
.status-anulata { background: #f8d7da; color: #721c24; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--dark); }
.login-box { background: var(--dark-2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 48px; width: 100%; max-width: 400px; }
.login-box img { height: 60px; margin: 0 auto 32px; display: block; }
.login-box h2 { text-align: center; color: white; margin-bottom: 32px; font-size: 1.2rem; }

/* ===== PAGES ===== */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%); color: white; padding: 60px 0; text-align: center; }
.page-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }
.page-content { padding: 60px 0; }
.page-content .content-box { background: white; border-radius: var(--radius); padding: 40px; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow); }
.page-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--blue); margin: 28px 0 12px; }
.page-content h3 { font-size: 1.1rem; font-weight: 700; margin: 20px 0 10px; }
.page-content p { margin-bottom: 14px; line-height: 1.8; color: #444; }
.page-content ul { margin: 0 0 16px 24px; }
.page-content ul li { margin-bottom: 6px; line-height: 1.7; color: #444; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 32px 0; }
.pagination a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem; transition: all var(--transition); color: var(--dark); }
.pagination a:hover, .pagination a.active { background: var(--blue-mid); color: white; border-color: var(--blue-mid); }
.pagination a.prev, .pagination a.next { width: auto; padding: 0 16px; }

/* ===== FILTERS ===== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 40px 0; }
.sidebar-filters { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: fit-content; position: sticky; top: 170px; }
.filter-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-section h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; font-size: 0.88rem; }
.filter-option input { accent-color: var(--blue-mid); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.shop-toolbar .results-count { font-size: 0.88rem; color: var(--gray); }
.sort-select { padding: 8px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.88rem; outline: none; cursor: pointer; }
.sort-select:focus { border-color: var(--blue-mid); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card { background: white; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon { font-size: 1.8rem; flex-shrink: 0; }
.contact-item h4 { font-weight: 700; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: var(--gray); }
.contact-item a:hover { color: var(--blue-mid); }
.contact-form-card { background: white; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.map-section { margin-top: 40px; border-radius: var(--radius); overflow: hidden; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.fw-700 { font-weight: 700; }
.color-yellow { color: var(--yellow-dark); }
.color-blue { color: var(--blue-mid); }
.color-success { color: var(--success); }
.color-danger { color: var(--danger); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar-filters { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .order-summary-box { position: static; }
  .product-detail-inner { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.cart-bounce { animation: cartBounce 0.4s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes cartBounce { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.3); } 60% { transform: scale(0.9); } }

/* ===== LIGHTNING EFFECT ===== */
.electric-glow { position: relative; }
.electric-glow::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; background: linear-gradient(45deg, var(--yellow), var(--blue-light), var(--yellow)); opacity: 0; transition: opacity 0.3s; z-index: -1; filter: blur(8px); }
.electric-glow:hover::before { opacity: 0.6; }

/* ===== FAVORITE BUTTON ===== */
.btn-favorite { position:absolute; top:10px; right:10px; z-index:5; background:white; border:none; border-radius:50%; width:36px; height:36px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.12); transition:all 0.2s; }
.btn-favorite:hover { transform:scale(1.2); box-shadow:0 4px 14px rgba(0,0,0,0.18); }
.btn-favorite.active { background:#fff0f3; }
.product-card { position:relative; }

/* ===== WHATSAPP WIDGET ===== */
.whatsapp-widget { position:fixed; bottom:28px; right:28px; z-index:9999; }
.wa-bubble { width:60px; height:60px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 6px 20px rgba(37,211,102,0.45); transition:all 0.3s; position:relative; }
.wa-bubble:hover { transform:scale(1.1); box-shadow:0 8px 28px rgba(37,211,102,0.6); }
.wa-badge { position:absolute; top:-4px; right:-4px; background:var(--yellow); border-radius:50%; width:22px; height:22px; font-size:0.65rem; display:flex; align-items:center; justify-content:center; border:2px solid white; }
.wa-popup { position:absolute; bottom:72px; right:0; width:320px; background:white; border-radius:16px; box-shadow:0 8px 40px rgba(0,0,0,0.18); overflow:hidden; opacity:0; pointer-events:none; transform:translateY(12px) scale(0.95); transition:all 0.3s cubic-bezier(.4,0,.2,1); }
.wa-popup.open { opacity:1; pointer-events:all; transform:translateY(0) scale(1); }
.wa-popup-header { background:#075e54; color:white; padding:16px; display:flex; align-items:center; gap:12px; }
.wa-popup-logo { width:42px; height:42px; background:#128c7e; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-popup-body { padding:16px; }
.wa-message-bubble { background:#f0f0f0; padding:12px; border-radius:8px; font-size:0.85rem; line-height:1.5; color:#333; position:relative; }
.wa-message-bubble::before { content:''; position:absolute; right:-8px; top:12px; border:6px solid transparent; border-left-color:#f0f0f0; }
.wa-quick-btn { display:inline-block; padding:6px 12px; background:#e8f5e9; border:1px solid #c8e6c9; border-radius:50px; font-size:0.78rem; color:#2e7d32; font-weight:600; transition:all 0.2s; }
.wa-quick-btn:hover { background:#c8e6c9; }
.wa-popup-cta { display:flex; align-items:center; justify-content:center; gap:8px; background:#25d366; color:white; padding:14px; font-weight:700; font-size:0.9rem; transition:background 0.2s; }
.wa-popup-cta:hover { background:#22c55e; color:white; }
@media (max-width:480px) { .wa-popup { width:calc(100vw - 56px); right:-14px; } .whatsapp-widget { bottom:16px; right:16px; } }

/* ===== HERO REAL PHOTO ===== */
.hero-real-img { width:100%; max-height:420px; object-fit:cover; border-radius:16px; box-shadow:0 8px 40px rgba(0,0,0,0.4); }

/* ===== BREADCRUMB WITH PHOTO ===== */
.breadcrumb-bar { position:relative; min-height:80px; display:flex; align-items:center; background-size:cover; background-position:center; }
.breadcrumb-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(10,45,110,0.82) 0%,rgba(10,45,110,0.55) 100%); display:flex; align-items:center; width:100%; }
.breadcrumb-overlay .container { width:100%; }
.breadcrumb { display:flex; align-items:center; gap:8px; flex-wrap:wrap; color:rgba(255,255,255,0.85); font-size:0.85rem; }
.breadcrumb a { color:rgba(255,255,255,0.85); font-weight:500; }
.breadcrumb a:hover { color:var(--yellow); }
.bc-sep { color:rgba(255,255,255,0.4); }
.bc-active { color:var(--yellow); font-weight:600; }

/* ===== PAGE HERO WITH PHOTO ===== */
.page-hero-img { position:relative; min-height:200px; background-size:cover; background-position:center; }
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg,rgba(10,45,110,0.88) 0%,rgba(10,45,110,0.6) 100%); display:flex; align-items:center; }
.page-hero-overlay .container { padding:40px 20px; color:white; }
.page-hero-overlay h1 { font-family:'Rajdhani',sans-serif; font-size:2.4rem; font-weight:700; margin-bottom:10px; }
.page-hero-overlay p { opacity:0.82; font-size:1.05rem; }

/* ===== FAV HEADER BTN ===== */
.fav-header-btn { display:flex; align-items:center; gap:6px; color:white; font-size:0.85rem; font-weight:600; padding:8px 14px; border-radius:50px; border:2px solid rgba(255,255,255,0.2); transition:all 0.2s; white-space:nowrap; }
.fav-header-btn:hover { border-color:var(--yellow); color:var(--yellow); }
.nav-fav-mobile { display:none; }

/* ===== ABOUT PAGE ===== */
.about-intro-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.about-intro-text .section-tag { display:inline-block; background:var(--yellow-light); color:var(--yellow-dark); font-size:0.78rem; font-weight:700; padding:4px 14px; border-radius:50px; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:16px; }
.about-intro-text h2 { font-family:'Rajdhani',sans-serif; font-size:2rem; font-weight:700; margin-bottom:16px; line-height:1.2; }
.about-intro-text h2 span { color:var(--blue-mid); }
.about-intro-text p { color:#555; line-height:1.8; margin-bottom:14px; }
.about-stats-row { display:flex; gap:24px; flex-wrap:wrap; margin-top:28px; }
.about-stat { text-align:center; padding:16px; background:var(--bg); border-radius:10px; min-width:80px; flex:1; }
.about-stat-num { font-family:'Rajdhani',sans-serif; font-size:1.8rem; font-weight:800; color:var(--blue-mid); }
.about-stat-lbl { font-size:0.72rem; color:var(--gray); margin-top:2px; font-weight:600; }
.about-gallery { display:grid; grid-template-columns:2fr 1fr; gap:16px; }
.about-gallery-side { display:flex; flex-direction:column; gap:16px; }
.gallery-caption { font-size:0.78rem; color:var(--gray); padding:6px; background:rgba(0,0,0,0.05); text-align:center; border-radius:0 0 10px 10px; }
.about-firma-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.firma-card { background:white; border:1px solid var(--border); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); }
.firma-icon { font-size:2.5rem; margin-bottom:16px; }
.firma-table { width:100%; border-collapse:collapse; font-size:0.88rem; }
.firma-table tr { border-bottom:1px solid var(--border); }
.firma-table td { padding:10px 8px; }
.firma-table td:first-child { color:var(--gray); white-space:nowrap; padding-right:16px; font-weight:600; }
.about-list { list-style:none; display:flex; flex-direction:column; gap:10px; }
.about-list li { font-size:0.9rem; line-height:1.5; }
.btn-outline-dark { display:inline-flex; align-items:center; padding:12px 24px; border-radius:8px; border:2px solid var(--dark); font-weight:700; font-size:0.9rem; color:var(--dark); transition:all 0.2s; }
.btn-outline-dark:hover { background:var(--dark); color:white; }

/* ===== SERVICII PAGE ===== */
.servicii-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.serviciu-card { background:white; border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); transition:transform 0.2s, box-shadow 0.2s; display:flex; flex-direction:column; gap:12px; }
.serviciu-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.serviciu-icon { width:72px; height:72px; border-radius:16px; display:flex; align-items:center; justify-content:center; margin-bottom:4px; }
.serviciu-card h3 { font-family:'Rajdhani',sans-serif; font-size:1.25rem; font-weight:700; }
.serviciu-card p { color:#555; font-size:0.88rem; line-height:1.7; flex:1; }
.serviciu-card ul { list-style:none; display:flex; flex-direction:column; gap:6px; font-size:0.83rem; color:#555; }
.serviciu-btn { display:inline-block; color:var(--blue-mid); font-weight:700; font-size:0.85rem; margin-top:4px; transition:color 0.2s; }
.serviciu-btn:hover { color:var(--blue); }

/* ===== CAT CARD ===== */
.cat-img-wrap, .cat-card-img { display: none !important; }
.cat-card { padding: 22px 20px; }

/* ===== ADMIN PRODUCT FORM LAYOUT ===== */
.admin-prod-grid { display:grid; grid-template-columns:2fr 1fr; gap:24px; }
.admin-prod-left, .admin-prod-right { display:flex; flex-direction:column; gap:20px; }
.upload-zone { border:2px dashed var(--border); border-radius:10px; padding:12px; background:var(--bg); cursor:pointer; transition:border-color 0.2s; min-height:120px; display:flex; flex-direction:column; justify-content:center; }
.upload-zone:hover { border-color:var(--blue-mid); background:rgba(19,72,184,0.04); }
.variant-row input { border:1px solid var(--border); border-radius:6px; padding:8px; font-size:0.85rem; width:100%; }

/* ===== MOBILE MENU (hamburger lines) ===== */
.menu-toggle { display:none; background:none; border:none; cursor:pointer; padding:10px; flex-direction:column; gap:5px; }
.menu-toggle span { display:block; width:24px; height:2px; background:white; border-radius:2px; transition:all 0.3s; }
.menu-toggle.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity:0; }
.menu-toggle.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Hide mobile-only chrome on desktop */
.nav-mobile-header { display: none; }
.nav-backdrop { display: none; }
.nav-mobile-title { color: var(--yellow); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.nav-close { background: rgba(255,255,255,0.1); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.nav-close:hover { background: rgba(255,255,255,0.2); }

/* ===== RESPONSIVE OVERHAUL ===== */
@media (max-width: 1024px) {
  .admin-prod-grid { grid-template-columns:1fr; }
  .about-intro-grid { grid-template-columns:1fr; }
  .about-firma-grid { grid-template-columns:1fr; }
  .about-gallery { grid-template-columns:1fr; }
  .about-gallery-side { flex-direction:row; }
  .servicii-grid { grid-template-columns:repeat(2,1fr); }
  .shop-layout { grid-template-columns:220px 1fr; gap:20px; }
  .admin-stats { grid-template-columns:repeat(2,1fr); }
  .contact-grid { grid-template-columns:1fr; }
}

@media (max-width: 768px) {
  /* TOPBAR */
  .topbar-hide-sm { display:none; }
  .topbar { font-size: 0.78rem; padding: 7px 0; }
  .topbar .container { padding: 0 14px; }
  .topbar-info { gap: 10px; }
  .topbar-sep { display: none; }

  /* HEADER */
  .main-header { padding: 12px 0; }
  .header-inner { flex-wrap:wrap; gap:10px; align-items: center; }
  .search-bar { order:3; flex:1 1 100%; max-width:100%; }
  .search-inner input { padding: 10px 14px; font-size: 0.85rem; }
  .search-inner button { padding: 10px 14px; }
  .header-actions { gap:8px; margin-left: auto; }
  .cart-label { display:none; }
  .cart-btn { padding: 8px 12px; }
  .fav-header-btn { padding: 6px 10px; font-size: 0.8rem; }
  .menu-toggle { display:flex; }
  .logo { height:48px; }
  .main-nav { top: auto; }

  /* NAV - mobile overlay (FIXED) */
  .main-nav { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0;
    width: 100%; 
    max-width: 320px;
    height: 100vh; 
    height: 100dvh;
    z-index: 9999; 
    background: var(--dark); 
    transform: translateX(-105%); 
    transition: transform 0.3s cubic-bezier(.4,0,.2,1); 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
    border-right: 3px solid var(--yellow);
    will-change: transform;
  }
  .main-nav.nav-open { transform: translateX(0); }
  .main-nav .container { padding: 0; max-width: none; }
  /* Close button injected via JS */
  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 2px solid var(--yellow);
    background: var(--blue);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .nav-list { flex-direction: column; height: auto; gap: 0; padding-bottom: 80px; }
  .nav-list > li { height: auto; width: 100%; display: block; }
  .nav-list > li > a { 
    padding: 14px 20px; 
    font-size: 0.95rem; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    width: 100%; 
    justify-content: space-between;
    color: rgba(255,255,255,0.92);
  }
  .nav-list > li > a:hover, .nav-list > li.active > a { background: rgba(245,197,24,0.1); color: var(--yellow); }

  .mega-menu, .dropdown-menu { 
    position: static; 
    transform: none; 
    box-shadow: none; 
    border: none; 
    background: rgba(0,0,0,0.35); 
    border-radius: 0; 
    display: none;
    min-width: 0;
    width: 100%;
    padding: 0;
  }
  .mega-menu-inner { 
    grid-template-columns: 1fr;
    padding: 8px 0; 
    gap: 0; 
    display: block;
  }
  .mega-col { padding: 8px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .mega-col .mega-title { 
    padding: 6px 0; 
    border-bottom: none;
    font-size: 0.78rem;
    display: block;
  }
  .mega-col a { 
    padding: 6px 12px; 
    font-size: 0.85rem; 
    display: block;
  }
  .dropdown-menu a { padding: 12px 32px; font-size: 0.88rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .has-dropdown:hover .mega-menu, .has-dropdown:hover .dropdown-menu { display: none; }
  .has-dropdown.mob-open > .mega-menu, .has-dropdown.mob-open > .dropdown-menu { display: block; }
  .has-dropdown.mob-open > .nav-dropdown-toggle { background: rgba(245,197,24,0.12); color: var(--yellow); }
  .nav-dropdown-toggle::after { content: '▾'; margin-left: auto; transition: transform 0.2s; }
  .has-dropdown.mob-open .nav-dropdown-toggle::after { transform: rotate(180deg); }
  .nav-fav-mobile { display: flex !important; }

  /* Backdrop */
  .nav-backdrop { 
    display: block;
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
    z-index: 9998; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s;
  }
  .nav-backdrop.show { opacity: 1; pointer-events: all; }

  /* HERO */
  .hero { padding: 40px 0; min-height: auto !important; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-inner--single { padding: 0 4px; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: 1.7rem; }
  .hero-text p { font-size: 0.95rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
  .hero-stat { padding: 12px 6px; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.68rem; }
  .hero-buttons { justify-content: center; }

  /* CATEGORIES - no images now */
  .cat-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .cat-card { padding: 16px 12px; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .cat-icon { font-size: 2rem; }
  .cat-info h3 { font-size: 0.85rem; }
  .cat-info p { font-size: 0.72rem; }
  .cat-count { font-size: 0.7rem; }

  /* BRANDS */
  .brands-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .brand-card { padding: 20px 12px; }
  .brand-card h3 { font-size: 0.9rem; }

  /* PRODUCTS */
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 0.8rem; }
  .price { font-size: 1rem; }
  .btn-cart { padding: 8px 6px; font-size: 0.75rem; }

  /* SERVICII */
  .servicii-grid { grid-template-columns: 1fr; }

  /* SHOP */
  .shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .sidebar-filters { position: static; padding: 16px; }

  /* PROMO */
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card { padding: 24px; min-height: 160px; }
  .promo-card h3 { font-size: 1.4rem; }

  /* FEATURES STRIP */
  .features-strip { padding: 20px 0; }
  .features-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .feature-item { gap: 10px; }
  .feature-icon { font-size: 1.5rem; }
  .feature-text h4 { font-size: 0.82rem; }
  .feature-text p { font-size: 0.7rem; }

  /* SECTION */
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }

  /* ADMIN */
  .admin-layout { flex-direction:column; }
  .admin-sidebar { width:100%; height:auto; position:relative; }
  .admin-main { margin-left:0; }
  .admin-content { padding:16px; }
  .admin-stats { grid-template-columns:repeat(2,1fr); gap:12px; }
  .admin-form .form-row { grid-template-columns:1fr; gap:0; }
  .admin-prod-grid { grid-template-columns:1fr; }
  .admin-topbar { padding:12px 16px; }
  .admin-table { font-size:0.78rem; }
  .admin-table th, .admin-table td { padding:8px 10px; }

  /* CHECKOUT */
  .checkout-layout { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }

  /* CART */
  .cart-layout { grid-template-columns:1fr; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display:none; }
  .cart-table th, .cart-table td { padding: 10px 8px; font-size: 0.82rem; }
  .cart-item-img { width: 56px; height: 56px; }

  /* FOOTER */
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }

  /* ABOUT */
  .about-gallery-side { flex-direction:column; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 24px; }

  /* BREADCRUMB */
  .breadcrumb-bar { min-height:60px; padding: 16px 0; }
  .breadcrumb { font-size: 0.75rem; }
  .page-hero-overlay h1 { font-size:1.6rem; }
  .page-hero h1 { font-size: 1.6rem; }

  /* PRODUCT DETAIL */
  .product-detail { padding: 28px 0; }
  .container.product-detail { padding-left: 20px; padding-right: 20px; }
  .product-detail-inner { grid-template-columns: 1fr; gap: 24px; }
  .product-detail-info h1 { font-size: 1.25rem; line-height: 1.35; }
  .product-price-block { padding: 18px; margin: 16px 0; }
  .product-price-main { font-size: 1.8rem; }
  .product-tabs { margin-top: 28px; padding: 0 4px; }
  .tabs-header { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-btn { padding: 10px 16px; font-size: 0.85rem; white-space: nowrap; }
  .tab-content { padding: 0 2px; font-size: 0.9rem; }
  .qty-row { gap: 12px; }
  .btn-add-cart { padding: 12px 22px; font-size: 0.9rem; flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .topbar { padding: 6px 0; font-size: 0.72rem; }
  .topbar-info { gap: 6px; }
  .logo { height: 42px; }
  .cart-btn { padding: 7px 10px; gap: 4px; }
  .cart-badge { width: 18px; height: 18px; font-size: 0.65rem; }
  .fav-header-btn { padding: 6px 8px; font-size: 0.75rem; }
  .menu-toggle { padding: 8px; }

  .cat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .brands-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  .hero { padding: 32px 0; }
  .hero-text h1 { font-size: 1.4rem; }
  .hero-text p { font-size: 0.88rem; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn-primary, .hero-buttons .btn-outline { justify-content: center; padding: 12px 20px; font-size: 0.88rem; }
  .hero-stats { gap: 6px; }
  .hero-stat { padding: 10px 4px; }
  .hero-stat-num { font-size: 1.2rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 1.4rem; }
  .variant-row { grid-template-columns: 1fr 1fr !important; }
  .about-stats-row { gap: 12px; }
  .firma-table { font-size: 0.80rem; }
  .servicii-grid { grid-template-columns: 1fr; }

  .btn-primary, .btn-outline, .btn-outline-dark { padding: 12px 22px; font-size: 0.88rem; }
  .section { padding: 32px 0; }
}
