/* ------------------------------------------------------------------
 * SYND theme additions.
 *
 * app.css ships the design system compiled from the source stylesheet.
 * Everything below only covers WordPress/WooCommerce generated markup
 * and functional state handling that has no source equivalent.
 * ------------------------------------------------------------------ */

[hidden] {
  display: none !important;
}

/* Logged-in preview: fixed header sits below the WordPress admin bar. */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

body.admin-bar.is-customizer .site-header {
  top: 0;
}

/* Customizer logo height */
.site-logo-img {
  height: var(--logo-height, 1.75rem) !important;
  width: auto;
  max-height: 120px;
}

/* Pointer on interactive controls */
a[href],
button:not(:disabled),
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"],
label[for],
select,
summary,
[role="button"],
[data-cart-open],
[data-menu-toggle],
[data-contact-open],
[data-view-all],
[data-cat-filter],
[data-filter-trigger],
[data-filter-option],
.theme-nav-link,
.theme-mobile-nav-link,
.theme-cart-button,
.theme-card-link,
.theme-filter-chip button,
.add_to_cart_button:not(:disabled) {
  cursor: pointer;
}

button:disabled,
.add_to_cart_button.disabled,
input:disabled {
  cursor: not-allowed;
}

/* ------------------------------------------------------------------
 * Scroll reveal — source: framer-motion fadeUp (opacity 0 → 1, y 30 → 0,
 * 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), delay index * 0.1s)
 * ------------------------------------------------------------------ */

.theme-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1),
    transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
  will-change: opacity, transform;
}

.theme-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.theme-delay-0 { transition-delay: 0s; }
.theme-delay-1 { transition-delay: 0.1s; }
.theme-delay-2 { transition-delay: 0.2s; }
.theme-delay-3 { transition-delay: 0.3s; }
.theme-delay-4 { transition-delay: 0.4s; }
.theme-delay-5 { transition-delay: 0.5s; }
.theme-delay-6 { transition-delay: 0.6s; }
.theme-delay-7 { transition-delay: 0.7s; }
.theme-delay-8 { transition-delay: 0.8s; }

body.is-customizer .theme-reveal,
body.is-customizer .theme-hero-fade {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* No IntersectionObserver / JS: content must never stay invisible. */
body.theme-no-js .theme-reveal,
html.theme-no-reveal .theme-reveal {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------
 * Hero entrance — source: h1 (fade + y40, 1s, delay 0.45),
 * paragraph (fade only, 0.8s, delay 0.9), CTA (fade + y20, 0.8s, 1.2s)
 * ------------------------------------------------------------------ */

.theme-hero-fade {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-hero-heading {
  transform: translateY(40px);
  animation-name: themeHeroHeading;
  animation-duration: 1s;
  animation-delay: 0.45s;
}

.theme-hero-sub {
  animation-name: themeHeroFade;
  animation-duration: 0.8s;
  animation-delay: 0.9s;
}

.theme-hero-cta {
  transform: translateY(20px);
  animation-name: themeHeroCta;
  animation-duration: 0.8s;
  animation-delay: 1.2s;
}

@keyframes themeHeroHeading {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes themeHeroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes themeHeroCta {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .theme-reveal,
  .theme-hero-fade {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .animate-hero-zoom {
    animation: none !important;
  }
}

/* ------------------------------------------------------------------
 * Header states — the source toggles between a transparent hero header
 * and a solid scrolled header.
 * ------------------------------------------------------------------ */

.site-header .theme-nav-link,
.site-header .theme-cart-button {
  transition: color 0.3s ease;
}

.theme-logo-swap {
  transition: opacity 0.3s ease;
}

/* ------------------------------------------------------------------
 * Home: the hero sits under the fixed transparent header.
 * ------------------------------------------------------------------ */

/* ------------------------------------------------------------------
 * Product cards — Pattern A overlay link.
 * ------------------------------------------------------------------ */

.theme-product-card {
  position: relative;
}

.theme-product-card > .theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}

.theme-product-card *:not(.theme-card-link):not(.add_to_cart_button) {
  pointer-events: none;
}

.theme-product-card .add_to_cart_button {
  z-index: 3;
  pointer-events: auto;
  display: block;
  text-align: center;
}

.theme-product-card .theme-card-link {
  display: block;
}

.theme-product-card img {
  display: block;
}

.theme-product-card-wrap {
  height: 100%;
}

.theme-product-card > div:first-of-type {
  position: relative;
}

/* ------------------------------------------------------------------
 * Home collection grid: hidden-until-"View All" cards.
 * ------------------------------------------------------------------ */

.theme-hidden-product {
  display: none !important;
}

/* ------------------------------------------------------------------
 * Filter dropdowns — the source toggles with local state.
 * ------------------------------------------------------------------ */

.theme-filter-dropdown[data-open="true"] [data-filter-panel] {
  display: block;
}

.theme-filter-dropdown[data-open="true"] [data-filter-chevron] {
  transform: rotate(180deg);
}

.theme-filter-option.is-active {
  color: hsl(var(--foreground));
}

.theme-filter-option.is-active > span:first-child {
  border-color: hsl(var(--accent));
  background-color: hsl(var(--accent));
}

.theme-filter-option.is-active > span:first-child > span {
  display: block;
}

.theme-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem 0.25rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 2px);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s, border-color 0.2s;
}

.theme-filter-chip:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--foreground) / 0.4);
}

