/* ==========================================================================
   THE DISCOVERY SET  (discovery.html)
   Scoped to .ca-ds* classes so nothing here touches the rest of the site.
   Brand: Playfair Display 500 titles, Montserrat body, Helvetica Neue 700
   for the big headers.
   ========================================================================== */

.ca-ds {
  --ink:      #231f20;
  --muted:    #66625f;
  --body:     #3c4043;
  --label:    #9e9b97;
  --inactive: #b5b2ad;
  --hair:     #e6e4e0;
  --grey:     #c9c7cb;
  --ph:       #f3f3f4;

  background: #fff;
  color: var(--body);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

.ca-ds *,
.ca-ds *::before,
.ca-ds *::after { box-sizing: border-box; }

/* ==========================================================================
   SECTION 1 — Title and smoke reveal
   ========================================================================== */

.ca-ds-hero { padding: 0 0 8px; }

.ca-ds-title {
  margin: 0 auto;
  /* 64px of the theme's own top padding plus room for the fixed menu, cart
     and account buttons that sit over the top of every page */
  padding: 124px 16px 16px;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 132px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  /* the four jar colours, left to right in the order the candles stand:
     Sacred, Bolivian Chocolate, Mare Bleu, Kasumi */
  background: linear-gradient(90deg,
      #8f867c  6%,
      #6a5a4f 34%,
      #5b6b85 64%,
      #9d8f96 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* the descender of the "y" needs room inside the clipped box */
.ca-ds-title { padding-bottom: 0.14em; }

.ca-ds-title_br { display: none; }

/* --- Stage: sketch underneath, photo on top revealed through a mask ------- */

.ca-ds-stage {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  aspect-ratio: 1600 / 640;
  touch-action: none;
}

.ca-ds-stage_layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ca-ds-stage_photo {
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0;
}
.ca-ds-stage.is-revealing .ca-ds-stage_photo { opacity: 1; }

/* --- First-visit guide ---------------------------------------------------- */

.ca-ds-ghost {
  position: absolute;
  top: 50%;
  left: 0;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  opacity: .9;
  animation: ca-ds-glide 4.2s cubic-bezier(.45,0,.55,1) infinite;
}
.ca-ds-ghost::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: .35;
  animation: ca-ds-pulse 1.6s ease-out infinite;
}
@keyframes ca-ds-glide {
  0%   { left: 12%; }
  50%  { left: 88%; }
  100% { left: 12%; }
}
@keyframes ca-ds-pulse {
  0%   { transform: scale(.85); opacity: .5; }
  100% { transform: scale(1.35); opacity: 0; }
}

.ca-ds-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  /* softened: hairline instead of a full-strength border, translucent
     fill and a lighter label */
  border: 1px solid rgba(35, 31, 32, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(35, 31, 32, .07);
  color: #6f6a66;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
.ca-ds-pill svg { width: 15px; height: 15px; flex: none; opacity: .65; }

/* the stage is touched, not hovered, on a tablet */
.ca-ds-pill_text.-tablet { display: none; }
@media (min-width: 768px) and (max-width: 1023px) {
  .ca-ds-pill_text.-desktop { display: none; }
  .ca-ds-pill_text.-tablet  { display: inline; }
}

/* The ghost cursor steps aside once the visitor takes over; the instruction
   pill stays, so the page always says what to do. */
.ca-ds-ghost,
.ca-ds-pill { transition: opacity .45s ease; }
.ca-ds.is-engaged .ca-ds-ghost { opacity: 0; }

/* --- Names row under the stage ------------------------------------------- */

.ca-ds-names {
  position: relative;   /* paint above the stage's absolutely placed images */
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: -40px auto 0;
  padding: 0 16px;
}

.ca-ds-names_col { text-align: center; padding: 0 8px; }

.ca-ds-names_name {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--inactive);
  transition: color .3s ease;
}
.ca-ds-names_col.is-active .ca-ds-names_name { color: var(--ink); }

.ca-ds-names_notes {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  opacity: 0;
  transition: opacity .35s ease;
}
.ca-ds-names_desc {
  margin: 6px auto 0;
  max-width: 240px;
  font-size: 13px;
  line-height: 21px;
  color: var(--body);
  opacity: 0;
  transition: opacity .35s ease .08s;
}
.ca-ds-names_col.is-active .ca-ds-names_notes,
.ca-ds-names_col.is-active .ca-ds-names_desc { opacity: 1; }

/* Tablet shows one shared description under the row instead */
.ca-ds-names_shared {
  display: none;
  max-width: 460px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 21px;
  color: var(--body);
}

/* --- Mobile slider (built by discovery-set.js, hidden elsewhere) ---------- */

.ca-ds-slider { display: none; }

/* ==========================================================================
   SECTION 2 — Buy row
   ========================================================================== */

.ca-ds-buy {
  max-width: 1112px;
  margin: 0 auto;
  padding: 64px 0 72px;
  border-top: 1px solid var(--hair);
}

.ca-ds-buy_inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.ca-ds-buy_title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 56px;
  color: var(--ink);
}

.ca-ds-buy_scents {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.ca-ds-buy_desc {
  margin: 14px 0 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 27px;
  color: var(--body);
}

.ca-ds-buy_action { position: relative; flex: none; }

/* Pre-order pill — the site's buy-button shape in the Discovery Set grey */
.ca-ds-preorder {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: 380px;
  height: 64px;
  padding: 0 28px 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.ca-ds-preorder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--grey);
  transition: transform .3s cubic-bezier(.4, 0, 0, 1);
}
.ca-ds-preorder:hover::before { transform: scale(1.06); }
.ca-ds-preorder_dot {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  transition: transform .3s cubic-bezier(.4, 0, 0, 1);
}
.ca-ds-preorder_dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .3s cubic-bezier(.4, 0, 0, 1);
}
.ca-ds-preorder:hover .ca-ds-preorder_dot { transform: translateX(-4px); }
.ca-ds-preorder:hover .ca-ds-preorder_dot::after { transform: scale(1.8); }
.ca-ds-preorder:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.ca-ds-preorder[aria-busy="true"] { opacity: .6; pointer-events: none; }
.ca-ds-preorder_label { flex: 1; text-align: center; }

