:root {
  --paper: #f5f2ea;
  --ink: #23322a;
  --green: #203d30;
  --line: #d5cdbc;
  --muted: #556057;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

header { background: #fbf8ef; }
.hero { border-bottom: 4px solid #b39a6d; }
.hero::before { inset: 0; background-position: center 47%; }
.hero::after { background: linear-gradient(90deg, #152e25, #19352be8 40%, #19352b37 90%); }
.heroin { min-height: 265px; }
.hero h1 { font: clamp(46px, 6.6vw, 86px)/1.02 var(--serif); }
.hero p:last-child { color: #f5ecda; }

.layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
}
.form-panel {
  background: #fffcf5;
  border: 1px solid var(--line);
  padding: clamp(16px, 3vw, 34px);
}
.steps { gap: 5px; margin-bottom: 26px; }
.steps li { border-top-width: 2px; font-size: 11px; }
.steps li[aria-current] { border-color: #9b794a; color: #263d2b; }
.stephead { font-size: clamp(30px, 4vw, 41px); }

.pkgs { gap: 9px; margin-bottom: 14px; }
.pkg {
  min-width: 0;
  position: relative;
  min-height: 70px;
  padding: 11px;
  border-radius: 3px;
  grid-template-columns: 16px minmax(0, 1fr);
  overflow: hidden;
}
.pkg span { overflow-wrap: anywhere; }
.pkg:focus-within { outline: 2px solid #856536; outline-offset: 2px; }
.pkg:has(:checked) { border-color: #8c6b3b; background: #f1ebda; box-shadow: inset 0 0 0 1px #8c6b3b; }
.pkg-featured { color: white; background: #234033; padding-top: 70px; isolation: isolate; }
.pkg-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #1c3229 0%, #1c3229d9 30%, #1c322928 100%), var(--photo) center 46% / cover;
}
.pkg-featured[data-photo="signature"] { --photo: url("signature.webp"); }
.pkg-featured[data-photo="thanks"] { --photo: url("thanks.webp"); }
.pkg-featured[data-photo="birthday"] { --photo: url("birthday.webp"); }
.pkg-featured[data-photo="hero"] { --photo: url("hero.webp"); }
.pkg-featured:has(:checked) { background: #234033; border-color: #a98a5b; }
.pkg-featured:has(:checked)::after { content: ""; position: absolute; inset: 0; border: 2px solid #dcc394; pointer-events: none; }
.pkg-featured b { color: #ffebbf; }
#packageInfo { display: inline-block; font-size: 13px; }
.primary, .secondary { border-radius: 3px; }
.aside { background: #e7e3d7; border: 1px solid var(--line); border-radius: 3px; }
.voucher { border-radius: 3px; }
.cardtop { border-bottom: 3px solid #c4a471; }

@media (max-width: 790px) {
  .layout { grid-template-columns: 1fr; }
  .heroin { min-height: 205px; }
}
@media (max-width: 390px) {
  .steps { gap: 3px; }
  .steps li { font-size: 10px; }
  .pkg { padding-inline: 8px; font-size: 15px; }
}

body { background: #e7ebe4; }
header { background: #fbfcf7; }
.top { min-height: 88px; }
.layout { padding-block: 28px 52px; grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr); }
.form-panel { border-radius: 12px; background: #fffefa; padding-top: 0; overflow: hidden; }
.steps { background: #eff3e8; padding: 18px 12px; margin: 0 calc(-1 * clamp(16px, 3vw, 34px)) 27px; counter-reset: step; }
.steps li { display: grid; justify-items: center; gap: 5px; border: none; text-align: center; padding: 0; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #94a38a;
  border-radius: 50%;
  color: #2b4934;
}
.steps li[aria-current]::before, .steps li.done::before { background: #365840; color: #fff; border-color: #365840; }
.pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
.pkg, .pkg:has(:checked) { padding: 0 0 5px; display: grid; grid-template-columns: minmax(0, 1fr); align-self: start; background: transparent; border: 0; box-shadow: none; text-align: center; border-radius: 8px; overflow: visible; }
.pkg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.package-art {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 5px;
  padding: 9px;
  background: linear-gradient(0deg, #162f24f5, #203d3090 65%, #203d3030), var(--photo) center / cover;
  color: #fff8e5;
  overflow: hidden;
}
.package-art small { font: 13px var(--script); }
.package-art strong { font: clamp(12px, 1.5vw, 19px)/1.12 var(--serif); }
.package-name { font: 700 12px/1.25 Arial, sans-serif; padding-inline: 3px; }
.pkg b { grid-column: auto; font-size: 12px; }
.pkg:has(:checked) .package-art { box-shadow: inset 0 0 0 3px #acc491, 0 4px 12px #2e493626; }
.pkg:has(:checked)::after {
  content: "✓";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 21px;
  height: 21px;
  border-radius: 100%;
  background: #e3efd9;
  color: #213b2a;
  font: 700 13px/21px Arial, sans-serif;
}
[data-photo="signature"] { --photo: url("signature.webp"); }
[data-photo="thanks"] { --photo: url("thanks.webp"); }
[data-photo="birthday"] { --photo: url("birthday.webp"); }
[data-photo="hero"] { --photo: url("hero.webp"); }
.aside { padding: 0; background: transparent; border: 0; }
.voucher { border-radius: 15px; box-shadow: 0 20px 46px #17302430; background: #fbfaf1; }
.previewbar h2 { font-size: 18px; }
.cardtop { min-height: 0; aspect-ratio: 1.34; align-items: center; justify-content: center; gap: 9px; text-align: center; border-bottom-color: #a8bf89; }
.cardtop::before { inset: 0; background: var(--photo, var(--pic)) center / cover; }
.cardtop::after { background: linear-gradient(145deg, #152d22e8, color-mix(in srgb, var(--tone) 72%, transparent) 67%, #08231648); }
.voucher-logo { width: 54px; height: 43px; object-fit: contain; background: #f7f4e9; border-radius: 8px; padding: 4px; }
.cardtop h3 { font-size: clamp(24px, 4vw, 42px); margin: 0; }
.voucher-type { border: 1px solid #d2ddae; border-radius: 4px; padding: 5px 18px; text-transform: uppercase; letter-spacing: 2px; font-size: 10px; color: #f6f2d9; }
.cardbody { padding-bottom: 11px; }
.cardnames > div, .message-panel { border: 1px solid #dce2d0; background: #f7f8ef; padding: 8px; border-radius: 5px; }
.message-panel { margin-top: 10px; min-height: 61px; }
.message-panel .msg { margin-top: 5px; }
.cardfoot { padding-block: 12px 18px; }
.cardfoot small { border: 1px solid #c7d3b9; background: #edf1e4; border-radius: 12px; padding: 5px 9px; }
.voucher-price { text-align: right; }
.voucher-price strong { font: 23px var(--serif); color: #254832; }
@media (max-width: 790px) {
  .layout { grid-template-columns: 1fr; }
  .top { min-height: 68px; }
  .package-art strong { font-size: clamp(12px, 3.1vw, 19px); }
}
@media (max-width: 360px) {
  .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.inclusions {
  margin-block: 18px;
  border: 1px solid #d5dfcd;
  background: #f3f6ef;
  padding: 14px;
  border-radius: 8px;
}
.inclusions h2 { font: 21px var(--serif); margin: 0 0 8px; }
.inclusions p { margin: 6px 0; }
.inclusions p:empty, .inclusions ul:empty { display: none; }
.inclusions ul { margin: 8px 0; padding-inline-start: 20px; }
#showMore { margin: 0 8px 12px 0; }
#packageInfo { display: block; margin-top: 4px; width: fit-content; }

.shop-header .top { min-height: 76px; }
.shop-heading { font: 17px var(--serif); color: #365840; }
.delivery-note { background: #edf2e8; border-inline-start: 3px solid #769168; padding: 10px 12px; color: #293e2c; }
.mail { padding: 0; overflow: hidden; box-shadow: 0 16px 35px #17302425; }
.mail-envelope { padding: 14px 18px; border-bottom: 1px solid #dce3d5; background: #f5f7f1; }
.mail-card { padding: 12px; background: #edece5; }
.cardfoot .cap { margin-bottom: 4px; }
#cardCode { display: inline-block; }

.shop-nav { display: flex; gap: clamp(8px, 2vw, 22px); align-items: center; font-size: 13px; }
.shop-nav a { color: #35533f; text-decoration: none; }
.shop-nav a:hover { text-decoration: underline; }
.shop-nav [aria-current] { font-weight: 700; color: #24402e; }
.book-service { position: fixed; bottom: max(17px, env(safe-area-inset-bottom)); right: clamp(12px, 3vw, 34px); z-index: 4; padding: 12px 16px; border-radius: 28px; background: #254632; color: #fffdf8; font-weight: 700; box-shadow: 0 4px 18px #17302445; text-decoration: none; }
.book-service:hover { background: #366044; }
.book-service span { margin-inline-start: 5px; }
.footer { padding-bottom: max(75px, calc(65px + env(safe-area-inset-bottom))); }
.custom-amount { margin: 0 0 17px; padding: 13px; border: 1px solid #cbd7c9; border-radius: 8px; background: #f6f8f1; }
.custom-amount.is-selected { border-color: #6a8b70; }
.custom-option { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.custom-option input { width: auto; accent-color: #254632; }
.pkg[data-photo] .package-art { background: radial-gradient(ellipse at 82% 15%, #dcd1a136, transparent 64%), var(--treatment-tone, #264834); }
[data-photo="foot"] { --treatment-tone: #38574f; }
[data-photo="coconut"] { --treatment-tone: #675849; }
[data-photo="romantic"] { --treatment-tone: #6a414b; }
[data-photo="retreat"] { --treatment-tone: #374e3e; }
.voucher[data-photo] .cardtop::before { background: radial-gradient(ellipse at 78% 10%, #ecdfab54, transparent 62%), var(--treatment-tone, var(--tone)); }
@media (max-width: 460px) { .shop-header .top { flex-wrap: wrap; gap: 3px 10px; padding-block: 8px; } }

[data-photo="romantic"] { --treatment-photo: url("romantic-escape.webp"); --treatment-position: 50% 45%; }
[data-photo="retreat"] { --treatment-photo: url("corporate-retreat.webp"); --treatment-position: 50% 51%; }
[data-photo="facial"] { --treatment-photo: url("deep-cleanse-facial.webp"); --treatment-position: 62% 51%; --treatment-tone: #34554a; }
.pkg[data-photo] .package-art, .voucher[data-photo] .cardtop::before {
  background: linear-gradient(0deg, #122d23b5, transparent 58%),
    var(--treatment-photo, radial-gradient(ellipse at 82% 15%, #dcd1a136, transparent 64%)) var(--treatment-position, center) / cover,
    var(--treatment-tone, #264834);
}
.pkg, .pkg:has(:checked) { min-width: 0; }
.package-art { min-width: 0; }
.package-art small { font-size: clamp(10px, 3vw, 15px); overflow-wrap: anywhere; }
.package-name, .pkg b { min-width: 0; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.voucher .cardtop { aspect-ratio: auto; min-height: 220px; padding-inline: clamp(12px, 4vw, 24px); }
.voucher .cardtop h3 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(22px, 6vw, 39px); }
.voucher .cardtop .eyebrow, .voucher .voucher-type { max-width: 100%; overflow-wrap: anywhere; }
.cardnames > div { min-width: 0; }
.cardfoot { flex-wrap: wrap; }
.package-art:has(.package-video) { position: relative; isolation: isolate; }
.package-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.package-art:has(.package-video) small { align-self: start; padding: 2px 5px; border-radius: 3px; background: #173024d9; }
[data-photo="maternity"] { --treatment-photo: url("mum-to-be.webp"); --treatment-position: 55% 28%; --treatment-tone: #744553; }
[data-photo="couples"] { --treatment-photo: url("couples-retreat.webp"); --treatment-position: 50% 51%; --treatment-tone: #665342; }
[data-photo="lodge"] { --treatment-photo: url("lourie-lodge.webp"); --treatment-position: 55% 56%; }
[data-photo="group"] { --treatment-photo: url("celebratory-group.webp"); --treatment-position: 50% 40%; }

[data-photo="black-friday"] { --treatment-photo: url("black-friday-bronze.webp"); --treatment-tone: #254632; --treatment-position: center 50%; }
.bronze-special {
  display: grid;
  grid-template-columns: minmax(90px, 160px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(15px, 4vw, 36px);
  margin-block: 20px 0;
  padding: clamp(12px, 3vw, 26px);
  border-radius: 12px;
  background: #254632;
  color: #fffdf5;
}
.bronze-special img { display: block; width: 100%; height: auto; border-radius: 6px; }
.bronze-special .eyebrow { color: #f3daaa; }
.bronze-special h2 { font: clamp(22px, 4.4vw, 39px)/1.12 var(--serif); margin: 7px 0; }
.bronze-special p { margin: 8px 0; }
.bronze-special a { display: inline-block; margin-top: 4px; color: #fffdf5; font-weight: 700; }
.bronze-price strong { color: #f3daaa; }
