/* vinoreabodega — ficha de producto a 3 columnas + bloque de bodega
   Columna 1: imágenes · Columna 2: info del producto · Columna 3 (estrecha): bodega */

@media (min-width: 992px) {
  .product__container.product-container {
    grid-template-columns: 36% minmax(0, 1fr) 24% !important;
  }
}

@media (max-width: 991.98px) {
  /* En móvil/tablet la bodega pasa debajo, a ancho completo */
  .product__bodega {
    grid-column: 1 / -1;
  }
}

/* ── Columna central ─────────────────────────────────────────── */

.product__do {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.5rem;
  background: #7a1f3d;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0.25rem;
}

.product__reference {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.product__reference-label {
  font-weight: 600;
}

.product__additional-info {
  margin-bottom: 0.75rem;
}

/* ── Columna derecha: bodega ─────────────────────────────────── */

.product__bodega {
  min-width: 0;
}

.bodega-box {
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 1rem;
  background: #fff;
}

.bodega-box__header {
  display: block;
  text-align: center;
  text-decoration: none;
}

.bodega-box__name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #7a1f3d;
  margin-bottom: 0.5rem;
}

.bodega-box__logo {
  max-width: 140px;
  margin: 0 auto 0.75rem;
  display: block;
}

.bodega-box__desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #495057;
  max-height: 28rem;
  overflow-y: auto;
}

.bodega-box__desc h2,
.bodega-box__desc h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
}

/* ── Otros vinos de la bodega ────────────────────────────────── */

.bodega-otros {
  margin-top: 1.25rem;
}

.bodega-otros__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #7a1f3d;
}

.bodega-otros__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
  text-decoration: none;
  color: inherit;
}

.bodega-otros__item:hover .bodega-otros__name {
  text-decoration: underline;
}

.bodega-otros__img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.bodega-otros__info {
  min-width: 0;
}

.bodega-otros__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.85rem;
  line-height: 1.3;
}

.bodega-otros__price {
  display: block;
  margin-top: 0.15rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #7a1f3d;
}
