/* PDC checkout: booking lines, your details and payment on the left, the big event panel on the right.
   Loaded after pdc.css (which supplies the fonts and the --pdc-* colour tokens). */

body.pdc-checkout {
  background: #fff;
}

.pdc-co {
  --co-text: 17px;
  --co-line: #e4e4e4;
  --co-field: #f2f2f2;
  --co-radius: 24px;
  display: block;
  min-height: 100vh;
  color: var(--pdc-black);
  font-family: var(--pdc-font-body);
  font-size: var(--co-text);
  line-height: 1.45;
}
.pdc-co *,
.pdc-co *::before,
.pdc-co *::after {
  box-sizing: border-box;
}

/* ---------- top bar + title ---------- */
.pdc-co__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--co-line);
}
.pdc-co__back {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.pdc-co__back:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.pdc-co__brand {
  font-family: var(--pdc-font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pdc-co__wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) 96px;
}
.pdc-co__title {
  margin: 0 0 clamp(24px, 3vw, 44px);
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
}
.pdc-co__empty {
  max-width: 520px;
  padding: 40px;
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius);
}
.pdc-co__btn,
.pdc-co #place_order,
.pdc-co .woocommerce-button,
.pdc-co button.button,
.pdc-co a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--pdc-lime);
  color: var(--pdc-black);
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.pdc-co__btn:hover,
.pdc-co #place_order:hover,
.pdc-co button.button:hover,
.pdc-co a.button:hover {
  background: #e3f33f;
  transform: translateY(-1px);
}

/* ---------- two columns ---------- */
.pdc-co__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.pdc-co__side {
  position: sticky;
  top: 30px;
}
.admin-bar .pdc-co__side {
  top: 62px;
}
.pdc-co__block {
  margin: 0 0 24px;
  padding: clamp(22px, 2.6vw, 36px);
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius);
  background: #fff;
}
.pdc-co__h,
.pdc-co .woocommerce-billing-fields > h3,
.pdc-co .woocommerce-shipping-fields > h3,
.pdc-co .woocommerce-additional-fields > h3 {
  margin: 0 0 20px;
  padding: 0;
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}

/* ---------- booking lines ---------- */
.pdc-co__block--booking.is-busy {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.pdc-co table.shop_table {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: collapse;
  background: none;
}
.pdc-co table.shop_table th,
.pdc-co table.shop_table td {
  padding: 0;
  border: 0;
  background: none;
  vertical-align: top;
  text-align: left;
}
.pdc-co table.shop_table tbody td {
  padding: 4px 0 22px;
}
.pdc-co table.shop_table .product-total,
.pdc-co table.shop_table tfoot td {
  text-align: right;
  white-space: nowrap;
}
.pdc-co-line__name {
  display: block;
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
}
.pdc-co-line__rate {
  display: block;
  margin-top: 4px;
  color: #555;
}
.pdc-co-line__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.pdc-co-qty {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  overflow: hidden;
  border-radius: 12px;
  background: #e7e7e7;
}
.pdc-co-qty__btn {
  width: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pdc-black);
  font-family: var(--pdc-font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.pdc-co-qty__btn:hover:not(:disabled) {
  background: #d9d9d9;
}
.pdc-co-qty__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.pdc-co-qty__input {
  width: 52px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-family: var(--pdc-font-label);
  font-size: 18px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.pdc-co-qty__input::-webkit-outer-spin-button,
.pdc-co-qty__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.pdc-co-remove {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #555;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.pdc-co-remove:hover {
  color: var(--pdc-black);
}
.pdc-co table.shop_table .product-total {
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: 20px;
}
.pdc-co table.shop_table tfoot tr th,
.pdc-co table.shop_table tfoot tr td {
  padding: 8px 0;
  border-top: 1px solid var(--co-line);
  font-weight: 500;
}
.pdc-co table.shop_table tfoot tr:first-child th,
.pdc-co table.shop_table tfoot tr:first-child td {
  border-top: 1px solid var(--co-line);
}
.pdc-co table.shop_table .order-total th,
.pdc-co table.shop_table .order-total td {
  padding-top: 14px;
  font-family: var(--pdc-font-display);
  font-size: 24px;
}
.pdc-co-msg {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fde8ea;
  color: #8a1f2b;
}

/* ---------- your details ---------- */
.pdc-co .woocommerce-billing-fields__field-wrapper,
.pdc-co .woocommerce-shipping-fields__field-wrapper,
.pdc-co .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
}
.pdc-co .form-row {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pdc-co .form-row-wide,
.pdc-co #billing_email_field,
.pdc-co #billing_address_1_field,
.pdc-co #billing_address_2_field,
.pdc-co #billing_country_field,
.pdc-co #order_comments_field,
.pdc-co .form-row.notes {
  grid-column: 1 / -1;
}
.pdc-co label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 15px;
}
.pdc-co label .required {
  color: #d03a3a;
  text-decoration: none;
}
.pdc-co label .optional {
  color: #777;
  font-weight: 400;
}
.pdc-co input[type="text"],
.pdc-co input[type="email"],
.pdc-co input[type="tel"],
.pdc-co input[type="password"],
.pdc-co input[type="number"]:not(.pdc-co-qty__input),
.pdc-co select,
.pdc-co textarea,
.pdc-co .select2-container--default .select2-selection--single {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--co-field);
  color: var(--pdc-black);
  font-family: var(--pdc-font-body);
  font-size: 17px;
  box-shadow: none;
}
.pdc-co textarea {
  min-height: 110px;
}
.pdc-co input:focus,
.pdc-co select:focus,
.pdc-co textarea:focus,
.pdc-co .select2-container--open .select2-selection--single,
.pdc-co .select2-container--focus .select2-selection--single {
  border-color: var(--pdc-black);
  outline: 0;
  background: #fff;
}
.pdc-co .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.pdc-co .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  color: var(--pdc-black);
  line-height: 1.4;
}
.pdc-co .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 10px;
  height: 100%;
}
.pdc-co .woocommerce-invalid input.input-text,
.pdc-co .woocommerce-invalid .select2-selection {
  border-color: #d03a3a;
}
.pdc-co .woocommerce-shipping-fields,
.pdc-co .woocommerce-additional-fields {
  margin-top: 24px;
}
.pdc-co #ship-to-different-address {
  font-size: 18px;
}

