body.shop-shell-v2 .shop-voucher-agenda-v2 {
  --shop-voucher-agenda-text-color: #3c3f3f;
  --shop-voucher-agenda-muted-color: color-mix(in srgb, var(--shop-voucher-agenda-text-color) 58%, white);
  --shop-voucher-agenda-border-color: color-mix(in srgb, var(--shop-voucher-agenda-text-color) 14%, transparent);
  --shop-voucher-agenda-soft-accent: color-mix(in srgb, var(--shop-v2-main-color) 10%, white);
  --shop-voucher-agenda-focus-color: color-mix(in srgb, var(--shop-v2-main-color) 34%, transparent);
  --shop-voucher-agenda-primary-button-background: var(--shop-v2-buy-buttons-bg-color, var(--shop-v2-main-color));
  --shop-voucher-agenda-primary-button-text: var(--shop-v2-buy-buttons-text-color, #ffffff);
  --shop-voucher-agenda-secondary-button-background: var(--shop-v2-other-buttons-bg-color, var(--shop-v2-secondary-color));
  --shop-voucher-agenda-secondary-button-text: var(--shop-v2-other-buttons-text-color, var(--shop-v2-secondary-color-text-color));
  position: relative;
  color: var(--shop-voucher-agenda-text-color);
  background: #ffffff;
  font-size: var(--shop-v2-font-size-base);
}

body.shop-shell-v2 .shop-voucher-agenda-v2__instruction {
  margin: 0 0 16px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__instruction-title {
  margin: 0;
  color: var(--shop-voucher-agenda-text-color);
  font-size: var(--shop-v2-font-size-xl);
  font-weight: 700;
  line-height: 1.35;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__calendar-region {
  position: relative;
  min-height: 112px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

body.shop-shell-v2 #booking-modal.shop-voucher-agenda-v2-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 1320px;
  margin: 16px auto;
}

body.shop-shell-v2 #booking-modal.shop-voucher-agenda-v2-modal .modal-content {
  background: #ffffff;
  border-radius: 18px;
}

body.shop-shell-v2 #booking-modal.shop-voucher-agenda-v2-modal .modal-body {
  padding: 28px 36px 36px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .calendar-wrapper {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 16px 18px 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--shop-voucher-agenda-border-color);
  border-radius: 16px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--shop-voucher-agenda-text-color) 8%, transparent);
}

body.shop-shell-v2 .shop-voucher-agenda-v2__loading,
body.shop-shell-v2 .shop-voucher-agenda-v2 .calendar-loader {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--shop-voucher-agenda-text-color);
  background: color-mix(in srgb, #ffffff 92%, transparent);
  font-size: var(--shop-v2-font-size-md);
}

body.shop-shell-v2 .shop-voucher-agenda-v2__spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid color-mix(in srgb, var(--shop-v2-main-color) 22%, white);
  border-top-color: var(--shop-v2-main-color);
  border-radius: 50%;
  animation: shop-voucher-agenda-v2-spin 0.8s linear infinite;
}

@keyframes shop-voucher-agenda-v2-spin {
  to {
    transform: rotate(360deg);
  }
}

