/* ==========================================
   CD Tecnología SV
   Child Theme: Hummingbird
   Base limpia + Header + Home
========================================== */

:root {
  --cd-blue: #0057b8;
  --cd-blue-dark: #003f86;
  --cd-green: #19b36b;
  --cd-green-dark: #0f8f54;

  --cd-bg: #f4f8fb;
  --cd-dark: #111827;
  --cd-text: #374151;
  --cd-muted: #6b7280;
  --cd-border: #e5e7eb;
  --cd-white: #ffffff;

  --cd-radius: 16px;

  --cd-gradient: linear-gradient(135deg, #0057b8 0%, #19b36b 100%);
  --cd-gradient-hover: linear-gradient(135deg, #003f86 0%, #0f8f54 100%);
  --cd-gradient-soft: linear-gradient(135deg, #eaf4ff 0%, #eefcf5 100%);
}

/* ==========================================
   GENERAL
========================================== */

body {
  background: var(--cd-bg) !important;
  color: var(--cd-text);
}

a {
  color: var(--cd-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cd-green);
}

#wrapper {
  background: var(--cd-bg) !important;
  padding-top: 24px;
}

/* Botones generales */
.btn-primary,
.button-primary,
button[type="submit"] {
  background: var(--cd-gradient) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.18);
  transition: all 0.2s ease;
}

.btn-primary:hover,
.button-primary:hover,
button[type="submit"]:hover {
  background: var(--cd-gradient-hover) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ==========================================
   CD TECNOLOGÍA SV - HEADER LIMPIO
   Desktop + Tablet + Móvil
========================================== */

/* ---------- BASE HEADER ---------- */

#header.cd-header {
  background: var(--cd-white) !important;
  border-bottom: 1px solid var(--cd-border);
  box-shadow: 0 6px 18px rgba(0, 54, 120, 0.05);
  position: relative;
  z-index: 80;
}

#header.cd-header::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--cd-gradient);
  opacity: 0.55;
}

.cd-header__bar {
  background: var(--cd-white);
}

.cd-header__container {
  max-width: 1320px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ---------- LOGO ---------- */

.cd-header__logo {
  flex: 0 0 150px;
  display: flex;
  align-items: center;
}

.cd-header__h1 {
  line-height: 0;
  margin: 0;
}

.cd-header__logo img,
.cd-header__logo .logo {
  max-height: 48px !important;
  width: auto;
  object-fit: contain;
}

/* ---------- ZONA CENTRAL ---------- */

.cd-header__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cd-header__content > * {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* ---------- MENÚ DESKTOP ---------- */

@media (min-width: 992px) {
  .cd-header__content #_desktop_top_menu,
  .cd-header__content .top-menu,
  .cd-header__content .menu {
    flex: 0 0 410px !important;
    width: 410px !important;
    max-width: 410px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    white-space: nowrap;
  }

  .cd-header__content .top-menu,
  .cd-header__content .top-menu > ul,
  .cd-header__content .menu,
  .cd-header__content .menu > ul {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
  }

  .cd-header__content .top-menu li,
  .cd-header__content .menu li {
    flex: 0 0 auto;
  }

  .cd-header__content .top-menu a,
  .cd-header__content .menu a {
    color: var(--cd-dark) !important;
    font-size: 14.5px !important;
    font-weight: 800;
    padding: 8px 10px !important;
    border-radius: 999px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
  }

  .cd-header__content .top-menu a:hover,
  .cd-header__content .menu a:hover,
  .cd-header__content .top-menu .active > a,
  .cd-header__content .menu .active > a {
    background: var(--cd-gradient-soft) !important;
    color: var(--cd-blue) !important;
  }
}

/* ---------- BUSCADOR DESKTOP ---------- */

@media (min-width: 992px) {
  .cd-header__content #search_widget {
    flex: 0 0 300px !important;
    width: 300px !important;
    max-width: 300px !important;
    margin-left: auto !important;
  }
}

.cd-header__content #search_widget form {
  height: 42px !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 12px !important;
  background: var(--cd-white);
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.cd-header__content #search_widget form:focus-within {
  border-color: var(--cd-blue) !important;
  box-shadow: 0 0 0 4px rgba(0, 87, 184, 0.10) !important;
}

.cd-header__content #search_widget input {
  height: 42px !important;
  border: none !important;
  font-size: 14.5px;
  padding-left: 16px !important;
  color: var(--cd-dark);
}

.cd-header__content #search_widget input::placeholder {
  color: var(--cd-muted);
}

.cd-header__content #search_widget button {
  height: 42px !important;
  width: 48px;
  background: var(--cd-white) !important;
  color: var(--cd-dark) !important;
  border: none !important;
  transition: all 0.2s ease;
}

.cd-header__content #search_widget button:hover {
  background: var(--cd-gradient) !important;
  color: var(--cd-white) !important;
}

/* ---------- USUARIO + CARRITO DESKTOP ---------- */

.cd-header__actions {
  flex: 0 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.cd-header__actions > * {
  display: flex;
  align-items: center;
}

.cd-header__actions .user-info,
.cd-header__actions .blockcart {
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
}

.cd-header__actions .blockcart {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.cd-header__actions .blockcart a,
.cd-header__actions .user-info a,
.cd-header__actions a {
  color: var(--cd-dark) !important;
  text-decoration: none;
  border-radius: 14px;
  padding: 8px 8px;
  transition: all 0.2s ease;
}

.cd-header__actions .blockcart a:hover,
.cd-header__actions .user-info a:hover,
.cd-header__actions a:hover {
  background: var(--cd-gradient-soft);
  color: var(--cd-blue) !important;
}

.cd-header__actions .cart-products-count,
.cd-header__actions .blockcart .cart-products-count,
#header .header-block__badge {
  background: var(--cd-gradient) !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 900;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- MEGA MENÚ SOLO DESKTOP ---------- */

@media (min-width: 992px) {
  #header .popover,
  #header .dropdown-menu,
  #header .sub-menu {
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 0 0 22px 22px !important;
    box-shadow: 0 18px 45px rgba(0, 87, 184, 0.12) !important;
    overflow: hidden;
  }

  #header .popover::before,
  #header .dropdown-menu::before,
  #header .sub-menu::before {
    content: "";
    display: block;
    height: 5px;
    background: var(--cd-gradient);
  }

  #header .popover ul,
  #header .dropdown-menu ul,
  #header .sub-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #header .popover a,
  #header .dropdown-menu a,
  #header .sub-menu a {
    color: var(--cd-blue) !important;
    font-weight: 700 !important;
    transition: all 0.2s ease;
  }

  #header .popover a:hover,
  #header .dropdown-menu a:hover,
  #header .sub-menu a:hover {
    color: var(--cd-green) !important;
  }

  #header .popover li:hover > a,
  #header .dropdown-menu li:hover > a,
  #header .sub-menu li:hover > a {
    background: var(--cd-gradient-soft) !important;
    border-radius: 10px;
  }

  #header .sub-menu .category,
  #header .sub-menu .menu-item,
  #header .sub-menu li {
    border-radius: 10px;
  }

  #header .sub-menu a.dropdown-item,
  #header .sub-menu .top-menu a {
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  #header .sub-menu .material-icons,
  #header .dropdown-menu .material-icons {
    color: var(--cd-blue) !important;
  }
}

/* ---------- TABLET DESKTOP PEQUEÑO ---------- */

@media (max-width: 1199px) and (min-width: 992px) {
  .cd-header__container {
    gap: 16px;
  }

  .cd-header__logo {
    flex-basis: 140px;
  }

  .cd-header__logo img,
  .cd-header__logo .logo {
    max-height: 44px !important;
  }

  .cd-header__content {
    gap: 16px;
  }

  .cd-header__content #_desktop_top_menu,
  .cd-header__content .top-menu,
  .cd-header__content .menu {
    flex-basis: 380px !important;
    width: 380px !important;
    max-width: 380px !important;
  }

  .cd-header__content #search_widget {
    flex-basis: 270px !important;
    width: 270px !important;
    max-width: 270px !important;
  }

  .cd-header__content .top-menu a,
  .cd-header__content .menu a,
  .cd-header__actions .blockcart a,
  .cd-header__actions .user-info a,
  .cd-header__actions a {
    font-size: 14px !important;
  }
}

/* ==========================================
   HEADER MÓVIL
========================================== */

.cd-header__mobile-action {
  align-items: center;
}

.cd-header__mobile-action .header-block__action-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--cd-gradient-soft);
  color: var(--cd-blue) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}

.cd-header__mobile-action .header-block__icon {
  font-size: 22px;
}

@media (max-width: 991px) {
  #header.cd-header {
    position: relative;
  }

  .cd-header__container {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .cd-header__logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cd-header__logo img,
  .cd-header__logo .logo {
    max-height: 42px !important;
    width: auto;
  }

  .cd-header__actions {
    display: none !important;
  }

  .cd-header__mobile-action {
    display: flex !important;
  }

  .cd-header__mobile-action .header-block__action-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .cd-header__mobile-action .header-block__icon {
    font-size: 21px;
  }

  .cd-header__content {
    order: 10;
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /*
    Importante:
    No escondemos .top-menu de forma global.
    Solo evitamos que el menú desktop se pinte en la barra móvil.
  */
  .cd-header__content > #_desktop_top_menu {
    display: none !important;
  }

  .cd-header__content #search_widget {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    order: 20;
  }

  .cd-header__content #search_widget form {
    height: 42px !important;
    border-radius: 12px !important;
  }

  .cd-header__content #search_widget input {
    height: 42px !important;
    font-size: 14px;
  }

  .cd-header__content #search_widget button {
    height: 42px !important;
    width: 46px;
  }
}

/* ---------- MÓVIL PEQUEÑO ---------- */

@media (max-width: 575px) {
  .cd-header__container {
    gap: 10px;
  }

  .cd-header__logo img,
  .cd-header__logo .logo {
    max-height: 40px !important;
  }

  .cd-header__mobile-action .header-block__action-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .cd-header__mobile-action .header-block__icon {
    font-size: 20px;
  }
}

/* ==========================================
   MENÚ MÓVIL HUMMINGBIRD - REFORMA COMPLETA
   Más limpio, compacto y natural
========================================== */

@media (max-width: 991px) {

  /* Panel general */
  #mobile_top_menu_wrapper,
  .mobile-menu,
  .mobile-menu-wrapper,
  .offcanvas,
  .offcanvas-start {
    width: min(88vw, 390px) !important;
    max-width: 390px !important;
    min-height: 100vh !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: 18px 0 50px rgba(7, 28, 52, 0.18) !important;
  }

  #mobile_top_menu_wrapper {
    position: relative !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #c6d9ec transparent;
  }

  /* Encabezado */
  #mobile_top_menu_wrapper::before,
  .mobile-menu::before,
  .offcanvas::before {
    content: "Categorías";
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 0 72px 0 22px;
    color: #082746;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.2px;
    background: #ffffff;
    border-bottom: 1px solid #e7eef6;
  }

  /* Cierre */
  #mobile_top_menu_wrapper .close,
  #mobile_top_menu_wrapper .btn-close,
  #mobile_top_menu_wrapper [data-bs-dismiss],
  .mobile-menu .close,
  .mobile-menu .btn-close,
  .mobile-menu [data-bs-dismiss],
  .offcanvas .btn-close,
  .offcanvas [data-bs-dismiss] {
    position: absolute !important;
    top: 15px !important;
    right: 16px !important;
    left: auto !important;
    z-index: 30 !important;
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #dbe7f3 !important;
    border-radius: 12px !important;
    background: #f7fbff !important;
    color: #082746 !important;
    opacity: 1 !important;
    box-shadow: none !important;
  }

  /* Contenedor interno */
  #mobile_top_menu_wrapper .js-top-menu-bottom,
  #mobile_top_menu_wrapper .top-menu,
  #mobile_top_menu_wrapper .menu,
  .mobile-menu .js-top-menu-bottom,
  .mobile-menu .top-menu,
  .mobile-menu .menu,
  .offcanvas .top-menu,
  .offcanvas .menu {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 28px !important;
    background: #ffffff !important;
    white-space: normal !important;
  }

  /* Listas */
  #mobile_top_menu_wrapper ul,
  .mobile-menu ul,
  .offcanvas ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #mobile_top_menu_wrapper li,
  .mobile-menu li,
  .offcanvas li {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
  }

  /* Links principales */
  #mobile_top_menu_wrapper li > a,
  .mobile-menu li > a,
  .offcanvas li > a {
    position: relative !important;
    width: 100% !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 14px 54px 14px 22px !important;
    color: #172033 !important;
    font-size: 15.5px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    background: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #eef3f8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    white-space: normal !important;
  }

  #mobile_top_menu_wrapper li > a:hover,
  .mobile-menu li > a:hover,
  .offcanvas li > a:hover {
    color: #0057b8 !important;
    background: #f7fbff !important;
  }

  /* Indicador activo más natural */
  #mobile_top_menu_wrapper li > a::before,
  .mobile-menu li > a::before,
  .offcanvas li > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #0057b8, #19b36b);
    opacity: 0;
    transform: scaleY(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  #mobile_top_menu_wrapper li > a:hover::before,
  .mobile-menu li > a:hover::before,
  .offcanvas li > a:hover::before {
    opacity: 1;
    transform: scaleY(1);
  }

  /* Flechas */
  #mobile_top_menu_wrapper .material-icons,
  #mobile_top_menu_wrapper .collapse-icons,
  #mobile_top_menu_wrapper .navbar-toggler,
  .mobile-menu .material-icons,
  .mobile-menu .collapse-icons,
  .mobile-menu .navbar-toggler,
  .offcanvas .material-icons,
  .offcanvas .collapse-icons,
  .offcanvas .navbar-toggler {
    position: absolute !important;
    right: 18px !important;
    margin: 0 !important;
    color: #6d7e92 !important;
    font-size: 22px !important;
  }

  /* Submenús */
  #mobile_top_menu_wrapper .sub-menu,
  #mobile_top_menu_wrapper .dropdown-menu,
  .mobile-menu .sub-menu,
  .mobile-menu .dropdown-menu,
  .offcanvas .sub-menu,
  .offcanvas .dropdown-menu {
    position: static !important;
    display: block;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6px 0 10px !important;
    background: #f7fafc !important;
    border: 0 !important;
    border-bottom: 1px solid #e8eff6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  #mobile_top_menu_wrapper .sub-menu::before,
  #mobile_top_menu_wrapper .dropdown-menu::before,
  .mobile-menu .sub-menu::before,
  .mobile-menu .dropdown-menu::before,
  .offcanvas .sub-menu::before,
  .offcanvas .dropdown-menu::before {
    display: none !important;
  }

  #mobile_top_menu_wrapper .sub-menu li,
  #mobile_top_menu_wrapper .dropdown-menu li,
  .mobile-menu .sub-menu li,
  .mobile-menu .dropdown-menu li,
  .offcanvas .sub-menu li,
  .offcanvas .dropdown-menu li {
    margin: 0 !important;
  }

  #mobile_top_menu_wrapper .sub-menu a,
  #mobile_top_menu_wrapper .dropdown-menu a,
  .mobile-menu .sub-menu a,
  .mobile-menu .dropdown-menu a,
  .offcanvas .sub-menu a,
  .offcanvas .dropdown-menu a {
    min-height: 46px !important;
    padding: 12px 46px 12px 34px !important;
    color: #4a5a6d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  #mobile_top_menu_wrapper .sub-menu a::after,
  #mobile_top_menu_wrapper .dropdown-menu a::after,
  .mobile-menu .sub-menu a::after,
  .mobile-menu .dropdown-menu a::after,
  .offcanvas .sub-menu a::after,
  .offcanvas .dropdown-menu a::after {
    content: "";
    position: absolute;
    left: 22px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8eb7d9;
  }

  #mobile_top_menu_wrapper .sub-menu a:hover,
  #mobile_top_menu_wrapper .dropdown-menu a:hover,
  .mobile-menu .sub-menu a:hover,
  .mobile-menu .dropdown-menu a:hover,
  .offcanvas .sub-menu a:hover,
  .offcanvas .dropdown-menu a:hover {
    color: #0057b8 !important;
    background: #eef6ff !important;
  }

  /* Botón volver */
  #mobile_top_menu_wrapper .back,
  #mobile_top_menu_wrapper .js-top-menu-bottom .back,
  .mobile-menu .back,
  .offcanvas .back {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    min-height: 52px !important;
    padding: 14px 20px !important;
    color: #0057b8 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    background: #f4f9fe !important;
    border-bottom: 1px solid #dfeaf5 !important;
  }

  /* Evita enlaces falsos globales */
  #mobile_top_menu_wrapper a[href="#"] {
    color: inherit !important;
  }

  /* Fondo detrás del panel */
  .offcanvas-backdrop,
  .modal-backdrop,
  .mobile-menu-overlay {
    background: rgba(4, 20, 38, 0.52) !important;
    backdrop-filter: blur(2px);
  }

  body.menu-open,
  body.mobile-menu-open,
  body.offcanvas-open {
    overflow: hidden !important;
  }
}
/* ==========================================
   HOME - Base
========================================== */

#index #wrapper {
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 45%, #f4f8fb 100%) !important;
  padding-top: 0 !important;
}

