/* ============================================================
   printamo.ro — main.css
   Brand navy: #0A2957 (extras din logo)
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }
:root {
  --navy:        #0A2957;
  --navy-dark:   #071E41;
  --navy-mid:    #183F79;
  --navy-bg:     #EAF1FC;
  --navy-tint:   #D6E3F7;
  --navy-border: #CDD6E5;
  --dark:        #0F172A;
  --text:        #1E293B;
  --text1:       #1E293B; /* folosita in multe locuri dar nedefinita pana acum */
  --text2:       #475569;
  --muted:       #94A3B8;
  --border:      #E2E8F0;
  --surface:     #F8FAFC;
  --white:       #FFFFFF;
  --green:       #16A34A;
  --red:         #DC2626;
  --amber:       #D97706;
}
html { scroll-behavior: smooth }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); font-size: 14px; line-height: 1.5 }
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
button { cursor: pointer; font-family: inherit }

/* ---- UTILITIES ---- */
.container  { max-width: 1280px; margin: 0 auto; padding: 0 24px }
.section    { padding: 48px 0 }
.bg-surface { background: var(--surface) }
.mt-2       { margin-top: 8px }
.mt-3       { margin-top: 12px }
.mt-4       { margin-top: 16px }
.mt-6       { margin-top: 32px }
.text-center{ text-align: center }
.text-red   { color: var(--red) }
.text-green { color: var(--green) }
.hide-sm    { display: block }
.hide-md    { display: block }
@media(max-width:768px){ .hide-sm { display: none } }
@media(max-width:1024px){ .hide-md { display: none } }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px;
       padding: 10px 20px; border-radius: 7px; font-size: 13.5px; font-weight: 700;
       cursor: pointer; border: none; transition: all .18s; text-decoration: none }
.btn-lg    { padding: 13px 26px; font-size: 14.5px }
.btn-sm    { padding: 5px 12px; font-size: 12px; border-radius: 5px; background: var(--navy-bg); color: var(--navy); font-weight: 600 }
.btn-full  { width: 100%; display: flex }
.btn-navy  { background: var(--navy); color: #fff }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,41,87,0.28) }
.btn-outline      { background: transparent; color: var(--navy); border: 2px solid var(--navy) }
.btn-outline:hover{ background: var(--navy); color: #fff }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy) }
.btn-outline-navy:hover { background: var(--navy); color: #fff }
.btn-red   { background: var(--red); color: #fff }
.btn-red:hover { background: #B91C1C }

/* ---- BADGES ---- */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700 }
.badge-green { background: rgba(22,163,74,0.12); color: #15803D }
.badge-blue  { background: var(--navy-bg); color: var(--navy) }
.badge-amber { background: rgba(217,119,6,0.12); color: var(--amber) }

/* ---- ALERTS ---- */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 13.5px }
.alert-error { background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.25); color: #991B1B }
.alert-success { background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.25); color: #166534 }
.alert-info { background: var(--navy-bg); border: 1px solid var(--navy-tint); color: var(--navy-mid) }

/* ---- FORMS ---- */
.form-input,.form-select,.form-textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 7px;
  padding: 10px 14px; font-family: inherit; font-size: 14px; color: var(--text);
  outline: none; transition: border-color .15s; background: var(--white)
}
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color: var(--navy) }
.form-textarea { min-height: 80px; resize: vertical }
.form-group { margin-bottom: 14px }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text2); margin-bottom: 5px }
.form-row   { display: grid; gap: 12px }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }

/* ---- TOPBAR ---- */
.topbar { background: var(--navy); color: rgba(255,255,255,0.8); padding: 7px 0; font-size: 12px }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap }
.topbar-right { display: flex; gap: 14px }
.topbar-right a { color: rgba(255,255,255,0.8); font-weight: 500 }
.topbar-right a:hover { color: #fff }

/* ---- HEADER ---- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 24px }
.logo-img { height: 44px; width: auto }
.logo-fallback { font-size: 22px; font-weight: 900; color: var(--navy) }
.search-wrap { flex: 1; max-width: 540px; position: relative; margin: 0 auto }
.search-wrap input { width:100%; border:1.5px solid var(--border); border-radius:7px;
                     padding:10px 48px 10px 16px; font-size:14px; outline:none }
.search-wrap input:focus { border-color: var(--navy) }
.search-btn { position:absolute; right:0; top:0; height:100%; width:46px; background:var(--navy);
              border:none; border-radius:0 7px 7px 0; color:#fff; display:flex; align-items:center; justify-content:center }
.search-btn:hover { background: var(--navy-dark) }
.search-dropdown { position:absolute; top:calc(100% + 4px); left:0; right:0; background:#fff;
                   border:1px solid var(--border); border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,0.1);
                   z-index:200; display:none }
.search-dropdown.open { display:block }
.search-sugg { display:flex; align-items:center; gap:10px; padding:10px 14px; font-size:13.5px; cursor:pointer }
.search-sugg:hover { background: var(--surface) }
.header-actions { display:flex; align-items:center; gap:10px; margin-left:auto }
.hdr-action { display:flex; align-items:center; gap:5px; color:var(--text2); font-size:13px; font-weight:500; padding:7px 6px }
.hdr-action:hover { color: var(--navy) }
.cart-btn { background:var(--navy); color:#fff; border:none; border-radius:7px; padding:9px 14px;
            font-size:13px; font-weight:700; display:flex; align-items:center; gap:7px; position:relative }
.cart-btn:hover { background: var(--navy-dark) }
.cart-badge { background:var(--red); color:#fff; min-width:18px; height:18px; border-radius:9px;
              font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center;
              padding:0 4px; position:absolute; top:-7px; right:-7px }

/* ---- MAIN NAV ---- */
.main-nav { background: var(--white); border-bottom: 2px solid var(--navy-tint) }
.nav-inner { display: flex; align-items: stretch }
.nav-all-btn { background:var(--navy); color:#fff; padding:11px 18px; font-size:13px; font-weight:700;
               border:none; display:flex; align-items:center; gap:8px; white-space:nowrap }
.nav-all-btn:hover { background: var(--navy-dark) }
.nav-links { display: flex; flex: 1; flex-wrap: wrap; gap: 4px }
.nav-link { padding:11px 14px; font-size:13px; font-weight:500; color:var(--text2); white-space:nowrap;
            display:flex; align-items:center; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all .15s }
.nav-link:hover,.nav-link.active { color:var(--navy); border-bottom-color:var(--navy) }
.nav-contact { margin-left:auto; padding:11px 14px; font-size:13px; font-weight:500; color:var(--text2) }

/* ---- HERO ---- */
.hero { background: linear-gradient(115deg, #EAF1FC 0%, #F0F6FE 45%, #EEF4FD 100%); padding: 52px 0; overflow: hidden }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center }
.hero-h1, h1.hero-h1 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 900; color: var(--navy);
                        line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 16px }
.dot { color: var(--navy-mid); opacity: .7 }
.hero-text p { font-size: 16px; color: var(--text2); margin-bottom: 28px; line-height: 1.65 }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap }
.hero-visual { position: relative; min-height: 300px }
.hero-cards { position: relative; width: 100%; height: 300px }
.hero-card { position: absolute; background: var(--white); border: 1px solid var(--navy-tint);
             border-radius: 14px; display: flex; align-items: center; justify-content: center;
             font-size: 36px; box-shadow: 0 4px 24px rgba(10,41,87,0.12) }

/* ---- TRUST STRIP ---- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0 }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }
.trust-item { display: flex; align-items: center; gap: 12px }
.trust-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--navy-bg);
              display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0 }

/* ---- SECTION ---- */
.section-title { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 20px }

/* ---- CATS GRID ---- */
.cats-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px }
.cat-tile { border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
            cursor: pointer; transition: all .2s; background: var(--white); display: block }
