:root {
  --txt-color: #31303b;
  --bg-color: #f5f3e9;
}

html,
body {
  background-color: var(--bg-color);
  color: var(--txt-color);
  height: 100%;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2rem;
  margin: 0;
  color: var(--primary-color);
}

h2 {
  font-size: 1.8rem;
  margin: 5px 0;
}

p {
    overflow-wrap: break-word;
}

.container {
    position: relative;
}

/*Header*/
header {
  padding: 20px 0;
}

/*Nav Menu*/
#nav-menu {
  background-color: var(--bg-color);
  white-space: nowrap;
}

#nav-menu .nav-item {
  background: rgba(0, 0, 0, 0.7);
}

#nav-menu ul li:first-child {
  margin-left: 0;
}

#nav-menu ul li:last-child {
  margin-right: 0;
}

#nav-menu li {
  padding: 5px;
  border-radius: 5px;
  min-width: 200px;
  text-align: center;
  margin: 0 5px;
  background-size: cover;
}

#nav-menu li:hover {
  background: var(--primary-color);
}

#nav-menu li a {
  color: white;
  border-radius: 2px;
  white-space: nowrap;
  font-size: 1rem;
}

#nav-menu li.active a {
  background: var(--primary-color);
}

#nav-menu li.active {
  background: var(--primary-color);
}

.scrollable-container {
  position: relative;
}
.scrollable {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-x: scroll;
  overflow-y: hidden;
  margin-top: 2px;
  margin-bottom: 2px;
}

.scrollable::-webkit-scrollbar {
  height: 2px;
}

.scrollable::-webkit-scrollbar-track {
  background-color: #f2f2f2;
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: #e4dfd0;
  border-radius: 10px;
}
.scrollable::-webkit-scrollbar-thumb:hover {
  background-color: #c5c5c5;
}

.scrollable-container .carousel-control-prev, .scrollable-container .carousel-control-next {
  position: relative;
  width: 25px;
  font-size: 25px;
  opacity: 1;
}
.scrollable-container .carousel-control-prev .fa-solid, .scrollable-container .carousel-control-next .fa-solid{
  color: black;
  background: white;
  border-radius: 50%;
}
.scrollable-container .carousel-control-prev .fa-solid:before, .scrollable-container .carousel-control-next .fa-solid:before{
  opacity: .5;
}

.scrollable-container .carousel-control-prev{
  left: 12.5px;
}
.scrollable-container .carousel-control-next{
  right: 12.5px;
}

/*Menu description*/
#menu-description p {
  text-align: center;
  font-size: 1rem;
}

/*Nav categories*/
#nav-categories {
  padding-bottom: 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid gray;
}

#nav-categories ul {
  margin: 0 auto;
}

#nav-categories li {
  border: 1px solid gray;
  border-left: none;
  border-bottom: none;
  padding: 5px 10px;
  text-align: center;
}

#nav-categories li:first-of-type {
  border-left:  1px solid gray;
}

#nav-categories li.active {
  border-bottom: 4px solid var(--primary-color);
}

#nav-categories li a {
  white-space: nowrap;
  font-size: 1rem;
}

/*----------Categories section---------*/
.category-section {
  border-top: 1px solid gray;
}

.category-section:first-of-type {
  border: none;
}

/* Item details */

