/* theme-2 shophost css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #f5f2e9;
  color: #11110f;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

#header-placeholder {
  position: relative;
  z-index: 1000;
}

/* =====================================================
   HERO SLIDER
   Responsive desktop + tablet + mobile
===================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(540px, 55vw, 620px);
  overflow: hidden;
  background: #f4f4f4;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* =====================================================
   BANNER IMAGE
===================================================== */

.hero-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.1);
  transform-origin: center center;
  will-change: transform;
}

/* =====================================================
   BANNER ZOOM
===================================================== */

.hero-slide.active .hero-bg img {
  animation: activeBannerZoomOut 5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes activeBannerZoomOut {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* =====================================================
   TOP OVERLAY
===================================================== */

.hero-slide::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0)
  );
}

/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
  position: absolute;
  z-index: 5;
  left: max(calc((100% - 940px) / 2), 20px);
  bottom: 55px;
  color: #ffffff;
  pointer-events: none;
  max-width: 500px;
}

.hero-content-one,
.hero-content-two {
  left: max(calc((100% - 940px) / 2), 20px);
}

.hero-content h1 {
  margin: 0 0 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -2.5px;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-subtitle {
  margin-bottom: 22px;
}

.hero-content-one h1 span {
  color: #f4d000;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-content-two {
  bottom: 45px;
}

/* =====================================================
   HERO BUTTON
===================================================== */

.hero-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  background: #ffffff;
  color: #151512;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.hero-button .btn-label {
  position: relative;
  z-index: 2;
}

.hero-button:hover {
  background: #ffffff;
}

.hero-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #e7e7e7;
  transform: translateX(-100%) skewX(20deg);
  transform-origin: left bottom;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.hero-button:hover::after {
  transform: translateX(0) skewX(20deg);
}

.hero-banner-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  cursor: pointer;
}

/* Second banner button */

.hero-content-two .hero-button {
  background: #14140f;
  color: #ffffff;
}

.hero-content-two .hero-button:hover {
  background: #24241f;
}

.hero-content-two .hero-button::after {
  background: #24241f;
}

/* =====================================================
   SLIDER ARROWS
===================================================== */

.slider-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: #00000047 !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    background 0.2s ease;
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: rgba(20, 20, 18, 0.55);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

.slider-arrow::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 14px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.slider-arrow.prev::before {
  left: 15px;
  transform: rotate(45deg);
}

.slider-arrow.next::before {
  left: 12px;
  transform: rotate(225deg);
}

/* =====================================================
   DOT / PROGRESS INDICATOR
===================================================== */

.slider-dots {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}

.slider-dot {
  width: 80px;
  height: 4px;
  border: 0;
  padding: 0;
  background: rgba(20, 20, 18, 0.28);
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
  border-radius: 10px;
}

