.bdp-eyebrow {
  display: inline-block;
  font-size: var(--bdp-text-xs);
  font-weight: 600;
  letter-spacing: var(--bdp-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--bdp-color-gold);
}

.bdp-text-muted {
  color: var(--bdp-color-muted);
}

.bdp-divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--bdp-color-border-warm);
}

.bdp-surface-soft {
  background: var(--bdp-color-surface-soft);
}

.bdp-surface-cream {
  background: var(--bdp-color-surface);
}

.bdp-card,
.bdp-card--soft,
.bdp-card--elevated,
body.bdp-shell-managed .inside-article,
body.bdp-shell-managed .inside-page-header,
body.bdp-shell-managed .comments-area,
body.bdp-shell-managed .woocommerce-account .woocommerce form.login,
body.bdp-shell-managed .woocommerce-account .woocommerce .u-column1,
body.bdp-shell-managed .woocommerce-account .woocommerce .u-column2,
body.bdp-shell-managed.woocommerce-cart .wc-block-components-sidebar,
body.bdp-shell-managed.woocommerce-cart .wc-block-cart-items,
body.bdp-shell-managed .woocommerce-account .woocommerce-MyAccount-navigation,
body.bdp-shell-managed .woocommerce-account .woocommerce-MyAccount-content,
.bdp-product-card {
  --bdp-card-bg: rgba(255, 255, 255, 0.9);
  --bdp-card-border: var(--bdp-color-border-warm);
  --bdp-card-radius: var(--bdp-radius-4);
  --bdp-card-shadow: var(--bdp-shadow-2);
  background: var(--bdp-card-bg);
  border: 1px solid var(--bdp-card-border);
  border-radius: var(--bdp-card-radius);
  box-shadow: var(--bdp-card-shadow);
}

.bdp-card--soft {
  --bdp-card-bg: var(--bdp-color-surface-soft);
  --bdp-card-shadow: var(--bdp-shadow-1);
}

.bdp-card--elevated {
  --bdp-card-shadow: var(--bdp-shadow-3);
}

body.bdp-shell-managed .inside-article,
body.bdp-shell-managed .inside-page-header,
body.bdp-shell-managed .comments-area,
body.bdp-shell-managed .woocommerce-account .woocommerce form.login,
body.bdp-shell-managed .woocommerce-account .woocommerce .u-column1,
body.bdp-shell-managed .woocommerce-account .woocommerce .u-column2,
body.bdp-shell-managed.woocommerce-cart .wc-block-components-sidebar,
body.bdp-shell-managed.woocommerce-cart .wc-block-cart-items,
body.bdp-shell-managed .woocommerce-account .woocommerce-MyAccount-navigation,
body.bdp-shell-managed .woocommerce-account .woocommerce-MyAccount-content {
  --bdp-card-radius: var(--bdp-radius-5);
}

body.bdp-shell-managed
  :where(
    .bdp-button,
    .bdp-button--secondary,
    .bdp-button--ghost,
    button:not(.menu-toggle),
    input[type='submit'],
    input[type='button'],
    input[type='reset'],
    .button,
    .wp-block-button__link:not(.has-background),
    .wc-block-components-button,
    .wc-block-cart__submit-button
  ) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bdp-space-2);
  min-height: var(--bdp-button-height);
  padding: 0 var(--bdp-button-pad-x);
  border: 1px solid transparent;
  border-radius: var(--bdp-radius-pill);
  background: var(--bdp-color-emerald);
  color: var(--bdp-color-text-on-dark);
  box-shadow: var(--bdp-shadow-1);
  font-size: var(--bdp-text-sm);
  font-weight: 600;
  letter-spacing: var(--bdp-tracking-eyebrow);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

body.bdp-shell-managed
  :where(
    .bdp-button,
    .bdp-button--secondary,
    .bdp-button--ghost,
    button:not(.menu-toggle),
    input[type='submit'],
    input[type='button'],
    input[type='reset'],
    .button,
    .wp-block-button__link:not(.has-background),
    .wc-block-components-button,
    .wc-block-cart__submit-button
  ):hover,
body.bdp-shell-managed
  :where(
    .bdp-button,
    .bdp-button--secondary,
    .bdp-button--ghost,
    button:not(.menu-toggle),
    input[type='submit'],
    input[type='button'],
    input[type='reset'],
    .button,
    .wp-block-button__link:not(.has-background),
    .wc-block-components-button,
    .wc-block-cart__submit-button
  ):focus-visible {
  transform: translateY(-1px);
  background: var(--bdp-color-emerald-deep);
  color: var(--bdp-color-text-on-dark);
  box-shadow: var(--bdp-shadow-2);
}

