/* BricoClick Comprados Juntos: una fila por producto (cabe igual en una columna estrecha que a todo el ancho). */
.bcj { margin: 22px 0; padding: 16px 18px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; clear: both; box-sizing: border-box; }
.bcj *, .bcj *::before, .bcj *::after { box-sizing: border-box; }
.bcj-titulo { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.bcj-lista { margin: 0; padding: 0; list-style: none; }
.bcj-lista > li { margin: 0; padding: 0; }
.bcj-etiqueta { display: grid; grid-template-columns: 22px 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #efefef; cursor: pointer; text-align: left; }
/* La línea de debajo la pone el elemento entero (con el selector de unidades dentro), no la etiqueta. */
.bcj-item { border-bottom: 1px solid #efefef; }
.bcj-item > .bcj-etiqueta { border-bottom: 0; padding-bottom: 4px; }
.bcj-grupo .bcj-item { border-bottom: 0; }
.bcj-cantidad { display: inline-flex; align-items: stretch; margin: 0 0 10px 106px; border: 1px solid #d5d5d5; border-radius: 3px; background: #fff; }
.bcj-q-menos, .bcj-q-mas { width: 34px; min-width: 34px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 0; background: #f5f5f5; color: #222; font-size: 18px; line-height: 1; cursor: pointer; box-shadow: none; }
.bcj-q-menos:hover:not([disabled]), .bcj-q-mas:hover:not([disabled]) { background: #e9e9e9; }
.bcj-q-input { width: 52px; height: 34px; margin: 0; padding: 0 2px; border: 0; border-left: 1px solid #d5d5d5; border-right: 1px solid #d5d5d5; border-radius: 0; background: #fff; text-align: center; font-size: 15px; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.bcj-q-input::-webkit-outer-spin-button, .bcj-q-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bcj-cantidad input[disabled], .bcj-cantidad button[disabled] { opacity: .45; cursor: not-allowed; }
.bcj-casilla { width: 18px; height: 18px; margin: 0; }
.bcj-imagen { display: block; width: 60px; height: 60px; }
.bcj-imagen img { display: block; width: 60px; height: 60px; object-fit: contain; }
.bcj-nombre { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.bcj-nombre a { color: inherit; text-decoration: none; }
.bcj-nombre a:hover { text-decoration: underline; }
.bcj-nombre em { display: block; font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #888; }
.bcj-precio { font-weight: 600; font-size: 14px; text-align: right; white-space: nowrap; }
.bcj-precio small { display: block; font-weight: 400; font-size: 11px; color: #888; }
.bcj-grupo { margin: 0; padding: 10px 0 0; border-bottom: 1px solid #efefef; }
.bcj-grupo-titulo { margin: 0 0 2px; font-size: 13px; font-weight: 600; }
.bcj-grupo-titulo small { font-weight: 400; color: #777; }
/* Un grupo de alternativas es un carrusel: un modelo cada vez (se desliza con el dedo; en el pie, flechas y puntos). */
.bcj-grupo-lista { display: flex; margin: 0; padding: 0; list-style: none; border: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bcj-grupo-lista::-webkit-scrollbar { display: none; }
.bcj-grupo-lista > li { flex: 0 0 100%; width: 100%; min-width: 0; margin: 0; padding: 0; scroll-snap-align: start; }
.bcj-car-pie { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 8px; max-width: 100%; font-size: 12px; color: #777; }
.bcj .bcj-car-flecha { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; min-width: 32px; max-width: 32px; min-height: 32px; max-height: 32px; aspect-ratio: 1 / 1; margin: 0; padding: 0; border: 0; border-radius: 50%; background-color: #F1A412; background-repeat: no-repeat; background-position: center; background-size: 22px 22px; color: #fff; font-size: 0; line-height: 0; text-indent: 0; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; }
/* La flecha es un SVG centrado en el propio botón (background-position: center), sin depender de texto, relleno ni flex: queda en el centro del círculo con cualquier tema. */
.bcj .bcj-car-sig { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 5l7 7-7 7'/%3E%3C/svg%3E"); }
.bcj .bcj-car-ant { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 5l-7 7 7 7'/%3E%3C/svg%3E"); }
.bcj .bcj-car-flecha:hover:not([disabled]) { background-color: #E17F12; }
.bcj .bcj-car-flecha[disabled] { opacity: .4; cursor: default; }
.bcj-puntos { display: inline-flex; align-items: center; gap: 7px; }
.bcj-punto { display: block; flex: 0 0 10px; width: 10px; height: 10px; min-width: 10px; max-width: 10px; min-height: 10px; max-height: 10px; margin: 0; padding: 0; border: 1px solid #aaa; border-radius: 50%; background: #fff; font-size: 0; line-height: 0; cursor: pointer; box-shadow: none; }
.bcj-punto.bcj-actual { border-color: #F1A412; background: #F1A412; }
.bcj-punto.bcj-elegido { border-color: #E17F12; background: #E17F12; }
.bcj-punto.bcj-elegido.bcj-actual { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #E17F12; }
.bcj-car-cuenta { flex: 1 1 auto; min-width: 0; text-align: center; }
.bcj-car-cuenta b { color: #E17F12; font-weight: 600; }
.bcj-grupo .bcj-etiqueta { border-bottom: 0; padding: 10px 4px 4px; }
.bcj-resumen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.bcj-total { margin: 0; font-size: 15px; }
.bcj-importe { font-size: 20px; }
.bcj-cuantos { display: block; color: #777; }
.bcj-boton { margin: 0; }
.bcj-boton[disabled] { opacity: .5; cursor: not-allowed; }
.bcj-mensaje { flex: 1 1 100%; min-height: 1.2em; margin: 0; font-size: 13px; }
.bcj-mensaje.bcj-error { color: #b32d2e; }
.bcj-mensaje a { font-weight: 600; }
@media (max-width: 480px) {
	.bcj-etiqueta { grid-template-columns: 22px 48px minmax(0, 1fr) auto; gap: 10px; }
	.bcj-imagen, .bcj-imagen img { width: 48px; height: 48px; }
	.bcj-cantidad { margin-left: 90px; }
	.bcj-resumen { flex-direction: column; align-items: stretch; text-align: center; }
	.bcj-boton { width: 100%; }
}

/* Fila de grifos (slider): el enlace «Ver todos» va debajo de las flechas y los puntos del carrusel. */
.bcj-fila { display: flex; flex-direction: column; }
.bcj-ver-todos { order: 99; margin: 4px 0 8px; font-size: 13px; }
.bcj-ver-todos a { font-weight: 600; text-decoration: underline; }
