{"id":2112912,"name":"Feat. Resorts J3","masterVariationId":2112913,"modifications":[{"id":6526287,"selector":"","type":"customScriptNew"},{"id":6526288,"selector":"","type":"addCSS","value":"/* =============================================================================\n   AB TASTY — Featured Resorts (3-tile \"Reimagined\" variant) — styles\n   Paste into the test's CSS panel. Pair with ab-tasty-featured-resorts.js.\n\n   Colors/fonts are approximated from the current AB Tasty test (#24368c navy,\n   SandalsSlab/SandalsSans) — tweak the variables below if the exact brand hex\n   values differ from what's live elsewhere on the page.\n   ============================================================================= */\n\n#sfr-featured-resorts {\n  --sfr-navy: #24368c; /* CTA button */\n  --sfr-ink: #171725;\n  --sfr-badge-bg: rgba(14, 26, 82, 0.4); /* #0E1A52 @ 40% */\n  --sfr-countdown-bg: #f5eede;\n  --sfr-available-bg: #d0f759;\n  --sfr-available-ink: #16213f;\n  --sfr-star-on: #0057ff;\n  --sfr-star-off: #d7d7de;\n  --sfr-radius-lg: 2rem;\n  --sfr-radius-pill: 999px;\n  --sfr-gap: 3.2rem;\n  --sfr-font-slab: 'SandalsSlab', Georgia, serif;\n  --sfr-font-sans: 'SandalsSans', Arial, sans-serif;\n\n  display: block;\n  padding: 5.6rem 0;\n  margin: 0;\n  background: transparent;\n}\n\n#sfr-featured-resorts,\n#sfr-featured-resorts *,\n#sfr-featured-resorts *::before,\n#sfr-featured-resorts *::after {\n  box-sizing: border-box;\n}\n\n#sfr-featured-resorts .sfr-inner {\n  width: 100%;\n  max-width: 106rem;\n  margin: 0 auto;\n  padding: 0 2.4rem;\n}\n\n#sfr-featured-resorts .sfr-header {\n  text-align: center;\n  margin: 0 0 2.6rem;\n}\n#sfr-featured-resorts .sfr-header h2 {\n  margin: 0;\n  color: var(--sfr-navy);\n  font-family: var(--sfr-font-slab);\n  font-size: 4rem;\n  font-weight: 400;\n  line-height: 1.2;\n}\n\n#sfr-featured-resorts .sfr-track {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: var(--sfr-gap);\n}\n\n#sfr-featured-resorts .sfr-card {\n  display: flex;\n  flex-direction: column;\n  text-decoration: none;\n}\n\n/* ---------- image + overlay badges ---------- */\n\n#sfr-featured-resorts .sfr-media {\n  position: relative;\n  display: block;\n  width: 100%;\n  aspect-ratio: 19 / 25; /* matches the supplied image crop (912x1200) */\n  border-radius: var(--sfr-radius-lg);\n  overflow: hidden;\n  background: #dfe8f4;\n  text-decoration: none;\n  margin-bottom: 1rem;\n}\n#sfr-featured-resorts .sfr-media img {\n  display: block;\n  width: 100%;\n  height: 100%;\n  object-fit: cover;\n}\n\n#sfr-featured-resorts .sfr-badge-new {\n  position: absolute;\n  top: 1.6rem;\n  left: 1.6rem;\n  right: 1.6rem;\n  background: var(--sfr-badge-bg);\n  color: #fff;\n  font-family: var(--sfr-font-sans);\n  font-size: 1.3rem;\n  font-weight: 600;\n  letter-spacing: 0.02em;\n  line-height: 1.35;\n  text-align: center;\n  padding: 0.8rem 1.6rem;\n  border-radius: 1.6rem;\n}\n\n#sfr-featured-resorts .sfr-overlay-bottom {\n  position: absolute;\n  left: 1.6rem;\n  bottom: 1.6rem;\n  display: flex;\n  flex-direction: column;\n  align-items: stretch;\n  width: max-content;\n  max-width: calc(100% - 3.2rem);\n}\n\n#sfr-featured-resorts .sfr-countdown-box {\n  display: flex;\n  align-items: stretch;\n  justify-content: flex-start;\n  gap: 0.6rem;\n  background: var(--sfr-countdown-bg);\n  border-radius: 1.4rem 1.4rem 0 0;\n  padding: 1.4rem 1.8rem;\n  margin: 0;\n}\n#sfr-featured-resorts .sfr-countdown-box.is-open {\n  justify-content: center;\n  padding: 1.6rem 1.8rem;\n}\n\n#sfr-featured-resorts .sfr-countdown-number {\n  display: flex;\n  align-items: center;\n  font-family: var(--sfr-font-slab);\n  font-size: 3.6rem;\n  font-weight: 400;\n  color: var(--sfr-ink);\n  line-height: 1;\n}\n#sfr-featured-resorts .sfr-countdown-copy {\n  display: flex;\n  flex-direction: column;\n  gap: 0.15rem;\n}\n#sfr-featured-resorts .sfr-countdown-label {\n  font-family: var(--sfr-font-sans);\n  font-size: 1.4rem; /* 14px per Figma */\n  font-weight: 700;\n  color: var(--sfr-ink);\n  line-height: 1.3;\n}\n#sfr-featured-resorts .sfr-countdown-date {\n  font-family: var(--sfr-font-sans);\n  font-size: 1.4rem; /* 14px per Figma */\n  font-weight: 700;\n  color: var(--sfr-navy);\n  line-height: 1.3;\n}\n#sfr-featured-resorts .sfr-open-now {\n  font-family: var(--sfr-font-sans);\n  font-size: 1.5rem;\n  font-weight: 700;\n  color: var(--sfr-navy);\n}\n\n#sfr-featured-resorts .sfr-available-pill {\n  background: var(--sfr-available-bg);\n  color: var(--sfr-available-ink);\n  font-family: var(--sfr-font-sans);\n  font-size: 1.2rem; /* 12px per Figma */\n  font-weight: 700;\n  letter-spacing: 0.04em;\n  text-transform: uppercase;\n  text-align: center;\n  padding: 0.6rem 1.8rem;\n  border-radius: 0 0 1.4rem 1.4rem;\n  white-space: nowrap;\n  margin: 0;\n}\n\n/* ---------- content below the image ---------- */\n\n#sfr-featured-resorts .sfr-content {\n  display: flex;\n  flex-direction: column;\n  gap: 0.4rem;\n}\n\n#sfr-featured-resorts .sfr-brand {\n  margin: 0;\n  color: var(--sfr-ink);\n  font-family: var(--sfr-font-sans);\n  font-size: 1.5rem;\n  font-weight: 400;\n}\n\n#sfr-featured-resorts .sfr-name {\n  margin: -0.3rem 0 0;\n}\n#sfr-featured-resorts .sfr-name a {\n  display: inline-block;\n  color: var(--sfr-ink);\n  text-decoration: none;\n  font-family: var(--sfr-font-slab);\n  font-size: 2.6rem;\n  font-weight: 400;\n  line-height: 1.15;\n}\n\n#sfr-featured-resorts .sfr-destination {\n  margin: 0;\n  color: var(--sfr-ink);\n  font-family: var(--sfr-font-sans);\n  font-size: 1.3rem;\n  line-height: 1.3;\n  opacity: 0.92;\n}\n\n#sfr-featured-resorts .sfr-rating {\n  display: flex;\n  align-items: center;\n  flex-wrap: nowrap;\n  gap: 0.8rem;\n}\n#sfr-featured-resorts .sfr-stars {\n  position: relative;\n  display: inline-flex;\n}\n#sfr-featured-resorts .sfr-stars-row {\n  display: flex;\n  align-items: center;\n  flex-wrap: nowrap;\n  gap: 0.15rem;\n}\n#sfr-featured-resorts .sfr-stars-fill {\n  position: absolute;\n  top: 0;\n  left: 0;\n  overflow: hidden;\n  white-space: nowrap;\n}\n#sfr-featured-resorts .sfr-star {\n  width: 1.8rem;\n  height: 1.8rem;\n  flex: 0 0 auto;\n}\n#sfr-featured-resorts .sfr-stars-bg .sfr-star {\n  fill: var(--sfr-star-off);\n}\n#sfr-featured-resorts .sfr-stars-fill .sfr-star {\n  fill: var(--sfr-star-on);\n}\n#sfr-featured-resorts .sfr-reviews {\n  color: var(--sfr-navy);\n  font-family: var(--sfr-font-sans);\n  font-size: 1.3rem;\n  font-weight: 700;\n  white-space: nowrap;\n}\n\n#sfr-featured-resorts .sfr-cta {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  align-self: stretch;\n  margin-top: 1.1rem;\n  min-height: 4.6rem;\n  padding: 1rem 2rem;\n  border-radius: var(--sfr-radius-pill);\n  background: var(--sfr-navy);\n  color: #fff;\n  font-family: var(--sfr-font-sans);\n  font-size: 1.5rem;\n  font-weight: 600;\n  text-decoration: none;\n  text-transform: uppercase;\n  letter-spacing: 0.03em;\n}\n\n/* ---------- tablet ---------- */\n\n@media (max-width: 1023px) {\n  #sfr-featured-resorts { padding: 5.6rem 0; }\n  #sfr-featured-resorts .sfr-header h2 { font-size: 3.2rem; }\n  #sfr-featured-resorts .sfr-name a { font-size: 2.2rem; }\n  #sfr-featured-resorts .sfr-track { gap: 1.6rem; }\n}\n\n/* ---------- mobile — horizontal carousel ---------- */\n\n@media (max-width: 767px) {\n  #sfr-featured-resorts {\n    padding: 4.8rem 0 4rem;\n    overflow: hidden;\n  }\n  #sfr-featured-resorts .sfr-inner {\n    padding: 0;\n    max-width: 100%;\n  }\n  #sfr-featured-resorts .sfr-header {\n    padding: 0 2rem;\n    margin-bottom: 2rem;\n  }\n  #sfr-featured-resorts .sfr-header h2 { font-size: 2.8rem; }\n  #sfr-featured-resorts .sfr-name a { font-size: 2.6rem; }\n  #sfr-featured-resorts .sfr-content { gap: 0.45rem; }\n  #sfr-featured-resorts .sfr-track {\n    display: flex;\n    flex-wrap: nowrap;\n    gap: 2rem;\n    overflow-x: auto;\n    scroll-snap-type: x mandatory;\n    scroll-padding-left: 2rem;\n    -webkit-overflow-scrolling: touch;\n    padding: 0 0 0.8rem;\n    scrollbar-width: none;\n    cursor: grab;\n  }\n  #sfr-featured-resorts .sfr-track::-webkit-scrollbar { display: none; }\n  #sfr-featured-resorts .sfr-track.is-dragging {\n    cursor: grabbing;\n    scroll-snap-type: none; /* let the drag move freely; snap resumes on release */\n    user-select: none;\n    -webkit-user-select: none;\n  }\n  #sfr-featured-resorts .sfr-track.is-dragging * {\n    pointer-events: none; /* avoids hover/focus noise on cards while dragging */\n  }\n  #sfr-featured-resorts .sfr-card {\n    flex: 0 0 min(64vw, 27rem);\n    max-width: min(64vw, 27rem);\n    scroll-snap-align: start;\n    scroll-snap-stop: always;\n  }\n  /* Leading/trailing gutter as margin on the end cards rather than container\n     padding — iOS Safari can clip padding at the scroll-start edge of a\n     horizontally-scrolling flex container, which is what was causing the\n     left side to sit flush against the screen while the right stayed fine. */\n  #sfr-featured-resorts .sfr-card:first-child { margin-left: 2rem; }\n  #sfr-featured-resorts .sfr-card:last-child { margin-right: 2rem; }\n}"}],"_tagInfo":"2026/11/25 17:03:55 UTC"}