/* OZ Cotizador — Design pack "cathmar" */

.ozc-product-card--pack-cathmar {
  --ozc-c-accent:       #302E8F;
  --ozc-c-yellow:       #f7d022;
  --ozc-c-surface:      #ffffff;
  --ozc-c-border:       #e5e7eb;
  --ozc-c-text:         #0f172a;
  --ozc-c-muted:        #6b7280;
  --ozc-c-radius:       14px;
  --ozc-c-btn-radius:   8px;

  box-sizing: border-box;
  padding: 12px 12px 14px;
  background: var(--ozc-c-surface);
  border: 1px solid var(--ozc-c-border);
  border-radius: var(--ozc-c-radius);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  color: var(--ozc-c-text);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ozc-product-card--pack-cathmar:hover,
.ozc-product-card--pack-cathmar:focus-within {
  border-color: #d1dae4;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

/* Badge — centrado, encima de la imagen, en flujo normal */
.ozc-product-card--pack-cathmar .ozc-product-card__badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  padding: 0;
}

.ozc-product-card--pack-cathmar .ozc-product-card__badge {
  position: static;
  transform: none;
  display: inline-block;
  background: #eef2f7;
  color: #334155;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 4px 14px;
}

/* Imagen: contain para mostrarla completa sin recorte */
.ozc-product-card--pack-cathmar .ozc-product-card__media {
  border-radius: 8px;
  overflow: hidden;
}

.ozc-product-card--pack-cathmar .ozc-product-card__media img {
  object-fit: contain;
  transition: transform 0.26s ease;
}

.ozc-product-card--pack-cathmar:hover .ozc-product-card__media img,
.ozc-product-card--pack-cathmar:focus-within .ozc-product-card__media img {
  transform: scale(1.03);
}

/* Separador fino entre imagen y título */
.ozc-product-card--pack-cathmar .ozc-product-card__media + .ozc-product-card__section {
  border-top: 1px solid var(--ozc-c-border);
  margin-top: 12px;
  padding-top: 10px;
}

/* Quitar padding lateral de secciones (la card ya tiene padding propio) */
.ozc-product-card--pack-cathmar .ozc-product-card__section {
  padding-left: 0;
  padding-right: 0;
}

/* Título */
.ozc-product-card--pack-cathmar .ozc-product-card__title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ozc-c-text);
}

.ozc-product-card--pack-cathmar .ozc-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.ozc-product-card--pack-cathmar .ozc-product-card__title a:hover {
  color: var(--ozc-c-accent);
}

/* Recorte de títulos largos solo en escritorio/laptop (≥992px).
   Limita a 2 líneas (~50-60 chars) con «…» automático.
   El título completo permanece en el HTML (SEO/accesibilidad/tooltip). */
@media (min-width: 992px) {
  .ozc-product-card--pack-cathmar .ozc-product-card__title {
    max-height: calc(0.88rem * 1.35 * 2) !important;
    min-height: calc(0.88rem * 1.35 * 2) !important;
    overflow: hidden !important;
  }
  .ozc-product-card--pack-cathmar .ozc-product-card__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(0.88rem * 1.35 * 2);
    word-break: break-word;
  }
}

/* Categoría */
.ozc-product-card--pack-cathmar .ozc-product-card__category {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ozc-c-accent);
}

/* Precio */
.ozc-product-card--pack-cathmar .ozc-product-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ozc-c-text);
}