body.bdp-shell-managed .bdp-button--secondary {
  background: color-mix(in srgb, var(--bdp-color-surface) 84%, white);
  border-color: var(--bdp-color-border-warm);
  color: var(--bdp-color-emerald-deep);
}

body.bdp-shell-managed .bdp-button--secondary:hover,
body.bdp-shell-managed .bdp-button--secondary:focus-visible {
  background: var(--bdp-color-surface-soft);
  border-color: color-mix(in srgb, var(--bdp-color-gold) 45%, var(--bdp-color-border-warm));
  color: var(--bdp-color-emerald-deep);
}

body.bdp-shell-managed .bdp-button--ghost {
  background: transparent;
  border-color: var(--bdp-color-border-warm);
  color: var(--bdp-color-emerald-deep);
  box-shadow: none;
}

body.bdp-shell-managed .bdp-button--ghost:hover,
body.bdp-shell-managed .bdp-button--ghost:focus-visible {
  background: var(--bdp-color-gold-soft);
  border-color: color-mix(in srgb, var(--bdp-color-gold) 55%, var(--bdp-color-border-warm));
  color: var(--bdp-color-emerald-deep);
}

body.bdp-shell-managed
  :where(
    .bdp-button,
    .bdp-button--secondary,
    .bdp-button--ghost,
    button:not(.menu-toggle),
    input[type='submit'],
    input[type='button'],
    input[type='reset'],
    .button,
    .wp-block-button__link:not(.has-background),
    .wc-block-components-button,
    .wc-block-cart__submit-button
  ):disabled {
  transform: none;
  opacity: 0.62;
  cursor: not-allowed;
  box-shadow: none;
}

body.bdp-shell-managed
  :where(
    .bdp-shell-header__toggle,
    .bdp-shell-drawer__close,
    .bdp-shell-drawer__submenu-toggle
  ) {
  min-height: 0;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
}

body.bdp-shell-managed .bdp-shell-drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--bdp-color-border-warm);
  border-radius: var(--bdp-radius-pill);
  background: rgba(255, 255, 255, 0.82);
  color: var(--bdp-color-emerald-deep);
  box-shadow: var(--bdp-shadow-1);
}

body.bdp-shell-managed
  :where(
    .bdp-shell-header__toggle,
    .bdp-shell-drawer__close,
    .bdp-shell-drawer__submenu-toggle
  ):hover,
body.bdp-shell-managed
  :where(
    .bdp-shell-header__toggle,
    .bdp-shell-drawer__close,
    .bdp-shell-drawer__submenu-toggle
  ):focus-visible {
  transform: translateY(-1px);
  background: color-mix(in srgb, white 78%, var(--bdp-color-surface));
  border-color: color-mix(in srgb, var(--bdp-color-gold) 55%, var(--bdp-color-border-warm));
  color: var(--bdp-color-emerald);
  box-shadow: var(--bdp-shadow-2);
}

body.bdp-shell-managed
  :where(
    input[type='text'],
    input[type='email'],
    input[type='url'],
    input[type='tel'],
    input[type='password'],
    input[type='number'],
    input[type='search'],
    input[type='date'],
    select,
    textarea
  ) {
  width: 100%;
  max-width: 100%;
  min-height: var(--bdp-field-height);
  padding: 0 var(--bdp-field-pad-x);
  border: 1px solid var(--bdp-color-border-warm);
  border-radius: var(--bdp-radius-4);
  background: var(--bdp-color-field-bg);
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

body.bdp-shell-managed textarea {
  padding-block: 0.875rem;
}

body.bdp-shell-managed select {
  padding-right: calc(var(--bdp-field-pad-x) + 1.5rem);
}

body.bdp-shell-managed
  :where(
    input[type='text'],
    input[type='email'],
    input[type='url'],
    input[type='tel'],
    input[type='password'],
    input[type='number'],
    input[type='search'],
    input[type='date'],
    select,
    textarea
  ):focus,
body.bdp-shell-managed
  :where(
    input[type='text'],
    input[type='email'],
    input[type='url'],
    input[type='tel'],
    input[type='password'],
    input[type='number'],
    input[type='search'],
    input[type='date'],
    select,
    textarea
  ):focus-visible {
  border-color: color-mix(in srgb, var(--bdp-color-emerald) 62%, white);
  box-shadow:
    0 0 0 4px var(--bdp-color-gold-soft),
    inset 0 1px 2px rgba(17, 24, 39, 0.04);
  outline: 0;
}

body.bdp-shell-managed input[type='checkbox'],
body.bdp-shell-managed input[type='radio'] {
  accent-color: var(--bdp-color-emerald);
}

body.bdp-shell-managed input[type='file'] {
  max-width: 100%;
  font-size: var(--bdp-text-sm);
  color: var(--bdp-color-muted);
}

.bdp-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: var(--bdp-space-4) calc(var(--bdp-space-4) + 0.25rem);
  margin-bottom: var(--bdp-space-6);
  background: color-mix(in srgb, var(--bdp-color-bg) 88%, var(--bdp-color-surface-soft));
  border: 1px solid var(--bdp-color-border-warm);
  border-radius: var(--bdp-radius-pill);
  box-shadow: var(--bdp-shadow-1);
}

