:root {
  --primary-color: #d19a47 !important;
  --chillons-gold: #d19a47;
  --chillons-gold-dark: #b9813b;
  --chillons-beige: #e4d9cd;
  --chillons-ink: #1c1a17;
  --chillons-muted: #847e7e;
}

.chillons-cart-backdrop[hidden] {
  display: none !important;
}

.chillons-cart-backdrop {
  align-items: center;
  background: rgba(28, 26, 23, 0.56);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2147483000;
}

.chillons-cart-dialog {
  background: #fff;
  border: 1px solid #ded8d1;
  box-shadow: 0 24px 80px rgba(28, 26, 23, 0.24);
  color: var(--chillons-ink);
  font: inherit;
  max-height: min(760px, calc(100vh - 48px));
  max-width: 720px;
  overflow: auto;
  padding: 32px;
  position: relative;
  width: 100%;
}

.chillons-cart-heading {
  color: var(--chillons-ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 48px 28px 0;
}

.chillons-cart-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--chillons-ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 30px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 22px;
  top: 20px;
  width: 44px;
}

.chillons-cart-items {
  border-top: 1px solid #ded8d1;
}

.chillons-cart-row {
  align-items: center;
  border-bottom: 1px solid #ded8d1;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 22px 0;
}

.chillons-cart-product {
  align-items: center;
  display: flex;
  gap: 18px;
  min-width: 0;
}

.chillons-cart-product img {
  height: 76px;
  object-fit: cover;
  width: 96px;
}

