.nav-button,
body {
  background-color: #1a1a1a;
  color: #e5e5e5
}

.cart-counter,
.cell,
.item-name,
.item-total,
.payment {
  font-weight: 700
}

#addressModal1,
#addressModal2,
#countryModal,
#forgotPasswordModal,
#itemDescriptionModal,
#orderModal,
#ordersModal,
#resetPasswordModal {
  overflow-x: hidden;
  width: 300px;
  max-height: calc(100% - 100px);
  display: none;
  overflow-y: auto
}

#best-seller,
.item-total,
.modal-content,
.order-item span,
body {
  text-align: center
}

body {
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.6;
  position: relative
}

.logo {
  width: 100%;
  height: auto
}

.header {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(10px)
}

.carousel {
  overflow-x: hidden;
  position: relative;
  width: 100%
}

.carousel-container {
  display: flex;
  flex-wrap: nowrap;
  transition: transform .5s
}

.product {
  box-shadow: 0 4px 6px rgb(0 0 0 / .1);
  transition: transform .3s;
  flex-direction: column;
  justify-content: space-between;
  height: 300px
}

.product p:first-of-type {
  margin: 12px 0
}

.product p:last-of-type {
  margin: 14px 0
}

.product-image {
  min-height: 130px;
  height: 130px;
  width: auto;
  margin: 0 auto;
  object-fit: contain
}

.converted-price,
.genre,
.product_name,
.radio {
  white-space: nowrap
}

button {
  transition: .3s
}

button:hover {
  opacity: .9
}

button:active {
  transform: scale(.98)
}

.nav-button,
.slider i {
  transform: translateY(-50%)
}

.nav-button {
  position: absolute;
  top: 50%;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  user-select: none
}

#addressModal1,
#addressModal2,
#orderModal,
.cart-popup {
  left: 50%;
  z-index: 1002;
  box-shadow: 0 0 10px rgb(0 0 0 / .2)
}

.nav-button.left {
  left: 0
}

.nav-button.right {
  right: 0
}

@keyframes scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(calc(-100% * var(--current-index, 0)))
  }
}

p.converted-price {
  color: #90753b;
  font-size: 20px
}

.product {
  min-height: 300px;
  background-color: #121212;
  padding: 20px;
  border: 1px solid #90753b;
  border-radius: 10px;
  margin: 10px;
  width: 150px;
  max-height: 500px;
  display: inline-block
}

.addToCartButton,
.currency-select select,
.product button {
  color: #e5e5e5;
  padding: 8px 16px;
  transition: background-color .3s;
  cursor: pointer
}

.cart-counter,
.remove-button img {
  width: 20px;
  height: 20px
}

.product:hover {
  transform: translateY(-5px)
}

.product img {
  max-width: 100%
}

.product h2 {
  color: #e5e5e5;
  font-size: 24px;
  margin-bottom: 16px
}

#currencySymbol,
#discountedAmount,
.product p {
  color: #e5e5e5
}

.addToCartButton,
.product button {
  background-color: #1a1a1a;
  border: 2px solid #90753b;
  border-radius: 5px
}

.addToCartButton:hover,
.black-button:hover,
.cart-counter,
.dropdown-content button:hover,
.product button:hover,
.quantity-button:hover,
.remove-button:hover,
.signin-buttons .signin-button:hover,
.tab.active {
  background-color: #90753b
}

.currency-select,
.settings-option {
  margin-bottom: 20px
}

.confirm-button:hover,
.currency-select select {
  background-color: #121212;
  border: 2px solid #90753b;
  border-radius: 5px
}

#login-user:hover,
.currency-select select:hover,
.login-btn:hover,
input:checked+.slider {
  background-color: #1a1a1a
}

h2 {
  color: #90753b;
  font-size: 24px;
  margin-top: 10px
}

.tracking-number,
p {
  color: #e5e5e5;
  font-size: 18px
}

