/* CHIBA Wellness — theme styles.
   Only markup without a source equivalent (WooCommerce/WordPress output),
   functional state rules and animation wiring live here. Layout, type and
   colour for elements that carry source classes come from app.css. */

figure {
  margin: 0;
}

#vision:not(.vision-live-mode) [data-vision-live-only] {
  display: none !important;
}

#vision.vision-live-mode [data-vision-soon-badge] {
  display: none !important;
}

@media screen and (min-width: 783px) {
  body.admin-bar .site-header {
    top: 32px;
  }
}

body.admin-bar #theme-cart-drawer {
  top: 32px;
  height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar #theme-cart-drawer {
    top: 46px;
    height: calc(100% - 46px);
  }
}

[hidden] {
  display: none !important;
}

/* -------------------------------------------------------------------------
   Motion wiring
   ---------------------------------------------------------------------- */

html.theme-reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.4, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.4, 0.25, 1);
  transition-delay: var(--reveal-delay, 0s);
}

html.theme-reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

html.theme-reveal-ready .scale-in-item {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.25, 0.4, 0.25, 1),
    transform 0.9s cubic-bezier(0.25, 0.4, 0.25, 1);
}

html.theme-reveal-ready .scale-in-item.is-visible {
  opacity: 1;
  transform: none;
}

body.is-customizer .reveal-item,
body.is-customizer .scale-in-item {
  opacity: 1 !important;
  transform: none !important;
}

.theme-delay-1 { --reveal-delay: 0.1s; }
.theme-delay-2 { --reveal-delay: 0.2s; }
.theme-delay-3 { --reveal-delay: 0.3s; }
.theme-delay-4 { --reveal-delay: 0.4s; }
.theme-delay-5 { --reveal-delay: 0.5s; }
.theme-delay-6 { --reveal-delay: 0.6s; }
.theme-delay-7 { --reveal-delay: 0.7s; }
.theme-delay-8 { --reveal-delay: 0.8s; }