/* absolutely placed so it never lifts the button off the description baseline */
.ca-ds-buy_ships {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   SECTION 3 — Tab bar
   ========================================================================== */

.ca-ds-tabs { max-width: 1112px; margin: 0 auto; padding: 0 0 40px; }

.ca-ds-tabs_bar {
  display: flex;
  justify-content: center;
  gap: 136px;
  border-bottom: 1px solid var(--hair);
}

.ca-ds-tab {
  position: relative;
  padding: 0 32px 16px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  color: var(--label);
  white-space: nowrap;
  transition: color .3s ease;
}
.ca-ds-tab[aria-selected="true"] { color: var(--ink); }
.ca-ds-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  opacity: 0;
  transition: opacity .3s ease;
}
.ca-ds-tab[aria-selected="true"]::after { opacity: 1; }
.ca-ds-tab:focus { outline: 0; }
.ca-ds-tab:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.ca-ds-panel { padding: 44px 0 0; }
.ca-ds-panel[hidden] { display: none; }
.ca-ds-panel.is-entering { animation: ca-ds-fadeup .4s ease both; }
@keyframes ca-ds-fadeup {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --- Scent notes ---------------------------------------------------------- */

.ca-ds-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  text-align: left;
}
.ca-ds-notes_name {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.ca-ds-notes_label {
  margin: 16px 0 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}
.ca-ds-notes_label:first-of-type { margin-top: 0; }
.ca-ds-notes_value { margin: 0; font-size: 14px; line-height: 22px; color: var(--body); }

/* --- Size & burn time ----------------------------------------------------- */

.ca-ds-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.ca-ds-stats_label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}
.ca-ds-stats_value {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  color: var(--ink);
}
.ca-ds-stats_sub { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: var(--muted); }
.ca-ds-stats_foot {
  margin: 36px 0 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 23px;
  color: var(--body);
}

/* --- Candle care accordion ------------------------------------------------ */

.ca-ds-care { max-width: 760px; }
.ca-ds-care_row { border-top: 1px solid var(--hair); }
.ca-ds-care_row:last-of-type { border-bottom: 1px solid var(--hair); }

.ca-ds-care_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.ca-ds-care_plus {
  flex: none;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform .3s cubic-bezier(.4, 0, 0, 1);
}
.ca-ds-care_plus::before,
.ca-ds-care_plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
}
.ca-ds-care_plus::before { width: 16px; height: 1px; margin: 0 0 0 -8px; }
.ca-ds-care_plus::after  { width: 1px; height: 16px; margin: -8px 0 0 0; }
.ca-ds-care_head[aria-expanded="true"] .ca-ds-care_plus { transform: rotate(45deg); }

.ca-ds-care_body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.4, 0, 0, 1);
}
.ca-ds-care_body p {
  margin: 0;
  padding: 0 40px 22px 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 23px;
  color: var(--body);
}
.ca-ds-care_link {
  display: inline-block;
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   SECTION 4 — A closer look
   ========================================================================== */

.ca-ds-look { max-width: 1112px; margin: 0 auto; padding: 24px 0 0; }

.ca-ds-look_heading {
  margin: 0 0 32px;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 120px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--label);
  white-space: nowrap;
}