/* Liberar el bloque del módulo Texto personalizado */
#index #custom-text,
#index .custom-text,
#index .block-custom-text {
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Romper visualmente el container padre SOLO para secciones especiales */
#index #custom-text .cd-full-home-section,
#index .custom-text .cd-full-home-section,
#index .block-custom-text .cd-full-home-section {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 32px !important;
}

/* Títulos del Home */
#index h1,
#index h2,
#index .h1,
#index .h2,
#index .products-section-title,
#index .featured-products h2 {
  color: var(--cd-dark) !important;
  font-weight: 900 !important;
  text-align: center;
  margin-bottom: 28px;
}

#index .featured-products h2::after,
#index .products-section-title::after,
#index h2.h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  background: var(--cd-gradient);
  border-radius: 999px;
  margin: 12px auto 0;
}

/* ==========================================
   HOME - Slider / Banner principal proporcional
========================================== */

#index .carousel,
#index .carousel-inner,
#index .carousel-item,
#index .homeslider,
#index #carousel {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  border-radius: 0 0 28px 28px !important;
  overflow: hidden !important;
  background: #031526 !important;
}

#index .carousel img,
#index .homeslider img,
#index #carousel img,
#index .carousel-item img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: unset !important;
  object-position: center center !important;
}

/* Evita espacios raros internos del slider */
#index .carousel-item {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 0 !important;
}

/* Flechas */
#index .carousel-control-prev,
#index .carousel-control-next {
  width: 7% !important;
  opacity: 0.75 !important;
}

#index .carousel-control-prev:hover,
#index .carousel-control-next:hover {
  opacity: 1 !important;
}

/* Indicadores */
#index .carousel-indicators {
  bottom: 14px !important;
}

/* Tablet */
@media (max-width: 991px) {
  #index .carousel,
  #index .carousel-inner,
  #index .carousel-item,
  #index .homeslider,
  #index #carousel {
    border-radius: 0 0 22px 22px !important;
  }
}

/* Móvil */
@media (max-width: 575px) {
  #index .carousel,
  #index .carousel-inner,
  #index .carousel-item,
  #index .homeslider,
  #index #carousel {
    border-radius: 0 0 16px 16px !important;
  }

  #index .carousel-control-prev,
  #index .carousel-control-next {
    width: 12% !important;
  }
}
/* ==========================================
   HOME - Bloques de confianza premium tech
========================================== */

#index .cd-home-trust {
  width: 100% !important;
  max-width: 1260px !important;
  margin: 34px auto 42px !important;
  padding: 0 16px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

#index .cd-home-trust .trust-item {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 0 !important;
  min-height: 118px !important;
  padding: 20px 18px !important;
  overflow: hidden !important;
  border-radius: 22px !important;

  background:
    radial-gradient(circle at 100% 100%, rgba(0, 174, 239, 0.20), transparent 34%),
    radial-gradient(circle at 0% 0%, rgba(25, 179, 107, 0.18), transparent 30%),
    linear-gradient(135deg, #06172d 0%, #082746 48%, #03101f 100%) !important;

  border: 1px solid rgba(69, 196, 255, 0.28) !important;
  box-shadow:
    0 16px 34px rgba(0, 20, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease !important;
}

/* Línea luminosa superior */
#index .cd-home-trust .trust-item::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 18px !important;
  right: 18px !important;
  height: 3px !important;
  border-radius: 0 0 999px 999px !important;
  background: linear-gradient(90deg, #00aeef, #19b36b, #00d4ff) !important;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.55) !important;
}

/* Patrón tech sutil */
#index .cd-home-trust .trust-item::after {
  content: "" !important;
  position: absolute !important;
  right: -34px !important;
  bottom: -40px !important;
  width: 150px !important;
  height: 150px !important;
  opacity: 0.22 !important;
  background:
    linear-gradient(90deg, transparent 48%, rgba(0, 212, 255, 0.55) 49%, transparent 51%),
    linear-gradient(0deg, transparent 48%, rgba(0, 212, 255, 0.35) 49%, transparent 51%),
    radial-gradient(circle, rgba(0, 212, 255, 0.35) 0 2px, transparent 3px) !important;
  background-size: 34px 34px, 34px 34px, 22px 22px !important;
  transform: rotate(18deg) !important;
  pointer-events: none !important;
}

#index .cd-home-trust .trust-item:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(0, 212, 255, 0.58) !important;
  box-shadow:
    0 22px 48px rgba(0, 87, 184, 0.28),
    0 0 0 1px rgba(25, 179, 107, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

/* Icono */
#index .cd-home-trust .trust-icon {
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 18px !important;

  background:
    linear-gradient(135deg, #0072ce 0%, #00aeef 48%, #19b36b 100%) !important;

  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-shadow:
    0 12px 26px rgba(0, 174, 239, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;

  position: relative !important;
  z-index: 2 !important;
}

#index .cd-home-trust .trust-icon::before {
  content: "" !important;
  position: absolute !important;
  inset: -6px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(0, 212, 255, 0.25) !important;
  opacity: 0.75 !important;
}

#index .cd-home-trust .trust-icon img {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  position: relative !important;
  z-index: 2 !important;
}

#index .cd-home-trust .trust-content {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
}

#index .cd-home-trust .trust-title {
  color: #ffffff !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  margin-bottom: 5px !important;
  line-height: 1.18 !important;
  letter-spacing: -0.2px !important;
}

#index .cd-home-trust .trust-text {
  color: #b9d3ec !important;
  font-size: 13.5px !important;
  line-height: 1.42 !important;
  margin: 0 !important;
}

/* Variaciones sutiles por card */
#index .cd-home-trust .trust-item:nth-child(1) {
  background:
    radial-gradient(circle at 100% 100%, rgba(0, 174, 239, 0.22), transparent 34%),
    linear-gradient(135deg, #06172d 0%, #083154 52%, #03101f 100%) !important;
}

#index .cd-home-trust .trust-item:nth-child(2) {
  background:
    radial-gradient(circle at 100% 100%, rgba(25, 179, 107, 0.22), transparent 34%),
    linear-gradient(135deg, #06172d 0%, #082746 52%, #03101f 100%) !important;
}

#index .cd-home-trust .trust-item:nth-child(3) {
  background:
    radial-gradient(circle at 100% 100%, rgba(0, 212, 255, 0.20), transparent 34%),
    linear-gradient(135deg, #071c34 0%, #092b4d 52%, #03101f 100%) !important;
}

#index .cd-home-trust .trust-item:nth-child(4) {
  background:
    radial-gradient(circle at 100% 100%, rgba(25, 179, 107, 0.20), transparent 34%),
    linear-gradient(135deg, #06172d 0%, #073157 52%, #03101f 100%) !important;
}

/* Tablet */
@media (max-width: 1199px) {
  #index .cd-home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 920px !important;
  }
}

/* Móvil */
@media (max-width: 575px) {
  #index .cd-home-trust {
    grid-template-columns: 1fr !important;
    margin: 24px auto 32px !important;
    padding: 0 12px !important;
    gap: 14px !important;
  }

  #index .cd-home-trust .trust-item {
    min-height: 104px !important;
    padding: 17px 16px !important;
    border-radius: 18px !important;
  }

  #index .cd-home-trust .trust-icon {
    flex-basis: 50px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
  }

  #index .cd-home-trust .trust-icon img {
    width: 25px !important;
    height: 25px !important;
  }

  #index .cd-home-trust .trust-title {
    font-size: 15px !important;
  }

  #index .cd-home-trust .trust-text {
    font-size: 13px !important;
  }
}
/* ==========================================
   HOME - Sub banners premium ajuste final
   Imagen completa, sin corte y sin espacio blanco
========================================== */

#index .cd-sub-banners {
  width: 100% !important;
  max-width: 1420px !important;
  margin: 24px auto 60px !important;
  padding: 0 18px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: start !important;
}

#index .cd-full-home-section .cd-sub-banners .cd-sub-banner {
  position: relative !important;
  display: block !important;
  width: 100% !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;

  overflow: hidden !important;
  border-radius: 18px !important;
  background: transparent !important;
  line-height: 0 !important;

  box-shadow: 0 14px 34px rgba(0, 87, 184, 0.12) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

#index .cd-full-home-section .cd-sub-banners .cd-sub-banner img {
  position: relative !important;
  inset: auto !important;

  display: block !important;
  width: 100% !important;
  height: auto !important;

  min-height: 0 !important;
  max-height: none !important;
  max-width: 100% !important;

  object-fit: unset !important;
  object-position: center center !important;

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;

  transition: transform 0.35s ease !important;
  z-index: 1 !important;
}

#index .cd-full-home-section .cd-sub-banners .cd-sub-banner::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(
    135deg,
    rgba(0, 87, 184, 0.08),
    rgba(25, 179, 107, 0.10)
  ) !important;
  transition: opacity 0.25s ease !important;
}

#index .cd-full-home-section .cd-sub-banners .cd-sub-banner:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 22px 48px rgba(0, 87, 184, 0.20) !important;
}

#index .cd-full-home-section .cd-sub-banners .cd-sub-banner:hover::before {
  opacity: 1 !important;
}

#index .cd-full-home-section .cd-sub-banners .cd-sub-banner:hover img {
  transform: scale(1.015) !important;
}

/* Tablet */
@media (max-width: 991px) {
  #index .cd-sub-banners {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 0 14px !important;
  }
}

/* Móvil */
@media (max-width: 575px) {
  #index .cd-sub-banners {
    margin: 18px auto 36px !important;
    padding: 0 12px !important;
    gap: 16px !important;
  }

  #index .cd-full-home-section .cd-sub-banners .cd-sub-banner {
    border-radius: 14px !important;
  }

  #index .cd-full-home-section .cd-sub-banners .cd-sub-banner:hover {
    transform: none !important;
  }

  #index .cd-full-home-section .cd-sub-banners .cd-sub-banner:hover img {
    transform: none !important;
  }
}
/* ==========================================
   HOME - PRODUCT CARDS FINAL
   CD Tecnología SV
   Fondo degradado + etiquetas suaves + cantidad corregida
========================================== */

/* ---------- SECCIÓN ---------- */
body#index .featured-products,
body#index .product-accessories,
body#index .products-section {
  max-width: 1420px !important;
  margin: 36px auto 56px !important;
  padding: 0 18px !important;
  position: relative !important;
}

body#index .featured-products h2,
body#index .products-section-title,
body#index h2.h2 {
  color: #0f172a !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  text-align: center !important;
  margin-bottom: 30px !important;
}

body#index .featured-products h2::after,
body#index .products-section-title::after,
body#index h2.h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0057b8 0%, #19b36b 100%) !important;
}

/* ---------- GRID ---------- */
body#index .products,
body#index .featured-products .products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

/* ---------- CARD ---------- */
body#index article.product-miniature,
body#index .product-miniature {
  width: 100% !important;
  max-width: none !important;
  min-height: auto !important;
  background: #ffffff !important;
  border: 1px solid #e2edf8 !important;
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

body#index article.product-miniature:hover,
body#index .product-miniature:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(25, 179, 107, 0.35) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

/* ---------- ÁREA DE IMAGEN ---------- */
body#index .product-miniature .thumbnail-container,
body#index .product-miniature .thumbnail-top {
  width: 100% !important;
  height: 172px !important;
  min-height: 172px !important;
  max-height: 172px !important;
  padding: 12px !important;
  margin: 0 !important;
  background:
    radial-gradient(circle at top right, rgba(25, 179, 107, 0.12), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef8f4 100%) !important;
  border-bottom: 1px solid #eaf2f5 !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#index .product-miniature .product-thumbnail {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#index .product-miniature .thumbnail-container img,
body#index .product-miniature .thumbnail-top img,
body#index .product-miniature .product-thumbnail img,
body#index .product-miniature img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 148px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  display: block !important;
  transform: scale(1.02) !important;
  transition: transform 0.22s ease !important;
}

body#index .product-miniature:hover .thumbnail-container img,
body#index .product-miniature:hover .thumbnail-top img,
body#index .product-miniature:hover .product-thumbnail img {
  transform: scale(1.07) !important;
}

/* Quitar vista rápida fantasma */
body#index .product-miniature .quick-view,
body#index .product-miniature a.quick-view,
body#index .product-miniature .highlighted-informations {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ==========================================
   ETIQUETAS / FLAGS
   Se fuerza TODO para quitar el azul sólido anterior
========================================== */
body#index article.product-miniature .product-flags,
body#index .product-miniature .product-flags,
body#index .product-flags {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 30 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  pointer-events: none !important;
}

body#index article.product-miniature .product-flags li,
body#index article.product-miniature .product-flags li.product-flag,
body#index .product-miniature .product-flags li,
body#index .product-miniature .product-flags li.product-flag,
body#index .product-flags li,
body#index .product-flags li.product-flag {
  width: fit-content !important;
  max-width: 150px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.12), rgba(25, 179, 107, 0.17)) !important;
  background-color: transparent !important;
  background-image: linear-gradient(135deg, rgba(0, 87, 184, 0.12), rgba(25, 179, 107, 0.17)) !important;
  color: #0f172a !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.1px !important;
  text-transform: none !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(6px) !important;
}

/* Nuevo: verde/azul suave, no azul sólido */
body#index article.product-miniature .product-flags li.new,
body#index article.product-miniature .product-flags li.product-flag.new,
body#index .product-miniature .product-flags li.new,
body#index .product-miniature .product-flags li.product-flag.new,
body#index .product-flags li.new,
body#index .product-flags li.product-flag.new {
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.10), rgba(25, 179, 107, 0.20)) !important;
  background-color: transparent !important;
  background-image: linear-gradient(135deg, rgba(0, 87, 184, 0.10), rgba(25, 179, 107, 0.20)) !important;
  color: #0f172a !important;
}

/* Fuera de stock: gris elegante */
body#index article.product-miniature .product-flags li.out_of_stock,
body#index article.product-miniature .product-flags li.out-of-stock,
body#index article.product-miniature .product-flags li.unavailable,
body#index article.product-miniature .product-flags li.product-flag.out_of_stock,
body#index article.product-miniature .product-flags li.product-flag.out-of-stock,
body#index article.product-miniature .product-flags li.product-flag.unavailable,
body#index .product-miniature .product-flags li.out_of_stock,
body#index .product-miniature .product-flags li.out-of-stock,
body#index .product-miniature .product-flags li.unavailable,
body#index .product-miniature .product-flags li.product-flag.out_of_stock,
body#index .product-miniature .product-flags li.product-flag.out-of-stock,
body#index .product-miniature .product-flags li.product-flag.unavailable,
body#index .product-flags li.out_of_stock,
body#index .product-flags li.out-of-stock,
body#index .product-flags li.unavailable,
body#index .product-flags li.product-flag.out_of_stock,
body#index .product-flags li.product-flag.out-of-stock,
body#index .product-flags li.product-flag.unavailable {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.24), rgba(226, 232, 240, 0.46)) !important;
  background-color: transparent !important;
  background-image: linear-gradient(135deg, rgba(148, 163, 184, 0.24), rgba(226, 232, 240, 0.46)) !important;
  color: #334155 !important;
}

