/* Ain Muslimah · airy, compact cards and clearly organised enquiry forms.
   Presentation only. Keep all original IDs and booking/payment behaviour. */

/* Compact promotions — preserve the original poster inside each zoomable card. */
html.ams-curated #promo .promo-live-grid {
  max-width:1020px;
  gap:18px;
  margin-top:28px;
  align-items:stretch;
}
html.ams-curated #promo .promo-live-card {
  border-radius:21px!important;
  overflow:hidden;
}
html.ams-curated #promo .promo-feature {
  grid-column:1/-1;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
}
html.ams-curated #promo .promo-art {
  min-height:0;
  padding:14px;
}
html.ams-curated #promo .promo-art img {
  height:235px;
  max-height:235px;
  object-fit:contain;
}
html.ams-curated #promo .promo-feature .promo-art img {
  height:325px;
  max-height:325px;
}
html.ams-curated #promo .promo-copy,
html.ams-curated #promo .promo-feature .promo-copy {
  padding:21px 23px 23px;
}
html.ams-curated #promo .promo-copy h3 {
  font-size:clamp(21px,2.1vw,28px);
  line-height:1.22;
  margin:8px 0 10px;
}
html.ams-curated #promo .promo-copy p {
  font-size:13px;
  line-height:1.58;
}
html.ams-curated #promo .promo-prices {
  gap:7px;
  margin:14px 0;
}
html.ams-curated #promo .promo-prices span {
  padding:9px 12px;
  border-radius:11px;
}
html.ams-curated #promo .promo-highlight {
  padding:13px 15px;
  border-radius:13px;
}
html.ams-curated #promo .promo-highlight b {font-size:28px;}
html.ams-curated #promo .promo-ribbon {
  top:17px;
  left:17px;
  padding:8px 12px;
  font-size:10px;
}
html.ams-curated #promo .promo-live-card .ams-wa-choices {
  margin-top:14px;
}

/* Spa packages: more breathing room, shorter image blocks, same full-size zoom. */
html.ams-curated #services .service-grid {
  max-width:1100px;
  gap:17px;
  margin-top:24px;
}
html.ams-curated #services .service-card {
  border-radius:19px!important;
}
html.ams-curated #services .service-image {
  height:242px;
}
html.ams-curated #services .service-content {
  padding:16px 18px 19px;
}
html.ams-curated #services .service-content h3 {
  font-size:1.12rem;
  line-height:1.28;
  margin:8px 0;
}
html.ams-curated #services .service-content p {
  font-size:.88rem;
  line-height:1.53;
  min-height:0;
}
html.ams-curated #services .service-content strong {
  font-size:1.14rem;
  margin:10px 0;
}
html.ams-curated #services .service-actions {gap:7px;}
html.ams-curated #services .service-actions :is(a,button) {
  padding:9px 12px;
  font-size:.8rem;
}
html.ams-curated :is(#promo,#services) {
  padding-top:clamp(58px,6vw,82px);
  padding-bottom:clamp(58px,6vw,82px);
}

/* All public forms share a consistent, readable rhythm. */
html.ams-curated :is(#booking-spa,#booking-stay).booking-panel {
  max-width:810px;
  padding:clamp(20px,3.4vw,34px);
  border-radius:25px;
}
html.ams-curated :is(#spa-booking-form,#stay-booking-form).booking-grid {
  gap:16px 18px;
  align-items:start;
}
html.ams-curated :is(#spa-booking-form,#stay-booking-form) .booking-field {
  gap:7px;
  min-width:0;
  font-size:14px;
  line-height:1.5;
}
html.ams-curated :is(#spa-booking-form,#stay-booking-form) :is(input,select,textarea),
html.ams-curated #event-booking-form :is(input,select,textarea) {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:49px;
  border-radius:13px;
  padding:12px 14px;
  background:#fffefb;
  border:1px solid #b9cec0;
  color:#163f31;
  font-size:16px; /* Prevent Safari zoom when focusing fields. */
  line-height:1.45;
  box-shadow:inset 0 1px 2px #094c3810;
}
html.ams-curated :is(#spa-booking-form,#stay-booking-form) textarea,
html.ams-curated #event-booking-form textarea {
  min-height:94px;
  resize:vertical;
}
html.ams-curated :is(#spa-booking-form,#stay-booking-form) :is(input,select,textarea):focus-visible,
html.ams-curated #event-booking-form :is(input,select,textarea):focus-visible {
  outline:2px solid #bf9b55;
  outline-offset:2px;
  border-color:#a58043;
}
/* Align each row logically: service spans full width, dates pair naturally. */
html.ams-curated #spa-booking-form > label:has(#spa-service),
html.ams-curated #stay-booking-form > label:has(#stay-email) {
  grid-column:1/-1;
}
html.ams-curated #spa-booking-form > .booking-field.wide,
html.ams-curated #stay-booking-form > .booking-field.wide,
html.ams-curated #stay-booking-form > .booking-total.wide {
  grid-column:1/-1;
}
html.ams-curated :is(#spa-booking-form,#stay-booking-form) .booking-submit {
  display:block;
  width:100%;
  min-height:54px;
  white-space:normal;
  line-height:1.45;
  padding:14px 17px;
  border-radius:16px;
}
html.ams-curated :is(#booking-spa,#booking-stay) .booking-note {
  display:block;
  margin:13px 0 0;
  font-size:13px;
  line-height:1.64;
}
html.ams-curated #stay-booking-form .booking-total {
  padding:17px 19px;
  margin:4px 0;
}

