@media screen {
  body.esp-page-cart-v51 .woocommerce form.woocommerce-cart-form .actions .esp-cart-coupon {
    display: grid; gap: 7px; float: none; justify-items: start; padding: 14px 4px; color: #241d16; text-align: left;
  }
  body.esp-page-cart-v51 .woocommerce form.woocommerce-cart-form .actions .esp-cart-coupon label {
    display: block; margin: 0; font: 500 14px/1.4 var(--esp-font-body);
  }
  body.esp-page-cart-v51 .woocommerce form.woocommerce-cart-form .esp-cart-coupon-fields { display: flex; gap: 8px; flex-wrap: wrap; }
  body.esp-page-cart-v51 .woocommerce form.woocommerce-cart-form .esp-cart-coupon-fields input#coupon_code {
    float: none; width: 180px; min-height: 42px; margin: 0; padding: 9px 12px; border: 1px solid #d7cbb9; border-radius: 7px; background: #fff;
  }
  body.esp-page-cart-v51 .woocommerce form.woocommerce-cart-form .esp-cart-coupon-fields button {
    width: auto; min-height: 42px; margin: 0; padding: 9px 14px; border: 0; border-radius: 7px;
    background: #89652c; color: #fff; font: 600 14px/1.45 var(--esp-font-body);
  }
  body.esp-page-checkout-v51 .wp-block-group.is-layout-flex:has(> .esp-native-checkout-ready) {
    display: flex !important;
    flex-flow: column nowrap !important;
    align-items: stretch !important;
    gap: 0;
  }
  body.esp-page-checkout-v51 .wp-block-group > .esp-native-checkout-ready {
    align-self: stretch; width: 100% !important; max-width: 100%; min-width: 0; margin-inline: 0;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-components-sidebar-layout {
    display: grid !important; grid-template-columns: minmax(0,1.9fr) minmax(264px,1fr);
    align-items: start; gap: clamp(20px,2.1vw,32px); width: 100%; margin: 0;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__main,
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__sidebar {
    grid-row: 1; width: 100% !important; min-width: 0; margin: 0; padding: 0;
    box-sizing: border-box; align-self: start;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__main { grid-column: 1; }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__sidebar {
    grid-column: 2; position: static; padding: 24px; background: #fff; border-radius: 16px;
    box-shadow: 0 10px 35px #3527180c;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
    padding: 0; border: 0; background: transparent;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__sidebar .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    margin: 0 0 5px; color: #201a15; font: 600 17px/1.35 var(--esp-font-body);
    text-transform: none; letter-spacing: normal; overflow-wrap: anywhere;
  }
  /* Woo portals a single set of live totals between the sidebar and the mobile summary. */
  @media (min-width: 1024px) {
    body.esp-page-checkout-v51 .esp-native-checkout-ready .checkout-order-summary-block-fill-wrapper.is-content-inline { display: none; }
  }
  body.esp-page-checkout-v51 .esp-native-checkout-form {
    position: relative; display: flex !important; flex-direction: column; align-items: stretch;
    gap: 0; width: 100%; margin: 0; reading-flow: flex-visual;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-form .esp-native-checkout-nav { display: contents; }
  body.esp-page-checkout-v51 .esp-native-checkout-form [data-esp-checkout-heading],
  body.esp-page-checkout-v51 .esp-native-checkout-form [data-esp-checkout-panel],
  body.esp-page-checkout-v51 .esp-native-checkout-form [data-esp-checkout-after] { box-sizing: border-box; width: 100%; }
  body.esp-page-checkout-v51 .esp-block-step-link {
    display: grid; grid-template-columns: 28px minmax(0,1fr) auto; min-height: 70px; align-items: center; gap: 6px 12px; margin: 16px 0 0;
    padding: 20px 24px; border: 0; border-radius: 16px; background: #fff; color: #201a15;
    text-align: left; text-transform: none; font: 600 16px/1.45 var(--esp-font-body); cursor: pointer;
  }
  body.esp-page-checkout-v51 .esp-block-step-link:first-child { margin-top: 0; }
  body.esp-page-checkout-v51 .esp-block-edit-label { color: #825e26; font: 500 13px/1.4 var(--esp-font-body); }
  body.esp-page-checkout-v51 .esp-block-completed-summary {
    grid-column: 2 / -1; white-space: pre-line; overflow-wrap: anywhere; color: #6e6357; font: 400 14px/1.5 var(--esp-font-body);
  }
  body.esp-page-checkout-v51 .esp-block-step-link :is(.esp-block-completed-summary,.esp-block-edit-label)[hidden] { display: none; }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__sidebar .wc-block-components-totals-wrapper:has(.wc-block-components-totals-item) {
    background: #fbf8f3; padding: 10px 16px; border-color: #eee5d7;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-ready .wc-block-checkout__sidebar .wc-block-components-totals-item { padding-inline: 0; }
  body.esp-page-checkout-v51 .esp-block-step-link[aria-expanded=true] { border-radius: 12px 12px 0 0; }
  body.esp-page-checkout-v51 .esp-block-step-number {
    display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px;
    border-radius: 50%; background: #f6f1e8; color: #8d713f; font: 500 14px/1 var(--esp-font-body);
  }
  body.esp-page-checkout-v51 .esp-block-step-link[aria-current=step] .esp-block-step-number { color: #fff; background: #b5914f; }
  body.esp-page-checkout-v51 .esp-block-step-link:hover { background: #fffdf8; }
  body.esp-page-checkout-v51 .esp-block-step-link:focus-visible,
  body.esp-page-checkout-v51 .esp-block-next:focus-visible { outline: 2px solid #825e26; outline-offset: -2px; }
  body.esp-page-checkout-v51 .esp-block-step-footer {
    display: flex; justify-content: flex-end; padding: 10px 22px 18px; margin: 0;
    border-radius: 0 0 12px 12px; background: #fff;
  }
  body.esp-page-checkout-v51 .esp-block-next,
  body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-components-checkout-place-order-button {
    min-height: 42px; padding: 9px 16px; border: 0; border-radius: 7px; color: #fff;
    background: #8c6a32; font: 600 15px/1.4 var(--esp-font-body); cursor: pointer;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-form :is(.esp-block-step-link,.esp-block-step-footer,.esp-block-next)[hidden] { display: none; }
  body.esp-page-checkout-v51 .esp-native-checkout-form [data-esp-checkout-panel] {
    min-width: 0; margin: 0; padding: 2px 22px 12px; border: 0; border-radius: 0;
    background: #fff; color: #201a15;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-checkout__actions[data-esp-checkout-panel] {
    padding-bottom: 20px; border-radius: 0 0 12px 12px;
  }
  body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-components-checkout-step__heading::before,
  body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-components-checkout-step__title { display: none; }
  body.esp-page-checkout-v51 .esp-native-checkout-form:has(.wc-block-checkout__shipping-fields):has(.wc-block-checkout__billing-fields)
      :is(.wc-block-checkout__shipping-fields,.wc-block-checkout__billing-fields) .wc-block-components-checkout-step__title {
    display: block; margin: 4px 0 8px; font: 600 14px/1.5 var(--esp-font-body);
  }
  body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-components-checkout-step__heading { margin: 0; }
  body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-components-checkout-step__description { margin: 4px 0 12px; color: #675d51; }
  body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-components-checkout-step__content { padding: 0; }
  body.esp-page-checkout-v51 .esp-native-checkout-form :is(.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-textarea) {
    border-color: #d4c7b5; border-radius: 7px; background: #fff; color: #201a15;
  }
  /* Hidden provider iframes remain mounted at the form width for provider initialization. */
  body.esp-page-checkout-v51 .esp-native-checkout-form > .esp-block-closed { display: none; }
  body.esp-page-checkout-v51 .esp-native-checkout-form > .wc-block-checkout__payment-method.esp-block-closed {
    display: block; visibility: hidden; pointer-events: none; position: absolute;
    inset: 0 0 auto; overflow: hidden; max-height: 0; padding-block: 0;
  }
  body.esp-page-checkout-v51 [data-esp-checkout-heading=contact] { order: 10; }
  body.esp-page-checkout-v51 [data-esp-checkout-panel=contact] { order: 11; }
  body.esp-page-checkout-v51 [data-esp-checkout-after=contact] { order: 12; }
  body.esp-page-checkout-v51 [data-esp-checkout-heading=address] { order: 20; }
  body.esp-page-checkout-v51 [data-esp-checkout-panel=address] { order: 21; }
  body.esp-page-checkout-v51 [data-esp-checkout-after=address] { order: 22; }
  body.esp-page-checkout-v51 [data-esp-checkout-heading=shipping] { order: 30; }
  body.esp-page-checkout-v51 [data-esp-checkout-panel=shipping] { order: 31; }
  body.esp-page-checkout-v51 [data-esp-checkout-after=shipping] { order: 32; }
  body.esp-page-checkout-v51 [data-esp-checkout-heading=notes] { order: 40; }
  body.esp-page-checkout-v51 [data-esp-checkout-panel=notes] { order: 41; }
  body.esp-page-checkout-v51 [data-esp-checkout-after=notes] { order: 42; }
  body.esp-page-checkout-v51 [data-esp-checkout-heading=payment] { order: 50; }
  body.esp-page-checkout-v51 [data-esp-checkout-panel=payment] { order: 51; }
}

/* Native Blocks validation and keyboard feedback. */
body.esp-page-checkout-v51 .esp-alcohol-verification { margin: 16px 0 6px; }
body.esp-page-checkout-v51 .esp-alcohol-verification label { display:block; font-weight:600; }
body.esp-page-checkout-v51 .esp-alcohol-verification p { margin:5px 0 9px; line-height:1.45; font-size:14px; }
body.esp-page-checkout-v51 .esp-alcohol-verification input { display:block; background:#fff; border:1px solid #b9a88d; border-radius:7px; color:#201a15; font:inherit; font-size:16px; width:100%; max-width:24rem; padding:8px 12px; min-height:48px; min-width:0; box-sizing:border-box; }
body.esp-page-checkout-v51 .esp-alcohol-verification input:focus-visible { outline:2px solid #825e26; outline-offset:2px; }
body.esp-page-checkout-v51 .esp-alcohol-verification input[aria-invalid=true] { border-color:#922b21; }
body.esp-page-checkout-v51 .esp-block-step-footer { flex-wrap:wrap; align-items:center; gap:12px; }
body.esp-page-checkout-v51 .esp-checkout-error, body.esp-page-checkout-v51 #esp-birth-error, body.esp-page-cart-v51 .esp-qty-error { color:#922b21; font:500 14px/1.45 var(--esp-font-body); margin:0; }
body.esp-page-checkout-v51 .esp-checkout-error { flex:1 1 12rem; }
body.esp-page-checkout-v51 :is(.esp-checkout-error,#esp-birth-error):empty { display:none; }
body.esp-page-checkout-v51 .esp-native-checkout-form .wc-blocks-components-select :is(svg,.wc-blocks-components-select__expand) { position:absolute; inset-inline-start:auto; inset-inline-end:12px; top:50%; transform:translateY(-50%); pointer-events:none; }
body.esp-page-checkout-v51 .esp-native-checkout-form select { padding-inline-end:36px; }
body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-checkout__pickup-options svg { inline-size:24px; block-size:24px; max-width:24px; max-height:24px; }
body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-components-address-card__edit { min-height:44px; min-width:44px; }
body.esp-page-cart-v51 .woocommerce-cart-form[aria-busy=true] .product-subtotal { opacity:.64; }
body.esp-page-cart-v51 .woocommerce-cart-form [aria-disabled=true].btn-qty { opacity:.48; }
body.esp-page-cart-v51 #main .woocommerce-cart-form[aria-busy] [name=update_cart],
body.esp-page-cart-v51 #main .woocommerce-cart-form[aria-busy] tr:not(.cart_item):has(td.actions):not(:has(td.actions a, td.actions input:not([type=hidden]), td.actions button:not([name=update_cart]))) { display:none !important; }
body.esp-page-cart-v51 #main .esp-qty-error { display:block; max-width:13rem; margin-top:8px; }
/* Preserve Woo's payable totals, discounts, taxes and gift control at Payment. */
body:is(.esp-page-checkout-v51,.esp-page-cart-v51) nav[aria-labelledby="esp-ask-zaya-link"] { display:none !important; }
body.esp-page-checkout-v51 .esp-native-checkout-form .wc-block-checkout__terms a,
body.esp-page-checkout-v51 .esp-international-duty a { color:#725122; text-decoration:underline; text-underline-offset:3px; }
body.esp-page-checkout-v51 .esp-international-duty { margin:12px 0 0; font:400 14px/1.5 var(--esp-font-body); color:#53483b; }
body.esp-page-checkout-v51 .esp-checkout-items { display:none; }
body.esp-page-checkout-v51 .wc-block-checkout__pickup-options .wc-block-components-radio-control__description svg { width:24px !important; height:24px !important; flex:none; vertical-align:middle; }
@media(max-width:1023px) {
  body.esp-page-checkout-v51 .esp-native-checkout-form .checkout-order-summary-block-fill-wrapper .esp-checkout-items { display:flex; align-items:center; justify-content:space-between; text-align:start; color:#6c4d1d; width:100%; font:600 15px/1.4 var(--esp-font-body); padding:12px 0; min-height:46px; background:none; border:none; }
  body.esp-page-checkout-v51 .esp-checkout-items::after { content:"+"; }
  body.esp-page-checkout-v51 .esp-checkout-items[aria-expanded=true]::after { content:"−"; }
  body.esp-page-checkout-v51 .esp-checkout-items[aria-expanded=false] + .wp-block-woocommerce-checkout-order-summary-cart-items-block { display:none !important; }
  body.esp-page-checkout-v51 .esp-native-checkout-form .checkout-order-summary-block-fill-wrapper .wc-block-components-product-name { font:600 15px/1.4 var(--esp-font-body); margin:0 0 5px; text-transform:none; overflow-wrap:anywhere; }
  body.esp-page-checkout-v51 .esp-native-checkout-form .checkout-order-summary-block-fill-wrapper .wc-block-components-product-metadata__description { display:none; }
  body.esp-page-checkout-v51 .esp-native-checkout-form .checkout-order-summary-block-fill-wrapper .wc-block-components-product-metadata { font-size:14px; }
  body.esp-page-checkout-v51 [data-esp-block-step=payment]:has(.wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper .wc-block-components-totals-footer-item) .wc-block-checkout__sidebar { display:none !important; }
}
