/* BASE PAGE STYLES */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  background: transparent;
  height: 100%;
  letter-spacing: 1px;
  text-align: center;
}

body {
  background: #fff;
  min-height: 100%;
  -ms-scroll-chaining: none;
  overscroll-behavior: none;
  padding: 0 20px;
  position: relative;
}

main {
  padding: 0px 0 6rem;
}

footer {
  background: hsl(0, 0%, 100%);
  bottom: 0;
  font-size: 0.8rem;
  left: 0;
  letter-spacing: 2px;
  padding: 14px 0;
  position: absolute;
  right: 0;
  width: 100%;
}

h1,
h2 {
  font-weight: 400;
}

h3,
h4,
h5,
h6 {
  margin-top: 0;
}

h1 {
  font-weight: 400;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  color: #000000;
  text-decoration: none;
}

a:hover {
  color: #00162c;
}

a:focus,
button:focus,
details:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
  -webkit-box-shadow: 0 0 3px 3px hsla(203, 95%, 62%, 0.8);
  box-shadow: 0 0 3px 3px hsla(203, 95%, 62%, 0.8);
  outline: none;
}

/* Navbar styles */
nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-top: 15px;
}

nav a,
nav a:active,
nav a:focus {
  border-radius: 25px;
}
nav a:hover {
  border: none;
}

.button-nav {
  border: none;
}

.button-nav:hover {
  border: none;
  box-shadow: 0px 0px 52px 0.8px rgba(0, 9, 44, 0.6);
  -webkit-box-shadow: 0px 0px 52px 0.8px rgba(0, 9, 44, 0.6);
  -moz-box-shadow: 0px 0px 52px 0.8px rgba(0, 9, 44, 0.6);
}

.menu-item {
  border-radius: 25px;
  flex: auto;
}
.menu-item:hover {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-shadow: 0px 0px 25px rgb(1, 7, 31, 1);
}

#logo-navbar {
  border: none !important;
  border-radius: 0px !important;
  padding-right: 1rem;
  padding-top: 0.5rem;
  height: 3.5rem; /* Adjust this value to fit your logo size */
}

.bag {
  padding-right: 0.4rem;
}

img {
  border-radius: 25px;
}

#site-cards .card {
  height: 15rem;
  border: none;
  border-radius: 25px;
}

#site-cards .card:hover {
  size: 1rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 0px 30px 1px rgba(10, 9, 44, 0.6);
  -webkit-box-shadow: 0px 0px 30px 1px rgba(0, 9, 44, 0.6);
  -moz-box-shadow: 0px 0px 30px 1px rgba(0, 9, 44, 0.6);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (max-width: 576px) {
  #site-cards .card {
    height: 10rem;
    border-color: white;
    border-radius: 25px;
    word-break: keep-all;
  }
}

#site-cards img {
  filter: opacity(40%);
  border-radius: 25px;
  height: 100%;
  object-fit: cover;
  width: auto;
}

#site-cards p {
  margin-top: 1rem !important;
  font-weight: 300;
}

#site-cards h5 {
  font-weight: 500;
}

#experience-cards .card {
  align-items: center;
  background-color: #00162c !important;
  height: 9rem;
  border: none;
  border-radius: 25px;
}

#experience-cards .card:hover {
  size: 1rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 0px 30px 1px rgba(10, 9, 44, 0.7);
  -webkit-box-shadow: 0px 0px 30px 1px rgba(0, 9, 44, 0.7);
  -moz-box-shadow: 0px 0px 30px 1px rgba(0, 9, 44, 0.7);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (max-width: 576px) {
  #experience-cards .card {
    height: 9rem;
    border-color: white;
    border-radius: 25px;
  }
}

@media (max-width: 990px) {
  #experience-cards .card {
    height: 10rem;
    border-color: white;
    border-radius: 25px;
  }
}

#experience-cards i {
  font-weight: bold;
  font-size: 2rem;
}

#experience-cards p {
  font-weight: 300;
}

#experience-cards h5 {
  margin-top: 0.3rem;
  font-weight: 700;
}

#brands-cards .card {
  border: none !important;
}

.card-nosotros {
  height: 18rem;
  width: auto;
  border: none;
  border-radius: 25px;
  background-color: #00162c;
  color: white;
  box-shadow: 0px 0px 30px 0px rgba(10, 9, 44, 0.5);
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 9, 44, 0.5);
  -moz-box-shadow: 0px 0px 30px 0px rgba(0, 9, 44, 0.5);
}

.card-nosotros .card-text {
  font-size: 0.98rem;
}

.card-nosotros h3 {
  margin-bottom: 1rem;
}

@media (max-width: 990px) {
  #nosotros-page-cards .card-text {
    font-size: 0.9rem; /* Size for small screens */
  }
}

@media (max-width: 400px) {
  #nosotros-page-cards .card-text {
    font-size: 0.7rem; /* Size for small screens */
  }
}