#orderItems,
.app-buttons,
.social-buttons {
  margin-top: 20px
}

.app-buttons a,
.social-buttons a {
  color: #90753b;
  font-size: 24px;
  margin: 0 10px
}

#best-seller {
  flex-grow: 1;
  margin: 0
}

.cart-container {
  display: flex;
  align-items: center;
  cursor: pointer
}

.cart-counter {
  color: #e5e5e5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  position: relative;
  top: -17px;
  right: -5px
}

.cart-popup {
  transform: translateX(100%);
  transition: transform .3s ease-in-out;
  position: fixed;
  border: 1px solid #90753b;
  border-radius: 10px;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #1a1a1a;
  color: #e5e5e5;
  padding: 20px;
  width: 400px;
  max-height: 80vh;
  display: flex;
  flex-direction: column
}

.cart-popup.show {
  transform: translate(-50%, -50%)
}

.cart-header {
  position: sticky;
  top: 0;
  background-color: #1a1a1a;
  padding: 10px 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.cart-title {
  margin: 0
}

.cart-item,
.detail-line:last-of-type,
.kuwait_address .cart_avenue,
.kuwait_address .cart_block,
.kuwait_address .cart_bulliding,
.kuwait_address .cart_floor,
.kuwait_address .cart_street {
  margin-bottom: 10px
}

.close-button {
  background: 0 0;
  border: none
}

.cart-popup-inner {
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-right: 10px
}

.cart-item,
.quantity-controls,
.theme-switch-wrapper {
  align-items: center;
  display: flex
}

.cart-popup-inner::-webkit-scrollbar {
  width: 8px
}

.cart-popup-inner::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 4px
}

.cart-popup-inner::-webkit-scrollbar-thumb {
  background: #90753b;
  border-radius: 4px
}

#login-user,
.cart-item {
  border: 2px solid #90753b
}

.cart-popup-inner::-webkit-scrollbar-thumb:hover {
  background: #a08b50
}

.cart-items,
.detail-line,
.login .section-break {
  width: 100%
}

.cart-item {
  padding: 10px;
  border-radius: 10px
}

.item-name,
.item-price {
  margin-bottom: 5px;
  color: #e5e5e5
}

.item-image {
  width: 50px;
  height: auto;
  object-fit: cover;
  margin-right: 15px
}

.item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: right
}

.item-price {
  font-size: .9em
}

.quantity-button {
  display: flex;
  align-items: center;
  justify-content: center
}

.quantity {
  margin: 0 10px;
  color: #e5e5e5
}

.item-total {
  color: #e5e5e5;
  margin-left: 5px;
  margin-right: 15px
}

.quantity-button,
.remove-button {
  background-color: #90753b;
  color: #e5e5e5;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .3s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px
}

.cell,
.checkbox-wrapper-27 input[type=checkbox]:checked~.checkbox__icon,
.checkbox-wrapper-27 input[type=radio]:checked~.checkbox__icon,
.order-type label,
.payment,
.user-address h3,
body.light-mode .settings-menu h3 {
  color: #90753b
}

.login,
.order-type {
  flex-direction: column
}

.plus::after {
  content: ''
}

.minus::after {
  content: '-'
}

.table {
  display: table;
  width: 100%
}

.row,
.total-amount {
  display: table-row
}

.cell {
  display: table-cell;
  padding: 5px 10px
}

.total-amount p,
.total-amount span {
  margin: 0;
  color: #90753b
}

.flag-icon,
.signin-button img,
.user-address .detail-line strong {
  margin-right: 10px
}

#addressModal1,
#addressModal2,
#orderModal {
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #1a1a1a;
  color: #e5e5e5;
  padding: 20px;
  border-radius: 10px;
  border-color: #90753b
}

#login-user,
.login-btn {
  position: relative;
  padding: 8px 16px;
  font-size: large;
  transition: background-color .3s;
  background-color: #90753b;
  cursor: pointer
}

