/* ==========================
   BESTSELLERS – LUEN
   ========================== */

.bestsellers {
  padding: 128px 0;
  background: linear-gradient(180deg, #FAF7F4 0%, #F5EFE9 100%);
}

.bestsellers__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.bestsellers__header {
  text-align: center;
  margin-bottom: 80px;
}

.bestsellers__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--merlot-reserve);
  opacity: .75;
}

.bestsellers__title {
  margin: 0 0 10px;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--estate-plum);
}

.bestsellers__desc {
  margin: 0 auto;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--merlot-reserve);
  opacity: .7;
}

/* Layout like screenshot: big left card + 2x2 right */
.bestsellers__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .bestsellers__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------
   Reveal animation (all cards)
-------------------------- */
.js-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease, transform .8s ease, box-shadow .35s ease, transform .35s ease;
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------
   Featured card (left)
-------------------------- */
.bestsellers-featured {
  position: relative;
  border-radius: 28px;
  padding: 46px 42px 34px;
  background: #F6F1EE;
  box-shadow: 0 14px 40px rgba(46, 27, 33, 0.06);
  overflow: hidden;
  min-height: 600px;
}

.bestsellers-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(46, 27, 33, 0.10);
}

.bestsellers-featured__badge {
  position: absolute;
  top: 60px;
  right: 60px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(122, 52, 81, 0.90);
  color: #fff;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .06em;
  z-index: 2;
}

.bestsellers-featured__wish {
  position: absolute;
  top: 58px;
  right: 26px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.80);
  box-shadow: 0 10px 20px rgba(46, 27, 33, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
  z-index: 2;
}

.bestsellers-featured__wish:hover {
  transform: scale(1.06);
  background: rgba(255,255,255,0.95);
}

.bestsellers-featured__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.bestsellers-featured__media {
  display: grid;
  place-items: center;
  
}

.bestsellers-featured__image {
  width: min(420px, 95%);
  height: auto;
  object-fit: contain;
  transform: translateZ(0);
  transition: transform .6s ease;
}

.bestsellers-featured:hover .bestsellers-featured__image {
  transform: scale(1.02);
}

.bestsellers-featured__type {
  margin: 6px 0 10px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .30em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--lavender-mist);
}

.bestsellers-featured__name {
  margin: 0 0 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--estate-plum);
}

.bestsellers-featured__excerpt {
  margin: 0 auto 18px;
  max-width: 420px;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--merlot-reserve);
  opacity: .75;
}

.bestsellers-featured__price {
  text-align: center;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 300;
  color: var(--merlot-reserve);
}

.bestsellers-featured__cta {
  margin-left: auto;
  margin-right: auto;  
  width: 50%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 300;
  background: linear-gradient(135deg, #7A3451 0%, #9B4F6B 100%);
  box-shadow: 0 16px 34px rgba(122, 52, 81, 0.26);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.bestsellers-featured__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(122, 52, 81, 0.32);
  filter: brightness(1.02);
}

.bestsellers-featured__cta.is-loading {
  opacity: .75;
  pointer-events: none;
}

/* --------------------------
   Right grid cards
-------------------------- */
.bestsellers-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 560px) {
  .bestsellers-items {
    grid-template-columns: 1fr;
  }
}

.bestsellers-item {
  position: relative;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(214, 200, 208, 0.55);
  box-shadow: 0 12px 34px rgba(46, 27, 33, 0.06);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.bestsellers-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 54px rgba(46, 27, 33, 0.10);
}

.bestsellers-item__link {
  display: block;
  padding: 18px 18px 20px;
  text-decoration: none;
  color: inherit;
}

.bestsellers-item__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
}

.bestsellers-item__image {
  width: 85%;
  height: auto;
  object-fit: contain;
  transition: transform .6s ease;
}

.bestsellers-item:hover .bestsellers-item__image {
  transform: scale(1.06);
}

.bestsellers-item__type {
  margin: 2px 0 8px;
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--lavender-mist);
}