/*#distribuidores-imagen{
  max-height: 50vh;
  max-width: 100%;
  height:auto;
  width: auto;
}*/

#distribuidores-banner{
  background-image: url('../pictures/distribuidores_banner.jpg');
  background-size: cover;       /* Fill the container */
  background-repeat: no-repeat;
  background-position: center;  /* Keep it centered */
  height: 30vh;
  border-radius: 25px;
}
/*Not working
#distribuidores-banner::after{
  opacity: 0.3;
}*/
#distribuidores-card{
  align-items: center;
  background-color: #00162c !important;
  border: none;
  border-radius: 42px;
}

#distribuidores-card:hover{
  box-shadow: 0px 0px 30px 0px rgba(10, 9, 44, 0.7);
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 9, 44, 0.7);
  -moz-box-shadow: 0px 0px 30px 0px rgba(0, 9, 44, 0.7);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#distribuidores-card input{
  border-radius: 25px;
}

#distribuidores-card button{
  border-radius: 25px;
  border: none;
  background-color: #008CDB;
  color: #fff /*#59626a;*/
}

.button-modal{
  width: 6rem;
  border:none;
  border-radius: 25px;
  background-color: #012141;
  color:#fff;
  margin-left: 0.5rem; 
  margin-right: 0.5rem;
}

.button-modal:hover{
  width: 6rem!important;
  border:none;
  border-radius: 25px;
  background-color: #012141;
  color:#fff;
  margin-left: 0.5rem; 
  margin-right: 0.5rem;
  box-shadow: 0px 0px 30px 0px rgba(10, 9, 44, 0.7);
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 9, 44, 0.7);
  -moz-box-shadow: 0px 0px 30px 0px rgba(0, 9, 44, 0.7);
}

#contacto-soporte{
  background-color: #012141;
  color:white;
  border: none;
  border-radius: 42px;
}

.contacto{
  background-color: #012141;
  color:white;
  border: none;
  border-radius: 42px;  
}

.social-icon{
  width: 30;
  height: 30;
}

.meet-site {
  margin-top: 0.7rem !important;
}

.products-menu {
  margin-top:1rem;
  border: none;
  border-radius: 30px;
  /*width: 5rem !important;*/
  background: #00162c;
  color:white;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  display: inline-block!important;
}

.products-menu:hover {
  border: none;
  border-radius: 30px;
  /*width: 5rem !important;*/
  background: #00162c;
  color:white;
  box-shadow: 0px 0px 20px 0px rgba(10, 9, 44, 0.7);
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 9, 44, 0.7);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 9, 44, 0.7);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.products-menu:active{

  background-color: #00162c;
  color: white;

}


@media (min-width: 992px) {
  /* Custom styles for screen sizes larger than 768px (md) */
  .search-bar {
    width: 22rem !important;
  }
}

.dropdown_categories{
  border-radius: 25px;
  background-color: #00162c;
}

.dropdown_categories a{
  font-size: small!important;
  color:white;
}

.dropdown_categories hr{
  background:white;
}


.card-text{
  padding: 1rem;
  text-align: center !important;
}

.product-card{
  border: 1px solid #E6EAF0;
  border-radius: 25px;
  background:  #ffffff!important;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.product-card:hover{
  border-radius: 25px;
  box-shadow: 0px 0px 30px 1px rgba(24, 26, 28, 0.203);
  -webkit-box-shadow: 0px 0px 30px 1px rgba(24, 50, 56, 0.23);
  -moz-box-shadow: 0px 0px 30px 1px rgba(24, 50, 56, 0.23);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.product-card img{
  padding: 1.5rem !important;;
  border-radius: 2.5rem;
}


.add-cart-btn {
  border-radius: 25px;
  color: white!important;
  background: #00162c;
}

.add-cart-btn:hover {
  border-radius: 25px;
  color: white!important;
  background: #00162c;
  
  box-shadow: 0px 0px 30px 1px rgba(24, 26, 28, 0.203);
  -webkit-box-shadow: 0px 0px 30px 1px rgba(24, 50, 56, 0.23);
  -moz-box-shadow: 0px 0px 30px 1px rgba(24, 50, 56, 0.23);
}

footer {
  position: fixed;
  bottom: 0px;
  /*height:150px; */
}

/* Carousel responsive fixes */
.embla {
  overflow: hidden;
}

/* Ensure carousel images are fully visible on all screen sizes */
.embla__slide__number img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 400px) {
  .embla {
    --slide-height: 8rem;
    --slide-spacing: 0.1rem;
  }
  
  .embla__slide__number {
    border-radius: 0.6rem;
  }
  
  .embla__slide__number img {
    border-radius: 0.6rem;
  }
  
  .embla__button {
    width: 1.4rem;
    height: 1.4rem;
  }
}

@media (max-width: 350px) {
  /* Custom styles for screen sizes larger than 768px (md) */
  #YesModal {
    margin-top: 1rem;
  }
}