@keyframes themeHeaderIn {
  from { opacity: 0; transform: translateY(-80px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes themeNavIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes themeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes themeHeroTitleIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes themeHeroSubIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes themeChevronBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes themeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes themeBadgePop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes themeModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes themeModalOut {
  from { opacity: 1; transform: scale(1) translateY(0); }
  to { opacity: 0; transform: scale(0.95) translateY(20px); }
}

@keyframes themeSuccessPop {
  from { transform: scale(0) rotate(-90deg); }
  to { transform: scale(1) rotate(0); }
}

@keyframes themeCheckPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.site-header {
  animation: themeHeaderIn 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) 0.1s both;
}

.theme-nav-item {
  animation: themeNavIn 0.5s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}
.theme-nav-item:nth-child(1) { animation-delay: 0.3s; }
.theme-nav-item:nth-child(2) { animation-delay: 0.36s; }
.theme-nav-item:nth-child(3) { animation-delay: 0.42s; }
.theme-nav-item:nth-child(4) { animation-delay: 0.48s; }
.theme-nav-item:nth-child(5) { animation-delay: 0.54s; }
.theme-nav-item:nth-child(6) { animation-delay: 0.6s; }

.theme-hero-badge { animation: themeFadeIn 1s cubic-bezier(0.25, 0.4, 0.25, 1) 0.5s both; }
.theme-hero-title { animation: themeHeroTitleIn 1.2s cubic-bezier(0.25, 0.4, 0.25, 1) 0.65s both; }
.theme-hero-sub { animation: themeHeroSubIn 0.9s cubic-bezier(0.25, 0.4, 0.25, 1) 0.95s both; }
.theme-hero-cta { animation: themeHeroSubIn 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) 1.15s both; }
.theme-hero-chevron {
  animation: themeFadeIn 0.8s ease 1.5s both,
    themeChevronBounce 2s ease-in-out 1.6s infinite;
}
.theme-float { animation: themeFloat 6s ease-in-out infinite; }

.theme-cart-count:not(:empty) {
  animation: themeBadgePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.theme-cart-count:empty {
  display: none;
}

.theme-modal[hidden] { display: none !important; }
.theme-modal.is-open .theme-modal-overlay { animation: themeFadeIn 0.3s ease both; }
.theme-modal.is-open .theme-modal-panel { animation: themeModalIn 0.45s cubic-bezier(0.25, 0.4, 0.25, 1) both; }
.theme-modal.is-closing .theme-modal-overlay { animation: themeFadeIn 0.45s ease reverse both; }
.theme-modal.is-closing .theme-modal-panel { animation: themeModalOut 0.45s ease both; }
.theme-success-icon { animation: themeSuccessPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both; }
.theme-success-body { animation: themeCheckPop 0.5s cubic-bezier(0.25, 0.4, 0.25, 1) both; }

.theme-mobile-menu {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.25, 0.4, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-mobile-menu.is-open {
  max-height: 32rem;
  opacity: 1;
}
.theme-mobile-menu li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-mobile-menu.is-open li {
  opacity: 1;
  transform: none;
}
.theme-mobile-menu.is-open li:nth-child(1) { transition-delay: 0.05s; }
.theme-mobile-menu.is-open li:nth-child(2) { transition-delay: 0.11s; }
.theme-mobile-menu.is-open li:nth-child(3) { transition-delay: 0.17s; }
.theme-mobile-menu.is-open li:nth-child(4) { transition-delay: 0.23s; }
.theme-mobile-menu.is-open li:nth-child(5) { transition-delay: 0.29s; }
.theme-mobile-menu.is-open li:nth-child(6) { transition-delay: 0.35s; }

.theme-scroll-progress {
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* -------------------------------------------------------------------------
   Header / navigation
   ---------------------------------------------------------------------- */

.theme-nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.theme-mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.theme-mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  transition: color 0.3s;
}

.theme-mobile-menu a:hover {
  color: hsl(var(--accent));
}

.theme-menu-toggle .theme-icon-close { display: none; }
.theme-menu-toggle.is-open .theme-icon-close { display: block; }
.theme-menu-toggle.is-open .theme-icon-menu { display: none; }

/* -------------------------------------------------------------------------
   Product cards (shared partial)
   ---------------------------------------------------------------------- */

.theme-product-card {
  position: relative;
}

.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.theme-product-card > *:not(.theme-card-link) {
  pointer-events: none;
}

.theme-product-card .add_to_cart_button,
.theme-product-card .theme-card-quick-add,
.theme-product-card button[data-cart-add] {
  pointer-events: auto;
  z-index: 2;
}

.theme-product-card__frame {
  position: relative;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.25, 0.4, 0.25, 1), box-shadow 0.45s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card:hover .theme-product-card__frame {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.theme-product-card__frame img {
  transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card:hover .theme-product-card__frame img {
  transform: scale(1.06);
}

.theme-card-quick-add {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
}

.theme-product-card:hover .theme-card-quick-add,
.theme-card-quick-add:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.theme-product-grid {
  align-items: stretch;
}

.theme-product-card__info {
  flex: 1;
}

.theme-shop-item {
  height: 100%;
}

.theme-card-quick-add[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none !important;
}

#theme-cart-drawer dl.variation {
  margin: 0.25rem 0 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

#theme-cart-drawer dl.variation dt {
  display: inline;
  font-weight: 600;
}

#theme-cart-drawer dl.variation dd {
  display: inline;
  margin: 0 0 0 0.25rem;
}

.theme-qty-input {
  border: 0;
  background: transparent;
  padding: 0;
  width: 2.5rem;
  text-align: center;
  font-family: var(--font-body);
  -moz-appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.theme-product-gallery {
  animation: themeHeroSubIn 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

.theme-product-info {
  animation: themeHeroSubIn 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) 0.1s both;
}

/* -------------------------------------------------------------------------
   Shop category filter / load more
   ---------------------------------------------------------------------- */

.theme-shop-item.is-filtered-out {
  display: none !important;
}

/* -------------------------------------------------------------------------
   FAQ accordion
   ---------------------------------------------------------------------- */

.theme-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 0.4, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-faq-answer > div {
  overflow: hidden;
}

.theme-faq-answer.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* -------------------------------------------------------------------------
   Side cart
   ---------------------------------------------------------------------- */

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

body.cart-open #theme-cart-overlay {
  opacity: 1;
  visibility: visible;
}

#theme-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  z-index: 56;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

body.cart-open #theme-cart-drawer {
  opacity: 1;
  transform: none;
  visibility: visible;
}

#theme-cart-drawer .woocommerce-message,
#theme-cart-drawer .woocommerce-info {
  display: none;
}

/* -------------------------------------------------------------------------
   WooCommerce shared
   ---------------------------------------------------------------------- */

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.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;
}

.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;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
  display: none !important;
}

.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

.theme-attr-select-hidden {
  display: none !important;
}

.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;
}

