/* ══════════════════════════════════════════════
   PRODUCT HERO
══════════════════════════════════════════════ */

.product-hero {
  padding: 40px 0 80px;
}

.product-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* ── Gallery Column ── */
.product-gallery-col {
  flex: 0 0 48%;
}

.product-gallery__main {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f5f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.product-gallery__main img.is-loading {
  opacity: 0;
}
.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-gallery__thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #f5f3f0;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}


.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__thumb.is-active {
  border-color: #141414;
}

.product-gallery__thumb:hover:not(.is-active) {
  border-color: #ccc;
}

.product-info-col {
  position: sticky;
  top: calc(56px + 24px);
  align-self: flex-start;
}

/* Breadcrumb */
.prod-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: 300;
  color: #999;
  margin-bottom: 18px;
}

.prod-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.prod-breadcrumb a:hover {
  color: #141414;
}

.prod-breadcrumb__sep {
  opacity: 0.5;
}

/* Title row */
.product-info__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

/* Rating */
.product-info__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding-top: 6px;
}

.rating-star {
  color: #f5a623;
  font-size: 14px;
  line-height: 1;
}

.rating-value {
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 400;
  color: #141414;
}

.rating-sep {
  font-family: var(--font-outfit);
  font-size: 13px;
  color: #ccc;
}

.rating-verified {
  flex-shrink: 0;
}

.rating-count {
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: 300;
  color: #888;
}

/* Name */
.product-info__name {
  font-family: var(--font-outfit);
  font-size: 32px;
  font-weight: 300;
  color: #141414;
  margin-bottom: 8px;
}

