@media (min-width: 1280px) {
 .container, .container-lg, .container-md, .container-sm, .container-xl {   max-width: 1220px; }
}

#wrapper {
	background-color: #F5F5F5;
}

.badge {
	font-size: 100%;
}

.product-flags__flag {
	background: #fcd500;
	color: #000;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 10px;
	padding: 5px 10px;
	pointer-events: auto;
	width: -moz-fit-content;
	width: fit-content;
	border-color: #fcf800;
}

.product-flags__flag--out_of_stock {
background: #dc3545;
}

.swiper-button-custom {
	color: #000;
	height: auto;
	margin: 3px;
	width: auto;
	border-color: #fcf800;
	background-color: #fcd500;
}


#subcategories .card-body:hover{
	box-shadow: 0 10px 25px rgb(0 0 0 / 20%);
}

.product-slider__item {
	display: flex;
	transition: transform .35s ease, box-shadow .35s ease;
	
}

.product-miniature { display: flex; flex-direction: column; height: 100%; } 
.product-miniature__actions { margin-top: auto; }


/* 1. El contenedor del slider debe permitir que los hijos se estiren */ 

.featured-products__slider .swiper-slide { height: auto !important; } 

@media (min-width: 768px) {
.featured-products__slider .swiper-slide { max-width: 20%; flex: 0 0 20%;} 
}

.product-miniature { display: flex; flex-direction: column; height: 100%; } 

.product-miniature__actions { margin-top: auto; }




.product-miniature__thumb img {
  transition: transform .4s ease;
}

.product-miniature:hover .product-miniature__thumb img {
  transform: scale(1.04);
}


.product-miniature__functional-btn {
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
}



.product-miniature {
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-miniature:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}



/* --- TARJETA --- */
.product-miniature {
  position: relative;
  transition: transform .25s cubic-bezier(.25,.8,.25,1), 
  box-shadow .25s ease, 
  border .25s ease;
  border-radius: 10px;
}

.product-miniature:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #ff3b30; /* Rojo deportivo */
}




/* --- EFECTO DE LÍNEAS DE VELOCIDAD --- */

.product-miniature:hover .product-miniature__thumb:after {
  opacity: 1;
}

/* --- QUICK VIEW ESTILO HUD --- */
.product-miniature__functional-btn {
  opacity: 0;
  transform: translateY(10px) scale(.8);
  transition: opacity .25s ease, transform .25s ease;
  background: #ff3b30 !important;
  color: #fff !important;
  border: none;
}

.product-miniature:hover .product-miniature__functional-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- BOTÓN AÑADIR AL CARRITO DEPORTIVO --- */

.add-to-cart:hover {
  background: #d32a22;
  transform: scale(1.05);
}


.btn-primary {
  background: linear-gradient(90deg, #FF3B30, #D32A22);
  border: none;
  text-transform: uppercase;
	padding: .5rem 0rem;
}

.btn-primary:hover {
  transform: scale(1.05);
}



/* MENÚ PRINCIPAL */ 
.main-menu, #_desktop_top_menu, .navbar-nav { 
display: flex; gap: 1.5rem; 
} 
.main-menu > li > a, #_desktop_top_menu a, .navbar-nav > li > a { 
position: relative; 
padding: 4px 14px 8px; 
} 
.main-menu > li > a:after, #_desktop_top_menu a:after, .navbar-nav > li > a:after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-primary); transition: width var(--transition-fast); }
.main-menu > li > a:hover:after, #_desktop_top_menu a:hover:after, .navbar-nav > li > a:hover:after { width: 100%; }




/* MENÚ PRINCIPAL */

.main-menu > li > a, #_desktop_top_menu a, .navbar-nav > li > a {
    transition: color .2s ease, font-weight .2s ease;
}

.main-menu > li:hover > a, .main-menu > li.current > a {    color: var(--primary-color);    font-weight: 600;
}





/* CONTENEDOR PRINCIPAL */
#carousel {
  background: #0b0b0b;
  border-top: 3px solid #ff3b30;
  border-bottom: 3px solid #ff3b30;
  padding: 1rem 0;
  position: relative;
}

/* IMAGEN */
#carousel .carousel-item img {
  width: 100%;
  border-radius: 10px;
  transition: transform .45s ease, filter .45s ease;
}

#carousel .carousel-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.15);
}

/* FIGURE */
#carousel figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: border .3s ease, box-shadow .3s ease;
}

#carousel .carousel-item:hover figure {
  border-color: #ff3b30;
  box-shadow: 0 18px 35px rgba(255, 59, 48, 0.35);
}

/* INDICADORES */
#carousel .carousel-indicators li {
  background-color: #ff3b30;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: .5;
  transition: .3s ease;
}

#carousel .carousel-indicators .active {
  opacity: 1;
  transform: scale(1.2);
}

/* CONTROLES IZQ / DER */
#carousel .carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 59, 48, 0.85);
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: .25s ease;
}

#carousel .carousel-control:hover {
  background: #ff3b30;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 18px rgba(255, 59, 48, 0.6);
}

/* POSICIÓN DE LOS BOTONES */
#carousel .left.carousel-control {
  left: 15px;
}

#carousel .right.carousel-control {
  right: 15px;
}

/* TEXTO DE LOS BOTONES */
#carousel .carousel-control:before {
  display: none;
}





