body.entria-storefront {
  --bt-page: #f3f6f8;
  --bt-paper: #ffffff;
  --bt-ink: #071723;
  --bt-muted: #586875;
  --bt-festival-green: #071b2a;
  --bt-rule: #dce4e9;
  --bt-action: #08776c;
  background: var(--entria-background, var(--bt-page));
  color: var(--entria-text, var(--bt-ink));
  font-family:
    var(--entria-font-body, system-ui),
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.entria-storefront *,
.entria-storefront *::before,
.entria-storefront *::after {
  box-sizing: border-box;
}
.entria-storefront #brx-content {
  display: block;
  padding: 0;
  width: 100%;
  max-width: none;
}
.entria-storefront #brx-content > h1,
.entria-storefront .entry-title {
  display: none;
}
.entria-shop-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 40px;
}
.entria-shop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 0 24px;
  border-bottom: 1px solid var(--entria-border, var(--bt-rule));
}
.entria-shop-brand {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--entria-heading, var(--bt-festival-green));
}
.entria-shop-back {
  font-size: 14px;
  color: var(--entria-heading, var(--bt-festival-green));
  text-decoration: none;
  font-weight: 600;
  padding: 10px 0;
}
.entria-shop-back:hover {
  text-decoration: underline;
}
.entria-shop-steps {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 0;
  color: var(--entria-muted, var(--bt-muted));
  font-size: 13px;
}
.entria-shop-steps a {
  color: inherit;
  text-decoration: none;
}
.entria-shop-steps [aria-current] {
  color: var(--entria-heading, var(--bt-festival-green));
  font-weight: 700;
}
.entria-shop-steps span span,
.entria-shop-steps a span {
  font-size: 11px;
  margin-right: 5px;
}
.entria-shop-intro {
  padding: 30px 0 36px;
}
.entria-shop-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--entria-heading, var(--bt-festival-green));
  margin: 0 0 10px;
}
.entria-shop-intro h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--entria-heading, var(--bt-festival-green));
  margin: 0 0 14px;
}
.entria-shop-intro > p:last-child {
  margin: 0;
  color: var(--entria-muted, var(--bt-muted));
  font-size: 16px;
}
.entria-shop-content {
  min-width: 0;
}
.entria-shop-content :is(.wc-block-cart, .wc-block-checkout) {
  font-size: 15px;
  margin: 0;
  color: var(--entria-text, var(--bt-ink));
}
.entria-shop-content .wc-block-components-main {
  min-width: 0;
}
.entria-shop-content .wc-block-components-sidebar {
  padding: 24px;
  background: var(--entria-surface, var(--bt-paper));
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(64, 48, 27, 0.06);
  align-self: flex-start;
}
.entria-shop-content .wc-block-cart__main {
  background: var(--entria-surface, var(--bt-paper));
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 18px;
  padding: 24px;
}
.entria-shop-content table.wc-block-cart-items {
  margin: 0;
  border: 0;
}
.entria-shop-content .wc-block-cart-items__header th {
  color: var(--entria-muted, var(--bt-muted));
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.2px;
  padding-bottom: 18px;
}
.entria-shop-content .wc-block-cart-items__row td {
  border-color: var(--entria-border, var(--bt-rule));
  padding-top: 24px;
  padding-bottom: 24px;
}
.entria-shop-content .wc-block-cart-items__row:last-child td {
  border-bottom: 0;
}
.entria-shop-content .wc-block-components-product-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--entria-heading, var(--bt-festival-green));
  text-decoration: none;
  overflow-wrap: anywhere;
}
.entria-shop-content .wc-block-components-product-metadata {
  font-size: 13px;
  line-height: 1.5;
  color: var(--entria-muted, var(--bt-muted));
}
.entria-shop-content .wc-block-cart-item__image img {
  border-radius: 10px;
}
.entria-shop-content .wc-block-components-quantity-selector {
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 9px;
  min-height: 40px;
  margin-top: 14px;
  background: var(--entria-surface, var(--bt-paper));
}
.entria-shop-content .wc-block-components-quantity-selector input {
  font-size: 14px;
  font-weight: 600;
  color: var(--entria-text, var(--bt-ink));
}
.entria-shop-content .wc-block-components-quantity-selector button {
  min-width: 36px;
  color: var(--entria-heading, var(--bt-festival-green));
}
.entria-shop-content .wc-block-cart-item__remove-link {
  font-size: 12px;
  color: var(--entria-muted, var(--bt-muted));
}
.entria-shop-content .wc-block-cart__totals-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--entria-heading, var(--bt-festival-green));
  text-transform: none;
  padding: 0 0 20px;
}
.entria-shop-content
  :is(
    .wc-block-components-totals-wrapper,
    .wc-block-components-order-summary-item
  ) {
  border-color: var(--entria-border, var(--bt-rule));
}
.entria-shop-content .wc-block-components-totals-item {
  font-size: 14px;
  line-height: 1.5;
}
.entria-shop-content .wc-block-components-totals-footer-item {
  font-size: 20px;
  font-weight: 700;
  color: var(--entria-heading, var(--bt-festival-green));
  padding-top: 22px;
  padding-bottom: 22px;
}
.entria-shop-content
  :is(
    .wc-block-cart__submit-button,
    .wc-block-components-checkout-place-order-button,
    .woocommerce .button.alt
  ) {
  min-height: 52px;
  padding: 14px 22px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--entria-primary, var(--bt-action));
  color: var(--entria-on-primary, var(--bt-paper));
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}
.entria-shop-content
  :is(
    .wc-block-cart__submit-button,
    .wc-block-components-checkout-place-order-button
  ):hover {
  background: var(--entria-primary-hover, #07534a);
  color: var(--entria-on-primary, var(--bt-paper));
}
.entria-shop-content .wc-block-components-checkout-step {
  background: var(--entria-surface, var(--bt-paper));
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 16px;
  padding: 24px;
  margin: 0 0 18px;
}
.entria-shop-content .wc-block-components-checkout-step::after {
  display: none;
}
.entria-shop-content .wc-block-components-checkout-step__container {
  margin: 0;
}
.entria-shop-content .wc-block-components-checkout-step__heading {
  margin: 0 0 20px;
  align-items: center;
  gap: 12px;
}
.entria-shop-content .wc-block-components-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--entria-heading, var(--bt-festival-green));
}
.entria-shop-content .wc-block-components-checkout-step__description {
  font-size: 13px;
  color: var(--entria-muted, var(--bt-muted));
}
.entria-shop-content .wc-block-components-checkout-step__content {
  padding: 0;
}
.entria-shop-content .wc-block-components-checkout-step__heading::before {
  font-size: 13px;
  font-weight: 700;
  background: var(--entria-background, var(--bt-page));
  color: var(--entria-heading, var(--bt-festival-green));
  border-radius: 50%;
}
.entria-shop-content
  :is(
    .wc-block-components-text-input input,
    .wc-block-components-combobox-control input,
    .wc-block-components-textarea
  ) {
  background: var(--entria-surface, var(--bt-paper));
  color: var(--entria-text, var(--bt-ink));
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 9px;
  min-height: 54px;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
}
.entria-shop-content .wc-block-components-text-input label {
  color: var(--entria-muted, var(--bt-muted));
}
.entria-shop-content
  :is(
    .wc-block-components-radio-control__option,
    .wc-block-components-radio-control__option-checked
  ) {
  border-radius: 10px;
}
.entria-shop-content .wc-block-components-radio-control__option-checked {
  background: var(--entria-background, var(--bt-page));
  box-shadow: inset 0 0 0 1px var(--entria-heading, var(--bt-festival-green));
}
.entria-shop-content .wc-block-components-checkout-return-to-cart-button {
  color: var(--entria-heading, var(--bt-festival-green));
  font-size: 14px;
}
.entria-shop-content .wc-block-components-panel__button {
  font-size: 14px;
  color: var(--entria-heading, var(--bt-festival-green));
}
.entria-shop-content :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--entria-heading, var(--bt-festival-green));
  outline-offset: 3px;
}
.entria-shop-content .wc-block-components-checkbox label {
  font-size: 13px;
  line-height: 1.5;
}
.entria-shop-content .wc-block-cart__empty-cart__title {
  font-size: 30px;
  color: var(--entria-heading, var(--bt-festival-green));
  margin-top: 10px;
}
.entria-shop-content .wp-block-woocommerce-empty-cart-block {
  background: var(--entria-surface, var(--bt-paper));
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 18px;
  padding: 28px;
}
.entria-shop-content
  .wp-block-woocommerce-product-collection
  .wc-block-product {
  padding: 16px;
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 12px;
}
.entria-shop-content .wp-block-button__link {
  background: var(--entria-heading, var(--bt-festival-green));
  color: var(--entria-surface, var(--bt-paper));
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}
.entria-shop-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 0;
  margin-top: 40px;
  border-top: 1px solid var(--entria-border, var(--bt-rule));
  font-size: 12px;
  color: var(--entria-muted, var(--bt-muted));
}
/* Classic WooCommerce remains functional for themes that use shortcodes. */
.entria-shop-content .woocommerce-cart-form,
.entria-shop-content .cart_totals,
.entria-shop-content #customer_details,
.entria-shop-content #order_review {
  background: var(--entria-surface, var(--bt-paper));
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 16px;
  padding: 24px;
}
.entria-shop-content
  .woocommerce
  form
  .form-row
  :is(input.input-text, textarea, select) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--entria-border, var(--bt-rule));
  border-radius: 8px;
  background: var(--entria-surface, var(--bt-paper));
  font-size: 16px;
}
@media (min-width: 1000px) {
  .entria-shop-content .wc-block-components-sidebar {
    position: sticky;
    top: 28px;
    width: 34%;
  }
  .entria-shop-content .wc-block-components-main {
    width: 66%;
    padding-right: 28px;
  }
  .entria-shop-content .wc-block-cart__main {
    width: calc(66% - 28px);
    padding-right: 24px;
    margin-right: 28px;
  }
  .entria-shop-content .wc-block-components-sidebar-layout {
    align-items: flex-start;
  }
}
@media (max-width: 999px) {
  .entria-shop-shell {
    padding: 20px 24px 32px;
  }
  .entria-shop-content .wc-block-components-sidebar {
    padding: 20px;
  }
}
@media (max-width: 700px) {
  .entria-shop-shell {
    padding: 16px 16px 28px;
  }
  .entria-shop-nav {
    gap: 12px;
    padding-bottom: 18px;
  }
  .entria-shop-brand {
    font-size: 23px;
  }
  .entria-shop-back {
    font-size: 12px;
  }
  .entria-shop-steps {
    margin-top: 22px;
    gap: 12px;
  }
  .entria-shop-intro {
    padding: 26px 0 28px;
  }
  .entria-shop-intro h1 {
    letter-spacing: -1.2px;
  }
  .entria-shop-intro > p:last-child {
    font-size: 14px;
  }
  .entria-shop-content .wc-block-components-sidebar-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .entria-shop-content
    :is(
      .wc-block-components-main,
      .wc-block-cart__main,
      .wc-block-components-sidebar
    ) {
    width: 100%;
    margin: 0;
    padding: 18px;
    min-width: 0;
  }
  .entria-shop-content .wc-block-checkout__main {
    padding: 0;
  }
  .entria-shop-content .wc-block-components-checkout-step {
    padding: 18px;
  }
  .entria-shop-content .wc-block-cart-items__row td {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .entria-shop-content .wc-block-cart-item__image {
    width: 48px;
  }
  .entria-shop-content .wc-block-cart-item__image img {
    max-width: 48px;
  }
  .entria-shop-content .wc-block-components-product-name {
    font-size: 15px;
  }
  .entria-shop-content .wc-block-components-product-metadata {
    font-size: 12px;
  }
  .entria-shop-content .wc-block-cart-item__total {
    min-width: 72px;
    font-size: 14px;
  }
  .entria-shop-content .wc-block-cart__submit-container {
    position: static;
    padding: 0;
    box-shadow: none;
    background: none;
  }
  .entria-shop-footer {
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 22px;
    font-size: 11px;
  }
}

/* Woo alignwide and block selectors must remain inside the checkout shell. */
body.entria-storefront .entria-shop-content > .alignwide {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  left: auto;
  right: auto;
}
body.entria-storefront .entria-shop-content .wc-block-components-product-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--entria-heading, var(--bt-festival-green));
}
body.entria-storefront
  .wc-block-components-form
  .wc-block-components-text-input
  input {
  background: var(--entria-surface, var(--bt-paper));
  border-color: var(--entria-border, var(--bt-rule));
  border-radius: 9px;
  font-size: 16px;
}
body.entria-storefront .wp-block-woocommerce-checkout-order-summary-block {
  border: 0;
  padding: 0;
}