#addressModal1 form,
#addressModal2 form,
#forgotPasswordModal form,
#orderModal form,
#resetPasswordModal form {
  display: grid;
  gap: 1rem
}

.payment {
  margin-bottom: 0
}

input:focus {
  box-shadow: 0 0 5px rgb(144 117 59 / .5)
}

#addressModal1 form input,
#addressModal2 form input,
#forgotPasswordModal form input,
#orderModal form input,
#resetPasswordModal form input {
  background-color: #1a1a1a;
  outline: 0;
  border: 3px solid #90753b;
  height: 1.4rem;
  width: 269px;
  color: #e5e5e5;
  border-radius: 5px;
  font-size: .8rem;
  caret-color: #e5e5e5
}

#addressModal1 form select,
#addressModal2 form select,
#orderModal form select {
  background-color: #1a1a1a;
  outline: 0;
  border: 3px solid #90753b;
  height: 1.9rem;
  width: 280px;
  color: #e5e5e5;
  border-radius: 5px;
  font-size: .8rem;
  caret-color: #e5e5e5
}

#orderForm input {
  width: 95% !important
}

#orderForm select {
  width: 98% !important
}

#addressModal1 form input::placeholder,
#addressModal2 form input::placeholder,
#orderModal form input::placeholder {
  color: gray;
  font-size: .8rem
}

#addressModal1 .close-button,
#addressModal2 .close-button,
#orderModal .close-button {
  position: absolute;
  top: -10px;
  right: -5px;
  font-size: 24px;
  cursor: pointer
}

.order-type {
  display: flex;
  align-items: baseline;
  gap: inherit
}

option img {
  display: block;
  width: 1rem
}

#login-user {
  color: #e5e5e5;
  border-radius: 5px
}

.login-btn {
  border: 2px solid #90753b;
  border-radius: 5px;
  color: #e5e5e5
}

.selected-language,
.selected-country {
  display: flex;
  align-items: center;
  font-size: 15px;
  border-radius: 5px;
  transition: background-color .3s
}

.selected-language:hover,
.selected-country:hover {
  background-color: #e5e5e5;
  color: #121212
}

.flag-icon {
  font-size: 15px
}

.dropdown-content button {
  align-items: center;
  font-size: 15px;
  transition: background-color .3s;
  border: 2px solid #1a1a1a;
  border-radius: 3px
}

.dropdown-content button:hover {
  color: #121212
}

.dropdownlist {
  margin-left: 1rem
}

.dropdownlist select {
  width: 10rem;
  height: 2.3rem;
  font-size: 1rem;
  background-color: #1a1a1a;
  color: #e5e5e5;
  border: 2px solid #90753b;
  border-radius: 5px
}

.splide__arrow,
.splide__pagination__page.is-active,
body.light-mode .splide__pagination__page.is-active {
  background: #90753b !important
}

.dropdownlist select option {
  font-size: 1rem;
  height: 2rem
}

.login {
  display: flex;
  justify-content: center;
  align-items: center
}

.signin-buttons,
.signin-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem
}

.signin-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  box-shadow: none;
  border: 2px solid #90753b;
  transition: .3s
}

#addressDetails,
.order-item {
  border-bottom: 1px solid #90753b
}

.signin-button p {
  color: #e5e5e5;
  font-size: .8rem
}

.signin-button .signin-img {
  width: 2rem
}

.signin-input-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  justify-content: center;
  align-items: center;
  padding-bottom: 1rem
}

.signin-input-group input {
  border-bottom: 2px solid #90753b;
  outline: 0
}

#forgot,
#next {
  cursor: pointer;
  display: block;
  padding: .5rem;
  width: 60%;
  background-color: #90753b;
  border: 2px solid #90753b;
  color: #e5e5e5;
  border-radius: 2rem;
  transition: .2s
}

#orderItems .header-row,
#totalKWD,
.login #signup a,
.order-prices td.value {
  color: #90753b;
  font-weight: 700
}

