/* /home/reducerioferte/public_html/assets/css/produs.css
   =====================================================================
   REDUCERI-OFERTE.RO — Stil pagină produs
   POVALINIO SRL © 2011–2026 · AI Soft Romania
   ===================================================================== */

/* ---------- BREADCRUMB ---------- */
.breadcrumb { padding: 12px 0 4px; font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--orange-dk); }
.breadcrumb .sep { color: var(--muted2); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ---------- LAYOUT PRODUS ---------- */
.produs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 16px 0 8px; }
@media (max-width: 860px) { .produs { grid-template-columns: 1fr; gap: 28px; } }

/* galerie */
.pg-gallery { }
.pg-main {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 30px;
}
.pg-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pg-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pg-thumb {
  width: 70px; height: 70px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; background: var(--surface); transition: border-color .15s; padding: 5px;
}
.pg-thumb.active, .pg-thumb:hover { border-color: var(--orange); }
.pg-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* info */
.pg-info { display: flex; flex-direction: column; }
.pg-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pg-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 20px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.pg-badge.disc { background: #fff0f0; color: var(--red); border: 1px solid #ffd0d0; }
.pg-badge.stoc-in { background: var(--green-bg); color: var(--green); border: 1px solid #c3e9d0; }
.pg-badge.stoc-out { background: #fdeaea; color: var(--red); border: 1px solid #f5cccc; }
.pg-badge.brand { background: var(--surface); color: var(--navy-soft); border: 1px solid var(--line); }

.pg-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; margin-bottom: 10px; }
.pg-meta { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.pg-meta b { color: var(--navy-soft); }

.pg-price-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 22px; position: relative; overflow: hidden;
}
.pg-price-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--orange)); }
.pg-price-old { font-size: .9rem; color: var(--muted2); text-decoration: line-through; }
.pg-price-now { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.6rem; color: var(--red); line-height: 1.1; }
.pg-price-now.propriu { color: var(--navy); }
.pg-price-save { display: inline-block; background: #fff0ea; color: var(--orange-dk); font-weight: 600; font-size: .8rem; padding: 4px 12px; border-radius: var(--radius-sm); margin-top: 10px; }
.pg-price-tva { font-size: .74rem; color: var(--muted2); margin-top: 8px; }

/* actiuni */
.pg-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.pg-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.pg-qty label { font-size: .85rem; color: var(--muted); }
.pg-qty-control { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.pg-qty-control button { width: 38px; height: 42px; border: none; background: var(--bg); font-size: 1.2rem; color: var(--navy); cursor: pointer; transition: background .15s; }
.pg-qty-control button:hover { background: var(--surface); }
.pg-qty-control input { width: 50px; height: 42px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-family: inherit; font-size: 1rem; font-weight: 600; outline: none; }

.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-afiliat { background: var(--orange); }
.btn-afiliat:hover { background: var(--orange-dk); }
.btn-cos { background: var(--navy); }
.btn-cos:hover { background: var(--orange); }
.btn-disabled { background: var(--muted2) !important; cursor: not-allowed; pointer-events: none; }

.pg-trust { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.pg-trust-item { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.pg-trust-item .ic { color: var(--green); font-weight: 700; }

/* ---------- DESCRIERE + SPECS ---------- */
.pg-section { margin: 30px 0; }
.pg-section h2 { font-size: 1.4rem; margin-bottom: 16px; }
.pg-desc { font-size: .92rem; color: var(--ink); line-height: 1.7; max-width: 760px; }
.pg-desc p { margin-bottom: 12px; }

.specs-table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 760px; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 16px; font-size: .87rem; }
.specs-table td:first-child { color: var(--muted); font-weight: 500; width: 40%; background: var(--surface); }

/* ---------- DISCLAIMER AFILIAT ---------- */
.pg-affiliate-note { background: var(--orange-bg); border: 1px solid #ffe0c7; border-radius: var(--radius); padding: 14px 18px; font-size: .82rem; color: var(--navy-soft); margin-top: 20px; }

/* ---------- SIMILARE ---------- */
.pg-similar { margin-top: 48px; }