/* ---------- payment ---------- */
.pdc-co #payment {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.pdc-co #payment ul.payment_methods {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  list-style: none;
}
.pdc-co #payment ul.payment_methods li {
  margin: 0 0 10px;
  padding: 14px 16px;
  border: 1px solid var(--co-line);
  border-radius: 14px;
  list-style: none;
}
.pdc-co #payment ul.payment_methods li label {
  display: inline;
  margin: 0;
  font-size: 17px;
}
.pdc-co #payment div.payment_box {
  margin: 12px 0 0;
  padding: 0;
  background: none;
  color: #555;
}
.pdc-co #payment div.payment_box::before {
  display: none;
}
.pdc-co #payment .place-order {
  margin: 0;
  padding: 0;
}
.pdc-co #place_order {
  width: 100%;
  min-height: 60px;
  font-size: 20px;
}
.pdc-co .woocommerce-privacy-policy-text,
.pdc-co .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 18px;
  color: #555;
  font-size: 15px;
}
.pdc-co .woocommerce-terms-and-conditions-wrapper a,
.pdc-co .woocommerce-privacy-policy-text a {
  color: inherit;
}
.pdc-co .woocommerce-info,
.pdc-co .woocommerce-message,
.pdc-co .woocommerce-error {
  margin: 0 0 24px;
  padding: 14px 18px;
  list-style: none;
  border: 0;
  border-radius: 12px;
  background: var(--co-field);
  color: var(--pdc-black) !important;
}
.pdc-co .woocommerce-info *,
.pdc-co .woocommerce-message *,
.pdc-co .woocommerce-error * {
  color: inherit;
}
.pdc-co .woocommerce-info::before,
.pdc-co .woocommerce-message::before,
.pdc-co .woocommerce-error::before {
  display: none;
}
.pdc-co .woocommerce-error {
  background: #fde8ea;
  color: #8a1f2b;
}
.pdc-co .woocommerce-info a,
.pdc-co .showcoupon {
  color: inherit;
  font-weight: 600;
}
.pdc-co form.checkout_coupon {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--co-line);
  border-radius: 14px;
}

/* ---------- the big event panel ---------- */
.pdc-co-event {
  overflow: hidden;
  border: 1px solid var(--co-line);
  border-radius: var(--co-radius);
  background: #fff;
}
.pdc-co-event__photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #111;
}
.pdc-co-event__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
}
.pdc-co-event__body {
  padding: clamp(22px, 2.6vw, 36px);
}
.pdc-co-event__title {
  margin: 0;
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}
.pdc-co-event__rate {
  margin: 8px 0 0;
  color: #666;
  font-family: var(--pdc-font-display);
  font-size: clamp(20px, 2vw, 26px);
}
.pdc-co-event__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 40px;
  margin: 26px 0 0;
}
.pdc-co-event__meta dt {
  color: #777;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pdc-co-event__meta dd {
  margin: 4px 0 0;
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
}
.pdc-co-event__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--co-line);
}
.pdc-co-event__total span {
  color: #555;
}
.pdc-co-event__total b {
  font-family: var(--pdc-font-display);
  font-weight: 500;
  font-size: 32px;
}

/* ---------- order received ---------- */
.pdc-co .woocommerce-order {
  max-width: 760px;
}
.pdc-co .woocommerce-thankyou-order-received {
  margin: 0 0 24px;
  font-family: var(--pdc-font-display);
  font-size: 24px;
}
.pdc-co ul.order_details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.pdc-co ul.order_details li {
  margin: 0;
  padding: 0 0 0 0;
  border: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
}
.pdc-co ul.order_details li strong {
  display: block;
  margin-top: 4px;
  color: var(--pdc-black);
  font-family: var(--pdc-font-display);
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- tablets and phones: the event panel sits on top ---------- */
@media (max-width: 960px) {
  .pdc-co__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pdc-co__side {
    position: static;
    order: -1;
  }
  .pdc-co-event__photo {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 600px) {
  .pdc-co .woocommerce-billing-fields__field-wrapper,
  .pdc-co .woocommerce-shipping-fields__field-wrapper,
  .pdc-co .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .pdc-co-event__photo {
    aspect-ratio: 16 / 8;
  }
  .pdc-co-event__body {
    padding: 18px 20px 20px;
  }
  .pdc-co-event__title {
    font-size: 22px;
  }
  .pdc-co-event__rate {
    font-size: 17px;
  }
  .pdc-co-event__meta {
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 6px 22px;
    margin-top: 16px;
  }
  .pdc-co-event__meta dd {
    font-size: 15px;
  }
  .pdc-co-event__total {
    display: none;
  }
  .pdc-co-line__name {
    font-size: 18px;
  }
  .pdc-co table.shop_table .product-total {
    font-size: 18px;
  }
  .pdc-co__block {
    padding: 20px;
  }
  .pdc-co__brand {
    display: none;
  }
}