#forgot:hover,
#next:hover {
  transform: scale(1.1)
}

.login #signup {
  font-size: 1rem
}

.login #signup a {
  text-decoration: none;
  transition: .5s
}

.login #signup a:hover {
  text-decoration: underline;
  transform: scale(1.1)
}

@media screen and (min-width:768px) {
  .signin-buttons {
    display: flex;
    flex-direction: row
  }

  .signin-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
  }

  .signin-form .signin-input-group {
    width: 100%
  }

  .signin-form .signin-input-group input {
    width: 80%
  }

  #forgot,
  #next {
    width: 40%
  }
}

.product-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 20px
}

@media screen and (max-width:640px) {
  .product {
    min-width: 210px
  }
}

@media screen and (max-width:500px) {
  .cart-popup {
    padding: 20px;
    width: 350px;
    margin: 0 10px;
    left: 48%
  }
}

#countryModal,
#forgotPasswordModal,
#itemDescriptionModal,
#ordersModal,
#resetPasswordModal,
.modal {
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgb(0 0 0 / .2)
}

@media screen and (max-width:400px) {
  .product-header {
    margin: 0 8px
  }

  #best-seller h2 {
    font-size: 20px
  }

  .cart-popup {
    width: 300px
  }

  .cart-popup-inner {
    width: 100%
  }
}

.login.hide {
  display: none
}

.login-btn a {
  text-decoration: none;
  color: #e5e5e5
}

.checkbox-wrapper-27 .checkbox,
.checkbox-wrapper-27 .radio {
  cursor: pointer;
  -webkit-tap-highlight-color: #e5e5e50;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}

.checkbox-wrapper-27 .checkbox>input[type=checkbox],
.checkbox-wrapper-27 .radio>input[type=radio] {
  position: absolute;
  opacity: 0;
  z-index: -1
}

.checkbox-wrapper-27 .checkbox__icon {
  display: inline-block;
  color: #e5e5e5;
  vertical-align: middle;
  margin-right: 5px
}

.checkbox-wrapper-27 .checkbox__icon:before {
  font-family: icons-27;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.checkbox-wrapper-27 .icon--check:before,
.checkbox-wrapper-27 input[type=checkbox]:checked~.checkbox__icon:before,
.checkbox-wrapper-27 input[type=radio]:checked~.checkbox__icon:before {
  content: "\e601"
}

.checkbox-wrapper-27 .checkbox__icon:before,
.checkbox-wrapper-27 .icon--check-empty:before {
  content: "\e600"
}

@font-face {
  font-family: icons-27;
  font-weight: 400;
  font-style: normal;
  src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRk9UVE8AAAR4AAoAAAAABDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAPgAAAD4fZUAVE9TLzIAAAHsAAAAYAAAAGAIIvy3Y21hcAAAAkwAAABMAAAATBpVzFhnYXNwAAACmAAAAAgAAAAIAAAAEGhlYWQAAAKgAAAANgAAADYAeswzaGhlYQAAAtgAAAAkAAAAJAPiAedobXR4AAAC/AAAABgAAAAYBQAAAG1heHAAAAMUAAAABgAAAAYABlAAbmFtZQAAAxwAAAE5AAABOUQYtNZwb3N0AAAEWAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAAB8Dx0AAACBER0AAAAJHQAAAO8SAAcBAQgPERMWGyBpY29tb29uaWNvbW9vbnUwdTF1MjB1RTYwMHVFNjAxAAACAYkABAAGAQEEBwoNL2X8lA78lA78lA77lA6L+HQVi/yU+JSLi/iU/JSLBd83Fffsi4v77Pvsi4v37AUOi/h0FYv8lPiUi4v33zc3i/s3++yLi/fs9zeL398F9wCFFftN+05JzUdI9xr7GveR95FHzwUO+JQU+JQViwwKAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA5gEB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABAA4AAAACgAIAAIAAgABACDmAf/9//8AAAAAACDmAP/9//8AAf/jGgQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAACkYCfgXw889QALAgAAAAAAz65FuwAAAADPrkW7AAD/4AIAAeAAAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAAgAAAQAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAABAAAAAgAAAAIAAAAAAFAAAAYAAAAAAA4ArgABAAAAAAABAA4AAAABAAAAAAACAA4ARwABAAAAAAADAA4AJAABAAAAAAAEAA4AVQABAAAAAAAFABYADgABAAAAAAAGAAcAMgABAAAAAAAKACgAYwADAAEECQABAA4AAAADAAEECQACAA4ARwADAAEECQADAA4AJAADAAEECQAEAA4AVQADAAEECQAFABYADgADAAEECQAGAA4AOQADAAEECQAKACgAYwBpAGMAbwBtAG8AbwBuAFYAZQByAHMAaQBvAG4AIAAxAC4AMABpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuAFIAZQBnAHUAbABhAHIAaQBjAG8AbQBvAG8AbgBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format("woff")
}

.radios {
  margin-top: 6px;
  display: flex;
  justify-content: space-around
}

.order-item {
  color: e5e5e5;
  display: flex;
  justify-content: space-between;
  padding: 10px
}

.order-item span {
  flex: 1
}

.order-item span:first-of-type {
  flex: 1;
  text-align: left
}

.order-item span:last-child {
  text-align: right
}

.payment-icon {
  width: 30%;
  height: 30%
}

.user-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

#coupon::placeholder {
  color: gray
}

.user-address .detail-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-end
}

