/* general styles */
/* Colors pallet */
:root {
  --white: #fff;
  --black: #000000;
  --dark:#332D2D;
}

html {
  scroll-behavior: smooth;
}

*{
  font-family: 'Rubik', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* navbar */
.my_logo {
  width: 50px;
  height: 50px;

}

.user-name{
  position: absolute;
  top: 30px;
  left: 9px;

}

.navbar > .top{
  min-height: 80px;
}

.navbar,
.fix_bottom {
  background-color:var(--dark) !important;
}

.bottom-nav{
  margin-top: 100px;
}

.cart-total {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--black);
  font-size: 8pt;
  font-weight: 700;
  text-align: center;
  line-height: 17px;
  right: 13px;
  top: 20px;
  z-index: 50;
}

.heart-total {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--black);
  font-size: 8pt;
  text-align: center;
  line-height: 17px;
  font-weight: 700;
  right: 0px;
  top: 14px;
  z-index: 50;
}

.price{
  top:48px;
  right:7px;
}

/* bottom navbar */
.bottom-nav{
  margin-top: 100px;
}

.heart-total-bottom{
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--black);
  font-size: 8pt;
  text-align: center;
  line-height: 17px;
  font-weight: 700;
  right: -1px;
  bottom: 35px;
  z-index: 50;
}

.cart-total-bottom {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--black);
  font-size: 8pt;
  font-weight: 700;
  text-align: center;
  line-height: 17px;
  right: 0px;
  bottom: 35px;
  z-index: 50;
}

.shop{
  color:var(--white);
  bottom: -12px;
  right: -7px;
  font-weight: 200;
  font-size: smaller;
}

/* carousel */
/* Declare heights because of positioning of img element */
.carousel-title {
  background-color: rgb(128, 128, 128, 0.5);
}

.carousel-item {
  height: 65vh;
}

.carousel-item>img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 65vh;
}

.carousel-control-prev ,
.carousel-control-next  {
  margin-top: 250px;
  background-color: var(--white);
  margin-left: 30px;
  margin-right: 30px;
  width: 40px;
  height: 40px;
  border: none;
  color: var(--black);
  font-weight: bold;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color:var(--white)!important;
}

.bg-img-1 {
  background: url('/media/baby_wide.jpg') center/cover no-repeat;
}

.bg-img-2 {
  background: url("/media/newest_wide.jpg") center/cover no-repeat;
}

.bg-img-3 {
  background: url('/media/new_caro_wide.jpg') center/cover no-repeat;
}
/* end carousel */

/* mailchimp sign up */
#mc_embed_signup{
  background:#ccc8c8;
  clear:left;
  font:14px Helvetica,Arial,sans-serif;
}
/*       */

/* products page */
.card {
  border-radius: 10px
}

.wishlist {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #eee;
  padding: 10px;
  cursor: pointer;
}

.img-container {
  position: relative;
}

.img-container .first {
  position: absolute;
}

.img-container img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.product-detail-container {
  padding: 10px;
  height: 150px;
  padding: 1rem;
}

/* ----- bootstrap toasts ------ */
.message-container {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999999999;
}

#success-message {
  position: fixed;
  top: 72px;
  right: 15px;
  z-index: 99999999999;

}

.custom-toast {
  overflow: visible;
  max-width:320px;
}

.toast-capper {
  height: 2px;
}

