/* Native WooCommerce checkout/account shortcodes; keep gateway controls native. */
body:is(.woocommerce-checkout, .woocommerce-account) .site-main {
  padding-bottom: calc(var(--site-footer-height, 45px) + 48px);
}
body:is(.woocommerce-checkout, .woocommerce-account) .content-flow {
  padding-top: 24px;
}
body:is(.woocommerce-checkout, .woocommerce-account) .schimmer-commerce-header {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
}
body:is(.woocommerce-checkout, .woocommerce-account) .schimmer-commerce-header p {
  margin: 0;
  font-size: var(--type-meta);
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-family: var(--font-primary);
}
body:is(.woocommerce-checkout, .woocommerce-account) .schimmer-commerce-header h1 {
  font-size: var(--type-commerce-page-title);
  line-height: 1.3;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce {
  min-width: 0;
  color: var(--color-text);
  font-family: var(--font-primary);
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(h2, h3) {
  margin: 0 0 20px;
  line-height: 1.3;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(p, li) {
  color: var(--color-text);
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .form-row {
  padding: 0;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .form-row label {
  line-height: 1.5;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .form-row :is(input.input-text, textarea, select) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--player-panel-background);
  -webkit-backdrop-filter: blur(var(--player-panel-blur));
  backdrop-filter: blur(var(--player-panel-blur));
  color: var(--color-text);
  font: inherit;
  line-height: 1.4;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .select2-container .select2-selection--single {
  min-height: 48px;
  padding: 9px 4px;
  border-color: var(--color-border);
  border-radius: 3px;
  background: var(--player-panel-background);
  -webkit-backdrop-filter: blur(var(--player-panel-blur));
  backdrop-filter: blur(var(--player-panel-blur));
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .select2-selection__arrow {
  top: 10px;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .select2-selection__rendered {
  color: var(--color-text);
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(a, button, input, select, textarea, .select2-selection):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
/* Checkout keeps an outline box like the empty-cart notice; native icon dropped. */
body.woocommerce-checkout .woocommerce :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  color: var(--color-primary);
  font-size: .84rem;
  line-height: 1.5;
  list-style: none;
  overflow-wrap: anywhere;
}
/* Account: no nested filled box — plain text sitting inside the content panel. */
body.woocommerce-account .woocommerce :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: .9rem;
  line-height: 1.5;
  list-style: none;
  overflow-wrap: anywhere;
}
/* Errors still need an outline so they are not missed; no fill. */
body.woocommerce-account .woocommerce .woocommerce-error {
  padding: 12px 14px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
}
body.woocommerce-account .woocommerce .woocommerce-error li + li { margin-top: 6px; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(.woocommerce-error, .woocommerce-info, .woocommerce-message)::before {
  content: none;
}
/* Any notice carrying an action: text left, outline CTA right — whatever the source order. */
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(.woocommerce-info, .woocommerce-message) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(.woocommerce-info, .woocommerce-message) :is(a.button, button.button, .woocommerce-Button, .button) {
  order: 2;
  margin-left: auto;
}
/* Payment methods: the "Add" button is a sibling of the notice — pair them on one row. */
body.woocommerce-payment-methods .woocommerce-MyAccount-content:has(> .woocommerce-info) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
body.woocommerce-payment-methods .woocommerce-MyAccount-content:has(> .woocommerce-info) > .woocommerce-info { flex: 1 1 auto; margin: 0; }
body.woocommerce-payment-methods .woocommerce-MyAccount-content:has(> .woocommerce-info) > .button { margin-left: auto; }
/* Only merchant form buttons, never express-payment buttons or hosted fields. */
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .schimmer-download-button,
body.woocommerce-checkout :is(.checkout_coupon, .woocommerce-form-login) button.button,
body.woocommerce-checkout #place_order,
body.woocommerce-account .woocommerce :is(button.button, a.button) {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  text-transform: uppercase;
  letter-spacing: .06em;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce a.schimmer-download-button:focus-visible,
body.woocommerce-checkout :is(.checkout_coupon, .woocommerce-form-login) button.button:focus-visible,
body.woocommerce-checkout #place_order:focus-visible,
body.woocommerce-account .woocommerce :is(button.button, a.button):focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
}
/* Hover fill only where a real pointer exists, so taps don't stick a button "on". */
@media (hover: hover) and (pointer: fine) {
  body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce a.schimmer-download-button:hover,
  body.woocommerce-checkout :is(.checkout_coupon, .woocommerce-form-login) button.button:hover,
  body.woocommerce-checkout #place_order:hover,
  body.woocommerce-account .woocommerce :is(button.button, a.button):hover {
    background: var(--color-primary);
    color: var(--color-white);
  }
}
.schimmer-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.schimmer-download-track { margin-bottom: 8px; }
.schimmer-download-actions .schimmer-download-button {
  margin: 0;
  text-decoration: none;
}
.schimmer-download-actions .schimmer-download-button.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}
body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr);
  grid-template-rows: auto min-content minmax(min-content, 1fr);
  column-gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
}
body.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; min-width: 0; }
body.woocommerce-checkout form.checkout #customer_details {
  grid-column: 1;
  grid-row: 2 / span 2;
  width: 100%;
}
body.woocommerce-checkout #customer_details :is(.col-1, .col-2) {
  float: none;
  width: 100%;
}
body.woocommerce-checkout form.checkout #order_review_heading {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  text-transform: none;
}
body.woocommerce-checkout form.checkout #order_review {
  grid-column: 2;
  grid-row: 3;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius) var(--radius);
}
body.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
}
body.woocommerce-checkout #payment :is(ul.payment_methods, .form-row) { padding: 16px 0; }
body.woocommerce-checkout #payment .payment_box {
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--player-panel-background);
  color: var(--color-text);
}
body.woocommerce-checkout #payment .payment_box::before { border-bottom-color: var(--color-border); }
body.woocommerce-checkout #place_order { width: 100%; margin-top: 16px; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout #order_review table.shop_table { border: 0; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table :is(th, td) {
  padding: 12px 8px;
  border-color: var(--color-border);
}
body.woocommerce-checkout .order-total { font-size: 1.125rem; }
/* Native customer account endpoints, including the existing wishlist hook. */
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { content: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; min-width: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
/* No frame around the content — plain text, sections split by theme hairlines. */
body.woocommerce-account .woocommerce-MyAccount-content {
  padding: 0;
  border: 0;
  font-size: .9375rem;
  overflow-wrap: anywhere;
}
body.woocommerce-account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--type-meta);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: background-color 180ms ease, color 180ms ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background: var(--color-primary);
  color: var(--color-white);
}
@media (hover: hover) and (pointer: fine) {
  body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: var(--color-primary);
    color: var(--color-white);
  }
}
body.woocommerce-account .woocommerce :is(form.login, form.register) {
  border-color: var(--color-border);
  border-radius: var(--radius);
  margin-top: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button, .schimmer-frontpage-link) { text-decoration: underline; text-underline-offset: .2em; }