.cat-tile:hover { border-color: var(--navy); box-shadow: 0 4px 16px rgba(10,41,87,0.12); transform: translateY(-3px) }
.cat-tile-img { height: 80px; background: var(--navy-bg); display: flex; align-items: center; justify-content: center; font-size: 34px }
.cat-tile-label { padding: 8px 6px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--text); line-height: 1.3 }

/* ---- PRODUCTS GRID ---- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.product-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
                transition: all .2s; background: var(--white); display: block }
.product-card:hover { border-color: var(--navy); box-shadow: 0 4px 20px rgba(10,41,87,0.12); transform: translateY(-3px) }
.product-card-img { height: 280px; background: #ffffff; display: flex; align-items: center; justify-content: center;
                    position: relative; overflow: hidden }
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0px;
  box-sizing: border-box;
}
.product-card-placeholder { font-size: 48px }
.product-card-body { padding: 14px; display: flex; flex-direction: column; flex: 1 }
.product-card-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.product-card-price { font-size: 13px; color: #64748B }
.product-card-price strong { color: var(--navy); font-size: 15px }
.product-card-cta { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--navy); font-weight: 600 }

/* ---- PRODUCT PAGE ---- */
.prod-page { padding: 24px 0 56px }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 5px; align-items: center; flex-wrap: wrap }
.breadcrumb a:hover { color: var(--navy) }
.prod-grid {
  display: grid;
  grid-template-columns: 400px 1fr 280px;
  gap: 20px;
  align-items: start;
}
.gal-main { border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface);
            height: 500px; display: flex; align-items: center; justify-content: center;
            position: relative; overflow: clip; cursor: default; }
.gal-main img { width: 100%; height: 100%; object-fit: contain }
.gal-placeholder { font-size: 90px }
.gal-color-badge { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
                   background: rgba(255,255,255,0.92); border: 1px solid var(--border);
                   font-size: 11px; font-weight: 600; padding: 3px 12px; border-radius: 20px; white-space: nowrap }
.gal-thumbs-row { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap }
.gal-thumb { width: 56px; height: 56px; border: 2px solid var(--border); border-radius: 7px;
             display: flex; align-items: center; justify-content: center; cursor: pointer;
             background: var(--surface); overflow: hidden; transition: all .15s; flex-shrink: 0 }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover }
.gal-thumb:hover,.gal-thumb.active { border-color: var(--navy) }
.support-box { background: var(--navy-bg); border: 1px solid var(--navy-tint); border-radius: 10px; padding: 15px; margin-top: 12px }
.sb-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px }
.sb-desc { font-size: 12px; color: var(--text2); margin-bottom: 10px }
.sb-row { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--text2); margin-bottom: 5px }
.sb-row a { color: var(--navy); font-weight: 600 }
.tiers-box { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-top: 12px }
.tiers-title { font-size: 12px; font-weight: 700; color: var(--text2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px }
.tiers-table { width: 100%; border-collapse: collapse; font-size: 12.5px }
.tiers-table th { background: var(--surface); padding: 6px 10px; text-align: left; font-weight: 600; color: var(--muted) }
.tiers-table td { padding: 6px 10px; border-top: 1px solid var(--border) }
.tiers-table tr.tier-active td { color: var(--navy); font-weight: 600 }
.tier-price { font-weight: 700 }
.prod-title { font-size: 26px; font-weight: 900; color: var(--dark); line-height: 1.15; margin-bottom: 6px }
.prod-sku { font-size: 12px; color: var(--muted); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.prod-short-desc { font-size: 13.5px; color: var(--text2); margin-bottom: 18px; line-height: 1.65 }
.cfg-card { border: 1px solid var(--border); border-radius: 10px; padding: 15px 18px; margin-bottom: 10px }
.cfg-header { display: flex; align-items: center; gap: 9px; margin-bottom: 12px }
.step-bubble { background: var(--navy); color: #fff; width: 22px; height: 22px; border-radius: 50%;
               font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.cfg-label { font-size: 13.5px; font-weight: 700; color: var(--dark) }
.swatch-row { display: flex; gap: 7px; flex-wrap: wrap; align-items: center }
.swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2.5px solid transparent; transition: all .15s }
.swatch:hover,.swatch.active { box-shadow: 0 0 0 3px rgba(10,41,87,0.2) }
.swatch.active { border-color: var(--navy) !important }
.size-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center }
.sz { border: 1.5px solid var(--border); background: var(--white); border-radius: 5px;
      padding: 5px 10px; font-size: 12.5px; font-weight: 500; color: var(--text2); cursor: pointer; transition: all .15s }
.sz:hover { border-color: var(--navy-mid); color: var(--navy) }
.sz.active { border-color: var(--navy); background: var(--navy-bg); color: var(--navy); font-weight: 700 }
.radio-opts { display: flex; gap: 8px; flex-wrap: wrap }
.r-opt { display: flex; align-items: center; gap: 7px; border: 1.5px solid var(--border); border-radius: 7px;
         padding: 8px 13px; cursor: pointer; font-size: 13px; transition: all .15s; position: relative }
.r-opt input { accent-color: var(--navy); width: 15px; height: 15px }
.r-opt:hover,.r-opt.active { border-color: var(--navy); background: var(--navy-bg) }
.checkbox-opts { display: flex; flex-direction: column; gap: 7px }
.chk-opt { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer }
.chk-opt input { accent-color: var(--navy); width: 15px; height: 15px }
.opt-price { font-size: 11px; color: var(--navy); font-weight: 600 }
.qty-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 7px; overflow: hidden }
.stepper button { background: var(--surface); border: none; width: 34px; height: 36px; font-size: 18px; color: var(--text2); transition: background .15s }
.stepper button:hover { background: var(--navy-bg); color: var(--navy) }
.stepper input { width: 60px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
                 text-align: center; font-size: 15px; font-weight: 800; color: var(--dark); height: 36px; outline: none }
.disc-note { font-size: 12.5px; font-weight: 500 }
.disc-ok { color: var(--green) }
.upload-zone { border: 2px dashed var(--navy-border); border-radius: 8px; padding: 22px; text-align: center;
               background: var(--surface); cursor: pointer; transition: all .2s }
.upload-zone:hover,.upload-zone.drag-over { border-color: var(--navy); background: var(--navy-bg) }
.upload-icon { font-size: 26px; margin-bottom: 8px }
.upload-text { font-size: 13px; color: var(--text2) }
.upload-text a { color: var(--navy); font-weight: 600 }
.upload-formats { font-size: 11.5px; color: var(--muted); margin-top: 5px }
.file-list { margin-top: 8px }
.file-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text2);
             padding: 6px 10px; background: var(--surface); border-radius: 5px; margin-top: 5px }
