:root {
  --cdp-black: #000;
  --cdp-surface: rgba(10, 10, 10, 0.86);
  --cdp-surface-strong: rgba(18, 18, 18, 0.96);
  --cdp-border: rgba(255, 255, 255, 0.1);
  --cdp-muted: #a8a8a8;
  --cdp-light: #f5f5f5;
  --cdp-red: #d62828;
  --cdp-red-soft: rgba(214, 40, 40, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cdp-black);
}

.cdp-navbar {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.18));
}

.navbar-logo {
  width: auto;
  max-width: 150px;
}

.navbar-logo--tall {
  height: 96px;
}

.cdp-navbar .navbar-nav .nav-link,
.cdp-navbar .navbar-brand {
  color: var(--cdp-light);
}

.cdp-navbar .navbar-nav .nav-link:hover,
.cdp-navbar .navbar-nav .nav-link.active {
  color: var(--cdp-red);
}

.cdp-navbar .navbar-toggler {
  border-color: var(--cdp-border);
}

/* Icono del menu en blanco (y un aspa mientras esta abierto) */
.cdp-navbar .navbar-toggler-icon {
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath stroke='%23fff' stroke-width='2.4' stroke-linecap='round' d='M3 6.5h20M3 13h20M3 19.5h20'/%3E%3C/svg%3E");
}

.cdp-navbar .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath stroke='%23fff' stroke-width='2.4' stroke-linecap='round' d='M5 5l16 16M21 5L5 21'/%3E%3C/svg%3E");
}

/* Accesos de la cabecera en movil (los crea assets/js/cdp-header.js); en escritorio no se usan */
.cdp-acciones-movil {
  display: none;
}

.cdp-shop-dropdown .dropdown-menu {
  background: var(--cdp-surface-strong);
  border: 1px solid var(--cdp-border);
  border-radius: 8px;
  min-width: 290px;
  padding: 0.65rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.cdp-shop-dropdown .dropdown-item {
  color: var(--cdp-light);
  border-radius: 6px;
  padding: 0.72rem 0.8rem;
  font-weight: 700;
  line-height: 1.15;
}

.cdp-shop-dropdown .dropdown-item small {
  display: block;
  color: var(--cdp-muted);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 0.22rem;
  text-transform: none;
}

.cdp-shop-dropdown .dropdown-item:hover,
.cdp-shop-dropdown .dropdown-item:focus {
  background: var(--cdp-red-soft);
  color: #fff;
}

.cdp-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cdp-light);
  font-weight: 700;
  text-decoration: none;
}

.cdp-phone-link svg {
  color: var(--cdp-red);
}

.cdp-navbar-actions {
  gap: 0.78rem !important;
  margin-left: auto;
}

.cdp-header-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  margin-right: 0.15rem;
}

.cdp-tool-select {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: var(--cdp-light);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.cdp-tool-select::after {
  display: none;
}

.cdp-tool-select:hover,
.cdp-tool-select:focus,
.cdp-header-icon:hover,
.cdp-header-icon:focus {
  color: var(--cdp-red);
}

.cdp-tool-select svg {
  width: 14px;
  height: 14px;
}

.cdp-language-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  line-height: 1;
}

.cdp-language-code {
  min-width: 1.42rem;
  color: currentColor;
  text-align: left;
}

.cdp-language-flag {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 15px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.38);
}

