/* ============================================================
   product.css — Stiluri specifice paginii de produs
   Încărcat prin {% block extra_css %} în product.html
   ============================================================ */

/* ── Breadcrumb ── */
/* .breadcrumb-bar / .breadcrumb — definite global în kyb.css, ca să fie disponibile pe orice pagină */

/* ── Catalog Nav Button ── */
.catalog-nav-wrap { position: static; flex-shrink: 0; }
.nav-link--catalog { background: #E3000F; color: #fff !important; font-weight: 700; border-radius: 8px; gap: 8px; cursor: pointer; border: none; font-size: 0.85rem; font-family: 'Barlow', sans-serif; letter-spacing: 0.01em; padding: 8px 18px; display: flex; align-items: center; }
.nav-link--catalog:hover { background: #B8000C !important; }
.catalog-chevron { transition: transform .22s; flex-shrink: 0; }
.nav-link--catalog[aria-expanded="true"] .catalog-chevron { transform: rotate(180deg); }
.catalog-dropdown { display: none; position: fixed; z-index: 9500; min-width: 780px; background: #fff; border: 1.5px solid #E5E7EB; border-top: 3px solid #E3000F; border-radius: 0 12px 12px 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.18); animation: catFade .18s ease; }
.catalog-dropdown.is-open { display: block; }
@keyframes catFade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.catalog-dropdown-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.catalog-col { padding: 20px 18px 22px; border-right: 1px solid #F3F4F6; }
.catalog-col:last-child { border-right: none; }
.catalog-col-title { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #E3000F; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #F3F4F6; }
.catalog-item { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 6px; font-family: 'Barlow', sans-serif; font-size: 0.84rem; color: #374151; transition: background .15s, color .15s; text-decoration: none; }
.catalog-item:hover { background: #FEF2F2; color: #E3000F; }
.catalog-item-icon { font-size: 1.05rem; flex-shrink: 0; width: 24px; text-align: center; }
.catalog-badge { margin-left: auto; background: #E3000F; color: #fff; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.58rem; letter-spacing: 0.1em; padding: 2px 6px; border-radius: 3px; }
@media (max-width: 900px) { .catalog-dropdown { min-width: 360px; } .catalog-dropdown-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .catalog-dropdown { min-width: calc(100vw - 20px); } .catalog-dropdown-inner { grid-template-columns: 1fr; } }

/* ── Product Layout ── */
#product-main { padding: 0; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1100px) { .product-layout { grid-template-columns: 1fr 360px; } }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; } }

/* ── Product Title ── */
.product-title-mobile { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.7rem; letter-spacing: 0.01em; color: #111; line-height: 1.15; margin: 0 0 10px; display: none; }
.product-title-desktop { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.65rem; letter-spacing: 0.01em; color: #111; line-height: 1.15; margin: 0 0 10px; }
.product-title-mobile em, .product-title-desktop em { color: #E3000F; font-style: normal; }
@media (max-width: 860px) { .product-title-desktop { display: none; } .product-title-mobile { display: block; } }

/* ── Rating ── */
.product-rating-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.stars { display: flex; gap: 1px; }
.star { font-size: 1rem; color: #D1D5DB; }
.star.filled { color: #F59E0B; }
.star.half { color: #F59E0B; opacity: 0.6; }
.rating-count { font-size: 0.8rem; color: #6B7280; font-family: 'Barlow', sans-serif; }
.rating-sep { color: #E5E7EB; }
.rating-link, .in-stock-inline { font-size: 0.8rem; font-family: 'Barlow', sans-serif; color: #6B7280; text-decoration: none; }
.in-stock-inline { color: #16a34a; display: flex; align-items: center; gap: 4px; font-weight: 600; }

/* ── Gallery ── */
.product-image-main { background: #fff; border: 1.5px solid #EAECEF; border-radius: 12px; position: relative; display: flex; align-items: center; justify-content: center; height: 420px; overflow: hidden; }
.product-image-main img { width: 100%; height: 100%; object-fit: contain; }
.product-svg-placeholder { max-width: 100%; height: 380px; }
.img-badge { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; color: #fff; }
.img-badge--promo { background: #E3000F; }
.img-badge--discount { background: #111; }
.img-badges-wrap { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; z-index: 3; }
/* ── Gallery Arrows ── */
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #9CA3AF; font-size: 1.6rem; font-family: 'Georgia', serif; line-height: 1; padding: 0 14px; z-index: 10; transition: color .15s, opacity .2s; user-select: none; opacity: 0; }
.product-image-main:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { color: #E3000F; }
.gallery-arrow--prev { left: 0; }
.gallery-arrow--next { right: 0; }

.img-wishlist-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1.5px solid #E5E7EB; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .18s; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.img-wishlist-btn:hover, .img-wishlist-btn.active, .img-wishlist-btn.wished { background: #FFF0F0; border-color: #E3000F; color: #E3000F; }
.img-wishlist-btn svg { transition: color 0.18s, fill 0.18s; }
.img-wishlist-btn.wished svg { fill: #E3000F; color: #E3000F; }

/* Buton YouTube -- pill in coltul stanga-jos al pozei principale, se extinde
   smooth la hover pentru a arata textul "Vizioneaza pe YouTube". Colaps la
   un cerc de 46px (mai mare decat wishlist-ul, intentionat -- trebuie sa
   bata la ochi) cand nu e in hover. */
.img-youtube-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 46px;
  width: 46px;
  padding: 0;
  border-radius: 23px;
  background: #FF0000;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255,0,0,0.35), 0 1px 4px rgba(0,0,0,0.2);
  transition: width .3s cubic-bezier(.4,0,.2,1), transform .18s ease, box-shadow .18s ease;
}
.img-youtube-btn:hover { transform: scale(1.04); box-shadow: 0 4px 14px rgba(255,0,0,0.45), 0 1px 4px rgba(0,0,0,0.2); }
.img-youtube-btn .img-youtube-icon { flex-shrink: 0; width: 24px; height: 24px; margin-left: 11px; }
.img-youtube-btn .img-youtube-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  margin-left: 0;
  transition: opacity .2s ease .06s, max-width .3s cubic-bezier(.4,0,.2,1), margin-left .3s cubic-bezier(.4,0,.2,1);
}
.img-youtube-btn:hover { width: auto; }
.img-youtube-btn:hover .img-youtube-text { opacity: 1; max-width: 220px; margin-left: 8px; margin-right: 12px; }

/* ── Thumbnails ── */
.thumbnail-carousel { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 70px; height: 70px; border: 1.5px solid #E5E7EB; border-radius: 8px; cursor: pointer; background: #fff; overflow: hidden; padding: 4px; transition: border-color .18s; display: flex; align-items: center; justify-content: center; }
.thumb:hover, .thumb.active { border-color: #E3000F; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }

/* ── Quick Advantages ── */
.quick-advantages { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 16px; background: #fff; border: 1.5px solid #EAECEF; border-radius: 10px; }
.quick-adv-item { display: flex; align-items: center; gap: 10px; font-family: 'Barlow', sans-serif; font-size: 0.85rem; color: #374151; }
.quick-adv-item strong { color: #111; }

/* ── Buy Box ── */
.product-buy-col { background: #fff; border: 1.5px solid #EAECEF; border-radius: 12px; padding: 26px; align-self: start; }
/* ── Price Block ── */
.price-block { background: #F9FAFB; border: 1.5px solid #EAECEF; border-radius: 10px; padding: 18px 20px; margin: 14px 0; }
.price-old { font-size: 1rem; color: #6B7280; text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500; font-family: 'Barlow', sans-serif; margin-bottom: 4px; }
.price-percent-badge {
  background: rgba(227,0,15,0.1); color: #E3000F; font-family: 'Barlow', sans-serif;
  font-weight: 800; font-size: 1.05rem; padding: 3px 9px; border-radius: 4px; line-height: 1.3;
}
.price-current-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-current { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 2.4rem; color: #111; letter-spacing: -1px; line-height: 1; }
.price-currency { font-size: 1.1rem; font-weight: 700; color: #6B7280; margin-left: 2px; }
.discount-badge { background: #E3000F; color: #fff; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 3px; }
.price-secondary { font-size: 0.8rem; color: #9CA3AF; font-family: 'Barlow', sans-serif; margin-top: 6px; }

/* ── Stock ── */
.stock-status { display: flex; align-items: center; gap: 7px; font-family: 'Barlow', sans-serif; font-size: 0.83rem; color: #16a34a; font-weight: 600; margin-bottom: 14px; }
.stock-qty { color: #9CA3AF; font-weight: 400; }
.buy-divider { border: none; border-top: 1px solid #F3F4F6; margin: 14px 0; }

/* ── Qty Selector ── */
.qty-label { font-family: 'Barlow', sans-serif; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #6B7280; margin-bottom: 8px; }
.qty-selector { display: flex; align-items: center; gap: 0; border: 1.5px solid #EAECEF; border-radius: 8px; overflow: hidden; width: fit-content; margin-bottom: 14px; }
.qty-btn { width: 38px; height: 40px; border: none; background: #F9FAFB; font-size: 1.2rem; cursor: pointer; transition: background .15s; color: #374151; }
.qty-btn:hover { background: #F3F4F6; color: #E3000F; }
.qty-value { width: 44px; height: 40px; display: flex; align-items: center; justify-content: center; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.95rem; border-left: 1px solid #EAECEF; border-right: 1px solid #EAECEF; }

/* ── CTA Buttons ── */
.btn-add-to-cart { width: 100%; height: 52px; background: #111; color: #fff; border: none; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .18s, transform .15s; margin-bottom: 10px; }
.btn-add-to-cart:hover { background: #333; }
.btn-add-to-cart.added { background: #16a34a; }
.secondary-btns { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.btn-one-click { width: 100%; height: 48px; background: #E3000F; color: #fff; border: none; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .18s; }
.btn-one-click:hover { background: #B8000C; }
.btn-installment { width: 100%; height: 44px; background: transparent; color: #374151; border: 1.5px solid #E5E7EB; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .18s, color .18s; }
.btn-installment:hover { border-color: #E3000F; color: #E3000F; }

/* ── Buy Advantages ── */
.buy-advantages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.buy-advantages li { display: flex; align-items: flex-start; gap: 8px; font-family: 'Barlow', sans-serif; font-size: 0.83rem; color: #374151; }

/* ── SKU Row ── */
.sku-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.sku-label { font-size: 0.72rem; color: #9CA3AF; font-family: 'Barlow', sans-serif; }
.sku-val { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.78rem; color: #374151; }
.share-btn { display: flex; align-items: center; gap: 5px; font-family: 'Barlow', sans-serif; font-size: 0.75rem; color: #9CA3AF; background: none; border: none; cursor: pointer; margin-left: auto; transition: color .15s; }
.share-btn:hover { color: #E3000F; }

/* ── Tabs ── */
.product-tabs-section { background: #fff; border-top: 1px solid #EAECEF; border-bottom: 1px solid #EAECEF; margin-top: 8px; }
/* In noul context (langa cutia de pret, mutata prin JS), stilul
   de "sectiune plina, pe toata latimea paginii" (fundal + chenar sus/jos) nu
   mai are sens — arata ca o cutie taiata, cu colturi ascutite. O transformam
   intr-un card cu colturi rotunjite, la fel ca celelalte cutii de pe pagina. */
.product-layout .product-tabs-section { background: #fff; border: 1.5px solid #EAECEF; border-radius: 12px; padding: 20px 24px; margin-top: 28px; }
#product-tabs { grid-column: 1 / -1; }
.tabs-nav { display: flex; border-bottom: 2px solid #EAECEF; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { padding: 16px 24px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em; color: #6B7280; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .18s, border-color .18s; background: none; border-top: none; border-left: none; border-right: none; }
.tab-btn.active { color: #E3000F; border-bottom-color: #E3000F; }
.tab-btn:hover:not(.active) { color: #111; }
.tab-count { background: #F3F4F6; border-radius: 20px; padding: 2px 8px; font-size: 0.72rem; margin-left: 6px; }
.tab-panel { display: none; padding: 32px 0; }
.tab-panel.active { display: block; }

/* ── About Tab ── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }
.about-h2 { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.25rem; color: #111; margin: 0 0 14px; }
.about-text p { font-size: 0.9rem; color: #374151; line-height: 1.75; margin-bottom: 12px; }
/* Limitează imaginile mari din descrierea HTML editată din admin (CKEditor) */
.about-text img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
  border-radius: 8px;
}
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.feature-pill { padding: 6px 14px; background: #F3F4F6; border: 1px solid #E5E7EB; border-radius: 20px; font-family: 'Barlow', sans-serif; font-size: 0.8rem; color: #374151; font-weight: 600; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.highlight-card { background: #F9FAFB; border: 1.5px solid #EAECEF; border-radius: 10px; padding: 16px 14px; text-align: center; }
.highlight-num { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.6rem; color: #E3000F; line-height: 1; }
.highlight-lbl { font-size: 0.72rem; color: #6B7280; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ── Specs Tab ── */
.specs-table-wrap { overflow-x: auto; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) { background: #F9FAFB; }
.specs-table th, .specs-table td { padding: 12px 16px; font-size: 0.88rem; border-bottom: 1px solid #EAECEF; text-align: left; }
.specs-table th { color: #6B7280; font-weight: 600; width: 40%; font-family: 'Barlow', sans-serif; }
.specs-table td { color: #111; font-weight: 500; }

/* ── Bundle Tab ── */
.bundle-count-badge { display: inline-block; vertical-align: middle; margin-left: 10px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.02em; color: #E3000F; background: #FFF0F0; border: 1px solid #FFD6D6; border-radius: 20px; padding: 3px 11px; }
.bundle-intro { font-size: 0.9rem; color: #6B7280; margin-bottom: 18px; }
.bundle-grid-wrap { position: relative; margin-bottom: 22px; }
.bundle-grid-wrap.has-more::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; border-radius: 0 0 10px 10px; transition: opacity .25s; }
.bundle-grid-wrap.has-more.at-bottom::after { opacity: 0; }
.bundle-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.bundle-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
@media (max-width: 600px) { .bundle-grid { grid-template-columns: 1fr; } }
.bundle-scroll-more-btn {
  display: none; position: absolute; left: 50%; bottom: 0;
  transform: translate(-50%, 50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: #E3000F; border: 2px solid #E3000F;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  align-items: center; justify-content: center; cursor: pointer;
  padding: 0; z-index: 2; transition: opacity .2s, transform .15s;
}
.bundle-scroll-more-btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #E3000F; opacity: 0.55;
  animation: bundleArrowPing 1.8s ease-out infinite;
}
.bundle-scroll-more-btn:hover { background: #FFF5F5; transform: translate(-50%, 50%) scale(1.06); }
.bundle-grid-wrap.has-more .bundle-scroll-more-btn { display: flex; }
.bundle-grid-wrap.has-more.at-bottom .bundle-scroll-more-btn { opacity: 0; pointer-events: none; }
@keyframes bundleArrowPing {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}
.bundle-item { display: flex; align-items: center; }
.bundle-card { flex: 1; display: flex; align-items: center; gap: 16px; padding: 14px; border: 1.5px solid #EAECEF; border-radius: 10px; cursor: pointer; transition: border-color .18s, background .18s; }
.bundle-card:hover { border-color: #E3000F; background: #FFFAFA; }
.bundle-img { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; background: #F9FAFB; border: 1px solid #F0F1F3; border-radius: 10px; overflow: hidden; }
.bundle-img img { width: 100%; height: 100%; object-fit: contain; }
.bundle-name { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.92rem; line-height: 1.25; color: #111; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bundle-price { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1rem; color: #E3000F; }
.bundle-add-icon { width: 30px; height: 30px; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #9CA3AF; margin-left: auto; flex-shrink: 0; }
.bundle-summary { background: #F9FAFB; border: 1.5px solid #EAECEF; border-radius: 10px; padding: 20px 22px; }
.bundle-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #EAECEF; font-family: 'Barlow', sans-serif; font-size: 0.88rem; color: #374151; }
.bundle-summary-row:last-of-type { border-bottom: none; }
.bundle-total { font-weight: 900; font-size: 1.1rem; color: #111; padding-top: 12px; margin-top: 4px; }
.bundle-add-btn { width: 100%; height: 48px; background: #E3000F; color: #fff; border: none; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background .18s; margin-top: 14px; }
.bundle-add-btn:hover { background: #B8000C; }

/* ── Reviews Tab ── */
.reviews-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
@media (max-width: 700px) { .reviews-layout { grid-template-columns: 1fr; } }
.reviews-score-box { background: #F9FAFB; border: 1.5px solid #EAECEF; border-radius: 10px; padding: 22px; text-align: center; }
.reviews-big-score { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 3.2rem; color: #111; line-height: 1; }
.stars--lg .star { font-size: 1.2rem; }
.reviews-total { font-size: 0.8rem; color: #9CA3AF; margin: 6px 0 16px; }
.reviews-bars { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.review-bar-row { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: #6B7280; }
.bar-track { flex: 1; height: 8px; background: #EAECEF; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #F59E0B; border-radius: 4px; }
.btn-write-review { width: 100%; height: 40px; background: #111; color: #fff; border: none; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background .18s; }
.btn-write-review:hover { background: #E3000F; }
.review-card { padding: 18px 0; border-bottom: 1px solid #EAECEF; }
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; background: #E3000F; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 0.82rem; flex-shrink: 0; }
.reviewer-name { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.9rem; color: #111; }
.reviewer-date { font-size: 0.72rem; color: #9CA3AF; margin-top: 1px; }
.review-stars { margin-left: auto; color: #F59E0B; font-size: 0.9rem; }
.review-text { font-size: 0.88rem; color: #374151; line-height: 1.7; margin-bottom: 10px; }
.review-helpful { display: flex; gap: 8px; }
.helpful-btn { background: #F3F4F6; border: 1px solid #E5E7EB; border-radius: 20px; padding: 4px 12px; font-family: 'Barlow', sans-serif; font-size: 0.75rem; color: #6B7280; cursor: pointer; transition: background .15s; }
.helpful-btn:hover { background: #FEF2F2; border-color: #E3000F; color: #E3000F; }

/* ── Similar Products ── */
.popular-section { background: #F3F4F6; padding: 44px 0; }
.popular-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1024px) { .popular-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .popular-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 440px) { .popular-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.pop-card { background: #fff; border: 1.5px solid #EAECEF; border-radius: 10px; overflow: hidden; position: relative; display: flex; flex-direction: column; transition: box-shadow .22s, border-color .22s, transform .22s; text-decoration: none; color: inherit; }
.pop-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); border-color: #D1D5DB; transform: translateY(-3px); }
.pop-badge { position: absolute; top: 12px; left: 12px; z-index: 5; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; padding: 3px 9px; border-radius: 3px; text-transform: uppercase; }
.pop-badge.promo { background: #E3000F; color: #fff; }
.pop-badge.disc { background: #111; color: #fff; }
.pop-badge.nou { background: #0D6EFD; color: #fff; }
.pop-badge.prod-badge-save { font-size: 0.78rem; padding: 4px 10px; border-radius: 10px; text-transform: none; letter-spacing: 0.01em; }
.pop-img { background: #fff; padding: 20px; display: flex; align-items: center; justify-content: center; height: 160px; border-bottom: 1px solid #F3F4F6; }
.pop-img img { max-width: 100%; max-height: 120px; object-fit: contain; }
.pop-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.pop-title { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; color: #111; line-height: 1.3; }
.pop-code { font-size: 0.72rem; color: #9CA3AF; }
.pop-stock { font-size: 0.73rem; color: #16a34a; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.pop-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; flex-shrink: 0; }
.pop-rate { font-size: 0.72rem; color: #9CA3AF; border-top: 1px solid #F3F4F6; padding-top: 6px; margin-top: 2px; }
.pop-rate span { color: #6B7280; font-weight: 600; }
.pop-price-row { display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 16px 14px; margin-top: auto; }
.pop-prices { display: flex; flex-direction: column; gap: 1px; }
.pop-old { font-size: 0.84rem; color: #6B7280; text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500; font-family: 'Barlow', sans-serif; }
.pop-new-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.pop-percent-badge { font-size: 0.78rem; padding: 2px 6px; }
.pop-new { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.4rem; color: #111; letter-spacing: -0.5px; line-height: 1; }
.pop-cart-btn { width: 38px; height: 38px; border-radius: 50%; background: #111; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .18s, transform .18s; color: #fff; }
.pop-cart-btn:hover { background: #E3000F; transform: scale(1.08); }

/* ── One-Click Modal ── */
.oc-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9000; backdrop-filter: blur(2px); }
.oc-overlay.is-open { display: block; }
.oc-modal:not(.checkout-modal) { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.96); z-index: 9100; background: #fff; border-radius: 18px; padding: 36px 32px 32px; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.22); scrollbar-width: none; -ms-overflow-style: none; }
.oc-modal:not(.checkout-modal)::-webkit-scrollbar { display: none; width: 0; height: 0; }
.oc-modal:not(.checkout-modal).is-open { display: block; animation: ocModalIn .24s cubic-bezier(0.34,1.56,0.64,1) forwards; }
@media (max-width: 600px) {
  .oc-modal:not(.checkout-modal) {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 78px);
    padding: 14px 12px 10px;
  }
  .oc-modal:not(.checkout-modal).is-open { animation: ocModalInMobile .24s cubic-bezier(0.34,1.56,0.64,1) forwards; }
  .oc-close { top: 6px; right: 8px; width: 24px; height: 24px; }
  .oc-close svg { width: 12px; height: 12px; }
  .oc-title { font-size: 0.92rem; margin-bottom: 1px; }
  .oc-subtitle { font-size: 0.6rem; margin-bottom: 6px; line-height: 1.25; }
  .oc-body { gap: 5px; }
  .oc-label { font-size: 0.58rem; margin-bottom: 2px; }
  .oc-input { height: 30px; padding: 0 9px; font-size: 0.68rem; }
  .oc-pay-options { gap: 4px; }
  .oc-pay-opt { padding: 4px 7px; gap: 5px; }
  .oc-pay-opt input[type=radio] { width: 12px; height: 12px; }
  .oc-pay-label { font-size: 0.64rem; }
  .oc-pay-desc { font-size: 0.53rem; margin-top: 0; }
  .oc-modal:not(.checkout-modal) .oc-submit { height: 32px; font-size: 0.64rem; margin-top: 2px; }
  .oc-note { font-size: 0.53rem; line-height: 1.15; margin-top: 2px; }
}
@keyframes ocModalInMobile { from { opacity: 0; transform: translateX(-50%) scale(0.94); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@media (max-height: 700px) {
  .oc-modal:not(.checkout-modal) { top: 6px; max-height: calc(100dvh - 72px); padding-top: 12px; }
  .oc-title { margin-bottom: 0; }
  .oc-subtitle { margin-bottom: 5px; }
  .oc-body { gap: 4px; }
}
@keyframes ocModalIn { from { opacity: 0; transform: translate(-50%,-50%) scale(0.9); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.oc-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: #F3F4F6; border: none; display: flex; align-items: center; justify-content: center; color: #374151; transition: background .16s; cursor: pointer; }
.oc-close:hover { background: #E5E7EB; color: #111; }
.oc-title { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.5rem; color: #111; text-align: center; margin-bottom: 8px; }
.oc-subtitle { font-size: 0.83rem; color: #6B7280; text-align: center; margin-bottom: 22px; font-family: 'Barlow', sans-serif; }
.oc-body { display: flex; flex-direction: column; gap: 12px; }
.oc-label { font-family: 'Barlow', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #374151; margin-bottom: 6px; display: block; }
.oc-input { width: 100%; height: 52px; padding: 0 18px; background: #F3F4F6; border: 2px solid transparent; border-radius: 10px; font-family: 'Barlow', sans-serif; font-size: 0.94rem; color: #111; outline: none; transition: border-color .18s, background .18s; }
.oc-input::placeholder { color: #9CA3AF; }
.oc-input:focus { border-color: #E3000F; background: #fff; }
.oc-input.error { border-color: #E3000F; background: #FEF2F2; }
.oc-pay-options { display: flex; flex-direction: column; gap: 8px; }
.oc-pay-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid #EAECEF; border-radius: 10px; cursor: pointer; transition: all .18s; }
.oc-pay-opt:hover, .oc-pay-opt.selected { border-color: #E3000F; background: #FFF5F5; }
.oc-pay-opt input[type=radio] { accent-color: #E3000F; width: 16px; height: 16px; }
.oc-pay-label { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.88rem; color: #374151; }
.oc-pay-desc { font-size: 0.72rem; color: #9CA3AF; margin-top: 1px; }
.oc-modal:not(.checkout-modal) .oc-submit { width: 100%; height: 52px; background: #111; color: #fff; border-radius: 50px; border: none; font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.96rem; letter-spacing: 0.12em; text-transform: uppercase; transition: background .18s, transform .16s; cursor: pointer; margin-top: 4px; }
.oc-modal:not(.checkout-modal) .oc-submit:hover { background: #E3000F; transform: translateY(-1px); }
.oc-note { font-size: 0.75rem; color: #9CA3AF; text-align: center; line-height: 1.5; margin: 0; }

/* ── Store Map Section ── */
#store-map-section { border-top: 1px solid #EAECEF; }
/* ══════════════════════════════════════════════════════
   TIPOGRAFIE INTER — override final pentru pagina produs
══════════════════════════════════════════════════════ */

/* Titlul produsului */
.product-title-desktop,
.product-title-mobile {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.4rem !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
}

/* Prețul principal */
.price-current {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 2rem !important;
  letter-spacing: -0.03em !important;
}

/* Buton Adaugă în coș */
.btn-add-to-cart {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* Buton Cumpără într-un click */
.btn-one-click {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* Buton Rate fără dobândă */
.btn-installment {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0 !important;
}

/* Buton submit modal (Trimite comanda, Solicită etc.) — doar pt modalele din pagina produs */
.oc-modal:not(.checkout-modal) .oc-submit {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* Label Cantitate */
.qty-label {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em !important;
}

/* Avantaje buy-box */
.buy-advantages li {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.84rem !important;
}

/* Titluri tabs */
.tab-btn {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
/* Preț redus — forțat bold, indiferent de regula .price-current de mai sus */
.price-sale { font-weight: 900 !important; -webkit-text-stroke: 0.4px currentColor; }

/* Buton "Stoc epuizat" -- inlocuieste complet zona de cumparare cand
   produsul nu e disponibil, blocheaza vizual si functional achizitia. */
.btn-out-of-stock {
  background: #E5E7EB !important;
  color: #6B7280 !important;
  cursor: not-allowed !important;
}
.btn-out-of-stock:hover { background: #E5E7EB !important; transform: none !important; }