body.shop-shell-v2 .shop-voucher-agenda-v2__month-navigator {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 10px;
  color: var(--shop-v2-main-color-text-color);
  background: var(--shop-v2-main-color);
  border-radius: 9px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__month-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__month-button:hover,
body.shop-shell-v2 .shop-voucher-agenda-v2__month-button:focus-visible {
  background: color-mix(in srgb, currentColor 14%, transparent);
  border-color: currentColor;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__month-button:active {
  transform: scale(0.96);
}

body.shop-shell-v2 .shop-voucher-agenda-v2__month-title {
  margin: 0;
  color: inherit;
  font-size: var(--shop-v2-font-size-xl);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__calendar-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  white-space: normal;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__day {
  box-sizing: border-box;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
  min-height: 76px;
  margin: 0;
  padding: 8px 5px 7px;
  color: var(--shop-voucher-agenda-text-color);
  background: #ffffff;
  border: 1px solid var(--shop-voucher-agenda-border-color);
  border-radius: 8px;
  font-size: var(--shop-v2-font-size-base);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__day--weekday {
  flex-direction: row;
  gap: 0;
  min-height: 34px;
  color: var(--shop-voucher-agenda-muted-color);
  background: var(--shop-voucher-agenda-soft-accent);
  border-color: transparent;
  font-size: var(--shop-v2-font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__day--empty {
  flex-direction: row;
  border-color: transparent;
  background: #ffffff;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 button.shop-voucher-agenda-v2__day {
  appearance: none;
  cursor: pointer;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day-unavailable {
  color: var(--shop-voucher-agenda-muted-color);
  background: #ffffff;
  cursor: not-allowed;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day-available {
  color: var(--shop-voucher-agenda-text-color);
  background: var(--shop-voucher-agenda-soft-accent);
  border-color: color-mix(in srgb, var(--shop-v2-main-color) 42%, transparent);
  cursor: pointer;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day-available:hover,
body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day-available:focus-visible,
body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day-alt-selected {
  color: var(--shop-v2-main-color-text-color);
  background: var(--shop-v2-main-color);
  border-color: var(--shop-v2-main-color);
  box-shadow: 0 5px 12px color-mix(in srgb, var(--shop-v2-main-color) 24%, transparent);
  outline: none;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day:focus-visible,
body.shop-shell-v2 .shop-voucher-agenda-v2 .booking-timeslot-alt:focus-visible,
body.shop-shell-v2 .shop-voucher-agenda-v2 button:focus-visible {
  outline: 3px solid var(--shop-voucher-agenda-focus-color);
  outline-offset: 2px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .calendar-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 2px;
  color: var(--shop-voucher-agenda-muted-color);
  font-size: var(--shop-v2-font-size-sm);
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .calendar-legend img,
body.shop-shell-v2 .shop-voucher-agenda-v2 .lowest-price-tag img {
  transform: scaleX(-1);
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .lowest-price-tag {
  z-index: 1;
  top: 4px;
  right: 4px;
  transform: scaleX(-1);
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .lowest-price-tag img {
  width: 16px;
  height: 16px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .min-day-price {
  display: block;
  margin-top: 1px;
  color: var(--shop-v2-main-color);
  font-size: var(--shop-v2-font-size-xs) !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .min-day-price-full {
  display: block;
  justify-content: center;
  color: inherit;
  font-size: var(--shop-v2-font-size-md);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .min-day-price-full span {
  display: inline;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day-alt-selected .min-day-price,
body.shop-shell-v2 .shop-voucher-agenda-v2 .cal-booking-day-alt-selected .min-day-price-full {
  color: var(--shop-v2-main-color-text-color);
}

body.shop-shell-v2 .shop-voucher-agenda-v2__empty {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  color: var(--shop-voucher-agenda-muted-color);
  background: #ffffff;
  border: 1px solid var(--shop-voucher-agenda-border-color);
  border-radius: 12px;
  text-align: center;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__error {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  color: var(--shop-voucher-agenda-text-color);
  background: #ffffff;
  border: 1px solid var(--shop-voucher-agenda-border-color);
  border-radius: 12px;
  text-align: center;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__error-message {
  margin: 0;
  font-size: var(--shop-v2-font-size-md);
  font-weight: 700;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__retry-button {
  padding: 9px 16px;
  color: var(--shop-voucher-agenda-primary-button-text);
  background: var(--shop-voucher-agenda-primary-button-background);
  border: 1px solid var(--shop-voucher-agenda-primary-button-background);
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--shop-v2-font-size-md);
  font-weight: 700;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__retry-button:hover,
body.shop-shell-v2 .shop-voucher-agenda-v2__retry-button:focus-visible {
  box-shadow: 0 5px 12px color-mix(in srgb, var(--shop-voucher-agenda-primary-button-background) 24%, transparent);
  outline: 3px solid var(--shop-voucher-agenda-focus-color);
  outline-offset: 2px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__day-wrapper {
  width: 100%;
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 18px;
  color: var(--shop-voucher-agenda-text-color);
  background: #ffffff;
  border: 1px solid var(--shop-voucher-agenda-border-color);
  border-radius: 12px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__day-skeleton {
  display: grid;
  gap: 16px;
  min-height: 210px;
  padding: 4px 2px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-line,
body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-chip {
  display: block;
  background: linear-gradient(
    90deg,
    var(--shop-voucher-agenda-soft-accent) 20%,
    color-mix(in srgb, var(--shop-v2-main-color) 20%, white) 50%,
    var(--shop-voucher-agenda-soft-accent) 80%
  );
  background-size: 220% 100%;
  animation: shop-voucher-agenda-v2-skeleton 1.25s ease-in-out infinite;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-line {
  height: 16px;
  border-radius: 999px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-line--title {
  width: 54%;
  height: 22px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-line--notice {
  width: 82%;
  height: 42px;
  border-radius: 8px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-timeslots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-chip {
  width: 82px;
  height: 42px;
  border-radius: 8px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2__day-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: var(--shop-voucher-agenda-muted-color);
  font-size: var(--shop-v2-font-size-md);
  font-weight: 700;
  text-align: center;
}

@keyframes shop-voucher-agenda-v2-skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .day-body h4 {
  margin: 0 0 14px;
  color: var(--shop-voucher-agenda-text-color);
  font-size: var(--shop-v2-font-size-lg);
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .day-footer .alert,
body.shop-shell-v2 #popupBookingVoucherDay .alert {
  color: var(--shop-voucher-agenda-text-color);
  background: var(--shop-voucher-agenda-soft-accent);
  border-color: color-mix(in srgb, var(--shop-v2-main-color) 22%, transparent);
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .bookingVoucherDay-timeslots-container {
  margin-bottom: 18px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .bookingVoucherDay-pricecat-title {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  color: var(--shop-v2-main-color-text-color);
  background: var(--shop-v2-main-color);
  border-radius: 8px;
  font-size: var(--shop-v2-font-size-md);
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .bookingVoucherDay-pricecat-title img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: -5px;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .booking-timeslot-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 44px;
  margin: 4px;
  padding: 10px 14px;
  color: var(--shop-voucher-agenda-secondary-button-text);
  background: var(--shop-voucher-agenda-secondary-button-background);
  border: 1px solid color-mix(in srgb, var(--shop-voucher-agenda-secondary-button-text) 18%, transparent);
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--shop-v2-font-size-md);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  user-select: none;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .booking-timeslot-alt:hover,
body.shop-shell-v2 .shop-voucher-agenda-v2 .booking-timeslot-alt:focus-visible,
body.shop-shell-v2 .shop-voucher-agenda-v2 .booking-timeslot-alt-selected {
  color: var(--shop-v2-main-color-text-color);
  background: var(--shop-v2-main-color);
  border-color: var(--shop-v2-main-color);
  box-shadow: 0 5px 12px color-mix(in srgb, var(--shop-v2-main-color) 24%, transparent);
  outline: none;
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .calendar-legend {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--shop-voucher-agenda-border-color);
  font-weight: 700;
}

body.shop-shell-v2 #popupBookingVoucherDay .booking-timeslot:hover,
body.shop-shell-v2 #popupBookingVoucherDay .booking-timeslot:focus-visible {
  color: var(--shop-v2-main-color-text-color);
  background: var(--shop-v2-main-color);
  border-color: var(--shop-v2-main-color);
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .day-footer .btn-success,
body.shop-shell-v2 .shop-voucher-agenda-v2 .booking-timeslot-submit.btn-success,
body.shop-shell-v2 #popupBookingVoucherDay .btn-success {
  color: var(--shop-voucher-agenda-primary-button-text);
  background: var(--shop-voucher-agenda-primary-button-background);
  border-color: var(--shop-voucher-agenda-primary-button-background);
}

body.shop-shell-v2 .shop-voucher-agenda-v2 .day-footer .btn-default,
body.shop-shell-v2 .shop-voucher-agenda-v2 .booking-timeslot-submit.btn-default,
body.shop-shell-v2 #popupBookingVoucherDay .btn-default {
  color: var(--shop-voucher-agenda-secondary-button-text);
  background: var(--shop-voucher-agenda-secondary-button-background);
  border-color: color-mix(in srgb, var(--shop-voucher-agenda-secondary-button-text) 18%, transparent);
}

@media (max-width: 768px) {
  body.shop-shell-v2 .shop-voucher-agenda-v2 .calendar-wrapper {
    padding: 8px;
    border-radius: 10px;
  }

  body.shop-shell-v2 #booking-modal.shop-voucher-agenda-v2-modal .modal-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
  }

  body.shop-shell-v2 #booking-modal.shop-voucher-agenda-v2-modal .modal-body {
    padding: 18px 12px 20px;
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2__calendar-row {
    gap: 3px;
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2__day {
    min-height: 64px;
    padding: 6px 2px;
    font-size: var(--shop-v2-font-size-sm);
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2__day--weekday {
    min-height: 30px;
    font-size: var(--shop-v2-font-size-xs);
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2 .lowest-price-tag {
    top: 2px;
    right: 2px;
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2 .lowest-price-tag img {
    width: 10px;
    height: 10px;
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2 .min-day-price-full {
    font-size: var(--shop-v2-font-size-xs);
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2 .min-day-price {
    font-size: var(--shop-v2-font-size-xxs) !important;
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2__day-wrapper {
    padding: 12px;
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2__day-skeleton {
    min-height: 180px;
    gap: 12px;
  }

  body.shop-shell-v2 .shop-voucher-agenda-v2__skeleton-chip {
    width: 68px;
    height: 38px;
  }
}

body.shop-shell-v2 .shop-voucher-agenda-v2__day-wrapper,
body.shop-shell-v2 .shop-voucher-agenda-v2 .calendar-loader {
  display: none;
}

/* Voucher booking pages. */
body.shop-shell-v2 .shop-booking-v2--voucher,
body.shop-shell-v2 .shop-booking-v2--voucher-confirmation {
  --shop-booking-v2-accent: var(--shop-v2-main-color, #5dc4f1);
}

body.shop-shell-v2 .shop-booking-v2--voucher .confirm-booking,
body.shop-shell-v2 .shop-booking-v2--voucher-confirmation .shop-btn-spec {
  width: 100%;
  min-height: 48px;
  font-size: var(--shop-v2-font-size-md, 16px);
}

/* Keep the standalone voucher agenda visually aligned with the cart modal. */
body.shop-shell-v2 .shop-booking-v2--voucher .shop-booking-v2__agenda-panel > .panel-heading,
body.shop-shell-v2 .shop-booking-v2--voucher .shop-voucher-agenda-v2__instruction {
  text-align: center;
}

body.shop-shell-v2 .shop-booking-v2--voucher .shop-booking-v2__agenda-panel > .panel-body {
  padding: 24px;
}

body.shop-shell-v2 .shop-booking-v2--voucher .shop-voucher-agenda-v2__calendar-region,
body.shop-shell-v2 .shop-booking-v2--voucher .shop-voucher-agenda-v2__day-wrapper {
  max-width: 1120px;
}

body.shop-shell-v2 .shop-booking-v2--voucher .shop-voucher-agenda-v2__day-wrapper[aria-busy="true"] {
  min-height: 210px;
}

body.shop-shell-v2 .shop-booking-v2--voucher .shop-booking-v2__voucher-entry {
  flex: 1 1 auto;
  min-width: 0;
}

body.shop-shell-v2 .shop-booking-v2--voucher .shop-booking-v2__voucher-entry .bookable-voucher {
  width: 100%;
}

body.shop-shell-v2 .shop-booking-v2--voucher .shop-booking-v2__voucher-addon {
  flex: 0 0 auto;
}

body.shop-shell-v2 .shop-booking-v2--voucher-confirmation .panel-success > .panel-heading {
  color: var(--shop-booking-v2-text);
  background: color-mix(in srgb, var(--shop-v2-main-color, #5dc4f1) 10%, white);
}

body.shop-shell-v2 .shop-booking-v2--voucher-confirmation .cart-total,
body.shop-shell-v2 .shop-booking-v2--voucher-confirmation #cart_total {
  font-size: var(--shop-v2-font-size-xl, 24px);
  font-weight: 800;
}