body.woocommerce-account .account-track-wishlist { margin-top: 32px; }
/* One line per track, split only by a bottom hairline; actions are plain text links. */
body.woocommerce-account .account-wishlist-row {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
}
body.woocommerce-account .account-wishlist-row > a:first-child {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.woocommerce-account .account-wishlist-price {
  flex: 0 0 auto;
  font-size: .72rem;
  white-space: nowrap;
  color: var(--color-muted);
}
body.woocommerce-account .account-track-wishlist h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-primary);
  font-size: 1.25rem;
  text-transform: none;
  color: var(--color-muted);
}
body.woocommerce-account .account-wishlist-row form { margin: 0; display: flex; }
body.woocommerce-account .account-wishlist-row :is(button, a:not(:first-child)) {
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font: inherit;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: .2em;
  white-space: nowrap;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  body.woocommerce-account .account-wishlist-row :is(button, a:not(:first-child)):hover {
    opacity: .6;
  }
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
  width: 34%;
  text-align: right;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
body.woocommerce-checkout #payment ul.payment_methods > li {
  padding-block: 12px;
  border-bottom: 1px solid var(--color-border);
}
body.woocommerce-checkout #payment ul.payment_methods > li > label { font-size: .875rem; }
body.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid;
  place-content: center;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid var(--color-muted);
  accent-color: var(--color-primary);
  border-radius: 50%;
  background: var(--color-white);
  vertical-align: middle;
}
body.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"]:checked {
  border-color: var(--color-primary);
}
body.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"]:checked::before {
  content: '';
  width: 7px;
  height: 7px;
  border: 3.5px solid var(--color-primary);
  border-radius: 50%;
}
body.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
/* PayPal copies these source-input styles into its hosted card fields. */
body.woocommerce-checkout #payment .payment_box #wc-ppcp-credit-card-gateway-cc-form > .form-row {
  padding: 0;
}
body.woocommerce-checkout #payment .payment_box #wc-ppcp-credit-card-gateway-cc-form input.input-text {
  min-height: 44px;
  padding: 8px 10px;
  border-color: var(--color-border);
  background: var(--player-panel-background);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
