/* Headline */

.headline-container {
  height: 50px;
  background: #f5f5f5;
  margin-top: -18px;
  margin-left: 0px;
}

.wish_header {
  color: #051e52;
  font-family: var(--font-family-secondary);
  font-size: 18px;
  text-align: left;
  margin-top: 128px;
  height: 4px;
  margin-left: 20px;
  padding: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.content-section .container {
  margin-top: 20px;
}

.header-banner img {
  width: 100%;
}

/* Item Grid */
a {
  text-decoration: none;
}

#wishlistdata {
  width: 95%;
}

.content-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin: 4rem auto 80px auto;
  gap: 11px;
  justify-items: stretch;
}

.wishlist-product-container {
  box-shadow: 0px -1px 0px 5px #eee;
  margin-bottom: 40px;
  border-radius: 6px;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* .wishlist-product-container {
  box-shadow: -4px 7px 15px 25px #eee;
  margin-bottom: 40px;
  border-radius: 6px;
  position: relative;
  width: 100%;       
} */


/* 
.close-container {
    position: absolute;
    top: 0;
    right: 0;
}

.close-btn {

    background-color: #eb9e11;
    border: 0;
    width: 23px;
    height: 23px;
    color: #000000;
    transition: background-color 0.2s, color 0.2s, opacity 0.2s;
    opacity: 0;
    visibility: hidden;
}

.close-btn:hover {
    background-color: #ff002f;
    color: #ffffff;
}

.wishlist-img-holder img {
    width: 100%;
    text-align: center;
}

.wishlist-img-holder{
    height: 264px;
}

.wishlist-product-info {
    position: absolute;
    width:82%;
    height:75px;
    top: 81%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(222, 224, 225, 0.9);
    padding: 10px 31px 31px 28px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    text-align: center;
}

.wishlist-product-container:hover .wishlist-product-info,
.wishlist-product-container:hover .cart-btn,
.wishlist-product-container:hover .close-btn {
    visibility: visible;
    opacity: 1;
}




.title {
    font-family: var(--font-family-secondary);
    line-height: 25px;
    text-transform:uppercase;
    font-size: 12px;
    font-weight: 1000;
    color: #051E52;
    margin-top: -8px;
}

.price {
    font-family: 'roboto';
    text-transform:uppercase;
    font-size: 12px;
    font-weight: 500;
    color: #051E52;
    margin-top: -13px;
}
.wish-img-holder{
    height: 95%;
    width: 100%;
}
.cart-btn {
    font-family: var(--font-family-secondary);
    background-color: rgb(255, 77, 6);
    color: #bebebe;
    font-size: 12px;
    font-weight: 400;
    border: 0;
    padding: 4px 10px;
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.2s;
    opacity: 0;
    visibility: hidden;

}

.cart-btn:hover {
    box-shadow: 0px 20px 30px rgba(59, 110, 133, 0.2);
    transform: scale(1.05) translateX(-50%);

}



#wishlist-add #img,
#wishlist-remove #img,
#wishlistpage-wishlist-remove #img1,
#card-added #img {
    width: 50px;
    height: 50px;
    float: left;
    padding-top: 13px;
    padding-bottom: 16px;
    box-sizing: border-box;
    bottom: 50%;
    background-color: white;
    color: #fff;
    border: 1px solid gray;
}

#wishlist-add #desc,
#wishlist-remove #desc,
#wishlistpage-wishlist-remove #desc1,
#card-added #desc2 {
    color: #fff;
    padding: 16px;
    overflow: hidden;
    white-space: nowrap;
}

#wishlist-add.show,
#wishlist-remove.show,
#wishlistpage-wishlist-remove.show,
#card-added.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 2s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s;
} */

/* ============================================New CSS==================================== */

#wishlist-add,
#wishlist-remove,
#wishlistpage-wishlist-remove,
#card-added {
  visibility: hidden;
  max-width: 50px;
  height: 50px;
  margin: auto;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  position: fixed;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 50%;
  font-size: 17px;
  white-space: nowrap;
}