/* Descuentos / oferta */
body#index .product-flags li.on-sale,
body#index .product-flags li.discount,
body#index .product-flags li.discount-percentage,
body#index .product-flags li.discount-amount,
body#index .product-flags li.product-flag.on-sale,
body#index .product-flags li.product-flag.discount,
body#index .product-flags li.product-flag.discount-percentage,
body#index .product-flags li.product-flag.discount-amount {
  background: linear-gradient(135deg, rgba(255, 183, 0, 0.18), rgba(255, 125, 0, 0.20)) !important;
  background-color: transparent !important;
  background-image: linear-gradient(135deg, rgba(255, 183, 0, 0.18), rgba(255, 125, 0, 0.20)) !important;
  color: #7c2d12 !important;
}

/* ---------- CONTENIDO ---------- */
body#index .product-miniature .product-description,
body#index .product-miniature .product-details {
  width: 100% !important;
  background: #ffffff !important;
  padding: 14px 13px 13px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

body#index .product-miniature .product-title {
  min-height: 46px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}

body#index .product-miniature .product-title a {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  text-transform: none !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body#index .product-miniature .product-title a:hover {
  background: linear-gradient(135deg, #0057b8 0%, #19b36b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body#index .product-miniature .product-price-and-shipping {
  min-height: 24px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body#index .product-miniature .price,
body#index .product-miniature .product-price,
body#index .product-miniature .current-price {
  color: #111827 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

body#index .product-miniature .regular-price {
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: line-through !important;
  margin-left: 5px !important;
}

/* ==========================================
   CANTIDAD + CARRITO
   Corrige el + que se baja y deja [-] [1] [+]
========================================== */
body#index .product-miniature .product-add-to-cart,
body#index .product-miniature .add-to-cart-or-refresh,
body#index .product-miniature .product-actions {
  width: 100% !important;
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

body#index .product-miniature .qty,
body#index .product-miniature .product-quantity {
  flex: 0 0 126px !important;
  width: 126px !important;
  min-width: 126px !important;
  max-width: 126px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

body#index .product-miniature .bootstrap-touchspin,
body#index .product-miniature .input-group.bootstrap-touchspin {
  width: 126px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 36px 54px 36px !important;
  align-items: stretch !important;
  overflow: hidden !important;
  border: 1px solid #d8e4ea !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Si el tema usa contenedor vertical para + y -, lo convertimos en layout plano */
body#index .product-miniature .bootstrap-touchspin .input-group-btn-vertical,
body#index .product-miniature .bootstrap-touchspin .input-group-btn,
body#index .product-miniature .bootstrap-touchspin .btn-group-vertical {
  display: contents !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body#index .product-miniature .bootstrap-touchspin input,
body#index .product-miniature input[type="number"] {
  grid-column: 2 !important;
  order: 2 !important;
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #e6eef3 !important;
  border-right: 1px solid #e6eef3 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 38px !important;
  box-shadow: none !important;
  appearance: textfield !important;
}

body#index .product-miniature input[type="number"]::-webkit-outer-spin-button,
body#index .product-miniature input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

body#index .product-miniature .bootstrap-touchspin .btn,
body#index .product-miniature .bootstrap-touchspin button,
body#index .product-miniature .bootstrap-touchspin .bootstrap-touchspin-down,
body#index .product-miniature .bootstrap-touchspin .bootstrap-touchspin-up {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.06), rgba(25, 179, 107, 0.08)) !important;
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

body#index .product-miniature .bootstrap-touchspin .bootstrap-touchspin-down {
  grid-column: 1 !important;
  order: 1 !important;
}

body#index .product-miniature .bootstrap-touchspin .bootstrap-touchspin-up {
  grid-column: 3 !important;
  order: 3 !important;
}

body#index .product-miniature .bootstrap-touchspin .btn:hover,
body#index .product-miniature .bootstrap-touchspin button:hover {
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.14), rgba(25, 179, 107, 0.18)) !important;
  color: #0057b8 !important;
}

/* Íconos internos de touchspin, por si el tema usa i/material-icons */
body#index .product-miniature .bootstrap-touchspin .btn i,
body#index .product-miniature .bootstrap-touchspin button i,
body#index .product-miniature .bootstrap-touchspin .btn .material-icons,
body#index .product-miniature .bootstrap-touchspin button .material-icons {
  font-size: 18px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Botón carrito proporcional */
body#index .product-miniature .add-to-cart,
body#index .product-miniature button.add-to-cart {
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: linear-gradient(135deg, #0057b8 0%, #19b36b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 16px rgba(0, 87, 184, 0.16) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#index .product-miniature .add-to-cart:hover,
body#index .product-miniature button.add-to-cart:hover {
  background: linear-gradient(135deg, #003f86 0%, #0f8f54 100%) !important;
  transform: translateY(-1px) !important;
}

body#index .product-miniature .add-to-cart span:not(.material-icons),
body#index .product-miniature button.add-to-cart span:not(.material-icons) {
  display: none !important;
}

body#index .product-miniature .add-to-cart .material-icons,
body#index .product-miniature button.add-to-cart .material-icons,
body#index .product-miniature .add-to-cart i,
body#index .product-miniature button.add-to-cart i {
  font-size: 17px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Botón ver detalles */
body#index .product-miniature a.btn,
body#index .product-miniature .view-product,
body#index .product-miniature .btn-primary {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  margin-top: auto !important;
  border: none !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.10), rgba(25, 179, 107, 0.13)) !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#index .product-miniature a.btn:hover,
body#index .product-miniature .view-product:hover,
body#index .product-miniature .btn-primary:hover {
  background: linear-gradient(135deg, #0057b8 0%, #19b36b 100%) !important;
  color: #ffffff !important;
}

/* Botón ver todos */
body#index .all-product-link,
body#index a.all-product-link {
  border: none !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0057b8 0%, #19b36b 100%) !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  margin-top: 28px !important;
  box-shadow: 0 10px 22px rgba(0, 87, 184, 0.16) !important;
}

body#index .all-product-link:hover,
body#index a.all-product-link:hover {
  background: linear-gradient(135deg, #003f86 0%, #0f8f54 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1400px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body#index .product-miniature .thumbnail-container,
  body#index .product-miniature .thumbnail-top {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
  }

  body#index .product-miniature .thumbnail-container img,
  body#index .product-miniature .thumbnail-top img,
  body#index .product-miniature .product-thumbnail img,
  body#index .product-miniature img {
    max-height: 138px !important;
  }

  body#index .product-miniature .product-description,
  body#index .product-miniature .product-details {
    padding: 13px 11px 12px !important;
  }

  body#index .product-miniature .qty,
  body#index .product-miniature .product-quantity,
  body#index .product-miniature .bootstrap-touchspin,
  body#index .product-miniature .input-group.bootstrap-touchspin {
    flex-basis: 118px !important;
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    grid-template-columns: 34px 50px 34px !important;
  }

  body#index .product-miniature .bootstrap-touchspin input,
  body#index .product-miniature input[type="number"] {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
  }

  body#index .product-miniature .bootstrap-touchspin .btn,
  body#index .product-miniature .bootstrap-touchspin button,
  body#index .product-miniature .bootstrap-touchspin .bootstrap-touchspin-down,
  body#index .product-miniature .bootstrap-touchspin .bootstrap-touchspin-up {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
  }
}

@media (max-width: 520px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body#index article.product-miniature,
  body#index .product-miniature {
    max-width: 340px !important;
    margin: 0 auto !important;
  }

  body#index .product-miniature .thumbnail-container,
  body#index .product-miniature .thumbnail-top {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }

  body#index .product-miniature .thumbnail-container img,
  body#index .product-miniature .thumbnail-top img,
  body#index .product-miniature .product-thumbnail img,
  body#index .product-miniature img {
    max-height: 155px !important;
  }
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1400px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body#index .product-miniature .thumbnail-container,
  body#index .product-miniature .thumbnail-top {
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
  }

  body#index .product-miniature .thumbnail-container img,
  body#index .product-miniature .thumbnail-top img,
  body#index .product-miniature .product-thumbnail img,
  body#index .product-miniature img {
    max-height: 145px !important;
  }

  body#index .product-miniature .product-description,
  body#index .product-miniature .product-details {
    padding: 14px 12px 12px !important;
  }

  body#index .product-miniature .product-title a {
    font-size: 14px !important;
  }
}

@media (max-width: 520px) {
  body#index .products,
  body#index .featured-products .products {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body#index article.product-miniature,
  body#index .product-miniature {
    max-width: 350px !important;
    margin: 0 auto !important;
  }

  body#index .product-miniature .thumbnail-container,
  body#index .product-miniature .thumbnail-top {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
  }

  body#index .product-miniature .thumbnail-container img,
  body#index .product-miniature .thumbnail-top img,
  body#index .product-miniature .product-thumbnail img,
  body#index .product-miniature img {
    max-height: 165px !important;
  }
}
/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1100px) {
  .cd-home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #index .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  #header .header-top .row {
    gap: 12px;
  }

  #search_widget {
    width: 100% !important;
    max-width: 100% !important;
  }

  #index #custom-text .cd-full-home-section,
  #index .custom-text .cd-full-home-section,
  #index .block-custom-text .cd-full-home-section {
    padding: 0 18px !important;
  }

  #index .cd-sub-banners {
    grid-template-columns: 1fr !important;
    max-width: 760px !important;
    gap: 18px !important;
  }

  #index .cd-sub-banner img {
    height: auto !important;
  }
}

@media (max-width: 768px) {
  #header .header-top .container,
  #header .header-top .row {
    display: block;
  }

  #header .logo {
    max-height: 58px !important;
    margin-bottom: 10px;
  }

  #search_widget {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px;
  }

  #header .top-menu a,
  #header .menu a {
    display: inline-block;
    font-size: 15px !important;
  }
}

@media (max-width: 640px) {
  .cd-home-trust {
    grid-template-columns: 1fr !important;
    gap: 14px;
    padding: 0 14px;
    margin: 24px auto 34px;
  }

  .cd-home-trust .trust-item {
    width: 100%;
    min-height: auto;
    text-align: left;
    padding: 18px 16px;
    gap: 14px;
    border-radius: 16px;
  }

  .cd-home-trust .trust-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

  .cd-home-trust .trust-title {
    font-size: 16px;
  }

  .cd-home-trust .trust-text {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  #index #custom-text .cd-full-home-section,
  #index .custom-text .cd-full-home-section,
  #index .block-custom-text .cd-full-home-section {
    padding: 0 14px !important;
  }

  #index .cd-sub-banners {
    margin: 22px auto 42px !important;
    gap: 14px !important;
  }

  #index .cd-sub-banner {
    border-radius: 14px !important;
  }
}
/* ==========================================
   HOME - Ajustes finos de espaciado
========================================== */

#index #wrapper {
  padding-top: 0 !important;
}

.cd-home-trust {
  margin-top: 26px !important;
  margin-bottom: 32px !important;
}

#index .cd-sub-banners {
  margin-top: 10px !important;
  margin-bottom: 56px !important;
}

#index .cd-sub-banner img {
  height: 245px !important;
}

/* Más compacto en pantallas grandes */
@media (min-width: 1200px) {
  .cd-home-trust {
    max-width: 1160px;
  }

  #index .cd-sub-banners {
    max-width: 1360px !important;
  }
}

/* ==========================================
   MEGA MENÚ - Imágenes reales de categorías
========================================== */

#header .submenu__right-items {
  gap: 22px;
}

#header .menu-item__group--child,
#header .menu-item__group--nochild {
  display: inline-block;
  vertical-align: top;
  width: 190px;
  margin: 0 18px 24px 0;
  padding: 0 !important;
}

#header .menu-item__item--featured {
  list-style: none;
}

#header .cd-menu-category-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 170px;
  padding: 12px !important;
  border-radius: 16px;
  background: #ffffff !important;
  border: 1px solid #e5eef8;
  box-shadow: 0 10px 26px rgba(0, 87, 184, 0.08);
  text-align: center;
  overflow: hidden;
}

#header .cd-menu-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 87, 184, 0.16);
  background: var(--cd-gradient-soft) !important;
}

#header .cd-menu-category-image {
  display: block;
  width: 100%;
  height: 105px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f8fb;
}

#header .cd-menu-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#header .cd-menu-category-title {
  display: block;
  color: var(--cd-blue);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.25;
}

#header .cd-menu-category-card:hover .cd-menu-category-title {
  color: var(--cd-green);
}

/* ==========================================
   MEGA MENÚ - Ajuste proporción imágenes
========================================== */

/* Contenedor derecho del mega menú */
#header .submenu__right {
  padding-top: 18px !important;
}

/* Separación de las cards */
#header .menu-item__group--child,
#header .menu-item__group--nochild {
  width: 170px !important;
  margin: 0 20px 28px 0 !important;
}

/* Card de categoría */
#header .cd-menu-category-card {
  min-height: 155px !important;
  padding: 10px 10px 12px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid #e5eef8 !important;
  box-shadow: 0 8px 22px rgba(0, 87, 184, 0.07) !important;
}

/* Caja de imagen uniforme */
#header .cd-menu-category-image {
  width: 100% !important;
  height: 96px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
  border-radius: 12px !important;
  padding: 8px !important;
  overflow: hidden !important;
}

/* Imagen proporcionada */
#header .cd-menu-category-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

/* Texto */
#header .cd-menu-category-title {
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  color: var(--cd-blue) !important;
  text-align: center !important;
  margin-top: 2px !important;
}

/* Hover más sutil */
#header .cd-menu-category-card:hover {
  transform: translateY(-3px) !important;
  background: var(--cd-gradient-soft) !important;
}

/* Categoría seleccionada */
#header .cd-menu-category-card[aria-selected="true"],
#header .submenu__right-items .cd-menu-category-card:hover {
  border-color: #bfdbfe !important;
}

/* En pantallas grandes, que no se estiren demasiado */
@media (min-width: 1200px) {
  #header .submenu__right-items {
    max-width: 980px;
  }
}

/* ==========================================
   FOOTER - CD Tecnología SV
========================================== */

#footer {
  background: #071827 !important;
  color: #dbeafe !important;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(25, 179, 107, 0.18), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(0, 87, 184, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(0, 87, 184, 0.18), rgba(25, 179, 107, 0.10));
  pointer-events: none;
}

#footer .footer-container,
#footer .container {
  position: relative;
  z-index: 2;
}

/* Parte superior del footer */
#footer .footer-container {
  padding: 54px 0 26px !important;
}

/* Títulos */
#footer h3,
#footer h4,
#footer .h3,
#footer .h4,
#footer .block-contact-title,
#footer .myaccount-title,
#footer .links .h3,
#footer .links .h4 {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  margin-bottom: 18px !important;
  position: relative;
}

#footer h3::after,
#footer h4::after,
#footer .h3::after,
#footer .h4::after,
#footer .block-contact-title::after,
#footer .myaccount-title::after,
#footer .links .h3::after,
#footer .links .h4::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--cd-gradient);
  border-radius: 999px;
  margin-top: 9px;
}

/* Textos y links */
#footer p,
#footer li,
#footer span,
#footer .contact-rich,
#footer .block-contact {
  color: #cbd5e1 !important;
  font-size: 14px;
  line-height: 1.65;
}

#footer a {
  color: #dbeafe !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

#footer a:hover {
  color: #19b36b !important;
  padding-left: 4px;
}

/* Listas */
#footer ul {
  padding-left: 0 !important;
  list-style: none !important;
}

#footer li {
  margin-bottom: 9px;
}

/* Bloques */
#footer .links,
#footer .block-contact,
#footer .block_newsletter,
#footer .footer__block {
  margin-bottom: 28px;
}

/* Contacto */
#footer .block-contact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(219, 234, 254, 0.12);
  border-radius: 18px;
  padding: 22px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

/* Newsletter si aparece */
#footer .block_newsletter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(219, 234, 254, 0.12);
  border-radius: 18px;
  padding: 22px !important;
}

#footer .block_newsletter input[type="email"] {
  height: 44px;
  border-radius: 10px !important;
  border: 1px solid rgba(219, 234, 254, 0.22) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--cd-dark) !important;
}

#footer .block_newsletter .btn,
#footer .block_newsletter button {
  background: var(--cd-gradient) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-weight: 800;
}

/* Franja inferior */
#footer .footer-after,
#footer .footer-bottom,
#footer .copyright,
#footer .block-social {
  position: relative;
  z-index: 2;
}

#footer .footer-after,
#footer .footer-bottom {
  border-top: 1px solid rgba(219, 234, 254, 0.14);
  padding: 18px 0 !important;
  color: #94a3b8 !important;
}