/* Notices (shop / cart / checkout / account) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-left: 3px solid hsl(var(--accent));
  border-radius: var(--radius);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.woocommerce-error {
  border-left-color: hsl(var(--destructive));
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: 0.75rem;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
  display: none;
}

/* Generic WooCommerce buttons that have no source equivalent */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid hsl(var(--foreground));
  border-radius: var(--radius);
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

/* Classic cart / account tables */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem;
  border-bottom: 1px solid hsl(var(--border));
  text-align: left;
}

.woocommerce table.shop_table th {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.woocommerce .quantity input.qty,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 0.6rem;
  font-family: var(--font-body);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  padding: 0.75rem;
}

/* -------------------------------------------------------------------------
   Single product
   ---------------------------------------------------------------------- */

.single-product .theme-product-layout {
  min-width: 0;
}

.single-product .theme-product-gallery,
.single-product .theme-product-info {
  min-width: 0;
  max-width: 100%;
}

.single-product .theme-product-thumbnails {
  flex-wrap: wrap;
  max-width: 100%;
}

.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 160px;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .theme-product-details {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Variations table: label above control */
.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-bottom: 0.5rem;
}

.single-product .variations tbody td.value {
  padding-top: 0;
  margin-bottom: 1rem;
}

.single-product .single_variation_wrap {
  display: none;
}

.single-product .single_variation_wrap .woocommerce-variation-price {
  margin-bottom: 1.25rem;
}

.single-product .variations td.label label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.theme-attr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.theme-attr-pill {
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  background: transparent;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s;
}

.theme-attr-pill:hover {
  border-color: hsl(var(--accent));
  color: hsl(var(--accent));
}

.theme-attr-pill.is-active {
  background: hsl(var(--foreground));
  border-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.theme-variation-price .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

/* -------------------------------------------------------------------------
   Archive
   ---------------------------------------------------------------------- */

.theme-archive-header {
  max-width: 42rem;
}

.woocommerce-products-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  font-weight: 400;
}

.woocommerce-result-count,
.woocommerce-ordering select {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.woocommerce-ordering select {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 0.5rem 0.75rem;
}

/* -------------------------------------------------------------------------
   Page shell (inner pages)
   ---------------------------------------------------------------------- */

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.entry-content > *:first-child {
  margin-top: 0;
}

/* -------------------------------------------------------------------------
   Checkout block (scoped)
   ---------------------------------------------------------------------- */

body.woocommerce-checkout .site-main {
  padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout {
  display: block;
  max-width: none;
  margin: 0;
  font-family: var(--font-body);
  color: hsl(var(--foreground));
}

@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: 2rem;
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  border-color: hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: hsl(var(--foreground));
}

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 .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
  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-block-components-textarea textarea:focus {
  outline: none !important;
  border-color: hsl(var(--accent)) !important;
  box-shadow: 0 0 0 1px hsl(var(--accent)) !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 {
  font-family: var(--font-body) !important;
  color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: hsl(var(--accent)) !important;
  color: hsl(var(--accent-foreground)) !important;
  border: 1px solid hsl(var(--accent)) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background-color: hsl(var(--accent) / 0.9) !important;
}

body.woocommerce-checkout .wc-block-cart-items {
  font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  font-family: var(--font-body);
  color: hsl(var(--foreground));
}

/* Cart & account blocks share the site container styling */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
  padding-bottom: 4rem;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce {
  font-family: var(--font-body);
  color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-account .woocommerce-Button {
  border-radius: var(--radius);
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* -------------------------------------------------------------------------
   Thank you page
   ---------------------------------------------------------------------- */

body.theme-thankyou-page {
  overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
  font-family: var(--font-body);
  color: hsl(var(--foreground));
}

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;
  letter-spacing: -0.005em;
  font-size: 1.75rem;
  padding: 0 0 1rem 0;
  color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  padding: 1.5rem;
  list-style: none;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
}

body.theme-thankyou-page .woocommerce-order-overview li {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  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;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid hsl(var(--border));
  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: 2.5rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  font-style: normal;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem;
  background: hsl(var(--card));
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .theme-nav-item,
  .theme-hero-badge,
  .theme-hero-title,
  .theme-hero-sub,
  .theme-hero-cta,
  .theme-hero-chevron,
  .theme-float,
  .theme-cart-count:not(:empty) {
    animation: none !important;
  }
  html.theme-reveal-ready .reveal-item,
  html.theme-reveal-ready .scale-in-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
