/* Bubols · Página de categoría (chamoy-y-escarchadores…). Spec: diseño.pen "03-Cat-*-Desktop". */
.bcc { --container-default-padding-top: 0px; --container-default-padding-right: 0px; --container-default-padding-bottom: 0px; --container-default-padding-left: 0px; }
.bcc .e-con.bcc-grow { --width: auto; width: auto; flex: 1 1 0; min-width: 0; }

/* Hero */
.bcc__hero-copy { flex: 0 1 700px; min-width: 0; }
.bcc__hero-media { flex: 1 1 0; min-width: 0; box-shadow: 0 18px 46px rgba(29, 40, 71, .15); }
.bcc__facts { flex-wrap: nowrap; }
.bcc__facts .elementor-widget-heading p.elementor-heading-title,
.bcc__facts .elementor-widget-text-editor p { margin: 0; }
.bcb .bcb-btn.is-outline .elementor-button { background: rgba(255, 255, 255, .7); color: #1D2847; border: 2.5px solid #1D2847; padding: 11.5px 24px; }
.bcb .bcb-btn.is-full .elementor-button { width: 100%; justify-content: center; }
.bcc .elementor-widget-heading p.elementor-heading-title,
.bcc .elementor-widget-text-editor p { margin: 0; }

/* Perfiles: filtros + tarjetas */
.bcc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bcc-chips button { font: 800 13px/1.2 Nunito, sans-serif; color: #1D2847; background: transparent; border: 2px solid #1D2847; border-radius: 999px; padding: 6px 16px; cursor: pointer; transition: background .15s, color .15s; }
.bcc-chips button:hover { background: rgba(29, 40, 71, .08); }
.bcc-chips button.is-on { background: #1D2847; color: #fff; }
.bcc-chips button:focus-visible { outline: 2px solid #1D2847; outline-offset: 2px; }
.bcc-flavors { flex-wrap: wrap; }
.bcc .e-con.bcc-flavor { --width: auto; width: auto; flex: 1 1 150px; min-width: 0; }
.bcc .e-con.bcc-flavor[hidden] { display: none; }
.bcc-flavor > .e-con { --width: fit-content; width: fit-content; align-self: flex-start; }

/* Presentaciones */
.bcc__compare { align-items: stretch; }
.bcc__compare > .e-con > .elementor-widget-button { margin-top: auto; }
.bcc__compare .bcb-btn { width: 100%; }

.bcc__compare > .e-con > .e-con:first-child { --width: fit-content; width: fit-content; align-self: flex-start; }

/* Ficha técnica: tabla concepto → detalle (la fila de encabezado y el título quedan solo para lectores de pantalla) */
.bcb__ficha .bubols-table-wrap { background: #fff; border: 1.5px solid #E3E7F0; border-radius: 18px; overflow: hidden; }
.bcb__ficha .bubols-table caption,
.bcb__ficha .bubols-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bcb__ficha .bubols-table { background: transparent; }
.bcb__ficha .bubols-table td { border: 0; padding: 14px 18px; font: 700 13.5px/1.35 Nunito, sans-serif; color: #1D2847; vertical-align: top; }
.bcb__ficha .bubols-table td:first-child { width: 36%; font-weight: 800; color: #5A628A; }
.bcb__ficha .bubols-table tbody tr:nth-child(odd) td { background: #fff; }
.bcb__ficha .bubols-table tbody tr:nth-child(even) td { background: #FFFFFF; }

/* FAQ */
.bcc .elementor-widget.bcc-narrow { width: 100%; max-width: 880px !important; }

/* Recetas: tarjetas de un tercio aunque haya solo 2 recetas */
.bcc .e-con.bcc-card { --width: auto; width: auto; flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }
.bcc .elementor-widget-text-editor a { color: #1F408D; text-decoration: none; }
.bcc .elementor-widget-text-editor a:hover { text-decoration: underline; }
@media (max-width: 1024px) { .bcc .e-con.bcc-card { flex: 1 1 calc(50% - 10px); } }
@media (max-width: 767px) { .bcc .e-con.bcc-card { flex: 1 1 100%; } }

@media (max-width: 1024px) {
	.bcc__hero-copy, .bcc__hero-media { flex: 1 1 100%; width: 100%; }
	.bcc__facts { flex-wrap: wrap; }
	.bcc__compare { flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
	.bcc__facts > .e-con { flex: 1 1 130px; }
	.bcc .e-con.bcc-flavor { flex: 1 1 calc(50% - 6px); }
}
@media (prefers-reduced-motion: reduce) { .bcc-chips button { transition: none; } }

/* Preguntas frecuentes de categoría: mismo look que el acordeón de Bubols x William Tricolor (faq.css .bubols-faq-acc),
   pero con las preguntas dinámicas del widget bubols-faq; buscador y temas ocultos. */
.bcb__faq { align-items: center; }
.bcb__faq .elementor-widget-bubols-faq { width: 100%; max-width: 880px !important; }
.bcb__faq .bubols-faq { display: flex; flex-direction: column; gap: 12px; }
.bcb__faq .bubols-faq__controls { display: none; }
.bcb__faq .bubols-faq__item { box-sizing: border-box; margin: 0; padding: 18px 22px; border: 1.5px solid #E3E7F0; border-radius: 16px; background: #fff; }
.bcb__faq .bubols-faq__item[hidden] { display: none; }
.bcb__faq .bubols-faq__question { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 0; list-style: none; cursor: pointer; font: 800 16px/1.4 Nunito, system-ui, sans-serif; color: #1D2847; }
.bcb__faq .bubols-faq__question::-webkit-details-marker { display: none; }
.bcb__faq .bubols-faq__question::after { content: ""; flex: none; width: 20px; height: 20px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F408D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); transition: transform .2s; }
.bcb__faq .bubols-faq__item[open] > .bubols-faq__question::after { transform: rotate(180deg); }
.bcb__faq .bubols-faq__question:focus-visible { outline: 2px solid #1D2847; outline-offset: 6px; border-radius: 8px; }
.bcb__faq .bubols-faq__answer { padding: 10px 0 0; font: 600 15px/1.55 Nunito, system-ui, sans-serif; color: #3D476B; }
.bcb__faq .bubols-faq__answer p { margin: 0 0 10px; }
.bcb__faq .bubols-faq__answer p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .bcb__faq .bubols-faq__question::after { transition: none; } }

/* Hero con imagen como widget (en vez de fondo del contenedor): mostrarla completa dentro del marco de 420 px */
.bcc__hero-media { overflow: hidden; justify-content: center; }
.bcc__hero-media .elementor-widget-image, .bcc__hero-media .elementor-widget-image .elementor-widget-container { height: 100%; }
.bcc__hero-media .elementor-widget-image img { display: block; width: 100%; height: 420px; object-fit: cover; }

/* Móvil: título de "… disponibles" y enlace "Ver todos" apilados y alineados a la izquierda */
@media (max-width: 1024px) {
	.bcc.bcb__productos > .e-con:first-child { flex-direction: column; align-items: flex-start !important; gap: 8px; }
}