/* Wedding: tidy two-column enquiry layout, matching the spa form controls. */
html.ams-curated #events .ams-event-enquiry {
  max-width:1100px;
  margin-inline:auto;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:start;
  gap:32px;
  padding:35px;
  border-radius:27px;
}
html.ams-curated #events .ams-event-form {
  padding:24px;
  border-radius:23px;
}
html.ams-curated #events .ams-event-form-title {
  font-size:23px;
  margin-bottom:20px;
}
html.ams-curated #events .ams-event-form-grid {
  gap:16px;
  align-items:start;
}
html.ams-curated #events .ams-event-form-grid label {
  min-width:0;
  font-size:14px;
  line-height:1.45;
}
html.ams-curated #events .ams-event-form-grid .ams-wide {
  grid-column:1/-1;
}
html.ams-curated #events .ams-event-form-grid :is(input,select,textarea) {
  margin-top:8px;
}
html.ams-curated #events .ams-event-form-total {
  gap:12px;
  border:1px solid #e0e9db;
  margin:20px 0 15px;
}
html.ams-curated #events .ams-event-submit {
  min-height:54px;
  line-height:1.45;
  white-space:normal;
}

@media(max-width:1000px) {
  html.ams-curated #events .ams-event-enquiry {
    grid-template-columns:1fr;
    gap:22px;
    padding:28px;
  }
  html.ams-curated #events .ams-event-form {
    width:100%;
    max-width:720px;
    margin-inline:auto;
  }
}
@media(max-width:900px) {
  html.ams-curated #services .service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:730px;
  }
}
@media(max-width:760px) {
  html.ams-curated #promo .promo-live-grid {
    grid-template-columns:1fr;
    max-width:520px;
    gap:16px;
  }
  html.ams-curated #promo .promo-feature {
    display:block;
    grid-column:auto;
  }
  html.ams-curated #promo .promo-art img,
  html.ams-curated #promo .promo-feature .promo-art img {
    height:255px;
    max-height:255px;
  }
  html.ams-curated #promo .promo-copy,
  html.ams-curated #promo .promo-feature .promo-copy {
    padding:19px 20px 21px;
  }
  html.ams-curated :is(#spa-booking-form,#stay-booking-form).booking-grid,
  html.ams-curated #events .ams-event-form-grid {
    grid-template-columns:1fr;
  }
  html.ams-curated #events .ams-event-enquiry {padding:22px;}
  html.ams-curated #events .ams-event-form {padding:20px;}
}
@media(max-width:580px) {
  html.ams-curated #services .service-grid {
    grid-template-columns:1fr;
    max-width:410px;
    gap:16px;
  }
  html.ams-curated #services .service-image {height:235px;}
  html.ams-curated #promo .promo-art img,
  html.ams-curated #promo .promo-feature .promo-art img {
    height:228px;
    max-height:228px;
  }
  html.ams-curated #promo .promo-copy,
  html.ams-curated #promo .promo-feature .promo-copy {
    padding:18px;
  }
  html.ams-curated #promo .promo-copy h3 {font-size:22px;}
  html.ams-curated :is(#booking-spa,#booking-stay).booking-panel {
    padding:19px 17px 22px;
    border-radius:21px;
  }
  html.ams-curated #events .ams-event-enquiry {
    padding:17px;
    gap:17px;
    border-radius:22px;
  }
  html.ams-curated #events .ams-event-form {padding:17px;}
  html.ams-curated #events .ams-event-form-total {
    flex-wrap:wrap;
  }
}

/* Newly added Senawang manicure & pedicure catalogue. */
html.ams-curated #services .ams-manicure-card {
  border-color:#c7aa68!important;
  box-shadow:0 14px 34px #064b3b1b,0 0 0 2px #e7d29b44;
}
html.ams-curated #services .ams-manicure-card .service-image {
  position:relative;
  background:linear-gradient(145deg,#073f32,#0b6f57);
}
html.ams-curated #services .ams-manicure-card .service-image img {
  object-fit:contain;
}
html.ams-curated #services .ams-manicure-badge {
  position:absolute;
  z-index:1;
  top:13px;
  right:13px;
  background:linear-gradient(115deg,#f3dfae,#caa354);
  color:#164332;
  border:1px solid #fff5d2;
  border-radius:999px;
  padding:7px 12px;
  font-size:11px;
  line-height:1;
  letter-spacing:.08em;
  font-weight:900;
  box-shadow:0 4px 12px #002e2280;
}
html.ams-curated #services .ams-manicure-card .service-category {
  background:#e9f4e8;
  color:#0d6550;
}
html.ams-curated #services .ams-manicure-card .ams-wa-choices {
  margin-top:12px;
}
#details-description {white-space:pre-line;}