/* Tagline */
.product-info__tagline {
  font-family: var(--font-outfit);
  font-size: 16px;
  font-weight: 300;
  color: #141414;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

/* Price */
.product-info__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.price-sale {
  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 500;
  color: #141414;
}

.price-orig {
  font-family: var(--font-outfit);
  font-size: 15px;
  font-weight: 300;
  color: #bbb;
  text-decoration: line-through;
}

.price-discount {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 500;
  color: #e53e3e;
}

.price-inclusive {
  font-family: var(--font-outfit);
  font-size: 11px;
  font-weight: 300;
  color: #999;
  margin-bottom: 22px;
}

/* Offers & Rewards */
.product-info__offers {
  margin-bottom: 22px;
}

.offers-label {
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 400;
  color: #141414;
  margin-bottom: 10px;
}

.coupon-input {
  width: 100%;
  height: 50px;
  border: 1px solid #141414;
  border-radius: 8px;
  padding: 0 16px;
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 300;
  color: #141414;
  background: transparent;
  outline: none;
  transition: border-color 0.2s ease;
}

.coupon-input::placeholder {
  color: #bbb;
}

.coupon-input:focus {
  border-color: #141414;
}

/* Scent block */
.product-info__scent-block {
  margin-bottom: 22px;
}

.scent-selected {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 300;
  color: #141414;
  margin-top: 8px;
}

/* BUY button */
.buy-btn {
  width: 100%;
  height: 54px;
  background: #141414;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-outfit);
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 22px;
  transition: opacity 0.2s ease;
}

.buy-btn:hover {
  opacity: 0.82;
}

/* Size */
.product-info__label {
  font-family: var(--font-outfit);
  font-size: 16px;
  font-weight: 300;
  color: #141414;
  margin-bottom: 10px;
}

.product-info__size-block {
  margin-bottom: 22px;
}

.product-info__size-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-info__size-label {
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 400;
  color: #141414;
  white-space: nowrap;
}

.product-info__size-btns {
  display: flex;
  gap: 8px;
}

.size-btn {
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: 300;
  color: #141414;
  background: transparent;
  border: 1px solid #d0d0d0;
  border-radius: 100px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.size-btn:hover,
.size-btn.is-active {
  background: #141414;
  color: #fff;
  border-color: #141414;
}

/* Thumbnails in info panel */
.product-info__thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.info-thumb {
  width: 62px;
  height: 62px;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #f5f3f0;
  overflow: hidden;
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-thumb.is-active {
  border-color: #141414;
}

.info-thumb:hover:not(.is-active) {
  border-color: #ccc;
}

/* ATC + Qty */
.product-info__actions {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 18px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
}

.qty-btn {
  width: 42px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-outfit);
  font-size: 18px;
  font-weight: 300;
  color: #141414;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #f5f5f5;
}

.qty-value {
  width: 50px;
  text-align: center;
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 400;
  color: #141414;
  line-height: 50px;
  user-select: none;
}

.atc-btn {
  flex: 1;
  height: 50px;
  background: transparent;
  color: #141414;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-family: var(--font-outfit);
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.atc-btn:hover {
  opacity: 0.82;
}

/* More Details accordion */
.product-info__more {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 300;
  color: #777;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.product-info__more:hover {
  color: #141414;
}

.more-details__chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.product-info__more[aria-expanded="true"] .more-details__chevron {
  transform: rotate(180deg);
}

.product-more-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.product-more-details.is-open {
  max-height: 320px;
}

.product-more-details__inner {
  padding-top: 16px;
  border-top: 1px solid #eee;
  margin-top: 14px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row__key {
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-row__val {
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 300;
  color: #333;
}


.product-storyWrap {
  display: flex;
  gap: 60px;
  align-items: stretch;
  margin-bottom: 2px;
} 

.product-story__row--reverse {
  flex-direction: row-reverse;
}

.product-story__image {
  flex: 0 0 58%;
  overflow: hidden;
  line-height: 0;
}

.product-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-story__content {
  flex: 1;
  padding: 60px 50px;
  background: #faf9f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-label {
  font-family: var(--font-outfit);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #141414;
  margin-bottom: 14px;
}

.story-text {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 300;
  color: #141414;
}


.product-story__notes-row {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding: 0 0 80px;
}

.product-story__notes-left {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-story__scene {
  line-height: 0;
  overflow: hidden;
}
.product-story__notes-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.note-block {
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
}

.note-block:first-child {
  padding-top: 0;
}

.note-block:last-child {
  border-bottom: none;
}

.note-block__label {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 300;
  color: #141414;
  margin-bottom: 14px;
}

.note-block__text {
  font-family: var(--font-outfit);
  font-size: 16px;
  font-weight: 300;
  color: #141414;
}

/* ══════════════════════════════════════════════
   PRODUCT RECOMMENDATIONS SWIPER
══════════════════════════════════════════════ */

.product-recs {
  padding: 60px 0 80px;
  overflow: hidden;
}

.product-recs__label {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 300;
  color: #141414;
  margin-bottom: 24px;
  padding-left: max(15px, var(--container_left_space));
}

.product-recs__swiper {
  padding-left: max(15px, var(--container_left_space)) !important;
  overflow: visible;
}

.product-recs__slide {
  flex-shrink: 0;
}

.product-recs__card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-recs__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid #d0d0d0
}

.product-recs__img-wrap img {
  padding: 60px 0;
  display: block;
  transition: transform 0.4s ease;
}

.product-recs__card:hover .product-recs__img-wrap img {
  transform: scale(1.04);
}

.product-recs__name {
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 400;
  color: #141414;
  margin-bottom: 4px;
  text-align: center;
}

.product-recs__sub {
  font-family: var(--font-outfit);
  font-size: 12px;
  font-weight: 300;
  color: #888;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .product-info-col {
    width: 50%;
  }

  .product-gallery__main {
    aspect-ratio: unset;
  }

  .product-info__name {
    font-size: 26px;
  }

  .product-info__tagline {
    font-size: 14px;
  }

  .buy-btn,
  .atc-btn {
    font-size: 15px;
  }

  .coupon-input {
    height: 44px;
  }
  .product-story__notes-left {
    flex: 0 0 50%;
  }

  .product-story__scene img {
    width: 100%;
  }

  .product-info__actions {
    gap: 16px;
  }

  .product-story__notes-row {
    gap: 48px;
  }
 
  .product-story__content {
    padding: 40px 32px;
  }
  .product-gallery-col {
    width: 50%;
    flex: none;
  }
  .product-gallery__thumbs img {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .product-hero {
    padding: 24px 0 60px;
  }

  .product-layout {
    flex-direction: column;
    gap: 32px;
  }

  .product-gallery-col {
    flex: none;
    width: 100%;
  }

  .product-info-col {
    position: static;
    width: 100%;
  }

  .product-info__name {
    font-size: 30px;
  }

  .product-gallery__thumbs{
    display: none;
  }

  .product-gallery__main {
    aspect-ratio: 1 / 1;
  }

  .product-story__row,
  .product-story__row--reverse {
    flex-direction: column;
  }

  .product-story__image {
    flex: none;
    width: 100%;
    height: 280px;
  }

  .product-story__content {
    padding: 32px 20px;
  }
  .product-story__notes-row {
    flex-direction: column;
    gap: 40px;
    padding: 40px 0 60px;
  }

  .product-story__notes-left {
    flex: none;
    width: 100%;
  }
}