body.woocommerce-checkout #payment .payment_box #wc-ppcp-credit-card-gateway-cc-form input.input-text::placeholder {
  color: var(--color-muted);
  opacity: 1;
}
/* The current frontpage uses outline panels without glass backgrounds. */
body.woocommerce-checkout :is(#order_review, #order_review_heading),
body.woocommerce-account :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content, form.login, form.register) {
  background: transparent;
}
body.woocommerce-checkout #payment .schimmer-checkout-coupon {
  min-width: 0;
  margin: 18px 0 0;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
}
body.woocommerce-checkout .schimmer-checkout-coupon legend { font-family: var(--font-primary); font-size: 1rem; }
body.woocommerce-checkout .schimmer-checkout-coupon label { display: block; margin-bottom: 6px; font-size: .8rem; }
body.woocommerce-checkout .schimmer-coupon-controls { display: flex; flex-wrap: wrap; gap: 8px; }
body.woocommerce-checkout .schimmer-coupon-controls input {
  flex: 1 1 130px;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--player-panel-background);
  -webkit-backdrop-filter: blur(var(--player-panel-blur));
  backdrop-filter: blur(var(--player-panel-blur));
  color: var(--color-text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
body.woocommerce-checkout .schimmer-coupon-controls button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: .7rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), opacity var(--transition);
}
@media (hover: hover) and (pointer: fine) {
body.woocommerce-checkout .schimmer-coupon-controls button:hover { background: var(--color-primary); color: var(--color-white); }
}
body.woocommerce-checkout .schimmer-coupon-controls button:disabled { opacity: .5; cursor: progress; }
body.woocommerce-checkout #schimmer-coupon-status { margin: 8px 0 0; font-size: .8rem; overflow-wrap: anywhere; }

/* Compact merchant forms only; payment-provider fields and marks stay native. */
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .form-row {
  margin-bottom: 10px;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .form-row label {
  font-size: .8rem;
  margin-bottom: 4px;
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce #customer_details :is(input.input-text, textarea, select),
body.woocommerce-account .woocommerce .form-row :is(input.input-text, textarea, select) {
  min-height: 44px;
  padding: 8px 10px;
}
body.woocommerce-checkout #customer_details .select2-selection--single {
  min-height: 44px;
  padding: 7px 4px;
}
body.woocommerce-checkout #customer_details .select2-selection__arrow { top: 8px; }
body.woocommerce-checkout #customer_details :is(.col-1, .col-2) { margin-bottom: 20px; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(h2, h3) {
  font-size: var(--type-commerce-page-title);
  margin-bottom: 14px;
}
body:is(.woocommerce-checkout, .woocommerce-account).has-release-backdrop .woocommerce :is(#customer_details label, #customer_details h3, #order_review_heading, .shop_table th, .shop_table td, .woocommerce-MyAccount-content p) {
  color: var(--color-primary);
  text-shadow: none;
  mix-blend-mode: normal;
}
body.woocommerce-account.has-release-backdrop .woocommerce .woocommerce-MyAccount-navigation .is-active a { text-shadow: none; color: var(--color-white); mix-blend-mode: normal; }

/* Keep the address heading, edit link and address on the same left edge. */
body.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}
/* Edit/Add link sits below its heading, left-aligned, as a plain link. */
body.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address-title a.edit {
  font-size: .8rem;
}