.item-image {
  width: 100%;
  margin: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.item-text {
  font-weight: 200;
  font-size: 15px;
}
.item-category {
  font-weight: 300;
}
.return-icon {
  color: var(--primary-color);
  margin: 5px;
}
.more-button {
  padding-left: 0;
  text-decoration: none;
  color: var(--primary-color) !important;
  border: none;
  background-color: transparent;
}
.more-button:hover {
  background-color: transparent !important;
  color: var(--primary-color) !important;
}
.more-button:focus {
  background-color: transparent !important;
}

.modal-close-button {
  border: none;
  background-color: #fff;
  color: #6e6e6e;
}
.modal-close-button:hover {
  color: var(--primary-color) !important;
  background-color: transparent;
}
.modal-close-button:focus {
  background-color: transparent !important;
}
.detail-footer {
  height: 80px !important;
}
.modal-header {
  height: 30px;
  border-bottom: none;
  margin-top: 7px;
}
.btn-close {
  width: 40px !important;
  height: 40px !important;
}

.add-to-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 410px;
  height: 50px;
  border-radius: 4px;
  padding: 10px;
}
li{
  list-style: none !important;
}
.quantity-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.add-to-cart input[type="number"] {
  width: 40px;
  height: 100%;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
}

.add-to-cart button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-cart button.add-btn {
  border: 1px solid var(--primary-color);
  margin-left: 20px;
  padding: 10px 20px;
  opacity: 0.9;
}

.add-to-cart button:hover {
  opacity: 1;
}

.minus-btn, .minus, .plus, .plus-btn {
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: bold;
  line-height: 0.8;
  border: none;
  background-color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  opacity: 0.9;
}

.minus-btn:hover,
.plus-btn:hover, .minus:hover,
.plus:hover {
  opacity: 1;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.space {
  margin: 6px;
}
.cart-icon {
  font-size: 20px;
}
/*Item box*/

.item-box {
  margin: 15px 0;
}

.item-cover img {
  border-radius: 10px;
}

.item-box h3 {
  font-size: 1.2rem;
  font-weight: normal;
}

.item-box p {
  font-weight: lighter;
  margin-bottom: 5px;
}

.item-box .item-price {
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 5px;
}

.item-box a {
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.1s;
}
.tag-icon{
  font-size: 18px !important;
}
.tag-name{
  margin-left: 3.5px;
  font-size: 12px;
  font-weight: 400;
}

/*Footer*/

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 50px;
}

footer {
  width: 100%;
  margin-top: auto;
  text-align: center;
  align-items: center;
  padding: 5px 0;
}

.a-footer{
  color: #202020;
  font-size: 18px;
  font-weight: normal;
}
.a-footer:hover{
  background-color: none !important;
  color: #202020 !important;
  background: none;
}
.footer-hotelflow {
  font-size: 1rem;
  font-weight: lighter;
}

main {
    padding-bottom: 50px;
}

/* Scroll bar da pagina */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #b9b6b6;
}

/*---------Responsive----------*/
@media (min-width: 767px) { 
  .modal-dialog-item {
    max-width: 75%;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 96%;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  p {
    font-size: 0.8rem;
  }

  #nav-menu li {
    min-width: 175px;
  }
  #nav-menu li a {
    font-size: 0.8rem;
  }
  #menu-description p {
    font-size: 0.8rem;
  }
  #nav-categories li a {
    font-size: 0.8rem;
    
  }
  .a-footer{
    color: #202020;
    font-size: 15px;
    font-weight: normal;
  }
  .a-footer:hover{
    background-color: none !important;
    color: #202020 !important;
    background: none;
  }
  .footer-hotelflow {
    font-size: 0.8rem;
    font-weight: lighter;
  }
}
@media (max-width: 500px) {
  .box-item-cart .title-item-cart {
    font-size: 16px;
  }
  h1 {
    font-size: 1.2rem;
  }
  .item-box h3 {
    font-size: 1rem;
  }
  .item-box .item-price {
    font-size: 0.8rem;
  }
  .item-box a {
    font-size: 0.8rem;
  }

  .item-image {
    width: 100%;
  }
  .add-to-cart {
    width: 375px;
  }
  .add-btn {
    width: 275px;
    margin-bottom: 15px;
  }
  .a-footer{
    color: #202020;
    font-size: 15px;
    font-weight: normal;
  }
  .a-footer:hover{
    background-color: none !important;
    color: #202020 !important;
    background: none;
  }
  .footer-hotelflow {
    font-size: 0.7rem;
    font-weight: lighter;
  }
}
@media (max-width: 415px) {
  h1 {
    font-size: 1.2rem;
  }
  .item-box h3 {
    font-size: 1rem;
  }
  .item-box .item-price {
    font-size: 0.8rem;
  }
  .item-box a {
    font-size: 0.8rem;
  }

  .item-image {
    width: 100%;
  }
  .add-to-cart {
    width: 310px;
  }
  .quantity-container {
    width: 130px;
  }
  .add-btn {
    text-align: center;
    height: 50px;
    width: 250px;
    margin-bottom: 15px;
  }
  .cart {
    font-size: 14px;
  }

}