/* Redes sociales */
#footer .block-social ul {
  display: flex;
  gap: 10px;
  align-items: center;
}

#footer .block-social li {
  margin: 0;
}

#footer .block-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  transition: all 0.2s ease;
}

#footer .block-social a:hover {
  background: var(--cd-gradient) !important;
  transform: translateY(-3px);
  padding-left: 0;
}

/* Cards internas si algún módulo usa card */
#footer .card,
#footer .collapse {
  background: transparent !important;
  border: none !important;
}

/* Acordeones móviles */
#footer .navbar-toggler,
#footer .collapse-icons {
  color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
  #footer {
    margin-top: 42px;
  }

  #footer .footer-container {
    padding: 38px 18px 22px !important;
  }

  #footer .block-contact,
  #footer .block_newsletter {
    padding: 18px !important;
  }

  #footer h3,
  #footer h4,
  #footer .h3,
  #footer .h4 {
    font-size: 16px !important;
  }
}


/* ==========================================
   BLOQUES LEGACY REMOVIDOS
   - Product cards antiguos duplicados
   - Category page antigua duplicada
========================================== */

/* ==========================================
   CATEGORY PAGE FINAL - Sidebar + Cards
   CD Tecnología SV
========================================== */

/* Ancho general */
body#category .breadcrumb,
body[id*="category"] .breadcrumb,
body[class*="category"] .breadcrumb,
body#category #wrapper .container,
body[id*="category"] #wrapper .container,
body[class*="category"] #wrapper .container {
  max-width: 1420px !important;
}

/* Fondo */
body#category #wrapper,
body[id*="category"] #wrapper,
body[class*="category"] #wrapper {
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%) !important;
}

/* Breadcrumb */
body#category .breadcrumb,
body[id*="category"] .breadcrumb,
body[class*="category"] .breadcrumb {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

body#category .breadcrumb a,
body#category .breadcrumb li,
body[id*="category"] .breadcrumb a,
body[id*="category"] .breadcrumb li,
body[class*="category"] .breadcrumb a,
body[class*="category"] .breadcrumb li {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* ==========================================
   SIDEBAR CATEGORÍAS
========================================== */

/* Caja izquierda */
body#category #left-column,
body[id*="category"] #left-column,
body[class*="category"] #left-column {
  padding-right: 28px !important;
}

/* Árbol */
.category-tree,
.cd-category-tree {
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 10px 28px rgba(0, 87, 184, 0.07) !important;
}

/* Quitar estilos feos del ul */
.category-tree ul,
.cd-category-tree ul,
.category-tree .category-sub-menu,
.cd-category-tree .category-sub-menu {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.category-tree li,
.cd-category-tree li {
  margin: 0 !important;
}

/* Links del árbol */
.category-tree a,
.cd-category-tree a,
.cd-category-tree__link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 38px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  color: var(--cd-blue) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}

/* Flechita */
.category-tree a::after,
.cd-category-tree a::after,
.cd-category-tree__link::after {
  content: "›";
  font-size: 19px;
  line-height: 1;
  opacity: 0.55;
}

/* Hover */
.category-tree a:hover,
.cd-category-tree a:hover,
.cd-category-tree__link:hover {
  background: var(--cd-gradient-soft) !important;
  color: var(--cd-green) !important;
}

/* Primer link / categoría raíz más fuerte */
.category-tree > ul > li:first-child > a,
.cd-category-tree__title a {
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  padding: 4px 0 12px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid #e5eef8 !important;
  border-radius: 0 !important;
}

.category-tree > ul > li:first-child > a::after,
.cd-category-tree__title a::after {
  display: none !important;
}

/* Subcategorías */
.category-tree ul ul,
.cd-category-tree ul ul {
  padding-left: 10px !important;
  margin-left: 6px !important;
  border-left: 2px solid #e5eef8 !important;
}

/* ==========================================
   HEADER DE CATEGORÍA
========================================== */

.cd-category-hero {
  margin: 18px 0 36px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 310px !important;
  gap: 38px !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.cd-category-title {
  color: #0f172a !important;
  font-size: 42px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.02em !important;
}

.cd-category-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 12px;
  background: var(--cd-gradient);
  border-radius: 999px;
}

.cd-category-description {
  color: #334155 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  max-width: 720px !important;
}

.cd-category-description p {
  margin-bottom: 14px !important;
}

.cd-category-description ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-top: 16px !important;
  display: grid !important;
  gap: 8px !important;
}

.cd-category-description li {
  position: relative !important;
  padding-left: 24px !important;
}

.cd-category-description li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cd-gradient);
}

/* Imagen categoría */
.cd-category-hero__image img {
  width: 100% !important;
  height: 205px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 87, 184, 0.07) !important;
}

/* ==========================================
   TOOLBAR
========================================== */

body#category .products-selection,
body[id*="category"] .products-selection,
body[class*="category"] .products-selection {
  margin-bottom: 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body#category .total-products,
body[id*="category"] .total-products,
body[class*="category"] .total-products {
  color: #475569 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body#category .products-sort-order .select-title,
body[id*="category"] .products-sort-order .select-title,
body[class*="category"] .products-sort-order .select-title {
  min-height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid #dbeafe !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.06) !important;
}

/* ==========================================
   GRID PRODUCTOS
========================================== */

body#category #products .products,
body[id*="category"] #products .products,
body[class*="category"] #products .products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

/* Card */
body#category #products .product-miniature,
body[id*="category"] #products .product-miniature,
body[class*="category"] #products .product-miniature {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 87, 184, 0.07) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

body#category #products .product-miniature:hover,
body[id*="category"] #products .product-miniature:hover,
body[class*="category"] #products .product-miniature:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0, 87, 184, 0.13) !important;
}

/* Imagen producto */
body#category #products .product-miniature .thumbnail-container,
body#category #products .product-miniature .thumbnail-top,
body#category #products .product-miniature .product-thumbnail,
body[id*="category"] #products .product-miniature .thumbnail-container,
body[id*="category"] #products .product-miniature .thumbnail-top,
body[id*="category"] #products .product-miniature .product-thumbnail,
body[class*="category"] #products .product-miniature .thumbnail-container,
body[class*="category"] #products .product-miniature .thumbnail-top,
body[class*="category"] #products .product-miniature .product-thumbnail {
  height: 145px !important;
  min-height: 145px !important;
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%) !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#category #products .product-miniature img,
body[id*="category"] #products .product-miniature img,
body[class*="category"] #products .product-miniature img {
  height: 105px !important;
  width: 100% !important;
  object-fit: contain !important;
}

/* Contenido card */
body#category #products .product-miniature .product-description,
body#category #products .product-miniature .product-details,
body[id*="category"] #products .product-miniature .product-description,
body[id*="category"] #products .product-miniature .product-details,
body[class*="category"] #products .product-miniature .product-description,
body[class*="category"] #products .product-miniature .product-details {
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Título producto */
body#category #products .product-miniature .product-title,
body[id*="category"] #products .product-miniature .product-title,
body[class*="category"] #products .product-miniature .product-title {
  min-height: 40px !important;
  max-height: 40px !important;
  overflow: hidden !important;
  margin: 0 0 8px !important;
}

body#category #products .product-miniature .product-title a,
body[id*="category"] #products .product-miniature .product-title a,
body[class*="category"] #products .product-miniature .product-title a {
  color: #0f172a !important;
  font-size: 13.5px !important;
  line-height: 1.28 !important;
  font-weight: 850 !important;
}

/* Precio */
body#category #products .product-miniature .price,
body#category #products .product-miniature .product-price,
body#category #products .product-miniature .current-price,
body[id*="category"] #products .product-miniature .price,
body[id*="category"] #products .product-miniature .product-price,
body[id*="category"] #products .product-miniature .current-price,
body[class*="category"] #products .product-miniature .price,
body[class*="category"] #products .product-miniature .product-price,
body[class*="category"] #products .product-miniature .current-price {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}

/* ==========================================
   BOTONES CARD
========================================== */

/* Área de compra */
body#category #products .product-miniature .product-add-to-cart,
body#category #products .product-miniature .add-to-cart-or-refresh,
body#category #products .product-miniature .product-actions,
body[id*="category"] #products .product-miniature .product-add-to-cart,
body[id*="category"] #products .product-miniature .add-to-cart-or-refresh,
body[id*="category"] #products .product-miniature .product-actions,
body[class*="category"] #products .product-miniature .product-add-to-cart,
body[class*="category"] #products .product-miniature .add-to-cart-or-refresh,
body[class*="category"] #products .product-miniature .product-actions {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: 1fr 38px !important;
  gap: 8px !important;
  align-items: center !important;
}

/* Cantidad */
body#category #products .bootstrap-touchspin,
body[id*="category"] #products .bootstrap-touchspin,
body[class*="category"] #products .bootstrap-touchspin {
  display: grid !important;
  grid-template-columns: 32px 1fr 32px !important;
  height: 36px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

body#category #products .bootstrap-touchspin input,
body[id*="category"] #products .bootstrap-touchspin input,
body[class*="category"] #products .bootstrap-touchspin input {
  height: 36px !important;
  border: none !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body#category #products .bootstrap-touchspin .btn,
body#category #products .bootstrap-touchspin button,
body[id*="category"] #products .bootstrap-touchspin .btn,
body[id*="category"] #products .bootstrap-touchspin button,
body[class*="category"] #products .bootstrap-touchspin .btn,
body[class*="category"] #products .bootstrap-touchspin button {
  width: 32px !important;
  height: 36px !important;
  border: none !important;
  background: #f8fafc !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  padding: 0 !important;
}

/* Carrito */
body#category #products .add-to-cart,
body#category #products button.add-to-cart,
body[id*="category"] #products .add-to-cart,
body[id*="category"] #products button.add-to-cart,
body[class*="category"] #products .add-to-cart,
body[class*="category"] #products button.add-to-cart {
  width: 38px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: none !important;
  background: var(--cd-gradient) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.18) !important;
}

/* Ocultar texto Añadir al carrito */
body#category #products .add-to-cart span:not(.material-icons),
body#category #products button.add-to-cart span:not(.material-icons),
body[id*="category"] #products .add-to-cart span:not(.material-icons),
body[id*="category"] #products button.add-to-cart span:not(.material-icons),
body[class*="category"] #products .add-to-cart span:not(.material-icons),
body[class*="category"] #products button.add-to-cart span:not(.material-icons) {
  display: none !important;
}

/* Botón detalles */
body#category #products .product-miniature a.btn,
body#category #products .product-miniature .view-product,
body[id*="category"] #products .product-miniature a.btn,
body[id*="category"] #products .product-miniature .view-product,
body[class*="category"] #products .product-miniature a.btn,
body[class*="category"] #products .product-miniature .view-product {
  width: 100% !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  border: 2px solid var(--cd-blue) !important;
  background: #ffffff !important;
  color: var(--cd-blue) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

/* Responsive */
@media (max-width: 1200px) {
  body#category #products .products,
  body[id*="category"] #products .products,
  body[class*="category"] #products .products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 992px) {
  .cd-category-hero {
    grid-template-columns: 1fr !important;
  }

  body#category #products .products,
  body[id*="category"] #products .products,
  body[class*="category"] #products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  body#category #products .products,
  body[id*="category"] #products .products,
  body[class*="category"] #products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  body#category #products .products,
  body[id*="category"] #products .products,
  body[class*="category"] #products .products {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================
   MOBILE CATEGORY - Ocultar árbol lateral
========================================== */

@media (max-width: 768px) {
  /* Oculta columna de categorías en móvil */
  body#category #left-column,
  body[id*="category"] #left-column,
  body[class*="category"] #left-column {
    display: none !important;
  }

  /* El contenido ocupa todo el ancho */
  body#category #content-wrapper,
  body[id*="category"] #content-wrapper,
  body[class*="category"] #content-wrapper,
  body#category #main,
  body[id*="category"] #main,
  body[class*="category"] #main {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ajuste general del contenido */
  body#category #wrapper .container,
  body[id*="category"] #wrapper .container,
  body[class*="category"] #wrapper .container {
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Header de categoría más compacto */
  body#category .cd-category-hero,
  body[id*="category"] .cd-category-hero,
  body[class*="category"] .cd-category-hero {
    margin-top: 22px !important;
    margin-bottom: 28px !important;
    padding: 0 !important;
    display: block !important;
  }

  /* Título */
  body#category .cd-category-title,
  body[id*="category"] .cd-category-title,
  body[class*="category"] .cd-category-title {
    font-size: 32px !important;
    line-height: 1.12 !important;
    margin-bottom: 16px !important;
  }

  /* Descripción */
  body#category .cd-category-description,
  body[id*="category"] .cd-category-description,
  body[class*="category"] .cd-category-description {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
  }

  /* Imagen de categoría debajo, compacta */
  body#category .cd-category-hero__image,
  body[id*="category"] .cd-category-hero__image,
  body[class*="category"] .cd-category-hero__image {
    margin-top: 20px !important;
  }

  body#category .cd-category-hero__image img,
  body[id*="category"] .cd-category-hero__image img,
  body[class*="category"] .cd-category-hero__image img {
    width: 100% !important;
    max-width: 320px !important;
    height: 180px !important;
    margin: 0 auto !important;
  }

  /* Productos debajo más limpios */
  body#category #products,
  body[id*="category"] #products,
  body[class*="category"] #products {
    margin-top: 24px !important;
  }
}

/* =========================================================
   CD Tecnología SV - Página de contacto
   ========================================================= */

body#contact {
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 55%, #f7fbff 100%);
}

/* Contenedor general */
body#contact #wrapper {
  background: transparent;
  padding-top: 34px;
  padding-bottom: 60px;
}

/* Breadcrumb más limpio */
body#contact .breadcrumb {
  margin-bottom: 28px;
}

body#contact .breadcrumb a {
  color: var(--cd-blue);
  font-weight: 700;
}

/* Layout principal */
body#contact #content-wrapper {
  background: transparent;
}

body#contact #main {
  background: transparent;
}

/* Títulos */
body#contact h1,
body#contact .h1 {
  color: var(--cd-blue);
  font-weight: 900;
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

body#contact h2,
body#contact .h2,
body#contact h3,
body#contact .h3 {
  color: var(--cd-blue);
  font-weight: 850;
}

/* Bloque izquierdo: información de tienda */
body#contact .contact-rich {
  background: #ffffff;
  border-radius: 26px;
  padding: 28px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 18px 45px rgba(0, 54, 120, 0.08);
  position: relative;
  overflow: hidden;
}

body#contact .contact-rich::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--cd-gradient);
}

body#contact .contact-rich h4,
body#contact .contact-rich .h4 {
  color: var(--cd-blue);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 22px;
}

body#contact .contact-rich .block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 111, 185, 0.10);
}

body#contact .contact-rich .block:last-child {
  border-bottom: 0;
}

body#contact .contact-rich .icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--cd-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cd-blue);
  font-size: 1.2rem;
}

body#contact .contact-rich .data {
  color: #26384d;
  line-height: 1.55;
}

body#contact .contact-rich a {
  color: var(--cd-blue);
  font-weight: 800;
  text-decoration: none;
}

body#contact .contact-rich a:hover {
  color: var(--cd-green);
}

/* Formulario */
body#contact .contact-form {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 20px 52px rgba(0, 54, 120, 0.09);
  position: relative;
  overflow: hidden;
}

body#contact .contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--cd-gradient);
}

body#contact .contact-form h3,
body#contact .contact-form .h3 {
  color: var(--cd-blue);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

/* Labels */
body#contact .contact-form label,
body#contact .form-group label,
body#contact .form-control-label {
  color: #25384e;
  font-weight: 800;
  margin-bottom: 8px;
}

/* Inputs */
body#contact .form-control,
body#contact .custom-select,
body#contact select,
body#contact textarea,
body#contact input[type="email"],
body#contact input[type="text"] {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0, 111, 185, 0.18);
  background: #fbfdff;
  color: #1f2d3d;
  padding: 12px 16px;
  box-shadow: none;
  transition: all 0.18s ease;
}

body#contact textarea.form-control,
body#contact textarea {
  min-height: 140px;
  resize: vertical;
}

body#contact .form-control:focus,
body#contact .custom-select:focus,
body#contact select:focus,
body#contact textarea:focus,
body#contact input[type="email"]:focus,
body#contact input[type="text"]:focus {
  border-color: var(--cd-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 170, 100, 0.12);
}

