/**
 * BAC permit pages: shared visual identity with the independent website redesign.
 * Scoped to permit surfaces so existing Elementor system styles and the club website
 * remain untouched. Elementor global colour IDs are from the 25 Oct 2026 export.
 * Typeface names refer to existing Elementor Custom Fonts; no font files bundled.
 */
:is(.bac-elementor-surface,.bac-guided,.bac-price-guide,.bac-pricing,.bac-account-permits,.bac-staff-hub,.bac-permit-store,.bac-lakeside,.bac-submission-error) {
  --bac-forest:var(--e-global-color-c37ad88,#163A2E);
  --bac-dark:var(--e-global-color-6906b74,#0D2B21);
  --bac-ink:var(--e-global-color-e264313,#252925);
  --bac-gold:var(--e-global-color-8f9587d,#C8A258);
  --bac-sage:var(--e-global-color-5349ccb,#93A58E);
  --bac-cream:var(--e-global-color-b3493f0,#F7F5EF);
  --bac-border:var(--e-global-color-337a41c,#E4E3DC);
  --bac-body-font:"BAC Modern",Inter,Arial,sans-serif;
  --bac-heading-font:"BAC Heritage",Georgia,serif;
  color:var(--bac-ink);
  font-family:var(--bac-body-font);
  line-height:1.6;
}
:is(.bac-elementor-surface,.bac-guided,.bac-price-guide,.bac-pricing,.bac-account-permits,.bac-staff-hub,.bac-permit-store,.bac-lakeside) * {box-sizing:border-box}
:is(.bac-elementor-surface,.bac-guided,.bac-price-guide,.bac-pricing,.bac-account-permits,.bac-staff-hub,.bac-permit-store,.bac-lakeside) :is(h1,h2,h3,h4) {
  font-family:var(--bac-heading-font);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.3px;
  text-wrap:balance;
}
:is(.bac-elementor-surface,.bac-guided,.bac-price-guide,.bac-pricing,.bac-account-permits,.bac-staff-hub,.bac-permit-store,.bac-lakeside) :is(h2,h3,h4) {color:var(--bac-forest)}
:is(.bac-elementor-surface,.bac-guided,.bac-price-guide,.bac-pricing,.bac-account-permits,.bac-staff-hub,.bac-permit-store,.bac-lakeside) :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid var(--bac-gold);
  outline-offset:3px;
}
:is(.bac-elementor-surface,.bac-guided,.bac-price-guide,.bac-pricing,.bac-account-permits,.bac-staff-hub,.bac-permit-store,.bac-lakeside) :is(input,select,textarea) {
  font-family:var(--bac-body-font);
  max-width:100%;
}
:is(.bac-elementor-surface,.bac-guided,.bac-price-guide,.bac-pricing,.bac-account-permits,.bac-staff-hub,.bac-permit-store,.bac-lakeside) :is(input[type=checkbox],input[type=radio]) {accent-color:var(--bac-forest)}
/* Permit purchase, review and lake-side issuance */
.bac-guided {
  max-width:880px;
  background:#fff;
  border-color:var(--bac-border);
  color:var(--bac-ink);
  font-family:var(--bac-body-font);
  box-shadow:0 18px 54px rgba(13,43,33,.09);
}
.bac-guided .bac-hero {
  background:linear-gradient(125deg,var(--bac-dark),var(--bac-forest));
  color:var(--bac-cream);
}
.bac-guided .bac-hero h2 {
  color:#fff;
  font-family:var(--bac-heading-font);
  font-weight:700;
  font-size:clamp(34px,5vw,54px);
  letter-spacing:-.5px;
}
.bac-guided .bac-hero p {color:#F7F5EF}
.bac-guided .bac-eyebrow,.bac-guided .bac-progress {color:#E0BF79}
.bac-guided .bac-track span {background:var(--bac-gold)}
.bac-guided h3 {font-family:var(--bac-heading-font);font-size:clamp(23px,3vw,28px);color:var(--bac-forest);letter-spacing:-.2px}
.bac-guided :is(.bac-lead,.bac-rods-note,.bac-small,.bac-required) {color:#526358}
.bac-guided :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  border-color:var(--bac-border);background:#fff;color:var(--bac-ink);
}
.bac-guided :is(.bac-choice-card,.bac-tile,.bac-review>div:not(.bac-review-total),.bac-check-card,.bac-quote) {
  border:1px solid var(--bac-border);
  background:#fff;
  color:var(--bac-ink);
  border-radius:14px;
}
.bac-guided .bac-choice-icon {color:var(--bac-forest)}
.bac-guided .bac-choice-card small,.bac-guided .bac-check-card small,.bac-guided .bac-review small {color:#596B60}
.bac-guided .bac-choice-card:has(input:checked),
.bac-guided .bac-tile:has(input:checked) {
  background:#F0F4ED;
  border-color:var(--bac-forest);
  box-shadow:0 0 0 2px rgba(22,58,46,.12);
}
.bac-guided .bac-season,.bac-guided .bac-junior-notes {
  background:var(--bac-cream);
  border-left-color:var(--bac-gold);
  color:var(--bac-forest);
}
.bac-guided .bac-quote {background:var(--bac-cream);color:var(--bac-forest)}
.bac-guided .bac-quote :is(strong,small) {color:var(--bac-forest)}
.bac-guided .bac-value {background:#FCF8EF;border-color:#E5D6B7;color:#594728}
.bac-guided .bac-review-total {
  background:var(--bac-forest);
  border-color:var(--bac-forest);
  color:#fff;
}
.bac-guided .bac-review-total :is(strong,small) {color:#fff}
.bac-guided .bac-nav {border-top-color:var(--bac-border)}
.bac-guided button:not([data-back]),.bac-guided .bac-nav button:not(:disabled):not([data-back]) {
  background:var(--bac-gold)!important;
  color:var(--bac-dark)!important;
  border-color:var(--bac-gold)!important;
  font-family:var(--bac-body-font);
  font-weight:700;
}
.bac-guided button:not([data-back]):not(:disabled):hover,
.bac-guided .bac-nav button:not(:disabled):not([data-back]):hover {
  background:var(--bac-forest)!important;
  border-color:var(--bac-forest)!important;
  color:#fff!important;
}
.bac-guided button[data-back]:not(:disabled),.bac-guided .bac-nav button[data-back]:not(:disabled) {
  background:#fff!important;
  color:var(--bac-forest)!important;
  border-color:var(--bac-forest)!important;
}
.bac-guided button[data-back]:not(:disabled):hover {
  background:var(--bac-cream)!important;color:var(--bac-dark)!important;
}
.bac-guided .bac-nav button:disabled {background:#E6E9E2!important;color:#637067!important}
.bac-guided a {color:var(--bac-forest)}
/* Permit prices and upcoming changes */
.bac-price-guide {--ink:var(--bac-forest);--sea:var(--bac-forest);--mist:var(--bac-cream);--sky:var(--bac-gold);font-family:var(--bac-body-font);color:var(--bac-ink)}
.bac-price-guide .bac-price-hero {background:linear-gradient(135deg,var(--bac-dark),var(--bac-forest));color:#fff}
.bac-price-guide .bac-price-hero :is(h2,h3) {color:#fff;font-family:var(--bac-heading-font);font-weight:700}
.bac-price-guide .bac-price-hero p {color:#F7F5EF}
.bac-price-guide :is(h2,h3) {font-family:var(--bac-heading-font);color:var(--bac-forest);font-weight:700}
.bac-price-guide .bac-price-kicker {color:var(--bac-gold)}
.bac-price-guide .bac-price-button {
  background:var(--bac-gold);color:var(--bac-dark);
  border-radius:12px;font-family:var(--bac-body-font);
}
.bac-price-guide .bac-price-button:hover {background:var(--bac-forest);color:#fff}
.bac-price-guide .bac-price-strip,.bac-price-guide .bac-price-extras {background:var(--bac-cream)}
.bac-price-guide .bac-price-card {border-color:var(--bac-border);border-radius:18px}
.bac-price-guide .bac-price-card:nth-child(4) {background:#F1F5EF;border-color:var(--bac-sage)}
.bac-price-guide .bac-price-card h3 {font-family:var(--bac-heading-font);font-weight:700}
.bac-price-guide .bac-price-card-number {color:var(--bac-forest)}
.bac-price-guide .bac-price-future {background:var(--bac-cream)}
.bac-price-guide .bac-price-schedule {border-top-color:var(--bac-border)}
.bac-price-guide .bac-price-book {background:#EFF3EB}
.bac-price-guide .bac-price-book h3 {font-family:var(--bac-heading-font)}
.bac-price-guide :is(.bac-price-section>p,.bac-price-card>p,.bac-price-card dt,.bac-price-schedule thead th) {color:#526358}
.bac-price-guide :is(a,summary):focus-visible {outline-color:var(--bac-gold)}
/* Price administration, validation, account and bailiff panels */
:is(.bac-pricing,.bac-account-permits,.bac-permit-store,.bac-lakeside,.bac-staff-hub) :is(article,fieldset,.bac-staff-panel,.bac-add-another) {
  border:1px solid var(--bac-border);
  border-radius:16px;
  background:#fff;
  color:var(--bac-ink);
}
.bac-staff-hub .bac-staff-toolbar {background:var(--bac-dark);font-family:var(--bac-body-font);color:#fff}
.bac-staff-hub .bac-staff-toolbar span {color:#F7F5EF}
.bac-staff-hub .bac-staff-panel {background:var(--bac-cream);font-family:var(--bac-body-font)}
.bac-staff-hub .bac-staff-panel>summary {color:var(--bac-forest)}
:is(.bac-pricing,.bac-account-permits,.bac-permit-store,.bac-lakeside,.bac-staff-hub,.bac-elementor-surface) :is(a.button,button:not([data-back]),input[type=submit],a.bac-family-button,a.bac-pdf-download) {
  display:inline-flex;align-items:center;justify-content:center;
  max-width:100%;min-width:0;padding:12px 20px;
  border-radius:12px;background:var(--bac-forest);border:1px solid var(--bac-forest);
  color:#fff;text-decoration:none;font-family:var(--bac-body-font);font-weight:600;
  cursor:pointer;
}
:is(.bac-pricing,.bac-account-permits,.bac-permit-store,.bac-lakeside,.bac-staff-hub,.bac-elementor-surface) :is(a.button,button:not([data-back]),input[type=submit],a.bac-family-button,a.bac-pdf-download):hover {
  background:var(--bac-gold);border-color:var(--bac-gold);color:var(--bac-dark);
}
.bac-staff-panel button {background:var(--bac-forest);border-color:var(--bac-forest);color:#fff}
:is(.bac-pricing,.bac-account-permits,.bac-permit-store,.bac-lakeside,.bac-staff-hub) :is(a:not(.button),.bac-validity-link) {color:var(--bac-forest)}
.bac-account-permits article {padding:22px!important;border-color:var(--bac-border)!important;background:#fff!important;color:var(--bac-ink)!important}
.bac-account-permits article h3 {font-family:var(--bac-heading-font);color:var(--bac-forest)}
.bac-submission-error {background:#FFF5F2;border-color:#B73535;color:#8B2C2C}
.bac-elementor-surface .bac-permit-actions {gap:14px;align-items:center}
.bac-elementor-surface :is(.bac-review,.bac-choice-grid,.bac-interest-grid) {min-width:0}
@media(max-width:640px){
  .bac-guided .bac-hero{padding:26px 22px}
  .bac-guided .bac-hero h2{font-size:34px}
  .bac-guided .bac-choice-grid,.bac-guided .bac-interest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bac-guided .bac-choice-card{min-width:0}
  .bac-price-guide .bac-price-hero {padding:38px 22px}
  .bac-price-guide .bac-price-strip {grid-template-columns:1fr;gap:8px;text-align:left}
  .bac-price-guide .bac-price-strip span {text-align:left}
  .bac-price-guide .bac-price-cards {grid-template-columns:1fr}
  .bac-staff-panel :is(input,select,textarea) {max-width:100%}
}
@media(max-width:390px){.bac-guided .bac-choice-grid,.bac-guided .bac-interest-grid{grid-template-columns:1fr}}

/* Headings placed next to the permit widget in existing Elementor-built pages.
 * The selector is page-scoped: ordinary club pages keep their own styles. */
:where(body:has(.bac-elementor-surface)) main :where(.elementor-widget-heading) .elementor-heading-title {
  font-family:"BAC Heritage",Georgia,serif;
  font-weight:700;
  line-height:1.2;
  color:var(--e-global-color-c37ad88,#163A2E);
}
:where(body:has(.bac-elementor-surface)) main :where(.elementor-widget-heading) h1.elementor-heading-title {
  font-size:clamp(34px,4.5vw,54px);
}
/* Protect prices, file inputs, and data tables from narrow columns. */
:is(.bac-price-guide,.bac-elementor-surface,.bac-pricing,.bac-staff-hub) :is(table,input[type=file]){
  max-width:100%;
}
:is(.bac-price-guide,.bac-elementor-surface,.bac-pricing,.bac-staff-hub) :is(.bac-price-table-wrap,.bac-pricing-table-wrap){
  max-width:100%;
  overflow-x:auto;
}


/* Preserve the newer v0.4 woodland purchase layout and side-summary grid,
   while harmonising fonts, accents and labels with the BAC website design. */
.bac-guided.bac-woodland {font-family:var(--bac-body-font);--bac-action-text:#FFFFFF;--bac-action-hover:var(--bac-dark)}
.bac-guided.bac-woodland .bac-hero{background:var(--bac-forest)}
.bac-guided.bac-woodland .bac-hero h2{font-family:var(--bac-heading-font);font-size:clamp(30px,4vw,46px);font-weight:700}
.bac-guided.bac-woodland .bac-body{background:#FFFDF7;border-color:var(--bac-border)}
.bac-guided.bac-woodland .bac-order-summary{background:var(--bac-cream);border-color:var(--bac-border)}
.bac-guided.bac-woodland .bac-order-summary h3{font-family:var(--bac-heading-font);color:var(--bac-forest)}
.bac-guided.bac-woodland .bac-choice-icon,.bac-guided.bac-woodland .bac-summary-symbol{background:var(--bac-forest);color:#FFF}
.bac-guided.bac-woodland .bac-quote{background:transparent;border:0}
.bac-guided.bac-woodland .bac-quote>strong{color:var(--bac-forest);border-top-color:var(--bac-border)}
.bac-guided.bac-woodland .bac-choice-card:has(input:checked),
.bac-guided.bac-woodland .bac-tile:has(input:checked){background:#F1F5ED;border-color:var(--bac-forest)}
.bac-guided.bac-woodland .bac-value button{background:var(--bac-gold)!important;color:var(--bac-dark)!important}
.bac-woodland-page :is(.bac-price-guide h2,.bac-price-guide h3){font-family:var(--bac-heading-font);font-weight:700;color:var(--bac-forest)}
.bac-woodland-page .bac-price-button{background:var(--bac-gold);color:var(--bac-dark);border-radius:12px}
.bac-woodland-page .bac-price-button:hover{background:var(--bac-forest);color:#FFF}
.bac-woodland-page .bac-price-card{background:#FFFDF7;border-color:var(--bac-border)}
.bac-woodland-page .bac-price-extras,.bac-woodland-page .bac-guest-night{background:var(--bac-cream)}


/* Elementor Pro Cart: one basket directly beneath the Brackley permit form.
   No global WooCommerce cart styles or site-wide Elementor globals altered. */
.bac-embedded-cart-wrap {
  scroll-margin-top:110px;
  width:100%;
  max-width:100%;
  font-family:"BAC Modern",Inter,Arial,sans-serif;
}
.bac-embedded-cart-wrap .elementor-widget-woocommerce-cart {min-width:0;max-width:100%}
.bac-embedded-cart-wrap :is(.woocommerce-cart-form,.cart_totals,.e-cart__column,.e-cart__container) {
  min-width:0;max-width:100%;
}
.bac-embedded-cart-wrap :is(.woocommerce-cart-form,.cart_totals) {
  color:#252925;
  font-family:"BAC Modern",Inter,Arial,sans-serif;
}
.bac-embedded-cart-wrap :is(h2,h3,.cart_totals h2,.e-cart__column-title) {
  color:#163A2E;
  font-family:"BAC Heritage",Georgia,serif;
  font-weight:700;
}
.bac-embedded-cart-wrap :is(.woocommerce-cart-form,.cart_totals) a:not(.button) {
  color:#163A2E;
  text-decoration:underline;
  text-underline-offset:3px;
}
.bac-embedded-cart-wrap :is(.woocommerce-cart-form,.cart_totals) :is(button.button,a.checkout-button,.button) {
  background:#163A2E!important;
  border:1px solid #163A2E!important;
  border-radius:12px!important;
  color:#FFFFFF!important;
  font-family:"BAC Modern",Inter,Arial,sans-serif!important;
  font-weight:600!important;
  text-decoration:none;
  white-space:normal;
  max-width:100%;
}
.bac-embedded-cart-wrap :is(.woocommerce-cart-form,.cart_totals) :is(button.button,a.checkout-button,.button):hover {
  background:#C8A258!important;border-color:#C8A258!important;color:#0D2B21!important;
}
.bac-embedded-cart-wrap :is(button,input,a):focus-visible {outline:3px solid #C8A258;outline-offset:3px}
.bac-embedded-cart-wrap :is(input,select) {max-width:100%}
.bac-embedded-cart-wrap :is(.woocommerce-cart-form__contents,.shop_table) {max-width:100%}
.bac-embedded-cart-wrap .product-quantity input.qty {max-width:68px}
.bac-embedded-cart-wrap .woocommerce-notices-wrapper {color:#252925}
@media(max-width:767px){
  .bac-embedded-cart-wrap {scroll-margin-top:76px}
  .bac-embedded-cart-wrap :is(.woocommerce-cart-form,.cart_totals,.e-cart__column,.e-cart__container) {width:100%;min-width:0}
  .bac-embedded-cart-wrap .woocommerce-cart-form__contents {overflow-wrap:anywhere}
  .bac-embedded-cart-wrap .elementor-widget-woocommerce-cart .e-cart__container {grid-template-columns:minmax(0,1fr)}
}


/* v0.4.0-beta.7: Woodland design shared across ALL configured permit pages.
   Each page has its own .bac-woodland-layout, preserving existing widget content,
   WordPress global styles and the more specialised buying/issuing interfaces. */
.bac-woodland-layout{
  --bac-forest:var(--e-global-color-c37ad88,#163A2E);
  --bac-dark:var(--e-global-color-6906b74,#0D2B21);
  --bac-gold:var(--e-global-color-8f9587d,#C8A258);
  --bac-cream:var(--e-global-color-b3493f0,#F7F5EF);
  --bac-line:var(--e-global-color-337a41c,#E4E3DC);
  font-family:"BAC Modern",Inter,Arial,sans-serif;
  color:#252925;
  width:100%;max-width:100%;box-sizing:border-box;
}
.bac-woodland-layout *{box-sizing:border-box}
.bac-woodland-layout .bac-woodland-hero{
  border-radius:20px;
  background:linear-gradient(120deg,#0D2B21,#163A2E) !important;
  color:#fff;
  overflow:hidden;
}
.bac-woodland-layout .bac-woodland-hero :is(h1,h2,.elementor-heading-title){
  font-family:"BAC Heritage",Georgia,serif!important;
  font-weight:700!important;
  font-size:clamp(34px,4vw,52px);
  line-height:1.15;
  color:#FFF!important;
  letter-spacing:-.5px;
  margin:0;
}
.bac-woodland-layout .bac-woodland-hero .elementor-widget-text-editor:first-child p{
  color:#E9C78B!important;
  font-family:"BAC Modern",Inter,Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:700;
  font-size:11px;
  margin:0;
}
.bac-woodland-layout .bac-woodland-hero .elementor-widget-text-editor:last-child p{
  color:#F7F5EF!important;
  font-size:16px;
  line-height:1.7;
  max-width:680px;
  margin:0;
}
.bac-woodland-layout .bac-woodland-content{
  min-width:0;width:100%;max-width:100%;
  background:#FFFDF7;
  border:1px solid #E4E3DC;
  border-radius:16px;
  box-shadow:0 12px 38px rgba(13,43,33,.06);
}
.bac-woodland-layout .bac-woodland-content :is(h2,h3,h4){
  font-family:"BAC Heritage",Georgia,serif;
  color:#163A2E;
  font-weight:700;
  line-height:1.25;
}
.bac-woodland-layout .bac-woodland-content :is(p,li,label,th,td,summary){
  font-family:"BAC Modern",Inter,Arial,sans-serif;
}
.bac-woodland-layout .bac-woodland-content :is(.bac-price-guide,.bac-staff-hub,.bac-account-permits,.bac-pricing,.bac-guided){
  min-width:0;max-width:100%;
}
.bac-woodland-layout .bac-woodland-quicklinks{
  display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;
  align-items:center;justify-content:center;
}
.bac-woodland-layout .bac-woodland-quicklinks .elementor-widget-button {
  width:auto;max-width:100%;
}
/* Accessible, consistent forest buttons and gold hover across widgets,
   including WooCommerce endpoints and staff scanner actions. */
.bac-woodland-layout :is(.bac-woodland-content,.bac-woodland-quicklinks)
  :is(a.button,a.elementor-button,button.button,button[type=submit],input[type=submit],
      .bac-price-button,.bac-family-button,.e-button,.elementor-button-link){
  background:#163A2E!important;
  color:#FFFFFF!important;
  border:1px solid #163A2E!important;
  border-radius:12px!important;
  padding:12px 20px;
  font-family:"BAC Modern",Inter,Arial,sans-serif!important;
  font-weight:650!important;
  text-decoration:none!important;
  line-height:1.4;
  display:inline-flex;align-items:center;justify-content:center;
  max-width:100%;white-space:normal;text-align:center;
  overflow-wrap:anywhere;
  cursor:pointer;
  transition:background-color .15s,border-color .15s,color .15s;
}
.bac-woodland-layout :is(.bac-woodland-content,.bac-woodland-quicklinks)
  :is(a.button,a.elementor-button,button.button,button[type=submit],input[type=submit],
      .bac-price-button,.bac-family-button,.e-button,.elementor-button-link):not(:disabled):hover{
  background:#C8A258!important;
  border-color:#C8A258!important;
  color:#0D2B21!important;
}
.bac-woodland-layout :is(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid #C8A258!important;
  outline-offset:3px;
}
.bac-woodland-layout :is(button,input,select,textarea){font-family:"BAC Modern",Inter,Arial,sans-serif}
.bac-woodland-layout :is(input:not([type=radio]):not([type=checkbox]):not([type=submit]),select,textarea){
  max-width:100%;border-radius:10px;border-color:#D6DED4;background:#fff;color:#252925;
}
.bac-woodland-layout :is(.bac-price-card,.bac-staff-panel,.bac-review>div:not(.bac-review-total),.bac-account-permits article){
  border-radius:14px;border-color:#E4E3DC;
  box-shadow:0 5px 20px rgba(13,43,33,.04);
}
.bac-woodland-layout .bac-woodland-content :is(table,.shop_table){
  width:100%;max-width:100%;
}
.bac-woodland-layout .bac-woodland-content :is(.bac-price-table-wrap,.woocommerce,.bac-pricing){
  min-width:0;max-width:100%;
}
.bac-woodland-layout :is(.bac-quote,.bac-value,.bac-junior-notes,.bac-season){
  border-radius:12px;
}
@media(max-width:767px){
  .bac-woodland-layout .bac-woodland-hero{border-radius:16px}
  .bac-woodland-layout .bac-woodland-content{border-radius:14px}
  .bac-woodland-layout .bac-woodland-quicklinks{align-items:stretch}
  .bac-woodland-layout .bac-woodland-quicklinks .elementor-widget-button{flex:1 1 100%}
  .bac-woodland-layout :is(.bac-woodland-content,.bac-woodland-quicklinks)
    :is(a.button,a.elementor-button,button.button,button[type=submit],input[type=submit],.bac-price-button,.bac-family-button){
      min-height:44px;
    }
  .bac-woodland-layout .bac-woodland-content .bac-price-cards{
    grid-template-columns:minmax(0,1fr);
  }
}
@media(prefers-reduced-motion:reduce){
  .bac-woodland-layout :is(a.button,a.elementor-button,button,input[type=submit]){transition:none}
}


/* The original rich Woodland purchasing page (beta.4+) is already branded and
   should not be wrapped a second time. Give its controls the very same button
   treatment as the six other converted permit pages. */
.bac-woodland-page :is(.elementor-widget-button a.elementor-button,.bac-price-button,.bac-family-button,.bac-guided button:not([data-back]),.bac-guided button[type=submit]) {
  background:#163A2E!important;
  border:1px solid #163A2E!important;
  color:#FFFFFF!important;
  border-radius:12px!important;
  font-family:"BAC Modern",Inter,Arial,sans-serif!important;
  font-weight:650!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  white-space:normal;
  text-decoration:none;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.bac-woodland-page :is(.elementor-widget-button a.elementor-button,.bac-price-button,.bac-family-button,.bac-guided button:not([data-back]),.bac-guided button[type=submit]):not(:disabled):hover {
  background:#C8A258!important;
  color:#0D2B21!important;
  border-color:#C8A258!important;
}
.bac-woodland-page .bac-guided .bac-nav button[data-back]:not(:disabled) {
  background:#FFFDF7!important;
  color:#163A2E!important;
  border:1px solid #163A2E!important;
  border-radius:12px!important;
}
.bac-woodland-page .bac-guided .bac-nav button[data-back]:not(:disabled):hover {
  background:#F7F5EF!important;
  border-color:#C8A258!important;
  color:#0D2B21!important;
}
.bac-woodland-page :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid #C8A258!important;
  outline-offset:3px;
}


/* Beta.8: unify the REAL Elementor Pro Cart widget with the Woodland theme.
   Earlier releases styled only parts of the WC markup; Elementor's own
   .e-cart__* panels and button selectors still showed their old blue settings.
   Overrides are deliberately limited to our purchasing page cart container. */
.bac-embedded-cart-wrap,
.bac-embedded-cart-wrap .elementor-widget-woocommerce-cart{
 --forms-buttons-normal-text-color:#FFFFFF!important;
 --forms-buttons-normal-background-color:#163A2E!important;
 --forms-buttons-hover-text-color:#0D2B21!important;
 --forms-buttons-hover-background-color:#C8A258!important;
 --cart-section-background-color:#FFFDF7;
 --cart-section-border-color:#DFE4DC;
 color:#252925;
 font-family:"BAC Modern",Inter,Arial,sans-serif!important;
}
.bac-embedded-cart-wrap :is(.e-cart__container,.e-cart__column,.e-cart__column-start,.e-cart__column-end){
 border:0;box-shadow:none;min-width:0;max-width:100%;
}
.bac-embedded-cart-wrap :is(.e-cart__column,.e-cart__column-start,.e-cart__column-end,
 .e-cart-section,.cart_totals,.woocommerce-cart-form){
 border-radius:18px!important;
 background:#FFFDF7!important;
 border:1px solid #DFE4DC!important;
 color:#252925!important;
 box-shadow:0 5px 18px rgba(13,43,33,.04);
}
.bac-embedded-cart-wrap :is(.e-cart__column,.e-cart__column-start,.e-cart__column-end) :is(h2,h3,strong),
.bac-embedded-cart-wrap :is(.e-cart-section,.cart_totals) :is(h2,h3){
 color:#163A2E!important;
 font-family:"BAC Heritage",Georgia,serif!important;
 font-weight:700!important;
}
.bac-embedded-cart-wrap :is(.elementor-button,.woocommerce a.button,.woocommerce button.button,
 .woocommerce-cart-form button.button,.woocommerce-cart-form input.button,
 .wc-proceed-to-checkout a.checkout-button,a.checkout-button,
 .e-cart__column a.button,.e-cart__column button.button,
 .e-cart__column-start button,.e-cart__column-end button){
 background:#163A2E!important;
 color:#FFF!important;
 border:1px solid #163A2E!important;
 border-radius:12px!important;
 font-family:"BAC Modern",Inter,Arial,sans-serif!important;
 font-weight:700!important;
 text-decoration:none!important;
 padding:13px 19px!important;
}
.bac-embedded-cart-wrap :is(.elementor-button,.woocommerce a.button,.woocommerce button.button,
 .woocommerce-cart-form button.button,.woocommerce-cart-form input.button,
 .wc-proceed-to-checkout a.checkout-button,a.checkout-button,
 .e-cart__column a.button,.e-cart__column button.button,
 .e-cart__column-start button,.e-cart__column-end button):not(:disabled):hover {
 background:#C8A258!important;color:#0D2B21!important;border-color:#C8A258!important;
}
.bac-embedded-cart-wrap :is(button:disabled,.woocommerce button.button:disabled){
 background:#DDE6DE!important;border-color:#DDE6DE!important;
 color:#46584C!important;opacity:1!important;cursor:not-allowed;
}
.bac-embedded-cart-wrap :is(.cart_totals,.e-cart__column-end,.e-cart__column-start) :is(.woocommerce-Price-amount,.amount){
 color:#163A2E!important;
}
.bac-embedded-cart-wrap :is(.product-name,.e-cart__column .product-name) a {
 color:#163A2E!important;
}
.bac-embedded-cart-wrap :is(input.qty,input.input-text,select){
 border-radius:10px!important;border:1px solid #B8C7B6!important;color:#252925!important;
}
.bac-embedded-cart-wrap .woocommerce-cart-form .product-thumbnail img{
 border-radius:12px;
}
/* Cart hook is suppressed on the embedded page. This fallback also styles old
   cached markup if a page cache temporarily serves the previous banner. */
.bac-embedded-cart-wrap .bac-add-another {
 background:#EEF2E7!important;border:1px solid #D5E0CF!important;
 color:#163A2E!important;border-radius:14px!important;
}
.bac-embedded-cart-wrap .bac-add-another .button,
.bac-embedded-cart-wrap .bac-family-button {
 background:#163A2E!important;color:#FFF!important;
 border:1px solid #163A2E!important;border-radius:12px!important;
}
.bac-woodland-page :is(.bac-price-button,.elementor-widget-button .elementor-button) {
 background:#163A2E!important;color:#FFFFFF!important;border-color:#163A2E!important;
}
.bac-woodland-page :is(.bac-price-button,.elementor-widget-button .elementor-button):hover{
 background:#C8A258!important;color:#0D2B21!important;border-color:#C8A258!important;
}
@media(max-width:780px){
 .bac-embedded-cart-wrap :is(.e-cart__container,.woocommerce-cart-form,.cart_totals){
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 .bac-embedded-cart-wrap :is(.e-cart__column,.e-cart-section){padding:16px!important}
}


/* Beta.11 — rebuild the Elementor Pro/WooCommerce basket as readable,
   vertically stacked permit cards on phones. Do not change the WooCommerce
   table data or Checkout logic: layout only, scoped to our embedded cart. */
@media screen and (max-width: 767px) {
 .bac-embedded-cart-wrap,
 .bac-embedded-cart-wrap .elementor-widget-container,
 .bac-embedded-cart-wrap .woocommerce,
 .bac-embedded-cart-wrap .e-cart__container,
 .bac-embedded-cart-wrap .e-cart__column,
 .bac-embedded-cart-wrap .e-cart__column-start,
 .bac-embedded-cart-wrap .e-cart__column-end {
   min-width:0!important;
   width:100%!important;
   max-width:100%!important;
   box-sizing:border-box!important;
 }
 .bac-embedded-cart-wrap .e-cart__container {
   display:flex!important;
   flex-direction:column!important;
   gap:16px!important;
 }
 .bac-embedded-cart-wrap .e-cart-section,
 .bac-embedded-cart-wrap .woocommerce-cart-form,
 .bac-embedded-cart-wrap .cart_totals {
   padding:12px!important;
   margin:0!important;
   overflow:visible!important;
   width:100%!important;
 }
 .bac-embedded-cart-wrap form.woocommerce-cart-form table.shop_table,
 .bac-embedded-cart-wrap form.woocommerce-cart-form table.shop_table_responsive,
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents,
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tbody {
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   table-layout:auto!important;
   border:0!important;
   border-collapse:separate!important;
   padding:0!important;
   margin:0!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents thead {
   display:none!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr.cart_item {
   display:grid!important;
   grid-template-columns:52px minmax(0,1fr) 32px!important;
   grid-template-areas:"thumb details remove" "total total total";
   gap:10px 12px!important;
   align-items:start!important;
   width:100%!important;
   min-width:0!important;
   border:1px solid #DDE4D9!important;
   border-radius:16px!important;
   padding:14px 12px!important;
   margin:0 0 12px!important;
   background:#FFFFFF!important;
   box-shadow:0 4px 14px rgba(13,43,33,.035);
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr.cart_item > td {
   display:block!important;
   float:none!important;
   width:auto!important;
   min-width:0!important;
   max-width:100%!important;
   padding:0!important;
   margin:0!important;
   border:0!important;
   text-align:left!important;
   overflow-wrap:break-word!important;
   word-break:normal!important;
   font-family:"BAC Modern",Inter,Arial,sans-serif!important;
   font-size:14px!important;
   line-height:1.5!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr.cart_item td::before {
   display:none!important;
   content:none!important;
   float:none!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents td.product-thumbnail {
   grid-area:thumb!important;
   width:52px!important;
   padding-top:2px!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents td.product-thumbnail img {
   display:block!important;
   width:52px!important;
   max-width:52px!important;
   height:52px!important;
   object-fit:cover!important;
   border-radius:10px!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents td.product-name {
   grid-area:details!important;
   color:#163A2E!important;
   font-size:15px!important;
   font-weight:650!important;
   line-height:1.4!important;
   text-align:left!important;
   min-width:0!important;
 }
 .bac-embedded-cart-wrap td.product-name a {
   display:block;
   margin-bottom:10px!important;
   text-align:left!important;
   color:#163A2E!important;
   font:700 17px/1.35 "BAC Heritage",Georgia,serif!important;
   text-decoration:none!important;
   overflow-wrap:normal!important;
   word-break:normal!important;
   hyphens:none!important;
 }
 .bac-embedded-cart-wrap td.product-name dl.variation,
 .bac-embedded-cart-wrap td.product-name .wc-item-meta {
   display:block!important;
   margin:0!important;
   padding:0!important;
   color:#526358!important;
   font:400 13px/1.55 "BAC Modern",Inter,Arial,sans-serif!important;
 }
 .bac-embedded-cart-wrap td.product-name dl.variation dt,
 .bac-embedded-cart-wrap td.product-name dl.variation dd {
   float:none!important;
   display:inline!important;
   margin:0!important;
   padding:0!important;
   font-size:13px!important;
   line-height:1.55!important;
 }
 .bac-embedded-cart-wrap td.product-name dl.variation dt {
   font-weight:650!important;
   color:#163A2E!important;
 }
 .bac-embedded-cart-wrap td.product-name dl.variation dd::after {
   content:"";
   display:block;
   height:3px;
 }
 .bac-embedded-cart-wrap td.product-name dl.variation dd p {display:inline!important;margin:0!important}
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents td.product-remove {
   grid-area:remove!important;
   display:flex!important;
   align-items:flex-start!important;
   justify-content:flex-end!important;
 }
 .bac-embedded-cart-wrap td.product-remove a.remove {
   position:static!important;
   display:grid!important;
   place-items:center!important;
   width:32px!important;height:32px!important;
   min-width:32px!important;
   border:1px solid #C9D6C7!important;
   border-radius:10px!important;
   background:#F7F8F5!important;
   color:#163A2E!important;
   font-size:22px!important;
   line-height:1!important;
   padding:0!important;
 }
 .bac-embedded-cart-wrap td.product-remove a.remove:hover {
   color:#842D2D!important;
   border-color:#B87171!important;
   background:#FFF0EF!important;
 }
 /* One price per permit: quantity is fixed at 1 in the permit plugin.
    Hide duplicate unit-price/quantity columns, retaining subtotal as the
    actual WooCommerce line value. */
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr.cart_item td.product-price,
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr.cart_item td.product-quantity {
   display:none!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr.cart_item td.product-subtotal {
   grid-area:total!important;
   display:flex!important;
   align-items:baseline!important;
   justify-content:space-between!important;
   padding-top:10px!important;
   margin-top:3px!important;
   border-top:1px solid #E4E9E1!important;
   font-size:16px!important;
   font-weight:700!important;
   color:#163A2E!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr.cart_item td.product-subtotal::before {
   display:inline!important;
   content:"Permit total"!important;
   float:none!important;
   color:#526358!important;
   font-size:13px!important;
   font-weight:600!important;
 }
 .bac-embedded-cart-wrap table.woocommerce-cart-form__contents tr:not(.cart_item) td.actions {
   display:block!important;
   width:100%!important;
   padding:8px 0 0!important;
   text-align:left!important;
 }
 .bac-embedded-cart-wrap :is(h2,h3,.elementor-heading-title) {
   font-size:clamp(24px,7vw,34px)!important;
   line-height:1.2!important;
   overflow-wrap:normal!important;
   word-break:normal!important;
 }
 .bac-embedded-cart-wrap .e-cart__column-end .cart_totals,
 .bac-embedded-cart-wrap .wc-proceed-to-checkout {
   width:100%!important;
   max-width:100%!important;
 }
 .bac-embedded-cart-wrap .wc-proceed-to-checkout a {
   display:flex!important;
   width:100%!important;
   min-height:48px!important;
 }
}
