.gr-reservation-app{max-width:980px;margin:0 auto}.gr-booking-card,.gr-guest-panel{border:1px solid rgba(0,0,0,.14);border-radius:14px;padding:24px;background:#fff}.gr-booking-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.gr-booking-heading h3,.gr-guest-panel h3{margin:0}.gr-booking-heading p{margin:0}.gr-booking-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end}.gr-field{display:flex;flex-direction:column;gap:6px}.gr-field>span{font-size:.84rem;font-weight:700;letter-spacing:.02em}.gr-field select,.gr-field input,.gr-field textarea{width:100%;min-height:46px;border:1px solid rgba(0,0,0,.24);border-radius:8px;padding:9px 11px;background:#fff;font:inherit}.gr-field textarea{min-height:90px;resize:vertical}.gr-booking-action button,.gr-guest-actions button,.gr-experience-link{min-height:46px;border:1px solid currentColor;border-radius:8px;padding:10px 18px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;background:transparent}.gr-booking-action button:disabled{opacity:.45;cursor:not-allowed}.gr-availability-note{min-height:22px;margin-top:10px;font-size:.9rem;font-weight:700}.gr-guest-panel{margin-top:22px}.gr-reservation-summary{display:flex;flex-direction:column;gap:4px;padding:14px 16px;margin-bottom:22px;border-radius:10px;background:rgba(0,0,0,.045)}.gr-guest-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.gr-field-wide{grid-column:1/-1}.gr-guest-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.gr-form-error{margin-top:10px;font-weight:700}.gr-experience-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gr-experience-card{border:1px solid rgba(0,0,0,.14);border-radius:14px;padding:22px}.gr-experience-card h3{margin-top:0}.gr-experience-dates,.gr-experience-price{margin:.35em 0}.gr-experience-link{margin-top:14px}.gr-experience-missing{opacity:.7}@media(max-width:900px){.gr-booking-grid{grid-template-columns:1fr 1fr}.gr-booking-action{grid-column:1/-1}.gr-booking-action button{width:100%}.gr-experience-directory{grid-template-columns:1fr 1fr}}@media(max-width:600px){.gr-booking-heading{display:block}.gr-booking-heading p{margin-top:6px}.gr-booking-grid,.gr-guest-grid,.gr-experience-directory{grid-template-columns:1fr}.gr-field-wide{grid-column:auto}.gr-guest-actions{flex-direction:column-reverse}.gr-guest-actions button{width:100%}}

/* v0.4.1 customer booking refinements */
.gr-booking-action button,.gr-continue-payment{background:#bf8783!important;color:#fff!important;border-color:#bf8783!important}
.gr-booking-action button:hover,.gr-booking-action button:focus,.gr-continue-payment:hover,.gr-continue-payment:focus{filter:brightness(.94);color:#fff!important}
.gr-booking-action button:disabled{background:#bf8783!important;color:#fff!important;opacity:.45}
.gr-date-help{font-size:.75rem;opacity:.7;margin-top:1px}
.gr-summary-total{margin-top:7px;font-size:1.05em}

/* v0.4.2 checkout and date-field refinements */
.gr-booking-grid .gr-field{align-self:end}
.gr-reservation-checkout .wc-block-components-order-summary-item__image,
.gr-reservation-checkout .wc-block-checkout__add-note,
.gr-reservation-checkout [class*="wc-block-checkout__add-note"]{display:none!important}
.gr-reservation-checkout .wc-block-components-order-summary-item__description{padding-left:0!important}

/* v0.4.3 global widget, Experience directory, and checkout summary refinements */
.gr-reservation-global{max-width:1120px}
.gr-reservation-global .gr-booking-grid{grid-template-columns:minmax(240px,1.35fr) repeat(3,minmax(170px,1fr)) auto}
.gr-experience-card{background:rgba(255,255,255,.38);display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:235px}
.gr-experience-card h3{margin:0 0 18px;font-size:clamp(1.35rem,2vw,2rem);line-height:1.15}
.gr-experience-dates,.gr-experience-price{font-size:.95em;opacity:.88}
.gr-experience-link{margin-top:auto;background:#bf8783;color:#fff!important;border-color:#bf8783!important;padding:11px 18px}
.gr-experience-link:hover,.gr-experience-link:focus{filter:brightness(.94);color:#fff!important}
.gr-experience-missing{margin-top:auto;font-style:italic}
.gr-reservation-checkout .wc-block-components-product-details{margin-top:8px}
.gr-reservation-checkout .wc-block-components-product-details li{margin-bottom:3px}
@media(max-width:1100px){.gr-reservation-global .gr-booking-grid{grid-template-columns:1.3fr 1fr 1fr}.gr-reservation-global .gr-booking-action{grid-column:1/-1}.gr-reservation-global .gr-booking-action button{width:100%}}
@media(max-width:700px){.gr-reservation-global .gr-booking-grid{grid-template-columns:1fr}}

.gr-char-count{display:block;text-align:right;margin-top:2px;font-size:.78rem;opacity:.65}.gr-experience-price{margin-bottom:22px}.gr-experience-link{margin-top:0}

.gr-reservation-checkout .wc-block-components-product-details{display:flex!important;flex-direction:column!important;gap:3px}.gr-reservation-checkout .wc-block-components-product-details li{display:block!important;margin:0!important}

/* v0.4.5 date chooser and checkout metadata refinements */
.gr-date-controls{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:8px}.gr-date-controls .gr-date-picker{padding:9px 6px;min-width:0}.gr-reservation-checkout .wc-block-components-product-details li::before,.gr-reservation-checkout .wc-block-components-product-details li::after{content:none!important;display:none!important}
@media(max-width:600px){.gr-date-controls{grid-template-columns:minmax(0,1fr) 52px}}

/* v0.4.6 compact calendar trigger */
.gr-date-controls{position:relative;grid-template-columns:minmax(0,1fr) 54px}
.gr-calendar-button{width:54px;min-height:46px;border:1px solid rgba(0,0,0,.24);border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:10px}
.gr-calendar-button svg{width:24px;height:24px;fill:currentColor}
.gr-calendar-button:disabled{opacity:.45;cursor:not-allowed}
.gr-date-controls .gr-date-picker{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important;right:27px;bottom:0}
@media(max-width:600px){.gr-date-controls{grid-template-columns:minmax(0,1fr) 52px}.gr-calendar-button{width:52px}}

/* v0.4.7 checkout metadata labels */
.gr-reservation-checkout .wc-block-components-product-details__name{font-weight:600!important}


/* v0.4.8 beta-candidate mobile and availability refinements */
@media(max-width:600px){
  .gr-date-controls{grid-template-columns:1fr!important}
  .gr-calendar-button{display:none!important}
  .gr-reservation-checkout .wp-block-woocommerce-checkout,
  .gr-reservation-checkout .wc-block-checkout{padding-left:6px!important;padding-right:6px!important;box-sizing:border-box}
}

/* v0.5.0 custom availability calendar */
.gr-date-controls{position:relative}
.gr-calendar-popover{position:absolute;z-index:1000;top:calc(100% + 8px);right:0;width:310px;max-width:min(92vw,310px);padding:14px;background:#fff;border:1px solid rgba(0,0,0,.2);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.16)}
.gr-calendar-popover[hidden]{display:none!important}
.gr-cal-head{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;text-align:center;margin-bottom:10px}
.gr-cal-head button{border:0;background:transparent;font:inherit;font-size:1.6rem;line-height:1;cursor:pointer;min-height:36px}.gr-cal-head button:disabled{opacity:.25;cursor:default}
.gr-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.gr-cal-grid>span{font-size:.78rem;font-weight:700;padding:4px 0}.gr-cal-day{aspect-ratio:1;border:0;border-radius:7px;background:transparent;font:inherit;cursor:pointer}.gr-cal-day:not(:disabled):hover,.gr-cal-day:not(:disabled):focus{background:rgba(191,135,131,.18);outline:2px solid #bf8783;outline-offset:-2px}.gr-cal-day.is-selected{background:#bf8783;color:#fff;font-weight:700}.gr-cal-day:disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.gr-cal-day.is-unavailable{background:rgba(0,0,0,.035)}
@media(max-width:600px){
  .gr-date-controls{grid-template-columns:minmax(0,1fr) 52px!important}
  .gr-calendar-button{display:flex!important;width:52px}
  .gr-calendar-popover{left:0;right:auto;width:min(310px,calc(100vw - 40px))}
}

/* v0.5.1 client-beta UI simplification */
.gr-date-controls{display:block!important;position:relative}
.gr-calendar-button,.gr-calendar-popover{display:none!important}

/* v0.5.4 checkout separator and confirmation-page spacing */
.gr-reservation-checkout .wc-block-components-product-details > [class*="wc-block-components-product-details__"] > span[aria-hidden="true"]{display:none!important}


/* v0.5.5 adaptable reservation widget */
.gr-reservation-app,.gr-reservation-global{max-width:none;width:100%;min-width:0}
.gr-reservation-app .gr-booking-card{background:#f4eee5;border:1px solid rgba(0,0,0,.14);border-radius:14px}
.gr-reservation-app .gr-booking-heading[hidden],.gr-reservation-app .gr-selected-price[hidden]{display:none!important}
.gr-reservation-app .gr-booking-grid,.gr-reservation-global .gr-booking-grid{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(130px,auto)}
.gr-reservation-app .gr-field,.gr-reservation-app .gr-field select{min-width:0}
@media(max-width:1050px){.gr-reservation-app .gr-booking-grid,.gr-reservation-global .gr-booking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gr-reservation-app .gr-booking-action{grid-column:1/-1}.gr-reservation-app .gr-booking-action button{width:100%}}
@media(max-width:600px){.gr-reservation-app .gr-booking-grid,.gr-reservation-global .gr-booking-grid{grid-template-columns:minmax(0,1fr)}}

/* v0.5.6 per-shortcode background colors, shared across both booking steps */
.gr-reservation-app .gr-booking-card,.gr-reservation-app .gr-guest-panel{background:var(--gr-widget-bg,#fff)}
.gr-reservation-app .gr-reservation-summary{background:var(--gr-summary-bg,#f1f1f1)}
.gr-experience-directory .gr-experience-card{background:var(--gr-experience-bg,#fff)}

/* v0.6.0: fixed container sizing and secondary action */
.gr-reservation-app,.gr-reservation-app *{box-sizing:border-box}
.gr-reservation-app{display:block;width:100%!important;max-width:100%!important;min-width:0}
.gr-reservation-app .gr-booking-card,.gr-reservation-app .gr-guest-panel{width:100%;min-width:0}
.gr-reservation-app .gr-booking-grid{width:100%;min-width:0}
.gr-reservation-app .gr-booking-grid>*{min-width:0}
.gr-reservation-app .gr-back-selection{background:rgba(187,130,125,.09)!important;color:#354537!important;border:1px solid #bb827d!important}
.gr-reservation-app .gr-back-selection:hover,.gr-reservation-app .gr-back-selection:focus{background:rgba(187,130,125,.2)!important;color:#354537!important}
.gr-concluded-notice{padding:24px;border:1px solid rgba(0,0,0,.15);border-radius:14px;background:#f5efe6;color:#354537}
.gr-concluded-notice h3{margin:0 0 12px}.gr-concluded-notice p{margin:0 0 16px}
.gr-concluded-notice a{display:inline-block;background:#bb827d;color:#fff;padding:12px 18px;border-radius:8px;text-decoration:none;font-weight:700}

/* v0.6.7 concluded experience messages */
.gr-concluded-notice{padding:0;border:0;border-radius:0;background:transparent;color:inherit;max-width:100%}
.gr-concluded-notice h3{margin:0 0 16px;color:#354537;font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.25}
.gr-concluded-notice p{margin:0 0 22px;line-height:1.65}
.gr-concluded-notice .gr-concluded-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;background:#bf8783;color:#fff!important;border:1px solid #bf8783;border-radius:8px;padding:11px 20px;text-decoration:none;font-weight:700;line-height:1.35}
.gr-concluded-notice .gr-concluded-button:hover,.gr-concluded-notice .gr-concluded-button:focus{filter:brightness(.94);color:#fff!important}
.gr-experience-top-notice{display:flex;flex-direction:column;gap:5px;padding:14px 18px;border:1px solid rgba(53,69,55,.18);border-radius:6px;color:#354537;background:rgba(245,239,230,.7);line-height:1.5}
.gr-experience-top-notice strong{font-weight:600}
.gr-experience-top-notice a{color:#bf8783;text-decoration:underline;text-underline-offset:2px}

/* v0.6.9: configurable warm-ivory status and notice panels */
.gr-experience-top-notice{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:18px 22px;background:var(--gr-notice-bg,#F9F5EE);color:var(--gr-notice-text,#354537);border:1px solid rgba(53,69,55,.16);border-radius:7px;line-height:1.55}
.gr-experience-top-notice strong{font-size:1rem;font-weight:600;color:inherit}
.gr-experience-top-notice span{color:inherit}
.gr-experience-top-notice>a{display:inline-block;margin-top:3px;color:#bf8783;text-decoration:none;font-weight:600;text-underline-offset:3px}
.gr-experience-top-notice>a:hover,.gr-experience-top-notice>a:focus{text-decoration:underline}
.gr-concluded-notice{background:var(--gr-notice-bg,#F9F5EE);color:var(--gr-notice-text,#354537);padding:22px;border:1px solid rgba(53,69,55,.16);border-radius:7px}
.gr-concluded-notice h3,.gr-concluded-notice p{color:inherit}

/* v0.6.10: consistent display shortcode text-color overrides. Preserve form and CTA contrast. */
.gr-reservation-app .gr-booking-card,.gr-reservation-app .gr-guest-panel{color:var(--gr-widget-text,#354537)}
.gr-reservation-app .gr-booking-heading h3,.gr-reservation-app .gr-booking-heading p,.gr-reservation-app .gr-guest-panel h3,.gr-reservation-app .gr-field>span,.gr-reservation-app .gr-availability-note,.gr-reservation-app .gr-reservation-summary,.gr-reservation-app .gr-form-error,.gr-reservation-app .gr-char-count{color:var(--gr-widget-text,#354537)}
.gr-experience-directory .gr-experience-card{color:var(--gr-experience-text,#354537)}
.gr-experience-directory .gr-experience-card h3,.gr-experience-directory .gr-experience-dates,.gr-experience-directory .gr-experience-price,.gr-experience-directory .gr-experience-closed-label{color:var(--gr-experience-text,#354537)}

/* v0.6.15: one gutter owner for checkout and order received. */
@media (max-width: 767px) {
  /* Both WooCommerce screens use the .woocommerce wrapper as their 20px gutter. */
  body.gr-reservation-checkout .woocommerce {
    padding-left:20px!important;
    padding-right:20px!important;
    box-sizing:border-box!important;
    max-width:100%!important;
  }
  /* Do not add another 6px/20px at the nested checkout block. */
  body.gr-reservation-checkout .woocommerce .wp-block-woocommerce-checkout,
  body.gr-reservation-checkout .woocommerce .wc-block-checkout,
  body.gr-reservation-checkout .wp-block-woocommerce-checkout,
  body.gr-reservation-checkout .wc-block-checkout {
    padding-left:0!important;
    padding-right:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.gr-reservation-checkout .wc-block-components-sidebar-layout,
  body.gr-reservation-order-received .woocommerce-order,
  body.gr-reservation-order-received .woocommerce-order-overview,
  body.gr-reservation-order-received .woocommerce-order-details,
  body.gr-reservation-order-received .woocommerce-table {
    min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  }
  body.gr-reservation-order-received ul.woocommerce-order-overview {
    display:block!important;padding:0!important;margin:0 0 24px!important;
  }
  body.gr-reservation-order-received ul.woocommerce-order-overview li {
    display:block!important;float:none!important;width:auto!important;
    margin:0 0 12px!important;padding:0!important;border:0!important;overflow-wrap:anywhere;
  }
  body.gr-reservation-order-received .woocommerce-table th,
  body.gr-reservation-order-received .woocommerce-table td {overflow-wrap:anywhere;word-break:normal}
}
/* Consistent form-label wrapping and primary action typography. */
.gr-reservation-app .gr-field > span {line-height:1.35}
.gr-reservation-app .gr-booking-action button,
.gr-reservation-app .gr-continue-payment,
.gr-reservation-checkout .wc-block-components-checkout-place-order-button {
  font-family:Montserrat,sans-serif!important;
  font-weight:600!important;
  font-size:18px!important;
  line-height:1.35!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:break-word;
}
.gr-reservation-app .gr-continue-payment {min-width:0;max-width:100%;width:auto}
.gr-reservation-checkout .wc-block-components-checkout-place-order-button {
  background:#bf8783!important;color:#fff!important;border-color:#bf8783!important;
  border-radius:8px!important;
}
/* Errors are independent from informational availability messages. */
.gr-reservation-app .gr-validation-alert[hidden]{display:none!important}
.gr-reservation-app .gr-validation-alert:not([hidden]) {
  display:flex;align-items:flex-start;gap:10px;
  background:#F9E8E5;color:#873E3B!important;
  border:1px solid #BE8985;border-radius:8px;
  padding:12px 14px;margin-top:12px;
  font-size:.95rem;font-weight:600;line-height:1.35;
  overflow-wrap:anywhere;
}
.gr-reservation-app .gr-validation-alert:not([hidden])::before {
  content:'!';flex:0 0 20px;width:20px;height:20px;
  display:inline-flex;align-items:center;justify-content:center;
  border:2px solid currentColor;border-radius:50%;
  font-weight:700;font-size:13px;line-height:1;
}
.gr-reservation-app .gr-field .gr-invalid {border-color:#BE8985!important;box-shadow:0 0 0 1px #BE8985!important}

/* v0.6.16: Elementor's dedicated Checkout template owns the outer mobile gutter. */
@media(max-width:767px){
  body.gr-reservation-order-received .woocommerce {padding-left:0!important;padding-right:0!important;}
}
/* Own the arrow and its text gutter together; native/theme arrows otherwise have unknown geometry.
   Keep inherited font size; em units scale the arrow, inset and gap with that font. */
.gr-reservation-app .gr-field select {
  -webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23354537' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .6875em center;background-size:.75em .5em;
  padding-right:calc(.75em + .6875em + .6875em)!important;
  height:auto;min-height:max(46px,calc(1.35em + 20px));line-height:1.35;box-sizing:border-box;text-overflow:ellipsis;
}
.gr-reservation-app .gr-field select:dir(rtl) {
  background-position:left .6875em center;padding-right:11px!important;
  padding-left:calc(.75em + .6875em + .6875em)!important;
}
@media(forced-colors:active){
  .gr-reservation-app .gr-field select{-webkit-appearance:auto;appearance:auto;background-image:none;padding-inline-end:30px!important}
}

/* Friendly reservation-specific checkout fallback for a seating that sells out. */
.gr-checkout-unavailable{background:#F9E8E5;color:#873E3B;border:1px solid #BE8985;border-radius:8px;padding:20px;line-height:1.35}
.gr-checkout-unavailable h3{color:#873E3B;font-size:1.2rem;margin:0 0 10px;line-height:1.35}
.gr-checkout-unavailable p{margin:0 0 18px;line-height:1.35}
.gr-checkout-unavailable-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;background:#bf8783;color:#fff!important;border-radius:8px;text-decoration:none!important;font-family:Montserrat,sans-serif;font-size:18px;font-weight:600;line-height:1.35;text-align:center}

.gr-checkout-notice-link{display:block;margin-top:10px;font-weight:600;text-decoration:underline;color:#873E3B!important}

/* Never allow a rejected, automatically reduced reservation to be submitted again. */
body.gr-checkout-invalidated .wc-block-components-checkout-place-order-button{pointer-events:none;opacity:.55}

/* Only after our reservation availability rejection, hide Woo's irrelevant empty-cart state. */
body.gr-checkout-invalidated .wc-block-checkout__empty-cart,
body.gr-checkout-invalidated .wc-block-checkout__empty-cart-container{display:none!important}