/* Archivo adjunto */
body#contact input[type="file"] {
  background: #fbfdff;
  border-radius: 14px;
  border: 1px dashed rgba(0, 111, 185, 0.28);
  padding: 10px;
}

/* Texto opcional */
body#contact .form-text,
body#contact small {
  color: #64748b;
}

/* Botón */
body#contact .btn-primary,
body#contact button[type="submit"],
body#contact input[type="submit"] {
  background: var(--cd-gradient);
  border: none;
  border-radius: 16px;
  padding: 14px 26px;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 148, 82, 0.24);
  transition: all 0.2s ease;
}

body#contact .btn-primary:hover,
body#contact button[type="submit"]:hover,
body#contact input[type="submit"]:hover {
  background: var(--cd-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 148, 82, 0.30);
}

/* Alinear botón a la derecha */
body#contact .contact-form footer,
body#contact .contact-form .form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

/* Separación entre columnas */
body#contact .contact-form,
body#contact .contact-rich {
  margin-bottom: 26px;
}

/* Mini bloque decorativo encima del formulario */
body#contact .contact-form::after {
  content: "Respuesta rápida • Cotizaciones • Soporte técnico";
  display: inline-flex;
  position: relative;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cd-gradient-soft);
  color: var(--cd-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

/* Móvil */
@media (max-width: 768px) {
  body#contact #wrapper {
    padding-top: 20px;
    padding-bottom: 36px;
  }

  body#contact h1,
  body#contact .h1 {
    font-size: 1.7rem;
  }

  body#contact .contact-rich,
  body#contact .contact-form {
    border-radius: 22px;
    padding: 22px;
  }

  body#contact .contact-form h3,
  body#contact .contact-form .h3 {
    font-size: 1.55rem;
  }

  body#contact .contact-form footer,
  body#contact .contact-form .form-footer {
    justify-content: stretch;
  }

  body#contact .btn-primary,
  body#contact button[type="submit"],
  body#contact input[type="submit"] {
    width: 100%;
  }

  body#contact .contact-rich .block {
    gap: 12px;
  }

  body#contact .contact-rich .icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }
}
/* =========================================================
   CD Tecnología SV - Contacto editable desde Back Office
   ========================================================= */

body#contact .cd-contact-left-box {
  background: #ffffff;
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 18px 45px rgba(0, 54, 120, 0.08);
  position: relative;
  overflow: hidden;
}

body#contact .cd-contact-left-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--cd-gradient);
}

body#contact .cd-contact-left-box .contact-rich {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body#contact .cd-contact-left-box h4,
body#contact .cd-contact-left-box .h4 {
  color: var(--cd-blue);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 22px;
}

/* Cada línea de información se vuelve card */
body#contact .cd-contact-left-box .block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 111, 185, 0.10);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(0, 54, 120, 0.05);
  transition: all 0.2s ease;
}

body#contact .cd-contact-left-box .block:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 54, 120, 0.08);
  border-color: rgba(0, 170, 100, 0.20);
}

/* Iconos */
body#contact .cd-contact-left-box .icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cd-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cd-blue);
  font-size: 1.2rem;
}

/* Texto */
body#contact .cd-contact-left-box .data {
  color: #3b4b5e;
  line-height: 1.55;
  font-size: 0.95rem;
}

body#contact .cd-contact-left-box a {
  color: var(--cd-blue);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

body#contact .cd-contact-left-box a:hover {
  color: var(--cd-green);
}

/* Separadores viejos fuera */
body#contact .cd-contact-left-box hr {
  display: none;
}

/* Móvil */
@media (max-width: 768px) {
  body#contact .cd-contact-left-box {
    padding: 22px;
    border-radius: 22px;
  }

  body#contact .cd-contact-left-box .block {
    padding: 14px;
    border-radius: 16px;
  }

  body#contact .cd-contact-left-box .icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

body#contact .cd-contact-left-box a {
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

/* =========================================================
   CD Tecnología SV - Página individual de producto
   ========================================================= */

body#product {
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 55%, #f7fbff 100%);
}

body#product #wrapper {
  background: transparent;
  padding-top: 28px;
  padding-bottom: 60px;
}

body#product #content-wrapper,
body#product #main {
  background: transparent;
}

/* Breadcrumb */
body#product .breadcrumb {
  margin-bottom: 24px;
}

body#product .breadcrumb a {
  color: var(--cd-blue);
  font-weight: 700;
  text-decoration: none;
}

body#product .breadcrumb a:hover {
  color: var(--cd-green);
}

/* Contenedor principal del producto */
body#product .product-container,
body#product .product__container {
  background: #ffffff;
  border-radius: 30px;
  padding: 30px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 22px 55px rgba(0, 54, 120, 0.09);
  position: relative;
  overflow: hidden;
}

body#product .product-container::before,
body#product .product__container::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: var(--cd-gradient);
}

/* Columna de imágenes */
body#product .product-cover,
body#product .product-cover img,
body#product .product-cover picture img {
  border-radius: 26px;
}

body#product .product-cover {
  background: #ffffff;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 16px 38px rgba(0, 54, 120, 0.08);
  padding: 18px;
  overflow: hidden;
}

body#product .product-cover img,
body#product .product-cover picture img {
  background: #ffffff;
  object-fit: contain;
}

/* Miniaturas */
body#product .product-images,
body#product .images-container .product-images {
  gap: 10px;
}

body#product .product-images img,
body#product .thumb-container img {
  border-radius: 16px;
  border: 1px solid rgba(0, 111, 185, 0.14);
  background: #ffffff;
  padding: 6px;
  transition: all 0.2s ease;
}

body#product .product-images img:hover,
body#product .thumb-container img:hover {
  transform: translateY(-2px);
  border-color: var(--cd-green);
  box-shadow: 0 10px 22px rgba(0, 54, 120, 0.08);
}

/* Columna de información */
body#product .product-information,
body#product .product__info,
body#product .product-prices,
body#product .product-actions {
  position: relative;
}

body#product h1,
body#product .h1,
body#product .product-title,
body#product .product__title {
  color: var(--cd-blue);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

/* Referencia, condición, stock */
body#product .product-reference,
body#product .product-condition,
body#product .product-quantities,
body#product .product-availability,
body#product .product-manufacturer {
  color: #526579;
  font-weight: 650;
}

body#product .product-reference span,
body#product .product-condition span,
body#product .product-quantities span,
body#product .product-availability span {
  color: var(--cd-blue);
  font-weight: 850;
}

/* Precio */
body#product .product-prices {
  background: linear-gradient(135deg, rgba(0, 111, 185, 0.06), rgba(0, 170, 100, 0.08));
  border: 1px solid rgba(0, 111, 185, 0.10);
  border-radius: 22px;
  padding: 18px 20px;
  margin: 18px 0;
}

body#product .current-price,
body#product .product-price,
body#product .price,
body#product .current-price-value {
  color: var(--cd-green);
  font-size: 2.15rem;
  font-weight: 950;
  line-height: 1.1;
}

body#product .regular-price {
  color: #8a97a8;
  font-weight: 700;
}

/* Descripción corta */
body#product .product-description-short,
body#product #product-description-short,
body#product .product-information p {
  color: #3b4b5e;
  line-height: 1.65;
}

/* Variantes */
body#product .product-variants {
  background: #ffffff;
  border: 1px solid rgba(0, 111, 185, 0.10);
  border-radius: 20px;
  padding: 18px;
  margin: 18px 0;
}

body#product .product-variants label,
body#product .product-variants .control-label {
  color: var(--cd-blue);
  font-weight: 850;
}

/* Cantidad y carrito */
body#product .product-add-to-cart {
  background: #ffffff;
  border: 1px solid rgba(0, 111, 185, 0.10);
  border-radius: 22px;
  padding: 20px;
  margin-top: 18px;
  box-shadow: 0 14px 32px rgba(0, 54, 120, 0.06);
}

body#product .product-quantity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body#product .qty,
body#product .quantity-button,
body#product .bootstrap-touchspin {
  border-radius: 16px;
}

body#product input#quantity_wanted,
body#product .qty input,
body#product .bootstrap-touchspin input {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0, 111, 185, 0.18);
  font-weight: 800;
  text-align: center;
}

body#product .add-to-cart,
body#product button[data-button-action="add-to-cart"] {
  background: var(--cd-gradient);
  border: none;
  border-radius: 16px;
  min-height: 52px;
  padding: 14px 26px;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 13px 28px rgba(0, 148, 82, 0.25);
  transition: all 0.2s ease;
}

body#product .add-to-cart:hover,
body#product button[data-button-action="add-to-cart"]:hover {
  background: var(--cd-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(0, 148, 82, 0.32);
}

/* Botones secundarios */
body#product .btn-outline-primary {
  border-color: var(--cd-blue);
  color: var(--cd-blue);
  border-radius: 14px;
  font-weight: 800;
}

body#product .btn-outline-primary:hover {
  background: var(--cd-blue);
  color: #ffffff;
}

/* Tabs / descripción larga */
body#product .tabs {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 18px 45px rgba(0, 54, 120, 0.07);
  overflow: hidden;
  margin-top: 34px;
}

body#product .tabs .nav-tabs {
  background: #f4f9ff;
  border-bottom: 1px solid rgba(0, 111, 185, 0.10);
  padding: 0 18px;
}

body#product .tabs .nav-tabs .nav-link {
  color: var(--cd-blue);
  font-weight: 850;
  border: 0;
  padding: 16px 18px;
}

body#product .tabs .nav-tabs .nav-link.active {
  color: var(--cd-green);
  background: #ffffff;
  border-radius: 16px 16px 0 0;
}

body#product .tabs .tab-content {
  padding: 26px;
  color: #34465a;
  line-height: 1.7;
}

/* Productos relacionados */
body#product .featured-products,
body#product .product-accessories,
body#product .crossselling-products {
  margin-top: 38px;
}

body#product .featured-products h2,
body#product .product-accessories h2,
body#product .crossselling-products h2 {
  color: var(--cd-blue);
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* Móvil */
@media (max-width: 768px) {
  body#product #wrapper {
    padding-top: 18px;
    padding-bottom: 38px;
  }

  body#product .product-container,
  body#product .product__container {
    padding: 18px;
    border-radius: 24px;
  }

  body#product h1,
  body#product .h1,
  body#product .product-title,
  body#product .product__title {
    font-size: 1.55rem;
  }

  body#product .product-prices {
    padding: 16px;
    border-radius: 18px;
  }

  body#product .current-price,
  body#product .product-price,
  body#product .price,
  body#product .current-price-value {
    font-size: 1.8rem;
  }

  body#product .product-add-to-cart {
    padding: 16px;
    border-radius: 18px;
  }

  body#product .product-quantity {
    display: block;
  }

  body#product .qty,
  body#product .quantity-button,
  body#product .bootstrap-touchspin {
    margin-bottom: 12px;
  }

  body#product .add-to-cart,
  body#product button[data-button-action="add-to-cart"] {
    width: 100%;
  }

  body#product .tabs {
    border-radius: 22px;
    margin-top: 24px;
  }

  body#product .tabs .nav-tabs {
    padding: 0 10px;
  }

  body#product .tabs .nav-tabs .nav-link {
    padding: 14px 12px;
    font-size: 0.92rem;
  }

  body#product .tabs .tab-content {
    padding: 20px;
  }
}
/* =========================================================
   CD Tecnología SV - Área de cliente / Datos personales
   ========================================================= */

body#identity,
body#history,
body#addresses,
body#address,
body#discount,
body#module-psgdpr-gdpr,
body.page-customer-account {
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 55%, #f7fbff 100%);
}

/* Wrapper general */
body#identity #wrapper,
body#history #wrapper,
body#addresses #wrapper,
body#address #wrapper,
body#discount #wrapper,
body#module-psgdpr-gdpr #wrapper,
body.page-customer-account #wrapper {
  background: transparent;
  padding-top: 28px;
  padding-bottom: 60px;
}

body#identity #content-wrapper,
body#history #content-wrapper,
body#addresses #content-wrapper,
body#address #content-wrapper,
body#discount #content-wrapper,
body#module-psgdpr-gdpr #content-wrapper,
body.page-customer-account #content-wrapper,
body#identity #main,
body#history #main,
body#addresses #main,
body#address #main,
body#discount #main,
body#module-psgdpr-gdpr #main,
body.page-customer-account #main {
  background: transparent;
}

/* Breadcrumb */
body#identity .breadcrumb,
body#history .breadcrumb,
body#addresses .breadcrumb,
body#address .breadcrumb,
body#discount .breadcrumb,
body#module-psgdpr-gdpr .breadcrumb,
body.page-customer-account .breadcrumb {
  margin-bottom: 24px;
}

body#identity .breadcrumb a,
body#history .breadcrumb a,
body#addresses .breadcrumb a,
body#address .breadcrumb a,
body#discount .breadcrumb a,
body#module-psgdpr-gdpr .breadcrumb a,
body.page-customer-account .breadcrumb a {
  color: var(--cd-blue);
  font-weight: 700;
  text-decoration: none;
}

body#identity .breadcrumb a:hover,
body#history .breadcrumb a:hover,
body#addresses .breadcrumb a:hover,
body#address .breadcrumb a:hover,
body#discount .breadcrumb a:hover,
body#module-psgdpr-gdpr .breadcrumb a:hover,
body.page-customer-account .breadcrumb a:hover {
  color: var(--cd-green);
}

/* =========================================
   Menú lateral de cuenta
   ========================================= */

body#identity #left-column,
body#history #left-column,
body#addresses #left-column,
body#address #left-column,
body#discount #left-column,
body#module-psgdpr-gdpr #left-column,
body.page-customer-account #left-column {
  margin-bottom: 24px;
}

body#identity #left-column .block-categories,
body#identity #left-column .account-menu,
body#identity #left-column .links,
body#identity #left-column .customer-account-links,
body#history #left-column .links,
body#addresses #left-column .links,
body#address #left-column .links,
body#discount #left-column .links,
body#module-psgdpr-gdpr #left-column .links,
body.page-customer-account #left-column .links {
  background: #ffffff;
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 18px 45px rgba(0, 54, 120, 0.08);
  position: relative;
  overflow: hidden;
}

body#identity #left-column .account-menu::before,
body#identity #left-column .links::before,
body#identity #left-column .customer-account-links::before,
body#history #left-column .links::before,
body#addresses #left-column .links::before,
body#address #left-column .links::before,
body#discount #left-column .links::before,
body#module-psgdpr-gdpr #left-column .links::before,
body.page-customer-account #left-column .links::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--cd-gradient);
}

body#identity #left-column .title,
body#identity #left-column h3,
body#identity #left-column h4,
body#history #left-column .title,
body#addresses #left-column .title,
body#address #left-column .title,
body#discount #left-column .title,
body#module-psgdpr-gdpr #left-column .title,
body.page-customer-account #left-column .title {
  color: var(--cd-blue);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}

/* Links del menú */
body#identity #left-column a,
body#history #left-column a,
body#addresses #left-column a,
body#address #left-column a,
body#discount #left-column a,
body#module-psgdpr-gdpr #left-column a,
body.page-customer-account #left-column a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cd-blue);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  transition: all 0.2s ease;
}

body#identity #left-column a:hover,
body#history #left-column a:hover,
body#addresses #left-column a:hover,
body#address #left-column a:hover,
body#discount #left-column a:hover,
body#module-psgdpr-gdpr #left-column a:hover,
body.page-customer-account #left-column a:hover {
  background: var(--cd-gradient-soft);
  color: var(--cd-green);
  transform: translateX(2px);
}

body#identity #left-column .link-item,
body#history #left-column .link-item,
body#addresses #left-column .link-item,
body#address #left-column .link-item,
body#discount #left-column .link-item,
body#module-psgdpr-gdpr #left-column .link-item,
body.page-customer-account #left-column .link-item {
  margin-bottom: 6px;
}

body#identity #left-column .link-item.current a,
body#identity #left-column .link-item.active a,
body#history #left-column .link-item.current a,
body#addresses #left-column .link-item.current a,
body#address #left-column .link-item.current a,
body#discount #left-column .link-item.current a,
body#module-psgdpr-gdpr #left-column .link-item.current a,
body.page-customer-account #left-column .link-item.current a {
  background: linear-gradient(135deg, rgba(0, 111, 185, 0.08), rgba(0, 170, 100, 0.10));
  color: var(--cd-blue);
  font-weight: 800;
}

