.container {
    padding-top: 24px;
}
header{
    padding: 15px;
}
.row{
    display: flex;
}
.col-xs {
    padding: 0 79px;
}


.logo{
height: auto;
width: 65%;
margin-top: -9px;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
.material-symbols-outlined{
    font-size: 2.5em!important;
    color: #512B1E;
    font-size: 33px!important;
    margin: 0 -12px
    
}
.login-button {
  padding: 1px 29px;
    background-color: #fff;
    border: 2px solid #512B1E;
    color: #512B1E;
    border-radius: 15px;
    font-size: 15px!important;
    font-weight: 400;
}
.order-history {
    font-size: 1.2em!important;
    color: #512B1E!important;
}
.dropdown-toggle {
border-color: #512B1E!important;
    background-color: white!important;
    color: gray!important;
    border-radius: 15px!important;
    border: 2px solid #512B1E!important;
}

.caret {
    margin-left: 48px!important;
    color: #512B1E;
    border-top: 8px dashed!important;
    border-right: 5px solid transparent!important;
    border-left: 5px solid transparent!important;
}
.dropdown-menu {
    border: 2px solid #512B1E!important;
    border-radius: 15px!important;
}
.dropdown-menu>li>a {
    border-radius: 5px!important;
    padding: 4px 16px!important;
}
.dropdown-menu>li>a:hover {
background-color:  rgba(255, 166, 1, 0.647)!important;
}
.donut-banner img {
    width: 100%;
    padding-top: 7px;
}
.nav-container {
    background-color: #fff;
    border: none;
    box-shadow: 0px 0px 8px 2px lightgray;
    margin-top: 15px;
}
.navbar {
    list-style: none;
}
.navbar li {
    display: inline-block;
}
.navbar a{
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    color: black;
    padding: 14px 18px;
}
.navbar a:hover {
    color: #512B1E;
    text-decoration: none;
}
  .active, .btn:hover {
    background-color: #512B1E;
    color: white;
    font-weight: bolder;
  }
  .active a {
    text-decoration: none;
    color: white;
  }

/* HEADER */
.header {
  overflow: hidden;
  margin-top: -9px;
}

.header a {
  float: left;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 1em!important;
  color: #512B1E!important;
  line-height: 25px;
  border-radius: 4px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

.header a:hover {
  color: #000
  ;
}

.header a.active {
  background-color: dodgerblue;
  color: white;
}

.header-right {
  float: right;
}


/* MODAL */

.cart-button:hover {
  opacity: 0.8;
}
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:1000;
}
    .overlay:target {
        visibility: visible;
        opacity: 1;
        z-index: 1000;
    }
.popup {
  margin: 100px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 2s ease-in-out;
  z-index: 10000;
}
.overlay2 {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}
.overlay2:target {
  visibility: visible;
  opacity: 1;
}

.button {
  padding: 12px 0;
}
.name, .price {
  margin-top: 0;
  color: #333;
  font-family: robotoregular;
  font-size: 18px;
  font-weight: 600;
}

.popup img {
  margin-top: 10px;
    width: 50%;
    margin-bottom: 20px;
}
.loginLogo {
  max-width: 40%!important;
  margin-bottom: 10px!important;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #512B1E;
}
.popup .close {
  display: block;
}
.popup .close:hover {
  color: #512B1E;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
  text-align: center;
  font-size: 15px;
  font-family: 'robotoregular';
  margin-top: 15px;
}
.username, .password {
  width: 100%;
  padding: 12px 20px;
  display: block;
  border: 1px solid #512B1E;
  box-sizing: border-box;
  border-radius: 10px;
  font-size: 14px;
}
 .submit{
  background:linear-gradient(180deg,#8B6F47 45%,#512B1E 100%);
  color: white;
  padding: 14px 20px;
  margin-top: 7px;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 15px;
}
.submit:hover {
  opacity: 0.8;
}
span.psw {
  float: right;
  padding-top: 0;
  font-size: 11px;
}
label {
display: flex!important;
font-weight: 500!important;
color: #512B1E;
font-family: 'robotoregular';
font-size: 14px;
margin-bottom: 5px;
margin-top: 5px;
}
.psw {
font-size: 12px!important;
font-family: 'robotoregular';
line-height: 25px;
margin-bottom: -6px!important;
}
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
}

@media screen and (max-width: 1359px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
  
}
@media screen and (max-width:892px){
  .selector {
    margin-top: 28px!important;
  }
  }
@media screen and (min-width:892px){
.selector {
  margin-top: 30px!important;
}
}

  /* SEARCH BAR */
  .topnav-category {
    overflow: hidden;
    background-color: #fff;
    border: none;
    box-shadow: 0px 0px 8px 2px lightgray;
    margin-top: 15px;
    
  }
  
  .topnav-category a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 25px;
    text-decoration: none;
    font-size: 16px;
  }
  
  .topnav-category a:hover {
    background-color: #512B1E;
    color: white !important;
    font: weight 5px;
    font-size: 16px;
    text-decoration: none;
}
  
  .topnav-category a.active {
    background-color: #512B1E;
    color: white;
    font-weight:500;
    text-decoration: none;
  }
  
  .topnav-category .search-container {
    float: right;
    
  }
  
  .topnav-category input[type=text] {
    padding: 6px;
    margin-top: 8px;
    font-size: 15px;
    border:1px solid #512B1E;
    
  }
  
  .topnav-category .search-container button {
    float: right;
    padding: 6px 10px;
    margin-top: 8px;
    margin-right: 16px;
    background: #ddd;
    font-size: 15px;
    border: 1px solid #512B1E;
    cursor: pointer;
    background-color: #512B1E;
    color: white;
  }
  
  @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    .topnav-category .search-container {
      float: none;
    }
    .topnav-category a, .topnav-category input[type=text], .topnav-category .search-container button {
      float: none;
      display: block;
      width: 100%;
      margin: 0;
      padding: 14px;
    }
    .topnav-category input[type=text] {
      border: 1px solid #512B1E;  
    }
    .topnav-category a {
      text-align: left;
    }
    
  }
  @media (max-width:892px) {
      .topnav-category .search-container {
        float: none;
        display: inline-flex;
        width: 100%;
        margin-bottom: 10px;
        padding: 0 10px;
      }
      .topnav-category input[type=text], .topnav-category .search-container button   {
        float: none;
        display: block;
        width: 100%;
        margin: 0;
        padding: 14px;
      }
       
      .topnav-category input[type=text] {
        border: 1px solid #512B1E;  
        width: 350%;
      }
    .psw {
    display: block!important;
    }
    .card{
      gap: 16px;
    }
    .show-on-large {
      display: none;
    }
    .menu-button.navicon{
      display: block!important;
      cursor: pointer!important;
    }
    .show-on-large {
      display: none!important;
    }
    .order-history {
    display: none;
  }
  .material-symbols-outlined {
    display: none;
  }
  .login-button {
    display: none;
  }
  .header a {
    display: none;
  }
  .logo {
    height: auto;
    width: 65%;
    margin-top: -9px;
    
  }
  .header-right {
    display: none;
  }
}
  /* PRODUCT CARD */
