/* Package page (sections/main-product.liquid) and its booking fields (snippets/booking-fields.liquid).
   The section carries .accent-{green|red|gold|burgundy}, so --accent / --accent-text drive the
   ribbon, price, checks and tagline, like the flyer cards. */

.product {
  padding-top: clamp(24px, 3.5vw, 52px);
  --product-line: #CBA75C;
  --product-line: color-mix(in srgb, var(--c-gold) 55%, var(--c-gold-light));
}
/* gold ribbon deepened like the package card ribbon, so small white text passes AA (4.8:1) */
.product.accent-gold { --ribbon-bg: #946B1C; --ribbon-bg: color-mix(in srgb, var(--c-gold-ribbon) 82%, #3C2800); }

.product__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

@media (min-width: 990px) {
  .product__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    column-gap: clamp(52px, 5.4vw, 96px);
  }
  .product__grid--sticky .product__media-sticky {
    position: sticky;
    top: calc(var(--header-height, 76px) + 28px);
  }
}

/* ------------------------------------------------------------------ photo */
.product__media-col { min-width: 0; }

/* gold offset frame: a hairline set 14px down and right, behind the photo */
.product__frame {
  position: relative;
  isolation: isolate;
  margin: 0 14px 14px 0;
}
.product__frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-media);
  background: linear-gradient(135deg, rgba(255, 244, 220, 0) 40%, rgba(230, 207, 148, .35));
}
.product__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-media);
  background: var(--c-parchment);
  box-shadow: var(--shadow-card);
}
.product__slide { position: absolute; inset: 0; }
.product__slide[hidden] { display: none; }
.product__img,
.product__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-pos, 50% 50%);
}

/* The frame stays 4:3 at every width, like the package photos, so none of the photo is cropped away
   (4:3 is also short enough to keep the sticky photo inside a short laptop viewport). */
@media (min-width: 990px) {
  .product__frame { margin: 0 18px 18px 0; }
  .product__frame::before { inset: 18px -18px -18px 18px; }
}

.product__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.product__thumb {
  display: block;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--c-gold-light);
  border-radius: 12px;
  background: var(--c-parchment);
  opacity: .72;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb:hover { opacity: 1; }
.product__thumb[aria-current="true"] { opacity: 1; border-color: var(--c-gold); box-shadow: 0 0 0 2px var(--c-ivory), 0 0 0 3px var(--c-gold); }
.no-js .product__thumbs { display: none; }

.product__caption {
  display: none;
  margin: 32px auto 0;
  max-width: 440px;
  text-align: center;
}
.product__caption-text {
  margin: 14px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--c-green);
  text-wrap: balance;
}
@media (min-width: 990px) {
  .product__caption { display: block; }
}

/* ------------------------------------------------------------------ details column */
.product__info { min-width: 0; }
.product__block + .product__block { margin-top: 28px; }
.product__block--title + .product__block--price { margin-top: 10px; }
.product__block--price + .product__block--description { margin-top: 18px; }
.product__block--form + .product__block--note { margin-top: 16px; }

.breadcrumbs { margin: 0 0 22px; }
.product__breadcrumbs { position: relative; z-index: 1; margin-bottom: clamp(16px, 2.4vw, 28px); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 12px; }
.breadcrumbs li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--c-gold);
  transform: rotate(45deg);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--c-ink-soft);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--c-red); text-decoration: underline; text-decoration-color: currentColor; }
.breadcrumbs [aria-current] { color: var(--c-ink); }

/* Title: icon badge + ribbon eyebrow, then the name */
.product__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.product__badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border: 1px solid var(--product-line);
  border-radius: 50%;
  background: var(--c-ivory);
  box-shadow: inset 0 0 0 5px var(--c-ivory), inset 0 0 0 6px var(--c-gold-light), var(--shadow-card);
  color: var(--accent-text, var(--accent));
}
.product__badge .icon { width: 44px; height: 44px; }

