/* Página de Kits (estilo Voltra con la paleta de CandyCraft). Solo se carga en productos de "Kits Combos". */
.cc-es-kit .cc-prod-banda { background: #fff; padding: 0 !important; }
.cc-kit { max-width: 1240px; margin: 0 auto; padding: 24px 24px 60px; font-family: var(--cc-lato); color: #575756; }
.cc-kit-grilla { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 44px; align-items: start; }

/* Fotos que corren */
.cc-kit-galeria { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-kit-foto { margin: 0; border-radius: 14px; overflow: hidden; background: #faf7fc; aspect-ratio: 1; }
.cc-kit-foto:first-child { grid-column: 1 / -1; }
.cc-kit-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.cc-kit-foto:hover img { transform: scale(1.03); }
.cc-kit-foto.elegida { outline: 3px solid var(--cc-lila); outline-offset: -3px; }
.cc-kit-media { position: relative; }
.cc-kit-contador { display: none; position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.cc-kit-media > .cc-etiqueta, .cc-kit-media > [class*="cc-etiqueta"] { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* Bloque de compra fijo */
.cc-kit-info { align-self: stretch; }
.cc-kit-fijo { position: sticky; top: 24px; }
.cc-kit .woocommerce-breadcrumb { font-size: 12px; margin: 0 0 12px; color: #9a9a99; }
.cc-kit .woocommerce-breadcrumb a { color: #9a9a99; }
.cc-kit-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; margin: 0 0 10px; color: #2e8b74; }
.cc-kit-stock span { width: 9px; height: 9px; border-radius: 50%; background: #2fbf98; box-shadow: 0 0 0 4px rgba(47,191,152,.18); }
.cc-kit-stock.agotado { color: #b04a5a; } .cc-kit-stock.agotado span { background: #d9667a; box-shadow: 0 0 0 4px rgba(217,102,122,.18); }
.cc-kit-titulo { font-family: var(--cc-montserrat); font-weight: 700; font-size: 28px; line-height: 1.2; color: #3f3f3e; margin: 0 0 14px; }
.cc-kit-precio { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cc-kit-monto { font-family: var(--cc-montserrat); font-weight: 700; font-size: 30px; color: #3f3f3e; }
.cc-kit-antes { color: #a8a8a7; font-size: 17px; }
.cc-kit-antes:empty { display: none; }
.cc-kit-oferta { background: var(--cc-lila); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .6px; padding: 4px 9px; border-radius: 20px; }
.cc-kit-transf { margin: 8px 0 0; font-size: 14px; }
.cc-kit-transf strong { color: var(--cc-lila); }
.cc-kit-bajada { margin: 16px 0 0; font-size: 15px; line-height: 1.55; }
.cc-kit-bajada a { color: var(--cc-lila); font-weight: 700; white-space: nowrap; }
.cc-kit-banda { margin: 18px 0; padding: 11px 14px; border-radius: 10px; background: linear-gradient(90deg, #F8CADD, #E6D9F2); font-family: var(--cc-montserrat); font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-align: center; color: #4a4a49; }

/* Opciones como botoncitos */
.cc-kit-etiqueta { font-size: 14px; margin: 0 0 8px; font-weight: 700; }
.cc-kit-elegida { font-weight: 400; }
.cc-kit-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cc-kit-chip { border: 1.5px solid #e2dcef; background: #fff; border-radius: 30px; padding: 8px 14px; font-size: 13px; cursor: pointer; color: #575756; transition: all .15s; }
.cc-kit-chip:hover { border-color: var(--cc-lila); }
.cc-kit-chip.activa { border-color: var(--cc-lila); background: #f1edfb; color: #4b3a99; font-weight: 700; }
.cc-kit-chip:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

/* Cantidad + botón */
.cc-kit-comprar { display: flex; gap: 10px; }
.cc-kit-comprar > *:not(.cc-kit-cant) { flex: 1; display: flex; margin: 0 !important; }
.cc-kit p:empty, .cc-kit br { display: none; }
.cc-kit-comprar .cc-kit-agregar { width: 100%; }
.cc-kit-cant { display: flex; align-items: center; border: 1.5px solid #e2dcef; border-radius: 12px; }
.cc-kit-cant button { width: 40px; height: 52px; border: 0; background: none; font-size: 20px; cursor: pointer; color: #575756; }
.cc-kit-cant input { width: 38px; text-align: center; border: 0; font-size: 16px; -moz-appearance: textfield; }
.cc-kit-cant input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cc-kit-agregar, .cc-kit-barra-btn { flex: 1; height: 54px; border: 0; border-radius: 12px; background: var(--cc-lila); color: #fff; font-family: var(--cc-montserrat); font-weight: 700; font-size: 15px; letter-spacing: .6px; text-transform: uppercase; cursor: pointer; transition: background .15s, transform .1s; }
.cc-kit-agregar:hover, .cc-kit-barra-btn:hover { background: #7d6ac4; }
.cc-kit-agregar:active { transform: scale(.98); }
.cc-kit-agregar:disabled { background: #cfcfce; cursor: not-allowed; }
.cc-kit-aviso { margin: 10px 0 0; font-size: 14px; min-height: 1em; }
.cc-kit-aviso.ok { color: #2e8b74; } .cc-kit-aviso.error { color: #b04a5a; }
.cc-kit-aviso a { color: var(--cc-lila); font-weight: 700; }

/* Fila de confianza */
.cc-kit-confianza { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid #efeaf6; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; font-size: 13px; }
.cc-kit-confianza li { display: flex; align-items: center; gap: 8px; }
.cc-kit-confianza span { width: 32px; height: 32px; border-radius: 50%; background: #f1edfb; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 32px; }

/* Descripción y preguntas */
.cc-kit-desc, .cc-kit-faq { max-width: 820px; margin: 64px auto 0; }
.cc-kit-desc h2, .cc-kit-faq h2 { font-family: var(--cc-montserrat); font-size: 22px; color: #3f3f3e; text-align: center; margin: 0 0 22px; }
.cc-kit-desc-texto { font-size: 15px; line-height: 1.7; background: #faf7fc; border-radius: 14px; padding: 26px 30px; }
.cc-kit-faq-item { border-bottom: 1px solid #efeaf6; padding: 16px 4px; }
.cc-kit-faq-item summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.cc-kit-faq-item summary::after { content: "+"; color: var(--cc-lila); font-size: 20px; line-height: 1; }
.cc-kit-faq-item[open] summary::after { content: "−"; }
.cc-kit-faq-item p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; }

/* Barra de compra fija abajo */
.cc-kit-barra { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); width: min(760px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 22px; border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 10px 40px rgba(60,40,110,.18); z-index: 90; transition: transform .3s ease; }
.cc-kit-barra.visible { transform: translate(-50%, 0); }
.cc-kit-barra-nombre { flex: 1; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-kit-barra-precio { font-family: var(--cc-montserrat); font-weight: 700; font-size: 17px; white-space: nowrap; }
.cc-kit-barra-btn { flex: 0 0 auto; height: 46px; padding: 0 22px; }

/* Celular: fotos en carrusel deslizable con contador */
@media (max-width: 860px) {
  .cc-kit { padding: 0 0 90px; }
  .cc-kit-grilla { grid-template-columns: 1fr; gap: 0; }
  .cc-kit-galeria { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .cc-kit-galeria::-webkit-scrollbar { display: none; }
  .cc-kit-foto { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
  .cc-kit-contador { display: block; }
  .cc-kit-fijo { position: static; padding: 18px 16px 0; }
  .cc-kit-titulo { font-size: 22px; }
  .cc-kit-monto { font-size: 26px; }
  .cc-kit-desc, .cc-kit-faq { margin: 44px 16px 0; }
  .cc-kit-desc-texto { padding: 20px; }
  .cc-kit-barra { bottom: 0; width: 100%; border-radius: 0; padding: 10px 12px; }
  .cc-kit-barra-nombre { display: none; }
}