.detail-line span {
  padding: 8px;
  font-size: 14px;
  color: #e5e5e5
}

#addressDetails,
#priceDetails {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: baseline
}

#addressDetails p,
.amount-to-charge p {
  margin: 5px 0
}

.order-prices {
  margin-top: 15px;
  border-collapse: collapse;
  width: 100%
}

.order-prices td {
  padding: 8px;
  text-align: left
}

.order-prices td.value {
  text-align: right
}

.splide__arrow splide__arrow--next {
  background: #90753b !important;
  fill: #90753b
}

.splide__pagination__page {
  background: #fff !important
}

.splide__list,
.splide__track {
  padding-bottom: 20px !important
}

.splide__pagination {
  bottom: 0 !important
}

@media screen and (max-width:375px) {
  .product {
    min-width: 210px
  }

  #addressModal1 form,
  #addressModal2 form input,
  #forgotPasswordModal form input,
  #resetPasswordModal form input {
    width: 215px
  }

  #addressModal1 form,
  #addressModal2 form select {
    width: 225px
  }

  #addressModal1,
  #addressModal2,
  #forgotPasswordModal,
  #orderModal,
  #resetPasswordModal {
    width: 245px
  }

  #addressModal1,
  #addressModal2 h2,
  #forgotPasswordModal h2,
  #resetPasswordModal h2 {
    font-size: 20px
  }

  .confirm-button {
    width: 130px;
    margin: 0 auto
  }
}

#forgotPasswordModal,
#itemDescriptionModal,
#ordersModal,
#resetPasswordModal {
  position: fixed;
  top: 50%;
  background-color: #1a1a1a;
  color: #e5e5e5;
  padding: 20px;
  border-radius: 10px;
  border-color: #90753b;
  z-index: 1000
}

.black-button,
.confirm-button,
.settings-button.discard {
  border: 2px solid #90753b;
  transition: background-color .3s
}

.close-button {
  color: #e5e5e5;
  float: right;
  font-weight: 700
}

.close-button:focus,
.close-button:hover,
.close:focus,
.close:hover {
  color: #90753b;
  text-decoration: none;
  cursor: pointer
}

.header {
  color: #90753b;
  font-size: 28px;
  margin: 20px 0
}

.section-break {
  border-top: 2px solid #90753b;
  margin: 20px 0
}