.product__ribbon {
  position: relative;
  display: inline-flex;
  margin: 0;
  font-family: var(--font-caps);
  font-weight: 700;
  font-size: .76rem;
  line-height: 1.2;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-white);
}
.product__ribbon span {
  display: block;
  padding: 9px 26px 8px;
  background-color: var(--ribbon-bg, var(--accent));
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .08));
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%, 10px 50%);
}

.product__title {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 4.3rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--c-green);
}

/* Price */
.product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3.4rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--accent-text, var(--accent));
}
.product__price .price sup { font-size: .4em; top: -.85em; margin-right: 0; }
.product__compare {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}

/* What's included */
.product__subtitle {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--accent-text, var(--accent));
  text-wrap: balance;
}
.product__included {
  --radius-card: 18px;
  padding: clamp(24px, 3.2vw, 34px) clamp(22px, 3.2vw, 36px) clamp(22px, 3vw, 30px);
  border-color: var(--product-line);
}
.product__included-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--font-caps);
  font-weight: 700;
  font-size: .8rem;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-green);
}
.product__included-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold-light), rgba(230, 207, 148, 0));
}
.product__features li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.45;
}
.product__features li:last-child { margin-bottom: 0; }
.product__rule { margin-top: 26px; }
.product__rule .ornament-rule__ornament .icon { width: 11px; height: 11px; }
.product__tagline {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.15;
  text-align: center;
  color: var(--accent-text, var(--accent));
}
.product__tagline > span { display: inline-block; max-width: 14em; text-wrap: balance; }
.product__description { font-size: 1.05rem; }

/* ------------------------------------------------------------------ ZIP checker */
.zip-checker {
  padding: 20px 22px 18px;
  border: 1px dashed var(--product-line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .72);
}
.zip-checker__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.zip-checker__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-gold-light);
  border-radius: 50%;
  background: var(--c-cream);
  color: var(--c-red);
}
.zip-checker__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--c-green);
  cursor: default;
}
.zip-checker__area {
  margin: 2px 0 0;
  font-size: .9rem;
  color: var(--c-ink-soft);
}
.zip-checker__row {
  display: flex;
  gap: 10px;
}
.zip-checker__input {
  flex: 1 1 auto;
  min-width: 0;
  letter-spacing: .08em;
}
.zip-checker__button {
  flex: 0 0 auto;
  padding-inline: 24px;
}
/* empty: no box, but still rendered, so the live region is in the accessibility tree before the first answer */
.zip-checker__result:empty { margin-top: 0; padding: 0; }
.zip-checker__result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: .95rem;
  line-height: 1.45;
}
.zip-checker__result .icon { flex: 0 0 auto; margin-top: 1px; }
.zip-checker__result--yes { background: rgba(15, 90, 54, .09); border: 1px solid rgba(15, 90, 54, .25); color: var(--c-green); font-weight: 700; }
.zip-checker__result--no { background: var(--c-parchment); border: 1px solid var(--c-gold-light); color: var(--c-ink); }
.zip-checker__result--no .icon { color: var(--c-red); }
.zip-checker__result--no a { color: var(--c-red-deep); font-weight: 700; }
.zip-checker__result--invalid { background: rgba(179, 20, 31, .06); border: 1px solid rgba(179, 20, 31, .25); color: var(--c-red-deep); font-weight: 700; }
.zip-checker__input[aria-invalid="true"] { border-color: var(--c-red); }
.no-js .zip-checker__tool { display: none; }

.zip-checker__list { margin-top: 12px; }
.zip-checker__list summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-green);
  list-style: none;
}
.zip-checker__list summary::-webkit-details-marker { display: none; }
.zip-checker__list summary:hover { color: var(--c-red); }
.zip-checker__list summary .icon { transition: transform .2s var(--ease); }
.zip-checker__list[open] summary .icon { transform: rotate(180deg); }
.zip-checker__list p {
  margin: 6px 0 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
  font-variant-numeric: tabular-nums;
}
.no-js .zip-checker__list { margin-top: 0; }