.chillons-cart-product-name {
  color: var(--chillons-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.chillons-cart-quantity {
  align-items: center;
  border: 1px solid #cfc8c0;
  display: inline-flex;
  min-height: 44px;
}

.chillons-cart-quantity button {
  background: #fff;
  border: 0;
  color: var(--chillons-ink);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  height: 42px;
  padding: 0;
  width: 40px;
}

.chillons-cart-quantity output {
  min-width: 32px;
  text-align: center;
}

.chillons-cart-remove {
  background: transparent;
  border: 0;
  color: var(--chillons-muted);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-decoration: underline;
}

.chillons-cart-empty {
  color: var(--chillons-muted);
  margin: 0;
  padding: 34px 0;
  text-align: center;
}

.chillons-cart-continue {
  background: var(--chillons-gold);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  min-height: 54px;
  padding: 14px 28px;
  text-align: center;
  transition: background-color 160ms ease;
  width: 100%;
}

.chillons-cart-continue:hover,
.chillons-cart-continue:focus-visible {
  background: var(--chillons-gold-dark);
  color: #fff;
}

.chillons-cart-continue:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

body.chillons-cart-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .chillons-cart-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .chillons-cart-dialog {
    max-height: 90vh;
    padding: 26px 20px;
  }

  .chillons-cart-row {
    align-items: start;
    gap: 14px;
    grid-template-columns: 1fr auto;
  }

  .chillons-cart-product {
    grid-column: 1 / -1;
  }

  .chillons-cart-product img {
    height: 64px;
    width: 80px;
  }
}

/* Local ticket flow: mirrors the original Order / Checkout modal without data collection. */
.chillons-cart-backdrop {
  align-items: center;
  background: rgba(18, 17, 15, 0.55);
  padding: 16px;
  z-index: 2147483647;
}

.chillons-cart-dialog {
  background: var(--chillons-gold);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(28, 26, 23, 0.34);
  color: #343434;
  height: min(1010px, calc(100vh - 32px));
  max-height: calc(100vh - 32px);
  max-width: 1080px;
  overflow: auto;
  padding: 0;
  width: 100%;
}

.chillons-checkout-header {
  align-items: center;
  background: var(--chillons-gold);
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: 42px 70px minmax(0, 1fr) 42px;
  min-height: 86px;
  padding: 16px 48px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.chillons-checkout-language {
  font-size: 16px;
  white-space: nowrap;
}

.chillons-checkout-back,
.chillons-cart-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 30px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: static;
  width: 42px;
}

.chillons-checkout-back[hidden] {
  display: flex !important;
  visibility: hidden;
}

.chillons-checkout-steps {
  align-items: center;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.chillons-checkout-steps li {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 400;
  min-width: 0;
  position: relative;
  white-space: nowrap;
}

.chillons-checkout-steps li:not(:last-child)::after {
  border-top: 1px solid rgba(255, 255, 255, 0.95);
  content: "";
  display: block;
  margin: 0 8px;
  min-width: 32px;
  width: clamp(32px, 6vw, 76px);
}

.chillons-checkout-steps li span {
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  margin-right: 7px;
  position: relative;
  width: 20px;
}

.chillons-checkout-steps li.is-current {
  font-weight: 700;
}

.chillons-checkout-steps li.is-current span::after,
.chillons-checkout-steps li.is-complete span::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  inset: 4px;
  position: absolute;
}

.chillons-checkout-steps li.is-complete span::after {
  background: transparent;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  border-radius: 0;
  height: 8px;
  inset: 2px 5px 5px 5px;
  transform: rotate(45deg);
  width: 5px;
}

.chillons-checkout-content {
  background: linear-gradient(174deg, var(--chillons-gold) 0 77%, #fff 77% 100%);
  min-height: calc(100% - 86px);
  padding: 12px 60px 90px;
  position: relative;
}

.chillons-order-screen,
.chillons-checkout-screen {
  margin: 0 auto;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.chillons-screen-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 8px 0 30px;
}

.chillons-order-card,
.chillons-order-summary {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(28, 26, 23, 0.08);
  color: #353535;
  padding: 30px;
}

.chillons-order-product-title {
  color: #353535;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 28px;
}

.chillons-order-description {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 26px;
}

.chillons-order-description p {
  margin: 0 0 18px;
}

.chillons-order-date-label {
  font-size: 15px;
  margin: 0 0 10px;
}

.chillons-order-calendar {
  border: 1px solid #dfe4e8;
  border-radius: 6px;
  max-width: 330px;
  padding: 10px;
}

.chillons-calendar-heading {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto 1fr;
  margin-bottom: 12px;
}

.chillons-calendar-heading strong {
  font-size: 16px;
  text-align: center;
  text-transform: capitalize;
  white-space: nowrap;
}

.chillons-calendar-heading button {
  background: transparent;
  border: 0;
  color: #333;
  cursor: pointer;
  font: inherit;
  min-height: 38px;
  padding: 4px;
}

.chillons-calendar-heading button:last-child {
  text-align: right;
}

.chillons-calendar-heading button:first-child {
  text-align: left;
}

.chillons-calendar-heading button:disabled {
  cursor: default;
  opacity: 0.25;
}

.chillons-calendar-weekdays,
.chillons-calendar-days {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(7, 1fr);
}

.chillons-calendar-weekdays span {
  color: #555;
  font-size: 11px;
  padding: 5px 0;
  text-align: center;
}

.chillons-calendar-days button,
.chillons-calendar-days .is-blank {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  min-height: 36px;
}

.chillons-calendar-days button {
  color: #222;
  cursor: pointer;
}

.chillons-calendar-days button.is-low {
  background: #f5faf6;
}

.chillons-calendar-days button.is-medium {
  background: #fff9e8;
}

.chillons-calendar-days button.is-high {
  background: #fff2df;
}

.chillons-calendar-days button.is-selected {
  border-color: #292929;
  box-shadow: inset 0 0 0 1px #292929;
}

.chillons-calendar-days button:disabled {
  background: #e8edf1;
  color: #b2bac0;
  cursor: default;
}

.chillons-demand-legend {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 16px;
  margin: 12px 0 24px;
}

.chillons-demand-legend span::before {
  border: 1px solid #cbd1d4;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 10px;
  margin-right: 4px;
  width: 10px;
}

.chillons-demand-legend .is-low::before {
  background: #f5faf6;
}

.chillons-demand-legend .is-medium::before {
  background: #fff9e8;
}

.chillons-demand-legend .is-high::before {
  background: #fff2df;
}

.chillons-order-schedule {
  border-bottom: 1px solid #dfe4e8;
  margin: 0;
  padding: 0 0 24px;
}

.chillons-order-schedule > div {
  display: grid;
  gap: 18px;
  grid-template-columns: 112px 1fr;
}

.chillons-order-schedule dt,
.chillons-order-schedule dd {
  margin: 0;
}

.chillons-order-schedule dt {
  font-weight: 700;
}

.chillons-rate-row {
  align-items: center;
  border-bottom: 1px solid #dfe4e8;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 110px 140px;
  min-height: 108px;
  padding: 20px 0;
}

.chillons-rate-row > div > strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.chillons-rate-row p {
  margin: 5px 0 0;
}

.chillons-rate-row label span {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.chillons-rate-row select {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 5px;
  color: #303030;
  font: inherit;
  height: 44px;
  min-width: 108px;
  padding: 0 12px;
}

.chillons-rate-price {
  font-size: 16px;
  text-align: right;
}

.chillons-order-validation {
  color: #fff;
  margin: 12px 0 0;
  min-height: 22px;
}

.chillons-order-next,
.chillons-cart-continue {
  background: #fff;
  border: 0;
  border-radius: 3px;
  color: var(--chillons-gold-dark);
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  margin: 12px 0 0 auto;
  min-height: 52px;
  padding: 13px 30px;
  width: min(100%, 320px);
}

.chillons-order-next:hover,
.chillons-order-next:focus-visible,
.chillons-cart-continue:hover,
.chillons-cart-continue:focus-visible {
  background: #f7f2ec;
  color: var(--chillons-gold-dark);
}

.chillons-order-next:disabled,
.chillons-cart-continue:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.chillons-payment-message {
  color: #fff;
  font-size: 15px;
  margin: 14px 0 0;
  max-width: 730px;
}

.chillons-payment-message.is-error {
  font-weight: 700;
}

.chillons-checkout-screen {
  max-width: 730px;
}

.chillons-order-summary {
  padding: 26px 30px;
}

.chillons-summary-toggle {
  align-items: center;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #dfe4e8;
  color: #343434;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  justify-content: space-between;
  padding: 10px 0 26px;
  text-align: left;
  width: 100%;
}

.chillons-summary-toggle > span:last-child {
  color: var(--chillons-gold);
  font-size: 34px;
  font-weight: 400;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.chillons-summary-toggle[aria-expanded="true"] > span:last-child {
  transform: rotate(180deg);
}

.chillons-summary-lines[hidden] {
  display: none;
}

.chillons-summary-lines {
  border-bottom: 1px solid #dfe4e8;
  padding: 12px 0;
}

.chillons-summary-line {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 9px 0;
}

.chillons-summary-line > div span {
  color: #666;
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

.chillons-summary-line button {
  background: transparent;
  border: 0;
  color: var(--chillons-muted);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.chillons-summary-totals {
  margin: 0;
  padding-top: 12px;
}

.chillons-summary-totals > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.chillons-summary-totals dt,
.chillons-summary-totals dd {
  margin: 0;
}

.chillons-summary-totals .is-total {
  font-weight: 700;
}

.chillons-cart-empty {
  padding: 18px 0;
}

@media (max-width: 900px) {
  .chillons-checkout-header {
    gap: 8px;
    grid-template-columns: 38px 1fr 38px;
    padding: 12px 18px;
  }

  .chillons-checkout-language {
    display: none;
  }

  .chillons-checkout-steps {
    justify-content: flex-start;
    overflow: hidden;
  }

  .chillons-checkout-steps li {
    font-size: 13px;
  }

  .chillons-checkout-steps li:not(:last-child)::after {
    margin: 0 4px;
    min-width: 12px;
    width: 12px;
  }

  .chillons-checkout-content {
    padding: 12px 22px 70px;
  }
}

@media (max-width: 640px) {
  .chillons-cart-backdrop {
    align-items: stretch;
    padding: 0;
  }

  .chillons-cart-dialog {
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
  }

  .chillons-checkout-header {
    min-height: 72px;
  }

  .chillons-checkout-steps li {
    font-size: 0;
  }

  .chillons-checkout-steps li span {
    margin-right: 0;
  }

  .chillons-checkout-content {
    min-height: calc(100% - 72px);
    padding: 12px 14px 54px;
  }

  .chillons-screen-title {
    margin-bottom: 18px;
  }

  .chillons-order-card,
  .chillons-order-summary {
    padding: 20px 16px;
  }

  .chillons-order-calendar {
    max-width: none;
  }

  .chillons-rate-row {
    align-items: end;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px 0;
  }

  .chillons-rate-row > div {
    grid-column: 1 / -1;
  }

  .chillons-rate-price {
    min-width: 100px;
  }

  .chillons-order-next,
  .chillons-cart-continue {
    width: 100%;
  }

  .chillons-summary-line {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .chillons-summary-line button {
    grid-column: 1 / -1;
    justify-self: start;
    padding-left: 0;
  }
}

button.facetwp-radio {
  appearance: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  min-width: 0;
}

button.facetwp-radio:disabled {
  cursor: not-allowed;
}

button.facetwp-radio:focus-visible,
.chillons-event-theme-toggle:focus-visible,
.chillons-event-theme-options input:focus-visible,
.facetwp-date:focus-visible,
.facetwp-search:focus-visible {
  outline: 2px solid var(--chillons-gold);
  outline-offset: 2px;
}

.chillons-event-theme-control {
  position: relative;
  width: 100%;
}

.chillons-event-theme-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  color: var(--chillons-muted);
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: space-between;
  min-height: 39px;
  padding: 6px 12px;
  text-align: left;
  width: 100%;
}

.chillons-event-theme-options[hidden] {
  display: none !important;
}

.chillons-event-theme-options {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 10px 28px rgba(28, 26, 23, 0.16);
  left: 0;
  max-height: 320px;
  overflow: auto;
  padding: 6px 0;
  position: absolute;
  right: 0;
  top: calc(100% - 1px);
  z-index: 20;
}

.chillons-event-theme-options label {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0;
  padding: 8px 12px;
}

.chillons-event-theme-options label:hover {
  background: #f7f3ef;
}

.chillons-event-theme-options label:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.45;
}

.chillons-event-theme-counter {
  color: var(--chillons-muted);
  font-size: 0.8em;
}

.facetwp-facet-calendar .facetwp-date,
.facetwp-facet-search_facet .facetwp-search {
  min-height: 39px;
}

.chillons-event-card[hidden],
.chillons-event-no-results[hidden] {
  display: none !important;
}

.chillons-event-no-results {
  border: 1px solid #ddd;
  color: var(--chillons-muted);
  margin: 30px 0 0;
  padding: 24px;
  text-align: center;
}

@media (max-width: 767.98px) {
  .facetwp-facet-month_filter {
    flex-wrap: wrap;
  }

  .facetwp-facet-month_filter button.facetwp-radio {
    flex: 1 1 20%;
  }

  .chillons-event-theme-options label {
    text-align: left;
  }
}
