/* PILULA.VIP — pagina de produse
   Se incarca DUPA main.css si reia acelasi design system. */

.shop-page { padding: 110px 6% 80px; max-width: 1200px; margin: 0 auto; }

/* ===== BREADCRUMB ===== */
.crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.74rem; color: var(--muted); margin-bottom: 34px;
}
.crumb a { color: var(--muted); transition: color 0.2s; }
.crumb a:hover { color: var(--electric); }
.crumb span[aria-current] { color: var(--navy); font-weight: 500; }

/* ===== PDP ===== */
.pdp {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start; margin-bottom: 90px;
}
.pdp-gallery { position: sticky; top: 96px; }
.pdp-img-main {
  width: 100%; background: var(--off);
  border: 1px solid var(--silver); cursor: zoom-in;
}
.pdp-gallery .prod-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pdp-gallery .prod-thumb {
  width: 74px; height: 74px; object-fit: cover; cursor: pointer;
  border: 1px solid var(--silver); opacity: 0.55; transition: opacity 0.2s, border-color 0.2s;
}
.pdp-gallery .prod-thumb:hover { opacity: 0.85; }
.pdp-gallery .prod-thumb.active { opacity: 1; border-color: var(--electric); }

.pdp-info h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800;
  line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--navy); margin: 6px 0 8px;
}
.pdp-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.15rem; color: var(--gold); margin-bottom: 16px;
}
.pdp-desc { font-size: 0.92rem; line-height: 1.7; color: #313c49; font-weight: 300; margin-bottom: 24px; }

.pdp-price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding: 20px 0; margin-bottom: 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pdp-price-val {
  font-family: 'Barlow Condensed', sans-serif; font-size: 3rem;
  font-weight: 800; line-height: 1; color: var(--navy);
}
.pdp-price-cur {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy);
}
.pdp-price-note { font-size: 0.78rem; color: var(--muted); }

.pdp-specs caption {
  text-align: left; font-family: 'Syne', sans-serif;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); padding-bottom: 8px;
}

.pdp-cta { display: flex; gap: 12px; align-items: stretch; margin-bottom: 4px; }
.pdp-cta .btn { flex: 1; justify-content: center; }

/* ===== BANDA VIP PACK ===== */
.offer-band {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px;
  align-items: center; background: var(--navy);
  padding: 48px; margin-bottom: 90px;
}
.offer-media img { width: 100%; cursor: zoom-in; }
.offer-label {
  display: inline-block; font-family: 'Syne', sans-serif;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--navy); background: var(--gold-l);
  padding: 6px 12px; margin-bottom: 16px;
}
.offer-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1; text-transform: uppercase; color: #fff; margin-bottom: 12px;
}
.offer-body > p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); font-weight: 300; margin-bottom: 22px; }
.offer-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.offer-list li {
  font-size: 0.84rem; color: rgba(255,255,255,0.75); font-weight: 300;
  padding-left: 18px; position: relative;
}
.offer-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; background: var(--gold);
}
.offer-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.offer-price-val {
  font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem;
  font-weight: 800; line-height: 1; color: var(--gold-l);
}
.offer-price-old { font-size: 1rem; color: rgba(255,255,255,0.35); text-decoration: line-through; }
.offer-price-unit { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ===== SECTIUNI DE JOS ===== */
.compare-title, .formula-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800;
  text-transform: uppercase; color: var(--navy); margin-bottom: 24px;
}
.compare-wrap, .formula-wrap, .how-wrap { margin-bottom: 84px; }

