/* Home preview release: refreshed stylesheet asset identity. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; }
[hidden] { display: none !important; }
.site-header { width: 100%; min-height: 80px; margin: 0; padding: 14px 22px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: #fbf9ea; border-bottom: 1px solid #e5e5df; }
.site-brand-pair { display: flex; align-items: center; justify-content: center; gap: 16px; width: min(100%, 380px); }
.site-brand-pair img { display: block; min-width: 0; height: auto; }
.site-brand-cork { flex: 1.2 1 0; width: 0; }
.site-brand-yoga { flex: 1 1 0; width: 0; }
.site-brand-times { flex: 0 0 18px; color: #204a3e; font-size: 22px; font-weight: 400; line-height: 1; text-align: center; }
.site-footer nav { display: flex; align-items: center; gap: 30px; }
.site-footer a { color: #204a3e; text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { max-width: 1440px; margin: 64px auto 0; padding: 32px 40px; border-top: 1px solid #d8ded5; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer-brand { display: inline-flex; align-items: center; }
.site-footer-brand img { display: block; width: 132px; height: auto; }
.site-footer { flex-wrap: wrap; row-gap: 15px; }
.site-footer-copyright { flex-basis: 100%; margin: 0; color: #271112; font-family: Centra, sans-serif; font-size: 13px; font-weight: 400; line-height: 1.7; letter-spacing: normal; text-align: center; }
.checkout-error { color: #8c2f22; font-size: 15px; line-height: 1.5; }
.product-form__submit[aria-busy="true"] { cursor: progress; }
.product__info-wrapper.scroll-trigger { opacity: 1; transform: none; }
@media(max-width:749px) {
  .site-header { min-height: 72px; padding: 12px 22px; }
  .site-brand-pair { max-width: 322px; gap: 12px; }
  .site-brand-times { font-size: 20px; }
  .site-footer { padding: 28px 22px; flex-wrap: wrap; margin-top: 40px; }
  .site-footer nav { gap: 22px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.ys-original-price { display: inline-block; color: #718379; font-size: .78em; font-weight: 400; text-decoration: none; margin-right: .45em; vertical-align: middle; line-height: 1.15; text-align: center; }
.ys-original-amount { display: block; text-decoration: line-through; text-decoration-thickness: 1px; }
.ys-original-price .ys-original-period { display: block; font-size: max(.65em, 1.1rem); font-weight: 400; line-height: 1.15; margin: 2px 0 0; text-align: center; text-decoration: line-through; text-decoration-thickness: 1px; }
.ys-comparison-rate .ys-original-price { display: block; font-size: 1.5rem; margin: 0 0 6px; }
@media(max-width:749px) { .ys-comparison-rate { flex-direction: column; gap: 3px; } }
@media(max-width:420px) { .ys-plan-price small { display: block; text-align: right; margin-top: 3px; } }

/* Standalone landing page: use the same green surface for both section previews. */
body.product-yogaspace-current :is(#iphone-library .ys-library-preview,#sequence-recommendations .ys-sequence-filmstrips__panel) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #073f31 !important;
  box-shadow: 0 28px 56px rgba(20,54,43,.15), 0 6px 16px rgba(20,54,43,.07);
}
body.product-yogaspace-current :is(#iphone-library .ys-library-preview,#sequence-recommendations .ys-sequence-filmstrips__panel)::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  pointer-events: none;
  background-color: #073f31;
  background-image: linear-gradient(180deg,#e8fff32e,#ffffff00 44%,#00161024),radial-gradient(ellipse at 15% 0%,#77cda491,transparent 62%),radial-gradient(ellipse at 55% 105%,#2e886333,transparent 65%),linear-gradient(110deg,#0d684d38,#002b204d 55%,#001813bd),url("ypc-green-texture.png");
  background-size: 100% 100%,100% 100%,100% 100%,100% 100%,800% auto;
  background-position: center,center,center,center,left top;
  filter: blur(1.35px);
  opacity: .93;
}
body.product-yogaspace-current #iphone-library .ys-library-header {
  background: transparent !important;
}
body.product-yogaspace-current #iphone-library .ys-library-card {
  position: relative;
}
body.product-yogaspace-current #iphone-library .ys-library-card span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  margin: 0;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,.85);
  color: #293a31;
  line-height: 1.25;
  text-align: right;
}

/* Keep the existing checkout action available throughout mobile scrolling. */
@media (max-width: 749px) {
  body.product-yogaspace-current {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  body.product-yogaspace-current .ys-bottom-payment .ys-faq-cart-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(20, 54, 43, .12);
  }
}