.black-button,
.settings-button.discard {
  background-color: #1a1a1a;
  color: #e5e5e5;
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
  margin-top: 20px
}

.vanillatoast,
.vanillatoast__icon--success {
  color: #e5e5e5 !important
}

#countryModal {
  position: fixed;
  top: 50%;
  background-color: #1a1a1a;
  color: #e5e5e5;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #90753b;
  z-index: 1000
}

#countryModal .flag-large {
  font-size: 40px
}

.country-flags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

#signupModal,
.modal {
  display: none;
  z-index: 1000
}

.country-flags button {
  background: 0 0;
  color: #e5e5e5;
  font-weight: 700;
  border: none;
  cursor: pointer
}

.amount-to-charge {
  font-size: 14px
}

.vanillatoast {
  background-color: #90753b !important
}

.vanillatoast--success {
  border: 2px solid #90753b !important
}

.modal,
.select-btn,
.signup-modal-content {
  border: 1px solid #90753b
}

#signupModal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: 1a1a1a
}

.signup-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  width: 80%
}

#forgotPasswordModal form input::placeholder,
#resetPasswordModal form input::placeholder {
  color: gray;
  font-size: .8rem
}

#forgotPasswordModal .close-button,
#resetPasswordModal .close-button,
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer
}

.modal,
.slider i {
  top: 50%;
  color: #e5e5e5
}

.modal {
  border-radius: 10px;
  position: fixed;
  width: 300px;
  background-color: #1a1a1a;
  padding: 20px
}

.signin-button,
.tab {
  padding: 10px;
  cursor: pointer
}

.modal-content {
  position: relative
}

.tab {
  display: inline-block;
  margin: 0 10px;
  background-color: #333;
  border-radius: 5px
}

.confirm-button,
.signin-button,
.slider:before {
  background-color: #90753b
}

.tab-content {
  display: none;
  margin-top: 20px
}

.dropdown-content.show,
.tab-content.active {
  display: block
}

.signin-input-group {
  margin-bottom: 1rem
}

.signin-input-group input {
  width: 100%;
  padding: .5rem;
  border: 3px solid #90753b;
  border-radius: 5px;
  background-color: #1a1a1a;
  color: #e5e5e5
}

.signin-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: none;
  border-radius: 5px
}

.confirm-button {
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: #e5e5e5
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px
}

.theme-switch {
  position: relative;
  justify-content: center;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 10px
}

.slider,
.slider i,
.slider:before {
  position: absolute
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0
}

.slider {
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e5e5;
  transition: .4s;
  border-radius: 34px
}

.slider:before {
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  transition: .4s;
  border-radius: 50%
}

input:checked+.slider:before {
  transform: translateX(26px)
}

.slider i {
  font-size: 16px
}

.fa-sun {
  left: 8px
}

.fa-moon {
  right: 8px
}

body.light-mode #currencySymbol,
body.light-mode #discountedAmount,
body.light-mode .detail-line span,
body.light-mode .item-total span,
body.light-mode .cart-item span,
body.light-mode .order-item span,
body.light-mode .settings-option label,
body.light-mode p {
  color: #1a1a1a
}

body.light-mode,
body.light-mode #addressModal1,
body.light-mode #addressModal2,
body.light-mode #itemDescriptionModal,
body.light-mode #orderModal,
body.light-mode .cart-popup,
body.light-mode .product,
body.light-mode .product h2,
body.light-mode .product p {
  background-color: #fdfdff;
  color: #1a1a1a
}

body.light-mode .currency-select select,
body.light-mode .currency-select select:hover {
  background-color: #e5e5e5;
  color: #1a1a1a;
  border-color: #90753b
}

body.light-mode .product button:hover {
  background-color: #90753b;
  color: #1a1a1a
}

body.light-mode .splide__pagination__page {
  background: #1a1a1a !important
}