@media (max-width: 360px) {
  h1 {
    font-size: 1.2rem;
  }
  .item-box h3 {
    font-size: 1rem;
  }
  .item-box .item-price {
    font-size: 0.8rem;
  }
  .item-box a {
    font-size: 0.8rem;
  }

  .item-image {
    width: 100%;
  }
  .add-to-cart {
    width: 270px;
  }
  .quantity-container {
    width: 80px;
  }
  .add-btn {
    margin-left: 50px !important;
    text-align: center;
    height: 50px;
    width: 230px;
    margin-bottom: 15px;
  }
  .cart {
    font-size: 0px;
  }
}
@media (max-width: 320px) {
  h1 {
    font-size: 1.2rem;
  }
  .item-box h3 {
    font-size: 1rem;
  }
  .item-box .item-price {
    font-size: 0.8rem;
  }
  .item-box a {
    font-size: 0.8rem;
  }

  .item-image {
    width: 100%;
  }
  .add-to-cart {
    width: 230px;
  }
  .quantity-container {
    width: 70px;
  }
  .add-btn {
    text-align: center;
    height: 50px;
    width: 120px !important;
    margin-bottom: 15px;
  }
  .cart {
    font-size: 0px;
  }
  .a-footer{
    color: #202020;
    font-size: 11px;
    font-weight: normal;
  }
  .a-footer:hover{
    background-color: none !important;
    color: #202020 !important;
    background: none;
  }
  .footer-hotelflow {
    font-size: 0.7rem;
    font-weight: lighter;
  }
}
/*---------Responsive----------*/

@media (max-width: 767px) { 
    .container {
        max-width: 96%;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    p {
        font-size: 0.8rem;
    }
    
    #nav-menu li {
        min-width: 175px;
    }
    #nav-menu li a {
        font-size: 0.8rem;
    }
    #menu-description p {
        font-size: 0.8rem;
    }
    #nav-categories li a {
        font-size: 0.8rem;
    }
    
}
@media (max-width: 500px) { 
    h1 {
        font-size: 1.2rem;
    }
    .item-box h3 {
        font-size: 1rem;
    }
    .item-box .item-price {
        font-size: 0.8rem;
    }
    .item-box a {
        font-size: 0.8rem;
    }
    .more-button, .text-unavailable {
      font-size: 14px;
    }

    .item-image{
        width: 100%;
    }
    .add-to-cart{
        width: 375px;
    }
    .add-btn{
        width: 275px;
        margin-bottom: 15px;
    }
    
}
@media (max-width: 415px) { 
    h1 {
        font-size: 1.2rem;
    }
    .item-box h3 {
        font-size: 1rem;
    }
    .item-box .item-price {
        font-size: 0.8rem;
    }
    .item-box a {
        font-size: 0.8rem;
    }

    .item-image{
        width: 100%;
    }
    .add-to-cart{
        width: 310px;
    }
    .quantity-container{
        width: 130px;
    }
    .add-btn{
        text-align: center;
        height: 50px;
        width: 250px;
        margin-bottom: 15px;
    }
    .cart{
        font-size: 14px
    }
}

/*NOT FOUND PAGE*/
#not-found-page {
    text-align: center;
}

#not-found-page h1 {
    font-weight: 400;
    font-size: 150px;
}