/* ============================
   HEADER UFC / MMA / KICKBOXING
   ============================ */


/* ZONA SUPERIOR (idioma, cuenta, etc.) */
.header-top {
  padding: .4rem 0;
  border-bottom: 1px solid #1f1f1f;
}

.header-top a {
  color: #000 !important;
  text-transform: uppercase;
}

.header-top a:hover {
  color: #ff3b30 !important;
}





/* BUSCADOR */
.search-widget input[type="text"] {
  background: #111;
  border: 2px solid #ff3b30;
  color: #fff;
  border-radius: 8px;
  padding: .5rem .8rem;
}

.search-widget input[type="text"]:placeholder {
  color: #888;
}

.search-widget button {
  background: #ff3b30;
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: .5rem .8rem;
  transition: .25s ease;
}

.search-widget button:hover {
  background: #d32a22;
  transform: scale(1.05);
}

/* ICONOS (carrito, usuario, etc.) */
.material-icons, .header-nav .material-icons {
  color: #000 !important;
  font-size: 26px;
  transition: .25s ease;
}

.material-icons:hover {
  color: #ff3b30 !important;
}

/* CARRITO */


/* SUBMENÚS */
#ps_mainmenu .menu li ul {
  background: #111;
  border: 2px solid #ff3b30;
  border-radius: 8px;
  padding: .5rem 0;
}

#ps_mainmenu .menu li ul li a {
  color: #fff !important;
  padding: .5rem 1rem;
  display: block;
  transition: .25s ease;
}

#ps_mainmenu .menu li ul li a:hover {
  background: #ff3b30;
  color: #fff !important;
}


#product-availability {}


.card-body {
    padding: 0.4rem;
}

.price {
	color: #000;
}

.cms-content img  {
	width: 100%;
}

.custom-radio-color .custom-control-input-color {
    border-radius: 20%;
    height: 2rem;
    left: -1.5rem;
    top: 0;
    width: 2rem;
}

.js-select-link option {
    padding-left: 28px;
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 18px auto;
}


/* Banderas dinámicas según ISO */

.falcon-lang-flags {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.falcon-lang-flags li a:hover img {
    opacity: 0.7;
}

.falcon-lang-flags li.active img {
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
}

.product-miniature__thumb-link { display: flex; justify-content: center; align-items: center; }

.product-prices {	display: flex; }

.tax-shipping-delivery-label {line-height: 2.8rem;}

.modal-header {	background-color: #fcd500;	}

@media (max-width: 767px) {
.header-top__row {  background-color: #fcd500; }
}

.product-miniature__title {
	height: 100%!important;
}

.homeslider-container { float:none; }

.main-menu__sub {
box-shadow: 0 4px 12px rgba(0,0,0,.12); border: 1px solid #e5e5e5; border-radius: 4px;
}


/* Separadores verticales entre columnas del mega‑menú */
.mega-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px 40px;
    padding: 30px 40px;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Cada columna del mega‑menú */
.mega-menu > .menu-sub__content > ul > li {
    padding-right: 25px;
    position: relative;
}

/* Separador vertical entre columnas */
.mega-menu > .menu-sub__content > ul > li:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 1px;
    background: #e0e0e0;
}


.main-menu__dropdown {
	flex-wrap: wrap;
}



/* Asegura que los elementos con submenú tengan posición relativa */
.main-menu__item--sub {
  position: relative;
}

/* Mostrar el submenú al hacer hover */
.main-menu__item--sub:hover > .collapse.d-md-block {
  display: block !important;
  opacity: 1;
  visibility: visible;
}

/* Estilo y posición de los submenús de nivel 2, 3, 4... */
.main-menu__list--2,
.main-menu__list--3,
.main-menu__list--4 {
  position: absolute;
  top: 8px;
  left: 120px; /* Se abre hacia la derecha */
  background: #fff;
  min-width: 216px;
  border: 1px solid #ddd;
  z-index: 9999;
  display: none; /* Oculto por defecto */
}

/* Mostrar submenús internos al hacer hover */
.main-menu__item--sub:hover > .collapse.d-md-block > div > ul {
  display: block !important;
}
/* Añadir triángulo solo a los elementos con submenú */
.main-menu__item-link--hassubmenu > span {
  position: relative;
  padding-right: 18px; /* espacio para la flecha */
}

/* Flecha hacia abajo (nivel 0) */
.main-menu__item-link--top.main-menu__item-link--hassubmenu > span::after {
  content: "▾"; /* triángulo hacia abajo */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

/* Flecha hacia la derecha (niveles internos) */
.main-menu__item-link--sub.main-menu__item-link--hassubmenu > span::after {
  content: "▸"; /* triángulo hacia la derecha */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}


.banner img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* porque elegirnos */

.why-us {
  padding: 60px 20px;
  background: #fafafa;
  border-radius: 12px;
  margin-top: 40px;
}

.why-us__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #1A1A1A;
}

.why-us__title::before {
	 content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #D62828; /* color de la línea */
  transform: translateY(-50%);
  z-index: -1; /* la línea queda detrás del texto */
}


.why-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.why-us__item {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all .25s ease;
}

.why-us__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.why-us__icon {
  margin-bottom: 15px;
  color: #D62828;
}

.why-us__heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1A1A1A;
}

.why-us__text {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}