.card {
    display: grid;
    flex-direction: column;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-auto-rows: auto;
    gap: 17px;
    margin-right: 78px;
    background-color: none; 
    border: none; 
}
  .product-card{
    width: 100%;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    background-color: #fff;
    margin: 24px 39px;
    padding: 10px;
    overflow: hidden;
    z-index: -1;
  }
  .product-image{
    width: 30%;
    height: 110px;
    margin-left: 10px;

  }
  .product-name{
    margin: 7px 22px;
    font-weight: 300;
    font-size: 16px;
    position: absolute;
  }
  .product-price{
    font-weight: 600;
    font-size: 15px;
  }
  .selector {
    display:flex;
    margin: 10px;
  }


  .icon {
    position: relative;
    left: 32%;
    right: auto;
  }
 

  .form-action {
    max-width: 40px;
    text-align: center;
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    border: none;
  }
  input[type=number]:focus{
    border: 1px solid white!important;
    
    } 
 
  .cart-qty-plus,
  .cart-qty-minus{
    width: 32px;
    height: 30px;
    background-color: white;
    border: 1px solid rgba(211, 211, 211, 0.178);
    border-radius: 0.25rem;
    font-size: 18px;
    box-shadow: 0px 1px 4px 1px lightgray;
    color: #512B1E;
  }
  .cart-qty-plus:hover,
  .cart-qty-minus:hover{
    background-color: #512B1E;
    color: #fff;
  }

  .icon {
    display: inline-flex;
    border-radius: 15px;
    position: relative;
    left: 32%;
    right: auto;
}
  
  .quantity {
    position: relative;
    bottom: 4px;
    font-weight: 600;
    font-size: 15px;
  }
  .add-to-cart-button {
    background: linear-gradient(180deg,#8B6F47 45%,#512B1E 100%);
    border: none;
    padding: 7px 20px;
    margin-top: -9px;
    text-align: center;
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 300;
    margin-top: 5px;
  }
    .add-to-cart-button:disabled {
        background: #ccc; 
        cursor: not-allowed;
        color: #666;
    }
  .orange-background {
    background-color: #512B1E;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    display: block;
    box-sizing: border-box;
    position: relative;
    bottom: 0px;
    z-index: -1;
  }
  .footer {
    position: relative;
    bottom: 11px;
  }
  /* Navicon Menu */
  .menu-button.navicon {
    color: rgba(255,255,255,0);
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: none;
    border: none;
    cursor: pointer;
  
    &:hover { cursor: pointer; }

    &:after {
        cursor: pointer;
        color: #512B1E;
        content: '\2630';
        font-size: 2em;
        margin: .2em;
        width: 1em;
        height: 1em;
        line-height: 1em;
        display: block;
    }

    &.expanded:after {
        content: '\2715';
    }
}
.show-on-large{
  display: none;
}
.menu-button.navicon {
  display: none;
  z-index: 1000;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.3);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 60px 20px 20px 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
  right: 0 !important;
  left: auto !important;
}

.mobile-menu a {
  display: block;
  padding: 15px 10px;
  color: #512B1E;
  text-decoration: none;
  font-size: 1.1em;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
  background-color: #f5f5f5;
}

.mobile-menu .material-symbols-outlined {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.mobile-menu .login-button {
  display: block;
  width: 100%;
  margin-top: 20px;
}



@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  
.name {
  display: flex;
  font-size: 15px;
}
}

/*@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}*/
@media screen and (max-width: 400px) {
.popupbutton {
  margin-top: 5px;
  margin-right: 25px;
}
}