body.entria-storefront
  .wc-block-components-order-summary-item__image:has(
    img[src*="woocommerce-placeholder"]
  ) {
  display: none;
}
@media (max-width: 700px) {
  body.entria-storefront
    .entria-shop-content
    .wc-block-components-product-name {
    font-size: 15px;
  }
  body.entria-storefront
    .wc-block-cart-items__row
    .wc-block-cart-item__product {
    padding-left: 0;
  }
}

/* If all products use Woo's empty image, use two aligned text columns. */
body.entria-storefront
  table.wc-block-cart-items:has(img[src*="woocommerce-placeholder"]):not(
    :has(img:not([src*="woocommerce-placeholder"]))
  )
  tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  column-gap: 16px;
}
body.entria-storefront
  table.wc-block-cart-items:has(img[src*="woocommerce-placeholder"]):not(
    :has(img:not([src*="woocommerce-placeholder"]))
  )
  :is(.wc-block-cart-item__image, .wc-block-cart-items__header-image) {
  display: none;
}
body.entria-storefront
  table.wc-block-cart-items:has(img[src*="woocommerce-placeholder"]):not(
    :has(img:not([src*="woocommerce-placeholder"]))
  )
  :is(.wc-block-cart-item__product, .wc-block-cart-items__header-product) {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  padding-left: 0;
}
body.entria-storefront
  table.wc-block-cart-items:has(img[src*="woocommerce-placeholder"]):not(
    :has(img:not([src*="woocommerce-placeholder"]))
  )
  :is(.wc-block-cart-item__total, .wc-block-cart-items__header-total) {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  justify-content: flex-end;
  text-align: right;
}