.theme-mobile-filters[data-filter-sheet] {
  position: fixed;
  inset: 0;
  z-index: 50;
}

/* ------------------------------------------------------------------
 * Price range — dual overlapping inputs (single track, two thumbs).
 * ------------------------------------------------------------------ */

.price-range-wrapper {
  position: relative;
  height: 1.5rem;
}

.range-track-bg,
.range-track-fill {
  position: absolute;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  border-radius: 9999px;
}

.range-track-bg {
  left: 0;
  right: 0;
  background: hsl(var(--secondary));
}

.range-track-fill {
  background: hsl(var(--primary));
}

.range-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.range-input:focus {
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  border: 2px solid hsl(var(--primary));
  background: hsl(var(--background));
  cursor: pointer;
  transition: box-shadow 0.15s;
}

.range-input::-moz-range-thumb {
  pointer-events: auto;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  border: 2px solid hsl(var(--primary));
  background: hsl(var(--background));
  cursor: pointer;
}

.range-input::-webkit-slider-runnable-track {
  background: transparent;
}

.range-input::-moz-range-track {
  background: transparent;
}

.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* ------------------------------------------------------------------
 * Side cart drawer + overlay.
 * Source: drawer mounts with animate-slide-up, overlay with animate-fade-in.
 * ------------------------------------------------------------------ */

#theme-cart-drawer {
  opacity: 0;
  transform: translateY(24px);
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s;
}

body.cart-open #theme-cart-drawer {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

#theme-cart-drawer.is-updating > * {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.2s;
}

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: hsl(var(--foreground) / 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open {
  overflow: hidden;
}

.theme-cart-count:empty {
  display: none;
}

/* ------------------------------------------------------------------
 * Contact modal.
 * ------------------------------------------------------------------ */

#theme-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

#theme-contact-modal .theme-modal-overlay {
  animation: themeFadeIn 0.2s ease forwards;
}

#theme-contact-modal .theme-modal-content {
  animation: themeModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#theme-contact-modal.is-closing .theme-modal-overlay {
  animation: themeFadeOut 0.2s ease forwards;
}

#theme-contact-modal.is-closing .theme-modal-content {
  animation: themeModalOut 0.2s ease forwards;
}

@keyframes themeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes themeFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes themeModalIn {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes themeModalOut {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); }
}

body.theme-modal-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------
 * Add to cart states.
 * ------------------------------------------------------------------ */

.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
}

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
  display: none !important;
}

.theme-cart-button.theme-btn-loading {
  opacity: 0.6;
}

/* ------------------------------------------------------------------
 * Single product: responsive layout guarantees.
 * ------------------------------------------------------------------ */

.single-product .theme-product-layout {
  min-width: 0;
}

.single-product .theme-product-layout > * {
  min-width: 0;
  max-width: 100%;
}

.single-product .theme-product-thumbnails {
  flex-wrap: wrap;
  max-width: 100%;
}

.single-product .theme-product-thumbnails button.is-active {
  border-color: hsl(var(--foreground));
  opacity: 1;
}

