/*
Theme Name: Hello Bramhope
Theme URI: https://www.bramhopevillagehall.uk/
Description: Bramhope Village Show child theme for Hello Elementor.
Author: Bramhope Village Show
Template: hello-elementor
Version: 0.1.0
Text Domain: hello-bramhope
*/

:root {
  --bhs-blue: #2f5b8d;
  --bhs-red: #d9001f;
  --bhs-orange: #ff8e2f;
  --bhs-yellow: #fff200;
  --bhs-lime: #d8ff37;
  --bhs-cream: #f6e5c9;
  --bhs-paper: #fff3dc;
  --bhs-ink: #22334d;
  --bhs-muted: #6b5f50;
  --bhs-line: #e5c999;
}

body {
  color: var(--bhs-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 242, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #f5e3c5 0%, var(--bhs-paper) 42%, #f9e5bf 100%);
}

a {
  color: var(--bhs-blue);
}

h2 {
  color: #2f5b8d;
  font-size: 48px;
  font-weight: 900;
}

.bhs-button,
.elementor-button {
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
}

.bhs-card {
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid rgba(229, 201, 153, 0.9);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(24, 32, 51, 0.06);
}

.bhs-show-info-card {
  background: var(--bhs-paper);
  border: 5px solid rgba(52, 42, 32, 0.8);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(111, 61, 22, 0.18);
  overflow: hidden;
  padding: 14px;
  transform: rotate(1deg);
}

.bhs-show-info-card-inner {
  background: var(--bhs-yellow);
  border: 3px dashed var(--bhs-orange);
  border-radius: 20px;
  padding: 24px;
  transform: rotate(-1deg);
}

.bhs-show-info-card h2 {
  margin: 0 0 18px;
  color: var(--bhs-red);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 3px 0 white;
  text-transform: uppercase;
}

.bhs-show-info-list {
  display: grid;
  gap: 12px;
}

.bhs-show-info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 2px solid rgba(47, 91, 141, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.bhs-show-info-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--bhs-blue);
  color: white;
  font-size: 1.25rem;
}

.bhs-show-info-item h3 {
  margin: 0 0 3px;
  color: var(--bhs-blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-transform: uppercase;
}

.bhs-show-info-item p {
  margin: 0;
  color: var(--bhs-ink);
  font-weight: 900;
  line-height: 1.2;
}

.bhs-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 142, 47, 0.1)),
    url("assets/sunburst-background.png") center top / cover no-repeat,
    var(--bhs-orange);
}

.bhs-hero::before {
  content: "";
  position: absolute;
  inset: 18px 0 auto;
  height: 86px;
  background: url("assets/bunting-transparent-cropped.png") top center / auto 86px repeat-x;
  pointer-events: none;
}

.bhs-classes,
.bhs-programme {
  display: grid;
  gap: 12px;
}

.bhs-class-group,
.bhs-programme-item {
  background: rgba(255, 255, 255, 0.94);
  border: 3px solid rgba(229, 201, 153, 0.9);
  border-radius: 20px;
  overflow: hidden;
}

.bhs-class-group summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  color: var(--bhs-blue);
  font-weight: 900;
  list-style: none;
}

.bhs-class-group summary::-webkit-details-marker {
  display: none;
}

.bhs-class-group summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bhs-cream);
  color: var(--bhs-red);
  font-size: 1.2rem;
  order: 3;
}

.bhs-class-group[open] summary::after {
  content: "-";
}

.bhs-class-toggle-text {
  margin-left: auto;
  color: var(--bhs-red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.bhs-class-toggle-close,
.bhs-class-group[open] .bhs-class-toggle-open {
  display: none;
}

.bhs-class-group[open] .bhs-class-toggle-close {
  display: inline;
}

.bhs-class-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}

.bhs-class-item {
  padding: 10px 12px;
  background: var(--bhs-cream);
  border-radius: 12px;
}

.bhs-class-code {
  color: var(--bhs-red);
  font-weight: 900;
  margin-right: 6px;
}

.bhs-class-note {
  grid-column: 1 / -1;
  background: white;
  border: 2px dashed rgba(47, 91, 141, 0.3);
  color: var(--bhs-blue);
  font-weight: 900;
  text-transform: uppercase;
}

.bhs-programme-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 20px;
}

