.btn-primary { background-color: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background-color: var(--blue); border-color: var(--blue); }
.btn-primary:focus { box-shadow: 0 0 0 0.2rem rgba(255, 95, 95, 0.5); }

.btn-danger { background-color: var(--red); border-color: var(--red); }
.btn-danger:hover { background-color: var(--red); border-color: var(--red); }
.btn-danger:focus { box-shadow: 0 0 0 0.2rem rgba(255, 95, 95, 0.5); }

/*----- HEADER GENERAL -----*/
header {
    padding: 10px;
    background-color: #ebf0f7;
    border-bottom: 2px solid #dae2ed;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo img {
    width: 130px;
    max-width: 100%;
}

.menu-cart {
    width: 27px;
    height: 25px;
}

/*----- ESCRITORIO -----*/
.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav a {
    text-decoration: none;
    font-weight: 700;
    color: #000000;
    font-size: 14px;
}

nav button.btn-login, nav a.btn-login {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 20px !important;
    background: #1c73ff;
    border: 2px solid #1c73ff;
    color: #ffffff;
    border-radius: 999px;
}

nav button.btn-login:hover, nav a.btn-login:hover {
    background: #5997fc;
    border: 2px solid #5997fc;
    color: #ffffff;
}

nav button.btn-register, nav a.btn-register {
    font-size: 13px;
    font-weight: 700;
    padding: 7px 20px !important;
    background: transparent;
    border: 2px solid #000000;
    color: #000000;
    border-radius: 999px;
}

nav button.btn-register:hover, nav a.btn-register:hover {
    background: #000000;
    border: 2px solid #000000;
    color: #ffffff;
}

nav .dropdown-toggle {
    padding: 0px;
    font-size: 20px;
}

.signup {
    background-color: #0096ff;
    color: white;
    font-weight: 300;
    padding: 10px 17px;
    border-radius: 20px;
    text-decoration: none;
}

.cart-icon {
    font-size: 20px;
    color: #0096ff;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #000000;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 35px;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu.show {
  display: block;
  right: 0px;
  width: 265px;
  padding: 0px;
  border: 1px solid #dddddd;
  margin-top: 10px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  font-family: var(--font-text) !important;
}

.dropdown-menu a:hover {
  background-color: #f2f2f2;
}

/*----- MÓVIL -----*/
.mobile-menu {
    display: none;
    align-items: center;
    gap: 15px;
}

.menu-icon {
    font-size: 24px;
    color: #000000;
    cursor: pointer;
}

.mobile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: white;
    width: calc(100% - 40px);
    max-width: 300px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0px 15px;
}

.mobile-dropdown.show {
    display: block;
}

.mobile-dropdown a {
    display: block;
    padding: 10px 0;
    background-color: #fff;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown a:last-child {
    border-bottom: none;
}

.mobile-dropdown .signup {
    display: inline-block;
    margin-top: 10px;
}

.cart_count_menu_div {
    position: absolute;
    top: 20px;
    margin-left: 15px;
}

.cart_count_menu {
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--yellow) !important;
    color: #000;
    font-size: 13px;
    font-weight: 500;
}

.footer-logo {
    width: 200px;
    margin-bottom: 20px;
    max-width: 100%;
}

@media (max-width: 1920px) and (min-width: 1551px) {
}

@media (max-width: 1550px) and (min-width: 1401px) {

    header { padding: 10px 25px; }
    .logo img { width: 150px; }
    nav button.btn-login, nav a.btn-login { font-size: 14px; padding: 8px 23px !important; }
    .nav-links { gap: 20px; }
    nav a { font-size: 15px; }
}

@media (max-width: 768px) {
    
    @media (max-width: 576px) {
        header {
            padding: 15px 0px !important;
        }
    }
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .logo img {
        width: 150px;
        padding: 5px 0px;
    }
    
    .menu-cart {
        width: 24px;
        height: 22px;
    }

    .cart_count_menu_div {
        position: absolute;
        top: 15px;
        margin-left: 15px;
    }
}