.bestsellers-item__name {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 300;
  color: var(--estate-plum);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.bestsellers-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bestsellers-item__price {
  font-size: 14px;
  font-weight: 300;
  color: var(--merlot-reserve);
}

.bestsellers-item__add {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: #7A3451;
  color: #fff;
  box-shadow: 0 14px 28px rgba(122, 52, 81, 0.22);
  transition: transform .22s ease, filter .22s ease, opacity .22s ease;
}

.bestsellers-item__add:hover {
  transform: scale(1.07);
  filter: brightness(1.03);
}

.bestsellers-item__add.is-loading {
  opacity: .75;
  pointer-events: none;
}


.bestsellers-icon-heart::before {
  content: "♡";
  font-size: 16px;
  line-height: 1;
  color: var(--merlot-reserve);
  transform: translateY(-1px);
}

.bestsellers-icon-arrow::before {
  content: "›";
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
  display: inline-block;
}

.js-reveal {
  opacity: 0;
  transform: scale(.965);
  transition:
    opacity .85s ease,
    transform .85s cubic-bezier(.16,1,.3,1),
    box-shadow .35s ease,
    transform .35s ease;
  will-change: opacity, transform;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: scale(1);
}


.bestsellers-featured,
.bestsellers-item {
  transition: transform .35s ease, box-shadow .35s ease;
}
.bestsellers-featured:hover,
.bestsellers-item:hover {
  transform: translateY(-6px);
}

/* Image zoom na hover */
.bestsellers-featured__image,
.bestsellers-item__image {
  transition: transform .6s cubic-bezier(.16,1,.3,1);
  transform: translateZ(0);
}
.bestsellers-featured:hover .bestsellers-featured__image,
.bestsellers-item:hover .bestsellers-item__image {
  transform: scale(1.06);
}


.bestsellers-wish-wrap {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;

  opacity: 0;
  transform: scale(.9);
  transition: opacity .25s ease, transform .25s ease;
}


.bestsellers-featured:hover .bestsellers-wish-wrap,
.bestsellers-item:hover .bestsellers-wish-wrap,
.bestsellers-featured:focus-within .bestsellers-wish-wrap,
.bestsellers-item:focus-within .bestsellers-wish-wrap {
  opacity: 1;
  transform: scale(1);
}


.bestsellers-wish-wrap a,
.bestsellers-wish-wrap button {
  width: 36px;
  height: 36px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 22px rgba(46,27,33,.12);

  border: 0 !important;
  text-decoration: none !important;

  transition: transform .22s ease, background .22s ease;
}

.bestsellers-wish-wrap a:hover,
.bestsellers-wish-wrap button:hover {
  transform: scale(1.08);
  background: rgba(255,255,255,.95);
}

.bestsellers-wish-wrap a span,
.bestsellers-wish-wrap button span,
.bestsellers-wish-wrap .tinvwl_add_to_wishlist-text {
  display: none !important;
}


.bestsellers-wish-wrap a::before,
.bestsellers-wish-wrap button::before {
  content: "♡";
  font-size: 16px;
  line-height: 1;
  color: var(--merlot-reserve);
  transform: translateY(-1px);
}

.bestsellers-wish-wrap .tinvwl-product-in-list a::before,
.bestsellers-wish-wrap .tinvwl-product-in-list button::before,
.bestsellers-wish-wrap a.tinvwl-product-in-list::before {
  content: "♥";
}

.bestsellers-featured { position: relative; }
.bestsellers-item { position: relative; }


/* CARD BASE */
.bestsellers-featured,
.bestsellers-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(214, 200, 208, 0.2)
  );

  box-shadow: rgba(45, 26, 32, 0.08) 0px 8px 25px;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.bestsellers-featured:hover,
.bestsellers-item:hover {
  transform: translateY(-6px);
  box-shadow: rgba(45, 26, 32, 0.12) 0px 18px 45px;
}

.bestsellers-featured__media,
.bestsellers-item__media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.bestsellers-featured__media img,
.bestsellers-item__media img {
  display: block;
  width: 100%;
  height: auto;

  transform: scale(1);
  transition-property: transform;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

  will-change: transform;
}

.bestsellers-featured:hover .bestsellers-featured__media img {
  transform: scale(1.08);
}


.bestsellers-item:hover .bestsellers-item__media img {
  transform: scale(1.06);
}
