body {
  color: #004268;
  font-family: "Poppins", sans-serif !important;
}

body:not(.movilson-theme-dark) .movilson-header.active {
  background-color: #004268;
}

body:not(.movilson-theme-dark) .movilson-header.active .navbar-nav .nav-link {
  color: white !important;
}

body:not(.movilson-theme-dark) .movilson-header.active .custom-control-label,
body:not(.movilson-theme-dark)
  .movilson-header.active
  .movilson-header-button-cart
  span {
  color: white !important;
}

body:not(.movilson-theme-dark)
  .movilson-header.active
  #movilson-header-search-mobile
  img,
body:not(.movilson-theme-dark)
  .movilson-header.active
  #dropdownMiCuentaMobile
  img,
body:not(.movilson-theme-dark)
  .movilson-header.active
  #movilson-header-search
  img,
body:not(.movilson-theme-dark) .movilson-header.active #dropdownMiCuenta img {
  filter: unset;
}

body:not(.movilson-theme-dark) .movilson-title {
  color: #004268;
}

body:not(.movilson-theme-dark) .movilson-title.not-blue {
  color: white;
}

body:not(.movilson-theme-dark) .movilson-featured-item {
  color: #004268;
}

body:not(.movilson-theme-dark) .movilson-featured-item {
  background: #004268;
  color: white !important;
}

body:not(.movilson-theme-dark) .movilson-featured-item div > div {
  background: none !important;
}

body:not(.movilson-theme-dark) .kyodai-logo-black {
  display: none;
}

body.movilson-theme-dark .kyodai-logo-light {
  display: none;
}

body:not(.movilson-theme-dark) .movilson-copyrights-col-2 img {
  filter: none !important;
}

body {
  background: #fffff0;
}

body:not(.movilson-theme-dark) {
  background: #fffff0;
}

body:not(.movilson-theme-dark) #login_modal .modal-col-1 {
  background: #004268;
}

body:not(.movilson-theme-dark) .movilson-contacto-col-1 form small span {
  color: #004268 !important;
}

body.movilson-theme-dark .movilson-contacto-col-1 form small span {
  color: #004268 !important;
}

body:not(.movilson-theme-dark) #login_modal .modal-col-2 p a {
  color: #004268 !important;
}

body.movilson-theme-dark #login_modal .modal-col-2 p a {
  color: #004268 !important;
}

.movilson-header {
  background: #004268 !important;
}

body.movilson-theme-dark #login_modal .modal-col-1 {
  background: #004268;
}

body:not(.movilson-theme-dark) .movilson-catalogos-item > img {
  background: #1b1b1b;
}

body:not(.movilson-theme-dark) .movilson-user-nav-col-1 ul li.active a {
  color: #004268 !important;
}

body.movilson-theme-dark .movilson-user-nav-col-1 ul li.active a {
  color: #004268 !important;
}

body.movilson-theme-dark .modal-content {
  background: #1b1b1b;
}

body.movilson-theme-dark thead {
  background: #404040 !important;
}

body.movilson-theme-dark .total {
  color: white !important;
}

body .total {
  font-weight: 800;
}

body.movilson-theme-dark .close {
  color: white;
}

body.movilson-theme-dark #btnAjaxModalModalTitle {
  color: white;
}

.pagination li.active span {
  background: #004268 !important;
  border-color: #004268 !important;
}

body.movilson-theme-dark .movilson-user-nav-col-1 ul li a:hover {
  color: #004268 !important;
}

.movilson-categorias-home-item img {
  width: 50% !important;
  height: auto !important;
}

.movilson-categorias-home-item img {
  object-fit: contain;
}

@media (max-width: 991px) {
  .movilson-hero-item img {
    height: auto !important;
  }
}

body:not(.movilson-theme-dark) .movilson-user-nav-col-1 ul li a:hover {
  color: #004268 !important;
}

.movilson-catalogos {
  min-height: 70vh;
}

.movilson-menu-col-1 .nav-pills .nav-link.active,
.movilson-menu-col-2 .nav-pills .nav-link.active {
  background: #004268 !important;
  color: #fff !important;
}