.file-size { color: var(--muted) }
.quote-notice { display: flex; gap: 14px; background: var(--navy-bg); border: 1px solid var(--navy-tint);
                border-radius: 10px; padding: 16px; margin-bottom: 20px; align-items: flex-start }
.quote-notice-icon { font-size: 28px }

/* ---- SUMMARY BOX ---- */
.sum-box { border: 1.5px solid var(--navy-tint); border-radius: 12px; overflow: hidden }
.sum-header { background: var(--navy); color: #fff; padding: 14px 18px; font-size: 15px; font-weight: 800 }
.sum-body { padding: 16px 18px }
.sum-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text2); margin-bottom: 8px }
.sum-div { border: none; border-top: 1px solid var(--border); margin: 11px 0 }
.sum-price-row { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px }
.sum-discount-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--green); margin-bottom: 8px }
.sum-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px }
.sum-total-val { font-size: 26px; font-weight: 900; color: var(--navy); letter-spacing: -1px }
.sum-vat { font-size: 11px; color: var(--muted); text-align: right; margin-bottom: 14px }
.sum-delivery { display: flex; align-items: flex-start; gap: 10px; background: var(--navy-bg);
                border: 1px solid var(--navy-tint); border-radius: 7px; padding: 10px 12px; margin-bottom: 14px }
.sum-del-title { font-size: 12.5px; font-weight: 700; color: var(--dark) }
.sum-del-sub { font-size: 11.5px; color: var(--muted) }
.sum-help { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6 }
.sum-help a { color: var(--navy) }

/* ---- CART ---- */
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--border);
             border-radius: 10px; margin-bottom: 10px }
.cart-item-info { flex: 1 }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px }
.cart-item-price { font-size: 13px; color: var(--muted) }
.cart-item-total { font-size: 15px; font-weight: 700; color: var(--navy); min-width: 80px; text-align: right }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 6px; overflow: hidden }
.qty-stepper button { background: var(--surface); border: none; width: 30px; height: 32px; font-size: 16px }
.qty-stepper span { width: 40px; text-align: center; font-weight: 700 }
.cart-remove { background: none; border: none; color: var(--muted); font-size: 20px; padding: 4px 8px }
.cart-remove:hover { color: var(--red) }

/* ---- CHECKOUT ---- */
.checkout-section { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 16px }
.checkout-section h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 16px }
.payment-methods { display: flex; flex-direction: column; gap: 10px }
.payment-method { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--border);
                  border-radius: 8px; padding: 14px 16px; cursor: pointer; transition: all .15s }
.payment-method:hover,.payment-method.active { border-color: var(--navy); background: var(--navy-bg) }
.payment-method input { accent-color: var(--navy); width: 16px; height: 16px }
.pm-icon { font-size: 22px; flex-shrink: 0 }

/* ---- HOW IT WORKS ---- */
.hiw-section { background: var(--navy-bg); border-top: 1px solid var(--navy-tint); border-bottom: 1px solid var(--navy-tint); padding: 36px 0 }
.hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.hiw-card { text-align: center; padding: 10px }
.hiw-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--white); border: 1.5px solid var(--navy-tint);
            display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px }
.hiw-title { font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 4px }
.hiw-desc { font-size: 12px; color: #5A6B85 }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--navy); padding: 28px 0 }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.stat-item { display: flex; align-items: flex-start; gap: 13px }
.stat-icon { font-size: 22px; margin-top: 2px; flex-shrink: 0 }
.stat-t { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px }
.stat-s { font-size: 11.5px; color: rgba(255,255,255,0.5) }

/* ---- FOOTER ---- */
.site-footer { background: #071020; padding: 0 }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; padding: 40px 24px 24px }
.footer-logo { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px; letter-spacing: -0.5px }
.footer-logo span { color: #60A5FA }
.footer-desc { font-size: 12.5px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 250px }
.footer-h4 { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
                  color: rgba(255,255,255,0.65); margin-bottom: 14px }
.site-footer a,.site-footer span { display: block; font-size: 13px; color: rgba(255,255,255,0.62); margin-bottom: 8px }
.site-footer a:hover { color: #fff }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,0.07);
                 display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,0.3);
                 flex-wrap: wrap; gap: 8px }
.footer-bottom a { display: inline; color: rgba(255,255,255,0.5) }
.footer-bottom a:hover { color: #fff }

/* ---- TOAST ---- */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: #fff;
         padding: 12px 20px; border-radius: 9px; font-size: 13.5px; font-weight: 500;
         transform: translateY(80px); opacity: 0; transition: all .3s; z-index: 9999;
         pointer-events: none; box-shadow: 0 8px 32px rgba(0,0,0,0.2) }
.toast.show { transform: translateY(0); opacity: 1 }
.toast.error { background: var(--red) }

/* ---- ADMIN ---- */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh }
.admin-sidebar { background: var(--navy); color: #fff; padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto }
.admin-logo { padding: 20px 18px; font-size: 18px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,0.1) }
.admin-nav { padding: 12px 8px }
.admin-nav a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 7px;
               font-size: 13.5px; color: rgba(255,255,255,0.75); font-weight: 500; margin-bottom: 2px; transition: all .15s }
.admin-nav a:hover,.admin-nav a.active { background: rgba(255,255,255,0.12); color: #fff }
.admin-main { background: var(--surface); padding: 0; overflow-y: auto }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px;
                display: flex; justify-content: space-between; align-items: center }
.admin-topbar h1 { font-size: 20px; font-weight: 800 }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 24px }
.admin-stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 18px;
                   display: flex; flex-direction: column; gap: 6px }
.asc-icon { font-size: 24px }
.asc-val  { font-size: 24px; font-weight: 900; color: var(--navy) }
.asc-label{ font-size: 12px; color: var(--muted) }
.admin-section { padding: 0 24px 24px }
.admin-section h2 { font-size: 16px; font-weight: 800; margin-bottom: 14px }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--white);
               border-radius: 8px; overflow: hidden; border: 1px solid var(--border) }
