
/* Oculta el diseño por defecto de WooCommerce en la página de producto;
   nuestro propio HTML se inserta en #ccb-product-page-mount. */
.single-product div.product {
  display: none !important;
}

.ccb-pp {
  max-width: 1100px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 24px;
  box-sizing: border-box;
}

.ccb-pp-gallery img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.ccb-pp-onsale {
  display: inline-block;
  background: #a3a11f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ccb-pp-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #111827;
}

.ccb-pp-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 20px;
  display: block;
}

.ccb-pp-price del {
  color: #9ca3af;
  font-weight: 400;
  font-size: 1.1rem;
  margin-right: 10px;
}

.ccb-pp-desc {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 28px;
}

.ccb-pp-qty {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 2px solid #111827;
  border-radius: 10px;
  padding: 8px 14px;
  margin-right: 12px;
}

.ccb-pp-qty button {
  border: none;
  background: none;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.ccb-pp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ccb-pp-add-btn {
  background: #111827;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.ccb-pp-add-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.ccb-pp-loading {
  padding: 60px 24px;
  text-align: center;
  color: #6b7280;
}

@media (max-width: 800px) {
  .ccb-pp {
    grid-template-columns: 1fr;
  }
}