.movilson-btn-primary,
.movilson-footer-col-1 .form-group .btn,
.movilson-footer-col-1 .form-group .movilson-btn {
  background: #004268;
  color: #fff !important;
  border: none !important;
}

.movilson-btn-primary:hover,
.movilson-footer-col-1 .form-group .btn:hover,
.movilson-footer-col-1 .form-group .movilson-btn:hover {
  background: #003554;
}

body:not(.movilson-theme-dark) .movilson-bg-gray,
body:not(.movilson-theme-dark) .about-section {
  background: #fffff0;
}

body.movilson-theme-dark .about-section p,
body.movilson-theme-dark .about-section h2 {
  color: white !important;
}

body:not(.movilson-theme-dark) .movilson-categorias-home-item {
  background: #ededed;
}

body.movilson-theme-dark .movilson-categorias-home-item {
  background: #1b1b1b;
}

body.movilson-theme-dark .movilson-header.active {
  background: #003554;
}

.movilson-categorias-home-item {
  flex-direction: row-reverse;
  justify-content: center !important;
}

.movilson-categorias-home-item strong {
  font-size: 1.3rem !important;
  margin-left: 1.5rem !important;

  text-align: center;
  width: 50%;
}

body.movilson-theme-dark .movilson-categorias-home-item strong {
  color: white;
}

body:not(.movilson-theme-dark) .movilson-categorias-home-item strong {
  color: #004268 !important;
}

.movilson-categorias-home a {
  border: none;

  overflow: hidden;
}

.movilson-categorias-home.categorias {
  background: url("/bundles/appfrontend/img/categorias-bg.png") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position-y: bottom !important;
}

.movilson-marcas {
  background: url("/bundles/appfrontend/img/categorias-bg.png") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position-y: bottom !important;
}

body.movilson-theme-dark .movilson-marcas-item {
  background: #1b1b1b !important;
}

body:not(.movilson-theme-dark) .movilson-marcas-item {
  /* background: #FFFFF0 !important; */

  background: #1b1b1b !important;
}

body.movilson-theme-dark .movilson-copyrights {
  background: #1b1b1b !important;
}

body:not(.movilson-theme-dark) .movilson-copyrights {
  background: #fffff0 !important;
}

body:not(.movilson-theme-dark) .table {
  color: #004268;
}

body.movilson-theme-dark .table {
  color: white;
}

body:not(.movilson-theme-dark) .carrito-title {
  color: #004268;
}

body.movilson-theme-dark .carrito-title {
  color: white;
}

.btn.btn-danger.btn-block.btn-finalizar-compra {
  color: white;
}

body:not(.movilson-theme-dark) .btn,
.movilson-btn {
  color: #004268;
}

body.movilson-theme-dark .btn,
.movilson-btn {
  color: white;
}

body:not(.movilson-theme-dark) .container.checkout label,
body:not(.movilson-theme-dark) .container.checkout h2,
body:not(.movilson-theme-dark) .container.checkout h3 {
  color: #004268;
}

body.movilson-theme-dark .container.checkout label,
body.movilson-theme-dark .container.checkout h2,
body.movilson-theme-dark .container.checkout h3 {
  color: white;
}

.cart-product-item a {
  color: #004268;
}

.cart-product-item a:hover {
  color: #004268;
}

.container.checkout,
.gracias.checkout {
  padding-top: 3rem;
}

.gracias-check {
  margin-bottom: 1rem;
}

.btn-row-checkout {
  margin-top: 1rem;
}

.btn-ver-carrito {
  border: none;
  color: white;
}

.btn-siguiente {
  font-weight: 600;
  color: white;
}

body:not(.movilson-theme-dark) .gracias.checkout,
body:not(.movilson-theme-dark) .gracias-details {
  color: #004268;
}

body.movilson-theme-dark .gracias.checkout,
body.movilson-theme-dark .gracias-details {
  color: white;
}