.bdp-product-card {
  padding: var(--bdp-space-4);
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bdp-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 165, 107, 0.45);
  box-shadow: var(--bdp-shadow-3);
}

.bdp-account-nav-wrap {
  margin-bottom: var(--bdp-space-4);
}

:where(
  .bdp-home-entry-card__link,
  .bdp-home-proof-card__link,
  .bdp-home-story__support-link,
  .bdp-service-card__link,
  .bdp-service-proof-card__link,
  .bdp-editorial-related__link,
  .bdp-shell-prefooter__card a,
  .bdp-shell-footer__brand-meta a,
  .bdp-shell-footer__links a,
  .bdp-shell-footer__sublinks a,
  .bdp-shell-footer__contact-link,
  .bdp-shell-footer__legal-nav a,
  .bdp-home-visit__card a,
  .bdp-home-prefooter__card a,
  .bdp-shell-drawer__meta a,
  .woocommerce-cart .wc-block-cart-item__remove-link,
  .woocommerce-cart .wc-block-components-product-remove-link,
  .woocommerce-account .woocommerce .lost_password a
) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: var(--bdp-touch-target-min);
  padding: 0.4rem 0.35rem;
  border-radius: var(--bdp-radius-3);
  text-decoration-thickness: 0.08em;
  text-decoration-color: color-mix(in srgb, currentColor 28%, transparent);
  text-underline-offset: 0.18em;
  transition:
    color var(--bdp-motion-base) ease,
    background-color var(--bdp-motion-base) ease,
    text-decoration-color var(--bdp-motion-base) ease,
    box-shadow var(--bdp-motion-base) ease;
}

:where(
  .bdp-home-entry-card__link,
  .bdp-home-proof-card__link,
  .bdp-home-story__support-link,
  .bdp-service-card__link,
  .bdp-service-proof-card__link,
  .bdp-editorial-related__link,
  .bdp-shell-prefooter__card a,
  .bdp-shell-footer__brand-meta a,
  .bdp-shell-footer__links a,
  .bdp-shell-footer__sublinks a,
  .bdp-shell-footer__contact-link,
  .bdp-shell-footer__legal-nav a,
  .bdp-home-visit__card a,
  .bdp-home-prefooter__card a,
  .bdp-shell-drawer__meta a,
  .woocommerce-cart .wc-block-cart-item__remove-link,
  .woocommerce-cart .wc-block-components-product-remove-link,
  .woocommerce-account .woocommerce .lost_password a
):hover,
:where(
  .bdp-home-entry-card__link,
  .bdp-home-proof-card__link,
  .bdp-home-story__support-link,
  .bdp-service-card__link,
  .bdp-service-proof-card__link,
  .bdp-editorial-related__link,
  .bdp-shell-prefooter__card a,
  .bdp-shell-footer__brand-meta a,
  .bdp-shell-footer__links a,
  .bdp-shell-footer__sublinks a,
  .bdp-shell-footer__contact-link,
  .bdp-shell-footer__legal-nav a,
  .bdp-home-visit__card a,
  .bdp-home-prefooter__card a,
  .bdp-shell-drawer__meta a,
  .woocommerce-cart .wc-block-cart-item__remove-link,
  .woocommerce-cart .wc-block-components-product-remove-link,
  .woocommerce-account .woocommerce .lost_password a
):focus-visible {
  background: color-mix(in srgb, var(--bdp-color-gold-soft) 70%, white);
  text-decoration-color: currentColor;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bdp-color-gold) 35%, transparent);
}

.bdp-pdp-header__icon-btn,
.bdp-pdp-sticky__secondary,
.bdp-pdp-choice,
.bdp-pdp-reviews-link,
.bdp-pdp-sticky__primary {
  transition:
    transform var(--bdp-motion-base) ease,
    border-color var(--bdp-motion-base) ease,
    background-color var(--bdp-motion-base) ease,
    color var(--bdp-motion-base) ease,
    box-shadow var(--bdp-motion-base) ease,
    opacity var(--bdp-motion-base) ease;
}

@media (max-width: 782px) {
  .bdp-archive-toolbar {
    padding: var(--bdp-space-4);
    border-radius: var(--bdp-radius-5);
    align-items: stretch;
  }
}