/* =========================================
   Tarjeta principal del formulario
   ========================================= */

body#identity .page-content,
body#identity .account-page,
body#identity .account-content,
body#identity form,
body#history .page-content,
body#addresses .page-content,
body#address .page-content,
body#discount .page-content,
body#module-psgdpr-gdpr .page-content,
body.page-customer-account .page-content {
  position: relative;
}

body#identity .page-content,
body#history .page-content,
body#addresses .page-content,
body#address .page-content,
body#discount .page-content,
body#module-psgdpr-gdpr .page-content,
body.page-customer-account .page-content {
  background: #ffffff;
  border-radius: 30px;
  padding: 30px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 22px 55px rgba(0, 54, 120, 0.09);
  overflow: hidden;
}

body#identity .page-content::before,
body#history .page-content::before,
body#addresses .page-content::before,
body#address .page-content::before,
body#discount .page-content::before,
body#module-psgdpr-gdpr .page-content::before,
body.page-customer-account .page-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: var(--cd-gradient);
}

/* Títulos */
body#identity h1,
body#identity .page-title,
body#history h1,
body#addresses h1,
body#address h1,
body#discount h1,
body#module-psgdpr-gdpr h1,
body.page-customer-account h1 {
  color: var(--cd-blue);
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}

body#identity .page-subheading,
body#identity p,
body#history p,
body#addresses p,
body#address p,
body#discount p,
body#module-psgdpr-gdpr p,
body.page-customer-account p {
  color: #45576b;
  line-height: 1.65;
}

/* Labels */
body#identity label,
body#history label,
body#addresses label,
body#address label,
body#discount label,
body#module-psgdpr-gdpr label,
body.page-customer-account label {
  color: #26384d;
  font-weight: 800;
  margin-bottom: 8px;
}

/* Inputs */
body#identity .form-control,
body#identity .custom-select,
body#identity select,
body#identity textarea,
body#identity input[type="text"],
body#identity input[type="email"],
body#identity input[type="password"],
body#identity input[type="date"],
body#history .form-control,
body#addresses .form-control,
body#address .form-control,
body#discount .form-control,
body#module-psgdpr-gdpr .form-control,
body.page-customer-account .form-control {
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(0, 111, 185, 0.18);
  background: #fbfdff;
  color: #1f2d3d;
  padding: 12px 16px;
  box-shadow: none;
  transition: all 0.18s ease;
}

body#identity .form-control:focus,
body#identity .custom-select:focus,
body#identity select:focus,
body#identity textarea:focus,
body#identity input[type="text"]:focus,
body#identity input[type="email"]:focus,
body#identity input[type="password"]:focus,
body#identity input[type="date"]:focus,
body#history .form-control:focus,
body#addresses .form-control:focus,
body#address .form-control:focus,
body#discount .form-control:focus,
body#module-psgdpr-gdpr .form-control:focus,
body.page-customer-account .form-control:focus {
  border-color: var(--cd-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 170, 100, 0.12);
}

/* Radios y checks */
body#identity .radio-inline,
body#identity .custom-checkbox,
body#identity .form-check,
body.page-customer-account .radio-inline,
body.page-customer-account .custom-checkbox {
  color: #34465a;
  font-weight: 600;
}

/* Textos de ayuda */
body#identity .form-control-comment,
body#identity .help-block,
body#identity .form-text,
body#identity small,
body.page-customer-account .form-control-comment,
body.page-customer-account small {
  color: #748396;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Grupo contraseña con icono */
body#identity .input-group,
body.page-customer-account .input-group {
  border-radius: 14px;
  overflow: hidden;
}

body#identity .input-group-btn .btn,
body#identity .input-group-append .btn,
body.page-customer-account .input-group-btn .btn,
body.page-customer-account .input-group-append .btn {
  background: var(--cd-gradient);
  border: none;
  color: #ffffff;
  font-weight: 800;
  min-height: 50px;
  border-radius: 0 14px 14px 0;
}

/* Botón guardar */
body#identity .form-footer .btn,
body#identity .save-customer,
body#identity button[type="submit"],
body#identity .btn-primary,
body#history .btn-primary,
body#addresses .btn-primary,
body#address .btn-primary,
body#discount .btn-primary,
body#module-psgdpr-gdpr .btn-primary,
body.page-customer-account .btn-primary {
  background: var(--cd-gradient);
  border: none;
  border-radius: 16px;
  min-height: 52px;
  padding: 14px 26px;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 13px 28px rgba(0, 148, 82, 0.25);
  transition: all 0.2s ease;
}

body#identity .form-footer .btn:hover,
body#identity .save-customer:hover,
body#identity button[type="submit"]:hover,
body#identity .btn-primary:hover,
body#history .btn-primary:hover,
body#addresses .btn-primary:hover,
body#address .btn-primary:hover,
body#discount .btn-primary:hover,
body#module-psgdpr-gdpr .btn-primary:hover,
body.page-customer-account .btn-primary:hover {
  background: var(--cd-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(0, 148, 82, 0.32);
}

/* Separación entre campos */
body#identity .form-group,
body#history .form-group,
body#addresses .form-group,
body#address .form-group,
body#discount .form-group,
body#module-psgdpr-gdpr .form-group,
body.page-customer-account .form-group {
  margin-bottom: 18px;
}

/* Mensajes de alerta */
body#identity .alert,
body#history .alert,
body#addresses .alert,
body#address .alert,
body#discount .alert,
body#module-psgdpr-gdpr .alert,
body.page-customer-account .alert {
  border-radius: 16px;
  border: 0;
  box-shadow: 0 10px 20px rgba(0, 54, 120, 0.06);
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 768px) {
  body#identity #wrapper,
  body#history #wrapper,
  body#addresses #wrapper,
  body#address #wrapper,
  body#discount #wrapper,
  body#module-psgdpr-gdpr #wrapper,
  body.page-customer-account #wrapper {
    padding-top: 18px;
    padding-bottom: 36px;
  }

  body#identity .page-content,
  body#history .page-content,
  body#addresses .page-content,
  body#address .page-content,
  body#discount .page-content,
  body#module-psgdpr-gdpr .page-content,
  body.page-customer-account .page-content {
    padding: 18px;
    border-radius: 24px;
  }

  body#identity h1,
  body#identity .page-title,
  body#history h1,
  body#addresses h1,
  body#address h1,
  body#discount h1,
  body#module-psgdpr-gdpr h1,
  body.page-customer-account h1 {
    font-size: 1.65rem;
  }

  body#identity #left-column .account-menu,
  body#identity #left-column .links,
  body#identity #left-column .customer-account-links,
  body#history #left-column .links,
  body#addresses #left-column .links,
  body#address #left-column .links,
  body#discount #left-column .links,
  body#module-psgdpr-gdpr #left-column .links,
  body.page-customer-account #left-column .links {
    padding: 18px;
    border-radius: 22px;
  }

  body#identity #left-column .title,
  body#identity #left-column h3,
  body#identity #left-column h4,
  body#history #left-column .title,
  body#addresses #left-column .title,
  body#address #left-column .title,
  body#discount #left-column .title,
  body#module-psgdpr-gdpr #left-column .title,
  body.page-customer-account #left-column .title {
    font-size: 1.4rem;
  }

  body#identity #left-column a,
  body#history #left-column a,
  body#addresses #left-column a,
  body#address #left-column a,
  body#discount #left-column a,
  body#module-psgdpr-gdpr #left-column a,
  body.page-customer-account #left-column a {
    padding: 10px 12px;
  }

  body#identity .form-footer .btn,
  body#identity .save-customer,
  body#identity button[type="submit"],
  body#identity .btn-primary,
  body.page-customer-account .btn-primary {
    width: 100%;
  }
}

/* =========================================================
   CD Tecnología SV - Página CMS / Sobre nosotros
   ========================================================= */

/* Página específica de CMS */
body#cms,
body.cms-page {
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 55%, #f7fbff 100%);
}

body#cms #wrapper,
body.cms-page #wrapper {
  background: transparent;
  padding-top: 28px;
  padding-bottom: 60px;
}

body#cms #content-wrapper,
body#cms #main,
body.cms-page #content-wrapper,
body.cms-page #main {
  background: transparent;
}

/* Breadcrumb */
body#cms .breadcrumb,
body.cms-page .breadcrumb {
  margin-bottom: 24px;
}

body#cms .breadcrumb a,
body.cms-page .breadcrumb a {
  color: var(--cd-blue);
  font-weight: 700;
  text-decoration: none;
}

body#cms .breadcrumb a:hover,
body.cms-page .breadcrumb a:hover {
  color: var(--cd-green);
}

/* Card principal del CMS */
body#cms .page-content.page-cms,
body.cms-page .page-content.page-cms {
  background: #ffffff;
  border-radius: 30px;
  padding: 34px;
  border: 1px solid rgba(0, 111, 185, 0.10);
  box-shadow: 0 22px 55px rgba(0, 54, 120, 0.09);
  position: relative;
  overflow: hidden;
}

body#cms .page-content.page-cms::before,
body.cms-page .page-content.page-cms::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: var(--cd-gradient);
}

/* Título principal */
body#cms h1,
body#cms .page-title,
body.cms-page h1,
body.cms-page .page-title {
  color: var(--cd-blue);
  font-weight: 900;
  font-size: 2.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* Subtítulos internos */
body#cms .page-content.page-cms h2,
body#cms .page-content.page-cms h3,
body.cms-page .page-content.page-cms h2,
body.cms-page .page-content.page-cms h3 {
  color: var(--cd-blue);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 14px;
}

body#cms .page-content.page-cms h2,
body.cms-page .page-content.page-cms h2 {
  font-size: 2rem;
}

body#cms .page-content.page-cms h3,
body.cms-page .page-content.page-cms h3 {
  font-size: 1.35rem;
}

/* Párrafos */
body#cms .page-content.page-cms p,
body.cms-page .page-content.page-cms p {
  color: #42556a;
  line-height: 1.72;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* Listas */
body#cms .page-content.page-cms ul,
body#cms .page-content.page-cms ol,
body.cms-page .page-content.page-cms ul,
body.cms-page .page-content.page-cms ol {
  padding-left: 1.2rem;
  margin-bottom: 18px;
}

body#cms .page-content.page-cms li,
body.cms-page .page-content.page-cms li {
  color: #42556a;
  margin-bottom: 8px;
}

/* Si la página usa columnas bootstrap */
body#cms .page-content.page-cms .row,
body.cms-page .page-content.page-cms .row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

body#cms .page-content.page-cms .row > [class*="col-"],
body.cms-page .page-content.page-cms .row > [class*="col-"] {
  flex: 1 1 280px;
  max-width: 100%;
}

/* Tarjetas internas para las 3 columnas */
body#cms .page-content.page-cms .row > [class*="col-"] > div,
body.cms-page .page-content.page-cms .row > [class*="col-"] > div {
  background: #ffffff;
}

/* Tarjetas por columna visualmente */
body#cms .page-content.page-cms .row > [class*="col-"],
body.cms-page .page-content.page-cms .row > [class*="col-"] {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(0, 111, 185, 0.10);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 26px rgba(0, 54, 120, 0.06);
  transition: all 0.2s ease;
}

body#cms .page-content.page-cms .row > [class*="col-"]:hover,
body.cms-page .page-content.page-cms .row > [class*="col-"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 54, 120, 0.09);
  border-color: rgba(0, 170, 100, 0.18);
}

/* Citas / testimonios */
body#cms .page-content.page-cms blockquote,
body.cms-page .page-content.page-cms blockquote {
  background: var(--cd-gradient-soft);
  border-left: 4px solid var(--cd-green);
  padding: 16px 18px;
  border-radius: 16px;
  margin: 16px 0;
  color: #35506a;
  font-style: italic;
}

/* Enlaces */
body#cms .page-content.page-cms a,
body.cms-page .page-content.page-cms a {
  color: var(--cd-blue);
  font-weight: 700;
  text-decoration: none;
}

body#cms .page-content.page-cms a:hover,
body.cms-page .page-content.page-cms a:hover {
  color: var(--cd-green);
}

/* Imágenes dentro del CMS */
body#cms .page-content.page-cms img,
body.cms-page .page-content.page-cms img {
  border-radius: 22px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 14px 30px rgba(0, 54, 120, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  body#cms #wrapper,
  body.cms-page #wrapper {
    padding-top: 18px;
    padding-bottom: 36px;
  }

  body#cms .page-content.page-cms,
  body.cms-page .page-content.page-cms {
    padding: 20px;
    border-radius: 24px;
  }

  body#cms h1,
  body#cms .page-title,
  body.cms-page h1,
  body.cms-page .page-title {
    font-size: 1.75rem;
  }

  body#cms .page-content.page-cms h2,
  body.cms-page .page-content.page-cms h2 {
    font-size: 1.45rem;
  }

  body#cms .page-content.page-cms h3,
  body.cms-page .page-content.page-cms h3 {
    font-size: 1.15rem;
  }

  body#cms .page-content.page-cms .row,
  body.cms-page .page-content.page-cms .row {
    gap: 14px;
  }

  body#cms .page-content.page-cms .row > [class*="col-"],
  body.cms-page .page-content.page-cms .row > [class*="col-"] {
    padding: 18px;
    border-radius: 20px;
  }
}
/* =========================================================
   CD Tecnología SV - Sobre nosotros limpio
========================================================= */

.cd-about-simple {
  width: 100%;
  color: #34465a;
}

/* Introducción */
.cd-about-simple__intro {
  max-width: 900px;
  margin: 0 0 46px;
}

.cd-about-simple__label {
  display: inline-block;
  margin-bottom: 12px;
  color: #198754;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-about-simple__intro h2 {
  margin: 0 0 20px !important;
  color: #073763 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em;
}

.cd-about-simple__intro p {
  max-width: 820px;
  margin: 0 0 14px !important;
  color: #526477 !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.cd-about-simple__intro .cd-about-simple__lead {
  color: #263b50 !important;
  font-size: 1.1rem !important;
  font-weight: 500;
}

/* Tres secciones */
.cd-about-simple__sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 48px;
  padding: 32px 0;
  border-top: 1px solid #dfe8f1;
  border-bottom: 1px solid #dfe8f1;
}

.cd-about-simple__section {
  padding: 0 30px;
}

.cd-about-simple__section:first-child {
  padding-left: 0;
}

.cd-about-simple__section:last-child {
  padding-right: 0;
}

.cd-about-simple__section + .cd-about-simple__section {
  border-left: 1px solid #e5edf4;
}

.cd-about-simple__section h3 {
  margin: 0 0 14px !important;
  color: #073763 !important;
  font-size: 1.15rem !important;
  font-weight: 850 !important;
}

.cd-about-simple__section p {
  margin: 0 0 12px !important;
  color: #586a7d !important;
  font-size: 0.94rem !important;
  line-height: 1.7 !important;
}

.cd-about-simple__section p:last-child {
  margin-bottom: 0 !important;
}

/* Misión y visión */
.cd-about-simple__purpose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 44px;
}

.cd-about-simple__purpose-item {
  padding: 28px;
  border-radius: 16px;
  background: #f7fafd;
  border: 1px solid #dfe8f1;
}

.cd-about-simple__purpose-item span {
  display: block;
  margin-bottom: 12px;
  color: #073763;
  font-size: 1.25rem;
  font-weight: 900;
}

.cd-about-simple__purpose-item:first-child {
  border-top: 3px solid #006fb9;
}

.cd-about-simple__purpose-item:last-child {
  border-top: 3px solid #198754;
}

.cd-about-simple__purpose-item p {
  margin: 0 !important;
  color: #586a7d !important;
  font-size: 0.95rem !important;
  line-height: 1.72 !important;
}

/* Cierre */
.cd-about-simple__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  border-radius: 16px;
  background: #073763;
}

.cd-about-simple__note h3 {
  margin: 0 0 7px !important;
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 850 !important;
}

