img {
  max-width: 100%;
  max-height: 100%;
}
.br {
  border-radius: 15px;
}
.b {
  border: 1px solid #dddddd;
}
.nav-item .nav-link:hover {
  color: var(--main-color);
}
.profile i:hover,
.wishlist i:hover,
.cart i:hover {
  color: var(--main-color);
}

.card-text {
  font-size: 16px;
  color: #595959;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.currecnt-price {
  font-size: 16px;
}
.prev-price {
  font-size: 16px;
  color: #595959;
}
.uk-delivery {
  font-size: 16px;
  color: var(--main-color);
}
.heart {
  top: 2%;
  right: 4%;
  background: white;
  padding: 1px 5px;
  border-radius: 50%;
  color: black;
  display: none;
}
.section-heading {
  margin-bottom: 20px;
}
.similar-items-card:hover {
  box-shadow:
    rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.similar-items-card:hover .heart {
  display: block;
}

/* ---------------------------Product Details------------------------------- */
.salary {
  font-size: 24px;
  color: var(--main-color);
}
.pre-price {
  font-size: 12px;
  color: #595959;
}
.off-text {
  background-color: var(--main-color);
  padding: 3px 10px;
  color: white;
  font-size: 10px;
}
.description {
  font-size: 16px;
}
.add-to-basket-btn {
  background-color: var(--main-color);
  color: white;
  border-radius: 80px;
}
.add-to-basket-btn:hover {
  background-color: var(--main-color-hover);
  color: white;
}
.toggle-button {
  display: block;
  width: 100%;
  padding: 6px 12px;
  color: var(--main-color);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  position: relative;
  border-radius: 80px;
  background-color: white;
}
.toggle-button:hover {
  background-color: var(--main-color);
  color: white;
}
.arrow {
  font-size: 20px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.content {
  display: none;
  padding: 10px;
  border: 1px solid #ddd;
  margin-top: 10px;
}

/* Arrow down when content is visible */
.content.show {
  display: block;
}

.arrow.down {
  transform: rotate(180deg);
}
.down {
  transform: rotate(180deg); /* or any other style you want to apply */
}
.highlight-wrapper span {
  font-size: 16px;
  margin-bottom: 10px;
}
.hightlight-content-wrapper p {
  font-size: 12px;
}

.about-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-item li {
  line-height: 1.5;
  text-indent: -30px;
  padding: 8px 0 8px 30px;
  font-size: 12px;
}

.about-item li:before {
  float: left;
  display: block;
  content: "\2605";
  color: #ffd900;
  margin: 0 30px 0 0;
}

.about-item p {
  font-size: 0.85em;
  margin: 40px 0 0 0;
}

.about-item a {
  color: #999;
}
.did-you-know-title {
  font-size: 14px;
}
.description-did-you-know {
  color: #595959;
  font-size: 12px;
}
/* ---------------------------More from this shop ------------------------------------> */
.follow-btn {
  border: 1.5px solid black;
  margin-left: 15px;
  border-radius: 80px;
  font-size: 15px;
  /* margin-top: 4%; */
}
.follow-heart-icon {
  color: black;
  font-size: 13px;
}
.follow-btn:hover {
  border: 1px solid black;
  box-shadow:
    rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.heading {
  font-size: 24px;
}

/* -------------------- Gift mode section---------------------------- */
.gift-mode {
  font-size: 12px;
}
.browser-by-interest-title {
  font-size: 24px;
}
.show-more-gifts {
  background: black;
  border-radius: 80px;
}
.show-more-gifts-a {
  color: white;
}
.show-more-gifts:hover {
  background: rgba(0, 0, 0, 0.83);
  color: white;
}

figure.snip1200 {
  font-family: "Raleway", Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 220px;
  max-width: 310px;
  max-height: 310px;
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  height: 261px;
}
figure.snip1200 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease-in-out;
  transition: all 0.45s ease-in-out;
}
figure.snip1200 img {
  max-width: 100%;
  position: relative;
  opacity: 0.9;
}
figure.snip1200 figcaption {
  position: absolute;
  top: 45%;
  left: 7%;
  right: 7%;
  bottom: 45%;
  border: 1px solid white;
  border-width: 1px 1px 0;
}
figure.snip1200 .heading {
  overflow: hidden;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  position: absolute;
  bottom: 0;
  width: 100%;
}
figure.snip1200 h2 {
  display: table;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
  text-align: center;
  width: auto;
  text-transform: uppercase;
  font-weight: 400;
}
figure.snip1200 h2 span {
  font-weight: 800;
}
figure.snip1200 h2:before,
figure.snip1200 h2:after {
  position: absolute;
  display: block;
  width: 1000%;
  height: 1px;
  content: "";
  background: white;
  top: 50%;
}
figure.snip1200 h2:before {
  left: -1000%;
}
figure.snip1200 h2:after {
  right: -1000%;
}
figure.snip1200 p {
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  padding: 0 20px;
  margin: 0;
  opacity: 0;
  line-height: 1.6em;
  font-size: 0.9em;
}
figure.snip1200 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1200:hover img,
figure.snip1200.hover img {
  opacity: 0.25;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
figure.snip1200:hover figcaption,
figure.snip1200.hover figcaption {
  top: 7%;
  bottom: 7%;
}
figure.snip1200:hover p,
figure.snip1200.hover p {
  opacity: 1;
  -webkit-transition-delay: 0.35s;
  transition-delay: 0.35s;
}
/* ---------------------- related product section--------------- */
.related-product-btn {
  background-color: #0e0e0e17;
  border-radius: 80px;
}
.more-from-shop {
  margin: 50px 0;
}
.related-product-btn a {
  color: black;
}
.related-product-btn:hover {
  background-color: #0e0e0e22;
  border-radius: 80px;
}
.prodcut-card-title {
  max-width: 266px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 575px) {
  .similar-items .row > *,
  .more-from-shop .row > * {
    width: 50%;
  }
  .similar-img-holder {
    height: unset;
  }
}
.bi-heart-fill {
  color: red !important;
}
.product-details .product-name {
  font-size: 24px;
}
.prodcut-card-title {
  font-size: 16px;
  color: black;
  text-decoration: none;
}
.prodcut-card-title:hover {
  color: var(--main-color);
}
.prodcut-card-title a:hover {
  color: var(--main-color);
}

/* ---------------------------------------------------------------- */
img {
  /* width: 100%; */
  display: block;
}
.img-display {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 405px;
  width: 100%;
}
.img-showcase {
  display: flex;
  width: 100%;
  transition: all 0.5s ease;
}
.img-showcase img {
  min-width: 100%;
}

.product-content {
  padding: 2rem 1rem;
}
.product-title {
  font-size: 32px;
  text-transform: capitalize;
  font-weight: 700;
  position: relative;
  color: var(--main-color);
  line-height: 1.25;
  margin-bottom: 12px;
}
.product-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 80px;
  background: black;
}
.product-link {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  background: #256eff;
  color: #fff;
  padding: 0 0.3rem;
  transition: all 0.5s ease;
}
.product-link:hover {
  opacity: 0.9;
}
.product-rating {
  color: #ffc107;
}
.product-rating span {
  font-weight: 600;
  color: #252525;
}

.product-price span {
  font-size: 22px;
  font-weight: 600;
}
.last-price span {
  color: var(--main-color);
  text-decoration: line-through;
}
.new-price span {
  color: var(--main-color);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}
.product-detail h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.product-detail p {
  font-size: 16px;
  padding: 0;
  line-height: 1.6;
  color: #595959;
  font-weight: 500;
  margin-bottom: 20px;
}
.product-detail ul {
  margin: 1rem 0;
  font-size: 15px;
  padding-left: 0;
}
.product-detail ul li {
  /* margin: 0;
  list-style: none;
  background: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRis6kyFqq2CC82RjBeQVoYXphNaiQX-RAsGg&s)
    left center no-repeat;
  background-size: 18px;
  padding-left: 1.7rem;
  margin: 0.4rem 0;
  font-weight: 600;
  opacity: 0.9; */

  margin: 0;
  list-style: none;
  background: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRis6kyFqq2CC82RjBeQVoYXphNaiQX-RAsGg&s)
    left center no-repeat;
  background-size: 18px;
  padding-left: 1.7rem;
  margin: 0.4rem 0;
  font-weight: 600;
  opacity: 0.9;
  background: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRis6kyFqq2CC82RjBeQVoYXphNaiQX-RAsGg&s)
    left 8px no-repeat;
  background-size: 18px;
}
.product-detail ul li span {
  font-weight: 400;
}
.purchase-info {
  margin-top: 32px;
  width: 100%;
}
.product-detail {
  width: 100%;
}
.purchase-info input,
.purchase-info .btn {
  border: 1.5px solid #ddd;
  border-radius: 25px;
  text-align: center;
  padding: 0.45rem 0.8rem;
  outline: 0;
  margin-right: 0.2rem;
}
.purchase-info input {
  width: 20%;
}
.purchase-info .btn {
  cursor: pointer;
  color: black;
}

