/* Artwork card (x-artwork-card) — shared by the gallery, wishlist and
   artwork detail pages so the card looks the same everywhere. */
.gallery-box-inr {
  box-shadow: 0px 4px 7px #cacaca;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* Slight pop-out on hover; only on devices with a real pointer. */
@media (hover: hover) {
  .gallery-box-inr:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.18);
    z-index: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-box-inr {
    transition: none;
  }
}
.gallery-box-pic a {
  height: 100%;
}
.sold-txt ul li {
  color: var(--red-text);
}
/* Outranks the bold `.gallery-price ul li` rule further down. */
.gallery-price.sold-txt ul li {
  font-weight: 400;
}
.gallery-enquiry-outr a {
  padding: 10px 8px;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  line-height: 37px;
  font-size: 1rem;
}
.gallery-enquiry-outr.disable a {
  color: var(--black-text);
  cursor: auto;
}
.whatsapp-txt {
  color: #1c9c0f;
}

.gallery-enquiry-outr a.enquiry-txtn {
  color: var(--black-text);
}
.gallery-enquiry-outr a.whatsapp-txt {
  color: #25d366;
}
.gallery-enquiry-outr a.enquiry-txtn:hover {
  background: #000;
}
.gallery-enquiry-outr a:hover {
  color: var(--bs-body-bg);
}

.gallery-box-inr h5 a:hover {
  background: #000 !important;
  color: var(--bs-body-bg);
}
.gallery-price ul li {
  font-size: 15px;
  position: relative;
  font-weight: bold;
}
.gallery-enquiry-outr a {
  background: transparent;
  transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
}
.gallery-enquiry-outr a.whatsapp-txt:hover {
  background-image: linear-gradient(
    90deg,
    hsl(150deg 100% 40%) 0%,
    hsl(151deg 100% 39%) 8%,
    hsl(152deg 100% 38%) 17%,
    hsl(153deg 100% 37%) 25%,
    hsl(154deg 100% 37%) 33%,
    hsl(155deg 100% 36%) 42%,
    hsl(156deg 100% 35%) 50%,
    hsl(157deg 100% 34%) 58%,
    hsl(157deg 100% 33%) 67%,
    hsl(158deg 100% 32%) 75%,
    hsl(159deg 100% 31%) 83%,
    hsl(160deg 100% 31%) 92%,
    hsl(161deg 97% 30%) 100%
  );
}
.wish-remove {
  background: var(--bs-body-bg);
  border: 1px solid #0066cc;
  height: 30px;
  color: #0066cc;
  width: 30px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  position: absolute;
  right: -9px;
  top: -15px;
  z-index: 9;
}
.fa-trash-alt::before {
  content: "\f2ed";
}
.wish-remove:hover {
  background: #0066cc;
  color: #fff;
}
.gallery-enquiry-outr.disable a:hover {
  color: #7f7f7f;
  background: var(--bs-body-bg);
}
.gallery-box-pic {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-box-descrip {
  padding-inline: 5px;
}
/* Title, ref no, medium and size lines under the image. */
.gallery-box-descrip h6 {
  font-size: 0.8rem;
}
.gallery-price {
  padding-inline: 5px;
}
/* Struck-out regular price shown above the deal price. */
.gallery-price ul.gallery-price__regular {
  margin-bottom: 0;
}
.gallery-price ul.gallery-price__regular li {
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: #000;
}
.gallery-price li {
  position: relative;
  padding: 0px 8px;
}
.gallery-price li:not(:first-child):before {
  content: "|";
  position: absolute;
  width: 10px;
}
.gallery-price li:not(:first-child):before {
  left: -10px;
  top: -1px;
}
.gallery-price li:not(:first-child) {
  margin-left: 10px;
}
/* Card prices: both rows split at the card's centre (INR right-aligned, USD
   left-aligned) so the struck-out and current "|" separators line up. */
.gallery-box-inr .gallery-price ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}
.gallery-box-inr .gallery-price ul li:first-child {
  text-align: right;
}
.gallery-box-inr .gallery-price ul li:not(:first-child) {
  margin-left: 0;
  text-align: left;
}
.gallery-box-inr .gallery-price ul li:not(:first-child):before {
  left: -5px;
  text-align: center;
}
/* No USD price (or a sold label): centre the lone item across the card. */
.gallery-box-inr .gallery-price ul li:only-child {
  grid-column: 1 / -1;
  text-align: center;
}
.gallery-box-inr h5 {
  font-size: 0.95rem;
  font-weight: 400;
}
.gallery-box-inr h5 a:not(:hover) {
  color: #1177c8;
}
@media (max-width: 575.98px) {
  .gallery-enquiry-outr a {
    font-size: 14px;
  }
}
@media (max-width: 414px) {
  .gallery-box-inr .gallery-price ul {
    display: flex;
    flex-direction: column;
  }
  .gallery-box-inr .gallery-price ul li {
    text-align: center !important;
  }
  .gallery-box-inr .gallery-price ul li:before {
    content: "" !important;
  }
  .gallery-price li:not(:first-child) {
    margin-left: 0px;
  }
  .gallery-box-inr {
    display: flex;
    flex-direction: column;
  }
  .gallery-enquiry-outr {
    display: block !important;
    margin-block-start: auto;
  }
}