.cd-about-simple__note p {
  margin: 0 !important;
  color: #d9e5f0 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.cd-about-simple__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 10px;
  background: #ffffff;
  color: #073763 !important;
  font-size: 0.9rem;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.cd-about-simple__button:hover {
  background: #edf5fb;
  color: #073763 !important;
}

/* Tablet */
@media (max-width: 991px) {
  .cd-about-simple__sections {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cd-about-simple__section,
  .cd-about-simple__section:first-child,
  .cd-about-simple__section:last-child {
    padding: 0;
  }

  .cd-about-simple__section + .cd-about-simple__section {
    padding-top: 24px;
    border-top: 1px solid #e5edf4;
    border-left: 0;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .cd-about-simple__intro {
    margin-bottom: 32px;
  }

  .cd-about-simple__intro h2 {
    font-size: 2rem !important;
  }

  .cd-about-simple__intro .cd-about-simple__lead {
    font-size: 1rem !important;
  }

  .cd-about-simple__sections {
    margin-bottom: 32px;
    padding: 24px 0;
  }

  .cd-about-simple__purpose {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .cd-about-simple__purpose-item {
    padding: 22px 20px;
  }

  .cd-about-simple__note {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .cd-about-simple__button {
    width: 100%;
  }
}
/* =========================================================
   CHECKOUT CD TECNOLOGÍA - DISEÑO ANCHO, LIMPIO Y RESPONSIVE
   Para PrestaShop 9 / Hummingbird
   ========================================================= */

/* Fondo general */
body#checkout {
  background: #f3f7fb !important;
  color: #12233a !important;
}

/* Área principal */
body#checkout #wrapper {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fb 100%) !important;
  padding: 42px 0 70px !important;
}

/* Contenedor más ancho */
body#checkout .container {
  max-width: 1380px !important;
  width: 94% !important;
}

/* Layout principal más amplio */
body#checkout #content-wrapper .row,
body#checkout .checkout-grid,
body#checkout #checkout {
  align-items: flex-start !important;
}

/* Columna izquierda */
body#checkout #content {
  background: #ffffff !important;
  border: 1px solid #dce8f2 !important;
  border-radius: 22px !important;
  padding: 36px 42px !important;
  box-shadow: 0 18px 45px rgba(18, 35, 58, 0.07) !important;
}

/* Evitar que la zona izquierda se vea pequeña */
body#checkout #left-column,
body#checkout #content-wrapper {
  min-width: 0 !important;
}

/* Si Bootstrap usa columnas, damos más aire visual */
body#checkout .col-md-8,
body#checkout .col-lg-8 {
  flex: 0 0 68% !important;
  max-width: 68% !important;
}

body#checkout .col-md-4,
body#checkout .col-lg-4 {
  flex: 0 0 32% !important;
  max-width: 32% !important;
}

/* =========================================================
   BARRA DE PASOS SUPERIOR
   ========================================================= */

body#checkout .checkout-progress {
  max-width: 760px !important;
  margin: 0 auto 42px !important;
}

body#checkout .checkout-progress .step-title,
body#checkout .checkout-step-title {
  font-size: 15px !important;
  font-weight: 800 !important;
}

/* =========================================================
   TÍTULO Y TEXTO
   ========================================================= */

body#checkout h1 {
  font-size: 36px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  color: #17314f !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.7px !important;
}

body#checkout h1 + hr {
  border: none !important;
  border-top: 1px solid #dce7f1 !important;
  margin: 0 0 22px !important;
}

body#checkout #checkout-addresses-step p {
  max-width: 900px !important;
  font-size: 16.5px !important;
  line-height: 1.65 !important;
  color: #324960 !important;
  margin-bottom: 26px !important;
}

/* =========================================================
   TARJETA DE DIRECCIÓN
   ========================================================= */

body#checkout .address-item,
body#checkout .js-address-item {
  width: 100% !important;
  max-width: 820px !important;
  min-height: 210px !important;
  background: #ffffff !important;
  border: 1px solid #cfe0ef !important;
  border-radius: 20px !important;
  padding: 30px 34px !important;
  box-shadow: 0 16px 38px rgba(18, 35, 58, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

/* Barra verde lateral */
body#checkout .address-item::before,
body#checkout .js-address-item::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 6px !important;
  height: 100% !important;
  background: linear-gradient(180deg, #009b72 0%, #006fd6 100%) !important;
}

/* Hover */
body#checkout .address-item:hover,
body#checkout .js-address-item:hover {
  transform: translateY(-2px) !important;
  border-color: #b6d5ee !important;
  box-shadow: 0 22px 52px rgba(18, 35, 58, 0.12) !important;
}

/* Dirección seleccionada */
body#checkout .address-item.selected,
body#checkout .js-address-item.selected {
  border-color: #9fd6c7 !important;
}

/* Título Mi Dirección */
body#checkout .address-alias,
body#checkout .address-item .h4,
body#checkout .js-address-item .h4 {
  font-size: 23px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  color: #142943 !important;
  margin-bottom: 18px !important;
}

/* Radio */
body#checkout input[type="radio"] {
  accent-color: #009b72 !important;
  transform: scale(1.2) !important;
  margin-right: 14px !important;
}

/* Texto de dirección */
body#checkout .address {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #17283c !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

/* Acciones Modificar / Eliminar */
body#checkout .address-footer,
body#checkout .address-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-top: 22px !important;
}

body#checkout .address-footer a,
body#checkout .address-actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  color: #006fd6 !important;
  background: #f4f9ff !important;
  border: 1px solid #bdd8f3 !important;
}

body#checkout .address-footer a:last-child,
body#checkout .address-actions a:last-child {
  color: #e63946 !important;
  background: #fff7f8 !important;
  border-color: #f4c7ce !important;
}

/* =========================================================
   BOTONES SECUNDARIOS
   ========================================================= */

body#checkout a[data-link-action="add-address"],
body#checkout .add-address a,
body#checkout a[data-link-action="different-invoice-address"],
body#checkout .different-invoice-address {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 46px !important;
  padding: 11px 20px !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  color: #006fd6 !important;
  border: 1px solid #bdd8f3 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 111, 214, 0.06) !important;
  margin-top: 16px !important;
}

body#checkout a[data-link-action="different-invoice-address"],
body#checkout .different-invoice-address {
  background: #eef8ff !important;
  border-color: #c8e4f8 !important;
}

/* =========================================================
   BOTONES INFERIORES
   ========================================================= */

body#checkout .checkout-footer,
body#checkout .form-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 30px !important;
  max-width: 820px !important;
}

body#checkout .btn,
body#checkout button {
  min-height: 48px !important;
  padding: 12px 24px !important;
  border-radius: 14px !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* Botón continuar */
body#checkout .btn-primary,
body#checkout button[name="confirm-addresses"],
body#checkout .continue,
body#checkout .js-continue-button {
  background: linear-gradient(135deg, #006fd6 0%, #009b72 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 14px 30px rgba(0, 111, 214, 0.23) !important;
}

body#checkout .btn-primary:hover,
body#checkout button[name="confirm-addresses"]:hover,
body#checkout .continue:hover,
body#checkout .js-continue-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 38px rgba(0, 111, 214, 0.28) !important;
}

/* Botón volver */
body#checkout .btn-secondary,
body#checkout a.btn {
  background: #ffffff !important;
  color: #006fd6 !important;
  border: 1px solid #bdd8f3 !important;
  box-shadow: 0 8px 20px rgba(0, 111, 214, 0.06) !important;
}

/* =========================================================
   RESUMEN DEL PEDIDO
   ========================================================= */

body#checkout #right-column {
  padding-left: 30px !important;
}

/* Caja resumen */
body#checkout #js-checkout-summary,
body#checkout .cart-summary {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #d5e4f0 !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 45px rgba(18, 35, 58, 0.09) !important;
  overflow: hidden !important;
  position: sticky !important;
  top: 92px !important;
}

/* Encabezado artículo */
body#checkout .cart-summary-products {
  padding: 18px 22px !important;
  border-bottom: 1px solid #e8eff6 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #17314f !important;
}

/* Ver detalles */
body#checkout .cart-summary-products a {
  color: #17314f !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* Líneas subtotal/transporte */
body#checkout .cart-summary-line {
  display: flex !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid #e8eff6 !important;
  color: #17283c !important;
  font-size: 16px !important;
}

/* Valores */
body#checkout .cart-summary-line .value {
  font-weight: 900 !important;
  color: #10243b !important;
  white-space: nowrap !important;
}

/* Total */
body#checkout .cart-summary-line.cart-total {
  background: linear-gradient(180deg, #f4fbf8 0%, #eef9f5 100%) !important;
  border-bottom: none !important;
  border-top: 1px solid #ccebe0 !important;
  font-size: 17px !important;
  font-weight: 950 !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {
  body#checkout .container {
    width: 96% !important;
  }

  body#checkout .col-md-8,
  body#checkout .col-lg-8 {
    flex: 0 0 65% !important;
    max-width: 65% !important;
  }

  body#checkout .col-md-4,
  body#checkout .col-lg-4 {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }

  body#checkout #content {
    padding: 32px !important;
  }

  body#checkout #right-column {
    padding-left: 22px !important;
  }
}

/* =========================================================
   MÓVIL Y TABLET VERTICAL
   ========================================================= */

@media (max-width: 991px) {
  body#checkout #wrapper {
    padding: 26px 0 48px !important;
  }

  body#checkout .col-md-8,
  body#checkout .col-lg-8,
  body#checkout .col-md-4,
  body#checkout .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  body#checkout #content {
    padding: 28px !important;
  }

  body#checkout #right-column {
    padding-left: 0 !important;
    margin-top: 26px !important;
  }

  body#checkout #js-checkout-summary,
  body#checkout .cart-summary {
    position: static !important;
    top: auto !important;
  }

  body#checkout .address-item,
  body#checkout .js-address-item,
  body#checkout .checkout-footer,
  body#checkout .form-footer {
    max-width: 100% !important;
  }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {
  body#checkout #wrapper {
    padding: 18px 0 38px !important;
  }

  body#checkout .container {
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body#checkout .checkout-progress {
    max-width: 100% !important;
    margin-bottom: 28px !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
  }

  body#checkout #content {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  body#checkout h1 {
    font-size: 28px !important;
    letter-spacing: -0.4px !important;
  }

  body#checkout #checkout-addresses-step p {
    font-size: 14.8px !important;
    line-height: 1.55 !important;
  }

  body#checkout .address-item,
  body#checkout .js-address-item {
    min-height: auto !important;
    padding: 22px 18px 22px 22px !important;
    border-radius: 17px !important;
  }

  body#checkout .address-item::before,
  body#checkout .js-address-item::before {
    width: 5px !important;
  }

  body#checkout .address-alias,
  body#checkout .address-item .h4,
  body#checkout .js-address-item .h4 {
    font-size: 20px !important;
  }

  body#checkout .address {
    font-size: 14.8px !important;
  }

  body#checkout .address-footer,
  body#checkout .address-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  body#checkout .address-footer a,
  body#checkout .address-actions a {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 8px !important;
    font-size: 14px !important;
  }

  body#checkout a[data-link-action="add-address"],
  body#checkout .add-address a,
  body#checkout a[data-link-action="different-invoice-address"],
  body#checkout .different-invoice-address {
    width: 100% !important;
    font-size: 14.5px !important;
    text-align: center !important;
  }

  body#checkout .checkout-footer,
  body#checkout .form-footer {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  body#checkout .btn,
  body#checkout button,
  body#checkout .btn-primary,
  body#checkout .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body#checkout #js-checkout-summary,
  body#checkout .cart-summary {
    border-radius: 18px !important;
  }

  body#checkout .cart-summary-products,
  body#checkout .cart-summary-line {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Móvil pequeño */
@media (max-width: 420px) {
  body#checkout h1 {
    font-size: 26px !important;
  }

  body#checkout .address-footer,
  body#checkout .address-actions {
    grid-template-columns: 1fr !important;
  }

  body#checkout .cart-summary-line {
    font-size: 14.5px !important;
  }
}

/* =========================================================
   CHECKOUT - PASO PAGO
   CD TECNOLOGÍA / PRESTASHOP 9 / HUMMINGBIRD
   ========================================================= */

/* Fondo general */
body#checkout {
  background: #f3f8fc !important;
  color: #10243b !important;
}

body#checkout #wrapper {
  background: linear-gradient(180deg, #f8fbff 0%, #eef7fb 100%) !important;
  padding: 42px 0 75px !important;
}

/* Contenedor ancho */
body#checkout .container {
  max-width: 1380px !important;
  width: 94% !important;
}

/* Columnas más equilibradas */
body#checkout .col-md-8,
body#checkout .col-lg-8 {
  flex: 0 0 68% !important;
  max-width: 68% !important;
}

body#checkout .col-md-4,
body#checkout .col-lg-4 {
  flex: 0 0 32% !important;
  max-width: 32% !important;
}

/* Caja principal del contenido */
body#checkout #content {
  background: #ffffff !important;
  border: 1px solid #dce8f2 !important;
  border-radius: 24px !important;
  padding: 38px 44px !important;
  box-shadow: 0 18px 45px rgba(18, 35, 58, 0.07) !important;
}

/* Título Pago */
body#checkout h1,
body#checkout #checkout-payment-step .step-title {
  font-size: 38px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  color: #17314f !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.7px !important;
}

body#checkout h1 + hr {
  border: none !important;
  border-top: 1px solid #dce7f1 !important;
  margin: 0 0 26px !important;
}

/* =========================================================
   MÉTODO DE PAGO
   ========================================================= */

/* Contenedor general de opciones de pago */
body#checkout #payment-option,
body#checkout .payment-options,
body#checkout #checkout-payment-step .content {
  max-width: 880px !important;
}

/* Cada opción de pago como tarjeta */
body#checkout .payment-option {
  background: #ffffff !important;
  border: 1px solid #cfe0ef !important;
  border-radius: 20px !important;
  padding: 24px 28px !important;
  margin-bottom: 18px !important;
  box-shadow: 0 14px 34px rgba(18, 35, 58, 0.07) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Barra lateral azul-verde */
body#checkout .payment-option::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 6px !important;
  height: 100% !important;
  background: linear-gradient(180deg, #006fd6 0%, #009b72 100%) !important;
}

/* Radio pago */
body#checkout .payment-option input[type="radio"] {
  accent-color: #009b72 !important;
  transform: scale(1.18) !important;
  margin-right: 14px !important;
}

/* Texto método de pago */
body#checkout .payment-option label {
  font-size: 18px !important;
  font-weight: 850 !important;
  color: #142943 !important;
  cursor: pointer !important;
}

/* Descripción debajo del método */
body#checkout .payment-option + .payment-option,
body#checkout .payment-option-description,
body#checkout #payment-option-1-additional-information,
body#checkout [id*="payment-option"][id*="additional-information"] {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #344b63 !important;
}

/* Texto "Usted paga..." */
body#checkout #checkout-payment-step p,
body#checkout .payment-option-description p {
  font-size: 16px !important;
  color: #344b63 !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
}

/* =========================================================
   TÉRMINOS Y CONDICIONES
   ========================================================= */

body#checkout .condition-label,
body#checkout .ps-shown-by-js .custom-checkbox,
body#checkout .js-terms {
  max-width: 880px !important;
}

body#checkout .custom-checkbox {
  background: #f7fbff !important;
  border: 1px solid #d6e7f5 !important;
  border-radius: 16px !important;
  padding: 17px 20px !important;
  margin: 24px 0 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body#checkout .custom-checkbox input[type="checkbox"] {
  accent-color: #006fd6 !important;
  transform: scale(1.16) !important;
}

body#checkout .custom-checkbox label,
body#checkout .condition-label label {
  color: #17283c !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

body#checkout .custom-checkbox a,
body#checkout .condition-label a {
  color: #006fd6 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

/* =========================================================
   BOTONES DEL PASO PAGO
   ========================================================= */

body#checkout #payment-confirmation,
body#checkout .payment-confirmation,
body#checkout .checkout-footer,
body#checkout .form-footer {
  max-width: 880px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 28px !important;
}

/* Botones generales */
body#checkout .btn,
body#checkout button {
  min-height: 50px !important;
  padding: 12px 26px !important;
  border-radius: 15px !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* Botón realizar pedido */
body#checkout #payment-confirmation button,
body#checkout .payment-confirmation button,
body#checkout .btn-primary,
body#checkout button[type="submit"] {
  background: linear-gradient(135deg, #006fd6 0%, #009b72 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 14px 30px rgba(0, 111, 214, 0.24) !important;
}