/* Account details: the password fieldset is a section rule, not a nested box. */
body.woocommerce-account .woocommerce .woocommerce-EditAccountForm fieldset {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}
body.woocommerce-account .woocommerce .woocommerce-EditAccountForm legend {
  width: auto;
  padding: 0;
  margin-bottom: 14px;
  font-family: var(--font-headline);
  font-size: var(--type-commerce-page-title);
  text-transform: uppercase;
  color: var(--color-primary);
}
body.woocommerce-account .woocommerce .woocommerce-Addresses .woocommerce-Address-title :is(h2, h3, a.edit) {
  float: none;
  text-align: left;
}
body.woocommerce-account .woocommerce .woocommerce-Addresses address { text-align: left; }

/* Match the main sections: left-aligned titles, fine rules and outline CTAs. */
body:is(.woocommerce-checkout, .woocommerce-account) .schimmer-commerce-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
body:is(.woocommerce-checkout, .woocommerce-account) .schimmer-commerce-header h1 {
  font-size: var(--type-section);
  line-height: 1.08;
}
body:is(.woocommerce-checkout, .woocommerce-account) .schimmer-commerce-header > p { display: none; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(h2, h3) {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-headline);
  color: var(--color-primary);
  text-transform: uppercase;
}
body.woocommerce-account:not(.logged-in) .schimmer-commerce-header,
body.woocommerce-account:not(.logged-in) .woocommerce :is(h2, h3) {
  padding-bottom: 0;
  border-bottom: 0;
}
body.woocommerce-account .woocommerce .schimmer-frontpage-heading {
  align-items: flex-end;
  gap: 12px;
}
body.woocommerce-account .woocommerce .schimmer-frontpage-heading h2 {
  margin: 0;
  padding: 0;
  border: 0;
}
body.woocommerce-account .woocommerce .schimmer-frontpage-link {
  text-decoration: none;
  flex-shrink: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content > .account-track-wishlist:first-child { margin-top: 0; }
body.woocommerce-account .account-wishlist-count {
  margin-left: 6px;
  color: var(--color-muted);
  font-family: var(--font-primary);
  font-size: .75rem;
}
/* Shortcuts as a line-separated list: label + description, with a chevron. */
body.woocommerce-account .schimmer-account-shortcuts {
  display: block;
  margin: 20px 0 32px;
  border-top: 1px solid var(--color-border);
}
body.woocommerce-account .woocommerce-MyAccount-content .schimmer-account-shortcuts a {
  position: relative;
  display: block;
  padding: 16px 32px 16px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: opacity 180ms ease;
}
body.woocommerce-account .schimmer-account-shortcuts a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}
body.woocommerce-account .schimmer-account-shortcuts a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
body.woocommerce-account .schimmer-account-shortcuts span { display: block; text-transform: uppercase; font-size: .85rem; }
body.woocommerce-account .woocommerce .schimmer-account-shortcuts p {
  margin: 6px 0 0;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--color-muted);
}
@media (hover: hover) and (pointer: fine) {
  body.woocommerce-account .schimmer-account-shortcuts a:hover { opacity: .62; }
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce select option {
  background: var(--color-surface);
  color: var(--color-primary);
}
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-content { padding: 0; }
  body.woocommerce-account .woocommerce-MyAccount-content .schimmer-account-shortcuts a { padding: 14px 28px 14px 0; }
  body.woocommerce-account .woocommerce .schimmer-frontpage-heading h2 { font-size: 1.05rem; }
  body.woocommerce-account .woocommerce .schimmer-frontpage-link { font-size: .6rem; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-account :is(.schimmer-account-shortcuts a, .woocommerce-MyAccount-navigation a) { transition: none; }
}

/* ------------------------------------------------------------------ *
 * Set / reset password: a focused, distraction-free card.
 * Shown after the new customer opens the "set your password" email link,
 * styled like the newsletter dialog — just the card and the footer.
 * ------------------------------------------------------------------ */
body.woocommerce-lost-password .site-header { display: none; }
body.woocommerce-lost-password .schimmer-commerce-header { display: none; }
body.woocommerce-lost-password .site-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - var(--site-footer-height, 45px) - 32px);
  padding-top: 24px;
  padding-bottom: calc(var(--site-footer-height, 45px) + 24px);
}
body.woocommerce-lost-password .content-flow {
  width: 100%;
  max-width: 460px;
  padding-top: 0;
}
body.woocommerce-lost-password .woocommerce > .woocommerce-notices-wrapper { margin-bottom: 16px; }
body.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword {
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--color-border);
  border-radius: var(--player-panel-radius);
  background: var(--player-panel-background);
  -webkit-backdrop-filter: blur(var(--player-panel-blur));
  backdrop-filter: blur(var(--player-panel-blur));
  box-shadow: 0 24px 80px rgba(17, 17, 17, .18);
}
body.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword::before {
  content: 'Schimmer Records';
  display: block;
  margin-bottom: 14px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
body.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword > p:not(.form-row):first-of-type {
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.6;
}
body.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword .form-row { margin-bottom: 16px; }
body.woocommerce-lost-password .woocommerce .woocommerce-ResetPassword button.button {
  width: 100%;
  margin-top: 4px;
}

/* Tighter account surface on phones: notices and headings. */
@media (max-width: 767px) {
  body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(.woocommerce-info, .woocommerce-message) {
    padding: 12px 14px;
    gap: 10px;
  }
  body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(.woocommerce-info, .woocommerce-message) :is(a.button, button.button, .woocommerce-Button, .button) {
    width: 100%;
    margin-left: 0;
  }
  body.woocommerce-payment-methods .woocommerce-MyAccount-content:has(> .woocommerce-info) > .button {
    width: 100%;
    margin-left: 0;
  }
  body:is(.woocommerce-checkout, .woocommerce-account) .schimmer-commerce-header h1 { font-size: 1.25rem; }
}

/* ------------------------------------------------------------------ *
 * Mobile account navigation: a drill-down, no burger. The sidebar menu is
 * hidden; the dashboard shortcut list is the overview and each section shows
 * a "back to overview" link, aligned with the page title.
 * ------------------------------------------------------------------ */
.schimmer-account-back { display: none; }

@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation { display: none; }

  body.woocommerce-account .schimmer-commerce-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }
  .schimmer-account-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-primary);
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }
  .schimmer-account-back__arrow {
    width: 7px;
    height: 7px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
}