/* Botón primario — azul base, amarillo en hover */
.ozc-product-card--pack-cathmar .ozc-product-card__btn--primary {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: var(--ozc-c-btn-radius);
  background: var(--ozc-c-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  gap: 0.4rem;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.ozc-product-card--pack-cathmar .ozc-product-card__btn--primary:hover,
.ozc-product-card--pack-cathmar .ozc-product-card__btn--primary:focus-visible {
  background: var(--ozc-c-yellow);
  color: var(--ozc-c-text);
  box-shadow: 0 6px 18px rgba(247, 208, 34, 0.32);
}

.ozc-product-card--pack-cathmar .ozc-product-card__btn--primary:focus-visible {
  outline: none;
}

/* Estado "agregado" — JS lo maneja, no se toca el texto */
.ozc-product-card--pack-cathmar .ozc-product-card__btn--primary.ozc-product-card__btn--added {
  background: var(--ozc-c-accent);
  color: #ffffff;
}

/* Ícono "⋯" (tres puntos en círculo) para VER DETALLES */
.ozc-product-card--pack-cathmar .ozc-product-card__btn--primary::after {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Ccircle cx='8' cy='12' r='1.2' fill='%23000'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23000'/%3E%3Ccircle cx='16' cy='12' r='1.2' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Ccircle cx='8' cy='12' r='1.2' fill='%23000'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23000'/%3E%3Ccircle cx='16' cy='12' r='1.2' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Botón CONSULTAR — blanco con borde gris */
.ozc-product-card--pack-cathmar .ozc-product-card__wa-btn {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--ozc-c-border);
  border-radius: var(--ozc-c-btn-radius);
  background: var(--ozc-c-surface);
  color: var(--ozc-c-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  gap: 0.4rem;
  transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.ozc-product-card--pack-cathmar .ozc-product-card__wa-btn:hover,
.ozc-product-card--pack-cathmar .ozc-product-card__wa-btn:focus-visible {
  border-color: var(--ozc-c-accent);
  background: #f4f4fb;
  box-shadow: 0 4px 14px rgba(48, 46, 143, 0.1);
}

/* Ícono WhatsApp para CONSULTAR */
.ozc-product-card--pack-cathmar .ozc-product-card__wa-btn::after {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─── Ficha individual ───────────────────────────────────────────────────────── */

.ozc-single-product--pack-cathmar {
  --ozc-sp-accent:        #302E8F;
  --ozc-sp-primary:       #302E8F;
  --ozc-sp-primary-hover: #f7d022;
  --ozc-sp-surface:       #ffffff;
  --ozc-sp-border:        #e5e7eb;
  --ozc-sp-text:          #111827;
  --ozc-sp-muted:         #6b7280;
  --ozc-sp-radius:        14px;
  --ozc-sp-radius-sm:     8px;
  --ozc-sp-shadow:        0 2px 12px rgba(15, 23, 42, 0.06);
}

.ozc-single-product--pack-cathmar .ozc-single-product__inner {
  background: var(--ozc-sp-surface);
  border-radius: var(--ozc-sp-radius);
  box-shadow: var(--ozc-sp-shadow);
  padding: 1.5rem;
  /* Galería ~45% / Resumen ~55% */
  grid-template-columns: 45% 1fr !important;
}

@media (max-width: 991px) {
  .ozc-single-product--pack-cathmar .ozc-single-product__inner {
    grid-template-columns: 1fr !important;
  }
}

.ozc-single-product--pack-cathmar .ozc-single-product__media {
  background: #eef2f7;
  border: 1px solid var(--ozc-sp-border);
  border-radius: var(--ozc-sp-radius);
}

.ozc-single-product--pack-cathmar .ozc-single-product__title .product_title,
.ozc-single-product--pack-cathmar .ozc-single-product__title h1 {
  color: var(--ozc-sp-text);
}

.ozc-single-product--pack-cathmar .ozc-single-product__cta form.cart .single_add_to_cart_button,
.ozc-single-product--pack-cathmar .ozc-single-product__cta form.cart .button.alt {
  border-radius: var(--ozc-sp-radius-sm);
  background: var(--ozc-sp-primary);
  color: #ffffff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.ozc-single-product--pack-cathmar .ozc-single-product__cta form.cart .single_add_to_cart_button:hover,
.ozc-single-product--pack-cathmar .ozc-single-product__cta form.cart .button.alt:hover {
  background: var(--ozc-sp-primary-hover);
  color: var(--ozc-sp-text);
  box-shadow: 0 6px 18px rgba(247, 208, 34, 0.3);
}

.ozc-single-product--pack-cathmar .ozc-single-product__wa .ozc-product-card__wa-btn {
  border: 1px solid #b6e3c9;
  border-radius: var(--ozc-sp-radius-sm);
  background: #e8f8f0;
  color: #1f7a4f;
  font-weight: 600;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.ozc-single-product--pack-cathmar .ozc-single-product__wa .ozc-product-card__wa-btn:hover {
  background: #dff3e8;
  border-color: #9ed8b8;
  color: #176541;
}

.ozc-single-product--pack-cathmar .ozc-single-product__meta {
  border-top: 1px solid var(--ozc-sp-border);
  padding-top: 1rem;
  color: var(--ozc-sp-muted);
}

.ozc-single-product--pack-cathmar .ozc-single-product__meta a {
  color: var(--ozc-sp-accent);
  font-weight: 600;
  text-decoration: none;
}

.ozc-single-product--pack-cathmar .ozc-single-product__meta a:hover {
  text-decoration: underline;
}