body#checkout #payment-confirmation button:hover,
body#checkout .payment-confirmation button:hover,
body#checkout .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 38px rgba(0, 111, 214, 0.30) !important;
}

/* Botón volver */
body#checkout .btn-secondary,
body#checkout a.btn {
  background: #ffffff !important;
  color: #006fd6 !important;
  border: 1px solid #bdd8f3 !important;
  box-shadow: 0 8px 20px rgba(0, 111, 214, 0.06) !important;
}

/* =========================================================
   RESUMEN DEL PEDIDO
   ========================================================= */

body#checkout #right-column {
  padding-left: 32px !important;
}

body#checkout #js-checkout-summary,
body#checkout .cart-summary {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #d5e4f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(18, 35, 58, 0.10) !important;
  overflow: hidden !important;
  position: sticky !important;
  top: 92px !important;
}

/* Encabezado del resumen */
body#checkout .cart-summary-products {
  padding: 18px 22px !important;
  border-bottom: 1px solid #e8eff6 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #17314f !important;
}

body#checkout .cart-summary-products a {
  color: #17314f !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* Líneas subtotal/transporte/total */
body#checkout .cart-summary-line {
  display: flex !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 17px 22px !important;
  border-bottom: 1px solid #e8eff6 !important;
  color: #17283c !important;
  font-size: 16px !important;
}

body#checkout .cart-summary-line .value {
  font-weight: 900 !important;
  color: #10243b !important;
  white-space: nowrap !important;
}

/* Total */
body#checkout .cart-summary-line.cart-total {
  background: linear-gradient(180deg, #f4fbf8 0%, #eef9f5 100%) !important;
  border-top: 1px solid #ccebe0 !important;
  border-bottom: none !important;
  font-size: 17px !important;
  font-weight: 950 !important;
}

/* =========================================================
   PASOS SUPERIORES
   ========================================================= */

body#checkout .checkout-progress {
  max-width: 780px !important;
  margin: 0 auto 42px !important;
}

body#checkout .checkout-progress .step-title,
body#checkout .checkout-step-title {
  font-size: 15px !important;
  font-weight: 850 !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {
  body#checkout .container {
    width: 96% !important;
  }

  body#checkout .col-md-8,
  body#checkout .col-lg-8 {
    flex: 0 0 65% !important;
    max-width: 65% !important;
  }

  body#checkout .col-md-4,
  body#checkout .col-lg-4 {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }

  body#checkout #content {
    padding: 32px !important;
  }

  body#checkout #right-column {
    padding-left: 22px !important;
  }
}

/* =========================================================
   TABLET VERTICAL Y MÓVIL
   ========================================================= */

@media (max-width: 991px) {
  body#checkout #wrapper {
    padding: 26px 0 48px !important;
  }

  body#checkout .col-md-8,
  body#checkout .col-lg-8,
  body#checkout .col-md-4,
  body#checkout .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  body#checkout #content {
    padding: 28px !important;
  }

  body#checkout #right-column {
    padding-left: 0 !important;
    margin-top: 28px !important;
  }

  body#checkout #js-checkout-summary,
  body#checkout .cart-summary {
    position: static !important;
    top: auto !important;
  }

  body#checkout #payment-confirmation,
  body#checkout .payment-confirmation,
  body#checkout .checkout-footer,
  body#checkout .form-footer,
  body#checkout .payment-options {
    max-width: 100% !important;
  }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {
  body#checkout #wrapper {
    padding: 18px 0 38px !important;
  }

  body#checkout .container {
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body#checkout #content {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  body#checkout h1,
  body#checkout #checkout-payment-step .step-title {
    font-size: 29px !important;
    letter-spacing: -0.4px !important;
  }

  body#checkout .payment-option {
    padding: 21px 18px 21px 22px !important;
    border-radius: 18px !important;
  }

  body#checkout .payment-option label {
    font-size: 16.5px !important;
  }

  body#checkout #checkout-payment-step p,
  body#checkout .payment-option-description p {
    font-size: 14.8px !important;
  }

  body#checkout .custom-checkbox {
    padding: 15px 14px !important;
    border-radius: 15px !important;
    align-items: flex-start !important;
  }

  body#checkout .custom-checkbox label,
  body#checkout .condition-label label {
    font-size: 14.5px !important;
  }

  body#checkout #payment-confirmation,
  body#checkout .payment-confirmation,
  body#checkout .checkout-footer,
  body#checkout .form-footer {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  body#checkout .btn,
  body#checkout button,
  body#checkout .btn-primary,
  body#checkout .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body#checkout #js-checkout-summary,
  body#checkout .cart-summary {
    border-radius: 18px !important;
  }

  body#checkout .cart-summary-products,
  body#checkout .cart-summary-line {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Móvil pequeño */
@media (max-width: 420px) {
  body#checkout h1,
  body#checkout #checkout-payment-step .step-title {
    font-size: 26px !important;
  }

  body#checkout .cart-summary-line {
    font-size: 14.5px !important;
  }
}

/* =========================================================
   CHECKOUT - MÉTODO DE ENVÍO
   CD TECNOLOGÍA / PRESTASHOP 9 / HUMMINGBIRD
   ========================================================= */

/* Fondo general */
body#checkout {
  background: #f3f8fc !important;
  color: #10243b !important;
}

body#checkout #wrapper {
  background: linear-gradient(180deg, #f8fbff 0%, #eef7fb 100%) !important;
  padding: 42px 0 75px !important;
}

/* Contenedor más ancho */
body#checkout .container {
  max-width: 1380px !important;
  width: 94% !important;
}

/* Columnas equilibradas */
body#checkout .col-md-8,
body#checkout .col-lg-8 {
  flex: 0 0 68% !important;
  max-width: 68% !important;
}

body#checkout .col-md-4,
body#checkout .col-lg-4 {
  flex: 0 0 32% !important;
  max-width: 32% !important;
}

/* Caja principal izquierda */
body#checkout #content {
  background: #ffffff !important;
  border: 1px solid #dce8f2 !important;
  border-radius: 24px !important;
  padding: 38px 44px !important;
  box-shadow: 0 18px 45px rgba(18, 35, 58, 0.07) !important;
}

/* Título */
body#checkout h1,
body#checkout #checkout-delivery-step .step-title {
  font-size: 38px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  color: #17314f !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.7px !important;
}

body#checkout h1 + hr {
  border: none !important;
  border-top: 1px solid #dce7f1 !important;
  margin: 0 0 26px !important;
}

/* =========================================================
   OPCIONES DE ENVÍO COMO TARJETAS
   ========================================================= */

/* Contenedor de opciones */
body#checkout .delivery-options,
body#checkout #delivery {
  max-width: 930px !important;
}

/* Cada opción */
body#checkout .delivery-option {
  background: #ffffff !important;
  border: 1px solid #cfe0ef !important;
  border-radius: 20px !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 14px 34px rgba(18, 35, 58, 0.06) !important;
  transition: all 0.2s ease !important;
}

/* Quitar líneas feas internas */
body#checkout .delivery-option,
body#checkout .delivery-option * {
  box-sizing: border-box !important;
}

/* Fila interna */
body#checkout .delivery-option .row {
  display: grid !important;
  grid-template-columns: 44px 82px 1.4fr 1.2fr auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 22px 24px !important;
}

/* Hover */
body#checkout .delivery-option:hover {
  transform: translateY(-2px) !important;
  border-color: #a9d5ee !important;
  box-shadow: 0 20px 44px rgba(18, 35, 58, 0.11) !important;
}

/* Opción seleccionada */
body#checkout .delivery-option:has(input[type="radio"]:checked) {
  border-color: #009b72 !important;
  box-shadow: 0 20px 44px rgba(0, 155, 114, 0.14) !important;
}

/* Barra lateral en seleccionada */
body#checkout .delivery-option:has(input[type="radio"]:checked)::before {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 5px !important;
  background: linear-gradient(90deg, #006fd6 0%, #009b72 100%) !important;
}

/* Radio */
body#checkout .delivery-option input[type="radio"] {
  accent-color: #009b72 !important;
  transform: scale(1.25) !important;
}

/* Imagen del método de envío */
body#checkout .delivery-option img {
  width: 66px !important;
  height: 66px !important;
  object-fit: contain !important;
  background: #f6fbff !important;
  border: 1px solid #dcebf7 !important;
  border-radius: 16px !important;
  padding: 7px !important;
}

/* Nombre del envío */
body#checkout .carrier-name,
body#checkout .delivery-option label,
body#checkout .delivery-option .h6 {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #10243b !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* Descripción */
body#checkout .carrier-delay,
body#checkout .delivery-option .delay,
body#checkout .delivery-option .carrier-delay {
  font-size: 15.5px !important;
  color: #4a5f76 !important;
  line-height: 1.4 !important;
}

/* Precio */
body#checkout .carrier-price,
body#checkout .delivery-option .price {
  justify-self: end !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #10243b !important;
  white-space: nowrap !important;
}

/* Precio gratis */
body#checkout .delivery-option .price:contains("Gratis"),
body#checkout .carrier-price:contains("Gratis") {
  color: #009b72 !important;
}

/* =========================================================
   COMENTARIO SOBRE EL PEDIDO
   ========================================================= */

body#checkout .delivery-options + .order-options,
body#checkout .order-options,
body#checkout #delivery textarea {
  max-width: 930px !important;
}

body#checkout .order-options {
  margin-top: 30px !important;
  background: #f7fbff !important;
  border: 1px solid #d6e7f5 !important;
  border-radius: 20px !important;
  padding: 22px !important;
}

body#checkout .order-options label,
body#checkout #delivery label {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #10243b !important;
  margin-bottom: 12px !important;
}

body#checkout #delivery textarea,
body#checkout textarea[name="delivery_message"] {
  width: 100% !important;
  min-height: 96px !important;
  border: 1px solid #cfe0ef !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  font-size: 15.5px !important;
  color: #10243b !important;
  background: #ffffff !important;
  resize: vertical !important;
  box-shadow: inset 0 1px 2px rgba(18, 35, 58, 0.04) !important;
}

body#checkout #delivery textarea:focus,
body#checkout textarea[name="delivery_message"]:focus {
  outline: none !important;
  border-color: #009b72 !important;
  box-shadow: 0 0 0 4px rgba(0, 155, 114, 0.10) !important;
}

/* =========================================================
   BOTONES INFERIORES
   ========================================================= */

body#checkout .checkout-footer,
body#checkout .form-footer {
  max-width: 930px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 28px !important;
}

body#checkout .btn,
body#checkout button {
  min-height: 50px !important;
  padding: 12px 26px !important;
  border-radius: 15px !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* Botón continuar */
body#checkout .btn-primary,
body#checkout button[name="confirmDeliveryOption"],
body#checkout button[name="confirmDeliveryOption"] {
  background: linear-gradient(135deg, #006fd6 0%, #009b72 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 14px 30px rgba(0, 111, 214, 0.24) !important;
}

body#checkout .btn-primary:hover,
body#checkout button[name="confirmDeliveryOption"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 38px rgba(0, 111, 214, 0.30) !important;
}

/* Botón volver */
body#checkout .btn-secondary,
body#checkout a.btn {
  background: #ffffff !important;
  color: #006fd6 !important;
  border: 1px solid #bdd8f3 !important;
  box-shadow: 0 8px 20px rgba(0, 111, 214, 0.06) !important;
}

/* =========================================================
   RESUMEN DEL PEDIDO
   ========================================================= */

body#checkout #right-column {
  padding-left: 32px !important;
}

body#checkout #js-checkout-summary,
body#checkout .cart-summary {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #d5e4f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(18, 35, 58, 0.10) !important;
  overflow: hidden !important;
  position: sticky !important;
  top: 92px !important;
}

body#checkout .cart-summary-products {
  padding: 18px 22px !important;
  border-bottom: 1px solid #e8eff6 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #17314f !important;
}

body#checkout .cart-summary-products a {
  color: #17314f !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body#checkout .cart-summary-line {
  display: flex !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 17px 22px !important;
  border-bottom: 1px solid #e8eff6 !important;
  color: #17283c !important;
  font-size: 16px !important;
}

body#checkout .cart-summary-line .value {
  font-weight: 900 !important;
  color: #10243b !important;
  white-space: nowrap !important;
}

body#checkout .cart-summary-line.cart-total {
  background: linear-gradient(180deg, #f4fbf8 0%, #eef9f5 100%) !important;
  border-top: 1px solid #ccebe0 !important;
  border-bottom: none !important;
  font-size: 17px !important;
  font-weight: 950 !important;
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1199px) {
  body#checkout .container {
    width: 96% !important;
  }

  body#checkout .col-md-8,
  body#checkout .col-lg-8 {
    flex: 0 0 65% !important;
    max-width: 65% !important;
  }

  body#checkout .col-md-4,
  body#checkout .col-lg-4 {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }

  body#checkout #content {
    padding: 32px !important;
  }

  body#checkout #right-column {
    padding-left: 22px !important;
  }

  body#checkout .delivery-option .row {
    grid-template-columns: 38px 74px 1.2fr 1fr auto !important;
    gap: 14px !important;
    padding: 20px !important;
  }
}

/* =========================================================
   TABLET VERTICAL Y MÓVIL
   ========================================================= */

@media (max-width: 991px) {
  body#checkout #wrapper {
    padding: 26px 0 48px !important;
  }

  body#checkout .col-md-8,
  body#checkout .col-lg-8,
  body#checkout .col-md-4,
  body#checkout .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  body#checkout #content {
    padding: 28px !important;
  }

  body#checkout #right-column {
    padding-left: 0 !important;
    margin-top: 28px !important;
  }

  body#checkout #js-checkout-summary,
  body#checkout .cart-summary {
    position: static !important;
    top: auto !important;
  }

  body#checkout .delivery-options,
  body#checkout .order-options,
  body#checkout .checkout-footer,
  body#checkout .form-footer {
    max-width: 100% !important;
  }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {
  body#checkout #wrapper {
    padding: 18px 0 38px !important;
  }

  body#checkout .container {
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body#checkout #content {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  body#checkout h1,
  body#checkout #checkout-delivery-step .step-title {
    font-size: 29px !important;
    letter-spacing: -0.4px !important;
  }

  body#checkout .delivery-option {
    border-radius: 18px !important;
  }

  body#checkout .delivery-option .row {
    grid-template-columns: 34px 64px 1fr !important;
    grid-template-areas:
      "radio image name"
      "radio image delay"
      "radio image price" !important;
    gap: 8px 12px !important;
    padding: 18px 16px !important;
  }

  body#checkout .delivery-option input[type="radio"] {
    grid-area: radio !important;
    align-self: center !important;
  }

  body#checkout .delivery-option img {
    grid-area: image !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 14px !important;
  }

  body#checkout .carrier-name,
  body#checkout .delivery-option label,
  body#checkout .delivery-option .h6 {
    grid-area: name !important;
    font-size: 15.5px !important;
  }

  body#checkout .carrier-delay,
  body#checkout .delivery-option .delay {
    grid-area: delay !important;
    font-size: 14px !important;
  }

  body#checkout .carrier-price,
  body#checkout .delivery-option .price {
    grid-area: price !important;
    justify-self: start !important;
    font-size: 14.5px !important;
  }

  body#checkout .order-options {
    padding: 18px 14px !important;
    border-radius: 17px !important;
  }

  body#checkout #delivery textarea,
  body#checkout textarea[name="delivery_message"] {
    min-height: 92px !important;
    font-size: 14.5px !important;
  }

  body#checkout .checkout-footer,
  body#checkout .form-footer {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  body#checkout .btn,
  body#checkout button,
  body#checkout .btn-primary,
  body#checkout .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body#checkout #js-checkout-summary,
  body#checkout .cart-summary {
    border-radius: 18px !important;
  }

  body#checkout .cart-summary-products,
  body#checkout .cart-summary-line {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Móvil pequeño */
@media (max-width: 420px) {
  body#checkout h1,
  body#checkout #checkout-delivery-step .step-title {
    font-size: 26px !important;
  }

  body#checkout .delivery-option .row {
    grid-template-columns: 30px 56px 1fr !important;
    gap: 7px 10px !important;
    padding: 16px 12px !important;
  }

  body#checkout .delivery-option img {
    width: 52px !important;
    height: 52px !important;
  }

  body#checkout .cart-summary-line {
    font-size: 14.5px !important;
  }
}