.bhs-programme-time {
  color: var(--bhs-red);
  font-weight: 900;
}

.bhs-hero-title em {
  color: var(--bhs-lime);
  font-style: normal;
  text-transform: none;
  text-shadow:
    -2px -2px 0 var(--bhs-blue),
    2px -2px 0 var(--bhs-blue),
    -2px 2px 0 var(--bhs-blue),
    2px 2px 0 var(--bhs-blue);
}

.bhs-hero-title span {
  color: var(--bhs-red);
}

.bhs-hero-lead {
  max-width: 690px;
  padding: 20px 26px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(111, 61, 22, 0.12);
}

.bhs-action-strip {
  margin-top: -34px;
}

.bhs-action-buttons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 4px solid var(--bhs-orange);
  border-radius: 30px;
  background: var(--bhs-paper);
  box-shadow: 0 18px 45px rgba(111, 61, 22, 0.18);
}

.bhs-action-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid var(--bhs-blue);
  border-radius: 999px;
  background: var(--bhs-yellow);
  color: var(--bhs-blue);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.bhs-action-buttons a:nth-child(2),
.bhs-action-buttons a:nth-child(5) {
  border-color: transparent;
  background: var(--bhs-red);
  color: white;
}

.bhs-action-buttons a:nth-child(3),
.bhs-action-buttons a:nth-child(6) {
  background: var(--bhs-lime);
}

.bhs-purpose-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 3px solid var(--bhs-orange);
  border-radius: 999px;
  background: white;
  color: var(--bhs-blue);
  font-weight: 900;
}

.bhs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bhs-card-grid .bhs-card {
  padding: 22px;
}

.bhs-elementor-image-card {
  padding: 0 22px 22px;
  overflow: hidden;
}

.bhs-elementor-image-card .elementor-image-box-img {
  width: calc(100% + 44px) !important;
  margin: 0 -22px 18px !important;
}

.bhs-elementor-image-card .elementor-image-box-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 5px solid var(--bhs-yellow);
}

.bhs-elementor-image-card .elementor-image-box-title {
  margin: 0 0 8px;
  color: var(--bhs-blue);
}

.bhs-elementor-image-card .elementor-image-box-description {
  margin: 0;
}

.bhs-site-footer {
  background: #2a221c;
  color: white;
  padding: 42px 0;
}

.bhs-footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.bhs-site-footer h2,
.bhs-site-footer h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 1.1rem;
  line-height: 1.08;
}

.bhs-site-footer p,
.bhs-site-footer a,
.bhs-site-footer li {
  color: rgba(255, 255, 255, 0.78);
}

.bhs-site-footer p {
  margin: 0 0 10px;
}

.bhs-site-footer a {
  text-decoration: none;
}

.bhs-site-footer a:hover,
.bhs-site-footer a:focus {
  color: var(--bhs-yellow);
}

.bhs-site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.bhs-site-footer li + li {
  margin-top: 6px;
}

.bhs-footer-socials {
  display: flex;
  gap: 10px;
}

.bhs-footer-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 900;
}

.bhs-entry-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: start;
}

.bhs-entry-basket,
.bhs-entry-confirmation {
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid rgba(229, 201, 153, 0.9);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(24, 32, 51, 0.06);
}

.bhs-entry-class-picker {
  min-width: 0;
}

.bhs-entry-class-picker h2,
.bhs-entry-basket h2 {
  margin: 0 0 10px;
  color: var(--bhs-blue);
}

.bhs-entry-class-picker > p {
  margin: 0 0 18px;
  color: var(--bhs-muted);
}

