/* Presentation only. Native WooCommerce forms/blocks and gateway hooks own the flow. */
.bbd-commerce { padding-top: 80px; padding-bottom: 100px; }
.commerce-heading { margin-bottom: 48px; }
.commerce-heading h1 { font-family: var(--display); font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: 1.05; margin: 18px 0 24px; }
.commerce-content { min-width: 0; }
.bbd-commerce :is(h2, h3) { font-family: var(--display); font-weight: 400; }
.bbd-commerce .wc-block-components-product-name { font-family: var(--display); font-size: 21px; line-height: 1.3; }
.bbd-commerce .wc-block-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { font-size: 21px; }
.bbd-commerce .wc-block-components-sidebar-layout { gap: 40px; }
.bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-main { width: calc(65% - 40px); }
.bbd-commerce .wc-block-components-sidebar { background: #eeece6; padding: 28px; }
.bbd-commerce .wc-block-components-totals-wrapper { border-color: #d8d6cf; }
.bbd-commerce .wc-block-components-totals-item { line-height: 1.6; }
.bbd-commerce .wc-block-components-checkout-step__heading { margin-bottom: 20px; }
.bbd-commerce .wc-block-components-checkout-step__title { font-size: 30px; }
.bbd-commerce .wc-block-components-quantity-selector { border-color: #b6b3a9; border-radius: 2px; }
.bbd-commerce .wc-block-components-product-metadata { color: #64645f; }
/* Woo's generic a.button rule must not restyle the existing navigation. */
.woocommerce .site-header .nav-booking {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  min-height: 2.75rem; padding: .65rem 1rem; border: 1px solid var(--accent);
  border-radius: 0; background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 600; line-height: inherit;
}

.woocommerce .site-header .nav-booking:hover { background: #963e2b; border-color: #963e2b; color: #fff; }
.bbd-catalogue .woocommerce-message a.button {
  background: var(--accent); color: #fff; border-radius: 0;
  font-size: 12px; font-weight: 600; padding: 14px 20px;
}
.bbd-commerce .wc-block-components-button:not(.is-link),
.bbd-catalogue .catalogue-purchase button.button {
  background: #bc4c31; color: #fff; border: 1px solid #bc4c31; border-radius: 0;
  min-height: 48px; padding: 14px 24px; font: inherit; font-size: 12px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.bbd-commerce .wc-block-components-button:not(.is-link):hover,
.bbd-catalogue .catalogue-purchase button.button:hover { background: #963d27; color: #fff; }
.bbd-commerce .wc-block-components-button:disabled { opacity: .55; cursor: default; }
.bbd-commerce :is(input, select, textarea) { accent-color: #bc4c31; }
.bbd-commerce .wc-block-components-text-input input,
.bbd-commerce .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.bbd-commerce .wc-block-components-textarea { background: #faf9f5; border-color: #aaa79d; border-radius: 2px; color: #171918; }
.bbd-commerce a:not(.wc-block-components-button) { text-underline-offset: 4px; }
.bbd-catalogue .woocommerce-notices-wrapper { max-width: 1440px; width: calc(100% - 80px); margin: 24px auto 0; }
.bbd-catalogue :is(.woocommerce-message, .woocommerce-info),
.bbd-commerce :is(.woocommerce-message, .woocommerce-info) { background: #eeece6; border-top-color: #bc4c31; color: #171918; }
.bbd-catalogue :is(.woocommerce-message, .woocommerce-info)::before { color: #bc4c31; }
.catalogue-purchase { border-top: 1px solid #d8d6cf; padding-top: 28px; margin-top: 32px; }
.catalogue-purchase .eyebrow { margin-bottom: 16px; }
.catalogue-purchase form.cart { margin: 16px 0 24px; }
.catalogue-purchase form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.catalogue-purchase .quantity .qty { width: 76px; min-height: 48px; border: 1px solid #aaa79d; background: transparent; border-radius: 2px; color: inherit; font: inherit; padding: 8px; }
.catalogue-purchase .stock { font-size: 14px; margin-bottom: 16px; }
.catalogue-purchase .out-of-stock { color: #963d27; }
@media (max-width: 1000px) {
  .bbd-commerce { padding-top: 56px; }
  .bbd-commerce .wc-block-components-sidebar-layout { gap: 24px; }
  .bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-main { width: calc(65% - 24px); }
  .bbd-commerce .wc-block-components-sidebar { padding: 20px; }
}
@media (max-width: 781px) {
  .bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-main,
  .bbd-commerce .wc-block-components-sidebar { width: 100%; }
}
@media (max-width: 600px) {
  .bbd-commerce { padding-top: 40px; padding-bottom: 60px; }
  .commerce-heading { margin-bottom: 32px; }
  .commerce-heading h1 { font-size: 42px; }
  .bbd-commerce .wc-block-components-product-name { font-size: 19px; }
  .bbd-commerce .wc-block-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { font-size: 19px; }
  .bbd-commerce .wc-block-components-sidebar { padding: 20px 16px; }
  .bbd-catalogue .woocommerce-notices-wrapper { width: calc(100% - 40px); }
  .catalogue-purchase form.cart:not(.variations_form) { align-items: stretch; }
}

/* Editorial commerce: native WooCommerce content, theme-owned presentation. */
.commerce-heading { margin-bottom: 56px; }
.commerce-heading h1 { max-width: 900px; font-size: clamp(48px, 5.8vw, 88px); line-height: 1.02; letter-spacing: -.025em; }
.commerce-heading h1 em { color: var(--accent); font-weight: 400; }
.commerce-heading-lead { font-family: var(--display); font-size: clamp(25px, 2.6vw, 36px); margin: 20px 0 10px; }
.commerce-heading-copy { color: #64645f; font-size: 16px; line-height: 1.7; margin: 16px 0 26px; }
.commerce-heading .back-link { display: inline-flex; margin-top: 12px; }
.bbd-commerce .wc-block-components-sidebar-layout { gap: 48px; }
.bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-main { width: calc(64% - 48px); }
.bbd-commerce .wc-block-components-sidebar { width: 36%; background: var(--ink); color: var(--paper-light); padding: 32px; border-top: 2px solid var(--accent); }
.bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: 36%; flex: 0 0 36%; }
.bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-main { flex: 1 1 0; min-width: 0; }
.bbd-commerce .wc-block-components-sidebar .wc-block-components-order-summary-item__quantity { background: var(--paper-light); color: var(--ink); border-color: var(--paper-light); }
.bbd-commerce .wc-block-components-sidebar :is(h2, h3, .wc-block-components-product-name, .wc-block-components-product-price, .wc-block-components-totals-item__label, .wc-block-components-totals-item__value, .wc-block-components-order-summary-item__description) { color: var(--paper-light); }
.bbd-commerce .wc-block-components-sidebar .wc-block-components-product-metadata { color: #c8c5bc; }
.bbd-commerce .wc-block-components-sidebar .wc-block-components-totals-wrapper,
.bbd-commerce .wc-block-components-sidebar .wc-block-components-order-summary { border-color: rgba(248,247,243,.2); }
.bbd-commerce .wc-block-components-sidebar .wc-block-components-totals-coupon-link { color: var(--paper-light); }
.bbd-commerce .wc-block-components-sidebar .wc-block-components-totals-coupon__content { color: var(--ink); background: var(--paper-light); padding: 16px; margin-top: 12px; border-radius: 2px; }
.bbd-commerce .wc-block-components-totals-footer-item { padding-top: 22px; padding-bottom: 22px; }
.bbd-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 23px; }
.bbd-commerce .wc-block-components-sidebar .wc-block-components-button:not(.is-link) { width: 100%; }
.bbd-commerce .wc-block-components-sidebar .wc-block-cart__totals-title { color: var(--paper-light); font-family: var(--body); font-size: 11px; letter-spacing: .14em; font-weight: 600; }
.bbd-commerce .wc-block-cart-items { border: 0; }
.bbd-commerce .wc-block-cart-items thead th { font: 500 11px/1.5 var(--body); letter-spacing: .12em; padding-bottom: 18px; color: #64645f; }
.bbd-commerce .wc-block-cart-items .wc-block-cart-items__row td { padding-top: 28px; padding-bottom: 28px; border-color: var(--line); vertical-align: top; }
.bbd-commerce .wc-block-cart-items .wc-block-cart-item__image { width: 108px; padding-right: 24px; }
.bbd-commerce .wc-block-cart-item__image a { display: block; border-radius: var(--radius-editorial); overflow: hidden; background: #eeece6; }
.bbd-commerce .wc-block-cart-item__image img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.bbd-commerce .wc-block-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { font-size: clamp(21px, 2vw, 27px); line-height: 1.25; margin-bottom: 12px; overflow-wrap: anywhere; }
.bbd-commerce .wc-block-cart-item__prices { font-size: 15px; margin-bottom: 10px; }
.bbd-commerce .wc-block-components-product-metadata { font-size: 13px; line-height: 1.6; }
.bbd-commerce .wc-block-cart-item__total-price-and-sale-badge-wrapper { font-size: 16px; white-space: nowrap; }
.bbd-commerce .wc-block-cart-item__quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.bbd-commerce .wc-block-cart .wc-block-components-quantity-selector { width: 132px; min-height: 44px; margin: 0; border-color: #aaa79d; border-radius: 2px; }
.bbd-commerce .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { min-width: 42px; min-height: 42px; }
.bbd-commerce .wc-block-components-quantity-selector input { font-size: 14px; }
.bbd-commerce .wc-block-cart-item__remove-link { min-height: 44px; min-width: 44px; margin: 0; color: #64645f; text-underline-offset: 4px; }
.bbd-commerce .wc-block-checkout__form { font-size: 15px; }
.bbd-commerce .wc-block-components-checkout-step { padding-bottom: 36px; margin-bottom: 0; }
.bbd-commerce .wc-block-components-checkout-step__heading { margin-bottom: 24px; }
.bbd-commerce .wc-block-components-checkout-step__title { font-size: 32px; letter-spacing: -.015em; }
.bbd-commerce .wc-block-components-text-input input,
.bbd-commerce .wc-block-components-address-form .wc-block-components-text-input input,
.bbd-commerce .wc-block-components-combobox input.components-combobox-control__input { min-height: 58px; border: 1px solid #aaa79d; border-radius: 2px; background: transparent; font-family: var(--body); font-size: 16px; }
.bbd-commerce .wc-block-components-text-input input:focus,
.bbd-commerce .wc-block-components-combobox input:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); outline: 0; }
.bbd-commerce .wc-block-components-text-input.has-error input { border-color: #a53223; box-shadow: 0 0 0 1px #a53223; }
.bbd-commerce .wc-block-components-validation-error { color: #a53223; font-size: 13px; line-height: 1.5; }
.bbd-commerce .wc-block-components-checkout-return-to-cart-button { text-underline-offset: 4px; }
.bbd-commerce .wc-block-components-button:not(.is-link) { background: var(--accent); border-color: var(--accent); min-height: 50px; }
/* Notices retain their native text, links, roles and error states. */
.bbd-catalogue .woocommerce-notices-wrapper { width: min(calc(100% - var(--gutter) * 2), var(--content-width)); margin: 32px auto 0; }
.bbd-catalogue :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
.bbd-commerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { padding: 22px 24px 22px 54px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #eeece6; color: var(--ink); font-size: 14px; line-height: 1.7; }
.bbd-catalogue .woocommerce-error, .bbd-commerce .woocommerce-error { border-left-color: #a53223; }
.bbd-catalogue :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
.bbd-commerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { left: 22px; top: 22px; }
.bbd-commerce .wc-block-components-notice-banner { border-radius: 2px; font: 14px/1.6 var(--body); }
/* Confirmation keeps Woo's templates, status messages and privacy checks intact. */
.bbd-commerce .woocommerce-order { max-width: 1180px; }
.bbd-commerce .woocommerce-thankyou-order-received { font-size: 15px; color: #64645f; margin: 0 0 32px; }
.bbd-commerce ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 28px 16px; margin: 0 0 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bbd-commerce ul.woocommerce-order-overview::before,
.bbd-commerce ul.woocommerce-order-overview::after { content: none; }
.bbd-commerce ul.woocommerce-order-overview li { float: none; border: 0; margin: 0; padding: 0; font: 500 10px/1.6 var(--body); letter-spacing: .1em; color: #64645f; overflow-wrap: anywhere; }
.bbd-commerce ul.woocommerce-order-overview li:first-child { padding-left: 0; }
.bbd-commerce ul.woocommerce-order-overview li strong { display: block; margin-top: 8px; font: 400 24px/1.3 var(--display); letter-spacing: 0; color: var(--ink); }
.bbd-commerce .woocommerce-order-details__title,
.bbd-commerce .woocommerce-column__title { font-size: 32px; line-height: 1.2; margin: 0 0 24px; }
.bbd-commerce .woocommerce-order table.shop_table { width: 100%; border: 0; border-collapse: collapse; border-radius: 0; margin: 0 0 48px; }
.bbd-commerce .woocommerce-order table.shop_table :is(th,td) { border: 0; border-bottom: 1px solid var(--line); padding: 20px 0; text-align: left; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.bbd-commerce .woocommerce-order table.shop_table thead th { font: 600 11px/1.5 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #64645f; }
.bbd-commerce .woocommerce-order table.shop_table :is(th,td):last-child { text-align: right; padding-left: 20px; }
.bbd-commerce .woocommerce-order table.shop_table tbody td.product-name,
.bbd-commerce .woocommerce-order table.shop_table tbody td.product-name a { font-family: var(--display); font-size: 23px; }
.bbd-commerce .woocommerce-order table.shop_table .product-quantity { font-family: var(--body); font-size: 13px; font-weight: 500; white-space: nowrap; }
.bbd-commerce .woocommerce-order table.shop_table tfoot .amount { font-size: 17px; color: var(--ink); }
.bbd-commerce .woocommerce-order .woocommerce-customer-details { margin: 32px 0 24px; }
.bbd-commerce .woocommerce-order .woocommerce-customer-details .col2-set { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
/* Woo's float clearfix otherwise occupies cells in the address grid. */
.bbd-commerce .woocommerce-order .woocommerce-customer-details .col2-set::before,
.bbd-commerce .woocommerce-order .woocommerce-customer-details .col2-set::after { content: none; display: none; }
.bbd-commerce .woocommerce-order .woocommerce-customer-details .col2-set > :is(.col-1,.col-2) { display: flex; flex-direction: column; min-width: 0; width: auto; float: none; margin: 0; }
.bbd-commerce .woocommerce-order .woocommerce-customer-details .woocommerce-column__title { margin: 0 0 16px; text-align: left; }
.bbd-commerce .woocommerce-order .woocommerce-customer-details address { flex: 1; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #eeece6; padding: 28px; font: 15px/1.9 var(--body); overflow-wrap: anywhere; }
.commerce-return { display: inline-flex; min-height: 44px; align-items: center; margin-top: 32px; }
@media (max-width: 1100px) {
  .bbd-commerce .wc-block-components-sidebar-layout { gap: 28px; }
  .bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-main { width: calc(64% - 28px); }
  .bbd-commerce .wc-block-components-sidebar { padding: 24px; }
}
.bbd-commerce .wc-block-cart:not(.is-large) { flex-direction: column; }
.bbd-commerce .wc-block-cart:not(.is-large) .wc-block-components-main,
.bbd-commerce .wc-block-cart:not(.is-large) .wc-block-components-sidebar { width: 100%; flex: 0 0 auto; }
.bbd-commerce .wc-block-cart .wc-block-cart__submit-container {
  display: block; position: static; width: 100%; padding: 20px 0 0;
  background: transparent; box-shadow: none; transform: none;
}
.bbd-commerce .wc-block-cart .wc-block-cart__submit-container::before,
.bbd-commerce .wc-block-cart .wc-block-cart__submit-container::after { content: none; display: none; }
@media (max-width: 781px) {
  .bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-main,
  .bbd-commerce .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: 100%; flex: 0 0 100%; }
  .bbd-commerce ul.woocommerce-order-overview { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
  .bbd-commerce ul.woocommerce-order-overview li { padding: 0; }
}
@media (max-width: 600px) {
  .commerce-heading { margin-bottom: 40px; }
  .commerce-heading h1 { font-size: 48px; }
  .commerce-heading-copy { font-size: 15px; }
  .bbd-commerce .wc-block-components-sidebar { padding: 24px 20px; }
  .bbd-commerce .wc-block-cart-items .wc-block-cart-item__image { width: 80px; padding-right: 16px; }
  .bbd-commerce .wc-block-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { font-size: 21px; }
  .bbd-commerce .wc-block-cart-item__total-price-and-sale-badge-wrapper { font-size: 14px; }
  .bbd-commerce .wc-block-components-checkout-step__title { font-size: 29px; }
  .bbd-commerce .woocommerce-order .woocommerce-customer-details .col2-set { grid-template-columns: 1fr; gap: 24px; }
  .bbd-commerce .woocommerce-order .woocommerce-customer-details address { padding: 22px; }
  .bbd-commerce .woocommerce-order table.shop_table tbody td.product-name,
  .bbd-commerce .woocommerce-order table.shop_table tbody td.product-name a { font-size: 20px; }
  .bbd-commerce .woocommerce-order table.shop_table :is(th,td) { font-size: 14px; padding-block: 18px; }
  .bbd-commerce .woocommerce-order-details__title, .bbd-commerce .woocommerce-column__title { font-size: 28px; }
  .bbd-commerce ul.woocommerce-order-overview { margin-bottom: 40px; }
  .bbd-commerce ul.woocommerce-order-overview li strong { font-size: 22px; }
  .bbd-catalogue .woocommerce-message a.button { float: none; display: table; margin: 0 0 12px; }
}