/* Account actions read as text links; native buttons retain submit semantics. */
body.woocommerce-account .woocommerce :is(a.button, button.button, input.button, input[type='submit'], .woocommerce-Button, .schimmer-frontpage-link) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  width: auto;
  max-width: 100%;
  padding: 8px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--color-primary) !important;
  font-family: var(--font-primary);
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: normal;
  cursor: pointer;
  transition: opacity 180ms ease;
}
body.woocommerce-account .woocommerce :is(a.button, button.button, input.button, input[type='submit'], .woocommerce-Button, .schimmer-frontpage-link):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
body.woocommerce-account .woocommerce :is(a.button, button.button, input.button, input[type='submit'], .woocommerce-Button, .schimmer-frontpage-link):is(:disabled, .disabled) {
  opacity: .45;
  cursor: not-allowed;
}
@media (hover: hover) and (pointer: fine) {
  body.woocommerce-account .woocommerce :is(a.button, button.button, input.button, input[type='submit'], .woocommerce-Button, .schimmer-frontpage-link):not(:disabled):not(.disabled):hover { opacity: .62; }
}
body.woocommerce-account .woocommerce .schimmer-cta-fill { display: none; }

/* Stacked notice/action rows use the same divider and rhythm as dashboard links. */
body.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message):has(:is(.button, .woocommerce-Button)) {
  margin-block: 0;
  padding: 16px 0;
}
body.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message):has(:is(.button, .woocommerce-Button)) + :is(.woocommerce-info, .woocommerce-message):has(:is(.button, .woocommerce-Button)) {
  border-top: 1px solid var(--color-border);
}
body.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message) :is(.button, .woocommerce-Button) { flex-shrink: 0; }
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content > .button + .button {
  display: flex;
  border-top: 1px solid var(--color-border) !important;
  padding-block: 16px !important;
}
@media (max-width: 767px) {
  body.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message):has(:is(.button, .woocommerce-Button)) { padding: 14px 0; }
  body.woocommerce-account .woocommerce :is(.woocommerce-info, .woocommerce-message) :is(.button, .woocommerce-Button) {
    flex-shrink: 1;
    text-align: right;
    justify-content: flex-end;
  }
}

/* Inline order/payment actions retain a clear gap after removing button padding. */
body.woocommerce-account .woocommerce .shop_table :is(td, th) > .button + .button { margin-left: 12px; }