.bhs-entry-class-group {
  margin-top: 12px;
  background: white;
  border: 3px solid rgba(229, 201, 153, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(24, 32, 51, 0.05);
}

.bhs-entry-class-group summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--bhs-blue);
  font-weight: 900;
  list-style: none;
}

.bhs-entry-class-group summary::-webkit-details-marker {
  display: none;
}

.bhs-entry-class-group summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--bhs-cream);
  color: var(--bhs-red);
  font-size: 1.2rem;
}

.bhs-entry-class-group[open] summary::after {
  content: "–";
}

.bhs-entry-class-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}

.bhs-entry-class-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bhs-cream);
}

.bhs-entry-class-option.is-selected {
  outline: 3px solid var(--bhs-blue);
  background: #fffbe8;
}

.bhs-entry-class-option strong {
  color: var(--bhs-red);
  margin-right: 6px;
}

.bhs-entry-class-option b {
  grid-column: 1;
  justify-self: start;
  color: var(--bhs-blue);
  font-size: 0.86rem;
}

.bhs-entry-class-quantity {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  gap: 4px;
  min-width: 88px;
  color: var(--bhs-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.bhs-entry-class-quantity input {
  width: 100%;
  border: 2px solid rgba(47, 91, 141, 0.32);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--bhs-ink);
  font: inherit;
  text-align: center;
}

.bhs-entry-basket-list em {
  color: var(--bhs-red);
  font-style: normal;
  font-weight: 900;
}

.bhs-checkout-entry-title {
  display: block;
  margin-bottom: 4px;
  color: var(--bhs-blue);
  font-weight: 900;
}

.bhs-checkout-entry-reference {
  margin-bottom: 8px;
  color: var(--bhs-muted);
  font-size: 0.92rem;
}

.bhs-checkout-entry-classes {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bhs-checkout-entry-classes li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(47, 91, 141, 0.16);
  line-height: 1.25;
}

.bhs-checkout-entry-classes li:last-child {
  border-bottom: 0;
}

.bhs-checkout-entry-classes strong,
.bhs-checkout-entry-classes em,
.bhs-checkout-entry-classes b {
  color: var(--bhs-blue);
  font-style: normal;
  font-weight: 900;
}

.bhs-checkout-entry-classes span {
  min-width: 0;
}

.woocommerce-checkout-review-order-table,
.woocommerce-cart-form .shop_table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 3px solid rgba(229, 201, 153, 0.9);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(24, 32, 51, 0.06);
  overflow: hidden;
}

.woocommerce-checkout #order_review {
  border-radius: 24px;
  overflow: hidden;
}

.woocommerce-checkout-review-order-table tbody tr:first-child .product-name,
.woocommerce-cart-form .shop_table tbody tr:first-child .product-name {
  border-top-left-radius: 21px;
  border-top-right-radius: 21px;
}

.woocommerce-checkout-review-order-table tfoot,
.woocommerce-cart-form .shop_table tfoot {
  border-bottom-left-radius: 21px;
  border-bottom-right-radius: 21px;
}

.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot,
.woocommerce-checkout-review-order-table tr,
.woocommerce-cart-form .shop_table,
.woocommerce-cart-form .shop_table tbody,
.woocommerce-cart-form .shop_table tfoot,
.woocommerce-cart-form .shop_table tr {
  display: block;
}

.woocommerce-checkout-review-order-table .cart_item .product-name,
.woocommerce-cart-form .cart_item .product-name {
  padding: 18px 20px;
}

.woocommerce-checkout-review-order-table .cart_item .product-total,
.woocommerce-checkout-review-order-table .cart_item .product-quantity,
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-cart-form .cart_item .product-price,
.woocommerce-cart-form .cart_item .product-subtotal,
.woocommerce-cart-form .cart_item .product-quantity,
.woocommerce-cart-form .product-subtotal,
.woocommerce-cart-form .cart_item .product-remove,
.woocommerce-cart-form .cart_item .product-thumbnail {
  display: none !important;
}

