.ce-res-booking{max-width:760px;margin:2rem auto;padding:clamp(1rem,3vw,2rem);border:1px solid #d8d4ca;border-radius:18px;background:#fff}.ce-res-booking h2{margin-top:0}.ce-res-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ce-res-form label{display:grid;gap:.35rem;font-weight:600}.ce-res-form input,.ce-res-form textarea{width:100%;box-sizing:border-box;padding:.75rem;border:1px solid #8c8c85;border-radius:8px;font:inherit}.ce-res-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;margin:1rem 0;font-weight:400!important}.ce-res-check input{width:auto;margin-top:.25rem}.ce-res-form button{min-height:48px;padding:.75rem 1.2rem;border:0;border-radius:999px;background:#214f3b;color:#fff;font-weight:700;cursor:pointer}.ce-res-form button:disabled{opacity:.6;cursor:wait}.ce-res-message{min-height:1.5rem;margin:.75rem 0}.ce-res-message.is-error{color:#9b1c1c}.ce-res-message.is-success{color:#176b3a}@media(max-width:620px){.ce-res-grid{grid-template-columns:1fr}}
.ce-res-slot-help{display:block;margin-top:.35rem;font-size:.875rem;opacity:.75}

.ce-res-waitlist{margin-top:2rem;padding-top:2rem;border-top:1px solid currentColor}.ce-res-waitlist[hidden]{display:none}

.ce-res-manage-wrap{max-width:960px;margin:clamp(2rem,6vw,5rem) auto;padding:0 1rem}.ce-res-notice{padding:1rem 1.1rem;margin:1rem 0;border-radius:.5rem}.ce-res-notice-success{background:#edf7ef;border:1px solid #93c69e}.ce-res-notice-error{background:#fff0f0;border:1px solid #d99}.ce-res-manage-wrap small{display:block;margin-top:.35rem}

.ce-res-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* v3.15.3: clearer time selection and privacy-link affordance */
.ce-res-form select{
  width:100%;
  box-sizing:border-box;
  min-height:48px;
  padding:.75rem 2.75rem .75rem .75rem;
  border:1px solid #8c8c85;
  border-radius:8px;
  background-color:#fff;
  color:inherit;
  font:inherit;
  line-height:1.25;
  cursor:pointer;
}
.ce-res-form select:disabled{background-color:#f3f2ee;color:#6d6d68;cursor:not-allowed}
.ce-res-time-field{align-content:start}
.ce-res-slot-help{line-height:1.4}
.ce-res-privacy-link{color:#174f3b;text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.15em;font-weight:600}
.ce-res-privacy-link:hover,.ce-res-privacy-link:focus{ text-decoration-thickness:.14em }
.ce-res-privacy-link:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}

.ce-res-required{color:#8f1d1d;font-weight:700;margin-left:.15rem}
.ce-res-check>span{display:inline}

/* v3.16.0: time tiles + compact required markers */
.ce-res-label-text{
  display:inline-flex;
  align-items:baseline;
  gap:.12rem;
  font-weight:600;
}
.ce-res-required{
  margin-left:0!important;
  line-height:1;
}
.ce-res-time-field{
  display:grid;
  gap:.45rem;
}
.ce-res-time-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
}
.ce-res-time-tile{
  min-height:58px;
  padding:.65rem .75rem;
  border-radius:10px;
  border:1px solid #c9c7c0;
  text-align:left;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:.15rem;
  font:inherit;
}
.ce-res-time-tile.is-available{
  background:#edf5f0;
  border-color:#7aa38f;
  color:#173f31;
  cursor:pointer;
}
.ce-res-time-tile.is-available:hover{
  background:#e2efe7;
  border-color:#4f8069;
}
.ce-res-time-tile.is-selected{
  background:#214f3b;
  border-color:#214f3b;
  color:#fff;
  box-shadow:0 0 0 2px rgba(33,79,59,.15);
}
.ce-res-time-tile.is-unavailable{
  background:#f1f1ef;
  border-color:#d7d6d1;
  color:#9a9994;
  cursor:not-allowed;
  opacity:.78;
}
.ce-res-time-range{
  font-weight:700;
  font-size:.98rem;
  letter-spacing:.01em;
}
.ce-res-time-duration{
  font-size:.78rem;
  opacity:.78;
}
.ce-res-time-placeholder,
.ce-res-time-message{
  grid-column:1/-1;
  padding:.8rem .9rem;
  border-radius:8px;
  background:#f6f5f1;
  color:#66645f;
}
@media(max-width:620px){
  .ce-res-time-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
  .ce-res-time-grid{grid-template-columns:1fr}
}

/* v3.16.1: polished public reservation layout */
.ce-res-booking{
  max-width:1080px;
  margin:2rem auto;
  padding:clamp(1.25rem,3vw,2.25rem);
  border:1px solid #d8d4ca;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 32px rgba(40,34,26,.05);
}
.ce-res-booking h2{
  margin:0 0 .4rem;
  font-size:clamp(1.8rem,3vw,2.5rem);
  line-height:1.1;
}
.ce-res-intro{
  margin:0 0 1.5rem;
  color:#4e554f;
  max-width:760px;
}
.ce-res-booking-top{
  display:grid;
  grid-template-columns:minmax(280px,.9fr) minmax(420px,1.35fr);
  gap:2rem;
  align-items:start;
}
.ce-res-booking-left{
  display:grid;
  gap:1rem;
  align-content:start;
}
.ce-res-field{
  display:grid;
  gap:.4rem;
  font-weight:600;
}
.ce-res-field input,
.ce-res-field textarea{
  width:100%;
  box-sizing:border-box;
  min-height:48px;
  padding:.78rem .9rem;
  border:1px solid #b9b7b0;
  border-radius:10px;
  background:#fff;
  color:inherit;
  font:inherit;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.ce-res-field input:focus,
.ce-res-field textarea:focus{
  outline:none;
  border-color:#2d654f;
  box-shadow:0 0 0 3px rgba(45,101,79,.12);
}
.ce-res-field-help,
.ce-res-slot-help{
  color:#6b706c;
  font-size:.82rem;
  font-weight:400;
  line-height:1.4;
}
.ce-res-wheelchair-card{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem;
  border:1px solid #d9ded9;
  border-radius:12px;
  background:#f7faf8;
  font-weight:400!important;
}
.ce-res-wheelchair-copy{
  display:grid;
  gap:.15rem;
}
.ce-res-wheelchair-copy strong{font-weight:700}
.ce-res-wheelchair-copy small{
  color:#687069;
  font-size:.8rem;
}
.ce-res-wheelchair-card input{
  width:20px!important;
  height:20px;
  margin:0!important;
  flex:0 0 auto;
}
.ce-res-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem 1.25rem;
  margin-top:1.7rem;
}
.ce-res-notes{margin-top:1rem}
.ce-res-optional{
  color:#73736f;
  font-size:.85em;
  font-weight:400;
}
.ce-res-time-field{
  display:grid;
  gap:.4rem;
  align-content:start;
}
.ce-res-time-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
  margin-top:.25rem;
}
.ce-res-time-tile{
  position:relative;
  min-height:60px;
  padding:.65rem .85rem;
  border-radius:11px;
  border:1px solid #b9d0c2;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:.1rem;
  font:inherit;
  transition:background .15s ease,border-color .15s ease,transform .08s ease,box-shadow .15s ease;
}
.ce-res-time-tile.is-available{
  background:#eef6f1;
  border-color:#a7c6b4;
  color:#163f31;
  cursor:pointer;
}
.ce-res-time-tile.is-available:hover{
  background:#e3f0e8;
  border-color:#6e9c83;
  transform:translateY(-1px);
}
.ce-res-time-tile.is-selected{
  background:#1f5a43;
  border-color:#1f5a43;
  color:#fff;
  box-shadow:0 4px 14px rgba(31,90,67,.18);
}
.ce-res-time-tile.is-selected::after{
  content:"✓";
  position:absolute;
  right:.55rem;
  top:50%;
  transform:translateY(-50%);
  width:22px;
  height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1f5a43;
  font-weight:800;
  font-size:.8rem;
}
.ce-res-time-tile.is-unavailable{
  background:#f3f3f1;
  border-color:#deddd8;
  color:#aaa8a2;
  cursor:not-allowed;
  opacity:.72;
}
.ce-res-time-range{
  font-weight:750;
  font-size:.98rem;
}
.ce-res-time-duration{
  font-size:.74rem;
  opacity:.78;
}
.ce-res-time-placeholder,
.ce-res-time-message{
  grid-column:1/-1;
  padding:1rem;
  border-radius:10px;
  background:#f6f5f1;
  color:#66645f;
  text-align:center;
}
.ce-res-privacy-check{
  margin:1rem 0 .75rem;
  align-items:center;
}
.ce-res-submit-row{
  display:grid;
  grid-template-columns:minmax(220px,320px) 1fr;
  gap:1rem;
  align-items:center;
}
.ce-res-submit-row button{
  width:100%;
}
.ce-res-message{
  min-height:0;
  margin:0;
}
.ce-res-message.is-error{
  padding:.8rem 1rem;
  border:1px solid #efb0b0;
  border-radius:10px;
  background:#fff0f0;
  color:#9b1c1c;
}
.ce-res-message.is-success{
  padding:.8rem 1rem;
  border:1px solid #a6cfb1;
  border-radius:10px;
  background:#eef8f1;
  color:#176b3a;
}
.ce-res-label-text{
  gap:.05rem!important;
}
.ce-res-required{
  margin-left:.02rem!important;
}
@media(max-width:860px){
  .ce-res-booking-top{grid-template-columns:1fr}
  .ce-res-contact-grid{grid-template-columns:1fr}
  .ce-res-submit-row{grid-template-columns:1fr}
}
@media(max-width:520px){
  .ce-res-time-grid{grid-template-columns:1fr 1fr}
  .ce-res-booking{border-radius:14px;padding:1rem}
}

/* v3.17.0: explicit guest cancellation confirmation */
.ce-res-cancel-card{max-width:720px}
.ce-res-cancel-summary{
  display:grid;
  gap:.2rem;
  margin:1rem 0 1.25rem;
  padding:1rem 1.1rem;
  border:1px solid #d9ded9;
  border-radius:12px;
  background:#f7faf8;
}
.ce-res-cancel-summary strong{font-size:1.05rem}
.ce-res-cancel-actions{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  align-items:center;
  margin-top:1.25rem;
}
.ce-res-cancel-confirm{
  min-height:46px;
  padding:.75rem 1rem;
  border:0;
  border-radius:999px;
  background:#9b1c1c;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.ce-res-cancel-confirm:hover,.ce-res-cancel-confirm:focus{background:#7f1717}
.ce-res-cancel-back{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 .9rem;
  border-radius:999px;
  border:1px solid #b9b7b0;
  color:#214f3b;
  text-decoration:none;
  font-weight:600;
  background:#fff;
}

/* v3.17.2: group-size guidance in guest management */
.ce-res-party-limit{
  margin:1rem 0;
  padding:1rem 1.1rem;
  border:1px solid #d8cfae;
  border-radius:12px;
  background:#fff9e8;
}
.ce-res-party-limit strong{display:block;margin-bottom:.3rem}
.ce-res-party-limit p{margin:0}
.ce-res-party-limit a{font-weight:700;text-decoration:underline}
#ce-res-manage-submit:disabled{opacity:.55;cursor:not-allowed}

/* v3.17.7: public waitlist CTA when no reservation slot is available */
.ce-res-waitlist-cta{
  margin-top:1rem;
  padding:1.1rem 1.2rem;
  border:1px solid #d8cfae;
  border-radius:14px;
  background:#fff9e8;
}
.ce-res-waitlist-cta[hidden],
.ce-res-waitlist[hidden]{display:none !important}
.ce-res-waitlist-cta strong{display:block;margin-bottom:.35rem}
.ce-res-waitlist-cta p{margin:.25rem 0 .85rem}
.ce-res-waitlist-cta button{margin:0}
.ce-res-waitlist{
  margin-top:1.25rem;
  padding:1.25rem;
  border:1px solid #d9d9d9;
  border-radius:14px;
  background:#fff;
}

/* v3.17.8: unavailable time tiles can open the exact-time waitlist */
.ce-res-time-tile.is-unavailable{
  cursor:pointer;
}
.ce-res-time-tile.is-unavailable:hover,
.ce-res-time-tile.is-unavailable:focus-visible{
  outline:2px solid currentColor;
  outline-offset:2px;
}
.ce-res-waitlist-selection{
  margin:0 0 1rem;
  font-weight:700;
}

/* v3.17.9: waitlist form uses the same modern visual language as booking */
.ce-res-waitlist{
  display:grid;
  gap:1rem;
  margin-top:1.25rem;
  padding:clamp(1rem,2.5vw,1.4rem);
  border:1px solid #d8d4ca;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 28px rgba(33,79,59,.06);
}
.ce-res-waitlist h3{
  margin:0;
  font-size:1.2rem;
}
.ce-res-waitlist > p{
  margin:0;
  line-height:1.5;
  color:#5f615d;
}
.ce-res-waitlist label{
  display:grid;
  gap:.35rem;
  font-weight:600;
}
.ce-res-waitlist input:not([type="checkbox"]),
.ce-res-waitlist select,
.ce-res-waitlist textarea{
  width:100%;
  box-sizing:border-box;
  min-height:48px;
  padding:.75rem .85rem;
  border:1px solid #8c8c85;
  border-radius:10px;
  background:#fff;
  color:inherit;
  font:inherit;
}
.ce-res-waitlist textarea{min-height:88px;resize:vertical}
.ce-res-waitlist .ce-res-check{
  display:flex!important;
  gap:.6rem;
  align-items:flex-start;
  font-weight:400;
}
.ce-res-waitlist .ce-res-check input{
  width:auto;
  min-height:auto;
  margin-top:.25rem;
}
.ce-res-waitlist button[type="submit"],
.ce-res-waitlist-cta .ce-res-open-waitlist{
  appearance:none;
  -webkit-appearance:none;
  min-height:48px;
  padding:.78rem 1.25rem;
  border:0;
  border-radius:999px;
  background:#214f3b;
  color:#fff;
  font:inherit;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(33,79,59,.18);
  transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease;
}
.ce-res-waitlist button[type="submit"]:hover,
.ce-res-waitlist button[type="submit"]:focus-visible,
.ce-res-waitlist-cta .ce-res-open-waitlist:hover,
.ce-res-waitlist-cta .ce-res-open-waitlist:focus-visible{
  background:#173e2e;
  box-shadow:0 6px 18px rgba(33,79,59,.24);
}
.ce-res-waitlist button[type="submit"]:active,
.ce-res-waitlist-cta .ce-res-open-waitlist:active{
  transform:translateY(1px);
}
.ce-res-waitlist button[type="submit"]:disabled{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none;
}

/* v3.18.0: clearer exact-time waitlist affordance */
.ce-res-time-tile.is-unavailable .ce-res-time-duration{
  font-weight:700;
  opacity:1;
}
.ce-res-time-tile.is-unavailable{
  cursor:pointer;
  color:#6f716d;
}
