/* ============================================================
   BAKI FITNESS · CATÁLOGO ORGANIZADO, VERSIÓN 24
   Ajustes puntuales para fichas, fotos y envío gratis.
   ============================================================ */

/* Tarjetas de categoría: no incluyen envases sin fotografía confirmada. */
.category-grid .category-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(250, 123, 38, .12), transparent 42%),
    linear-gradient(135deg, #242127, #111115);
}
.category-grid .category-card strong { position: relative; z-index: 2; }
.category-grid .category-card .cat-icon { object-fit: contain; }

/* Las fotografías pendientes no muestran empaques de otra presentación. */
.product-photo img[data-foto-estado="pendiente"],
.similar-card img[data-foto-estado="pendiente"] {
  object-fit: contain;
  opacity: .82;
}

/* Tarjeta de envío gratis: más grande, clara e integrada en la ficha. */
.shipping-goal {
  display: block;
  margin-top: 32px;
  padding: 29px 29px 22px;
  border: 1px solid rgba(255, 158, 74, .55);
  border-left: 5px solid #ff932d;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 137, 35, .13), transparent 40%),
    linear-gradient(145deg, #24252a, #15191e);
  box-shadow: 0 15px 42px rgba(0, 0, 0, .18);
}

.shipping-highlight-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}

.shipping-emblem {
  flex: 0 0 67px;
  width: 67px;
  height: 67px;
  border: 1px solid #ff9b55;
  border-radius: 16px;
  background: rgba(255, 139, 32, .13);
  color: #ffad56;
  display: grid;
  place-items: center;
}
.shipping-emblem svg { width: 40px; height: 40px; }
.shipping-highlight-title { display: grid; gap: 4px; }
.shipping-highlight-title > span {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .13em;
  color: #ffb676;
}
.shipping-highlight-title > strong {
  font: 900 clamp(27px, 3.3vw, 36px)/1.07 'Barlow Condensed', sans-serif;
  letter-spacing: .025em;
  color: white;
}
.shipping-highlight-title > small {
  font-size: 13px;
  color: #d6dadf;
  line-height: 1.4;
}
.shipping-highlight-title b { color: #ffc373; }

.shipping-progress-head,
.shipping-progress-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.shipping-progress-head { margin-bottom: 13px; }
.shipping-progress-head span { color: #c1c7ce; font-size: 13px; }
.shipping-progress-head strong {
  color: #ffb568;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}
.shipping-goal-track {
  height: 13px;
  margin: 0;
  border-radius: 100px;
  border: 1px solid #62616a;
  background: #34373f;
  overflow: hidden;
}
.shipping-goal-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, #f77a24, #ffa950, #ffe1a0);
  box-shadow: 0 0 12px #ffac6370;
  transition: width .35s ease;
}
.shipping-progress-foot { margin-top: 12px; }
.shipping-progress-foot span { color: #aeb7c1; font-size: 11px; font-weight: 700; }
.shipping-progress-foot span:nth-child(2) { color: #ffc47e; font-size: 13px; }
.shipping-conditions {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid #4c4e54;
  color: #b2b8c0;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 650px) {
  .shipping-goal { padding: 22px 19px; }
  .shipping-highlight-head { gap: 13px; }
  .shipping-emblem { width: 55px; height: 55px; flex-basis: 55px; }
  .shipping-emblem svg { width: 32px; height: 32px; }
  .shipping-highlight-title > strong { font-size: 29px; }
  .shipping-progress-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .shipping-goal-track span { transition: none; }
}