body.light-mode .selected-language:hover,
body.light-mode .selected-country:hover {
  background-color: #121212;
  color: #e5e5e5
}

body.light-mode .dropdown-content button {
  background-color: #e5e5e5;
  color: #90753b;
  border: 2px solid #90753b
}

body.light-mode .dropdown-content button:hover {
  color: #e5e5e5;
  background-color: #e0e0e0
}

.settings-button {
  background: 0 0;
  color: #90753b;
  margin-right: 15px;
  position: relative
}

.settings-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 90vh;
  max-height: 90vh;
  background-color: #1a1a1a;
  transition: .3s ease-in-out;
  padding: 20px;
  box-shadow: -2px 0 5px rgb(0 0 0 / .5);
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  justify-content: center;
  align-items: center
}

.settings-menu.open {
  right: 0;
  display: flex
}

.settings-content {
  flex-grow: 1;
  overflow-y: auto;
  width: 80%
}


.country-dropdown,
.language-dropdown {
  position: relative;
  max-width: 90%;
  align-items: center
}

.dropdown-content {
  top: 100%;
  left: 0
}

.settings-menu h3 {
  color: #90753b;
  margin-bottom: 20px
}

.settings-option label {
  display: block;
  margin-bottom: 5px;
  color: #e5e5e5
}

.settings-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px
}

.settings-button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px
}

#areaList li,
.search-container,
.select-btn {
  padding: 10px
}

.settings-button.confirm {
  background-color: #90753b;
  color: #e5e5e5;
  border: 2px solid #1a1a1a;
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color .3s;
  margin-top: 20px
}

body.light-mode .logo {
  content: url(https://darnotebook.com/files/assets/Background-light.jpg)
}

.selected-country,
.selected-language {
  width: 100%;
  text-align: left;
  background-color: #121212;
  color: #e5e5e5;
  border: 2px solid #90753b;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem
}

.dropdown-content button {
  color: #e5e5e5;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: left;
  background: 0 0;
  border: none;
  cursor: pointer
}

body.light-mode .settings-menu {
  background-color: #f0f0f0;
  color: #1a1a1a
}

body.light-mode .dropdown-content,
body.light-mode .selected-country,
body.light-mode .selected-language {
  background-color: #e5e5e5;
  color: #1a1a1a
}

@media (max-width:768px) {
  .settings-menu {
    justify-content: center;
    top: auto;
    bottom: -70vh;
    left: 0;
    right: 0;
    width: 90%;
    height: 70vh;
    transition: bottom .3s ease-in-out
  }

  .settings-menu.open {
    bottom: 0
  }
}

.area-dropdown {
  position: relative;
  width: 250px
}

.select-btn {
  width: 100%;
  background-color: #e5e5e5;
  border-radius: 4px;
  text-align: left;
  cursor: pointer
}

.select-btn::after {
  content: '\25BC';
  float: right
}

.dropdown-content {
  box-shadow: 0 8px 16px 0 rgb(0 0 0 / .2);
  display: none;
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background-color: #1a1a1a;
  border: 1px solid #90753b;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 4px rgb(0 0 0 / .1);
  z-index: 1
}

#searchInput {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px
}

#areaList {
  list-style-type: none;
  padding: 0;
  margin: 0
}

#areaList li {
  cursor: pointer
}

#areaList li:hover {
  background-color: #f1f1f1
}

.input-error {
  border: 2px solid #ff0000 !important;
  background-color: rgba(255, 0, 0, 0.05);
}

/* You can also add a shake animation for better UX */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.input-error:focus {
  animation: shake 0.5s ease-in-out;
}

/* Style for select dropdowns to match your theme */
#addressSelect, #areaId, #countryCode, #orderType {
  background-color: #1a1a1a;
  color: #e5e5e5;
  border: 3px solid #90753b;
  border-radius: 5px;
  height: 1.9rem;
  width: 280px;
  font-size: 0.8rem;
  caret-color: #e5e5e5;
  padding: 5px;
}

