/** Shopify CDN: Minification failed

Line 464:0 Expected "}" to go with "{"

**/
/* =============================================================================
FILE: assets/curate-stack.css
Static asset — no Liquid. Scopes use attribute prefix where needed.
============================================================================= */

/* ===== Curate Your Stack Layout (base) ===== */
.curate-stack{
  display:grid;
  gap: clamp(16px, 3vw, 40px);
  /* allow columns to shrink inside the viewport */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.curate-stack > * { min-width: 0; }

@media (min-width: 990px){
  .curate-stack{
    /* desktop split stays 1:1 (minmax already allows shrinking) */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items:start;
    column-gap: clamp(32px, 6vw, 80px);
  }
}

/* Viewer column */
.curate-stack__viewer{
  display:flex;
  flex-direction:column;
  gap: 16px;
  /* IMPORTANT: no overflow here; otherwise position:sticky won't work */
  position: static; /* sticky applied via per-section Liquid when enabled */
}

.curate-stack__title{
  margin:0;
  text-align:left; /* left aligned per request */
}

.curate-stack__stack{
  position: relative;
  display: block !important;
  min-height: 66vh; /* default viewport-based height */
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 749px){
  .curate-stack__stack{ min-height: 50vh; } /* slightly shorter canvas on phones */
}

.curate-stack__tile{
  position:absolute;
  width: 56%;
  left: 22%;
  border-radius: 10px;
  box-shadow: none;        /* ensure no shadow */
  transform-origin: center;
  will-change: transform;
}

/* ===== Meta layout (totals + actions) ===== */
.curate-stack__meta{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-bottom: 14px;
}
.curate-stack__meta-left{
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.curate-stack__meta-right{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
@media (max-width: 989px){
  /* Mobile: Subtotal row (space-between) + stacked buttons */
  .curate-stack__meta{
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .curate-stack__meta-left{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-direction: row; /* one-line subtotal row */
    width: 100%
  }
  .curate-stack__meta-right{
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }
  .curate-stack__meta-right .button{
    
  }
}

/* Subtotal typography */
.curate-stack__meta .totals__subtotal{
  font-size: calc(var(--font-heading-scale) * 1.6rem);
  font-weight: 600;
  margin: 0;
}
.curate-stack__meta .totals__subtotal-value{
  font-size: calc(var(--font-heading-scale) * 1.6rem);
  margin: 0;
}

/* ===== Chooser (right column) ===== */
.curate-stack__chooser{
  min-width: 0;
  overflow: hidden;   /* fences off scroll-size from inflating the grid track */
}
.curate-stack__chooser .h3{
  margin:0 0 12px;
  text-transform: uppercase;
}

.curate-stack__chooser .chooser-title{
    display: none;
  }

/* Desktop grid */
@media (min-width: 990px){
  .curate-stack__grid{
    display:grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr 1fr; /* 3 columns on desktop */
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

/* Tablets: 2-up grid for easier scanning */
@media (min-width: 750px) and (max-width: 989px){
  .curate-stack__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
  }
}

/* ===== MOBILE ONLY (≤749px): ditch grid → flex column stack + Option C carousel ===== */
@media (max-width: 749px){
  /* 1) Whole section stacks vertically (no grid) */
  .curate-stack{
    display: flex;               /* instead of grid */
    flex-direction: column;
    gap: 24px;
    overflow-x: clip;            /* no accidental page-wide overflow */
  }
  .curate-stack > *{ min-width: 0; }

  /* 2) Viewer stays full width */
  .curate-stack__viewer{
    position: static;
    width: 100%;
    max-width: 100%;
  }

  .curate-stack__chooser{ order: 0; }
  .curate-stack__viewer{ order: 1; }

  .curate-stack__chooser .chooser-title{
    display: block;
    margin-top: 0;
  }

  /* 3) Option C carousel with a “peek” of the next card */
  .curate-stack__chooser{ overflow: hidden; min-width: 0; }
  .curate-stack__grid{
    display: flex;                      /* ditch grid on mobile */
    gap: 10px;
    padding: 0 8px 10px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8px;
    max-width: 100%;
  }
  .curate-stack__grid > li{
    /* slightly narrower than viewport to show a peek */
    flex: 0 0 calc(100% / 2 - 48px);
    scroll-snap-align: center;
    min-width: 0;
    max-width: 100%;
    contain: content;                  /* fence off layout so width can't leak */
  }

  /* Ensure card fills the slide, never exceeds it */
  .curate-stack__grid .card-wrapper,
  .curate-stack__grid .card,
  .curate-stack__grid .card__inner,
  .curate-stack__grid .card__content{
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .curate-stack__grid .card__inner.ratio{
    --ratio-percent: 100%;
  }
}

/* ===== Card fixes and overlay controls (STATIC SCOPE) ===== */
/* Use attribute-prefix scope to target only this section type without Liquid */
[id^="CurateStack-"] .card__inner,
[id^="CurateStack-"] .card__media{
  position: relative;
}

/* Stack controls inherit palette via theme vars */
[id^="CurateStack-"] .stack-controls{
  position:absolute; right: 10px; bottom: 10px; /* bottom-right */
  display:flex; align-items:center; gap:6px;
  background: rgba(var(--color-button), 1);
  color: rgb(var(--color-button-text));
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow: none;
}

[id^="CurateStack-"] .stack-controls[data-qty="0"]{
  background: rgba(var(--color-button), 0);
}

[id^="CurateStack-"] .stack-btn{
  width: 30px;
  height: 30px; /* perfect circle */
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 0;
  cursor: pointer;
  line-height: 1;
}

/* Use button palette if present, fall back to base */
[id^="CurateStack-"] .stack-btn--plus,
[id^="CurateStack-"] .stack-btn--minus{
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  font-weight: 700;
  font-size: 1.3rem;
}

[id^="CurateStack-"] .stack-qty{
  min-width: 24px;
  text-align:center;
  font-weight: 700;
}

/* Hide minus & qty when quantity is 0 (show simple "+") */
[id^="CurateStack-"] .stack-controls[data-qty="0"] .stack-btn--minus,
[id^="CurateStack-"] .stack-controls[data-qty="0"] .stack-qty{
  display:none;
}

/* default (qty = 0) – no lift */
.stack-controls[data-qty="0"] .stack-btn > span { transform: none; }

/* when qty > 0 – apply your baseline shift */
.stack-controls:not([data-qty="0"]) .stack-btn > span {
  transform: translateY(var(--baseline-btn-up, -1px));
}

/* On small screens, place controls under the image to avoid cramping */
@media (max-width: 749px){
  [id^="CurateStack-"] .stack-controls{
    position: static;
    margin-top: 8px;
    justify-content: flex-start;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  [id^="CurateStack-"] .stack-btn--minus{
    background: rgba(0,0,0,.08);
  }
  [id^="CurateStack-"] .stack-btn{ width: 36px; height: 36px; } /* larger tap targets */
}

/* ===== State polish ===== */
/* Extra breathing room when empty */
[id^="CurateStack-"].is-empty .curate-stack__viewer{
  gap: 20px;
}
[id^="CurateStack-"].is-empty .curate-stack__stack{
  margin-bottom: 6px;
}

/* keep tiles from expanding page width on small screens */
@media (max-width: 989px){
  .curate-stack__stack{
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: clip; /* modern */
    overflow-x: hidden; /* fallback */
    position: relative; /* reiterate for clarity */
  }
}

/* ===== Minimal modal (single, consolidated) ===== */
.cys-modal{ position: fixed; inset:0; display:none; z-index: 9999; }
.cys-modal[open]{ display:block; }
.cys-modal::backdrop{ background: transparent; } /* overlay element handles dim */
.cys-modal__overlay{ position:absolute; inset:0; background: rgba(0,0,0,.45); z-index: 0; }
.cys-modal__dialog{
  position:absolute; z-index: 1;
  top:50%; left:50%; transform: translate(-50%, -50%);
  width:min(92vw, 460px);
  background: rgb(var(--color-base-background-1));
  color: rgb(var(--color-base-text));
  border-radius: 14px; padding: 18px 18px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cys-modal__head{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.cys-modal__close{ border:0; background:transparent; cursor:pointer; color: var(--color-foreground); width: 30px; height: 30px; }
.cys-modal__actions{ display:flex; gap:10px; margin-top: 12px; }
/* ========== Modal polish ========== */
.cys-modal__dialog{
  width:min(96vw, 640px);
  max-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.cys-modal__body{
  overflow: auto;
  padding-right: 4px; /* avoid scrollbar overlay */
}

/* Phones: bottom sheet */
@media (max-width: 749px){
  .cys-modal__dialog{
    top:auto; left:0; right:0; bottom:0; transform:none;
    width:100vw; max-height:88vh; border-radius:16px 16px 0 0;
  }
  .cys-modal__body{ padding: 10px 14px; }
}

/* Layout (variant UI) */
.cys-variant-ui{
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-auto-rows: min-content;
  gap: 12px 14px;
  align-items: start;
}
.cys-thumb{
  grid-row: span 3;
  width: 100px; height: 100px; object-fit: cover; border-radius: 8px;
}

/* Options (chips) */
.cys-option-row{ margin-bottom: 10px; grid-column: 1 / -1; }
.cys-option-label{ font-weight: 400; margin-bottom: 6px; }
.cys-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.cys-chip{
  border: 1.5px solid rgba(var(--color-base-text), 1);
  background: transparent;
  border-radius: 999px;
  padding: 5px 15px 3px;
  font: inherit;
  cursor: pointer;
  color: var(--color-base-text);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.cys-chip.is-active{
  border-color: rgb(var(--color-base-text));
  background: rgba(var(--color-base-text), 1);
  color: rgb(var(--color-base-background-1));
}
.cys-chip:disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* Price + in-stack list */
.cys-price-row{ grid-column: 2 / -1; margin: 6px 0 2px; }
.cys-price{ font-weight: 400; }

.cys-instack{ grid-column: 1 / -1; border-top: 1px solid rgba(var(--color-base-text), .12); margin-top: 10px; padding-top: 10px; }
.cys-instack-titlebar{ font-weight: 500; margin-bottom: 6px; text-transform: uppercase; }
.cys-instack-row{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.cys-instack-qty{ display: inline-flex; gap: 8px; align-items: center; }
.cys-small{
  border: 0px solid rgba(var(--color-base-text), .25);
  background: transparent;
  border-radius: 8px;
  width: 28px; height: 28px; display: grid; place-items: center;
}

/* Modal actions */
.cys-modal__actions{ display: flex; flex-wrap: wrap; gap: 8px; }
/* replace the Liquid version with: */
[id^="cys-add-stay-"].just-added{
  outline: 2px solid rgba(var(--color-base-accent-1), .5);
}

/* Card overlay tweaks */
[id^="CurateStack-"] .stack-btn--plus.is-options > span { /* show "Choose" nicely */
  font-weight: 600;
  letter-spacing: .02em;
}
.stack-options-link{
  background: transparent;
  border: 0;
  text-decoration: underline;
  font-size: 1.2rem;
  padding: 5px 7px 4px;
  margin-top: 6px;
  cursor: pointer;
  color: rgb(var(--color-base-text));
  font-family: inherit;
  letter-spacing: 0.02em;
}

/* Load more button */
.load-more-btn{
  margin-top: 1.5rem;
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: var(--brand-pine) !important;
}

/* Extra belt-and-suspenders for small screens */
@media (max-width: 989px){
  .curate-stack {
    overflow-x: clip; /* ensure no hidden scroll-size leaks */
  }
}

/* hide wishlist */

.nm-wishlist-open-list-button {
z-index: -2 !important;