[data-rol="content-carrito"] > div:nth-child(3) p span {
  color: #004268 !important;

  font-size: 18px;
  line-height: 20px;
  float: right;
}
[data-rol="content-carrito"] > div [data-rol="total-carrito"] {
  color: #004268 !important;
}

[data-rol="content-carrito"] > div:nth-child(3) .btn:nth-child(2) {
  background: #004268 !important;
}

[data-rol="content-carrito"] > div:nth-child(3) {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding-top: 24px;
  margin-top: 24px;
  justify-content: center;
}

.movilson-wsp {
  z-index: 99 !important;
}

[data-rol="content-carrito"] > div:nth-child(3) .btn:nth-child(2) {
  background: var(--cart-primary-color);
  margin-right: 8px !important;
}

[data-rol="content-carrito"] > div:nth-child(3) .btn:nth-child(3) {
  background: var(--cart-secondary-color);
  margin-left: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

[data-rol="content-carrito"]
  > div:nth-child(2)
  ul
  li
  > div:nth-child(2)
  p
  [data-rol="precio-pu"] {
  font-weight: 700;
  color: #004268 !important;
}

[data-rol="content-carrito"]
  > div:nth-child(2)
  ul
  li
  > div:nth-child(2)
  [data-rol="boton-removeFromCart"] {
  border-radius: 10px;
  padding: 5px 7px;
}

[data-rol="content-carrito"]
  > div:nth-child(2)
  ul
  li
  > div:nth-child(2)
  [data-rol="boton-removeFromCart"]
  img {
  filter: invert(1);
}

.productos-table td {
  vertical-align: middle;
}

.small-title {
  letter-spacing: 0.3em;
  color: #004268;
  font-weight: 500;
}

.main-title {
  color: #004268;
  letter-spacing: 0.05em;
}

/* Imagen principal (por si no tenés object-fit-cover) */
#aboutMainImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 3rem;
  transition: opacity 180ms ease;
}

/* ====== Thumbs ====== */
.thumb-btn {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  transform: translateZ(0);
  cursor: pointer;

  /* estado NO activo (gris) */
  opacity: 0.55;
  filter: grayscale(1);
  transition:
    opacity 160ms ease,
    filter 160ms ease,
    transform 160ms ease;
}

.thumb-btn:hover {
  opacity: 0.8;
}

.thumb-btn.is-active {
  outline: 2px solid #004268;
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.03);
}

/* Thumbs un poco más grandes */
.thumb-img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* ====== Contenedor tipo "slider" para ver 3 thumbs ====== */
.thumbs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

/* ventana que “recorta” y deja ver solo ~3 */
.thumbs-viewport {
  width: 360px; /* ~3 thumbs (110*3 + gaps) */
  overflow: hidden;
}

.thumbs-track {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto; /* permite centrar con scrollIntoView */
  scroll-behavior: smooth;
  padding: 2px; /* para que no corte el outline */
}

/* Ocultar scrollbar (opcional, mejora estética) */
.thumbs-track::-webkit-scrollbar {
  height: 0;
}
.thumbs-track {
  scrollbar-width: none;
}

/* ====== Botones prev/next ====== */
.arrow-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.arrow-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

/* hidden helper */
.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 992px) {
  .table td,
  .table th {
    padding: 0.75rem 0rem;
  }

  [data-rol="content-carrito"] > div:nth-child(2) {
    height: calc(100vh - 300px) !important;
  }
}

@media (min-width: 992px) {
  .movilson-content {
    margin-top: 0rem !important;
  }

  .thumbs-viewport {
    width: 270px;
  } /* 2 thumbs aprox */
  .thumb-img {
    width: 95px;
    height: 68px;
  }
  .movilson-featured .owl-next,
  .movilson-featured .owl-prev {
    background: #004268 !important;
  }
  .movilson-header .navbar-nav .nav-item:hover .nav-link {
    border-color: white !important;
  }

  [data-rol="content-carrito"] > div:nth-child(2) {
    height: calc(100vh - 280px) !important;
  }

  [data-rol="content-carrito"] > div:nth-child(3) .btn:nth-child(2) {
    line-height: 1.2 !important;
  }
}