.slider-dot.active {
  width: 80px;
  background: rgba(20, 20, 18, 0.9);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {
  .hero-slider {
    height: 560px;
  }

  .hero-content {
    left: 40px;
    bottom: 55px;
  }

  .hero-content-one,
  .hero-content-two {
    left: 40px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 5vw, 52px);
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {
  .hero-slider {
    width: 100%;
    height: 560px;
    min-height: 0;
  }

  .hero-track,
  .hero-slide,
  .hero-bg,
  .hero-bg picture {
    height: 100%;
  }

  .hero-slide {
    min-height: 0;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-content,
  .hero-content-one,
  .hero-content-two {
    left: 20px;
    right: 20px;
    bottom: 55px;
    max-width: calc(100% - 40px);
  }

  .hero-content h1 {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .hero-button {
    min-width: 160px;
    height: 46px;
    padding: 0 20px;
    font-size: 12px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
    opacity: 0.85;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }

  .slider-arrow::before {
    top: 11px;
  }

  .slider-dots {
    bottom: 18px;
  }

  .slider-dot {
    width: 24px;
  }

  .slider-dot.active {
    width: 30px;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
  .hero-slider {
    height: 520px;
  }

  .hero-content,
  .hero-content-one,
  .hero-content-two {
    left: 16px;
    right: 16px;
    bottom: 48px;
    max-width: calc(100% - 32px);
  }

  .hero-content h1 {
    font-size: 25px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .hero-button {
    min-width: 145px;
    height: 42px;
    padding: 0 18px;
    font-size: 11px;
  }
}

/* =====================================================
   CONTENT / FOOTER
===================================================== */

.content-section {
  min-height: 350px;
  padding: 80px 20px;
  background: #f5f2e9;
}

.content-container {
  width: 915px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.content-container h2 {
  font-size: 32px;
  font-weight: 400;
}

.content-container p {
  max-width: 600px;
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.6;
}

/* =====================================================
         SCROLL REVEAL ANIMATION
      ===================================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-stagger-1 {
  transition-delay: 0.04s;
}
.scroll-reveal-stagger-2 {
  transition-delay: 0.12s;
}
.scroll-reveal-stagger-3 {
  transition-delay: 0.2s;
}
.scroll-reveal-stagger-4 {
  transition-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================
         INFINITE BRAND MARQUEE
      ===================================================== */
.brand-marquee {
  width: 100%;
  overflow: hidden;
  background: #f5f2e9;
  position: relative;
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: brandMarqueeScroll 24s linear infinite;
  will-change: transform;
}

.brand-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 38px;
  flex: 0 0 auto;
  white-space: nowrap;
  color: #171715;
  font-size: 23px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.45px;
}

.brand-marquee-item img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.brand-marquee-content {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand-marquee-title {
  display: block;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: inherit;
  color: inherit;
}

.brand-marquee-subtitle {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: #666;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 3px;
}

/* Hover anywhere over the section = pause. */
.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}

@keyframes brandMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hover interaction: marquee pauses and the hovered image gently zooms. */
.brand-marquee-item {
  cursor: default;
}

.brand-marquee-item img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-marquee-item:hover img {
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track {
    animation: none !important;
  }

  .brand-marquee-item img,
  .brand-marquee-item:hover img {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .brand-marquee-track {
    animation-duration: 21s;
  }
  .brand-marquee-item {
    gap: 20px;
    padding: 16px 28px;
    font-size: 18px;
  }
  .brand-marquee-item img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .brand-marquee-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .brand-marquee-track {
    animation-duration: 18s;
  }
  .brand-marquee-item {
    gap: 14px;
    padding: 14px 20px;
    font-size: 15px;
  }
  .brand-marquee-item img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .brand-marquee-subtitle {
    font-size: 11px;
    margin-top: 2px;
  }
}

/* =====================================================
         SHOP BY ROUTINE
      ===================================================== */

.shop-routine {
  width: 100%;
  background: #ffffff;
  padding: 40px 0 20px;
}

.shop-routine-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.routine-cards-wrap {
  position: relative;
}

.routine-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.routine-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f3ef;
  aspect-ratio: 0.8 / 1;
  cursor: pointer;
}

.routine-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.routine-card:hover img {
  transform: scale(1.05);
}

.routine-card-title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 34px;
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.routine-mobile-progress,
.routine-mobile-controls {
  display: none;
}

.routine-mobile-progress {
  position: relative;
  width: calc(100% - 82px);
  height: 1px;
  margin-top: 28px;
  background: #b8b8b8;
}

.routine-mobile-progress-fill {
  display: block;
  width: 50%;
  height: 1px;
  background: #11110f;
  transition: width 0.35s ease;
}

.routine-mobile-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  gap: 6px;
}

.routine-mobile-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #bcbcbc;
  border-radius: 50%;
  background: #ffffff;
  color: #222222;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  padding: 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.routine-mobile-arrow:hover {
  border-color: #11110f;
}

@media (max-width: 900px) {
  .shop-routine {
    padding: 40px 0 20px;
  }

  .routine-cards-wrap {
    position: relative;
  }

  .routine-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-padding-right: 22px;
  }

  .routine-cards::-webkit-scrollbar {
    display: none;
  }

  .routine-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: calc((100% - 32px) / 3);
  }

  .shop-routine .routine-card-image-link,
  .shop-routine .routine-card-image-link img {
    height: 100%;
  }

  .routine-mobile-progress {
    display: block;
  }

  .routine-mobile-controls {
    display: flex;
  }
}

@media (max-width: 600px) {
  .shop-routine-inner {
    width: min(100% - 28px, 500px);
  }

  .routine-cards {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: scroll !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .routine-cards::-webkit-scrollbar {
    display: none;
  }

  .routine-card {
    flex: 0 0 calc((100% - 24px) / 3) !important;
    width: calc((100% - 24px) / 3);
    min-width: calc((100% - 24px) / 3);
    scroll-snap-align: start;
  }

  /* Small screen: no bottom line and no arrows. */
  .routine-mobile-progress,
  .routine-mobile-controls {
    display: none !important;
  }

  .routine-card-title {
    bottom: 14px;
    font-size: clamp(12px, 3.2vw, 16px);
    line-height: 1.15;
  }
}

/* =====================================================
         YOUR SKIN'S FAVOURITES
      ===================================================== */

.skin-favourites {
  width: 100%;
  background: #ffffff;
  padding: 40px 0;
}

.skin-favourites-inner {
  width: min(1110px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 26px;
  align-items: stretch;
}

/* LEFT FEATURE */
.favourites-feature {
  position: sticky;
  top: 24px;
  align-self: start;
  height: calc(100vh - 48px);
  min-height: 520px;
  max-height: 760px;
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #d8d1c8;
}

.favourites-feature-back,
.favourites-feature-modal {
  position: absolute;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.favourites-feature-back {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.1);
  will-change: transform;
}

.favourites-feature.is-visible .favourites-feature-back {
  animation: favouritesBackZoomOut 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes favouritesBackZoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.favourites-feature-modal {
  z-index: 2;
  width: 64%;
  height: 64%;
  left: 18%;
  top: 17%;
  object-fit: cover;
  object-position: center center;
  border-radius: 7px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
}

.favourites-feature-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 27px;
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* RIGHT PRODUCTS */
.favourites-products-area {
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.favourites-heading {
  margin: 1px 0 5px;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #11110f;
}

.favourites-subheading {
  margin: 0 0 17px;
  text-align: center;
  color: #555555;
  font-size: 8px;
  line-height: 1.3;
}

.favourites-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px 16px;
}

.favourite-product {
  position: relative;
  min-width: 0;
}

.favourite-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.93;
  overflow: hidden;
  border-radius: 6px;
  background: #f7f6f2;
}

.favourite-product-image .favourite-default-img,
.favourite-product-image .favourite-hover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center center;
  pointer-events: none;
}

.favourite-product-image .favourite-default-img {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.favourite-product-image .favourite-hover-img {
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.favourite-product:hover .favourite-default-img {
  opacity: 0;
  transform: scale(1.07);
}

.favourite-product:hover .favourite-hover-img {
  opacity: 1;
  transform: scale(1);
}

.favourite-badge {
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 7px;
  padding: 4px 6px;
  border-radius: 5px;
  background: #17323c;
  color: #ffffff;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
}

.favourite-badge.new {
  background: #2f737b;
}

.favourite-badge.sale {
  background: #e5653c;
}

.favourite-badges {
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 7px;
  display: flex;
  gap: 4px;
}

.favourite-badges .favourite-badge {
  position: static;
}

.favourite-select-options {
  position: absolute;
  z-index: 5;
  left: 8px;
  bottom: 8px;
  min-width: 91px;
  height: 27px;
  padding: 0 13px;
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14140f;
  color: #ffffff;
  font:
    500 10px/1 Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0.35s;
}

.favourite-select-options span {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.favourite-select-options::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #24241f;
  transform: translateX(-100%) skewX(20deg);
  transition: transform 0.4s ease;
  pointer-events: none;
}

.favourite-select-options:hover::after {
  transform: translateX(0) skewX(20deg);
}

.favourite-product:hover .favourite-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0s linear 0s;
}

.favourite-brand {
  margin-top: 7px;
  color: #333333;
  font-size: 8px;
  line-height: 1.2;
}

.favourite-product-name {
  margin-top: 8px;
  color: #151512;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 400;
}

.favourite-price {
  margin-top: 10px;
  color: #333333;
  font-size: 9px;
  line-height: 1.2;
}

/* PRODUCT OPTIONS PANEL */
.favourite-options-modal {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  padding: 14px 10px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #ffffff;
  color: #151512;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px);
  transition:
    opacity 0.32s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.42s;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.favourite-product.is-options-open .favourite-options-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.32s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.favourite-product.is-options-closing .favourite-options-modal {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(22px);
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.38s;
}

.favourite-options-close {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 18px;
  height: 18px;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  background: #ffffff;
  color: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.favourite-options-title {
  margin: 12px 20px 0 0;
  font-size: 11px;
  line-height: 1.25;
}

.favourite-options-price {
  margin-top: 8px;
  font-size: 9px;
  line-height: 1.2;
}

.favourite-options-label {
  margin-top: 15px;
  font-size: 9px;
  line-height: 1.2;
}

.favourite-size-options {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.favourite-size-option {
  min-width: 38px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid #9f9f9f;
  border-radius: 14px;
  background: #ffffff;
  color: #222222;
  font-size: 8px;
  cursor: pointer;
}

.favourite-size-option.active {
  border-color: #11110f;
}

.favourite-add-bag {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: 28px;
  margin-top: auto;
  border: 0;
  border-radius: 15px;
  background: #14140f;
  color: #ffffff;
  font-size: 8px;
  font-weight: 500;
  cursor: pointer;
}

.favourite-add-bag span {
  position: relative;
  z-index: 2;
}

.favourite-add-bag::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #24241f;
  transform: translateX(-100%) skewX(20deg);
  transition: transform 0.4s ease;
}

.favourite-add-bag:hover::after {
  transform: translateX(0) skewX(20deg);
}

/*
         DESKTOP BEHAVIOUR
         The left feature stays pinned in the viewport while the right
         product grid continues naturally until product 6 / the last row.
         There is no inner scrollbar; the normal page scroll controls it.
      */

/*
         TABLET / MEDIUM SCREENS
         Keep the same visual hierarchy as the reference: heading first,
         feature image second, then the two-column product grid.
      */
@media (max-width: 900px) {
  .skin-favourites {
    padding: 58px 0 65px;
  }

  .skin-favourites-inner {
    width: min(720px, calc(100% - 28px));
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .favourites-products-area {
    display: contents;
  }

  .favourites-heading {
    order: 1;
    margin: 0 0 32px;
  }

  .favourites-subheading {
    order: 2;
    margin: -20px 0 32px;
  }

  .favourites-feature {
    order: 3;
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.28 / 1;
    margin: 0 0 26px;
  }

  .favourites-products {
    order: 4;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 16px;
  }
}

@media (max-width: 600px) {
  .skin-favourites-inner {
    width: calc(100% - 26px);
  }

  .favourites-heading {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .favourites-subheading {
    margin-top: -18px;
    margin-bottom: 30px;
  }

  .favourites-feature {
    aspect-ratio: 0.94 / 1;
    margin-bottom: 26px;
  }

  /* Small-screen product carousel: cards stay side-by-side and the
           user can swipe horizontally instead of making the cards tiny. */
  .favourites-products {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 0 6px;
  }

  .favourites-products::-webkit-scrollbar {
    display: none;
  }

  .favourite-product {
    flex: 0 0 78%;
    width: 78%;
    scroll-snap-align: start;
  }

  .favourites-heading {
    font-size: 18px;
  }

  .favourite-brand {
    font-size: 9px;
  }

  .favourite-product-name {
    font-size: 12px;
  }

  .favourite-price {
    font-size: 10px;
  }

  .favourite-select-options {
    left: 6px;
    bottom: 6px;
    min-width: 82px;
    height: 24px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .favourites-feature-back {
    animation: none !important;
    transform: scale(1) !important;
  }

  .favourite-product-image .favourite-default-img,
  .favourite-product-image .favourite-hover-img,
  .favourite-select-options,
  .favourite-select-options::after,
  .favourite-options-modal {
    transition: none !important;
  }
}

/* =====================================================
         SHOPPABLE FEED
         4 looping hover videos + product info
      ===================================================== */

/* Shoppable feed reveal: starts slightly below and fades upward */
.shoppable-feed.scroll-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.shoppable-feed.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shoppable-feed {
  width: 100%;
  background: #ffffff;
  padding: 76px 0 88px;
  overflow: hidden;
}

.shoppable-feed-inner {
  width: 100%;
  margin: 0 auto;
}

.shoppable-feed-heading {
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  color: #11110f;
}

.shoppable-feed-handle {
  margin: 9px 0 30px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  color: #11110f;
}

.shoppable-track {
  --shop-card: 325px;
  --shop-center-card: 325px;
  --shop-edge-card: 325px;
  --shop-gap: 16px;
  --shop-vertical-extra: 56px;
  display: flex;
  align-items: center;
  gap: var(--shop-gap);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 32px 0 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  cursor: grab;
  touch-action: pan-x;
}

.shoppable-track::-webkit-scrollbar {
  display: none;
}

.shoppable-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/*
       * Five-card desktop composition:
       * half card | full | BIG CENTER | full | half card
       * This gives the exact "3 full + 2 half" framing from the reference.
       */
.shoppable-card {
  position: relative;
  flex: 0 0 var(--shop-card);
  width: var(--shop-card);
  min-width: 0;
}

.shoppable-card[data-shop-role="center"] {
  flex-basis: var(--shop-center-card);
  width: var(--shop-center-card);
}

.shoppable-card[data-shop-role="edge"] {
  flex-basis: var(--shop-edge-card);
  width: var(--shop-edge-card);
}

.shoppable-media {
  position: relative;
  width: 100%;
  aspect-ratio: 0.68 / 1;
  overflow: hidden;
  border-radius: 7px;
  background: #eeeae2;
}

.shoppable-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #eeeae2;
}

.shoppable-play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.shoppable-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

/* Play icon is visible on the stopped video and disappears only while playing. */
.shoppable-media:not(.is-playing) .shoppable-play {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.shoppable-media.is-playing .shoppable-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.shoppable-volume {
  position: absolute;
  z-index: 5;
  top: 11px;
  left: 11px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(45, 45, 45, 0.58);
  color: #fff;
  display: none;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  padding: 0;
}

/* Show the volume control ONLY while the user hovers the video card */
.shoppable-media:hover .shoppable-volume,
.shoppable-media:focus-within .shoppable-volume {
  display: grid;
}

.shoppable-volume .volume-off,
.shoppable-volume .volume-on {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
}

.shoppable-volume .volume-off svg,
.shoppable-volume .volume-on svg {
  width: 19px;
  height: 19px;
  display: block;
}

.shoppable-volume .volume-on {
  display: none;
}

.shoppable-media.is-unmuted .volume-off {
  display: none;
}

.shoppable-media.is-unmuted .volume-on {
  display: grid;
}

.shoppable-product {
  position: absolute;
  z-index: 6;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  pointer-events: none;
}

.shoppable-product-thumb {
  flex: 0 0 57px;
  width: 57px;
  height: 57px;
  border-radius: 3px;
  object-fit: cover;
  background: #f7f6f2;
}

.shoppable-product-copy {
  min-width: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.shoppable-product-name {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 400;
}

.shoppable-product-price {
  margin: 0;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 600;
}

.shoppable-media::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.shoppable-media.is-playing .shoppable-play {
  opacity: 0;
}

@media (max-width: 1100px) {
  .shoppable-feed {
    padding: 40px 0;
  }

  .shoppable-track {
    --shop-card: 285px;
    --shop-center-card: 305px;
    --shop-edge-card: 285px;
    --shop-gap: 14px;
    gap: var(--shop-gap);
    padding: 0 0 8px;
  }
}

@media (max-width: 600px) {
  .shoppable-feed {
    padding: 56px 0 66px;
  }

  .shoppable-feed-heading {
    font-size: 21px;
  }

  .shoppable-feed-handle {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .shoppable-track {
    --shop-card: 76vw;
    --shop-center-card: 82vw;
    --shop-edge-card: 28vw;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 7px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .shoppable-card {
    flex-basis: var(--shop-card);
    width: var(--shop-card);
    max-width: 310px;
  }

  .shoppable-card[data-shop-role="center"] {
    flex-basis: var(--shop-center-card);
    width: var(--shop-center-card);
    max-width: 330px;
  }

  .shoppable-card[data-shop-role="edge"] {
    flex-basis: var(--shop-edge-card);
    width: var(--shop-edge-card);
  }

  .shoppable-volume {
    width: 31px;
    height: 31px;
    top: 9px;
    left: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shoppable-feed.scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .shoppable-play {
    transition: none !important;
  }
}

/* =====================================================
         SHOP BY CONCERN
      ===================================================== */

.shop-concern {
  width: 100%;
  background: #ffffff;
  padding: 40px 0 20px;
}

.shop-concern-inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.shop-concern-title {
  margin: 0;
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.8px;
  color: #11110f;
}

.concern-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin: 28px 0 22px;
}

.concern-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 0 7px;
  color: #11110fab;
  font: inherit;
  font-size: 18px;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.25s ease;
}

.concern-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #11110f;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.concern-tab.active {
  color: #222222;
}

.concern-tab.active::after {
  transform: scaleX(1);
}

.concern-products {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.concern-products::-webkit-scrollbar {
  display: none;
}

.concern-product {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: calc((100% - 54px) / 4);
  scroll-snap-align: start;
}

.concern-products-wrap {
  position: relative;
}

.concern-products-loader {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #22221e;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(2px);
}

.concern-products-loader[hidden] {
  display: none;
}

.concern-products.is-loading {
  pointer-events: none;
}

.concern-products-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #d2d2cd;
  border-top-color: #171714;
  border-radius: 50%;
  animation: concernProductsSpin 0.7s linear infinite;
}

@keyframes concernProductsSpin {
  to { transform: rotate(360deg); }
}

.concern-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f6f2;
}

/* Default concern image + hover animation image */
.concern-product-image .concern-default-img,
.concern-product-image .concern-hover-img,
.concern-product-image .concern-third-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  pointer-events: none;
}

.concern-product-image .concern-default-img {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 1.6s ease,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.concern-product-image .concern-hover-img {
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1.6s ease,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.concern-product-image .concern-third-img {
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.45s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* On hover: smoothly fade to the concern animation image */
.concern-product:hover .concern-default-img {
  opacity: 0;
  transform: scale(1.025);
}

.concern-product:hover .concern-hover-img {
  opacity: 0;
  transform: scale(1.025);
}

.concern-product:hover .concern-third-img {
  opacity: 1;
  transform: scale(1);
}

/* Product-card hover actions. */
.concern-hover-actions {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.concern-action-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #171714;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.concern-action-button:hover {
  background: #171714;
  color: #ffffff;
}

.concern-wishlist-action.is-active {
  background: #171714;
  color: #ffffff;
}

.concern-wishlist-action.is-active svg {
  fill: currentColor;
}

.concern-action-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.concern-quick-add {
  position: absolute;
  z-index: 5;
  right: 10px;
  bottom: 10px;
  left: 10px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171714;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.concern-quick-add:hover {
  background: #30302b;
  color: #ffffff;
}

.concern-product:hover .concern-hover-actions,
.concern-product:hover .concern-quick-add,
.concern-product:focus-within .concern-hover-actions,
.concern-product:focus-within .concern-quick-add {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =====================================================
         CONCERN SELECT OPTIONS BUTTON
         Uses the same sliding-fill animation as the hero button.
         It appears only while the product card is hovered.
      ===================================================== */

.concern-select-options {
  position: absolute;
  z-index: 4;
  left: 10px;
  bottom: 10px;
  min-width: 106px;
  height: 30px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14140f;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0.45s,
    transform 0.45s ease;
}

.concern-select-options .btn-label {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* Same left-to-right sliding fill used by the hero button */
.concern-select-options::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #24241f;
  transform: translateX(-100%) skewX(20deg);
  transform-origin: left bottom;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.concern-select-options:hover::after {
  transform: translateX(0) skewX(20deg);
}

/* Button appears together with the animation image */
.concern-product:hover .concern-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0s,
    transform 0.45s ease;
}

/* =====================================================
         SHOP BY CONCERN - QUICK PRODUCT OPTIONS MODAL
         Opens when "Select options" is clicked.
      ===================================================== */

.concern-product {
  position: relative;
}

.concern-options-modal {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  padding: 18px 12px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 9px;
  background: #ffffff;
  color: #151512;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(28px);
  transition:
    opacity 0.38s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.48s;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Open: modal rises smoothly from the bottom. */
.concern-product.is-options-open .concern-options-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.38s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

/* Close: modal travels back down before disappearing. */
.concern-product.is-options-closing .concern-options-modal {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(28px);
  transition:
    opacity 0.32s ease,
    transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.42s;
}

.concern-options-modal .concern-options-label {
  transition: opacity 0.2s ease;
}

.concern-options-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 21px;
  height: 21px;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  background: #ffffff;
  color: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.concern-options-title {
  margin: 14px 24px 0 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 400;
}

.concern-options-price {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.2;
  color: #222222;
}

.concern-options-label {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.2;
}

.concern-size-options {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.concern-size-option {
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #9f9f9f;
  border-radius: 18px;
  background: #ffffff;
  color: #222222;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.concern-size-option.active {
  border-color: #11110f;
}

.concern-add-bag {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: 36px;
  margin-top: auto;
  border: 0;
  border-radius: 19px;
  background: #14140f;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.concern-add-bag .btn-label {
  position: relative;
  z-index: 2;
}

/* Same sliding-fill treatment as the hero button. */
.concern-add-bag::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #24241f;
  transform: translateX(-100%) skewX(20deg);
  transform-origin: left bottom;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.concern-add-bag:hover::after {
  transform: translateX(0) skewX(20deg);
}

@media (max-width: 600px) {
  .concern-options-modal {
    padding: 14px 10px 10px;
  }

  .concern-options-title {
    font-size: 13px;
  }

  .concern-options-price,
  .concern-options-label {
    font-size: 11px;
  }

  .concern-size-option {
    min-width: 42px;
    height: 30px;
    font-size: 10px;
    padding: 0 8px;
  }

  .concern-add-bag {
    height: 32px;
    font-size: 9px;
  }
}

/* =====================================================
         SHOP BY CONCERN - TAB SWITCH ANIMATION
         Old cards move slightly DOWN + fade out.
         New cards enter slightly FROM BELOW + fade in.
         Cards enter one-by-one from the first product.
      ===================================================== */

.concern-product.concern-exit {
  animation: concernProductExit 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

.concern-product.concern-enter {
  animation: concernProductEnter 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes concernProductExit {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes concernProductEnter {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .concern-select-options,
  .concern-select-options::after,
  .concern-product.concern-exit,
  .concern-product.concern-enter {
    animation: none !important;
    transition: none !important;
  }
}

.concern-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #172f3a;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.concern-brand {
  margin-top: 12px;
  color: #333333;
  font-size: 13px;
  line-height: 1.2;
}

.concern-product-name {
  margin-top: 12px;
  color: #151512;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.concern-price {
  margin-top: 16px;
  color: #333333;
  font-size: 14px;
  line-height: 1.2;
}

.concern-current-price {
  color: #11110f;
  font-weight: 600;
  font-size: 18px;
}

.concern-old-price {
  margin-left: 8px;
  color: #92928c;
  text-decoration: line-through;
}
/* Responsive Shop By Concern:
         Desktop stays as the existing 4-column grid.
         Medium = 2 products visible in ONE horizontal row + line/arrows.
         Small = 2 products visible in ONE horizontal row, no line/arrows. */

.concern-mobile-progress,
.concern-mobile-controls {
  display: block;
}

.concern-mobile-progress {
  position: relative;
  width: calc(100% - 82px);
  height: 1px;
  margin-top: 28px;
  background: #b8b8b8;
}

.concern-mobile-progress-fill {
  display: block;
  width: 50%;
  height: 1px;
  background: #11110f;
  transition: width 0.35s ease;
}

.concern-mobile-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 6px;
}

.concern-mobile-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #bcbcbc;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  padding: 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.concern-mobile-arrow:hover {
  border-color: #11110f;
}

@media (max-width: 900px) {
  .shop-concern {
    padding: 40px 0 20px;
  }

  .concern-products-wrap {
    position: relative;
  }

  .concern-products {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .concern-products::-webkit-scrollbar {
    display: none;
  }

  .concern-product {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: 0;
  }

  .concern-mobile-progress {
    display: block;
  }

  .concern-mobile-controls {
    display: flex;
  }
}

@media (max-width: 600px) {
  .shop-concern-inner {
    width: min(100% - 28px, 500px);
  }

  .shop-concern-title {
    font-size: 26px;
  }

  /* Center all three tabs on small screens. */
  .concern-tabs {
    gap: 22px;
    margin-top: 22px;
    overflow-x: auto;
    justify-content: center;
    padding: 0 4px 4px;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
  }

  .concern-tabs::-webkit-scrollbar {
    display: none;
  }

  .concern-tab {
    flex: 0 0 auto;
    font-size: 16px;
  }

  /*
          Keep products in ONE horizontal row and make touch/swipe
          scrolling explicit on small screens.
        */
  .concern-products {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: scroll !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .concern-products::-webkit-scrollbar {
    display: none;
  }

  .concern-product {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2);
    min-width: calc((100% - 12px) / 2);
    scroll-snap-align: start;
  }

  /* Small screen: no bottom progress line and no arrows. */
  .concern-mobile-progress,
  .concern-mobile-controls {
    display: none !important;
  }

  .concern-badge {
    top: 8px;
    left: 8px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .concern-select-options {
    left: 8px;
    bottom: 8px;
    min-width: 86px;
    height: 24px;
    padding: 0 12px;
    font-size: 10px;
  }

  .concern-brand {
    margin-top: 9px;
    font-size: 11px;
  }

  .concern-product-name {
    margin-top: 8px;
    font-size: 14px;
  }

  .concern-price {
    margin-top: 10px;
    font-size: 12px;
  }
}

/* =====================================================
         SHoppable feed - dynamic center card
         The card closest to the viewport center becomes taller.
         This follows the card while the user scrolls.
      ===================================================== */

.shoppable-card.is-scroll-center {
  z-index: 2;
}

.shoppable-card.is-scroll-center {
  z-index: 3;
}

/* The active card grows equally upward and downward. */
.shoppable-card .shoppable-media {
  aspect-ratio: 0.68 / 1;
  transition:
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shoppable-card.is-scroll-center .shoppable-media {
  aspect-ratio: auto;
  height: calc((100% / 0.68) + var(--shop-vertical-extra));
  transform: translateY(0);
}

@media (min-width: 1101px) {
  .shoppable-card.is-scroll-center .shoppable-media {
    height: 534px;
    aspect-ratio: auto;
  }
  .shoppable-card:not(.is-scroll-center) .shoppable-media {
    height: 478px;
    aspect-ratio: auto;
  }
}

@media (max-width: 1100px) {
  .shoppable-card.is-scroll-center .shoppable-media {
    height: 500px;
    aspect-ratio: auto;
  }
  .shoppable-card:not(.is-scroll-center) .shoppable-media {
    height: 448px;
    aspect-ratio: auto;
  }
}

@media (max-width: 600px) {
  .shoppable-track {
    --shop-vertical-extra: 42px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .shoppable-card.is-scroll-center .shoppable-media {
    height: 430px;
    aspect-ratio: auto;
  }
  .shoppable-card:not(.is-scroll-center) .shoppable-media {
    height: 388px;
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shoppable-card .shoppable-media {
    transition: none !important;
  }
}

/* =====================================================
         CUSTOM SKINCARE ROUTINE — REFERENCE UI
         Two-column premium card: copy left / image right
      ===================================================== */
.custom-skincare-section {
  width: 100%;
  padding: 40px 20px;
  background: #ffffff;
}

.custom-skincare-card {
  position: relative;
  width: min(1028px, 100%);
  min-height: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: #f2ece8;
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-skincare-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.custom-skincare-copy {
  min-width: 0;
  min-height: 480px;
  padding: 50px 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custom-skincare-title {
  max-width: 430px;
  margin: 0;
  color: #11110f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 2.45vw, 31px);
  line-height: 1.18;
  letter-spacing: -1.15px;
  font-weight: 400;
}

.custom-skincare-description {
  max-width: 420px;
  margin: 16px 0 27px;
  color: #353330;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
}

.custom-skincare-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 155px;
  height: 39px;
  padding: 0 24px;
  border-radius: 22px;
  background: #050505;
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.custom-skincare-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #2b2b28;
  transform: translateX(-100%) skewX(20deg);
  transition: transform 0.4s ease;
}

.custom-skincare-button:hover {
  transform: translateY(-1px);
}

.custom-skincare-button:hover::after {
  transform: translateX(0) skewX(20deg);
}

.custom-skincare-image {
  position: relative;
  min-width: 0;
  min-height: 480px;
  overflow: hidden;
  background: #eeeae6;
}

.custom-skincare-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04),
    transparent 22%,
    transparent 80%,
    rgba(255, 255, 255, 0.08)
  );
}

.custom-skincare-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.035);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.custom-skincare-card.is-visible .custom-skincare-image img {
  transform: scale(1);
}

@media (max-width: 900px) {
  .custom-skincare-section {
    padding: 60px 18px 70px;
  }

  .custom-skincare-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .custom-skincare-copy {
    min-height: 330px;
    padding: 50px 30px;
    order: 1;
  }

  .custom-skincare-image {
    min-height: 360px;
    order: 2;
  }

  .custom-skincare-image img {
    min-height: 360px;
  }
}

@media (max-width: 600px) {
  .custom-skincare-section {
    padding: 45px 14px 55px;
  }

  .custom-skincare-card {
    border-radius: 7px;
  }

  .custom-skincare-copy {
    min-height: 315px;
    padding: 42px 22px;
  }

  .custom-skincare-title {
    max-width: 330px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.8px;
  }

  .custom-skincare-description {
    max-width: 310px;
    margin: 14px 0 24px;
    font-size: 11px;
    line-height: 1.5;
  }

  .custom-skincare-button {
    min-width: 148px;
    height: 38px;
    font-size: 10px;
  }

  .custom-skincare-image,
  .custom-skincare-image img {
    min-height: 285px;
  }
}

/* =====================================================
         RESPONSIVE SECTION ORDER / SHoppable VIDEO WIDTH FIX
      ===================================================== */

/* Medium screens: keep image on the RIGHT, just like desktop. */
@media (min-width: 601px) and (max-width: 1100px) {
  .custom-skincare-card {
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
  }

  .custom-skincare-copy {
    min-height: 430px;
    padding: 42px 38px;
    order: 1;
  }

  .custom-skincare-image {
    min-height: 430px;
    order: 2;
  }

  .custom-skincare-image img {
    min-height: 430px;
  }
}

/* Small screens: IMAGE FIRST, then text/content. */
@media (max-width: 600px) {
  .custom-skincare-card {
    display: flex;
    flex-direction: column;
  }

  .custom-skincare-image {
    order: 1;
    width: 100%;
    min-height: 300px;
  }

  .custom-skincare-image img {
    width: 100%;
    min-height: 300px;
    height: 300px;
    object-fit: cover;
  }

  .custom-skincare-copy {
    order: 2;
    width: 100%;
  }

  /*
         * IMPORTANT:
         * Never make edge cards narrow on mobile.
         * Every shoppable video gets the same usable width.
         */
  .shoppable-track {
    --shop-card: 76vw;
    --shop-center-card: 76vw;
    --shop-edge-card: 76vw;
    gap: 14px;
  }

  .shoppable-card,
  .shoppable-card[data-shop-role="center"],
  .shoppable-card[data-shop-role="edge"] {
    flex: 0 0 76vw;
    width: 76vw;
    max-width: 330px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-skincare-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .custom-skincare-image img {
    transform: none !important;
    transition: none;
  }

  .custom-skincare-button {
    transition: none;
  }

  .custom-skincare-button::after {
    transition: none;
  }
}

/* =====================================================
         LIMITED OFFER / COUNTDOWN FEATURE
         Desktop + medium: image | text | image
         Mobile: image | text | image
      ===================================================== */
.limited-offer-section {
  width: 100%;
  padding: 82px 12px;
  background: #f5f1e8;
}

.limited-offer-inner {
  width: min(1045px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(270px, 0.9fr) 1fr;
  align-items: center;
  column-gap: 72px;
}

.limited-offer-image {
  width: 100%;
  aspect-ratio: 0.78;
  overflow: hidden;
  border-radius: 6px;
  background: #e9e4dc;
}

.limited-offer-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.limited-offer-image:hover img {
  transform: scale(1.035);
}

.limited-offer-copy {
  min-width: 0;
  text-align: center;
  color: #11110f;
}

.limited-offer-label {
  margin: 0 0 35px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.limited-offer-timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 27px;
  white-space: nowrap;
}

.limited-offer-time-block {
  min-width: 43px;
  text-align: center;
}

.limited-offer-number {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -1.7px;
}

.limited-offer-unit {
  display: block;
  margin-top: 9px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 400;
}

.limited-offer-separator {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
  margin-top: 0;
}

.limited-offer-description {
  max-width: 315px;
  margin: 0 auto 21px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

.limited-offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 143px;
  height: 39px;
  padding: 0 22px;
  border-radius: 24px;
  background: #11110f;
  color: #fff;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.limited-offer-button:hover {
  transform: translateY(-2px);
  background: #292925;
}

@media (max-width: 1100px) {
  .limited-offer-section {
    padding: 65px 12px;
  }

  .limited-offer-inner {
    width: min(920px, 100%);
    grid-template-columns: minmax(210px, 1fr) minmax(260px, 0.9fr) minmax(
        210px,
        1fr
      );
    column-gap: 34px;
  }

  .limited-offer-label {
    margin-bottom: 30px;
  }

  .limited-offer-number {
    font-size: 29px;
  }

  .limited-offer-description {
    font-size: 11px;
  }
}

/* Match SHOP THE SALE animation with FIND MY ROUTINE */
.limited-offer-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.limited-offer-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #2b2b28;
  transform: translateX(-100%) skewX(20deg);
  transition: transform 0.4s ease;
}

.limited-offer-button:hover {
  transform: translateY(-1px);
}

.limited-offer-button:hover::after {
  transform: translateX(0) skewX(20deg);
}

/* =====================================================
         LIMITED OFFER — MEDIUM SCREEN REFERENCE UI
         At tablet/medium widths the center copy sits between
         two full-height images with no column gap.
      ===================================================== */
@media (min-width: 601px) and (max-width: 1100px) {
  .limited-offer-section {
    padding: 42px 12px 58px;
    overflow: hidden;
  }

  .limited-offer-inner {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 0;
    align-items: center;
  }

  .limited-offer-image {
    width: 100%;
    aspect-ratio: 0.745;
    min-width: 0;
    border-radius: 6px;
  }

  .limited-offer-image.left {
    grid-column: 1;
  }

  .limited-offer-copy {
    grid-column: 2;
    width: max-content;
    max-width: none;
    justify-self: center;
    position: relative;
    z-index: 3;
  }

  .limited-offer-image.right {
    grid-column: 3;
  }

  .limited-offer-label {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .limited-offer-timer {
    gap: 8px;
    margin-bottom: 26px;
  }

  .limited-offer-time-block {
    min-width: 42px;
  }

  .limited-offer-number {
    font-size: 31px;
    letter-spacing: -1.6px;
  }

  .limited-offer-unit {
    margin-top: 8px;
    font-size: 9px;
  }

  .limited-offer-separator {
    font-size: 25px;
  }

  .limited-offer-description {
    width: 315px;
    max-width: 315px;
    margin-bottom: 21px;
    font-size: 12px;
    line-height: 1.55;
  }

  .limited-offer-button {
    min-width: 143px;
    height: 39px;
  }
}

@media (max-width: 600px) {
  .limited-offer-section {
    padding: 42px 12px 50px;
  }

  /*
         * Mobile order is intentionally:
         * LEFT IMAGE -> CONTENT -> RIGHT IMAGE
         * This matches the supplied mobile reference.
         */
  .limited-offer-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .limited-offer-image {
    width: 78px;
    height: 103px;
    aspect-ratio: auto;
    flex: 0 0 auto;
    border-radius: 5px;
  }

  .limited-offer-image.left {
    order: 1;
    margin-bottom: 57px;
  }

  .limited-offer-copy {
    order: 2;
    width: min(92%, 355px);
  }

  .limited-offer-image.right {
    order: 3;
    margin-top: 56px;
  }

  .limited-offer-label {
    margin-bottom: 34px;
    font-size: 12px;
  }

  .limited-offer-timer {
    gap: 7px;
    margin-bottom: 28px;
  }

  .limited-offer-time-block {
    min-width: 47px;
  }

  .limited-offer-number {
    font-size: 30px;
    letter-spacing: -1.5px;
  }

  .limited-offer-unit {
    margin-top: 8px;
    font-size: 8px;
  }

  .limited-offer-separator {
    font-size: 23px;
  }

  .limited-offer-description {
    max-width: 320px;
    margin-bottom: 20px;
    font-size: 11px;
    line-height: 1.65;
  }

  .limited-offer-button {
    min-width: 110px;
    height: 36px;
    font-size: 10px;
  }
}

/* =====================================================
         SKINCARE IMAGE PAIR — IMAGE ONLY
      ===================================================== */
.skincare-image-pair {
  width: 100%;
  padding: 40px 0;
  background: #ffffff;
}

.skincare-image-pair-inner {
  width: min(1028px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.skincare-image-pair-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 7px;
  background: #f1eeeb;
}

.skincare-image-pair-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.skincare-image-pair-item:hover img {
  transform: scale(1.025);
}

@media (max-width: 1100px) {
  .skincare-image-pair {
    padding: 40px 0;
  }

  .skincare-image-pair-inner {
    width: calc(100% - 24px);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .skincare-image-pair {
    padding: 28px 0 48px;
  }

  .skincare-image-pair-inner {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .skincare-image-pair-item {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skincare-image-pair-item img {
    transition: none;
  }

  .skincare-image-pair-item:hover img {
    transform: none;
  }
}

/* =====================================================
         SCROLL ANIMATIONS
         - Image-only section: rises gently from below.
         - Custom skincare + Limited Offer images: start
           slightly zoomed in, then settle to normal size.
      ===================================================== */

.skincare-image-pair-item {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.75s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.skincare-image-pair.is-visible .skincare-image-pair-item {
  opacity: 1;
  transform: translateY(0);
}

.custom-skincare-image img,
.limited-offer-image img {
  transform: scale(1.12);
  transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.custom-skincare-card.is-visible .custom-skincare-image img,
.limited-offer-section.is-visible .limited-offer-image img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .skincare-image-pair-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .custom-skincare-image img,
  .limited-offer-image img {
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
         STORY VIDEO SECTION
         Reference-style full-width cinematic video
      ===================================================== */

.story-video-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #11110f;
}

.story-video-section.scroll-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.9s ease,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.story-video-section.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-video-wrap {
  position: relative;
  width: 100%;
  height: min(72vh, 760px);
  min-height: 500px;
  overflow: hidden;
  background: #11110f;
  isolation: isolate;
}

.story-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #11110f;
  transform: scale(1.045);
  will-change: transform;
  pointer-events: none;
}

/* Very subtle slow cinematic movement so the section feels alive. */
.story-video-section.is-visible .story-video {
  animation: storyVideoSlowZoom 9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes storyVideoSlowZoom {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

.story-video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.04) 38%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

.story-video-overlay {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(90%, 700px);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
}

.story-video-overlay h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -1.2px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s ease 0.18s,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.story-video-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 128px;
  height: 39px;
  padding: 0 22px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14140f;
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
  pointer-events: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s ease 0.28s,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s,
    background-color 0.25s ease;
}

.story-video-button span {
  position: relative;
  z-index: 2;
}

.story-video-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  border-radius: inherit;
  background: #2b2b25;
  transform: translateX(-100%) skewX(20deg);
  transform-origin: left bottom;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.story-video-button:hover::after {
  transform: translateX(0) skewX(20deg);
}

.story-video-button:hover {
  background: #1d1d18;
}

.story-video-section.is-visible .story-video-overlay h2,
.story-video-section.is-visible .story-video-button {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .story-video-wrap {
    height: 62vh;
    min-height: 440px;
  }

  .story-video-overlay h2 {
    font-size: clamp(27px, 5vw, 36px);
  }
}

@media (max-width: 600px) {
  .story-video-wrap {
    height: 64svh;
    min-height: 430px;
  }

  .story-video {
    object-position: center center;
  }

  .story-video-overlay {
    width: calc(100% - 36px);
  }

  .story-video-overlay h2 {
    margin-bottom: 16px;
    font-size: 27px;
    line-height: 1.08;
    letter-spacing: -0.7px;
  }

  .story-video-button {
    min-width: 128px;
    height: 38px;
    padding: 0 20px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-video-section.scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .story-video-section.is-visible .story-video {
    animation: none !important;
    transform: scale(1) !important;
  }

  .story-video-overlay h2,
  .story-video-button {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
         TESTIMONIALS / WHAT'S EVERYONE SAYING
      ===================================================== */

.testimonials-section {
  position: relative;
  width: 100%;
  height: 342px;
  overflow: hidden;
  background: #ffffff;
  color: #171714;
}

.testimonials-inner {
  position: relative;
  width: min(1042px, calc(100% - 22px));
  height: 100%;
  margin: 0 auto;
  padding-top: 60px;
}

.testimonials-title {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.7px;
  color: #171714;
}

.testimonials-viewport {
  position: relative;
  width: 100%;
  margin-top: 32px;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 126px;
  width: max-content;
  transform: translateX(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((1042px - 126px) / 2);
  width: calc((1042px - 126px) / 2);
  min-height: 150px;
}

.testimonial-name {
  margin: 0 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #171714;
}

.testimonial-stars {
  margin: 0 0 23px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 2px;
  color: #171714;
  white-space: nowrap;
}

.testimonial-text {
  max-width: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.05px;
  color: #292925;
}

.testimonials-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 45px;
  height: 32px;
  display: flex;
  align-items: center;
}

.testimonials-line {
  position: absolute;
  left: 0;
  right: 78px;
  top: 50%;
  height: 1px;
  background: #a8a8a3;
  transform: translateY(-50%);
}

.testimonials-arrows {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.testimonial-arrow {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 1px solid #bdbdb8;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #22221e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.testimonial-arrow span {
  display: block;
  margin-top: -2px;
}

.testimonial-arrow:hover {
  border-color: #22221e;
  background: #f8f8f5;
}

.testimonial-arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

.testimonial-arrow-next {
  border-color: #22221e;
}

/* -------------------------------
         MEDIUM SCREENS
         Matches the second reference:
         content stays near the 11px edge
      ------------------------------- */
@media (max-width: 1100px) {
  .testimonials-section {
    height: 337px;
  }

  .testimonials-inner {
    width: calc(100% - 22px);
    padding-top: 40px;
  }

  .testimonials-title {
    font-size: 24px;
  }

  .testimonials-viewport {
    margin-top: 31px;
  }

  .testimonials-track {
    gap: 82px;
  }

  .testimonial-card {
    flex-basis: calc((100vw - 104px) / 2);
    width: calc((100vw - 104px) / 2);
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 1.55;
  }

  .testimonials-bottom {
    bottom: 42px;
  }

  .testimonials-line {
    right: 78px;
  }
}

/* -------------------------------
         SMALL SCREENS
         One card is fully visible and
         the next card intentionally peeks
         from the right, as in the reference.
      ------------------------------- */
@media (max-width: 600px) {
  .testimonials-section {
    height: 255px;
  }

  .testimonials-inner {
    width: calc(100% - 22px);
    padding-top: 46px;
  }

  .testimonials-title {
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.65px;
  }

  /*
         * MOBILE = REAL HORIZONTAL SCROLL
         * The browser handles the touch scrolling itself, so the user can
         * swipe naturally all the way to the final testimonial.
         */
  .testimonials-viewport {
    margin-top: 32px;
    width: 100vw;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-behavior: smooth;
  }

  .testimonials-viewport::-webkit-scrollbar {
    display: none;
  }

  .testimonials-track {
    width: max-content;
    gap: 40px;
    padding-right: 22px;
    transform: none !important;
    transition: none !important;
    user-select: none;
    -webkit-user-select: none;
  }

  .testimonial-card {
    flex: 0 0 248px;
    width: 248px;
    min-height: 105px;
    scroll-snap-align: start;
  }

  .testimonial-name {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .testimonial-stars {
    margin-bottom: 19px;
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .testimonial-text {
    font-size: 14px;
    line-height: 1.48;
  }

  /* As requested: no line or arrows on small screens. */
  .testimonials-bottom {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-track {
    transition: none !important;
  }
}

/* Testimonial slider progress line */
.testimonials-line {
  overflow: hidden;
}

.testimonials-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 1px;
  display: block;
  background: #171714;
  transform-origin: left center;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 600px) {
  .testimonials-bottom,
  .testimonials-line,
  .testimonials-line-fill {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .testimonials-viewport {
    width: 100vw;
    max-width: 100vw;
    padding-right: 0;
  }

  .testimonials-track {
    padding-right: 22px;
  }
}

@media (max-width: 600px) {
  .testimonials-viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    scroll-padding-right: 22px;
    scrollbar-width: none;
  }
  .testimonials-viewport::-webkit-scrollbar {
    display: none;
  }
  .testimonials-track {
    transform: none !important;
    transition: none !important;
    width: max-content !important;
  }
  .testimonial-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .testimonials-bottom {
    display: none !important;
  }
}

/* =====================================================
         FAQ SECTION
      ===================================================== */

.faq-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #171714;
}

.faq-inner {
  width: min(1030px, calc(100% - 44px));
  min-height: 590px;
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 54px;
  align-items: center;
}

.faq-image-wrap {
  position: relative;
  width: 100%;
  height: 514px;
  overflow: hidden;
  border-radius: 7px;
  background: #ece9e2;
  isolation: isolate;
}

.faq-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.faq-section.faq-visible .faq-image {
  animation: faqImageZoomOut 1.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.faq-image-switching {
  animation: faqImageChange 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes faqImageChange {
  from {
    opacity: 0.8;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes faqImageZoomOut {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.faq-content {
  width: 100%;
  max-width: 530px;
  justify-self: end;
}

.faq-title {
  margin: 0 0 31px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.75px;
  color: #171714;
}

.faq-list {
  width: 100%;
  border-top: 0;
}

.faq-item {
  border-bottom: 1px solid #e5e4df;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 60px;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 18px;
  column-gap: 10px;
  align-items: center;
  background: transparent;
  color: #171714;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.faq-number {
  width: 25px;
  height: 25px;
  border: 1px solid #999994;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6e6e68;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.faq-item.is-active .faq-number {
  border-color: #11110f;
  background: #11110f;
  color: #ffffff;
}

.faq-question-text {
  padding-right: 6px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  color: #171714;
}

.faq-item:not(.is-active) .faq-question-text {
  color: #80807a;
}

.faq-plus {
  justify-self: end;
  color: #777770;
  font-size: 19px;
  line-height: 1;
  font-weight: 300;
  transform-origin: center;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.faq-item.is-active .faq-plus {
  color: #171714;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 30px 0 36px;
  overflow: hidden;
  color: #55554f;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.42s ease,
    opacity 0.28s ease;
}

.faq-item.is-active .faq-answer {
  max-height: 120px;
  padding-top: 0;
  padding-bottom: 17px;
  opacity: 1;
}

/* FAQ entrance: content rises from slightly below. */
.faq-section.faq-reveal .faq-inner {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.85s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-section.faq-reveal.faq-visible .faq-inner {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------
         TABLET / MEDIUM
      ------------------------------- */
@media (max-width: 1000px) and (min-width: 769px) {
  .faq-inner {
    width: min(900px, calc(100% - 40px));
    min-height: 520px;
    column-gap: 38px;
    padding: 34px 0;
  }

  .faq-image-wrap {
    height: 450px;
  }

  .faq-title {
    font-size: 23px;
    margin-bottom: 26px;
  }

  .faq-question {
    min-height: 56px;
  }
}

/* -------------------------------
    MOBILE <= 768px
    Image first, questions below.
------------------------------- */
@media (max-width: 768px) {
  .faq-inner {
    width: calc(100% - 22px);
    min-height: 0;
    padding: 0 0 45px;
    display: block;
  }

  .faq-image-wrap {
    width: 100%;
    height: 261px;
    border-radius: 6px;
    margin: 0 0 24px;
  }

  .faq-image {
    object-position: center center;
  }

  .faq-content {
    width: 100%;
    max-width: none;
  }

  .faq-title {
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -0.6px;
  }

  .faq-question {
    min-height: 51px;
    grid-template-columns: 25px minmax(0, 1fr) 18px;
    column-gap: 10px;
  }

  .faq-number {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .faq-question-text {
    font-size: 13px;
    line-height: 1.3;
  }

  .faq-answer {
    padding-left: 35px;
    padding-right: 15px;
    font-size: 12px;
  }

  .faq-item.is-active .faq-answer {
    padding-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-section.faq-reveal .faq-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-section.faq-visible .faq-image {
    animation: none;
    transform: scale(1);
  }

  .faq-answer,
  .faq-plus,
  .faq-number {
    transition: none;
  }
}

/* FAQ visibility safety */
.faq-section {
  display: block;
  visibility: visible;
}

/* =====================================================
INFINITE IMAGE FEED
No Instagram heading/name — image strip only.
===================================================== */

.instagram-feed-section {
  width: 100%;
  background: #fff;
  padding: 38px 0 50px;
  overflow: hidden;
  color: #11110f;
}

.instagram-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.instagram-track {
  display: flex;
  width: max-content;
  gap: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.instagram-card {
  position: relative;
  display: block;
  flex: 0 0 25vw;
  width: 25vw;
  height: 25vw;
  max-height: 430px;
  overflow: hidden;
  background: #eeeae3;
  text-decoration: none;
  isolation: isolate;
}

.instagram-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Only the image currently under the pointer zooms. */
.instagram-card:hover img,
.instagram-card:focus-visible img {
  transform: scale(1.055);
}

.instagram-card:focus-visible {
  outline: 2px solid #11110f;
  outline-offset: -2px;
}

@media (max-width: 1000px) {
  .instagram-feed-section {
    padding: 32px 0 42px;
  }

  .instagram-card {
    flex-basis: 35vw;
    width: 45vw;
    height: 35vw;
  }
}

@media (max-width: 768px) {
  .instagram-feed-section {
    padding: 24px 0 34px;
  }

  .instagram-card {
    flex-basis: 45vw;
    width: 72vw;
    height: 45vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .instagram-card img {
    transition: none !important;
  }
}

.concern-product-image {
    position: relative;
}

.concern-product-image-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.concern-product-image-link img {
    pointer-events: none;
}

.concern-product-image-link .concern-default-img,
.concern-product-image-link .concern-hover-img {
    display: block;
    width: 100%;
}

.routine-card-image-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.routine-card-image-link img {
    display: block;
    width: 100%;
    height: 455px;
    object-fit: cover;
}

/* Keep each Shop by Routine image exactly as tall as its card. */
.shop-routine .routine-card-image-link {
    height: 100%;
}

.shop-routine .routine-card-image-link img {
    height: 100%;
    object-fit: cover;
}

/* Theme 1 shopping-benefit items, styled for the Theme 2 home page. */
.theme-two-assurance {
    width: 100%;
    padding: 54px 0;
    background: #ffffff;
}

.theme-two-assurance-inner {
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.theme-two-assurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 0;
    text-align: center;
}

.theme-two-assurance-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
}

.theme-two-assurance-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.theme-two-assurance-content h3 {
    margin: 0;
    color: #292929;
    font-size: clamp(18px, 1.8vw, 27px);
    font-weight: 600;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .theme-two-assurance {
        padding: 36px 0;
    }

    .theme-two-assurance-inner {
        width: min(100% - 28px, 560px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .theme-two-assurance-item {
        gap: 14px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .routine-card-image-link img {
        height: 350px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .routine-card-image-link img {
        height: 280px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .routine-card-image-link img {
        height: 220px;
    }
}