.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td {
  padding: 13px 16px; text-align: left;
  border-bottom: 1px solid var(--line); font-size: 0.86rem;
}
.compare thead th {
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid var(--navy);
}
.compare tbody th {
  font-family: 'Syne', sans-serif; font-weight: 600;
  color: var(--navy); font-size: 0.8rem; width: 28%;
}
.compare td { color: #313c49; font-weight: 300; }
.compare .hi { background: rgba(184,150,62,0.07); }
.compare thead .hi { color: var(--gold); border-bottom-color: var(--gold); }

.formula-head { margin-bottom: 8px; }
.formula-head p { font-size: 0.9rem; color: var(--muted); font-weight: 300; margin-bottom: 22px; }
.formula-legal { font-size: 0.74rem; color: var(--muted); font-weight: 300; line-height: 1.7; margin-top: 16px; }

.how-steps {
  list-style: none; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.how-steps li { border-top: 2px solid var(--navy); padding-top: 16px; }
.how-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem;
  font-weight: 800; color: var(--gold); display: block; line-height: 1; margin-bottom: 8px;
}
.how-steps h3 { font-family: 'Syne', sans-serif; font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.how-steps p { font-size: 0.8rem; line-height: 1.6; color: var(--muted); font-weight: 300; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .pdp-gallery { position: static; }
  .offer-band { grid-template-columns: 1fr; gap: 30px; padding: 32px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .shop-page { padding: 92px 5% 60px; }
  .how-steps { grid-template-columns: 1fr; }
  .offer-band { padding: 26px 22px; }
  .pdp-cta { flex-direction: column; }
  .pdp-cta .qty-wrap { align-self: flex-start; }
}

/* ===== CATALOG ===== */
.catalog-head { margin-bottom: 40px; max-width: 640px; }
.catalog-head h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800;
  line-height: 1; text-transform: uppercase; color: var(--navy); margin: 6px 0 12px;
}
.catalog-head p { font-size: 0.94rem; line-height: 1.7; color: var(--muted); font-weight: 300; }

.catalog-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-bottom: 14px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.catalog-count { font-size: 0.8rem; color: var(--muted); }
.catalog-ship {
  font-family: 'Syne', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #1a7f45; background: rgba(26,127,69,0.08);
  border: 1px solid rgba(26,127,69,0.2); padding: 6px 11px;
}

.catalog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-bottom: 80px;
}
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--silver); background: #fff;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  border-color: var(--navy);
  box-shadow: 0 12px 34px rgba(8,12,20,0.09);
  transform: translateY(-3px);
}
.card.is-featured { border-color: var(--gold); }

.card-media { position: relative; display: block; background: var(--off); overflow: hidden; }
.card-media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2,0.7,0.3,1);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-flag {
  position: absolute; top: 12px; left: 12px;
  font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold-l); color: var(--navy); padding: 5px 9px;
}
.card-flag.save { background: var(--electric); color: #fff; }

.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-name {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 5px;
}
.card-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; }
.card-desc { font-size: 0.82rem; line-height: 1.6; color: #313c49; font-weight: 300; margin-bottom: 16px; }

.card-price-row {
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
}
.card-price {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.85rem;
  font-weight: 800; line-height: 1; color: var(--navy);
}
.card-price-old { font-size: 0.86rem; color: var(--muted); text-decoration: line-through; }
.card-unit { font-size: 0.74rem; color: var(--muted); width: 100%; margin-top: 2px; }

.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.card-actions .btn { flex: 1; justify-content: center; font-size: 0.7rem; padding: 12px 14px; }

/* Banda de incredere sub catalog */
.trust-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--silver);
  border: 1px solid var(--silver); margin-bottom: 80px;
}
.trust-item { background: #fff; padding: 26px 22px; }
.trust-ico { display: block; margin-bottom: 12px; color: var(--electric); }
.trust-ico svg { display: block; }
.trust-item h3 {
  font-family: 'Syne', sans-serif; font-size: 0.84rem; font-weight: 700;
  color: var(--navy); margin-bottom: 5px;
}
.trust-item p { font-size: 0.78rem; line-height: 1.6; color: var(--muted); font-weight: 300; }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .trust-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .trust-band { grid-template-columns: 1fr; }
  .card-actions { flex-direction: column; }
}

.pdp-crosslink {
  font-size: 0.82rem; color: var(--muted); font-weight: 300;
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
}
.pdp-crosslink a { color: var(--electric); text-decoration: underline; text-underline-offset: 2px; }
.pdp-crosslink a:hover { color: var(--elec-b); }

/* Butoanele din card stau pe fundal alb, deci varianta ghost deschisa e
   invizibila acolo. Se foloseste btn-ghost-dark; aici doar dimensionarea. */
.card-actions .btn { white-space: nowrap; }
.card-actions .btn-ghost-dark { flex: 0 0 auto; }

/* Cardurile au acum toate acelasi tipar: imagine-link + Detalii + adaugare.
   Butonul Detalii isi pastreaza latimea, cel de cos ocupa restul. */
.card-actions .btn-ghost-dark { flex: 0 0 auto; }
.card-actions .btn-gold,
.card-actions .btn-blue { flex: 1; }