#not-found-page p {
    margin-bottom: 25px;
}

#not-found-page a {
    background-color: #31303b;
    padding: 10px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    opacity: 0.9;
    font-weight: bold;
}

#not-found-page a:hover {
    opacity: 1;
}

@media (max-width: 360px) { 
    h1 {
        font-size: 1.2rem;
    }
    .item-box h3 {
        font-size: 1rem;
    }
    .item-box .item-price {
        font-size: 0.8rem;
    }
    .item-box a {
        font-size: 0.8rem;
    }

    .item-image{
        width: 100%;
    }
    .add-to-cart{
        width: 270px;
    }
    .quantity-container{
        width: 80px;
    }

    .add-btn{
        margin-left:50px !important;
        text-align: center;
        height: 50px;
        width: 230px;
        margin-bottom: 15px;
    }
    .cart{
        font-size: 0px;
    }
}
@media (max-width: 320px) { 
    h1 {
        font-size: 1.2rem;
    }
    .item-box h3 {
        font-size: 1rem;
    }
    .item-box .item-price {
        font-size: 0.8rem;
    }
    .item-box a {
        font-size: 0.8rem;
    }

    .item-image{
        width: 100%;
    }
    .add-to-cart{
        width: 230px;
    }
    .quantity-container{
        width: 70px;
    }
    .add-btn{
        text-align: center;
        height: 50px;
        width: 120px !important;
        margin-bottom: 15px;
    }
    .cart{
        font-size: 0px;
    }
}

/*select lang*/
select[name="language"] {
    font-size: 16px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    color: #333;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z" fill="%23333"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.5em center;
    background-size: 1.2em;
  }
  
  select[name="language"]:hover, 
  select[name="language"]:focus {
    background-color: #fff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    outline: none;
  }

  .language-selector {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 10px;
}

.language-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    font-size: 16px;
    color: #333;
    padding: 10px;
    padding-right: 30px;
    cursor: pointer;
}

.dropdown-menu {
    --bs-dropdown-min-width: auto;
}

.cart-btn-div {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 4;
}

.cart-btn-div span {
  color: white;
  background-color: rgb(236, 63, 63);
  /*border: 1px solid white;*/
  border-radius: 50%;
  font-size: 12px;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 5px;
  transform: translate(5px, -10px);
}

#cart-btn {
  background-color: var(--primary-color);
  border: none;
}

.sticky-top {
  z-index: 3;
}

#cartModal {
  margin: 0;
  padding-right: 0;
}
#cartModal .modal-dialog {
  background-color: var(--bg-color);
  min-height: 100%;
  width: 100%;
  margin: 0px;
  padding: 25px;
  --bs-modal-border-width: 0px;
}
@media (min-width: 576px) {
  #cartModal  .modal-dialog {
    margin-left: auto; 
  }
}

.box-item-cart {
  margin: 10px 0;
}

.box-item-cart h3 {
  font-size: 20px;
}

.item-subtotal {
  font-weight: bold;
  font-size: 16px;
}
.price {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.box-item-cart .item-price {
  font-size: 15px;
}

#cartModal h2 {
  font-size: 18px;
  color: var(--txt-color);
  font-weight: 400;
  margin: 10px 0;
  text-align: center;
}

#cartModal .modal-dialog .modal-content{
  background-color: var(--bg-color);
  height: 100%;
  width: 100%;
}

.btn-wpp {
  border: none;
  background-color: var(--primary-color);
  opacity: 0.9;
}

.btn-wpp:hover {
  opacity: 1;
  background-color: var(--primary-color);
}

.btn-wpp:active {
  opacity: 1;
  background-color: var(--primary-color) !important;
}

.btn-wpp:disabled {
  opacity: 0.6;
  background-color: #6e6e6e;
}

.img-item-cart {
  min-width: 80px;
}

.text-unavailable {
  color:red;
}