.notification-wrapper {
  height: 100px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* modal */
.modal-dialog {
  max-width: 500px;
}

.custom-modal-dialog {
  max-width: 380px;
}

.modal-content {
  border-radius: 0;
  border: 1px solid green !important;
}

.modal-backdrop {
  background-color: transparent !important;
}
/* end modal */

/* allauth templates */
.account-body {
  height: 100vh;
}

input {
  border: 1px solid black !important;
  box-shadow: unset !important;
}

label {
  display: none;
}

.product-form label {
  display: block !important;
}


input::placeholder {
  opacity: 50% !important;
}
/*   end allauth    */

/* all products page */
.product-card__img>img {
  width: 100%;
  vertical-align: top;
}

.mycontainer {
  width: 100%;
  max-width: 1300px;
  margin-top: 50px;
  margin-bottom: 100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Card */
.product-card {
  max-width: 370px;
  flex-basis: 250px;
  flex-grow: 1;
  background-color: var(--white);
}

.product-card__images {
  position: relative;
}

.product-card__images:hover .product-card__btn,
.product-card__images:focus .product-card__btn {
  display: block;
}

.product-card__info {
  padding: 10px;
  text-align: center;
}

.product-card__name {
  font-size: 13px;
  font-weight: normal;
  text-transform: capitalize;
}

.product-card__price {
  font-size: 13px;
  margin: 10px 0;
}

.product-card__like {
  color: #353333;
  cursor: pointer;
  right: 10px;
  position: absolute;
  bottom: 1px;
}

.heart {
  background-color: #f9f9f9cd;
  border-radius: 50%;
}

.product-card__btn {
  background-color: rgb(63, 57, 57);
  border-radius: 5px;
  border: none;
  color:var(--white);
  cursor: pointer;
  display: none;
  font-size: 14px;
  font-weight: bold;
  left: 50%;
  padding: 10px 15px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
}

.product-card__btn:hover {
  background-color: rgb(131, 134, 134);
}
/* end all products page */

/* reviews */
.user-comments{
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 5px;
}
#div_id_content{
  margin-bottom: 5px !important;
}

.comments {
  text-decoration: underline;
  text-underline-position: under;
  cursor: pointer;
}

.dot {
  height: 7px;
  width: 7px;
  margin-top: 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

/* img on detail page */
.detail-image-container {
  width: 82%;
}

/* end review */

/*  footer styling*/
.footer-dark {
  padding:30px 0;
  color:#f0f9ff;
  background-color:#282d32;
  margin-top: auto;
}

.footer-dark h3 {
  margin-top:0;
  margin-bottom:12px;
  font-weight:bold;
  font-size:16px;
}

.footer-dark ul {
  padding:0;
  list-style:none;
  line-height:1.6;
  font-size:14px;
  margin-bottom:0;
}

.footer-dark ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.6;
}

.footer-dark ul a:hover {
  opacity:0.8;
}

.footer-dark .item.social > a {
  font-size:20px;
  width:36px;
  height:36px;
  line-height:36px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(255,255,255,0.4);

  margin:0 8px;
  color:#fff;
  color:#1f1d1d;
  opacity:0.75;
}

.footer-dark .item.social > a:hover {
  opacity:0.9;
}

.footer-dark .copyright {
  text-align:center;
  padding-top:24px;
  font-size:13px;
  margin-bottom:0;
}

.footer-dark .item.text p {
  opacity:0.7;
  margin-bottom:0;
}

.footer-dark .item.social {
  text-align:center;
}

.footer-dark .item.text {
  margin-bottom:36px;
}

/* error 404,403,500 page styles */
#cust-error{
  width: 100%;
  height: 100vh;
  text-align: center;
}

.fof{
  display: table-cell;
  vertical-align: middle;
}

.fof h2{
  display: inline-block;
  padding-right: 12px;
  animation: type .5s alternate infinite;
}

@keyframes type{
  from{box-shadow: inset -3px 0px 0px #e9e6e6;}
  to{box-shadow: inset -3px 0px 0px transparent;}
}
/* error pages end*/

/*---------------- media queries------------  */

@media (max-width:991px) {
  .footer-dark .item.social {
    text-align:center;
    margin-top:20px;
  }
}

@media (max-width:767px) {

  .image-container img {
    max-height: 500px;
    object-fit: cover;
  }

  .footer-dark .item:not(.social) {
    text-align:center;
    padding-bottom:20px;
  }

  .footer-dark .item.text {
    margin-bottom:0;
  }

  .detail-image-container {
    width: 100%;
  }

  .bg-img-1 {
    background: url('/media/baby_med.jpg') center/cover no-repeat;
  }

  .bg-img-2 {
    background: url("/media/newest_med.jpg") center/cover no-repeat;
  }


  .bg-img-3 {
    background: url('/media/new_caro.jpg') center/cover no-repeat;
  }

}

@media(max-width: 576px) {
  .bg-img-1 {
    background: url('/media/baby_small.jpg') center/cover no-repeat;
  }

  .bg-img-2 {
    background: url("/media/newest2.jpg") center/cover no-repeat;
  }

  .bg-img-3 {
    background: url('/media/new_caro_small.jpg') center/cover no-repeat;

  }
}

@media screen and (max-width: 440px) {
  .product-card {
    max-width: 100%;
  }
}