/* Style for dropdown options */
#addressSelect option, #areaId option, #countryCode option, #orderType option {
  background-color: #1a1a1a;
  color: #e5e5e5;
}

/* Make sure the dropdown text is visible in light mode too */
body.light-mode #addressSelect, 
body.light-mode #areaId, 
body.light-mode #countryCode, 
body.light-mode #orderType {
  background-color: #e5e5e5;
  color: #1a1a1a;
}

body.light-mode #addressSelect option, 
body.light-mode #areaId option, 
body.light-mode #countryCode option, 
body.light-mode #orderType option {
  background-color: #e5e5e5;
  color: #1a1a1a;
}

/* Styles for address type selection */

/* Improved address type button styles that work consistently on mobile and desktop */
.address-type-options {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 15px 0;
  width: 100%;
}

/* Container for each button */
.address-type-button-container {
  flex: 1;
  position: relative;
}

/* Completely hide the radio inputs */
.address-type-button-container input[type="radio"] {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Style the button labels */
.address-type-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  background-color: #1a1a1a;
  border: 2px solid #90753b;
  border-radius: 5px;
  color: #e5e5e5;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}

/* Icon styles */
.address-type-button i {
  font-size: 24px;
  margin-bottom: 8px;
  color: #90753b;
}

/* Text label styles */
.address-type-button span {
  font-size: 14px;
}

/* Hover state - only on non-touch devices */
@media (hover: hover) {
  .address-type-button:hover {
    background-color: #312d26;
    border-color: #a08b50;
  }
}

/* Active/pressed state for mobile */
.address-type-button:active {
  background-color: #312d26;
  border-color: #a08b50;
  transform: scale(0.98);
}

/* Selected state */
input[type="radio"]:checked + .address-type-button {
  background-color: #90753b;
  border-color: #a08b50;
  color: #ffffff;
}

/* Selected state icon */
input[type="radio"]:checked + .address-type-button i {
  color: #ffffff;
}

/* Custom address name input */
#customAddressName {
  background-color: #1a1a1a;
  border: 3px solid #90753b;
  height: 1.4rem;
  width: 100%;
  color: #e5e5e5;
  border-radius: 5px;
  font-size: 0.8rem;
  caret-color: #e5e5e5;
  margin-top: 10px;
  padding: 5px 10px;
}

/* Light mode styles */
body.light-mode .address-type-button {
  background-color: #e5e5e5;
  color: #1a1a1a;
}

body.light-mode input[type="radio"]:checked + .address-type-button {
  background-color: #90753b;
  color: #ffffff;
}

body.light-mode .address-type-button:hover {
  background-color: #d0d0d0;
}

body.light-mode #customAddressName {
  background-color: #e5e5e5;
  color: #1a1a1a;
}

/* Make sure functionality works on touch devices */
.address-type-button-container {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Make buttons look like buttons on all devices */
.address-type-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Ensure consistent sizing on mobile */
@media (max-width: 480px) {
  .address-type-button {
    height: 70px;
  }
  
  .address-type-button i {
    font-size: 20px;
  }
  
  .address-type-button span {
    font-size: 12px;
  }
}

/* Styles for the form error alert */
.form-error-alert {
  background-color: rgba(255, 0, 0, 0.1);
  border: 2px solid #ff0000;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 5px;
  margin: 15px 0;
  font-size: 14px;
  direction: rtl;
}

.form-error-alert div {
  margin: 5px 0;
}

/* Light mode styles */
body.light-mode .form-error-alert {
  background-color: rgba(255, 0, 0, 0.1);
  color: #cc0000;
}

/* Update address type label to ensure Arabic alignment */
#addressTypeContainer label {
  text-align: right;
  display: block;
  margin-bottom: 8px;
}

.close {
  color: #e5e5e5;
  float: right;
  font-size: 28px;
  font-weight: 700
}