.cdp-language-flag--es {
  background: linear-gradient(180deg, #aa151b 0 26%, #f1bf00 26% 74%, #aa151b 74% 100%);
}

.cdp-language-flag--nb {
  background:
    linear-gradient(90deg, transparent 0 27%, #fff 27% 36%, #00205b 36% 45%, #fff 45% 54%, transparent 54% 100%),
    linear-gradient(180deg, transparent 0 34%, #fff 34% 45%, #00205b 45% 56%, #fff 56% 67%, transparent 67% 100%),
    #ba0c2f;
}

.cdp-language-flag--en {
  background:
    linear-gradient(33deg, transparent 0 43%, #fff 43% 49%, #c8102e 49% 53%, #fff 53% 59%, transparent 59% 100%),
    linear-gradient(-33deg, transparent 0 43%, #fff 43% 49%, #c8102e 49% 53%, #fff 53% 59%, transparent 59% 100%),
    linear-gradient(180deg, transparent 0 38%, #fff 38% 62%, transparent 62% 100%),
    linear-gradient(90deg, transparent 0 39%, #fff 39% 61%, transparent 61% 100%),
    linear-gradient(180deg, transparent 0 44%, #c8102e 44% 56%, transparent 56% 100%),
    linear-gradient(90deg, transparent 0 45%, #c8102e 45% 55%, transparent 55% 100%),
    #012169;
}

.cdp-language-flag--de {
  background: linear-gradient(180deg, #000 0 33.333%, #dd0000 33.333% 66.666%, #ffce00 66.666% 100%);
}

.cdp-language-flag--fr {
  background: linear-gradient(90deg, #0055a4 0 33.333%, #fff 33.333% 66.666%, #ef4135 66.666% 100%);
}

.cdp-tools-menu {
  min-width: 150px;
  padding: 0.45rem;
  background: var(--cdp-surface-strong);
  border: 1px solid var(--cdp-border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.cdp-tools-menu[aria-labelledby="cdpLanguageDropdown"] {
  min-width: 132px;
}

.cdp-tools-menu .dropdown-item {
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: var(--cdp-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
}

.cdp-tools-menu .dropdown-item:hover,
.cdp-tools-menu .dropdown-item:focus {
  background: var(--cdp-red-soft);
  color: #fff;
}

.cdp-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 28px;
  color: var(--cdp-light);
  text-decoration: none;
}

.cdp-header-icon svg {
  width: 21px;
  height: 21px;
}

.cdp-account-menu-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cdp-account-menu {
  position: absolute;
  top: calc(100% + 0.58rem);
  right: -0.25rem;
  z-index: 1080;
  width: 220px;
  padding: 0.72rem;
  background: rgba(14, 14, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48);
}

.cdp-account-menu[hidden] {
  display: none;
}

.cdp-account-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 0.68rem;
  width: 14px;
  height: 14px;
  background: rgba(14, 14, 14, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.cdp-account-email {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin-bottom: 0.48rem;
  padding: 0.08rem 0.12rem 0.62rem;
  overflow: hidden;
  color: #fff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cdp-account-menu-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.62rem;
  width: 100%;
  padding: 0.48rem 0.12rem;
  color: #f4f4f4;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cdp-account-menu-item svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: currentColor;
}

.cdp-account-menu-item:hover,
.cdp-account-menu-item:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.cdp-account-menu-item--logout {
  margin-top: 0.34rem;
  padding-top: 0.66rem;
  color: var(--cdp-red);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cdp-account-menu-item--logout:hover,
.cdp-account-menu-item--logout:focus {
  color: #ff4545;
}

/* Solo en la cuenta de administrador: la linea separadora queda encima del enlace al panel
   y "Cerrar sesion" va justo debajo, sin otra linea */
.cdp-account-menu-item--admin {
  margin-top: 0.34rem;
  padding-top: 0.66rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cdp-account-menu-item--admin + .cdp-account-menu-item--logout {
  margin-top: 0;
  padding-top: 0.48rem;
  border-top: 0;
}

.cdp-cart-count {
  position: absolute;
  right: -7px;
  bottom: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
}

.cdp-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 28px;
  color: var(--cdp-light);
  text-decoration: none;
  cursor: pointer;
}

.cdp-social-link svg {
  color: var(--cdp-light);
  width: 22px;
  height: 22px;
}

.cdp-social-link:hover svg,
.cdp-social-link:focus svg {
  color: var(--cdp-red);
}

.cdp-section-kicker {
  color: var(--cdp-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cdp-section-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.cdp-section-copy {
  color: #d5d5d5;
  font-size: 1.02rem;
  line-height: 1.8;
}

.cdp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--cdp-border);
  border-radius: 999px;
  color: var(--cdp-light);
  font-size: 0.86rem;
  padding: 0.46rem 0.72rem;
}

.cdp-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--cdp-border);
  border-radius: 8px;
}

.cdp-footer {
  background-color: #030303;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.84) 100%),
    url("../img/portada/fondo-coche-1700.webp");
  background-position: center 56%;
  background-size: cover;
  border-top: 1px solid var(--cdp-border);
  color: var(--cdp-muted);
}

.cdp-footer.py-7 {
  padding-bottom: 4.4rem !important;
  padding-top: 5.1rem !important;
}

.cdp-footer .container {
  max-width: min(100% - 3rem, 1448px);
}

.cdp-footer .row {
  align-items: flex-start;
}

.cdp-footer-commerce {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.cdp-footer-main {
  max-width: 460px;
}

.cdp-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3.4rem);
}

.cdp-footer-content {
  row-gap: 2.2rem;
}

.cdp-footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.35rem;
}

.cdp-footer .footer-logo {
  display: block;
  height: 54px;
  width: auto;
}

.cdp-footer .footer-logo.mb-3 {
  margin-bottom: 1.35rem !important;
}

.cdp-footer-copy {
  max-width: 390px;
  margin-bottom: 0;
}

.cdp-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.cdp-footer-actions .btn {
  min-width: 132px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.cdp-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.cdp-footer .cdp-footer-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.34rem 0.62rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.cdp-footer-list {
  display: grid;
  gap: 0.48rem;
  margin-bottom: 0;
}

.cdp-footer-list li {
  font-size: 0.94rem;
}

.cdp-footer-contact p {
  margin-bottom: 0.36rem;
}

.cdp-footer-contact p:last-child {
  margin-bottom: 0;
}

.cdp-footer p,
.cdp-footer li,
.cdp-footer span {
  color: rgba(235, 235, 235, 0.68);
  line-height: 1.55;
}

.cdp-footer a {
  color: #d8d8d8;
  text-decoration: none;
}

.cdp-footer a:hover {
  color: var(--cdp-red);
}

.cdp-footer-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cdp-footer .border-bottom {
  border-color: rgba(255, 255, 255, 0.34) !important;
  margin-bottom: 1.75rem !important;
  margin-top: 2.85rem !important;
}

.cdp-footer-bottom {
  align-items: center;
}

.cdp-footer-legal a {
  color: #9aa0ad;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
}

.cdp-footer-legal a:hover {
  color: #ff7878;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cdp-footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cdp-footer-payments span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  padding: 0.22rem 0.55rem;
  color: #f4f4f4;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

@media (max-width: 1199.98px) {
  .cdp-footer-commerce {
    grid-template-columns: 1fr;
  }

  .cdp-footer-main {
    max-width: 680px;
  }
}

@media (max-width: 991.98px) {
  .cdp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .cdp-footer {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.8) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.84) 100%),
      url("../img/portada/fondo-coche-800.webp");
  }

  .cdp-footer .container {
    max-width: min(100% - 2rem, 1448px);
  }

  .cdp-footer.py-7 {
    padding-bottom: 3rem !important;
    padding-top: 3.5rem !important;
  }

  .cdp-footer-bottom {
    align-items: flex-start;
  }

  .cdp-footer-grid {
    grid-template-columns: 1fr;
  }

  .cdp-footer-actions .btn {
    flex: 1 1 100%;
  }
}

.cdp-form-control,
.cdp-form-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--cdp-border);
  border-radius: 8px;
  color: #fff;
}

.cdp-form-control:focus,
.cdp-form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(214, 40, 40, 0.55);
  box-shadow: 0 0 0 0.16rem rgba(214, 40, 40, 0.18);
  color: #fff;
}

.cdp-form-control::placeholder {
  color: #8f8f8f;
}

.cdp-form-select option {
  background: #111;
  color: #fff;
}

.cdp-aviso-cookies-capa {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2200;
  display: flex;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}

.cdp-aviso-cookies-capa.is-hidden {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cdp-aviso-cookies-tarjeta {
  width: min(650px, calc(100vw - 1rem));
  padding: 2rem 1.85rem 1.8rem;
  color: #414141;
  background: #fff;
  border: 8px solid var(--cdp-red);
  border-radius: 2px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  pointer-events: auto;
}

.cdp-aviso-cookies-logo {
  display: block;
  width: auto;
  height: 31px;
  margin-bottom: 0.72rem;
}

.cdp-aviso-cookies-titulo {
  margin-bottom: 0.28rem;
  color: #2e2e2e;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.cdp-aviso-cookies-tarjeta p {
  margin-bottom: 0.28rem;
  color: #555;
  font-size: 0.8rem;
  line-height: 1.42;
}

.cdp-aviso-cookies-tarjeta a {
  color: #2d63b8;
  font-weight: 700;
  text-decoration: underline;
}

.cdp-aviso-cookies-acciones {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  gap: 1.1rem;
  align-items: center;
  margin-top: 1.55rem;
}

.cdp-aviso-cookies-boton {
  min-height: 42px;
  padding: 0.72rem 1.25rem;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 0;
  cursor: pointer;
}

.cdp-aviso-cookies-boton--personalizar {
  color: #1b1b1b;
  background: #fff;
  border: 1px solid #111;
}

.cdp-aviso-cookies-boton--rechazar {
  justify-self: center;
  min-width: 0;
  color: #222;
  text-decoration: underline;
  background: transparent;
  border: 0;
}

.cdp-aviso-cookies-boton--aceptar,
.cdp-aviso-cookies-boton--guardar {
  color: #fff;
  background: var(--cdp-red);
  border: 1px solid var(--cdp-red);
}

.cdp-aviso-cookies-opciones {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.cdp-aviso-cookies-opciones[hidden] {
  display: none;
}

.cdp-aviso-cookies-opcion {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  color: #343434;
  font-size: 0.78rem;
  line-height: 1.35;
}

.cdp-aviso-cookies-opcion input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 0.1rem;
  accent-color: var(--cdp-red);
}

.cdp-aviso-cookies-opcion strong {
  display: block;
  margin-bottom: 0.08rem;
  color: #1f1f1f;
  font-size: 0.8rem;
}

.cdp-aviso-cookies-guardar {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.15rem;
}

@media (min-width: 992px) {
  .cdp-navbar > .container {
    max-width: min(100% - 4rem, 1440px);
  }

  .cdp-shop-dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .cdp-navbar > .container {
    max-width: calc(100% - 1.5rem);
  }

  .cdp-navbar .nav-item.fs-3 {
    font-size: 1.12rem !important;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
  }

  .cdp-header-tools {
    gap: 0.48rem;
  }

  .cdp-social-link {
    display: none;
  }

  .cdp-tool-select {
    font-size: 0.76rem;
  }

  .cdp-phone-link span:last-child {
    display: none;
  }
}

@media (max-width: 991.98px) {
  /* Cabecera compacta: logo, accesos (buscar, cuenta, carrito con contador) y menu */
  .navbar-logo--tall {
    height: 48px;
  }

  .cdp-navbar {
    background: rgba(0, 0, 0, 0.94);
  }

  .cdp-navbar.py-4 {
    padding: 0.5rem 0 !important;
  }

  .cdp-navbar .navbar-brand {
    margin-right: auto;
    padding: 0;
  }

  .cdp-navbar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
  }

  .cdp-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
  }

  .cdp-navbar .navbar-collapse {
    max-height: calc(100vh - 64px);
    margin-top: 0.5rem !important;
    overflow-y: auto;
  }

  .cdp-acciones-movil {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin-right: 0.4rem;
  }

  .cdp-acciones-movil .cdp-header-icon {
    width: 44px;
    height: 44px;
    color: #fff;
    border: 0;
    border-radius: 8px;
  }

  .cdp-acciones-movil .cdp-header-icon svg {
    width: 23px;
    height: 23px;
  }

  .cdp-acciones-movil .cdp-cart-count {
    top: 3px;
    right: 1px;
    bottom: auto;
    width: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    color: #fff;
    font-size: 0.68rem;
    background: var(--cdp-red);
    border-radius: 999px;
  }

  /* Ya estan arriba: no se repiten dentro del menu desplegable */
  .cdp-navbar--acciones-movil .cdp-header-tools > .cdp-header-icon,
  .cdp-navbar--acciones-movil .cdp-header-tools > .cdp-account-menu-shell {
    display: none;
  }

  .cdp-shop-dropdown .dropdown-menu {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    margin-top: 0.5rem;
  }

  .cdp-navbar-actions {
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 0.8rem !important;
    padding-top: 1rem;
  }

  .cdp-header-tools {
    flex-wrap: wrap;
    gap: 0.68rem;
    width: 100%;
  }

  .cdp-tool-select {
    border: 1px solid var(--cdp-border);
    border-radius: 6px;
    padding: 0.5rem 0.62rem;
  }

  .cdp-header-icon,
  .cdp-social-link {
    width: 34px;
    height: 34px;
    border: 1px solid var(--cdp-border);
    border-radius: 6px;
  }

  .cdp-account-menu {
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 2rem));
  }

  .cdp-account-menu::before {
    right: 0.68rem;
    left: auto;
  }

  .cdp-phone-link {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .cdp-aviso-cookies-capa {
    padding: 0.55rem;
  }

  .cdp-aviso-cookies-tarjeta {
    padding: 1.35rem 1.05rem 1.15rem;
    border-width: 6px;
  }

  .cdp-aviso-cookies-acciones {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .cdp-aviso-cookies-boton,
  .cdp-aviso-cookies-boton--rechazar {
    width: 100%;
    justify-self: stretch;
  }

  .cdp-aviso-cookies-tarjeta p {
    font-size: 0.76rem;
  }
}

/* CONFIGURADOR-DESACTIVADO: el configurador 3D esta apagado temporalmente y se ocultan
   sus accesos en toda la web (menus, botones, la marca "3D" de las tarjetas del catalogo
   y la pestana de disenos de la cuenta). Para reactivarlo, borra este bloque. */
a[href$="Creacionvirtual.html"],
li:has(> a[href$="Creacionvirtual.html"]),
[data-account-tab="volantes"],
[data-account-panel="volantes"],
.product-3d-chip {
  display: none !important;
}

/* ...y "Ver catalogo", que se queda como unico boton de la portada, toma el aspecto de boton principal */
.cdp-hero-acciones .cdp-btn-hero--secundario {
  background: var(--cdp-red);
  border-color: var(--cdp-red);
  box-shadow: 0 12px 30px rgba(214, 40, 40, 0.38);
}

.cdp-hero-acciones .cdp-btn-hero--secundario:hover,
.cdp-hero-acciones .cdp-btn-hero--secundario:focus {
  color: #fff;
  background: #b51f1f;
  border-color: #b51f1f;
}

/* Invitacion a iniciar sesion al entrar desde el movil (assets/js/invitacion-sesion.js) */
.cdp-invitacion {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cdp-invitacion__fondo {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cdp-invitacion__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 2rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  background: linear-gradient(180deg, #1b1d22 0%, #0c0d10 100%);
  border-top: 3px solid var(--cdp-red, #d62828);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cdp-invitacion.is-visible .cdp-invitacion__fondo {
  opacity: 1;
}

.cdp-invitacion.is-visible .cdp-invitacion__panel {
  transform: translateY(0);
}

.cdp-invitacion__cerrar {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  color: #cfd1d6;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: 0;
}

.cdp-invitacion__logo {
  display: block;
  width: min(190px, 55%);
  height: auto;
  margin: 0 auto 1rem;
}

.cdp-invitacion h2 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.cdp-invitacion p {
  margin: 0 0 1.4rem;
  color: #c9cbd1;
  font-size: 1.1rem;
  line-height: 1.4;
}

.cdp-invitacion__boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 58px;
  margin-bottom: 0.8rem;
  padding: 0.6rem 1rem;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 12px;
}

.cdp-invitacion__boton svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.cdp-invitacion__boton--google,
.cdp-invitacion__boton--google:hover,
.cdp-invitacion__boton--google:focus {
  color: #1f1f1f;
  background: #fff;
}

.cdp-invitacion__boton--email,
.cdp-invitacion__boton--email:hover,
.cdp-invitacion__boton--email:focus {
  color: #fff;
  background: var(--cdp-red, #d62828);
}

.cdp-invitacion__registro {
  display: block;
  padding: 0.6rem 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: underline;
}

.cdp-invitacion__luego {
  min-height: 44px;
  padding: 0.4rem 1rem;
  color: #9a9ca3;
  font-size: 1rem;
  background: transparent;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cdp-invitacion__fondo,
  .cdp-invitacion__panel {
    transition: none;
  }
}