body {
  background-color: #fafafa;
  /* very light grey */
}

/* close button (small X top-right) */
.close-btn {
  background-color: #051E52;
  border: 0;
  color: #ffff;
  font-size: 20px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  right: 14px;
  box-shadow: none;
  transition: background-color .15s, color .15s, transform .12s;
}

.close-btn:hover {
  box-shadow: 0px 20px 30px rgba(59, 110, 133, 0.2);
  transform: scale(1.05) translateX(0%);
  background-color: red;
  color: white;

}


.wishlist-img-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 185px;
  background: #fff;
  border-radius: 6px;
  box-shadow: none;
  margin: 18px auto 8px auto;
  max-width: 760px;
  overflow: visible;
}

.wishlist-img-holder img {
  width: auto;
  max-width: 60%;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin: 30px auto 18px;
  filter: none;
  transform: translateY(6px);
  /* subtle lift like the photo */
}

/* product info block near bottom of image (always visible like screenshot) */
.wishlist-product-info {
  position: relative;
  /* sit under the image instead of absolute overlay */
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px auto;
  background-color: transparent;
  /* transparent so it sits on white page */
  padding: 0;
  visibility: visible;
  opacity: 1;
  transition: none;
  text-align: left;
  box-sizing: border-box;
}


.title {
  font-family: var(--font-family-secondary);
  line-height: 1.2;
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  color: #051E52;
  margin: 8px 0 12px 12px;
  text-transform: capitalize;
}

/* Price block — large bold current price and smaller struck original price */
.price {
  font-family: var(--font-family-secondary);
  font-size: 20px;
  font-weight: 500;
  color: #051E52;
  margin: 0 0 0 12px;
  display: inline-block;
  vertical-align: middle;
}

/* original price (crossed out) immediately after .price */
.price+.old-price,
.old-price {
  display: inline-block;
  font-family: var(--font-family-secondary);
  font-size: 14px;
  color: #9b9b9b;
  text-decoration: line-through;
  margin-left: 10px;
  vertical-align: middle;
}

/* Actions container (Find in store + cart) — inline, centered under product */
.wishlist-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 18px;
}

/* FIND IN STORE button (rounded pill) */
.cart-btn.find-store,
.cart-btn.find-in-store,
.find-store-btn {
  /* support multiple naming possibilities */
  font-family: 'Roboto', sans-serif;
  background: transparent;
  border: 2px solid rgba(11, 34, 64, 0.08);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(11, 34, 64, 0.06);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s;
  text-transform: uppercase;
}

/* keep original .cart-btn rules intact but style specific find-in-store visually */
.cart-btn.find-store:hover,
.cart-btn.find-in-store:hover,
.find-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 34, 64, 0.08);
}

/* circular cart icon with purple plus like screenshot */
.cart-icon-small {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f5ff;
  /* pale */
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(11, 34, 64, 0.04);
  cursor: pointer;
}

/* inner plus badge (purple small square with plus) — child element expected inside cart icon */
.cart-icon-small .plus-badge {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #5b2bd6;
  /* purple */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  margin-left: 6px;
}

/* ensure the default .cart-btn floating behavior is not interfering */
.cart-btn {
  font-family: var(--font-family-secondary);
  position: relative;
  transform: none;
  opacity: 1;
  visibility: visible;
  padding: 6px 0px;
  font-size: 13px;
  border-radius: 3px;
  background: #051E52;
  font-weight: 500;
  height: 34px;
  width: 150px;
  margin-left: 11px;
  top: -10px;
  border: none;
}

/* small adjustments for notification toasts at bottom center */

#card-added {
  visibility: hidden;
  width: auto;
  max-width: 500px;
  height: auto;
  padding: 10px 8px;
  margin: 0 auto;
  background-color: #051e52;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
  bottom: 82%;
  font-size: 15px;
  white-space: nowrap;
  font-family: var(--font-family-secondary);
}