.woocommerce-checkout-review-order-table .cart_item .product-name,
.woocommerce-cart-form .cart_item .product-name {
  display: block;
  width: 100%;
}

.woocommerce-checkout-review-order-table tfoot,
.woocommerce-cart-form .shop_table tfoot {
  padding: 0 20px 18px;
}

.woocommerce-checkout-review-order-table tfoot tr,
.woocommerce-cart-form .shop_table tfoot tr {
  width: 100%;
}

.woocommerce-checkout-review-order-table .order-total,
.woocommerce-cart-form .shop_table .order-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(47, 91, 141, 0.16);
  color: var(--bhs-blue);
  font-size: 1.15rem;
  font-weight: 900;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-cart-form .shop_table .order-total th,
.woocommerce-cart-form .shop_table .order-total td {
  display: block;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.bhs-checkout-edit-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 6px;
  padding: 7px 14px;
  border: 2px solid var(--bhs-blue);
  border-radius: 999px;
  background: var(--bhs-yellow);
  color: var(--bhs-blue);
  font-weight: 900;
  text-decoration: none;
}

.bhs-block-checkout-entry-list + .bhs-checkout-edit-entry {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  padding: 11px 18px;
  border-width: 3px;
  font-size: 1rem;
}

.bhs-checkout-edit-entry-wrap {
  display: block;
  clear: both;
  width: 100%;
  margin: 0 0 14px;
}

.bhs-checkout-edit-entry-wrap .bhs-checkout-edit-entry {
  width: 100%;
  min-height: 46px;
  padding: 11px 18px;
  border-width: 3px;
  font-size: 1rem;
}

.bhs-checkout-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--bhs-muted);
  font-weight: 800;
}

.bhs-checkout-breadcrumb a {
  color: var(--bhs-blue);
  text-decoration: none;
}

.bhs-checkout-breadcrumb a::before {
  content: "<";
  margin-right: 6px;
}

.bhs-checkout-breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: var(--bhs-line);
}

.bhs-checkout-edit-entry:hover,
.bhs-checkout-edit-entry:focus {
  background: var(--bhs-lime);
  color: var(--bhs-blue);
}

.bhs-block-checkout-entry-title,
.bhs-block-checkout-entry-reference {
  display: block;
}

.bhs-block-checkout-entry-title {
  margin-bottom: 4px;
  color: var(--bhs-blue);
  font-weight: 900;
}

.bhs-block-checkout-entry-reference {
  margin-bottom: 8px;
  color: var(--bhs-muted);
  font-size: 0.92rem;
}

.bhs-block-checkout-entry-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 8px 0;
  list-style: none;
}

.bhs-block-checkout-entry-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(47, 91, 141, 0.16);
}

.bhs-block-checkout-entry-list strong,
.bhs-block-checkout-entry-list em,
.bhs-block-checkout-entry-list b {
  color: var(--bhs-blue);
  font-style: normal;
  font-weight: 900;
}

.bhs-block-checkout-entry-item .wc-block-components-product-metadata__description,
.bhs-block-checkout-entry-item .wc-block-components-product-image,
.bhs-block-checkout-entry-item .wc-block-components-product-image__image,
.bhs-block-checkout-entry-item .wc-block-cart-item__image,
.bhs-block-checkout-entry-item .wc-block-components-order-summary-item__image,
.bhs-block-checkout-entry-item .wc-block-components-product-price,
.bhs-block-checkout-entry-item .wc-block-cart-item__prices,
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button + span,
.wp-block-woocommerce-checkout-order-summary-subtotal-block,
.woocommerce-checkout .cart-subtotal,
.woocommerce-checkout-review-order-table thead,
.woocommerce-cart-form .shop_table thead,
.wc-block-checkout__billing-fields .wc-block-components-country-input,
.wc-block-checkout__add-note,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #order_comments_field {
  display: none !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-checkout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.woocommerce-checkout .wc-block-checkout__main {
  grid-column: 1;
  min-width: 0;
  order: 1;
}

