/* General Styles: */
* {
  border-radius: 0 !important;
}
html {
  height: 100%;
}
body {
  background: url("/media/homepage_background_cropped.jpg") no-repeat center
    center fixed;
  background-size: cover;
  height: calc(100vh - 164px);
  font-family: "Roboto", sans-serif;
}

/* Icon Styles: */
.nav-link:hover,
.nav-link:hover i,
.home-logo:hover {
  color: #424649; 
}
.nav-link:active,
.nav-link:active i,
.home-logo:active {
  color:  #4d5154
}

.nav-link,
.home-logo {
  transition: color 0.3s ease-in-out;
}

.icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
}
.bi {
  font-size: 1.5em;
}
.bi-house-fill:hover,
.bi-person-fill:hover,
.bi-cart-fill:hover {
  filter: brightness(70%);
}
.bi-chevron-left,
.bi-lock,
.bi-gift {
  font-size: var(--bs-btn-font-size);
}
.home-logo {
  width: fit-content;
}

/* Button Styles: */
.btt-button {
  height: 42px;
  width: 42px;
  position: fixed;
  bottom: 10px;
  right: 10px;
}
.explore-button {
  background: black;
  color: white;
  min-width: 260px;
}
.wishlist-btn:hover {
  animation: heartbeat 1s infinite;
}
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.25);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
.btn-dark {
  background-color: black;
}

/* Font Styles: */
.logo-font {
  font-family: "Playfair Display", serif;
  font-weight: 300;
}

/* Other Styles: */
.overlay {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background: white;
  z-index: -1;
  opacity: 0.5;
}
a.category-badge > span.badge:hover {
  background: #212529 !important;
  color: #fff !important;
}
.btt-link,
.update-link,
.remove-item {
  cursor: pointer;
}
.hidden {
  display: none;
}
input[name="q"]::placeholder {
  color: #aab7c4;
}
.no-avg-rating {
  margin-bottom: 1.125rem;
}
.basket-notification-wrapper {
  height: 100px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Bootstrap Custom Classes: */
.dropdown-menu {
  --bs-dropdown-link-active-color: black;
  --bs-dropdown-link-active-bg: transparent;
}

/* ------------------------------- Bootstrap Toasts: */
.message-container {
  position: fixed;
  top: 72px;
  right: 15px;
  z-index: 99999999999;
}
.custom-toast {
  overflow: visible;
}
.toast-capper {
  height: 2px;
}

/* from CSS-tricks.com: https://css-tricks.com/snippets/css/css-triangle/ */
.arrow-up {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 10px solid black;
  position: absolute;
  top: -10px;
  right: 36px;
}

/* Convenience classes - colors copied from Bootstrap: */
.arrow-primary {
  border-bottom-color: #007bff !important;
}
.arrow-secondary {
  border-bottom-color: #6c757d !important;
}
.arrow-success {
  border-bottom-color: #28a745 !important;
}
.arrow-danger {
  border-bottom-color: #dc3545 !important;
}
.arrow-warning {
  border-bottom-color: #ffc107 !important;
}
.arrow-info {
  border-bottom-color: #17a2b8 !important;
}
.arrow-light {
  border-bottom-color: #f8f9fa !important;
}
.arrow-dark {
  border-bottom-color: #343a40 !important;
}

/* Product Styles: */
.product-link {
  background-color: #f1f1f1;
}
.product-img {
}
.landscape {
  width: 90%;
}
.portrait {
  width: 45%;
}

/* -------------------------------- Media Queries: */
@media (min-width: 320px) {
  .landscape,
  .portrait {
    height: 150px;
  }
}
@media (min-width: 375px) {
  .landscape,
  .portrait {
    height: 175px;
  }
}
@media (min-width: 425px) {
  /* .landscape, .portrait {
    height: 200px;
  } */
}
@media (min-width: 576px) {
  /* .landscape, .portrait {
    height: 225px;
  } */
  .bi {
    font-size: 2em;
  }
  .bi-chevron-left,
  .bi-lock,
  .bi-gift {
    font-size: var(--bs-btn-font-size);
  }
}
@media (min-width: 768px) {
  .landscape,
  .portrait {
    height: 225px;
  }
}
@media (min-width: 992px) {
  .landscape,
  .portrait {
    height: 175px;
  }
  .fixed-top-desktop-only {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
  }
  .header-container {
    padding-top: 164px;
  }
}
@media (min-width: 1024px) {
  /* .landscape, .portrait {
    height: 300px;
  } */
}
@media (min-width: 1200px) {
  /* .landscape, .portrait {
    height: 325px;
  } */
  .container {
    max-width: 80%;
  }
}
@media (min-width: 1440px) {
  /* .landscape, .portrait {
    height: 350px;
  } */
}
@media (max-width: 991px) {
  .header-container {
    padding-top: 116px;
  }
  body {
    height: calc(100vh - 116px);
  }
  .nav-link {
    padding: 0.15rem;
  }
  .navbar-toggler {
    padding: 0.6rem 0.6rem;
    font-size: 1rem;
  }
  #delivery-banner h4 {
    font-size: 0.9rem;
  }
  .btn.btn-dark {
    padding: 0.375rem 0.375rem;
  }
  .btn.btn-dark.btn-lg {
    padding: 0.375rem 0.375rem;
  }
  .increment-qty,
  .decrement-qty {
    padding: 0.25rem 0.5rem !important;
  }
}

/* Allauth form formatting: */
.allauth-form-inner-content p {
  margin-top: 1.5rem;
  color: #6c757d;
}
.allauth-form-inner-content input {
  border-color: #000;
  border-radius: 0;
}
.allauth-form-inner-content label:not([for="id_remember"]) {
  display: none;
}
.allauth-form-inner-content input::placeholder {
  color: #aab7c4;
}
.allauth-form-inner-content button,
.allauth-form-inner-content input[type="submit"] {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #000;
  border: 1px solid #000;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  /* standard bootstrap btn transitions */
  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;
}
.allauth-form-inner-content button:hover,
.allauth-form-inner-content input[type="submit"]:hover {
  color: #fff;
  background-color: #222;
  border-color: #222;
}
.btn-file {
  position: relative;
  overflow: hidden;
}
.btn-file input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  opacity: 0;
  cursor: pointer;
}
.custom-checkbox .custom-control-label::before {
  border-radius: 0;
  border-color: #dc3545;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #dc3545;
  border-color: #dc3545;
  border-radius: 0;
}