/* ------------------------------------------------------------------ booking form */
.product-form {
  margin: 0;
  padding: clamp(22px, 3.2vw, 34px);
  border-color: var(--product-line);
  background-image: radial-gradient(ellipse 80% 40% at 100% 0%, rgba(255, 244, 220, .9), rgba(255, 244, 220, 0) 70%);
}
.product-form__variant { margin-bottom: 22px; }

.booking-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.booking-fields__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  float: left;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  color: var(--c-green);
}
.booking-fields__legend + * { clear: both; }
.booking-fields__legend-icon { color: var(--c-red); }
.booking-fields__intro {
  margin: 0 0 20px;
  font-size: .88rem;
  color: var(--c-ink-soft);
}
.booking-fields__body { container-type: inline-size; container-name: booking; }
.booking-fields__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 16px;
}
@container booking (min-width: 460px) {
  .booking-fields__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-field--full { grid-column: 1 / -1; }
}
.booking-field { margin-bottom: 20px; gap: 7px; }
.booking-field .field__help { font-size: .85rem; line-height: 1.4; }
.booking-field .field__error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: .88rem;
  line-height: 1.4;
  color: var(--c-red-deep);
}
.booking-field .field__error::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19zm0 4.3c.7 0 1.2.6 1.1 1.3l-.5 5.6a.6.6 0 0 1-1.2 0l-.5-5.6c-.1-.7.4-1.3 1.1-1.3zm0 9.1a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19zm0 4.3c.7 0 1.2.6 1.1 1.3l-.5 5.6a.6.6 0 0 1-1.2 0l-.5-5.6c-.1-.7.4-1.3 1.1-1.3zm0 9.1a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.booking-field .field__error[hidden] { display: none; }
.field__required { margin-left: 3px; color: var(--c-red); }
.field--invalid .field__label { color: var(--c-red-deep); }
.field--invalid .field__input {
  border-color: var(--c-red);
  box-shadow: inset 0 0 0 1px var(--c-red);
  background-color: #FFF8F5;
}
.booking-fields input[type="date"]::-webkit-datetime-edit-month-field:focus,
.booking-fields input[type="date"]::-webkit-datetime-edit-day-field:focus,
.booking-fields input[type="date"]::-webkit-datetime-edit-year-field:focus {
  background-color: var(--c-gold-light);
  color: var(--c-ink);
  border-radius: 3px;
}
.booking-fields input[type="date"].field__input { width: 100%; max-width: 100%; }
.booking-fields input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.booking-fields input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  padding: 2px;
  opacity: 1;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3141F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.booking-fields input[type="date"][data-empty]::-webkit-datetime-edit { color: #7A6B5F; }
.booking-fields textarea.field__input { min-height: 104px; }

.product-form__buttons { margin-top: 6px; }
.product-form__error { margin: 0 0 14px; }
.product-form__submit { min-height: 56px; font-size: .9rem; }
.product-form__submit .icon { width: 20px; height: 20px; }
.product-form__submit.is-loading .icon { animation: ne-product-wiggle .9s ease-in-out infinite; }
@keyframes ne-product-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Booking note */
.product__note {
  margin: 0 auto;
  max-width: 30em;
  padding: 0 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.35;
  text-align: center;
  color: var(--c-green);
  text-wrap: balance;
}
.product__note .icon { display: inline-block; margin: -4px 8px 0 0; vertical-align: middle; color: var(--c-red); }

/* Trust points (flyer trust bar, in miniature): a quiet reassurance row under the booking card */
.product__block--trust { margin-top: 22px; }
.product__trust {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 18px;
  list-style: none;
  border-radius: 14px;
  background: rgba(243, 233, 216, .6);
}
.product__trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.product__trust .icon { flex: 0 0 auto; width: 24px; height: 24px; color: var(--c-green); }
@media (min-width: 560px) {
  .product__trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 16px 6px; }
  .product__trust li {
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 10px;
    text-align: center;
  }
  .product__trust li + li { border-left: 1px solid var(--c-gold-light); }
}

@media (prefers-reduced-motion: reduce) {
  .product__submit.is-loading .icon, .product-form__submit.is-loading .icon { animation: none; }
}