.woocommerce-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-heading-block {
  grid-column: 2;
  min-width: 0;
  order: 2;
}

.woocommerce-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  position: sticky;
  top: 96px;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "details order-heading"
    "details order-review";
  gap: 32px;
  align-items: start;
}

.woocommerce-checkout #customer_details {
  grid-area: details;
  min-width: 0;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout #customer_details .col-2 {
  margin-top: 0;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  min-width: 0;
}

.woocommerce-checkout #order_review_heading {
  grid-area: order-heading;
  margin: 0 0 -18px;
}

.woocommerce-checkout #order_review {
  grid-area: order-review;
  align-self: start;
}

.bhs-block-place-order-under-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid rgba(47, 91, 141, 0.16);
}

.bhs-block-place-order-under-summary .wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--bhs-red);
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none;
}

.bhs-block-place-order-under-summary .wc-block-components-checkout-place-order-button:hover,
.bhs-block-place-order-under-summary .wc-block-components-checkout-place-order-button:focus,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout #place_order:focus {
  background: #b8001a;
  color: white;
}

.wc-block-checkout__payment-method.bhs-single-payment-method,
.wp-block-woocommerce-checkout-payment-block.bhs-single-payment-method,
.woocommerce-checkout #payment ul.payment_methods {
  display: none !important;
}

.bhs-entry-class-note {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 2px dashed rgba(47, 91, 141, 0.3);
  border-radius: 12px;
  background: white;
  color: var(--bhs-blue);
  font-weight: 900;
  text-transform: uppercase;
}

.bhs-entry-basket {
  position: sticky;
  top: 24px;
}

.bhs-entry-basket-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0;
  list-style: none;
}

.bhs-entry-basket-list li,
.bhs-entry-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(47, 91, 141, 0.16);
}

.bhs-entry-total {
  margin-bottom: 18px;
  color: var(--bhs-blue);
  font-size: 1.15rem;
  font-weight: 900;
}

.bhs-entry-basket label {
  display: block;
  margin: 10px 0;
  color: var(--bhs-blue);
  font-weight: 800;
}

.bhs-entry-basket input,
.bhs-entry-basket textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid #d9d4c7;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.bhs-entry-checkout {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--bhs-red);
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.bhs-entry-clear,
.bhs-clear-entry-cart-button {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border: 2px solid var(--bhs-blue);
  border-radius: 999px;
  background: white;
  color: var(--bhs-blue);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.bhs-clear-entry-cart-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  padding-inline: 18px;
  text-decoration: none;
}

.bhs-entry-clear:hover,
.bhs-entry-clear:focus,
.bhs-clear-entry-cart-button:hover,
.bhs-clear-entry-cart-button:focus {
  background: var(--bhs-lime);
  color: var(--bhs-blue);
}

.bhs-entry-payment-note,
.bhs-entry-empty {
  color: var(--bhs-muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .woocommerce-checkout .wp-block-woocommerce-checkout,
  .woocommerce-checkout .wc-block-checkout,
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "details"
      "order-heading"
      "order-review";
    gap: 20px;
  }

  .woocommerce-checkout .wc-block-checkout__main,
  .woocommerce-checkout .wc-block-checkout__sidebar,
  .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
  .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-heading-block,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 1;
  }

.woocommerce-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    position: static;
  }

  .bhs-hero::before {
    top: 12px;
    height: 52px;
    background-size: auto 52px;
  }

  .bhs-class-items,
  .bhs-entry-class-items,
  .bhs-programme-item {
    grid-template-columns: 1fr;
  }

  .bhs-hero-lead {
    border-radius: 24px;
  }

  .bhs-action-buttons,
  .bhs-card-grid {
    grid-template-columns: 1fr;
  }

  .bhs-purpose-note {
    border-radius: 18px;
  }

  .bhs-footer-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bhs-entry-layout {
    grid-template-columns: 1fr;
  }

  .bhs-entry-basket {
    position: static;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .bhs-action-buttons,
  .bhs-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bhs-footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