.single-product .theme-add-to-cart-area {
  display: flex;
  flex-direction: column;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Variation attribute table: visually stacked, native selects stay functional. */
.single-product .variations {
  width: 100%;
  border: 0;
  display: none;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}

.single-product .variations tbody td.label {
  padding: 0 0 0.25rem;
  border: 0;
}

.single-product .variations tbody td.value {
  padding: 0;
  border: 0;
}

.theme-attr-select-hidden {
  display: none !important;
}

.single-product .theme-attr-pill.is-active {
  border-color: hsl(var(--foreground));
  color: hsl(var(--foreground));
}

.woocommerce-variation-price {
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.woocommerce-variation-availability p.stock {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.theme-details-chevron {
  transition: transform 0.2s ease;
}

.theme-quantity-wrapper .theme-qty-input {
  border: 0;
  background: transparent;
  width: 44px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  -moz-appearance: textfield;
}

.theme-quantity-wrapper .theme-qty-input::-webkit-outer-spin-button,
.theme-quantity-wrapper .theme-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ------------------------------------------------------------------
 * WordPress / WooCommerce generated markup.
 * ------------------------------------------------------------------ */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: hsl(var(--background));
  clip: auto !important;
  clip-path: none;
  color: hsl(var(--foreground));
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.woocommerce-error {
  border-color: hsl(var(--destructive));
  color: hsl(var(--destructive));
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
  display: none;
}

#theme-cart-drawer .woocommerce-message {
  display: none;
}

/* Generic WooCommerce typography for generated content */
.woocommerce p,
.woocommerce li,
.woocommerce td,
.woocommerce th,
.woocommerce label,
.woocommerce address {
  font-family: var(--font-body);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 0.875rem 0.5rem;
  border-bottom: 1px solid hsl(var(--border));
  text-align: left;
}

.woocommerce table.shop_table th {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ------------------------------------------------------------------
 * Inner page shells (WordPress pages, WooCommerce pages that the design
 * does not cover): keep them inside the site container and clear of the
 * fixed header.
 * ------------------------------------------------------------------ */

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 2rem;
}

.entry-content > * + * {
  margin-top: 1.25rem;
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin-top: 2rem;
}

.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
  list-style-position: outside;
}

.entry-content ul { list-style-type: disc; }
.entry-content ol { list-style-type: decimal; }

.entry-content img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------
 * Checkout block (native WooCommerce Checkout) — scoped overrides.
 * ------------------------------------------------------------------ */

body.woocommerce-checkout main,
body.woocommerce-cart main,
body.woocommerce-account main {
  padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout {
  display: block;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notices {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  width: 100% !important;
  max-width: none !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: var(--radius) !important;
  background-color: hsl(var(--background)) !important;
  color: hsl(var(--foreground)) !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
  border-color: hsl(var(--foreground)) !important;
  outline: none !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title {
  font-family: var(--font-body) !important;
  color: hsl(var(--muted-foreground)) !important;
  letter-spacing: 0.02em;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block h2,
body.woocommerce-checkout .wc-block-components-title.wc-block-components-title {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-size: 1.375rem !important;
  color: hsl(var(--foreground)) !important;
  letter-spacing: 0;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: hsl(var(--card)) !important;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius) !important;
  padding: 2rem !important;
}

/* WC sets the sidebar column to ~35% on .is-large; our grid cell is 50% — fill the cell. */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large > .wc-block-checkout__sidebar {
  width: 100%;
  max-width: none;
  flex-basis: auto;
  justify-self: stretch;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  background-color: hsl(var(--foreground)) !important;
  color: hsl(var(--background)) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 1rem !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
  opacity: 0.9;
  background-color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary {
  font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  font-family: var(--font-body) !important;
  color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: var(--radius);
  font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
  border-color: hsl(var(--destructive));
  background: hsl(var(--background));
  color: hsl(var(--destructive));
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
}

/* Cart, account and thank you: same container inset as the checkout. */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce {
  font-family: var(--font-body);
}

body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
  display: block;
}

@media (min-width: 768px) {
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  min-width: 0;
  max-width: none;
}

body.woocommerce-cart .wc-block-cart__sidebar {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 2rem;
}

body.woocommerce-cart .wc-block-components-button,
body.woocommerce-account .woocommerce-Button,
body.woocommerce-account .button {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: 1px solid hsl(var(--border));
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid hsl(var(--border));
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.875rem 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: hsl(var(--foreground));
}

/* ------------------------------------------------------------------
 * Thank you page.
 * ------------------------------------------------------------------ */

body.theme-thankyou-page {
  overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
  font-family: var(--font-body);
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  padding: 0 0 1rem;
  margin: 2rem 0 0;
}

body.theme-thankyou-page .woocommerce-thankyou-order-received {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  border-top: 1px solid hsl(var(--border));
}

body.theme-thankyou-page .woocommerce-order-overview li {
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.75rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
  padding: 0.875rem 0.5rem;
  border-bottom: 1px solid hsl(var(--border));
  text-align: left;
  overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
  text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
  text-align: right;
}

body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
}

/* ------------------------------------------------------------------
 * WordPress core blocks used inside page content.
 * ------------------------------------------------------------------ */

.entry-content .wp-block-button__link {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
}

.entry-content blockquote {
  border-left: 1px solid hsl(var(--foreground));
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
}

/* ------------------------------------------------------------------
 * Mobile navigation panel.
 * ------------------------------------------------------------------ */

#theme-mobile-menu[hidden] {
  display: none !important;
}

/* ------------------------------------------------------------------
 * Loading state for the signup + contact forms.
 * ------------------------------------------------------------------ */

[data-signup-form][data-busy="true"] button,
[data-contact-form][data-busy="true"] button {
  opacity: 0.6;
  pointer-events: none;
}
