body {
  color: #222;
}

p {
  line-height: 1.75;
  color: #4a4a4a;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  letter-spacing: 0.03em;
}

.row.justify-content-end > .col {
  font-size: 0;
  margin-right: 20px !important;
  padding-top: 14px;
  padding-bottom: 2px;
}

.idioma,
.act-idioma {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #f3d5d5;
  background: #fff;
  color: #222 !important;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.idioma img,
.act-idioma img {
  height: 11px;
  width: auto;
  display: block;
}

.act-idioma {
  color: #ff1919 !important;
  border-color: #ff1919;
}

.idioma:hover,
.idioma:focus {
  color: #ff1919 !important;
  border-color: #ff1919;
}

.act-idioma:hover,
.act-idioma:focus {
  color: #fff !important;
  background: #ff1919;
  border-color: #ff1919;
}

a.act-idioma + a.idioma,
a.idioma + a.act-idioma {
  margin-left: -1px;
}

.navbar {
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #f0f0f0;
}

.cabecera-carrito {
  position: relative;
  margin-left: 8px;
  margin-right: 8px;
  flex: 0 0 auto;
  order: 2;
  z-index: 30;
}

@media (min-width: 992px) {
  .navbar > .navbar-collapse {
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.navbar-toggler {
  order: 3;
}

.navbar-collapse {
  order: 4;
}

.cabecera-carrito-boton {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 10px 0 8px;
  border: 1px solid #111;
  border-radius: 21px;
  background: #fff;
  color: #ff1919;
  cursor: pointer;
}

.cabecera-carrito-boton svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.cabecera-carrito-cuenta {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #ff1919;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.cabecera-carrito-total {
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.cabecera-carrito-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, calc(100vw - 20px));
  padding: 14px;
  background: #fff;
  border: 1px solid #f0d0d0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.cabecera-linea,
.cabecera-suma {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.cabecera-linea span,
.cabecera-vacio {
  color: #555;
  font-size: 13px;
}

.cabecera-final {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 2px solid #ff1919;
  font-size: 18px;
}

.cabecera-final strong {
  color: #ff1919;
}

.cabecera-ir {
  display: inline-block;
  margin-top: 4px;
  color: #ff1919;
  font-weight: 700;
}

@media (min-width: 992px) {
  .navbar-collapse {
    order: 4;
  }

  .cabecera-carrito {
    order: 5;
    margin-left: 12px;
    margin-right: 18px;
  }
}

.navbar-brand {
  margin-left: 0.75rem !important;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar-brand img {
  height: 42px !important;
  width: auto !important;
}

@media (min-width: 992px) {
  .navbar-brand {
    margin-left: 1.5rem !important;
  }

  .navbar-brand img {
    height: 48px !important;
  }
}

.navbar-light .navbar-nav .nav-link {
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #222;
}

.presupuesto,
.presupuesto:hover {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #222 !important;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
  color: #ff1919 !important;
  background: transparent !important;
  border-bottom: 2px solid #ff1919 !important;
}

.navbar-toggler {
  border: 1px solid #ff1919;
  border-radius: 0;
  padding: 6px 8px;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff1919' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 12px;
    padding: 0 4px 4px;
    border-top: 2px solid #ff1919;
    box-shadow: 0 18px 28px rgba(255, 25, 25, 0.06);
  }

  .navbar-nav .nav-link {
    margin-top: 0 !important;
    padding: 16px 6px !important;
    border-bottom: 1px solid #f8e8e8 !important;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none !important;
  }

  .navbar-light .navbar-nav .nav-link:hover,
  .navbar-light .navbar-nav .nav-link:focus,
  .navbar-light .navbar-nav .active > .nav-link,
  .navbar-light .navbar-nav .nav-link.active {
    background: transparent !important;
    color: #ff1919 !important;
    border-bottom: none !important;
  }
}

.btn.btn-primary,
.btn-banner2,
a.btn-banner2 {
  background: transparent !important;
  color: #ff1919 !important;
  border: 1px solid #ff1919 !important;
  border-radius: 0 !important;
  width: auto !important;
  max-width: none;
  padding: 12px 26px !important;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none !important;
}

.btn.btn-primary:hover,
.btn-banner2:hover,
a.btn-banner2:hover {
  background: #ff1919 !important;
  color: #fff !important;
  border-color: #ff1919 !important;
}

.cinta-contacto {
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #f0f0f0;
  padding: 16px 0;
}

.link-cinta {
  color: #ff1919;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.link-cinta:hover {
  color: #222;
}

.banner1-service1,
.banner1-service-ct {
  height: auto;
  min-height: 280px;
  display: flex;
  align-items: center;
  position: relative;
}

.banner1-service1,
.banner1-service-ct {
  background: #fff !important;
  border-bottom: 2px solid #ff1919;
}

.banner1-service1::before,
.banner1-service-ct::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
}

.banner1-service1 .row,
.banner1-service-ct .row {
  position: relative;
  z-index: 1;
  width: 100%;
}

.text-banner-service {
  padding-top: 42px;
  padding-bottom: 42px;
}

.text-banner-service h1,
.text-banner-service p {
  color: #1a1a1a !important;
}

.text-banner-service h1 {
  font-size: 34px;
  line-height: 1.15;
  max-width: 16ch;
}

.lema-inicio {
  display: flex;
  align-items: stretch;
  gap: 16px;
  max-width: 34rem;
  margin: 18px 0 22px !important;
  padding: 0;
  color: #2a1c1a !important;
}

.lema-marca {
  flex: 0 0 3px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff1919 0%, rgba(255, 25, 25, 0.15) 100%);
}

.lema-texto {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  min-width: 0;
}

.lema-linea {
  display: block;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #3a2a28;
  animation: lema-entra 0.7s ease both;
}

.lema-linea:nth-child(2) { animation-delay: 0.08s; }
.lema-linea:nth-child(3) { animation-delay: 0.16s; }
.lema-linea:nth-child(4) { animation-delay: 0.24s; }

.lema-cierre {
  color: #1c1210;
}

.lema-cierre em {
  font-style: italic;
  font-weight: 600;
  color: #ff1919;
  border-bottom: 2px solid rgba(255, 25, 25, 0.35);
  padding-bottom: 1px;
}

@keyframes lema-entra {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lema-linea {
    animation: none;
  }
}

.intro {
  max-width: 760px;
  margin: 0 auto 8px;
}

.rejilla-cursos,
.rejilla-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.curso,
.servicio {
  background: #fff;
  border: 1px solid #eee;
  border-top: 2px solid #ff1919;
  border-radius: 0;
  padding: 22px 18px 18px;
  box-shadow: none;
}

.curso {
  border: none;
}

.curso-icono {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
}

.curso-icono svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.curso-ancla { background: #fdf2f2; }
.curso-lienzo { background: #f3f6fb; }
.curso-reticula { background: #f3f7f4; }
.curso-faro { background: #fbf6ee; }
.curso-brujula { background: #f2f7f7; }
.curso-umbral { background: #f7f4f8; }
.curso-aurora { background: #fbf4f0; }
.curso-norte { background: #f3f5fa; }
.curso-lexema { background: #f5f3f8; }

.curso-ancla .curso-icono { color: #c45c5c; }
.curso-lienzo .curso-icono { color: #5c7394; }
.curso-reticula .curso-icono { color: #5d7a68; }
.curso-faro .curso-icono { color: #a6844a; }
.curso-brujula .curso-icono { color: #4f7c7c; }
.curso-umbral .curso-icono { color: #7a6888; }
.curso-aurora .curso-icono { color: #a86b52; }
.curso-norte .curso-icono { color: #5a6d88; }
.curso-lexema .curso-icono { color: #6d5f8a; }

.testimonio .lugar {
  margin: 0 0 10px;
  color: #666;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonio .cita {
  margin: 0;
}

.curso .nombre,
.servicio .nombre {
  color: #ff1919;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.curso h3,
.servicio h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.curso p,
.servicio p {
  margin-bottom: 0;
}

.duraciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 28px;
}

.duraciones span,
.etiqueta,
.filtro-duracion {
  background: #fff;
  border: 1px solid #f0d0d0;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3a2a28;
}

.filtro-duracion {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.filtro-duracion:hover,
.filtro-duracion:focus {
  border-color: #ff1919;
  color: #ff1919;
  outline: none;
  transform: translateY(-1px);
}

.filtro-duracion[aria-pressed="true"] {
  background: #ff1919;
  border-color: #ff1919;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 25, 25, 0.22);
}

.rejilla-cursos.es-filtrando .curso {
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.rejilla-cursos.es-filtrando .curso.es-atenuado {
  opacity: 0.32;
  transform: scale(0.985);
  filter: grayscale(0.35);
  box-shadow: none;
  pointer-events: none;
}

.rejilla-cursos.es-filtrando .curso.es-destacado {
  opacity: 1;
  filter: none;
  transform: translateY(-6px);
  border-top-color: #ff1919;
  box-shadow: 0 20px 40px rgba(28, 18, 16, 0.16);
  z-index: 1;
}

.nota-equipo {
  background: #fff;
  color: #222;
  border: 1px solid #f3d5d5;
  border-top: 2px solid #ff1919;
  border-radius: 0;
  padding: 28px 28px;
  margin-top: 28px;
}

.nota-equipo p,
.nota-equipo h2 {
  color: #222;
}

.nota-equipo h2 {
  font-size: 26px;
}

.formulario label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.formulario input,
.formulario select,
.formulario textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 10px 0;
  margin-bottom: 16px;
  font-family: Pop, Arial, Helvetica, sans-serif;
  background: transparent;
}

.formulario input:focus,
.formulario select:focus,
.formulario textarea:focus {
  outline: none;
  border-bottom-color: #ff1919;
}

.formulario textarea {
  min-height: 140px;
}

.aviso {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.aviso-ok {
  background: #e8f6ec;
  color: #146c2e;
}

.aviso-error {
  background: #fdecec;
  color: #9d1c1c;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.bloque {
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (max-width: 767px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .text-banner-service {
    padding-left: 22px;
    padding-right: 22px;
  }
}

.personalizado {
  margin-top: 36px;
}

.personalizado-rejilla {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 16px;
  align-items: stretch;
}

.personalizado-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.personalizado-lista label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #f3d5d5;
  background: #fff;
  cursor: pointer;
  color: #222;
}

.personalizado-lista label:has(input:checked) {
  border-color: #ff1919;
  background: #fff6f5;
}

.personalizado-lista input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  accent-color: #ff1919;
}

.personalizado-lista .curso-nombre {
  font-family: Oswald, Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: #ff1919;
}

.personalizado-lista .curso-tema {
  color: #444;
  font-size: 14px;
}

.personalizado-descuento {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #f3d5d5;
  border-top: 2px solid #ff1919;
  background: #fff;
  text-align: center;
  padding: 18px 12px;
}

.personalizado-descuento p {
  margin: 0;
}

.personalizado-descuento .etiqueta {
  font-family: Oswald, Arial, Helvetica, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: #222;
}

.personalizado-descuento .cifra {
  margin-top: 8px;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 52px;
  line-height: 1;
  color: #ff1919;
}

.personalizado-aviso {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 2px solid #ff1919;
  background: #fff6f5;
  color: #333;
}

@media (max-width: 700px) {
  .personalizado-rejilla {
    grid-template-columns: 1fr;
  }
}

.bloque-claro {
  background: #fff6f5;
}

footer.footer {
  background: #fff !important;
  color: #222 !important;
  border-top: 2px solid #ff1919;
}

footer.footer p,
footer.footer h2,
footer.footer .footer2,
footer.footer .footer2 p {
  color: #444 !important;
}

footer.footer a {
  color: #ff1919;
}

.aviso-cookies {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 20;
  width: min(280px, calc(100% - 32px));
  margin: 0;
  padding: 14px 16px 12px;
  background: #fff;
  border: 1px solid #eee;
  border-left: 2px solid #ff1919;
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

.aviso-cookies p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.aviso-cookies button {
  background: transparent;
  color: #ff1919;
  border: 1px solid #ff1919;
  padding: 6px 12px;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.aviso-cookies button:hover {
  background: #ff1919;
  color: #fff;
}

.entrada {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.entrada.salida {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.entrada-caja {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #eee;
  border-top: 2px solid #ff1919;
  padding: 28px 24px 22px;
  text-align: center;
}

.entrada-caja p {
  margin: 0 0 18px;
  color: #222;
  font-size: 20px;
  line-height: 1.4;
}

.entrada-acciones {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.entrada-acciones button {
  min-width: 88px;
  background: transparent;
  color: #ff1919;
  border: 1px solid #ff1919;
  padding: 8px 16px;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.entrada-acciones button:hover {
  background: #ff1919;
  color: #fff;
}

@media (max-width: 809px) {
  .text-banner-service {
    padding-left: 24px;
    padding-right: 20px;
  }

  .text-banner-service h1 {
    font-size: 28px;
    max-width: none;
  }

  .btn.btn-primary,
  .btn-banner2,
  a.btn-banner2 {
    width: auto !important;
  }
}

.curso {
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.curso-tarjeta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 22px 18px 18px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.curso-tarjeta:hover,
.curso-tarjeta:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.curso:hover,
.curso:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(28, 18, 16, 0.12);
  border-top-color: #ff1919;
}

.curso .ver-curso {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  border: 1px solid #ff1919;
  border-radius: 999px;
  background: #fff;
  color: #ff1919 !important;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.curso:hover .ver-curso,
.curso:focus-within .ver-curso,
.curso-tarjeta:active .ver-curso {
  background: #ff1919;
  color: #fff !important;
  transform: translateY(-1px);
}

.curso-tarjeta h3 {
  color: inherit;
}

.curso-duracion {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 7px 12px 7px 9px;
  border: 1px solid rgba(255, 25, 25, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8f7 0%, #fff1ef 100%);
  color: #2a1c1a;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.curso-duracion-ico {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #ff1919;
}

.curso-duracion-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.curso-duracion-label {
  color: #6b5652;
  font-weight: 500;
}

.curso-duracion strong {
  color: #ff1919;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.curso-duracion-pagina {
  margin: 0 0 20px;
  padding: 10px 16px 10px 12px;
  font-size: 15px;
}

.intro-duracion {
  margin: 0 0 28px;
  color: #5a4844;
  font-size: 15px;
}

.foto-curso {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 22px;
}

.aviso-ia,
.aviso-anadido {
  border-left: 2px solid #ff1919;
  background: #fff6f5;
  padding: 14px 16px;
  margin: 0 0 22px;
  color: #333;
}

.opciones-compra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}

.opciones-compra button {
  background: #fff;
  color: #ff1919;
  border: 1px solid #ff1919;
  padding: 12px 16px;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.opciones-compra button:hover {
  background: #ff1919;
  color: #fff;
}

.salidas {
  margin-top: 12px;
  padding-top: 8px;
}

.salidas li {
  margin-bottom: 8px;
  color: #333;
}

.linea-carrito {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f3d5d5;
}

.linea-carrito .nombre {
  margin: 0;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #222;
}

.linea-carrito .detalle,
.linea-carrito .importe {
  margin: 0;
  color: #444;
}

.linea-carrito .cantidad {
  display: flex;
  align-items: center;
  gap: 8px;
}

.linea-carrito .cantidad button,
.linea-carrito .quitar {
  background: #fff;
  border: 1px solid #f3d5d5;
  color: #222;
  min-width: 32px;
  height: 32px;
  cursor: pointer;
}

.linea-carrito .quitar {
  padding: 0 10px;
  font-size: 13px;
}

.carrito-totales {
  max-width: 420px;
  margin: 24px 0 0 auto;
}

.carrito-totales p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
}

.carrito-totales .total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #ff1919;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-size: 22px;
  color: #222;
}

.carrito-totales .total strong {
  color: #ff1919;
}

.vaciar-carrito {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 14px 0 0;
  padding: 11px 16px;
  border: 1px solid #d8c4c0;
  border-radius: 999px;
  background: #fff;
  color: #5a4844;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vaciar-carrito:hover,
.vaciar-carrito:focus {
  border-color: #ff1919;
  color: #ff1919;
  outline: none;
  transform: translateY(-1px);
}

.vaciar-carrito:active {
  transform: translateY(0);
}

.formas-pago {
  max-width: 420px;
  margin: 28px 0 0 auto;
  padding: 16px 16px 14px;
  border: 1px solid #f0d0d0;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fff8f7 100%);
}

.carrito-totales + .formas-pago {
  margin-top: 22px;
}

.formas-pago-titulo {
  display: block !important;
  margin: 0 0 12px !important;
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5652;
}

.formas-pago-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.formas-pago-lista li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 25, 25, 0.1);
}

.pago-icono {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 36px;
  border-radius: 8px;
  background: #fff6f5;
  color: #ff1919;
}

.pago-icono svg {
  width: 40px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pago-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pago-texto strong {
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1c1210;
}

.pago-texto em {
  font-style: normal;
  font-size: 13px;
  line-height: 1.4;
  color: #6b5652;
}

@media (max-width: 700px) {
  .linea-carrito {
    grid-template-columns: 1fr 1fr;
  }
}

button.nav-link.dropdown-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dropdown-menu {
  border: 1px solid #f0d0d0;
  border-radius: 0;
  padding: 6px 0;
}

.dropdown-item {
  font-size: 14px;
  padding: 8px 16px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #fdf2f2;
  color: #ff1919;
}

.menu-oficios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 22px;
}

.menu-oficios button {
  background: #fff;
  border: 1px solid #111;
  border-radius: 999px;
  color: #111;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 16px;
}

.menu-oficios button[aria-selected="true"] {
  background: #ff1919;
  border-color: #ff1919;
  color: #fff;
}

.panel-oficio[hidden] {
  display: none;
}

.panel-oficio {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px 22px;
  align-items: start;
}

.marca-oficio {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marca-oficio svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  stroke: none;
}

.panel-oficio h3 {
  margin-top: 0;
}

.panel-oficio p {
  margin: 0 0 12px;
}

.tarifas-oficio {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 2px solid #ff1919;
  font-weight: 700;
}

@media (max-width: 700px) {
  .panel-oficio {
    grid-template-columns: 1fr;
  }
}
