body.sf-theme-light .sf-frontend-header {
  color:var(--sf-text);
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 96%, transparent), color-mix(in srgb, var(--sf-surface) 94%, transparent)),
    var(--sf-frontend-header-bg, var(--sf-surface));
  border-bottom-color:color-mix(in srgb, var(--sf-border) 18%, transparent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.sf-theme-light .sf-frontend-header__brand,
body.sf-theme-light .sf-frontend-header__action {
  color:var(--sf-text);
  background:color-mix(in srgb, var(--sf-surface) 90%, transparent);
  border-color:color-mix(in srgb, var(--sf-border) 20%, transparent);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.sf-theme-light .sf-frontend-header__brand:hover,
body.sf-theme-light .sf-frontend-header__brand:focus-visible,
body.sf-theme-light .sf-frontend-header__action:hover,
body.sf-theme-light .sf-frontend-header__action:focus-visible {
  color:var(--sf-brand);
  background:color-mix(in srgb, var(--sf-brand) 8%, transparent);
  border-color:color-mix(in srgb, var(--sf-focus-ring) 24%, transparent);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--sf-brand) 12.0%, transparent);
}

@media (max-width: 900px) {
  body.sf-theme-light .sf-frontend-header {
    background:transparent;
    border-bottom:0;
    box-shadow:none;
    backdrop-filter:none;
  }

  body.sf-theme-light .sf-frontend-header::before {
    background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 96%, transparent), color-mix(in srgb, var(--sf-surface) 94%, transparent)),
      var(--sf-frontend-header-bg, var(--sf-surface));
    border-bottom-color:color-mix(in srgb, var(--sf-border) 18%, transparent);
    box-shadow:0 18px 40px rgba(15, 23, 42, 0.08);
  }

  body.sf-theme-light .sf-frontend-header__brand {
    background:var(--sf-surface);
  }

  body.sf-theme-light .sf-frontend-header__brand:hover,
  body.sf-theme-light .sf-frontend-header__brand:focus-visible {
    background:color-mix(in srgb, var(--sf-surface) 92%, var(--sf-brand) 8%);
  }
}

body.sf-theme-light .sf-frontend-footer {
  color:var(--sf-muted);
  background:linear-gradient(180deg, color-mix(in srgb, var(--sf-surface) 86%, transparent), color-mix(in srgb, var(--sf-surface) 92%, transparent)),
    var(--sf-frontend-footer-bg, var(--sf-surface));
  border-top-color:color-mix(in srgb, var(--sf-border) 18%, transparent);
}

body.sf-theme-light .woocommerce-message,
body.sf-theme-light .woocommerce-info,
body.sf-theme-light .woocommerce-error {
  color:var(--sf-text);
}

body.sf-theme-light .sf-store-review-shortcode-card,
body.sf-theme-light .sf-product-review-shortcode-card {
  border-color:color-mix(in srgb, var(--sf-border) 20%, transparent);
  background:color-mix(in srgb, var(--sf-surface) 92%, transparent);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

body.sf-theme-light .sf-store-review-shortcode-empty {
  color:var(--sf-muted);
}

/* Shared customer interaction states. Component layout stays in its own stylesheet. */
body.swefood-frontend :is(input,select,textarea){accent-color:var(--sf-brand)}
body.swefood-frontend :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--sf-focus-ring);outline-offset:3px}
body.swefood-frontend :is(.sf-home-button--primary,.sf-home-hero-v2__button--primary,.sf-home-product-card__cta,.sf-home-hero-product__add,.sf-home-visit-v1__button.is-primary,.sf-card__add,.sf-menu__search-submit,.sf-account-page .button,.sf-account-page .woocommerce-Button,.sf-account-page .woocommerce-button,.sf-cart-main-card .button,.sf-cart-main-card .checkout-button,.sf-cart-main-card .wc-block-cart__submit-button,.sf-checkout #place_order,.sf-checkout .button,.sf-purchase-card__submit,.sf-related-card__cta,.sf-review-form__submit,.sf-store-review-form__submit):is(:hover,:focus-visible){background:var(--sf-brand-hover);color:var(--sf-brand-hover-contrast)}
body.swefood-frontend .woocommerce-message{background:var(--sf-success-soft);color:var(--sf-text);border-color:var(--sf-success)}
body.swefood-frontend .woocommerce-message::before{color:var(--sf-success)}
body.swefood-frontend .woocommerce-error{background:var(--sf-error-soft);color:var(--sf-text);border-color:var(--sf-error)}
body.swefood-frontend .woocommerce-error::before{color:var(--sf-error)}
body.swefood-frontend .woocommerce-info{background:var(--sf-brand-soft);color:var(--sf-text);border-color:var(--sf-brand)}
body.swefood-frontend .woocommerce-info::before{color:var(--sf-brand)}
body.swefood-frontend .sf-card__badge--sale{background:var(--sf-error);color:var(--sf-error-contrast)}
body.swefood-frontend .sf-card__badge--new{background:var(--sf-brand);color:var(--sf-brand-contrast)}
.sf-home-live-promo-card:is(.is-blue,.is-green,.is-orange){color:var(--sf-brand-contrast)}
.sf-home-live-promo-card:is(.is-blue,.is-green,.is-orange) :is(h3,p,span){color:inherit}

/* Transparent header surfaces; retain border widths so the existing layout does not move. */
body.swefood-frontend .sf-frontend-header,
body.swefood-frontend .sf-frontend-header::before,
body.swefood-frontend .sf-frontend-header .sf-frontend-header__brand,
body.swefood-frontend .sf-frontend-header .sf-frontend-header__brand::after {
  background:transparent;
  border-color:transparent;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
}

body.swefood-frontend .sf-frontend-header,
body.swefood-frontend .sf-frontend-header .sf-frontend-header__brand {
  color:var(--sf-text);
}