.admin-table th { background: var(--surface); padding: 10px 14px; text-align: left; font-weight: 700; color: var(--muted); font-size: 11.5px }
.admin-table td { padding: 10px 14px; border-top: 1px solid var(--border) }
.admin-table tr:hover td { background: #fafbfc }
.status-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; background: var(--surface) }
.status-pending      { background: rgba(245,158,11,0.12); color: #92400E }
.status-confirmed    { background: rgba(59,130,246,0.12); color: #1D4ED8 }
.status-in_production{ background: rgba(10,41,87,0.1); color: var(--navy) }
.status-shipped      { background: rgba(6,182,212,0.12); color: #0E7490 }
.status-delivered    { background: rgba(22,163,74,0.12); color: #166534 }
.status-cancelled    { background: rgba(220,38,38,0.1); color: var(--red) }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) { .prod-grid { grid-template-columns: 260px 1fr 260px } }
@media (max-width: 900px) {
  .prod-grid    { grid-template-columns: 1fr }
  .hero-inner   { grid-template-columns: 1fr }
  .trust-grid   { grid-template-columns: repeat(2, 1fr) }
  .hiw-grid,.stats-grid { grid-template-columns: repeat(2, 1fr) }
  .cats-grid    { grid-template-columns: repeat(4, 1fr) }
  .footer-grid  { grid-template-columns: 1fr 1fr }
  .admin-wrap   { grid-template-columns: 1fr }
  .admin-sidebar{ display: none }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 600px) {
  .cats-grid         { grid-template-columns: repeat(3, 1fr) }
  .footer-grid       { grid-template-columns: 1fr }
  .form-row-2        { grid-template-columns: 1fr }
  .admin-stats-grid  { grid-template-columns: 1fr 1fr }
}

/* Accesibilitate: text vizibil doar pentru cititoare de ecran */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ---- HEADER MOBILE (sub 640px) ---- */
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }
  .logo-img { height: 32px }
  .search-wrap {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0;
  }
  .header-actions {
    margin-left: 0;
    gap: 6px;
  }
  .hdr-action span { display: none } /* pastreaza doar iconul, ascunde textul "Admin" etc pe mobil */
  .cart-btn span:not(.cart-badge) { display: none }
  .cart-btn { padding: 9px 11px }

  .nav-all-btn { padding: 9px 12px; font-size: 12px }
  .nav-link { padding: 9px 10px; font-size: 12px }
  .nav-contact { display: none } /* prea ingust pe mobil, oricum e in footer */
}

@media (max-width: 400px) {
  .logo-img { height: 28px }
  .nav-all-btn span:not(.sr-only) { font-size: 11px }
}

/* ============================================================
   MOBIL: meniu hamburger + search toggle + topbar compact
   ============================================================ */

/* Iconite mobile (search + hamburger), ascunse pe desktop */
.mobile-icon-btn {
  display: none;
  background: none; border: none; color: var(--text2);
  padding: 8px; cursor: pointer; align-items: center; justify-content: center;
}
.show-xs-only { display: none }

/* Search bar mobil - ascuns by default, apare la click pe icon */
.search-wrap-mobile {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease;
}
.search-wrap-mobile.open { max-height: 70px; padding: 10px 0 }
.search-wrap-mobile .container { display: flex; gap: 8px; position: relative }
.search-wrap-mobile input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 7px;
  padding: 10px 14px; font-size: 14px; outline: none;
}
.search-wrap-mobile input:focus { border-color: var(--navy) }
.search-wrap-mobile .search-btn {
  position: static; width: 44px; height: auto; border-radius: 7px;
  background: var(--navy); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile menu overlay (hamburger) */
.mobile-menu-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 999;
}
.mobile-menu-overlay.open { display: block }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 80%; max-width: 320px;
  background: var(--white);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  animation: slideInMenu .2s ease;
}
@keyframes slideInMenu { from { transform: translateX(100%) } to { transform: translateX(0) } }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-menu-close {
  background: none; border: none; font-size: 20px; color: var(--muted); cursor: pointer; padding: 4px 8px;
}
.mobile-menu-link {
  display: block; padding: 14px 18px; font-size: 14.5px; color: var(--text1);
  border-bottom: 1px solid var(--border); text-decoration: none;
}
.mobile-menu-link:active { background: var(--surface) }
.mobile-menu-all { background: var(--navy); color: #fff; font-weight: 700 }
.mobile-menu-div { border: none; border-top: 1px solid var(--border); margin: 8px 0 }
body.mobile-menu-locked { overflow: hidden }

/* Footer logo alb */
.footer-logo-img { height: 28px; width: auto; margin-bottom: 10px; display: block }

@media (max-width: 640px) {
  /* Topbar compact - doar telefon+email */
  .hide-xs-topbar { display: none }
  .topbar .container { justify-content: center }
  .topbar-right { gap: 14px; font-size: 11.5px }
  .topbar-right a { display: flex; align-items: center; gap: 4px }

  /* Ascunde search desktop, link cont text, nav principal cu link-uri */
  #search-wrap-desktop { display: none }
  .hide-xs { display: none }
  .hide-xs-nav { display: none }

  /* Arata iconitele mobile */
  .mobile-icon-btn.show-xs-only { display: flex }
  .search-wrap-mobile { display: block }

  .header-inner { gap: 8px; padding: 10px 14px }
  .header-actions { gap: 2px }
  .cart-btn span:not(.cart-badge) { display: none }
  .cart-btn { padding: 8px 10px }
}

/* ============================================================
   MENIU CASCADA "TOATE PRODUSELE" - categorii + subcategorii
   ============================================================ */
.nav-all-wrap { position: relative }

.nav-cascade-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  overflow: hidden;
  min-width: 600px;
}
.nav-cascade-menu.open { display: flex }

.nav-cascade-left {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 8px 0;
  max-height: 420px;
  overflow-y: auto;
}
.nav-cascade-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--text1);
  text-decoration: none; cursor: pointer;
}
.nav-cascade-item:hover, .nav-cascade-item.active {
  background: var(--navy-bg); color: var(--navy);
}

.nav-cascade-right {
  width: 320px;
  padding: 16px;
  max-height: 420px;
  overflow-y: auto;
}
.nav-cascade-sublist { display: flex; flex-direction: column; gap: 2px }
.nav-cascade-sub-all {
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  padding: 8px 10px; margin-bottom: 6px; text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-cascade-sub-link {
  font-size: 13px; color: var(--text2); text-decoration: none;
  padding: 8px 10px; border-radius: 6px;
}
.nav-cascade-sub-link:hover { background: var(--surface); color: var(--navy) }

@media (max-width: 900px) {
  .nav-cascade-menu { display: none !important } /* pe mobil/tableta ramane hamburgerul existent */
}

/* ============================================================
   ZOOM INLINE IMAGINE PRODUS — .gal-main
   overflow:clip nu creaza stacking context (spre deosebire de hidden)
   transform-origin se seteaza din JS la mousemove pentru zoom natural
   ============================================================ */
.gal-main {
  overflow: clip;
  cursor: zoom-in;
  border-radius: inherit;
}
#gal-main-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gal-main.zoomed #gal-main-img {
  transform: scale(2.2);
}
@media (hover: none) {
  /* Pe touch: dezactivam zoom hover, pastram doar click */
  .gal-main { cursor: default }
}

/* Bullets in descrierea completa a produsului */
.prod-description-content ul,
.prod-description-content ol {
  padding-left: 28px;
  margin: 10px 0;
}
.prod-description-content ul li,
.prod-description-content ol li {
  margin-bottom: 4px;
  line-height: 1.6;
}
.prod-description-content p {
  margin-bottom: 10px;
}

/* Bullets descriere completa produs */
.prod-description-content ul,
.prod-description-content ol {
  padding-left: 32px;
  margin: 12px 0;
}
.prod-description-content ul li,
.prod-description-content ol li {
  margin-bottom: 5px;
  padding-left: 4px;
}


/* ===== Admin: Galerie imagini produs ===== */
#img-gallery {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  align-items: flex-start !important;
  width: 100% !important;
}
#img-gallery .img-thumb {
  width: 110px !important;
  max-width: 110px !important;
  flex: 0 0 110px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