.purchase-info .btn:last-of-type {
  width: 100%;
  background: var(--main-color);
  color: white;
  font-size: 16px;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 600;
}
.purchase-info .btn:hover {
  opacity: 0.9;
}
.product-details {
  padding-top: 70px;
}

/* Unified Responsive Gallery CSS */
.gallery-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.main-image-container {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.img-display {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.main-image:hover {
  transform: scale(1.02);
}

/* Touch navigation for mobile */
.touch-navigation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.touch-nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 18px;
  margin: 0 12px;
  pointer-events: auto;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.touch-nav-btn:hover {
  background: white;
  transform: scale(1.1);
  color: #55ad9b;
}

.thumbnails-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: #55ad9b transparent;
}

.thumbnails-container::-webkit-scrollbar {
  height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track {
  background: transparent;
}

.thumbnails-container::-webkit-scrollbar-thumb {
  background: #55ad9b;
  border-radius: 3px;
}

.thumbnail-item {
  flex: 0 0 80px;
  width: 65px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.thumbnail-item:hover {
  border-color: #55ad9b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(85, 173, 155, 0.3);
}

.thumbnail-item.active {
  border-color: #55ad9b;
  box-shadow: 0 0 0 2px #55ad9b;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image {
  transform: scale(1.05);
}

/* Desktop Layout */
@media (min-width: 768px) {
  .gallery-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: none;
  }

  .main-image-container {
    flex: 1;
    margin-bottom: 0;
  }

  .thumbnails-container {
    flex-direction: column;
    flex: 0 0 80px;
    width: 80px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: visible;
    order: -1;
  }

  .thumbnail-item {
    flex: 0 0 80px;
    margin-bottom: 12px;
  }

  .thumbnail-item:last-child {
    margin-bottom: 0;
  }

  .touch-nav-btn {
    display: none !important;
  }
}

@media screen and (min-width: 992px) {
  .card-wrapper .product-imgs {
    display: flex;
    flex-direction: column;
    height: 500px;
    padding: 15px;
    justify-content: center;
  }
  .card-wrapper .product-content {
    padding-top: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 100%;
  }
}
.similar-img-holder img {
  height: 206px;
  width: 100%;
  object-fit: cover;
}
.product-price {
  font-size: 20px;
  margin-bottom: 24px;
}
/* Mobile optimizations */
@media (max-width: 767px) {
  .thumbnails-container {
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 16px;
  }

  .thumbnail-item {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
  }
  .main-image,
  .img-display {
    border-radius: 8px 8px 0 0;
  }
}
@media (max-width: 530px) {
  .similar-items .row > *,
  .more-from-shop .row > * {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .purchase-info .btn:last-of-type {
    width: 100%;
    background: var(--main-color);
  }
  .purchase-info input {
    width: 100%;
    margin-bottom: 15px;
  }
}

.card-wrapper .product-imgs {
  position: relative;
}