#card-added::before,
#wishlist-add::before,
#wishlist-remove::before,
#wishlistpage-wishlist-remove::before {
  /*
    content: "";
    position: absolute;
    top: -8px;         
    right: 16px;        
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #051e52;
    */
}

#card-added.show {
  visibility: visible;
}

#wishlist-add,
#wishlist-remove,
#wishlistpage-wishlist-remove {
  visibility: hidden;
  width: auto;
  max-width: 500px;
  height: auto;
  padding: 8px 22px;
  margin: 0 auto;
  background-color: #051e52;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  position: fixed;
  z-index: 9999;
  left: 53%;
  transform: translateX(-50%);
  bottom: 85%;
  font-size: 15px;
  white-space: nowrap;
  font-family: var(--font-family-secondary);
}

#wishlist-add.show,
#wishlist-remove.show,
#wishlistpage-wishlist-remove.show {
  visibility: visible;
}

/* drawer image sizing helper */
.wish-img-holder {
  width: 100%;
  height: auto;
  display: block;
}

/* helper: center the whole quick view area on narrow screens */
/* @media (max-width: 820px) {
    .wishlist-img-holder { height: 320px; max-width: 92%; }
    .wishlist-product-info { max-width: 92%; }
    .price { font-size: 24px; }
    .title { font-size: 13px; text-align: center; }
    .wishlist-actions { flex-direction: column; gap: 10px; }
  } */

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes expand {
  from {
    min-width: 50px
  }

  to {
    min-width: 350px
  }
}

@keyframes expand {
  from {
    min-width: 50px
  }

  to {
    min-width: 350px
  }
}

@-webkit-keyframes stay {
  from {
    min-width: 350px
  }

  to {
    min-width: 350px
  }
}

@keyframes stay {
  from {
    min-width: 350px
  }

  to {
    min-width: 350px
  }
}

@-webkit-keyframes shrink {
  from {
    min-width: 350px;
  }

  to {
    min-width: 50px;
  }
}

@keyframes shrink {
  from {
    min-width: 350px;
  }

  to {
    min-width: 50px;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 60px;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 60px;
    opacity: 0;
  }
}

@media (min-width: 1440px) {
  .wishlist-product-container {
    max-width: 280px;
  }

  .wishlist-img-holder img {
    max-width: 70%;
  }
}


@media (max-width: 1439px) {
  .content-section {
    gap: 14px;
  }

  .wishlist-product-container {
    max-width: 260px;
  }
}


@media (max-width: 1023px) {
  .content-section {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin: 4rem auto 60px auto;
  }

  .wishlist-product-container {
    width: 100%;
    margin-bottom: 24px;
  }

  .wishlist-img-holder {
    height: 220px;
    max-width: 100%;
  }

  .wishlist-img-holder img {
    max-width: 65%;
    max-height: 220px;
  }

  .title {
    font-size: 13px;
  }

  .price {
    font-size: 18px;
  }

  .wishlist-actions {
    gap: 10px;
  }
}


@media (max-width: 767px) {
  .content-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 3rem auto 50px auto;
  }

  .wishlist-img-holder {
    height: 200px;
  }

  .wishlist-img-holder img {
    max-width: 70%;
  }

  .cart-btn {
    width: 96px;
    font-size: 14px;
  }

  .find-store-btn {
    padding: 10px 20px;
  }
}


@media (max-width: 599px) {
  .headline-container {
    height: auto;
  }

  .wish_header {
    margin-top: 80px;
    font-size: 16px;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 2.5rem auto 40px auto;
  }

  .wishlist-product-container {
    width: 100%;
    margin-bottom: 20px;
  }

  .wishlist-img-holder {
    height: 180px;
  }

  .wishlist-img-holder img {
    max-width: 75%;
  }

  .wishlist-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cart-btn {
    width: 100%;
    height: 42px;
    font-size: 15px;
    margin-left: 0;
  }

  .cart-icon-small {
    width: 48px;
    height: 48px;
  }
}