#img-gallery .img-thumb > div:first-child {
  width: 110px !important;
  height: 110px !important;
  flex-shrink: 0 !important;
}
#img-gallery .img-thumb select {
  width: 110px !important;
  font-size: 11px !important;
}
#img-upload-btn {
  flex: 0 0 110px !important;
  width: 110px !important;
  height: 110px !important;
}

/* ===== Lightbox popup pentru zoom imagine produs ===== */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#lightbox-overlay.open { display: flex; }
#lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
  cursor: default;
}
#lightbox-close {
  position: fixed;
  top: 18px; right: 24px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  z-index: 10000;
  opacity: .8;
}
#lightbox-close:hover { opacity: 1; }

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px }
  .product-card-img { height: 200px }
}

/* ===== Intrebari frecvente pe pagina produsului ===== */
.faq-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.faq-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.faq-subtitle { font-size: 15px; font-weight: 700; color: var(--text2); margin: 24px 0 12px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; background: var(--white); overflow: hidden; }
.faq-item > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--text1);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '▼'; font-size: 12px; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] > summary::after { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 14px; font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* Poza produsului in cos */
.cart-item-img { width: 84px; height: 84px; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border);
                 background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
@media (max-width: 600px) { .cart-item-img { width: 64px; height: 64px; } }

/* Cosul pe mobil: o singura coloana (sumarul sub produse) */
@media (max-width: 800px) {
  #cart-content { grid-template-columns: 1fr !important; }
  #cart-content .sum-box { position: static !important; }
}
@media (max-width: 600px) {
  #cart-items-list .cart-item { flex-wrap: wrap; gap: 12px; padding: 12px !important; }
  #cart-items-list .cart-item-total { width: 100%; text-align: right; }
}

/* ============================================================
   CONTUL CLIENTULUI (/cont) - meniu lateral + carduri
   ============================================================ */
.ac-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 32px; padding-bottom: 56px; }
.ac-side { position: sticky; top: 20px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.ac-user { display: flex; gap: 12px; align-items: center; padding: 4px 4px 16px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.ac-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
             font-weight: 800; font-size: 15px; flex-shrink: 0; letter-spacing: .5px; }
.ac-user-name { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-user-mail { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-nav { display: flex; flex-direction: column; gap: 2px; }
.ac-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text2); text-decoration: none; }
.ac-nav a:hover { background: var(--surface); color: var(--navy); }
.ac-nav a.active { background: var(--navy-bg); color: var(--navy); }
.ac-nav-ico { width: 20px; text-align: center; flex-shrink: 0; }
.ac-nav-lbl { flex: 1; }
.ac-nav-cnt { font-size: 11px; background: var(--surface); border: 1px solid var(--border); color: var(--text2); border-radius: 10px; padding: 1px 7px; }
.ac-nav a.active .ac-nav-cnt { background: var(--navy); color: #fff; border-color: var(--navy); }
.ac-nav .ac-logout { margin-top: 8px; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; padding-top: 12px; color: var(--muted); }

.ac-main { min-width: 0; }
.ac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.ac-head h1 { font-size: 24px; font-weight: 900; color: var(--navy); margin: 0; }
.ac-head p { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.ac-back { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ac-flash { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.ac-flash.ok  { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.ac-flash.err { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

.ac-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.ac-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ac-card-head h2 { font-size: 15.5px; font-weight: 800; margin: 0; }
.ac-card-head h2 a { color: var(--navy); }
.ac-link { font-size: 13px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.ac-link:hover { text-decoration: underline; }
.ac-muted { color: var(--muted); font-size: 12.5px; }
.ac-missing { color: var(--amber); font-weight: 600; font-style: normal; }
.ac-badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.ac-grid-2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ac-grid-2 > .ac-card { margin-bottom: 0; }
.ac-col { display: flex; flex-direction: column; gap: 18px; }
.ac-col > .ac-card { margin-bottom: 0; }
.ac-grid-order { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }

.ac-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.ac-stat { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.ac-stat-val { font-size: 24px; font-weight: 900; color: var(--navy); line-height: 1.1; }
.ac-stat-val small { font-size: 13px; font-weight: 700; }
.ac-stat-lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.ac-current { border-color: var(--navy-tint); background: linear-gradient(180deg, var(--navy-bg), var(--white) 70%); }
.ac-current-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--text2); flex-wrap: wrap; }

/* bara de progres */
.ac-progress { list-style: none; margin: 4px 0 0; padding: 0; display: flex; }
.ac-progress li { flex: 1; text-align: center; position: relative; font-size: 12px; color: var(--muted); }
.ac-progress li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--border); z-index: 0; }
.ac-progress li:first-child::before { display: none; }
.ac-progress li.done::before, .ac-progress li.current::before { background: var(--green); }
.ac-progress .dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center;
                    background: var(--white); border: 3px solid var(--border); font-size: 13px; font-weight: 800; color: #fff; }
.ac-progress li.done .dot { background: var(--green); border-color: var(--green); }
.ac-progress li.current .dot { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.ac-progress li.done, .ac-progress li.current { color: var(--text1); font-weight: 700; }
.ac-progress-off { font-size: 13.5px; color: #991B1B; background: #FEF2F2; border-radius: 8px; padding: 10px 14px; }

/* liste de comenzi */
.ac-olist { display: flex; flex-direction: column; }
.ac-orow { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-top: 1px solid var(--border); color: inherit; text-decoration: none; border-radius: 8px; }
.ac-orow:first-child { border-top: none; }
a.ac-orow:hover { background: var(--surface); }
.ac-thumb { width: 52px; height: 52px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center;
            font-size: 22px; flex-shrink: 0; overflow: hidden; }
.ac-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ac-thumb.lg { width: 72px; height: 72px; }
.ac-orow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-orow-top { font-size: 13.5px; }
.ac-orow-sum { font-size: 13px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-orow-sum a { color: var(--navy); }
.ac-orow-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; white-space: nowrap; }
.ac-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ac-chips a { padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none; background: var(--white); border: 1px solid var(--border); color: var(--text2); }
.ac-chips a span { font-size: 11.5px; color: var(--muted); margin-left: 3px; }
.ac-chips a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.ac-chips a.active span { color: rgba(255,255,255,.75); }
.ac-empty { text-align: center; padding: 32px 16px; color: var(--text2); font-size: 14px; }
.ac-empty-ico { font-size: 34px; margin-bottom: 8px; }

/* detaliu comanda */
.ac-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.ac-card-head + .ac-item { border-top: none; padding-top: 0; }
.ac-item-main { flex: 1; min-width: 0; }
.ac-item-name { font-weight: 700; font-size: 14px; }
.ac-item-name a { color: var(--navy); }
.ac-item-note { font-size: 12.5px; color: var(--text2); margin-top: 4px; }
.ac-item-total { font-weight: 800; color: var(--navy); white-space: nowrap; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.ac-tags span { background: var(--navy-bg); color: var(--navy); font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 5px; }
.ac-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; border-top: 1px dashed var(--border); }
.ac-card-head + .ac-kv { border-top: none; }
.ac-kv span { color: var(--muted); }
.ac-kv strong { text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.ac-kv.ac-total { border-top: 2px solid var(--border); margin-top: 4px; padding-top: 10px; font-size: 16px; }
.ac-kv.ac-total strong { color: var(--navy); font-size: 19px; font-weight: 900; }
.ac-note { margin-top: 10px; background: var(--surface); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--text2); }
.ac-addr { font-size: 13.5px; line-height: 1.65; color: var(--text2); }
.ac-help { background: var(--surface); font-size: 13px; color: var(--text2); line-height: 1.6; }
.ac-help a { color: var(--navy); font-weight: 700; }
.ac-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--border); }
.ac-timeline li { position: relative; padding: 0 0 14px 6px; font-size: 13.5px; }
.ac-timeline li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); border: 2px solid var(--white); }
.ac-timeline li:last-child { padding-bottom: 0; }

/* formulare + adrese */
.ac-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ac-span-2 { grid-column: 1 / -1; }
.ac-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin: 4px 0 16px; cursor: pointer; }
.ac-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ac-addr-card { margin-bottom: 0; display: flex; flex-direction: column; }
.ac-addr-card.is-default { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy) inset; }
.ac-addr-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.ac-addr-card .ac-addr { flex: 1; }
.ac-addr-actions { display: flex; gap: 4px 14px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.ac-addr-actions form { margin: 0; }
.ac-btn-link { background: none; border: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; }
.ac-btn-link:hover { text-decoration: underline; }
.ac-btn-link.danger { color: var(--red); }

@media (max-width: 960px) {
  .ac-wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 18px; }
  .ac-wrap > * { min-width: 0; } /* altfel meniul orizontal latea toata pagina peste ecran */
  .ac-side { position: static; padding: 12px; }
  .ac-user { padding-bottom: 12px; }
  .ac-nav { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .ac-nav a { white-space: nowrap; background: var(--surface); padding: 8px 12px; }
  .ac-nav .ac-logout { margin-top: 0; border-top: none; border-radius: 8px; padding-top: 8px; }
  .ac-grid-2, .ac-grid-order { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ac-head h1 { font-size: 20px; }
  .ac-head-btn { width: 100%; text-align: center; }
  .ac-stats { grid-template-columns: 1fr 1fr; }
  .ac-stats .ac-stat:last-child { grid-column: 1 / -1; }
  .ac-card { padding: 16px; }
  .ac-form-grid { grid-template-columns: 1fr; }
  .ac-orow { align-items: flex-start; }
  .ac-progress li { font-size: 10.5px; }
  .ac-progress .dot { width: 24px; height: 24px; }
  .ac-progress li::before { top: 11px; }
  .ac-item { flex-wrap: wrap; }
  .ac-item-total { width: 100%; text-align: right; }
}

body:has(.ac-wrap) { background: var(--surface); }

/* ===== Checkout: facturare persoana fizica / firma ===== */
.ct-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ct-toggle label { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
                   cursor: pointer; font-weight: 600; font-size: 14px; background: var(--white); }
.ct-toggle label.active { border-color: var(--navy); background: var(--navy-bg); color: var(--navy); }
.ct-toggle input { accent-color: var(--navy); }
.ct-pf-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
.cui-row { display: flex; gap: 8px; }
.cui-row .form-input { flex: 1; min-width: 0; }
.cui-row .btn { white-space: nowrap; padding: 0 14px; }
.anaf-status { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.anaf-status.ok  { color: var(--green); }
.anaf-status.err { color: var(--red); }
.co-more { margin: 2px 0 12px; font-size: 13px; }
.co-more summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.co-save { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 4px 0 8px; cursor: pointer; }
@media (max-width: 600px) {
  .ct-toggle { grid-template-columns: 1fr; }
  .cui-row { flex-direction: column; }
  .cui-row .btn { padding: 10px 14px; }
}

.cfg-help { font-size: 12.5px; color: var(--muted); margin: -4px 0 10px; }

/* dimensiuni la cerere */
.area-row { display: flex; align-items: flex-end; gap: 10px; }
.area-row label { flex: 1; font-size: 12px; font-weight: 600; color: var(--text2); display: flex; flex-direction: column; gap: 4px; }
.area-x { font-size: 18px; color: var(--muted); padding-bottom: 8px; }
.area-info { font-size: 12px; color: var(--muted); margin-top: 6px; }
.cfg-card[hidden] { display: none !important; }

.ac-item-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.ac-item-actions form { margin: 0; }
.ac-model-top { display: flex; gap: 12px; align-items: center; }

.prefill-banner { background: #EEF2FF; border: 1px solid #C7D2FE; color: #3730A3; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin: 0 0 14px; }
.btn-save-model { width: 100%; margin-top: 8px; background: none; border: 1.5px dashed var(--border); border-radius: 8px; padding: 9px; font-size: 13px; font-weight: 600; color: var(--text2); cursor: pointer; }
.btn-save-model:hover { border-color: var(--navy); color: var(--navy); }

/* previzualizare live pe imaginea produsului */
.pv-overlay { position: absolute; pointer-events: none; z-index: 2; }
.pv-text { position: absolute; line-height: 1.15; white-space: pre-wrap; word-break: break-word; }
.pv-hint { font-size: 12.5px; color: #3730A3; background: #EEF2FF; border-radius: 8px; padding: 8px 12px; margin: 8px 0 10px; }
.gal-main.pv-on { cursor: zoom-in; }

/* sectiunea Grafica: incarcare / descriere / observatii */
.design-box { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); display: flex; flex-direction: column; gap: 14px; }
.design-sub-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text1); }
.design-opt { font-weight: 400; color: var(--muted); }
.upload-zone.upload-missing { border-color: #dc2626 !important; background: #FEF2F2; }
.file-rm { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 13px; }

/* Grafica: varianta "Text (inscriptie)" - texte gata de ales */
.text-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.text-chip { border: 1.5px solid var(--border); background: var(--white); border-radius: 8px; padding: 7px 14px; font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--navy); cursor: pointer; }
.text-chip:hover { border-color: var(--navy); }
.text-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---- Pagina produsului: margini laterale + descriere lizibila pe mobil ---- */
.prod-page { padding-left: 24px; padding-right: 24px }
.prod-description-content h1 { font-size: 24px; line-height: 1.3; margin: 0 0 14px; color: var(--text1) }
.prod-description-content h2 { font-size: 20px; line-height: 1.35; margin: 26px 0 10px; color: var(--text1) }
.prod-description-content h3 { font-size: 17px; line-height: 1.4; margin: 20px 0 8px }
.prod-description-content h1:empty, .prod-description-content h2:empty, .prod-description-content h3:empty,
.prod-description-content p:empty { display: none }
.prod-description-content img { max-width: 100%; height: auto }
.prod-description-content table { max-width: 100%; display: block; overflow-x: auto }
@media (max-width: 640px) {
  .prod-page { padding-left: 16px; padding-right: 16px }
  .prod-description-content h1 { font-size: 21px }
  .prod-description-content h2 { font-size: 18px; margin-top: 22px }
  .prod-description-content h3 { font-size: 16px }
  .size-guide { padding: 18px 14px !important }
  .size-guide th, .size-guide td { padding: 9px 6px !important; font-size: 12.5px }
}

/* ---- Colectii (ex. Tricouri -> Tricouri dacice) ---- */
.col-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px }
.col-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--white); color: var(--text2); font-size: 13.5px; font-weight: 600; text-decoration: none }
.col-chip span { font-size: 11.5px; color: var(--muted); font-weight: 500 }
.col-chip:hover { border-color: var(--navy); color: var(--navy) }
.col-chip.active { background: var(--navy); border-color: var(--navy); color: #fff }
.col-chip.active span { color: rgba(255,255,255,.75) }
@media (max-width: 640px) {
  .col-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none }
  .col-chip { white-space: nowrap; flex-shrink: 0 }
}
/* admin */
.col-form { padding: 20px 24px 40px; display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start }
@media (max-width: 1000px) { .col-form { grid-template-columns: 1fr } }
.col-url { display: flex; align-items: center; gap: 0 }
.col-url span { padding: 9px 10px; background: var(--surface); border: 1px solid var(--border); border-right: 0; border-radius: 8px 0 0 8px; font-size: 13px; color: var(--muted); white-space: nowrap }
.col-url .form-input { border-radius: 0 8px 8px 0 }
.col-products { max-height: 520px; overflow-y: auto; border: 1px solid var(--border); border-radius: 8px }
.col-prod { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--border); cursor: pointer; font-size: 13.5px }
.col-prod:hover { background: var(--surface) }
.col-prod[hidden] { display: none }
.col-prod img, .col-noimg { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--surface) }
.col-prod-name em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted) }
.col-count { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px }
.col-empty { padding: 30px; text-align: center; color: var(--muted) }
.col-on { color: #166534; font-weight: 600; font-size: 12.5px }
.col-off { color: var(--muted); font-size: 12.5px }
.col-form .ge-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 16px }
.col-form .ge-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 8px }
.col-form .ge-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px }
.col-form .ge-check { display: flex; gap: 8px; align-items: center; font-size: 13.5px; cursor: pointer }
@media (max-width: 700px) { .col-form .ge-2 { grid-template-columns: 1fr } }

