.sgm_services-wrap{max-width:980px;margin:32px auto;background:#f8f5ef;border:1px solid #e2d5c2;border-radius:18px;color:#382b22;box-shadow:0 12px 35px rgba(55,40,25,.06);overflow:hidden;font-family:inherit}.sgm_services-head{padding:30px 34px 22px;border-bottom:1px solid #e2d5c2}.sgm_services-kicker{font-size:12px;letter-spacing:2px;font-weight:700;color:#a47e3e}.sgm_services-head h1{font-family:Georgia,serif;font-size:40px;line-height:1.15;margin:10px 0;color:#33271f}.sgm_services-head p{color:#75685d;margin:0}.sgm_services-progress{display:flex;gap:8px;margin-top:24px}.sgm_services-progress i{height:4px;background:#ded4c4;border-radius:4px;flex:1}.sgm_services-progress i.is-active{background:#a8864d}.sgm_services-content{padding:28px 34px}.sgm_services-content h2,.sgm_services-content h3{font-family:Georgia,serif;color:#382b22}.sgm_services-content label{display:block;font-size:13px;font-weight:700;margin:14px 0 6px}.sgm_services-content input:not([type=checkbox]),.sgm_services-content select,.sgm_services-content textarea{box-sizing:border-box;width:100%;border:1px solid #d8cbb9;border-radius:7px;background:#fff;padding:11px 12px;color:#382b22;max-width:100%}.sgm_services-content textarea{resize:vertical}.sgm_services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.sgm_services-button{display:inline-block;background:#a8864d;color:#fff!important;border:0;border-radius:7px;padding:13px 20px;font-weight:700;text-decoration:none;cursor:pointer}.sgm_services-button:hover{background:#8f6e3e;color:#fff}.sgm_services-notice{background:#eee7dc;border-left:3px solid #a8864d;padding:12px 14px;border-radius:4px;margin:18px 0;color:#6d5d4d;font-size:13px}.sgm_services-check{display:flex!important;align-items:center;gap:8px}.sgm_services-check input{width:auto!important}.sgm_services-service-intro{background:#ebe3d6;border:1px solid #dfd2bf;border-radius:10px;padding:18px;margin-bottom:20px}.sgm_services-service-intro h2{margin:0 0 8px}.sgm_services-gallery{display:flex;gap:10px;overflow-x:auto;margin:18px 0}.sgm_services-gallery img{width:100%;max-width:100%;height:280px;object-fit:cover;border-radius:10px;flex:0 0 100%}.sgm_services-success{background:#e2efe4;color:#285c38;padding:18px;border-radius:8px}.sgm_services-footer{text-align:center;color:#827365;font-size:12px;padding:18px}.sgm_services-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.sgm_services-service-card{padding:20px;border:1px solid #e2d5c2;border-radius:12px;background:#f8f5ef}.sgm_services-service-card h3{font-family:Georgia,serif}.sgm_services-recurring{border:1px solid #e2d5c2;border-radius:8px;padding:12px;margin:18px 0}.sgm_services-recurring small{color:#75685d}@media(max-width:640px){.sgm_services-wrap{margin:12px;border-radius:12px}.sgm_services-head,.sgm_services-content{padding:20px}.sgm_services-head h1{font-size:32px}.sgm_services-grid{grid-template-columns:1fr}.sgm_services-gallery img{height:210px}}

.sgm_services-time-format{display:inline;color:#a47e3e;font-size:11px;font-weight:700;letter-spacing:.04em}.sgm_services-time-help{display:block;margin-top:6px;color:#75685d;font-size:12px;line-height:1.5}.sgm_services-content input[name="start_time"],.sgm_services-content input[name="end_time"]{font-variant-numeric:tabular-nums}

/* Step 1 service selector actions. */
.sgm_services-service-choice{margin:0}
.sgm_services-service-choice .sgm_services-step-actions{display:flex;justify-content:flex-end;margin-top:28px}
.sgm_services-service-choice .sgm_services-button:disabled{opacity:.48;cursor:not-allowed}
.sgm_services-service-choice .sgm_services-button:not(:disabled){opacity:1}


/* SGM_SERVICES frontend isolation: protect the approved application UI from theme-wide element styling. */
.sgm_services-wrap,
.sgm_services-wrap * {
  box-sizing: border-box !important;
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none;
}
.sgm_services-wrap {
  display: block !important;
  max-width: 980px !important;
  margin: 32px auto !important;
  padding: 0 !important;
  background: #f8f5ef !important;
  border: 1px solid #e2d5c2 !important;
  border-radius: 18px !important;
  color: #382b22 !important;
  box-shadow: 0 12px 35px rgba(55,40,25,.06) !important;
  overflow: hidden !important;
  line-height: 1.55 !important;
  font-size: 16px !important;
}
.sgm_services-wrap .sgm_services-head {
  display: block !important;
  margin: 0 !important;
  padding: 30px 34px 22px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e2d5c2 !important;
  box-shadow: none !important;
}
.sgm_services-wrap .sgm_services-kicker {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #a47e3e !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 2px !important;
}
.sgm_services-wrap .sgm_services-head h1,
.sgm_services-wrap .sgm_services-content h2,
.sgm_services-wrap .sgm_services-content h3 {
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1.18 !important;
  color: #33271f !important;
}
.sgm_services-wrap .sgm_services-head h1 {
  margin: 10px 0 12px !important;
  font-size: 40px !important;
}
.sgm_services-wrap .sgm_services-head p,
.sgm_services-wrap .sgm_services-content p {
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #75685d !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 0 14px !important;
}
.sgm_services-wrap .sgm_services-progress {
  display: flex !important;
  width: 100% !important;
  gap: 8px !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.sgm_services-wrap .sgm_services-progress i {
  display: block !important;
  flex: 1 1 0 !important;
  height: 4px !important;
  min-height: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #ded4c4 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
.sgm_services-wrap .sgm_services-progress i.is-active {
  background: #a8864d !important;
}
.sgm_services-wrap .sgm_services-content {
  display: block !important;
  margin: 0 !important;
  padding: 28px 34px !important;
  background: transparent !important;
  border: 0 !important;
}
.sgm_services-wrap .sgm_services-content h2 {
  margin: 0 0 16px !important;
  font-size: 30px !important;
}
.sgm_services-wrap .sgm_services-content h3 {
  margin: 22px 0 12px !important;
  font-size: 23px !important;
}
.sgm_services-wrap .sgm_services-content label {
  display: block !important;
  margin: 14px 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #382b22 !important;
  font: 700 13px/1.45 Arial, Helvetica, sans-serif !important;
}
.sgm_services-wrap .sgm_services-content input:not([type=checkbox]),
.sgm_services-wrap .sgm_services-content select,
.sgm_services-wrap .sgm_services-content textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 11px 12px !important;
  border: 1px solid #d8cbb9 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #382b22 !important;
  box-shadow: none !important;
  font: 400 15px/1.4 Arial, Helvetica, sans-serif !important;
}
.sgm_services-wrap .sgm_services-content textarea { min-height: 90px !important; }
.sgm_services-wrap .sgm_services-content input[type=checkbox] { width: auto !important; accent-color: #a8864d !important; }
.sgm_services-wrap .sgm_services-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 4px 16px !important; }
.sgm_services-wrap .sgm_services-service-intro {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 18px !important;
  border: 1px solid #dfd2bf !important;
  border-radius: 10px !important;
  background: #ebe3d6 !important;
}
.sgm_services-wrap .sgm_services-service-intro h2 { margin: 0 0 8px !important; }
.sgm_services-wrap .sgm_services-gallery {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  margin: 18px 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.sgm_services-wrap .sgm_services-gallery img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 280px !important;
  flex: 0 0 100% !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.sgm_services-wrap .sgm_services-button,
.sgm_services-wrap button.sgm_services-button {
  display: inline-block !important;
  width: auto !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 13px 20px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #a8864d !important;
  color: #fff !important;
  font: 700 14px/1.3 Arial, Helvetica, sans-serif !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.sgm_services-wrap .sgm_services-button:hover { background: #8f6e3e !important; color: #fff !important; }
.sgm_services-wrap .sgm_services-service-choice .sgm_services-step-actions { display: flex !important; justify-content: flex-end !important; margin-top: 28px !important; }
.sgm_services-wrap .sgm_services-service-choice .sgm_services-button:disabled { opacity: .48 !important; cursor: not-allowed !important; }
.sgm_services-wrap .sgm_services-notice { background: #eee7dc !important; border-left: 3px solid #a8864d !important; padding: 12px 14px !important; border-radius: 4px !important; margin: 18px 0 !important; color: #6d5d4d !important; font-size: 13px !important; }
.sgm_services-wrap .sgm_services-footer { display: block !important; margin: 0 !important; padding: 18px !important; border: 0 !important; background: transparent !important; color: #827365 !important; font: 400 12px/1.5 Arial, Helvetica, sans-serif !important; text-align: center !important; }
@media(max-width:640px) {
  .sgm_services-wrap { margin: 12px auto !important; border-radius: 12px !important; }
  .sgm_services-wrap .sgm_services-head, .sgm_services-wrap .sgm_services-content { padding: 20px !important; }
  .sgm_services-wrap .sgm_services-head h1 { font-size: 32px !important; }
  .sgm_services-wrap .sgm_services-grid { grid-template-columns: 1fr !important; }
  .sgm_services-wrap .sgm_services-gallery img { height: 210px !important; }
}

/* v0.1.11: service back link, 3:2 gallery and custom availability calendar. */
.sgm_services-wrap .sgm_services-back-link{display:inline-flex!important;margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important;color:#8f6e3e!important;font:700 14px/1.4 Arial,Helvetica,sans-serif!important;text-decoration:none!important}
.sgm_services-wrap .sgm_services-back-link:hover{color:#6f512c!important;text-decoration:underline!important}
.sgm_services-wrap .sgm_services-gallery{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:10px!important;overflow:visible!important}
.sgm_services-wrap .sgm_services-gallery img{width:100%!important;height:auto!important;aspect-ratio:3/2!important;object-fit:cover!important;flex:none!important;border-radius:10px!important}
.sgm_services-wrap .sgm_services-calendar{width:100%!important;margin:0 0 18px!important;padding:16px!important;border:1px solid #e2d5c2!important;border-radius:12px!important;background:#fff!important;color:#382b22!important;font-family:Arial,Helvetica,sans-serif!important}
.sgm_services-wrap .sgm_services-calendar-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}
.sgm_services-wrap .sgm_services-calendar-heading strong{font-size:16px!important;color:#382b22!important}
.sgm_services-wrap .sgm_services-calendar-nav{display:flex!important;align-items:center!important;gap:10px!important}
.sgm_services-wrap .sgm_services-calendar-nav span{min-width:130px!important;text-align:center!important;font-weight:700!important;font-size:14px!important}
.sgm_services-wrap .sgm_services-calendar-nav button{width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:1px solid #e2d5c2!important;border-radius:50%!important;background:#f8f5ef!important;color:#6d5230!important;font-size:20px!important;line-height:1!important;cursor:pointer!important}
.sgm_services-wrap .sgm_services-calendar-nav button:disabled{opacity:.35!important;cursor:not-allowed!important}
.sgm_services-wrap .sgm_services-calendar-weekdays,.sgm_services-wrap .sgm_services-calendar-days{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important}
.sgm_services-wrap .sgm_services-calendar-weekdays{margin-bottom:8px!important}
.sgm_services-wrap .sgm_services-calendar-weekdays span{text-align:center!important;color:#827365!important;font-size:11px!important;font-weight:700!important;padding:5px 0!important}
.sgm_services-wrap .sgm_services-calendar-day{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:38px!important;padding:5px!important;border:1px solid transparent!important;border-radius:7px!important;background:#e2efe4!important;color:#315d3b!important;font:700 12px/1 Arial,Helvetica,sans-serif!important;cursor:pointer!important;box-shadow:none!important}
.sgm_services-wrap .sgm_services-calendar-day.pending{background:#f5e7c9!important;color:#8b672f!important}
.sgm_services-wrap .sgm_services-calendar-day.booked{background:#e9e5df!important;color:#938b81!important;cursor:not-allowed!important}
.sgm_services-wrap .sgm_services-calendar-day.unavailable{background:#eeeae5!important;color:#aaa39a!important;cursor:not-allowed!important}
.sgm_services-wrap .sgm_services-calendar-day.is-selected{background:#a8864d!important;color:#fff!important;border-color:#8f6e3e!important}
.sgm_services-wrap .sgm_services-calendar-day:focus-visible{outline:2px solid #382b22!important;outline-offset:2px!important}
.sgm_services-wrap .sgm_services-calendar-blank{min-height:38px!important}
.sgm_services-wrap .sgm_services-calendar-legend{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:14px!important}
.sgm_services-wrap .sgm_services-calendar-legend span{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#75685d!important;font-size:11px!important}
.sgm_services-wrap .sgm_services-calendar-legend i{display:inline-block!important;width:9px!important;height:9px!important;border-radius:2px!important;background:#e2efe4!important}
.sgm_services-wrap .sgm_services-calendar-legend i.booked{background:#e9e5df!important}.sgm_services-wrap .sgm_services-calendar-legend i.pending{background:#f5e7c9!important}.sgm_services-wrap .sgm_services-calendar-legend i.unavailable{background:#eeeae5!important}
.sgm_services-wrap .sgm_services-calendar-note{margin:12px 0 0!important;font-size:12px!important;color:#75685d!important}
@media(max-width:640px){.sgm_services-wrap .sgm_services-calendar{padding:10px!important}.sgm_services-wrap .sgm_services-calendar-weekdays,.sgm_services-wrap .sgm_services-calendar-days{gap:3px!important}.sgm_services-wrap .sgm_services-calendar-day{min-height:34px!important;font-size:11px!important}.sgm_services-wrap .sgm_services-calendar-nav span{min-width:100px!important;font-size:12px!important}.sgm_services-wrap .sgm_services-gallery{grid-template-columns:1fr!important}}

/* v0.1.12 gallery correction: retain the original full-width gallery footprint,
   increase image height to a 3:2 frame, and browse images with overlay arrows. */
.sgm_services-wrap .sgm_services-gallery{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;margin:18px 0 28px!important;padding:0!important;overflow:hidden!important;border-radius:10px!important;background:#eee8df!important}
.sgm_services-wrap .sgm_services-gallery-viewport{position:relative!important;width:100%!important;aspect-ratio:3/2!important;overflow:hidden!important;border-radius:10px!important}
.sgm_services-wrap .sgm_services-gallery-slide{display:none!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.sgm_services-wrap .sgm_services-gallery-slide.is-active{display:block!important}
.sgm_services-wrap .sgm_services-gallery-slide img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;aspect-ratio:unset!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:10px!important}
.sgm_services-wrap .sgm_services-gallery-arrow{position:absolute!important;top:50%!important;z-index:3!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:50%!important;background:rgba(40,31,24,.58)!important;color:#fff!important;font:300 32px/1 Arial,sans-serif!important;cursor:pointer!important;box-shadow:0 2px 12px rgba(0,0,0,.18)!important}
.sgm_services-wrap .sgm_services-gallery-arrow:hover{background:rgba(40,31,24,.82)!important}
.sgm_services-wrap .sgm_services-gallery-prev{left:14px!important}.sgm_services-wrap .sgm_services-gallery-next{right:14px!important}
.sgm_services-wrap .sgm_services-gallery-dots{position:absolute!important;z-index:3!important;left:0!important;right:0!important;bottom:14px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important}
.sgm_services-wrap .sgm_services-gallery-dot{width:8px!important;height:8px!important;min-height:8px!important;padding:0!important;border:1px solid #fff!important;border-radius:50%!important;background:rgba(255,255,255,.55)!important;cursor:pointer!important}
.sgm_services-wrap .sgm_services-gallery-dot.is-active{width:22px!important;border-radius:8px!important;background:#fff!important}
@media(max-width:640px){.sgm_services-wrap .sgm_services-gallery{grid-template-columns:none!important}.sgm_services-wrap .sgm_services-gallery-arrow{width:36px!important;height:36px!important;min-height:36px!important;font-size:27px!important}.sgm_services-wrap .sgm_services-gallery-prev{left:9px!important}.sgm_services-wrap .sgm_services-gallery-next{right:9px!important}}

/* v0.1.13: slightly shallower service gallery; calendar/time interaction refinements */
.sgm_services-wrap .sgm_services-gallery-viewport{aspect-ratio:16/9!important}
.sgm_services-wrap .sgm_services-calendar{font-family:inherit!important}
.sgm_services-wrap .sgm_services-calendar-day{min-height:36px!important}
.sgm_services-wrap .sgm_services-calendar-day:focus-visible,
.sgm_services-wrap .sgm_services-calendar-nav button:focus-visible,
.sgm_services-wrap .sgm_services-time-input:focus-visible{outline:2px solid #a9874f!important;outline-offset:2px!important}
.sgm_services-wrap .sgm_services-calendar-day.is-selected{background:#a9874f!important;color:#fff!important;border-color:#a9874f!important}
.sgm_services-wrap .sgm_services-calendar-note{min-height:18px}
.sgm_services-wrap .sgm_services-time-input{width:100%;box-sizing:border-box}
.sgm_services-wrap .sgm_services-time-validation{display:block;margin-top:5px;color:#9a3f32;font-size:12px}

/* v0.1.14: full-width availability calendar, time fields below, consistent status palette and fine borders. */
.sgm_services-wrap .sgm_services-availability-fields{display:block!important;width:100%!important;max-width:100%!important;margin:0 0 18px!important;padding:0!important;border:0!important}
.sgm_services-wrap .sgm_services-date-field{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important}
.sgm_services-wrap .sgm_services-date-field>.sgm_services-calendar{display:block!important;width:100%!important;max-width:100%!important;margin:0!important}
.sgm_services-wrap .sgm_services-time-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important;margin:14px 0 0!important;padding:0!important;border:0!important}
.sgm_services-wrap .sgm_services-time-row>div{min-width:0!important;margin:0!important;padding:0!important;border:0!important}
.sgm_services-wrap .sgm_services-time-row label{margin-top:0!important}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.available{background:#e2efe4!important;color:#315d3b!important;border:1px solid transparent!important}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.pending{background:#f5e7c9!important;color:#8b672f!important;border:1px solid transparent!important}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.booked{background:#e9e5df!important;color:#938b81!important;border:1px solid transparent!important;cursor:not-allowed!important}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.unavailable{background:#eeeae5!important;color:#aaa39a!important;border:1px solid transparent!important;cursor:not-allowed!important}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.is-selected{background:#a8864d!important;color:#fff!important;border:1px solid #a8864d!important}
.sgm_services-wrap .sgm_services-notice{border:1px solid #e2d5c2!important;border-left:1px solid #a8864d!important}
.sgm_services-wrap .sgm_services-recurring{border:1px solid #e2d5c2!important}
.sgm_services-wrap .sgm_services-calendar,.sgm_services-wrap .sgm_services-service-intro,.sgm_services-wrap .sgm_services-recurring,.sgm_services-wrap .sgm_services-content input:not([type=checkbox]),.sgm_services-wrap .sgm_services-content select,.sgm_services-wrap .sgm_services-content textarea{border-width:1px!important}
@media(max-width:640px){.sgm_services-wrap .sgm_services-time-row{grid-template-columns:1fr!important;gap:8px!important}}

/* v0.1.18: live one-hour availability and slot-level application states. */
.sgm_services-wrap .sgm_services-hourly-availability{margin:18px 0 22px;padding:0;border:0}
.sgm_services-wrap .sgm_services-hourly-availability h3{margin:0 0 6px}
.sgm_services-wrap .sgm_services-hourly-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.sgm_services-wrap .sgm_services-hour-slot{display:block;width:100%;min-height:58px;padding:12px 14px;border:1px solid #e5dbca;border-radius:10px;background:#fff;color:#241d17;text-align:left;font:inherit;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s}
.sgm_services-wrap .sgm_services-hour-slot.available{background:#e2eee3;border-color:#e2eee3;color:#25452d}
.sgm_services-wrap .sgm_services-hour-slot.available:hover,.sgm_services-wrap .sgm_services-hour-slot.available:focus{border-color:#a47e3e;outline:2px solid rgba(164,126,62,.15)}
.sgm_services-wrap .sgm_services-hour-slot.pending{background:#f5e7c9;border-color:#f5e7c9;color:#8b672f;cursor:not-allowed}
.sgm_services-wrap .sgm_services-hour-slot.booked{background:#e9e5df;border-color:#e9e5df;color:#938b81;cursor:not-allowed}
.sgm_services-wrap .sgm_services-hour-slot.unavailable{background:#eeeae5;border-color:#eeeae5;color:#938b81;cursor:not-allowed}
.sgm_services-wrap .sgm_services-slot-legend{display:flex;flex-wrap:wrap;gap:12px 18px;margin:12px 0 18px;color:#75685d;font-size:13px}
.sgm_services-wrap .sgm_services-slot-legend span{display:inline-flex;align-items:center;gap:7px}
.sgm_services-wrap .sgm_services-slot-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;background:#e2eee3}
.sgm_services-wrap .sgm_services-slot-legend i.pending{background:#f5e7c9}
.sgm_services-wrap .sgm_services-slot-legend i.booked{background:#e9e5df}
.sgm_services-wrap .sgm_services-slot-legend i.unavailable{background:#eeeae5}
.sgm_services-wrap .sgm_services-hourly-availability select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #e5dbca;border-radius:9px;background:#fff;color:#241d17;font:inherit}
.sgm_services-wrap .sgm_services-hourly-availability select:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:640px){.sgm_services-wrap .sgm_services-hourly-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sgm_services-wrap .sgm_services-hour-slot{padding:11px 10px;font-size:13px}}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.booked,
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.pending{cursor:pointer!important}


/* v0.1.19: reference calendar palette and explicit status labels on each hourly card. */
.sgm_services-wrap .sgm_services-calendar-day.available,
.sgm_services-wrap .sgm_services-hour-slot.available{background:#e2eee3!important;color:#241d17!important}
.sgm_services-wrap .sgm_services-calendar-day.pending,
.sgm_services-wrap .sgm_services-hour-slot.pending{background:#f5e7c9!important;color:#241d17!important}
.sgm_services-wrap .sgm_services-calendar-day.booked,
.sgm_services-wrap .sgm_services-hour-slot.booked,
.sgm_services-wrap .sgm_services-hour-slot.approved,
.sgm_services-wrap .sgm_services-hour-slot.confirmed{background:#e6e3de!important;color:#766f66!important}
.sgm_services-wrap .sgm_services-calendar-day.maintenance,
.sgm_services-wrap .sgm_services-hour-slot.maintenance,
.sgm_services-wrap .sgm_services-hour-slot.unavailable{background:#eeeae5!important;color:#8b8379!important}
.sgm_services-wrap .sgm_services-calendar-day.is-selected,
.sgm_services-wrap .sgm_services-hour-slot.is-selected{background:#a8864d!important;color:#fff!important;border-color:#8f6e3e!important}
.sgm_services-wrap .sgm_services-hour-slot{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:7px!important;min-height:76px!important;padding:13px 15px!important}
.sgm_services-wrap .sgm_services-hour-slot-time{display:block!important;font-weight:700!important;color:inherit!important}
.sgm_services-wrap .sgm_services-hour-slot-status{display:block!important;font-size:13px!important;font-weight:400!important;line-height:1.35!important;color:inherit!important;opacity:.88!important}
.sgm_services-wrap .sgm_services-hour-slot.available .sgm_services-hour-slot-status{color:#477b56!important;opacity:1!important}
.sgm_services-wrap .sgm_services-hour-slot.pending .sgm_services-hour-slot-status{color:#98702f!important;opacity:1!important}
.sgm_services-wrap .sgm_services-hour-slot.booked .sgm_services-hour-slot-status,
.sgm_services-wrap .sgm_services-hour-slot.approved .sgm_services-hour-slot-status,
.sgm_services-wrap .sgm_services-hour-slot.confirmed .sgm_services-hour-slot-status{color:#766f66!important;opacity:1!important}
.sgm_services-wrap .sgm_services-hour-slot.maintenance .sgm_services-hour-slot-status,
.sgm_services-wrap .sgm_services-hour-slot.unavailable .sgm_services-hour-slot-status{color:#8b8379!important;opacity:1!important}
.sgm_services-wrap .sgm_services-hour-slot.is-selected .sgm_services-hour-slot-status{color:#fff!important}
.sgm_services-wrap .sgm_services-calendar-legend i.maintenance{background:#eeeae5!important}
.sgm_services-wrap .sgm_services-calendar-day.maintenance{cursor:pointer!important}
@media(max-width:640px){.sgm_services-wrap .sgm_services-hour-slot{min-height:70px!important;padding:10px!important}}

/* v0.1.21: clear visual feedback for selecting consecutive hourly application slots. */
.sgm_services-wrap .sgm_services-hour-slot.is-selected{background:#a8864d!important;color:#fff!important;border-color:#8f6e3e!important;box-shadow:inset 0 0 0 1px #8f6e3e}
.sgm_services-wrap .sgm_services-hour-slot.is-range-start,.sgm_services-wrap .sgm_services-hour-slot.is-range-end{outline:2px solid rgba(164,126,62,.28);outline-offset:1px}
.sgm_services-wrap .sgm_services-selection-summary{margin:12px 0 16px;padding:13px 15px;border:1px solid #e5dbca;border-left:3px solid #a8864d;border-radius:8px;background:#faf8f4;color:#4a3c2c;font-size:13px;line-height:1.55}
.sgm_services-wrap .sgm_services-selection-summary[hidden]{display:none!important}

/* v0.1.22: branded payment controls and clearly differentiated calendar states. */
.sgm_services-wrap input[type="radio"],
.sgm_services-wrap input[type="checkbox"]{accent-color:#a8864d!important}
.sgm_services-wrap input[type="radio"]:focus-visible,
.sgm_services-wrap input[type="checkbox"]:focus-visible{outline:2px solid #a8864d!important;outline-offset:3px!important}

/* Calendar: booked, unavailable and maintenance must never share near-identical colours. */
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.booked,
.sgm_services-wrap .sgm_services-calendar-legend i.booked{background:#dce8f2!important;color:#36556f!important}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.unavailable,
.sgm_services-wrap .sgm_services-calendar-legend i.unavailable{background:#f2dddd!important;color:#843f3f!important}
.sgm_services-wrap .sgm_services-calendar .sgm_services-calendar-days button.sgm_services-calendar-day.maintenance,
.sgm_services-wrap .sgm_services-calendar-legend i.maintenance{background:#d8d1c7!important;color:#51483e!important}
.sgm_services-wrap .sgm_services-calendar-legend i.available{background:#e2eee3!important}
.sgm_services-wrap .sgm_services-calendar-legend i.pending{background:#f5e7c9!important}

/* Keep the hourly cards consistent with the date-calendar legend. */
.sgm_services-wrap .sgm_services-hour-slot.booked,
.sgm_services-wrap .sgm_services-hour-slot.approved,
.sgm_services-wrap .sgm_services-hour-slot.confirmed{background:#dce8f2!important;border-color:#dce8f2!important;color:#36556f!important}
.sgm_services-wrap .sgm_services-hour-slot.unavailable{background:#f2dddd!important;border-color:#f2dddd!important;color:#843f3f!important}
.sgm_services-wrap .sgm_services-hour-slot.maintenance{background:#d8d1c7!important;border-color:#d8d1c7!important;color:#51483e!important}
.sgm_services-wrap .sgm_services-slot-legend i.booked{background:#dce8f2!important}
.sgm_services-wrap .sgm_services-slot-legend i.unavailable{background:#f2dddd!important}


/* v0.1.25: elapsed time slots retain their label but use the standard Unavailable colour. */
.sgm_services-wrap .sgm_services-hour-slot.expired{
  background:#f2dddd!important;
  border-color:#f2dddd!important;
  color:#843f3f!important;
  cursor:not-allowed!important;
}
.sgm_services-wrap .sgm_services-hour-slot.expired .sgm_services-hour-slot-status,
.sgm_services-wrap .sgm_services-hour-slot.expired .sgm_services-hour-slot-time{
  color:#843f3f!important;
}

/* v0.1.26: Time passed and In progress use the exact Unavailable appearance. */
.sgm_services-wrap .sgm_services-hour-slot.unavailable,
.sgm_services-wrap .sgm_services-hour-slot.unavailable:hover,
.sgm_services-wrap .sgm_services-hour-slot.unavailable:focus{
  background:#f2dddd!important;
  border-color:#f2dddd!important;
  color:#843f3f!important;
  cursor:not-allowed!important;
  opacity:1!important;
}
.sgm_services-wrap .sgm_services-hour-slot.unavailable .sgm_services-hour-slot-time,
.sgm_services-wrap .sgm_services-hour-slot.unavailable .sgm_services-hour-slot-status{
  color:#843f3f!important;
}

/* v0.1.32: one-pixel strokes without changing layout, palette or native controls. */
.sgm_services-wrap,
.sgm_services-wrap *,
.sgm_services-list .sgm_services-service-card{
  border-width:1px!important;
  outline-width:1px!important;
}
.sgm_services-wrap .sgm_services-notice,
.sgm_services-wrap .sgm_services-selection-summary{
  border:1px solid #e2d5c2!important;
}
.sgm_services-wrap .sgm_services-hour-slot,
.sgm_services-wrap .sgm_services-hour-slot.is-selected{
  box-shadow:none!important;
}
.sgm_services-wrap .sgm_services-hour-slot.is-range-start,
.sgm_services-wrap .sgm_services-hour-slot.is-range-end{
  outline:none;
}
.sgm_services-wrap button:focus-visible,
.sgm_services-wrap a:focus-visible,
.sgm_services-wrap input:focus-visible,
.sgm_services-wrap select:focus-visible,
.sgm_services-wrap textarea:focus-visible{
  outline:1px solid #382b22!important;
  outline-offset:3px!important;
}
/* SVG geometry, not font bearings/baselines, centres the gallery chevrons. */
.sgm_services-wrap .sgm_services-gallery-arrow{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  max-width:44px!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
  font-size:0!important;
  text-indent:0!important;
}
.sgm_services-wrap .sgm_services-gallery-arrow::before,
.sgm_services-wrap .sgm_services-gallery-arrow::after{
  content:none!important;
  display:none!important;
}
.sgm_services-wrap .sgm_services-gallery-arrow .sgm_services-arrow-icon{
  display:block!important;
  position:static!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  transform:none!important;
  fill:none!important;
  overflow:visible!important;
}
@media(max-width:640px){
  .sgm_services-wrap .sgm_services-gallery-arrow{min-width:36px!important;max-width:36px!important}
}

/* v0.1.33: calendar arrows use the same centred geometry as gallery controls. */
.sgm_services-wrap .sgm_services-calendar-nav button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 32px!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0!important;
  margin:0!important;
  line-height:0!important;
  font-size:0!important;
  text-indent:0!important;
}
.sgm_services-wrap .sgm_services-calendar-nav button::before,
.sgm_services-wrap .sgm_services-calendar-nav button::after{
  content:none!important;
  display:none!important;
}
.sgm_services-wrap .sgm_services-calendar-nav button .sgm_services-arrow-icon{
  display:block!important;
  position:static!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  transform:none!important;
  fill:none!important;
}

/* Dynamic questions keep the existing palette, spacing and fine borders. */
.sgm_services-wrap .sgm_services-dynamic-fields{margin:22px 0;padding:18px;border:1px solid #e2d5c2;border-radius:8px}
.sgm_services-wrap .sgm_services-dynamic-field{margin:14px 0}
.sgm_services-wrap .sgm_services-dynamic-field small{display:block;margin:5px 0;color:#75685d;font-size:12px}
.sgm_services-wrap .sgm_services-dynamic-field fieldset{padding:10px 12px;border:1px solid #e2d5c2;border-radius:7px}
.sgm_services-wrap .sgm_services-dynamic-field legend{padding:0 4px;font-size:13px;font-weight:700}
.sgm_services-wrap .sgm_services-content input[type="radio"][name="payment_method"]{display:inline-block;width:auto;min-height:0;padding:0;margin:0 8px 0 0;vertical-align:middle}
.sgm_services-wrap .sgm_services-content .sgm_services-dynamic-fields input[type="radio"],
.sgm_services-wrap .sgm_services-content .sgm_services-dynamic-fields input[type="checkbox"]{
  display:inline-block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0 8px 0 0!important;vertical-align:middle!important
}
.sgm_services-wrap .sgm_services-content .sgm_services-dynamic-fields .sgm_services-choice-label{display:flex!important;align-items:center!important;gap:6px!important;margin:8px 0!important;font-weight:400!important}