/* Section previews: the existing soft wash in lighter button-green hues. */
body.product-yogaspace-current {
  --ys-section-green-wash:
    radial-gradient(ellipse at 0% 10%, #c4e6d4 0%, transparent 62%),
    radial-gradient(ellipse at 100% 100%, #9fc9b2 0%, transparent 65%),
    linear-gradient(135deg, #eef7f1 0%, #dceee3 48%, #bfdacb 100%);
}
body.product-yogaspace-current :is(#iphone-builder .ysb-scene, #iphone-library .iphone-scene, #iphone-guide .iphone-scene, #iphone-library .ys-library-preview, #sequence-recommendations .ys-sequence-filmstrips__panel) {
  background: var(--ys-section-green-wash) !important;
}
body.product-yogaspace-current :is(#iphone-guide > .iphone-scene, #iphone-library .ys-library-preview, #sequence-recommendations .ys-sequence-filmstrips__panel)::before {
  background: var(--ys-section-green-wash) !important;
  filter: none;
  opacity: 1;
}

/* A white library surface on the same wide green stage as the other features. */
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-feature-visual--library {
  box-sizing: border-box;
  width: 100%;
  padding: 46px 28px;
  border-radius: 32px;
  background: var(--ys-section-green-wash);
}
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-preview {
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(20,54,43,.10), 0 2px 6px rgba(20,54,43,.04);
}
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-preview::before {
  content: none;
}
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-header,
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-window,
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-grid {
  background: #fff !important;
}
@media (max-width: 749px) {
  body.product-yogaspace-current #iphone-library.ys-feature--library .ys-feature-visual--library {
    padding: 30px 18px;
    border-radius: 25px;
  }
}

/* Clip the library content at the screen edge, without fading the tag rail. */
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-preview {
  padding: 18px 0 0;
  border-radius: 38px;
}
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-header {
  padding: 12px 30px 16px;
}
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-tags .ys-library-tags-rail {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-tags::before,
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-tags::after {
  content: none;
}
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-window,
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-card,
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-card img {
  border-radius: 0;
}

/* Keep pose names discreet within the compact library preview. */
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-card span {
  font-size: 8px;
  padding: 3px 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 3px;
}

/* Match the sequence preview to the library's white screen and green stage. */
body.product-yogaspace-current #sequence-recommendations .ys-sequence-stage {
  grid-column: 1;
  grid-row: 1;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 46px 28px;
  border-radius: 32px;
  background: var(--ys-section-green-wash);
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__panel {
  background: #fff !important;
  border-radius: 38px;
  box-shadow: 0 16px 36px rgba(20,54,43,.10), 0 2px 6px rgba(20,54,43,.04);
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__panel::before {
  content: none;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__grid {
  position: relative;
  isolation: isolate;
  margin: 0 6px 6px 0;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__grid::before {
  content: "";
  position: absolute;
  inset: 6px -6px -6px 6px;
  z-index: -1;
  border-radius: 21px;
  background-color: #103e33;
  background-image: var(--ys-nav-background-image);
  background-size: var(--ys-nav-background-size);
  background-position: var(--ys-nav-background-position);
  background-repeat: var(--ys-nav-background-repeat);
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__card--static {
  background: linear-gradient(145deg, rgba(242,252,246,.90), rgba(199,229,214,.76)) !important;
  border: 1px solid rgba(220,244,232,.9);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1px 2px rgba(80,129,106,.12), 0 3px 9px rgba(30,75,54,.08);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__search {
  background: #fff !important;
  border: 1px solid #bdd7ca;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__card--featured {
  border: 1px solid #e0ebe5;
  background: #fff;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__recommendation {
  background: #f3f8f5;
  border-color: #e0ebe5;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__recommendation::after {
  background: #f3f8f5;
  border-color: #e0ebe5;
}
@media (max-width: 749px) {
  body.product-yogaspace-current #sequence-recommendations .ys-sequence-stage {
    padding: 30px 18px;
    border-radius: 25px;
  }
}
@media (min-width: 851px) {
  body.product-yogaspace-current .ys-highlights-inner > #sequence-recommendations {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }
}

/* Keep the sequence photos flush with the card edge. */
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__card--featured {
  align-self: stretch;
  flex: none;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__rail {
  gap: 1px;
  height: calc((100cqw - 5px) / 3.35);
  line-height: 0;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__rail > figure {
  flex-basis: calc((100% - 3px) / 3.35);
  width: calc((100% - 3px) / 3.35);
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__panel {
  display: flex;
  flex-direction: column;
  min-height: 0 !important;
  height: auto !important;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__recommendation {
  align-self: flex-start;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__panel {
  background: linear-gradient(to top, #103e33 6px, #fff 6px) !important;
}

/* Match the navigation's bottom corners to the white library screen. */
body.product-yogaspace-current #iphone-library.ys-feature--library .ys-library-preview > .ysb-app-nav {
  border-radius: 0 0 38px 38px !important;
}

/* Home preview: one recommendation, a quiet search, and green glass categories. */
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__panel {
  --ys-sequence-panel-inset: 22px;
  gap: 14px;
  padding: 28px var(--ys-sequence-panel-inset) 0;
  aspect-ratio: auto;
  background: #fff !important;
  border-radius: 38px;
  box-shadow: 0 20px 42px rgba(32,66,49,.12), 0 2px 5px rgba(32,66,49,.04);
}
body.product-yogaspace-current #sequence-recommendations .ys-home-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px;
  color: #264735;
}
body.product-yogaspace-current #sequence-recommendations .ys-home-welcome h3 {
  margin: 0;
  color: #264735;
  font-family: Centra, sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.7px;
}
body.product-yogaspace-current #sequence-recommendations .ys-home-welcome p {
  margin: 7px 0 0;
  color: #637366;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -.08px;
}
body.product-yogaspace-current #sequence-recommendations .ys-home-welcome__sun {
  flex: none;
  width: 31px;
  height: 31px;
  margin-right: 3px;
  color: #829d72;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__search {
  gap: 10px;
  padding: 0 13px;
  background: #fff !important;
  border: 1px solid #b4cdbb;
  border-radius: 13px;
  color: #53705d;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__search input {
  padding: 13px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #294535;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__search input::placeholder {
  color: #637366;
  opacity: 1;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__search:focus-within {
  outline: 2px solid #547e61;
  outline-offset: 3px;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__card--featured {
  border: 1px solid #dce7df;
  border-radius: 20px;
  background: #fff;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__card--featured summary {
  min-height: 0;
  padding: 17px 16px 15px;
  gap: 16px;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__title > h3 {
  color: #294535;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.35px;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__details {
  margin-top: 8px;
  gap: 6px 14px;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__meta {
  color: #667467;
  font-size: 10.5px;
}
body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__chevron {
  width: 14px;
  height: 14px;
  color: #698271;
}
body.product-yogaspace-current #sequence-recommendations .ysb-app-nav {
  margin-top: 3px;
  border-radius: 0 0 38px 38px !important;
}
@media (max-width: 360px) {
  body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__panel {
    --ys-sequence-panel-inset: 16px;
    gap: 15px;
    padding-top: 25px;
  }
  body.product-yogaspace-current #sequence-recommendations .ys-home-welcome h3 { font-size: 23px; }
  body.product-yogaspace-current #sequence-recommendations .ys-home-welcome p { font-size: 11px; }
  body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__title > h3 { font-size: 14px; }
  body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__card--featured summary { padding: 15px 13px; }
  body.product-yogaspace-current #sequence-recommendations .ys-sequence-filmstrips__card--static .ys-sequence-filmstrips__static { min-height: 87px; }
}

/* Keep standalone contact fields within the mobile page width. */
.ys-contact-page :is(input, textarea) {
  box-sizing: border-box;
  max-width: 100%;
}

/* Photo-led discovery, with quiet organic colour beneath the glass. */
body.product-yogaspace-current #sequence-recommendations .ys-home-discovery { display: grid; gap: 20px; }
body.product-yogaspace-current #sequence-recommendations :is(.ys-home-resume,.ys-home-find) { position: relative; isolation: isolate; display: grid; gap: 10px; }
body.product-yogaspace-current #sequence-recommendations .ys-home-resume::before { content: ""; position: absolute; z-index: -1; inset: 32px -8px -9px 15px; background: linear-gradient(120deg,#cfdfbd,#a8cab5); border-radius: 43% 57% 62% 38% / 58% 39% 61% 42%; transform: rotate(-6deg); }
body.product-yogaspace-current #sequence-recommendations .ys-home-find::before { content: ""; position: absolute; z-index: -1; inset: 85px 15px -8px -12px; background: linear-gradient(135deg,#d7e5dc,#adcbc6); border-radius: 63% 37% 38% 62% / 41% 57% 43% 59%; transform: rotate(5deg); }
body.product-yogaspace-current #sequence-recommendations .ys-home-discovery h4 { margin: 0; font-family: Centra,sans-serif; font-size: 14px; line-height: 1.35; font-weight: 500; letter-spacing: -.2px; color: #294535; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow { overflow: hidden; border: 1px solid rgba(255,255,255,.92); border-radius: 19px; background: linear-gradient(120deg,rgba(255,255,255,.81),rgba(248,253,249,.58)); box-shadow: inset 0 1px 1px white, 0 4px 12px rgba(39,77,57,.06); backdrop-filter: blur(14px) saturate(115%); -webkit-backdrop-filter: blur(14px) saturate(115%); }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow summary { display: flex; align-items: center; gap: 12px; padding: 8px; min-height: 0; cursor: pointer; list-style: none; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow summary::-webkit-details-marker { display: none; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__photo { flex: none; width: 60px; height: 64px; border-radius: 12px; object-fit: cover; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__copy { flex: 1; min-width: 0; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__copy h3 { margin: 0; font-size: 15px; line-height: 1.25; font-weight: 500; color: #294535; letter-spacing: -.25px; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__copy > span { display: block; margin-top: 5px; font-size: 11px; line-height: 1.35; color: #52695a; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__arrow { flex: none; width: 17px; height: 17px; margin-right: 3px; color: #456850; transition: transform .2s; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow[open] .ys-home-flow__arrow { transform: rotate(90deg); }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__preview { display: flex; gap: 12px; align-items: center; padding: 5px 12px 14px; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__preview img { width: 78px; height: 78px; border-radius: 12px; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow__preview p { margin: 0; font-size: 11px; line-height: 1.5; color: #45614f; }
body.product-yogaspace-current #sequence-recommendations .ys-home-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
body.product-yogaspace-current #sequence-recommendations .ys-home-shortcuts button { font: inherit; font-size: 11px; line-height: 1.25; padding: 8px 11px; color: #45614f; background: #f3f7f3; border: 1px solid #dce7df; border-radius: 100px; cursor: pointer; }
body.product-yogaspace-current #sequence-recommendations .ys-home-shortcuts button[aria-pressed=true] { color: white; background: #285941; border-color: #285941; }
body.product-yogaspace-current #sequence-recommendations :is(.ys-home-shortcuts button,.ys-home-flow summary):focus-visible { outline: 2px solid #285941; outline-offset: 3px; }
body.product-yogaspace-current #sequence-recommendations .ys-home-flow[hidden], body.product-yogaspace-current #sequence-recommendations [data-ys-home-group][hidden] { display: none; }
@media (max-width: 360px) { body.product-yogaspace-current #sequence-recommendations .ys-home-flow__photo { width: 54px; height: 62px; } body.product-yogaspace-current #sequence-recommendations .ys-home-flow__copy h3 { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { body.product-yogaspace-current #sequence-recommendations .ys-home-flow__arrow { transition: none; } }

body.product-yogaspace-current #sequence-recommendations .ys-home-flow__preview ul { margin: 0; padding: 0 0 0 17px; font-size: 11px; line-height: 1.7; color: #45614f; }

.site-footer-brands { display: flex; align-items: center; gap: 16px; }
.site-footer-heart { font-size: 20px; line-height: 1; }
.site-footer-cork { display: inline-flex; align-items: center; }
.site-footer-cork img { display: block; width: 126px; height: auto; }
@media (max-width: 749px) { .site-footer-brands { gap: 12px; } .site-footer-brand img { width: 120px; } .site-footer-cork img { width: 114px; } }

/* Centered footer brand, copyright and support links. */
.site-footer { flex-direction: column; justify-content: center; text-align: center; row-gap: 20px; }
.site-footer-copyright { flex-basis: auto; }
.site-footer nav { justify-content: center; gap: 22px; }
.site-footer nav a { font-size: 12px; }

/* Balance visible logo artwork, including the Cork asset's native padding. */
.site-footer-brands {
  display:grid;
  grid-template-columns:minmax(0,1fr) 24px minmax(0,1.333333fr);
  align-items:center;
  justify-items:center;
  gap:18px;
  width:min(100%,368px);
}
.site-footer-brands :is(.site-footer-brand,.site-footer-cork){width:100%;min-width:0;justify-content:center;}
.site-footer-brands :is(.site-footer-brand,.site-footer-cork) img{width:100%;height:auto;}
.site-footer-brand img{transform:translateY(1px);}
.site-footer-cork img{transform:translateY(-1px);}
.site-footer-heart{display:flex;align-items:center;justify-content:center;width:24px;height:32px;font-size:22px;line-height:1;}
@media(max-width:749px){
  .site-footer-brands{width:min(100%,316px);grid-template-columns:minmax(0,1fr) 20px minmax(0,1.333333fr);gap:10px;}
  .site-footer-heart{width:20px;font-size:20px;}
}

/* Keep temporarily locked checkout choices readable. */
body.product-yogaspace-current .product-form__input input[type='radio']:disabled + label {
  text-decoration: none;
}