.ca-ds-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.6fr 0.6fr;
  grid-template-rows: 300px 300px;
  gap: 40px 32px;
  grid-template-areas:
    "open group  group"
    "open close1 close2";
}
.ca-ds-grid_cell { position: relative; overflow: hidden; }
.ca-ds-grid_cell.-open   { grid-area: open; }
.ca-ds-grid_cell.-group  { grid-area: group; }
.ca-ds-grid_cell.-close1 { grid-area: close1; }
.ca-ds-grid_cell.-close2 { grid-area: close2; }

.ca-ds-grid_cell img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ca-ds-grid_ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  background: var(--ph);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}

.ca-ds-grid_caption {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   TABLET  768 – 1023
   ========================================================================== */

@media (max-width: 1023px) {
  .ca-ds-title { font-size: 84px; padding-top: 116px; }
  .ca-ds-stage { padding: 0 24px; }
  .ca-ds-names { margin-top: -18px; padding: 0 24px; }
  .ca-ds-names_notes,
  .ca-ds-names_desc { display: none; }
  .ca-ds-names_shared { display: block; }

  .ca-ds-buy,
  .ca-ds-tabs,
  .ca-ds-look { max-width: none; margin: 0 24px; }

  .ca-ds-buy_title { font-size: 40px; line-height: 46px; }
  .ca-ds-preorder { width: 300px; }

  .ca-ds-tabs_bar { gap: 40px; }
  .ca-ds-tab { font-size: 24px; padding: 0 20px 14px; }

  .ca-ds-look_heading { font-size: 88px; }
  .ca-ds-grid {
    grid-template-columns: 1.3fr 0.6fr 0.6fr;
    grid-template-rows: 230px 230px;
    gap: 36px 20px;
  }
}

/* ==========================================================================
   MOBILE  < 768
   ========================================================================== */

@media (max-width: 767px) {
  .ca-ds-title {
    /* 68px; the cap only bites on phones narrower than ~358px, so
       "Discovery" never widens the page */
    font-size: min(68px, 19vw);
    line-height: 1;
    padding: 96px 24px 0.14em;
  }
  .ca-ds-title_br { display: block; }

  /* the four-jar strip is replaced by a one-candle slider */
  .ca-ds-stage,
  .ca-ds-names,
  .ca-ds-names_shared { display: none; }

  .ca-ds-slider { display: block; margin: 20px 24px 0; }

  .ca-ds-frame_wrap { position: relative; max-width: 320px; margin: 0 auto; }

  .ca-ds-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 380 / 500;
    overflow: hidden;
    touch-action: none;
  }
  .ca-ds-frame_sketch,
  .ca-ds-frame_photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .ca-ds-frame_photo {
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: 0;
  }
  .ca-ds-frame.is-revealing .ca-ds-frame_photo { opacity: 1; }
  .ca-ds-frame img {
    position: absolute;
    width: 421.053%;
    height: 128%;
    top: -12%;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
  }

  .ca-ds-frame_fade { transition: opacity .45s ease; }
  .ca-ds-frame_fade.is-swapping { opacity: 0; }

  .ca-ds-slider .ca-ds-pill {
    top: 6px;
    font-size: 11px;
    padding: 6px 12px;
  }

  .ca-ds-arrow {
    position: absolute;
    top: 50%;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
  }
  .ca-ds-arrow.-prev { left: -4px; }
  .ca-ds-arrow.-next { right: -4px; }

  .ca-ds-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
  }
  .ca-ds-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--grey);
    cursor: pointer;
    transition: width .3s cubic-bezier(.4, 0, 0, 1), background .3s ease;
  }
  .ca-ds-dot.is-current { width: 26px; background: var(--ink); }

  .ca-ds-slide_name {
    margin: 22px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .ca-ds-slide_notes {
    margin: 8px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
  }
  .ca-ds-slide_desc {
    margin: 10px auto 0;
    max-width: 320px;
    text-align: center;
    font-size: 14px;
    line-height: 23px;
    color: var(--body);
  }

  /* --- buy row --- */
  .ca-ds-buy {
    margin: 0 24px;
    max-width: none;
    padding: 32px 0 52px;
  }
  .ca-ds-buy_inner { display: block; }
  /* one line, as specified; min() keeps it inside the 24px margins on a
     narrow phone instead of widening the page */
  .ca-ds-buy_title { font-size: min(30px, 8.3vw); line-height: 36px; white-space: nowrap; }
  .ca-ds-buy_desc { max-width: none; }
  .ca-ds-buy_action { display: block; margin: 32px 0 0; }
  .ca-ds-preorder {
    width: 100%;
    height: 50px;
    font-size: 14px;
    padding: 0 20px 0 6px;
  }
  .ca-ds-preorder_dot { width: 38px; height: 38px; }

  /* --- tabs --- */
  .ca-ds-tabs { margin: 0; padding-bottom: 32px; }
  .ca-ds-tabs_bar {
    justify-content: flex-start;
    gap: 28px;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 0;
    box-shadow: inset 0 -1px 0 var(--hair);
  }
  .ca-ds-tabs_bar::-webkit-scrollbar { display: none; }
  .ca-ds-tab { font-size: 22px; padding: 0 6px 12px; }

  .ca-ds-panel { padding: 32px 24px 0; }

  .ca-ds-notes { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .ca-ds-stats { grid-template-columns: 1fr; gap: 28px; }
  .ca-ds-stats_value { font-size: 26px; }

  /* --- closer look --- */
  .ca-ds-look { margin: 0 24px; padding-top: 8px; }
  .ca-ds-look_heading { font-size: 46px; margin-bottom: 20px; }
  .ca-ds-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 340px 220px 200px;
    gap: 12px;
    grid-template-areas:
      "open   open"
      "group  group"
      "close1 close2";
  }
  .ca-ds-grid_caption { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ca-ds-stats_value { font-size: 28px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .ca-ds-ghost,
  .ca-ds-ghost::after { animation: none; }
  .ca-ds-ghost { left: 50%; }
  .ca-ds-panel.is-entering { animation: none; }
  .ca-ds-preorder::before,
  .ca-ds-preorder_dot,
  .ca-ds-preorder_dot::after,
  .ca-ds-care_body,
  .ca-ds-care_plus,
  .ca-ds-dot,
  .ca-ds-frame_fade { transition: none; }
}

/* ==========================================================================
   RECOMMENDED PAIRING
   The updated layout from the Sacred page, copied here so this page matches:
   jar cut-outs, then name + notes and an underlined "Shop" over a hairline.
   The only change is the column count — this page lists all four scents.
   ========================================================================== */

.ca-pairing {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
  padding: 0 64px 120px;
  background: #fff;
  font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  color: #231f20;
}
.ca-pairing .sacred-details-heading_subtitle {
  margin-top: .75rem;
  font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  color: #2b2a28;
}
.ca-pairing__grid {
  max-width: 1080px;
  margin: 72px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.ca-pairing__media { display: block; aspect-ratio: 1 / 1; }
.ca-pairing__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 400ms cubic-bezier(.4, 0, 0, 1);
}
.ca-pairing__item:hover .ca-pairing__media img { transform: translateY(-6px); }
/* Kasumi's crop has an off-white backdrop; multiply melts it into the page */
.ca-pairing__media img.-blend { mix-blend-mode: multiply; }
.ca-pairing__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(35, 31, 32, .35);
}
.ca-pairing__name { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.ca-pairing__notes { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #66625f; }
.ca-pairing__shop {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  color: #231f20;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ca-pairing__shop:hover { text-decoration-thickness: 2px; }

/* Tablet: two up, the way the three-jar version halves on a narrow screen */
@media (max-width: 1023px) {
  .ca-pairing { padding: 0 24px 96px; }
  .ca-pairing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
    max-width: 640px;
    margin-top: 48px;
  }
}

@media (max-width: 749px) {
  .ca-pairing { padding: 0 20px 72px; }
  .ca-pairing .sacred-details-heading_title { font-size: 11.5vw; }
  .ca-pairing__grid { grid-template-columns: 1fr; gap: 48px; max-width: 360px; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .ca-pairing__media img { transition: none; }
}

/* ==========================================================================
   SITE LOADER
   main.css hides #site-loader as soon as the body gets `is-loaded`, and
   app.js adds that class the moment it initialises — which is why the intro
   only flashed. On this page the loader stays until its own script has held
   it for MIN_SHOW and adds `site-loader--hidden`.
   ========================================================================== */

body.discovery-page.is-loaded #site-loader:not(.site-loader--hidden) {
  opacity: 1;
  visibility: visible;
}

/* "Back to Products" sat ~286px below the pairing cards (120px of section
   padding plus 166px on .c-action_wrap), and the footer sat another 166px
   below the link. Trim both so the link follows the cards and the footer
   follows the link. Scoped to this page; other product pages keep theirs. */
@media (min-width: 700px) {
  /* 24 + 104 still totals 128px, so the footer stays exactly where it is
     while the link itself moves 40px closer to the pairing cards. */
  body.discovery-page .c-action_wrap { padding-top: 24px; padding-bottom: 104px; }
}