/* Meniul "Toate produsele": intrarea "Produse personalizabile" + separatorul categoriilor */
.nav-cascade-item.nav-cascade-perso { margin: 0 8px 4px; border-radius: 8px; background: var(--navy); color: #fff }
.nav-cascade-item.nav-cascade-perso:hover { background: var(--navy); color: #fff; opacity: .92 }
.nav-cascade-sep { padding: 10px 16px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) }
.mobile-menu-link.mobile-menu-perso { font-weight: 700; color: var(--navy) }
.nav-links { overflow: hidden; white-space: nowrap }
.combo-unavailable { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font-size: 13px; font-weight: 600 }
.combo-unavailable[hidden] { display: none }
.pe-need { padding: 9px 12px; border-radius: 8px; background: #FFF7ED; border: 1px solid #FED7AA; color: #9A3412; font-size: 12.5px; font-weight: 600 }
.pe-need a { color: #9A3412; text-decoration: underline }
.pe-need[hidden], #base-price-ok[hidden] { display: none }

/* Variante & preturi (editor produs) */
.vg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; cursor: pointer; font-size: 13px }
.vg-chip input { accent-color: var(--navy); width: 14px; height: 14px }
.vg-chip .vg-n, .vg-chip .vg-why { color: var(--muted); font-size: 11.5px }
.vg-chip.vg-off { cursor: default; opacity: .55; border-style: dashed }
.vt-wrap { max-height: 520px; overflow: auto; border: 1px solid var(--border); border-radius: 8px }
.vt-table { width: 100%; border-collapse: collapse; font-size: 13px }
.vt-table thead th { position: sticky; top: 0; background: var(--surface); padding: 8px 10px; text-align: left; font-weight: 700; border-bottom: 2px solid var(--border); z-index: 1 }
.vt-table td { padding: 6px 10px; border-bottom: 1px solid var(--border) }
.vt-table .vt-price { width: 100px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; text-align: right; font-size: 13px }
.vt-del { background: none; border: none; cursor: pointer; color: #dc2626; font-size: 18px }

/* Camp numeric cu pret (ex. Numar de coli) */
.num-field { display: flex; align-items: center; gap: 0; flex-wrap: wrap }
.num-field .num-btn { width: 40px; height: 42px; border: 1px solid var(--border); background: var(--white); font-size: 18px; cursor: pointer; color: var(--navy) }
.num-field .num-btn:first-child { border-radius: 8px 0 0 8px }
.num-field .num-btn:nth-of-type(2) { border-radius: 0 8px 8px 0 }
.num-field input.form-input { width: 90px; height: 42px; border-radius: 0; border-left: 0; border-right: 0; text-align: center; -moz-appearance: textfield }
.num-field input::-webkit-outer-spin-button, .num-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0 }
.num-field .num-unit { margin-left: 10px; font-size: 13.5px; color: var(--text2) }

/* Unelte tabel variante */
.vt-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px }
.vt-box { border: 1px solid var(--border); border-radius: 10px; background: var(--white); padding: 10px 14px }
.vt-box summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--navy) }
.vt-help { font-size: 12px; color: var(--muted); margin: 8px 0 }
.vt-calc { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 12px }
.vt-base { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px }
.vt-calc input, .vt-bulk input { width: 90px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; text-align: right }
.vt-grp { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 8px 10px; background: var(--surface); border-radius: 8px; font-size: 12.5px }
.vt-grp b { width: 100%; font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .03em }
.vt-grp label { display: inline-flex; align-items: center; gap: 4px }
.vt-grp label span { color: var(--muted) }
.vt-filters { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 0; font-size: 12.5px }
.vt-filters select { padding: 4px 6px; border: 1px solid var(--border); border-radius: 6px; font-size: 12.5px; margin-left: 4px }
.vt-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.vt-bulk #vt-shown { font-size: 12.5px; font-weight: 600; margin-right: 6px }
.vt-table tr[hidden] { display: none }
.vt-fit { border-color: #c7d2fe; background: #F8FAFF }
.vt-table tr.vt-known td { background: #FEF9C3 }
.vt-table tr.vt-known .vt-price { border-color: #ca8a04; font-weight: 700 }
.vt-mini { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 8px }
.vt-mini th, .vt-mini td { padding: 5px 8px; border-bottom: 1px solid var(--border); text-align: left }
.vt-ok { color: #166534; font-size: 13px; font-weight: 600; margin: 8px 0 }
.vt-warn { color: #9A3412; font-size: 12.5px; margin: 8px 0 }
.vt-table tr.vt-suggest td:first-child { box-shadow: inset 3px 0 0 var(--navy) }

/* Selectie multipla in tabelul de variante */
.vt-table .vt-sel-col { width: 34px; text-align: center }
.vt-table .vt-sel-col input { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer }
.vt-sel-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 8px; border: 1px dashed var(--border); border-radius: 8px; font-size: 13px; color: var(--muted) }
.vt-sel-bar.on { border: 1px solid #fecaca; background: #FEF2F2; color: #991B1B }

/* Editor grup: preturi pe pasi */
.ge-steps-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 }
.ge-steps { width: 100%; max-width: 460px; border-collapse: collapse; font-size: 13px }
.ge-steps th { text-align: left; font-size: 11.5px; color: var(--muted); padding: 4px 6px; text-transform: uppercase }
.ge-steps td { padding: 3px 6px }
.ge-steps .form-input { padding: 6px 8px; font-size: 13px }
.ge-steps .ge-x { background: none; border: none; color: #dc2626; font-size: 17px; cursor: pointer }

/* Camp numeric: setari proprii la produs (tab Optiuni) */
.num-own-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; margin: 4px 0 }
.num-own-toggle input { width: 16px; height: 16px; accent-color: var(--navy) }
.num-own-body[hidden] { display: none }
.num-own-grid { display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); gap: 8px; margin: 8px 0; font-size: 12px; color: var(--muted) }
.num-own-grid .form-input { margin-top: 3px; padding: 6px 8px; font-size: 13px }
@media (max-width: 700px) { .num-own-grid { grid-template-columns: 1fr 1fr } }
.vg-chip.vg-add { cursor: default; background: #F0FDF4; border-color: #BBF7D0; color: #166534 } .vg-chip.vg-add .vg-why { color: #15803d }
.cfg-ptype { margin-left: 4px; padding: 2px 4px; font-size: 11.5px; border: 1px solid var(--border); border-radius: 5px; background: var(--white) }
.num-stepper + .num-unit, .qty-wrap .num-unit { margin-left: 10px; font-size: 13.5px; color: var(--text2) } .qty-wrap:has(.num-stepper) { display: flex; align-items: center }

/* Subsol: datele de identificare ale firmei (vizibile, centrate) */
.footer-legal { max-width: 1280px; margin: 18px auto 0; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.6; text-align: center }
@media (max-width: 640px) { .footer-legal { font-size: 12px; padding: 12px 16px } }

/* ---- Blog ---- */
.blog-wrap { padding: 28px 24px 56px; max-width: 1100px }
.blog-head h1 { font-size: 30px; font-weight: 900; color: var(--navy); margin: 6px 0 6px }
.blog-head p { color: var(--muted); font-size: 15px; margin-bottom: 26px }
.blog-empty { padding: 48px; text-align: center; color: var(--muted); background: var(--surface); border-radius: 12px }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s }
.blog-card:hover { box-shadow: 0 10px 28px rgba(15, 23, 42, .1); transform: translateY(-2px) }
.blog-card-img { aspect-ratio: 1200 / 630; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 38px; overflow: hidden }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover }
.blog-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1 }
.blog-card-body h2, .blog-card-body h3 { font-size: 17px; font-weight: 800; color: var(--text1); line-height: 1.35; margin: 0 }
.blog-card-body p { font-size: 13.5px; color: var(--text2); line-height: 1.6; margin: 0 }
.blog-more { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--navy) }
.blog-meta { font-size: 12px; color: var(--muted) }
.blog-card-lead { grid-column: 1 / -1; flex-direction: row }
.blog-card-lead .blog-card-img { width: 55%; flex-shrink: 0 }
.blog-card-lead .blog-card-body { padding: 26px 28px; justify-content: center }
.blog-card-lead h2 { font-size: 24px }
.blog-pages { display: flex; gap: 8px; justify-content: center; margin-top: 30px }
.blog-pages a { padding: 7px 13px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text2); font-weight: 600; font-size: 13px }
.blog-pages a.active { background: var(--navy); border-color: var(--navy); color: #fff }
.blog-article { max-width: 760px; margin: 0 auto }
.blog-article h1 { font-size: 32px; font-weight: 900; color: var(--text1); line-height: 1.25; margin: 8px 0 10px }
.blog-lead { font-size: 17px; color: var(--text2); line-height: 1.6; margin: 14px 0 0 }
.blog-cover { width: 100%; border-radius: 14px; margin: 22px 0 6px }
.blog-content { font-size: 16px; line-height: 1.8; color: var(--text2); margin-top: 18px }
.blog-content h2 { font-size: 23px; font-weight: 800; color: var(--text1); margin: 34px 0 10px; line-height: 1.3 }
.blog-content h3 { font-size: 19px; font-weight: 800; color: var(--text1); margin: 26px 0 8px }
.blog-content h4 { font-size: 16px; font-weight: 800; color: var(--text1); margin: 20px 0 6px }
.blog-content p { margin: 0 0 16px }
.blog-content ul, .blog-content ol { margin: 0 0 16px 22px }
.blog-content li { margin-bottom: 6px }
.blog-content a { color: var(--navy); font-weight: 600; text-decoration: underline }
.blog-content img { max-width: 100%; border-radius: 10px; margin: 8px 0 }
.blog-content blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 4px solid var(--navy); background: var(--surface); border-radius: 0 8px 8px 0; font-style: italic }
.blog-products, .blog-related { max-width: 1100px; margin: 44px auto 0; padding-top: 28px; border-top: 1px solid var(--border) }
.blog-products h2, .blog-related h2 { font-size: 21px; font-weight: 800; margin-bottom: 16px }
.blog-prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
.blog-prod { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text1); font-size: 13.5px; font-weight: 600; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 10px }
.blog-prod img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--surface) }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .blog-card-lead { flex-direction: column }
  .blog-card-lead .blog-card-img { width: 100% }
  .blog-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 600px) {
  .blog-wrap { padding: 20px 16px 40px }
  .blog-grid { grid-template-columns: 1fr }
  .blog-article h1 { font-size: 25px }
  .blog-content { font-size: 15.5px }
  .blog-content h2 { font-size: 20px }
}
/* editor */
.bf-tabs { display: flex; gap: 4px; margin-bottom: 10px }
.bf-tabs button { padding: 7px 14px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer }
.bf-tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy) }
.bf-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px }
.bf-toolbar[hidden], .bf-content[hidden], .bf-preview[hidden] { display: none }
.bf-toolbar button { padding: 5px 10px; border: 1px solid var(--border); background: var(--white); border-radius: 6px; font-size: 12.5px; cursor: pointer }
.bf-toolbar button:hover { border-color: var(--navy); color: var(--navy) }
.bf-content { font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; line-height: 1.6 }
.bf-preview { border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; min-height: 300px; max-height: 640px; overflow: auto; margin-top: 0 }

/* Cardurile de produs: <picture> ocupa exact cutia, imaginea se vede intreaga (fara taiere) */
.product-card-img picture { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center }
.product-card-img picture img, .product-card-img > img { width: 100%; height: 100%; max-height: 100%; object-fit: contain }

/* Blog: tabele + imagini intregi (fara taiere) */
.blog-table { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--border); border-radius: 10px }
.blog-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5 }
.blog-table th { background: var(--navy); color: #fff; font-weight: 700; text-align: left; padding: 10px 14px; white-space: nowrap }
.blog-table td { padding: 10px 14px; border-top: 1px solid var(--border); vertical-align: top }
.blog-table tbody tr:nth-child(even) td { background: var(--surface) }
.blog-card-img { background: #fff }
.blog-card-img img { object-fit: contain }
.blog-cover { height: auto; object-fit: contain; display: block }
.blog-content img { height: auto }
