/* WordPress, WooCommerce, and Orderable integration layer. */

html:not([lang="zh-Hant"]) [data-lang="en"] { display: initial; }
html:not([lang="zh-Hant"]) h1 > [data-lang="en"],
html:not([lang="zh-Hant"]) h2 > [data-lang="en"],
html:not([lang="zh-Hant"]) h3 > [data-lang="en"],
html:not([lang="zh-Hant"]) p > [data-lang="en"] { display: block; }

.desktop-nav__menu,
.mobile-menu__links,
.footer-links__menu { padding: 0; margin: 0; list-style: none; }
.desktop-nav__menu { display: contents; }
.desktop-nav__menu > li { order: 4; list-style: none; }
.desktop-nav__menu > li:nth-child(1) { order: 1; }
.desktop-nav__menu > li:nth-child(2) { order: 2; }
.desktop-nav:has(.desktop-nav__menu) .desktop-nav__menu-toggle { order: 3; }
.footer-links__menu { display: contents; }
.mobile-menu__links { display: flex; flex: 1; flex-direction: column; justify-content: center; }
.mobile-menu nav:has(.mobile-menu__links) { display: flex; }

/* Native WooCommerce account entry points. Kwan Commerce owns whether the
   account layer is enabled; the theme only presents its current login state. */
.account-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  color: var(--ink);
  border: 1px solid rgba(33, 27, 22, 0.22);
  background: rgba(245, 241, 232, 0.42);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.account-link:hover,
.account-link:focus-visible,
.account-link.is-current { color: var(--cloud); border-color: var(--brand); background: var(--brand); }
.account-link__icon { position: relative; display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; }
.account-link__icon .mobile-dock__icon { width: 20px; height: 20px; }
.account-link__icon > i { position: absolute; right: -1px; bottom: 0; width: 7px; height: 7px; border: 1px solid var(--cloud); border-radius: 50%; background: rgba(33, 27, 22, 0.38); }
.account-link.is-authenticated .account-link__icon > i { background: var(--brand-light); box-shadow: 0 0 0 2px rgba(110, 74, 6, 0.14); }
.account-link__copy { display: grid; gap: 2px; line-height: 1; }
.account-link__copy small { color: currentColor; font-family: var(--mono); font-size: 0.43rem; font-weight: 650; letter-spacing: 0.06em; opacity: 0.68; text-transform: uppercase; }
.account-link__copy strong { max-width: 92px; overflow: hidden; font-size: 0.54rem; font-weight: 850; letter-spacing: 0.035em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }

.mobile-menu__account-status {
  display: grid;
  min-width: 150px;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  color: var(--cloud);
  text-decoration: none;
}
.mobile-menu__account-status > span { width: 7px; height: 7px; grid-row: 1 / 3; border: 1px solid currentColor; border-radius: 50%; opacity: 0.58; }
.mobile-menu__account-status.is-authenticated > span { border-color: var(--brand-light); background: var(--brand-light); opacity: 1; box-shadow: 0 0 0 3px rgba(203, 178, 121, 0.12); }
.mobile-menu__account-status strong { min-width: 0; font-size: 0.67rem; line-height: 1.1; text-transform: uppercase; }
.mobile-menu__account-status small { font-family: var(--mono); font-size: 0.48rem; letter-spacing: 0.06em; opacity: 0.64; text-transform: uppercase; }
.footer-account-link { position: relative; }
.footer-account-link::before { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border: 1px solid currentColor; border-radius: 50%; content: ""; vertical-align: 0.08em; }
.footer-account-link.is-authenticated::before { background: currentColor; }

@media (max-width: 1380px) and (min-width: 821px) {
  .account-link__copy { display: none; }
  .account-link { padding-inline: 6px; }
}

@media (max-width: 820px) {
  .account-link { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; border-color: transparent; background: transparent; }
  .account-link:hover,
  .account-link:focus-visible,
  .account-link.is-current { color: var(--brand); border-color: transparent; background: transparent; }
  .account-link__copy { display: none; }
  .account-link__icon { width: 28px; height: 28px; }
  .account-link__icon .mobile-dock__icon { width: 23px; height: 23px; }
  .mobile-menu__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .mobile-menu__bottom .mobile-menu__location { display: none; }
}

@media (min-width: 1181px) {
  .desktop-mega__grid { grid-template-columns: minmax(220px, 0.68fr) minmax(460px, 1.45fr) minmax(240px, 0.75fr); gap: clamp(20px, 2.5vw, 42px); }
  .desktop-mega__categories { display: flex; min-height: 0; flex-direction: column; align-content: start; }
  .desktop-mega__categories > p { flex: none; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .desktop-mega__category-groups { flex: 1; }
  .desktop-mega__categories > a { min-height: 64px; }
  .desktop-mega__categories > a:nth-of-type(odd) { border-right: 1px solid var(--line); }
  .desktop-mega__categories b { font-size: 0.76rem; }
  .desktop-mega__categories small { font-size: 0.52rem; }
  .desktop-mega__categories > a.is-parent { grid-column: 1 / -1; min-height: 54px; background: var(--brand-wash); }
  .desktop-mega__categories > a.is-child { padding-left: 22px; }
}

.admin-bar .announcement { top: 32px; }
.admin-bar .site-header { top: 60px; }
.admin-bar .page-progress { top: 32px; }
.admin-bar .mobile-menu { top: 32px; }

.kwan-content { min-height: 70svh; padding: calc(var(--header-h) + 116px) 0 120px; background: var(--cloud); }
.kwan-content--elementor { padding-right: 0; padding-left: 0; }
.kwan-entry__header { padding-bottom: 56px; }
.kwan-entry__header h1 { max-width: 1050px; margin: 22px 0 0; font-size: clamp(3.8rem, 8vw, 8.4rem); font-weight: 900; letter-spacing: -0.075em; line-height: 0.86; }
.kwan-entry__content { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.kwan-entry__content--wide { width: var(--shell); }
.kwan-entry__content > :first-child { margin-top: 0; }
.kwan-entry__content p,
.kwan-entry__content li { line-height: 1.75; }
.kwan-entry__content a:not(.button):not(.wp-element-button):not(.wc-block-components-button) { color: var(--brand); text-decoration: underline; text-underline-offset: 0.18em; }
.kwan-entry__content--sections { width: 100%; max-width: none; }
.kwan-entry__content--sections > section:first-child { border-top: 1px solid var(--line); }
.kwan-entry__content img { height: auto; }
.kwan-archive { display: grid; gap: 64px; }
.kwan-post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.kwan-post-card { padding: clamp(28px, 4vw, 56px); background: var(--cloud); }
.kwan-post-card h2 { margin: 16px 0; font-size: clamp(2rem, 4vw, 4.2rem); letter-spacing: -0.055em; line-height: 0.96; }
.kwan-not-found h1 { max-width: 900px; margin: 28px 0 54px; font-size: clamp(4rem, 9vw, 9rem); letter-spacing: -0.08em; line-height: 0.86; }

.product-add.is-loading { opacity: 0.45; pointer-events: none; }
.product-row .added_to_cart { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.product-list__empty { padding: 30px 0; border-bottom: 1px solid var(--ink); }

/* WooCommerce surfaces */
.woocommerce-page .kwan-content,
.woocommerce .kwan-content { padding-top: calc(var(--header-h) + 116px); }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 34px; color: rgba(33, 27, 22, 0.78); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; }
.woocommerce .woocommerce-breadcrumb a { display: inline-flex; min-height: 24px; align-items: center; color: inherit; }
.woocommerce div.product .product_meta a { display: inline-flex; min-height: 24px; align-items: center; }
.woocommerce div.product .product_meta .tagged_as { display: none; }
.woocommerce .woocommerce-ordering select { min-height: 48px; padding: 10px 38px 10px 12px; border: 1px solid var(--ink); border-radius: 0; background-color: var(--white); font-size: 0.875rem; }
.woocommerce-cart .wc-block-components-totals-footer-item-shipping { font-size: 0.75rem; }
.orderable-floating-cart__count { background: #bd2119 !important; }
.woocommerce .woocommerce-products-header__title,
.woocommerce div.product .product_title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title { font-size: clamp(3.2rem, 7vw, 7.6rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.88; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 54px; border: 1px solid var(--line); background: var(--line); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; padding: 0 0 24px; margin: 0; background: var(--cloud); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; margin: 0 0 20px; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button { margin-right: 20px; margin-left: 20px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.15rem; line-height: 1.25; }
.woocommerce ul.products li.product .price { color: var(--brand); font-family: var(--mono); font-size: 0.82rem; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 18px; color: var(--white); border: 1px solid var(--ink); border-radius: 0; background: var(--ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.15; text-align: center; text-transform: uppercase; vertical-align: middle; }
.kwan-entry__content .wc-block-components-button,
.kwan-entry__content .wc-block-components-button:visited { color: var(--white); text-decoration: none; }
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover { color: var(--white); border-color: var(--brand); background: var(--brand); }
.woocommerce span.onsale { top: 12px; left: 12px; min-width: 0; min-height: 0; padding: 8px 10px; border-radius: 0; background: var(--brand); font-family: var(--mono); font-size: 0.65rem; line-height: 1; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border-top-color: var(--brand); background: var(--brand-wash); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--brand); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .quantity .qty,
.wc-block-components-text-input input { border: 1px solid var(--ink); border-radius: 0; background: var(--white); }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 0; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--brand); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 0; background: var(--brand-wash); }

/* Search-friendly product-category landing pages. These archives describe the
   range and hand customers into the existing Orderable purchase interface. */
.kwan-category-intro { display: grid; gap: 34px; padding: 18px 0 54px; border-bottom: 1px solid var(--line); }
.kwan-category-intro__content { display: grid; max-width: 820px; gap: 16px; }
.kwan-category-intro__eyebrow,
.kwan-category-range__header > p { margin: 0; color: var(--brand); font-family: var(--mono); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase; }
.kwan-category-intro__lead { max-width: 780px; margin: 0; color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.55rem); font-weight: 750; line-height: 1.42; }
.kwan-category-intro__note { max-width: 720px; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.62; }
.kwan-category-intro__cta,
.kwan-category-range__cta { display: inline-flex; width: fit-content; min-height: 52px; align-items: center; justify-content: space-between; gap: 28px; padding: 0 20px; color: var(--white); border: 1px solid var(--ink); background: var(--ink); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.025em; line-height: 1.2; text-transform: uppercase; }
.kwan-category-intro__cta:hover,
.kwan-category-range__cta:hover { color: var(--white); border-color: var(--brand); background: var(--brand); }
.kwan-category-intro__cta i,
.kwan-category-range__cta i { font-family: var(--mono); font-style: normal; }
.kwan-category-children { display: grid; grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.kwan-category-children > span,
.kwan-category-range__header > p { color: var(--brand); font-family: var(--mono); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.3; text-transform: uppercase; }
.kwan-category-children > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.kwan-category-children a { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 0.96rem; font-weight: 800; line-height: 1.25; }
.kwan-category-children a:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.kwan-category-children a:nth-child(even) { padding-left: 20px; }
.kwan-category-children a i { flex: none; font-family: var(--mono); font-style: normal; }
.kwan-category-range { display: grid; gap: 44px; padding: 62px 0 24px; }
.kwan-category-range__header { display: grid; grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.kwan-category-range__header > p { margin: 0; }
.kwan-category-range__header > div { display: grid; gap: 16px; }
.kwan-category-range__header h2 { max-width: 850px; margin: 0; font-size: clamp(2rem, 3.7vw, 4.2rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.96; }
html[lang="zh-Hant"] .kwan-category-range__header h2 { letter-spacing: -0.025em; line-height: 1.05; }
.kwan-category-range__note { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.woocommerce .kwan-category-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.kwan-category-product { display: grid; min-width: 0; grid-template-rows: auto 1fr; background: var(--cloud); }
.kwan-category-product figure { aspect-ratio: 1; margin: 0; overflow: hidden; background: var(--brand-wash); }
.kwan-category-product figure img { width: 100%; height: 100%; object-fit: cover; }
.kwan-category-product > div { display: grid; min-height: 116px; align-content: center; padding: 24px; }
.kwan-category-product h3 { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 850; letter-spacing: -0.025em; line-height: 1.18; }
.kwan-category-range__empty { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

@media (max-width: 900px) {
  .woocommerce .kwan-category-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .kwan-category-intro { gap: 26px; padding-bottom: 38px; }
  .kwan-category-intro__lead { font-size: 1.1rem; }
  .kwan-category-intro__note { font-size: 0.95rem; }
  .kwan-category-children,
  .kwan-category-range__header { grid-template-columns: 1fr; gap: 16px; }
  .kwan-category-children > div { grid-template-columns: 1fr; }
  .kwan-category-children a,
  .kwan-category-children a:nth-child(odd),
  .kwan-category-children a:nth-child(even) { min-height: 56px; padding: 12px 2px; border-right: 0; }
  .kwan-category-range { gap: 28px; padding-top: 42px; }
  .kwan-category-range__header h2 { font-size: clamp(2rem, 10vw, 3rem); line-height: 0.98; }
  .woocommerce .kwan-category-products { grid-template-columns: 1fr; }
  .kwan-category-product { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: 1fr; }
  .kwan-category-product figure { height: 100%; min-height: 116px; aspect-ratio: auto; }
  .kwan-category-product > div { min-height: 116px; gap: 12px; padding: 18px 16px; }
  .kwan-category-product h3 { font-size: 1rem; }
  .kwan-category-intro__cta,
  .kwan-category-range__cta { width: 100%; }
}

/* WooCommerce prints a literal emoji inside the gallery trigger and adds the
   generic WordPress sidebar after product content. The sidebar is removed in
   functions.php; draw a brand-neutral magnifier here without emoji glyphs. */
.single-product .woocommerce-product-gallery__trigger {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--cloud);
  font-size: 0;
  text-decoration: none;
}
.single-product .woocommerce-product-gallery__trigger::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}
.single-product .woocommerce-product-gallery__trigger::after {
  content: "";
  width: 7px;
  height: 2px;
  position: absolute;
  top: 27px;
  left: 25px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
@media (hover: hover) and (pointer: fine) {
  .single-product .woocommerce-product-gallery__trigger:hover,
  .single-product .woocommerce-product-gallery__trigger:focus-visible {
    color: var(--white);
    border-color: var(--brand);
    background: var(--brand);
  }
}

/* Logged-out My Account: preserve WooCommerce's native forms and validation,
   while presenting login and registration as one accessible tabbed surface. */
.woocommerce-account:not(.logged-in) .kwan-entry__content { width: min(calc(100% - 40px), 760px); }
#customer_login.kwan-account-auth {
  display: block;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: var(--cloud);
  box-shadow: 18px 18px 0 var(--brand-wash);
}
.kwan-account-auth::before,
.kwan-account-auth::after { display: none; }
.kwan-account-auth__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}
.kwan-account-auth__tab {
  position: relative;
  min-height: 70px;
  padding: 16px 22px;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}
.kwan-account-auth__tab:last-child { border-right: 0; }
.kwan-account-auth__tab::after {
  position: absolute;
  right: 22px;
  bottom: 17px;
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 180ms ease, transform 240ms var(--ease);
}
.kwan-account-auth__tab[aria-selected="true"] { color: var(--cloud); background: var(--brand); }
.kwan-account-auth__tab[aria-selected="true"]::after { opacity: 1; transform: scaleX(1); }
.kwan-account-auth__tab:hover:not([aria-selected="true"]) { background: var(--brand-wash); }
.kwan-account-auth__tab:focus-visible { z-index: 1; outline: 2px solid var(--brand); outline-offset: -5px; }
#customer_login.kwan-account-auth .kwan-account-auth__panel {
  float: none;
  width: 100%;
  padding: clamp(28px, 5vw, 58px);
  margin: 0;
  animation: kwan-account-panel-in 240ms var(--ease) both;
}
#customer_login.kwan-account-auth .kwan-account-auth__panel[hidden] { display: none !important; }
#customer_login.kwan-account-auth .woocommerce-form {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}
#customer_login.kwan-account-auth .form-row { padding: 0; margin: 0 0 22px; }
#customer_login.kwan-account-auth label:not(.woocommerce-form-login__rememberme) {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
#customer_login.kwan-account-auth input.input-text {
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border-color: rgba(33, 27, 22, 0.48);
  background: var(--white);
  font-size: 1rem;
}
#customer_login.kwan-account-auth .password-input { display: block; position: relative; }
#customer_login.kwan-account-auth .password-input input { padding-right: 60px; }
#customer_login.kwan-account-auth .show-password-input {
  top: 50%;
  right: 6px;
  width: 44px;
  height: 44px;
  margin: 0;
  transform: translateY(-50%);
}
#customer_login.kwan-account-auth input.input-text:focus { border-color: var(--brand); outline: 2px solid rgba(110, 74, 6, 0.18); outline-offset: 1px; }
#customer_login.kwan-account-auth .woocommerce-form-login__rememberme { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.78rem; cursor: pointer; }
#customer_login.kwan-account-auth .woocommerce-form-login__rememberme input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
#customer_login.kwan-account-auth .woocommerce-form-login__submit,
#customer_login.kwan-account-auth .woocommerce-form-register__submit { width: 100%; margin: 0; }
#customer_login.kwan-account-auth .lost_password { padding-top: 20px; margin: 0; border-top: 1px solid var(--line); font-size: 0.78rem; }
#customer_login.kwan-account-auth .lost_password a { display: inline-flex; min-height: 44px; align-items: center; }
#customer_login.kwan-account-auth .woocommerce-privacy-policy-text,
#customer_login.kwan-account-auth .woocommerce-form-register > p:not(.form-row) { color: rgba(33, 27, 22, 0.68); font-size: 0.76rem; line-height: 1.65; }
#customer_login.kwan-account-auth .woocommerce-privacy-policy-text { padding: 16px; margin: 22px 0; border-left: 3px solid var(--brand); background: var(--brand-wash); }
@keyframes kwan-account-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  #customer_login.kwan-account-auth .kwan-account-auth__panel { animation: none; }
}

@media (max-width: 520px) {
  .woocommerce-account:not(.logged-in) .kwan-entry__content { width: calc(100% - 32px); }
  #customer_login.kwan-account-auth { box-shadow: 8px 8px 0 var(--brand-wash); }
  .kwan-account-auth__tab { min-height: 58px; padding: 13px 16px; font-size: 0.68rem; }
  .kwan-account-auth__tab::after { right: 16px; bottom: 13px; width: 16px; }
  #customer_login.kwan-account-auth .kwan-account-auth__panel { padding: 26px 20px 30px; }
}

/* Logged-in My Account: WooCommerce remains the data and endpoint owner while
   the theme gives every account state one consistent, responsive workspace. */
.woocommerce-account.logged-in .kwan-content--account {
  padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px));
}
.woocommerce-account.logged-in .kwan-entry__header { padding-bottom: clamp(38px, 5vw, 66px); }
.woocommerce-account.logged-in .kwan-entry__header h1 { max-width: 920px; }
.woocommerce-account.logged-in .kwan-entry__content--account {
  width: var(--shell);
  max-width: none;
}
.woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: clamp(28px, 4.8vw, 78px);
  align-items: start;
}
.woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce::before,
.woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce::after { display: none; content: none; }
.woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce > .woocommerce-error,
.woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce > .woocommerce-info,
.woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce > .woocommerce-message {
  grid-column: 1 / -1;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  position: sticky;
  top: calc(var(--fixed-chrome-bottom) + 22px);
  float: none;
  width: 100%;
  margin: 0;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
  padding: 0;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--cloud);
  list-style: none;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li { padding: 0; margin: 0; list-style: none; }
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li + li { border-top: 1px solid var(--line); }
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 5px solid var(--brand-wash); }
.woocommerce-account.logged-in .kwan-entry__content .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: var(--ink);
  background: transparent;
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a::after {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:focus-visible { color: var(--brand-deep); background: var(--brand-wash); }
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:focus-visible { outline: 2px solid var(--brand); outline-offset: -5px; }
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .is-active a {
  color: var(--cloud);
  background: var(--brand);
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  box-sizing: border-box;
  float: none;
  width: 100%;
  min-width: 0;
  min-height: 430px;
  padding: clamp(28px, 4vw, 54px);
  margin: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  background: rgba(255, 250, 242, 0.64);
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
.woocommerce-account.logged-in .woocommerce-MyAccount-content h3,
.woocommerce-account.logged-in .woocommerce-MyAccount-content legend {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content h2 { margin: 0 0 28px; font-size: clamp(2rem, 4.1vw, 4rem); }
.woocommerce-account.logged-in .woocommerce-MyAccount-content h3,
.woocommerce-account.logged-in .woocommerce-MyAccount-content legend { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-child {
  padding: 18px 20px;
  margin-bottom: 24px;
  border-left: 4px solid var(--brand);
  background: var(--brand-wash);
  color: var(--ink);
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content > p { color: var(--ink-soft); }
.woocommerce-account.logged-in .woocommerce-MyAccount-content a:not(.button) { font-weight: 750; }
.woocommerce-account.logged-in .woocommerce-info,
.woocommerce-account.logged-in .woocommerce-message,
.woocommerce-account.logged-in .woocommerce-error {
  min-height: 76px;
  gap: 14px 20px;
  padding: 18px 20px;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  background: var(--brand-wash);
  line-height: 1.5;
}
.woocommerce-account.logged-in .woocommerce-info,
.woocommerce-account.logged-in .woocommerce-message {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
}
.woocommerce-account.logged-in .woocommerce-info::before,
.woocommerce-account.logged-in .woocommerce-message::before {
  position: static;
  top: auto;
  left: auto;
  display: block;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  align-self: center;
  margin: 0;
  content: "";
  border: 2px solid var(--brand);
  background: transparent;
  font-family: inherit;
  line-height: 1;
}
.woocommerce-account.logged-in .woocommerce-error { display: block; padding-left: 48px; }
.woocommerce-account.logged-in .woocommerce-error::before { top: 24px; left: 20px; }
.woocommerce-account.logged-in .woocommerce-error li { margin: 0; }
.woocommerce-account.logged-in .woocommerce-info .button,
.woocommerce-account.logged-in .woocommerce-message .button { grid-column: 3; grid-row: 1; margin: 0; }

.kwan-account-shortcuts {
  margin-top: clamp(36px, 6vw, 70px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.kwan-account-shortcuts > .section-code { padding: 20px 0 14px; margin: 0; color: var(--brand); }
.woocommerce-account.logged-in .kwan-entry__content .kwan-account-shortcuts > a {
  display: grid;
  min-height: 82px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 4px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, padding 220ms var(--ease);
}
.woocommerce-account.logged-in .kwan-entry__content .kwan-account-shortcuts > a:hover,
.woocommerce-account.logged-in .kwan-entry__content .kwan-account-shortcuts > a:focus-visible {
  padding-right: 14px;
  padding-left: 14px;
  color: var(--brand-deep);
  background: var(--brand-wash);
}
.kwan-account-shortcuts > a:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }
.kwan-account-shortcuts > a > small { font-family: var(--mono); font-size: 0.6rem; font-weight: 750; }
.kwan-account-shortcuts > a > span { display: grid; gap: 5px; min-width: 0; }
.kwan-account-shortcuts > a strong { font-size: 0.96rem; line-height: 1.2; }
.kwan-account-shortcuts > a em { color: var(--ink-soft); font-size: 0.72rem; font-style: normal; font-weight: 450; line-height: 1.45; }
.kwan-account-shortcuts > a > i { font-family: var(--mono); font-size: 1rem; font-style: normal; font-variant-emoji: text; }

.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-collapse: collapse;
  background: var(--cloud);
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table th {
  padding: 14px 15px;
  color: var(--brand-deep);
  border-color: var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table td { padding: 16px 15px; border-color: var(--line); }
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-number a { color: var(--ink); font-family: var(--mono); font-size: 0.84rem; }
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions .button { min-height: 38px; padding: 0 12px; margin: 0; font-size: 0.58rem; }
.woocommerce-account.logged-in .woocommerce-pagination { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }

.woocommerce-account.logged-in .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.woocommerce-account.logged-in .woocommerce-Addresses::before,
.woocommerce-account.logged-in .woocommerce-Addresses::after { display: none; }
.woocommerce-account.logged-in .woocommerce-Addresses .woocommerce-Address {
  box-sizing: border-box;
  float: none;
  width: auto;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--cloud);
}
.woocommerce-account.logged-in .woocommerce-Address-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.woocommerce-account.logged-in .woocommerce-Address-title h2 { margin: 0 0 22px; font-size: clamp(1.4rem, 2vw, 1.85rem); }
.woocommerce-account.logged-in .woocommerce-Address-title .edit { flex: 0 0 auto; font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; }
.woocommerce-account.logged-in .woocommerce-Address address { color: var(--ink-soft); font-style: normal; line-height: 1.75; }

.woocommerce-account.logged-in .woocommerce-MyAccount-content form .form-row { padding: 0; margin-bottom: 22px; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content form label {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content input.input-text,
.woocommerce-account.logged-in .woocommerce-MyAccount-content textarea,
.woocommerce-account.logged-in .woocommerce-MyAccount-content .select2-container .select2-selection {
  box-sizing: border-box;
  min-height: 54px;
  padding: 11px 13px;
  border: 1px solid rgba(33, 27, 22, 0.45);
  border-radius: 0;
  background: var(--white);
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content textarea { min-height: 120px; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content .select2-container .select2-selection__rendered { padding: 0; line-height: 30px; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content .select2-container .select2-selection__arrow { height: 52px; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-account.logged-in .woocommerce-MyAccount-content textarea:focus,
.woocommerce-account.logged-in .woocommerce-MyAccount-content .select2-container--focus .select2-selection { border-color: var(--brand); outline: 2px solid rgba(110, 74, 6, 0.16); outline-offset: 1px; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content fieldset {
  padding: 24px;
  margin: 34px 0;
  border: 1px solid var(--line);
  background: var(--brand-wash);
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content fieldset legend { padding: 0 10px; }
.woocommerce-account.logged-in .woocommerce-MyAccount-paymentMethods { margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  .woocommerce-account.logged-in .kwan-entry__content .kwan-account-shortcuts > a { transition: none; }
}

@media (max-width: 820px) {
  .woocommerce-account.logged-in .kwan-content--account { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  .woocommerce-account.logged-in .kwan-entry__header { padding-bottom: 30px; }
  .woocommerce-account.logged-in .kwan-entry__header h1 { margin-top: 16px; font-size: clamp(3.1rem, 15vw, 4.75rem); }
  html[lang="zh-Hant"] .woocommerce-account.logged-in .kwan-entry__header h1 { font-size: clamp(2.65rem, 12.5vw, 4rem); letter-spacing: -0.05em; line-height: 1; }
  .woocommerce-account.logged-in .kwan-entry__content--account > .woocommerce { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation { position: relative; top: auto; width: 100%; min-width: 0; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    overflow: visible;
  }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation li { min-width: 0; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation li + li,
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0; border-left: 0; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation li:nth-child(even) { border-left: 1px solid var(--line); }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout { grid-column: 1 / -1; }
  .woocommerce-account.logged-in .kwan-entry__content .woocommerce-MyAccount-navigation a { min-height: 54px; padding: 11px 16px; white-space: normal; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation a::after { display: none; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content { min-height: 0; padding: 26px 20px 30px; }
  .woocommerce-account.logged-in .woocommerce-info,
  .woocommerce-account.logged-in .woocommerce-message { grid-template-columns: 14px minmax(0, 1fr); align-items: center; padding: 18px; }
  .woocommerce-account.logged-in .woocommerce-info .button,
  .woocommerce-account.logged-in .woocommerce-message .button { grid-column: 2; grid-row: 2; width: 100%; margin-top: 2px; }
  .woocommerce-account.logged-in .woocommerce-error { padding: 18px 18px 18px 48px; }
  .woocommerce-account.logged-in .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .woocommerce-account.logged-in .woocommerce-MyAccount-content { padding: 23px 16px 26px; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content h2 { font-size: clamp(1.9rem, 10vw, 2.8rem); }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content > p:first-child { padding: 15px 16px; }
  .woocommerce-account.logged-in .kwan-entry__content .kwan-account-shortcuts > a { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 11px; padding: 14px 2px; }
  .kwan-account-shortcuts > a em { font-size: 0.68rem; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive thead { display: none; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive tbody,
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive tr,
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive td { display: block; width: 100%; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive tr { padding: 9px 14px; border-bottom: 1px solid var(--line); }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive tr:last-child { border-bottom: 0; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive td {
    box-sizing: border-box;
    padding: 8px 0;
    border: 0;
    text-align: right;
  }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive td::before { float: left; margin-right: 14px; color: var(--ink-soft); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.03em; text-transform: uppercase; }
  .woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content .form-row-first,
  .woocommerce-account.logged-in .woocommerce-MyAccount-content .form-row-last { float: none; width: 100%; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content fieldset { padding: 20px 14px; }
  .woocommerce-account.logged-in .woocommerce-Addresses .woocommerce-Address { padding: 18px 16px; }
}

/* Cart page and empty-cart recommendations. WooCommerce continues to own cart
   state and product queries; the theme owns hierarchy and responsive framing. */
.woocommerce-cart .kwan-content--cart {
  padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
}
.woocommerce-cart .kwan-entry__header { padding-bottom: clamp(38px, 5vw, 64px); }
.woocommerce-cart .kwan-entry__header h1 { max-width: 960px; }
.woocommerce-cart .kwan-entry__content--cart {
  width: var(--shell);
  max-width: none;
}
.woocommerce-cart .wp-block-woocommerce-cart { margin: 0; }

/* Populated cart. Keep the product image, identity, structured facts and cart
   controls in one compact scan line instead of stretching Woo's defaults
   across the full content width. */
.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.woocommerce-cart .wc-block-cart .wc-block-components-main,
.woocommerce-cart .wc-block-cart .wc-block-components-sidebar {
  box-sizing: border-box;
  width: auto;
  padding: 0;
  margin: 0;
}
.woocommerce-cart .wc-block-cart-items {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--ink);
}
.woocommerce-cart .wc-block-cart-items thead th {
  padding: 12px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}
.woocommerce-cart .wc-block-cart-items thead .wc-block-cart-items__header-image { width: 112px; }
.woocommerce-cart .wc-block-cart-items thead .wc-block-cart-items__header-total { width: 112px; text-align: right; }
.woocommerce-cart .wc-block-cart-items__row { border-bottom: 1px solid var(--line); }
.woocommerce-cart .wc-block-cart-items__row td {
  box-sizing: border-box;
  padding-top: 22px;
  padding-bottom: 22px;
  vertical-align: top;
}
.woocommerce-cart .wc-block-cart-item__image {
  width: 112px;
  padding-right: 20px;
}
.woocommerce-cart .wc-block-cart-item__image img {
  display: block !important;
  width: 92px !important;
  height: 92px !important;
  max-width: none;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--cloud);
}
.woocommerce-cart .wc-block-cart-item__product { min-width: 0; padding-right: 22px; }
.woocommerce-cart .wc-block-cart-item__wrap { position: static; }
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.woocommerce-cart .wc-block-cart-item__prices {
  margin-top: 5px;
  color: var(--brand-deep);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 750;
}
.woocommerce-cart .wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}
.woocommerce-cart .wc-block-components-quantity-selector {
  width: 112px;
  height: 40px;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: rgba(255, 250, 242, 0.74);
}
.woocommerce-cart .wc-block-components-quantity-selector::after { border: 0; border-radius: 0; }
.woocommerce-cart .wc-block-components-quantity-selector__input {
  min-width: 34px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}
.woocommerce-cart .wc-block-components-quantity-selector__button {
  min-width: 36px;
  color: var(--ink);
  font-size: 1rem;
}
.woocommerce-cart .wc-block-components-quantity-selector__button:hover:not(:disabled),
.woocommerce-cart .wc-block-components-quantity-selector__button:focus-visible:not(:disabled) {
  color: var(--white);
  background: var(--brand);
}
.woocommerce-cart .wc-block-cart-item__remove-link {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: transparent;
}
.woocommerce-cart .wc-block-cart-item__remove-link:hover,
.woocommerce-cart .wc-block-cart-item__remove-link:focus-visible {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}
.woocommerce-cart .wc-block-cart-item__remove-link svg { width: 18px; height: 18px; fill: currentColor; }
.woocommerce-cart .wc-block-cart-item__total {
  width: 112px;
  padding-left: 10px;
  text-align: right;
}
.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Product descriptions are useful while shopping, but Cart and Checkout are
   transaction summaries. Structured pack size and labels remain visible here;
   imported prose such as "4pcs" must not duplicate those facts. */
.woocommerce-cart .wc-block-components-product-metadata__description,
.woocommerce-checkout .wc-block-components-product-metadata__description {
  display: none !important;
}
.woocommerce-cart .wc-block-components-product-details,
.woocommerce-checkout .wc-block-components-product-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  line-height: 1.35;
}
.woocommerce-cart .wc-block-components-product-details > span,
.woocommerce-checkout .wc-block-components-product-details > span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
}
.woocommerce-cart .wc-block-components-product-details__name,
.woocommerce-checkout .wc-block-components-product-details__name { font-weight: 750; }
.woocommerce-cart .wc-block-components-product-details [aria-hidden="true"],
.woocommerce-checkout .wc-block-components-product-details [aria-hidden="true"] { display: none; }

/* Checkout summary: one compact, menu-like row per physical item. The line
   total already communicates price, so the duplicate individual-price row is
   removed and promotional savings stay a quiet secondary label. */
.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0 12px;
  align-items: start;
  padding: 14px 0;
}
.woocommerce-checkout .wc-block-components-order-summary-item + .wc-block-components-order-summary-item {
  border-top: 1px solid var(--line);
}
.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width: 56px;
  height: 56px;
  max-width: none;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding-bottom: 0;
}
.woocommerce-checkout .wc-block-components-order-summary-item__image > img {
  display: block;
  width: 56px !important;
  height: 56px !important;
  max-width: none !important;
  object-fit: cover;
  border: 1px solid var(--line);
}
.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 0;
  color: var(--white);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 800;
}
.woocommerce-checkout .wc-block-components-order-summary-item__description {
  display: flex;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  gap: 0;
  padding: 1px 0 0 !important;
}
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-cart-item__prices {
  display: none !important;
}
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details {
  gap: 3px 9px;
  margin-top: 7px;
  font-size: 0.62rem;
}
.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  min-width: 0;
  grid-column: 3;
  grid-row: 1;
  padding: 1px 0 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.woocommerce-checkout .wc-block-cart-item__total-price-and-sale-badge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}
.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge {
  min-width: 0;
  padding: 0;
  margin: 0;
  color: var(--brand-deep);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .woocommerce-cart .wc-block-cart .wc-block-components-sidebar { width: 100%; }
}

@media (max-width: 600px) {
  .woocommerce-cart .wc-block-cart-items thead { display: none; }
  .woocommerce-cart .wc-block-cart-items tbody { display: block; }
  .woocommerce-cart .wc-block-cart-items__row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 0 14px;
    min-height: 136px;
    padding: 18px 0;
  }
  .woocommerce-cart .wc-block-cart-items__row td { display: block; width: auto; padding: 0; }
  .woocommerce-cart .wc-block-cart-item__image {
    display: block !important;
    grid-column: 1;
    grid-row: 1;
  }
  .woocommerce-cart .wc-block-cart-item__image img {
    width: 82px !important;
    height: 82px !important;
  }
  .woocommerce-cart .wc-block-cart-item__product {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding: 0;
  }
  .woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name { font-size: 0.96rem; }
  .woocommerce-cart .wc-block-cart-item__prices { display: none; }
  .woocommerce-cart .wc-block-components-product-details { gap: 3px 8px; margin-top: 7px; font-size: 0.61rem; }
  .woocommerce-cart .wc-block-cart-item__quantity { gap: 8px; margin-top: 11px; }
  .woocommerce-cart .wc-block-components-quantity-selector { width: 102px; height: 38px; }
  .woocommerce-cart .wc-block-components-quantity-selector__button { min-width: 32px; }
  .woocommerce-cart .wc-block-cart-item__remove-link { width: 38px; height: 38px; }
  .woocommerce-cart .wc-block-cart-item__total {
    grid-column: 3;
    grid-row: 1;
    padding: 1px 0 0 8px;
  }
  .woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price { font-size: 0.72rem; }
}

@media (max-width: 420px) {
  .woocommerce-cart .wc-block-cart-items__row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 0 11px;
    min-height: 124px;
    padding: 16px 0;
  }
  .woocommerce-cart .wc-block-cart-item__image img { width: 70px !important; height: 70px !important; }
  .woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name { font-size: 0.88rem; }
  .woocommerce-cart .wc-block-cart-item__total { padding-left: 4px; }
  .woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price { font-size: 0.66rem; }
  .woocommerce-cart .wc-block-components-quantity-selector { width: 94px; }
  .woocommerce-cart .wc-block-cart-item__remove-link { width: 36px; }
  .woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 0 10px;
    padding: 13px 0;
  }
  .woocommerce-checkout .wc-block-components-order-summary-item__image,
  .woocommerce-checkout .wc-block-components-order-summary-item__image > img {
    width: 52px !important;
    height: 52px !important;
  }
  .woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 0.8rem; }
  .woocommerce-checkout .wc-block-components-order-summary-item__total-price,
  .woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price { font-size: 0.66rem; }
  .woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge { font-size: 0.44rem; }
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
  padding: 0;
  margin: 0;
  text-align: left;
}
.woocommerce-cart .kwan-empty-cart__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  grid-template-areas:
    "code action"
    "title action"
    "copy action";
  gap: 24px clamp(36px, 6vw, 96px);
  align-items: end;
  padding: clamp(30px, 5vw, 64px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--brand-wash);
}
.woocommerce-cart .kwan-empty-cart__intro .section-code {
  grid-area: code;
  align-self: start;
  margin: 0;
  color: var(--brand);
}
.woocommerce-cart .kwan-empty-cart__intro .wc-block-cart__empty-cart__title {
  grid-area: title;
  max-width: 820px;
  padding: 0;
  margin: clamp(16px, 3vw, 38px) 0 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(3.2rem, 6.5vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-align: left;
  text-wrap: balance;
}
.woocommerce-cart .kwan-empty-cart__intro .wc-block-cart__empty-cart__title::before { display: none !important; content: none !important; }
.woocommerce-cart .kwan-empty-cart__copy {
  grid-area: copy;
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  line-height: 1.65 !important;
}
.woocommerce-cart .kwan-entry__content a.kwan-empty-cart__action:not(.button):not(.wp-element-button):not(.wc-block-components-button) {
  display: flex;
  grid-area: action;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  color: var(--white) !important;
  border: 1px solid var(--ink);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
}
.woocommerce-cart .kwan-entry__content a.kwan-empty-cart__action > span {
  color: inherit !important;
  text-decoration: none !important;
}
.woocommerce-cart .kwan-empty-cart__action i {
  flex: none;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-style: normal;
  font-variant-emoji: text;
}
.woocommerce-cart .kwan-entry__content a.kwan-empty-cart__action:not(.button):not(.wp-element-button):not(.wc-block-components-button):hover,
.woocommerce-cart .kwan-entry__content a.kwan-empty-cart__action:not(.button):not(.wp-element-button):not(.wc-block-components-button):focus-visible {
  color: var(--white) !important;
  border-color: var(--brand);
  background: var(--brand);
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator { display: none; }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
	display: none !important;
}
.woocommerce-cart .wp-block-product-new.wc-block-grid { display: none !important; }
.woocommerce-cart .wp-block-product-new .wc-block-grid__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}
.woocommerce-cart .wp-block-product-new .wc-block-grid__product {
  display: flex;
  box-sizing: border-box;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  flex: none !important;
  flex-direction: column;
  padding: 0 0 18px;
  margin: 0;
  border: 0;
  background: var(--cloud);
  text-align: left;
}
.woocommerce-cart .wp-block-product-new .wc-block-grid__product-image {
  width: 100%;
  margin: 0 0 16px;
  overflow: hidden;
  aspect-ratio: 1;
  border-bottom: 1px solid var(--line);
}
.woocommerce-cart .wp-block-product-new .wc-block-grid__product-image a { display: block; width: 100%; height: 100%; }
.woocommerce-cart .wp-block-product-new .wc-block-grid__product-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.woocommerce-cart .wp-block-product-new .wc-block-grid__product:hover .wc-block-grid__product-image img { transform: scale(1.025); }
.woocommerce-cart .kwan-entry__content .wc-block-grid__product-link,
.woocommerce-cart .kwan-entry__content .wc-block-grid__product-title a {
  color: var(--ink);
  text-decoration: none;
}
.woocommerce-cart .wp-block-product-new .wc-block-grid__product-title {
  display: -webkit-box;
  min-height: 2.55em;
  overflow: hidden;
  padding: 0;
  margin: 0 14px 9px;
  color: var(--ink);
  font-size: clamp(0.86rem, 1.1vw, 1.04rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.28;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.woocommerce-cart .wp-block-product-new .wc-block-grid__product-price {
  padding: 0;
  margin: 0 14px 16px;
  color: var(--brand-deep);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 750;
  text-align: left;
}
.woocommerce-cart .wp-block-product-new .wc-block-grid__product-add-to-cart {
  width: auto;
  padding: 0;
  margin: auto 14px 0;
  text-align: left;
}
.woocommerce-cart .kwan-entry__content .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}
.woocommerce-cart .kwan-entry__content .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.woocommerce-cart .kwan-entry__content .wc-block-grid__product-add-to-cart .wp-block-button__link:focus-visible {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}

@media (max-width: 900px) {
  .woocommerce-cart .kwan-empty-cart__intro {
    grid-template-columns: 1fr;
    grid-template-areas: "code" "title" "copy" "action";
  }
  .woocommerce-cart .kwan-entry__content .kwan-empty-cart__action { width: min(100%, 320px); margin-top: 12px; }
  .woocommerce-cart .wp-block-product-new .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .woocommerce-cart .kwan-content--cart { padding-top: calc(var(--header-h) + 84px); }
  .woocommerce-cart .kwan-entry__header { padding-bottom: 30px; }
  .woocommerce-cart .kwan-entry__header h1 { margin-top: 16px; font-size: clamp(3.15rem, 16vw, 4.8rem); }
  .woocommerce-cart .kwan-empty-cart__intro { gap: 18px; padding: 28px 18px 30px; }
  .woocommerce-cart .kwan-empty-cart__intro .wc-block-cart__empty-cart__title {
    margin-top: 14px;
    font-size: clamp(2.55rem, 12.6vw, 4rem);
    line-height: 0.94;
  }
  html[lang="zh-Hant"] .woocommerce-cart .kwan-empty-cart__intro .wc-block-cart__empty-cart__title {
    font-size: clamp(2.2rem, 10.6vw, 3.35rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
  }
  .woocommerce-cart .kwan-empty-cart__copy { font-size: 0.9rem; line-height: 1.6 !important; }
  .woocommerce-cart .kwan-entry__content .kwan-empty-cart__action { width: 100%; min-height: 56px; margin-top: 6px; }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
    padding-bottom: 16px;
    margin-top: 64px;
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }
  .woocommerce-cart .wp-block-product-new .wc-block-grid__product { padding-bottom: 14px; }
  .woocommerce-cart .wp-block-product-new .wc-block-grid__product-image { margin-bottom: 12px; }
  .woocommerce-cart .wp-block-product-new .wc-block-grid__product-title {
    min-height: 2.65em;
    margin: 0 10px 8px;
    font-size: 0.78rem;
    line-height: 1.32;
  }
  .woocommerce-cart .wp-block-product-new .wc-block-grid__product-price { margin: 0 10px 12px; font-size: 0.66rem; }
  .woocommerce-cart .wp-block-product-new .wc-block-grid__product-add-to-cart { margin-right: 10px; margin-left: 10px; }
  .woocommerce-cart .kwan-entry__content .wc-block-grid__product-add-to-cart .wp-block-button__link {
    width: 100%;
    min-height: 40px;
    padding: 0 9px;
    font-size: 0.55rem;
  }
}

/* Orderable keeps ordering logic; the theme supplies space and brand framing. */
.kwan-content--orderable { padding-bottom: 140px; }
.kwan-content--orderable .kwan-entry__header { padding-bottom: 44px; }

/* Delivery information is rendered by the theme but reads every business rule
   from Kwan Commerce, so public guidance cannot drift from checkout. */
.kwan-delivery-info { box-sizing: border-box; }
.kwan-delivery-info [data-lang="zh"] > .zh-line { display: block; }
.kwan-delivery-info__areas { padding: 0; margin: 0; list-style: none; }
.kwan-delivery-info__areas li { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.kwan-delivery-info__areas li > span { min-width: 0; }
.kwan-delivery-info__areas li > b { grid-column: 2; grid-row: 1; font-family: var(--mono); font-size: 0.72rem; }
.kwan-delivery-info--order { display: grid; overflow: hidden; grid-template-columns: minmax(250px, 0.62fr) minmax(0, 2.38fr); margin-top: clamp(24px, 3vw, 40px); border: 1px solid var(--ink); background: rgba(255, 250, 242, 0.58); }
.kwan-delivery-info__intro { display: flex; min-height: 156px; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(18px, 2vw, 28px); color: var(--white); background: var(--brand); }
.kwan-delivery-info__intro p { margin: 0; font-family: var(--mono); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.09em; line-height: 1.2; }
.kwan-delivery-info__intro > strong { max-width: 16ch; font-size: clamp(1.2rem, 1.5vw, 1.75rem); font-weight: 900; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.kwan-delivery-info__options { display: grid; grid-template-columns: minmax(180px, 0.62fr) minmax(320px, 1.38fr); }
.kwan-delivery-info__option { display: flex; min-width: 0; flex-direction: column; padding: clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.kwan-delivery-info__option > small { margin-bottom: 12px; color: var(--brand); font-family: var(--mono); font-size: 0.54rem; font-weight: 800; letter-spacing: 0.08em; }
.kwan-delivery-info__option > strong { max-width: 20ch; font-size: clamp(1.02rem, 1.35vw, 1.42rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.kwan-delivery-info__option > p { max-width: 42rem; margin: 9px 0 0; color: rgba(33, 27, 22, 0.68); font-size: 0.68rem; line-height: 1.48; text-wrap: pretty; }
.kwan-delivery-info__option--delivery { background: var(--brand-wash); }
.kwan-delivery-info__option .kwan-delivery-info__areas { display: grid; gap: 4px; margin-top: auto; padding-top: 14px; }
.kwan-delivery-info__option .kwan-delivery-info__areas li { padding-top: 6px; border-top: 1px solid rgba(110, 74, 6, 0.24); color: var(--brand-deep); font-size: 0.65rem; font-weight: 750; line-height: 1.25; }
.kwan-delivery-info__legend { display: grid; grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 5px 16px; padding: 10px clamp(18px, 2vw, 28px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kwan-delivery-info__legend > p { margin: 0; color: var(--brand); font-family: var(--mono); font-size: 0.54rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.2; white-space: nowrap; }
.kwan-delivery-info__legend-items { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.kwan-delivery-info__legend-items > span { display: inline-flex; flex: none; align-items: center; gap: 6px; white-space: nowrap; }
.kwan-delivery-info__legend-items b,
.kwan-delivery-info__legend-items b [data-lang] { color: rgba(33, 27, 22, 0.76); font-size: 0.62rem; font-weight: 750; line-height: 1.2; overflow-wrap: normal; white-space: nowrap; word-break: keep-all; }
.kwan-delivery-info__legend > small { grid-column: 1 / -1; color: rgba(33, 27, 22, 0.68); font-size: 0.55rem; line-height: 1.35; }
.kwan-delivery-info--inline { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 0; margin: 0 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kwan-delivery-info--inline > span { color: var(--brand); font-family: var(--mono); font-size: 0.54rem; font-weight: 800; letter-spacing: 0.08em; }
.kwan-delivery-info--inline > strong { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.03em; text-align: right; }
.kwan-delivery-info--visit { display: grid; gap: 16px; width: 100%; padding: 18px; margin: 0 0 30px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.055); }
.kwan-delivery-info__visit-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.kwan-delivery-info__visit-head small { color: var(--brand-light); font-family: var(--mono); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.08em; }
.kwan-delivery-info__visit-head strong { max-width: 24ch; color: var(--white); font-size: 0.9rem; line-height: 1.25; text-align: right; text-wrap: balance; }
.kwan-delivery-info--visit .kwan-delivery-info__areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.kwan-delivery-info--visit .kwan-delivery-info__areas li { padding: 11px 8px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 0.62rem; line-height: 1.35; }
.kwan-delivery-info--visit .kwan-delivery-info__areas li + li { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.kwan-delivery-info--visit > p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 0.65rem; line-height: 1.5; text-wrap: pretty; }
html[lang^="zh"] .kwan-delivery-info strong { word-break: keep-all; overflow-wrap: normal; }
html[lang="zh-Hant"] .kwan-delivery-info__intro > strong > [data-lang="zh"],
html[lang="zh-Hant"] .kwan-delivery-info__option > strong > [data-lang="zh"],
html[lang="zh-Hant"] .kwan-delivery-info__legend > p > [data-lang="zh"],
html[lang="zh-Hant"] .kwan-delivery-info__legend-items [data-lang="zh"],
html[lang="zh-Hant"] .kwan-delivery-info__legend > small > [data-lang="zh"] {
	display: inline;
	width: auto;
	max-width: 100%;
	line-break: strict;
	overflow-wrap: normal;
	text-wrap: pretty;
	white-space: normal;
	word-break: keep-all;
}

.kwan-content--orderable .orderable,
.kwan-content--orderable [class*="orderable-"] { font-family: var(--sans); }
.kwan-content--orderable button,
.kwan-content--orderable input,
.kwan-content--orderable select { border-radius: 0; }
.kwan-content--orderable .orderable-main { width: 100%; max-width: none; }
.kwan-content--orderable .orderable-main__group { margin: 0 0 clamp(64px, 7vw, 112px); scroll-margin-top: calc(var(--fixed-chrome-bottom) + var(--order-nav-bar-h, 68px) + 18px); }
.kwan-content--orderable .kwan-order-lazy-group { min-height: 220px; }
.kwan-order-lazy-group__status { display: grid; max-width: 520px; grid-template-columns: auto 1fr; gap: 12px 18px; margin: 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--brand); font-family: var(--mono); font-size: 0.62rem; font-weight: 750; letter-spacing: 0.04em; line-height: 1.25; text-transform: uppercase; }
.kwan-order-lazy-group__label { white-space: nowrap; }
.kwan-order-lazy-group__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; align-self: center; }
.kwan-order-lazy-group__track i { display: block; height: 2px; background: var(--brand-wash); animation: kwan-order-lazy-progress 1.2s ease-in-out infinite; }
.kwan-order-lazy-group__track i:nth-child(2) { animation-delay: .16s; }
.kwan-order-lazy-group__track i:nth-child(3) { animation-delay: .32s; }
.kwan-order-lazy-group__message { grid-column: 1 / -1; color: var(--ink-soft); font-family: var(--sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.kwan-order-lazy-group__retry { padding: 0; border: 0; color: var(--ink); background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes kwan-order-lazy-progress { 50% { background: var(--brand); transform: scaleX(.55); transform-origin: left; } }
@media (prefers-reduced-motion: reduce) { .kwan-order-lazy-group__track i { animation: none; background: var(--brand); } }
.kwan-content--orderable .orderable-products-list__item[id^="offer-"] { scroll-margin-top: calc(var(--fixed-chrome-bottom) + var(--order-nav-bar-h, 68px) + 18px); }
.kwan-content--orderable .orderable-main__group:last-child { margin-bottom: 0; }
.kwan-content--orderable .orderable-products-list { margin-bottom: 36px; }
.kwan-content--orderable .orderable-products-list__item .orderable-product { border: 1px solid var(--line); border-radius: 0; background: rgba(255, 250, 242, 0.58); box-shadow: none; }
.kwan-content--orderable .orderable-product__title { color: var(--ink); font-size: clamp(1rem, 1.15vw, 1.22rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.kwan-content--orderable .orderable-product__description { display: -webkit-box; overflow: hidden; color: rgba(33, 27, 22, 0.7); font-size: 0.76rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kwan-content--orderable .orderable-product__actions-price .amount { color: var(--brand); font-family: var(--mono); font-size: 0.92rem; }
.kwan-content--orderable .orderable-button { min-height: 44px; height: 44px; padding: 0 18px !important; border: 1px solid var(--ink); border-radius: 0; line-height: 42px; }
.kwan-content--orderable .orderable-button:hover,
.kwan-content--orderable .orderable-button:focus { border-color: var(--brand); background: var(--brand); }

/* Branded Orderable cart drawer. Orderable retains all cart behaviour while the
   theme owns hierarchy, touch targets, promotion data and checkout framing. */
.orderable-drawer {
  --kwan-drawer-pad: clamp(22px, 4vw, 34px);
  width: min(100%, 560px);
  max-width: 560px;
  padding: 0;
  color: var(--ink);
  border-left: 1px solid var(--ink);
  background: var(--cloud);
  box-shadow: -28px 0 80px rgba(33, 27, 22, 0.24);
  font-family: var(--sans);
}
.orderable-drawer-overlay {
  background: rgba(33, 27, 22, 0.66);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.orderable-drawer__inner.orderable-drawer__cart {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0 var(--kwan-drawer-pad) calc(var(--kwan-drawer-pad) + env(safe-area-inset-bottom, 0px));
}
.orderable-drawer__inner.orderable-drawer__html { padding: var(--kwan-drawer-pad); }
.orderable-drawer__cart > h3 {
  flex: none;
  margin: 0;
  padding: 22px 64px 20px 0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-align: left;
}
.orderable-drawer__cart > h3::before {
  display: block;
  margin-bottom: 7px;
  color: var(--brand);
  content: "ORDER / CART";
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1;
}
html[lang="zh-Hant"] .orderable-drawer__cart > h3::before { content: "ORDER / 購物車"; }
.orderable-drawer__close {
  top: 17px;
  right: var(--kwan-drawer-pad);
  left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: transparent;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.orderable-drawer__close:hover,
.orderable-drawer__close:focus-visible {
  border-color: var(--brand);
  background-color: var(--brand);
}
.orderable-drawer__close::before,
.orderable-drawer__close::after { background-color: var(--ink); }
.orderable-drawer__close:hover::before,
.orderable-drawer__close:hover::after,
.orderable-drawer__close:focus-visible::before,
.orderable-drawer__close:focus-visible::after { background-color: var(--white); }
.orderable-drawer__cart .orderable-mini-cart-wrapper {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  overflow: hidden;
  border-top: 0;
}
.orderable-drawer__cart .orderable-mini-cart-wrapper > * {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.orderable-drawer__cart .orderable-sb-container,
.orderable-drawer__inner .orderable-sb-container {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  flex: 1 1 auto !important;
  overflow: hidden;
  padding: 0;
  margin: 0;
  margin-bottom: 0;
  overscroll-behavior: contain;
}
.orderable-drawer__cart .orderable-sb-content,
.orderable-drawer__cart .orderable-sb-container-noscroll .orderable-sb-content {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  height: 100%;
  max-height: 100% !important;
  min-width: 0;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 2px 0 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--brand) transparent;
  scrollbar-width: thin;
}
.orderable-drawer__cart .orderable-sb-content::-webkit-scrollbar { width: 4px; }
.orderable-drawer__cart .orderable-sb-content::-webkit-scrollbar-track { background: transparent; }
.orderable-drawer__cart .orderable-sb-content::-webkit-scrollbar-thumb { background: var(--brand); }
.orderable-drawer__cart .orderable-sb-scrollbar-container { display: none; }
.orderable-drawer__cart .orderable-mini-cart {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  min-width: 0;
  overflow: visible;
  margin: 0;
  padding: 0;
  list-style: none;
}
.orderable-drawer__cart .orderable-mini-cart-item {
  position: relative;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 120px;
  min-width: 0;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
  padding: 18px 50px 18px 2px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.orderable-drawer__cart .kwan-drawer-product-image {
  width: 76px;
  height: 76px;
  grid-column: 1;
  grid-row: 1 / span 4;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--brand-wash);
}
.orderable-drawer__cart .orderable-mini-cart-item > strong {
  display: block;
  width: 100%;
  min-width: 0;
  grid-column: 2;
  margin: 0 0 3px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: left;
  text-wrap: pretty;
  word-break: normal;
}
html[lang="zh-Hant"] .orderable-drawer__cart .orderable-mini-cart-item > strong {
  font-weight: 750;
  letter-spacing: 0;
  line-break: strict;
}
.orderable-drawer__cart .orderable-mini-cart-item > div:not(.orderable-quantity-roller):not(.kwan-product-facts) {
  grid-column: 2;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--brand);
  background: var(--brand-wash);
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}
.orderable-drawer__cart .kwan-product-facts--drawer {
  grid-column: 2;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 1px 0 10px;
}
.orderable-drawer__cart .kwan-product-facts--drawer .kwan-product-fact {
  min-height: 18px;
  font-size: 0.5rem;
}
.orderable-drawer__cart .kwan-product-facts--drawer .kwan-product-fact--indicator {
  width: 17px;
  height: 17px;
  min-height: 17px;
}
.orderable-drawer__cart .kwan-product-facts--drawer .kwan-product-fact--indicator::before {
  width: 15px;
  height: 15px;
}
.orderable-drawer__cart .kwan-product-facts--drawer + div:not(.orderable-quantity-roller):not(.kwan-product-facts):not(.kwan-drawer-metadata--processed) {
  display: none;
}
.orderable-drawer__cart .kwan-drawer-metadata--facts-only { display: none !important; }
.orderable-drawer__cart .orderable-mini-cart-item .variation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 7px;
  margin: 0;
}
.orderable-drawer__cart .orderable-mini-cart-item .variation dt,
.orderable-drawer__cart .orderable-mini-cart-item .variation dd,
.orderable-drawer__cart .orderable-mini-cart-item .variation p { margin: 0; }
.orderable-drawer__cart .orderable-mini-cart-item .variation dt {
  color: var(--brand-deep);
  font-weight: 800;
}
.orderable-drawer__cart .orderable-mini-cart-item .variation dd { min-width: 0; }
.orderable-drawer__cart .orderable-mini-cart-item .orderable-quantity-roller {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-column: 2;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 0;
}
.orderable-drawer__cart .orderable-quantity-roller__roller {
  flex: none;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
}
.orderable-drawer__cart .orderable-quantity-roller__button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  color: var(--ink);
  background: transparent;
}
.orderable-drawer__cart .orderable-quantity-roller__button:hover,
.orderable-drawer__cart .orderable-quantity-roller__button:focus-visible {
  color: var(--white);
  background: var(--brand);
}
.orderable-drawer__cart .orderable-quantity-roller__quantity {
  min-width: 26px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}
.orderable-drawer__cart .orderable-quantity-roller__price {
  flex: none;
  max-width: 46%;
  overflow: hidden;
  margin-left: auto;
  color: var(--brand-deep);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.orderable-drawer__cart .orderable-quantity-roller__price::before { color: rgba(33, 27, 22, 0.5); }
.orderable-drawer__cart .orderable-mini-cart-item__remove {
  position: absolute;
  right: 0;
  bottom: 20px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.orderable-drawer__cart .orderable-mini-cart-item__remove:hover,
.orderable-drawer__cart .orderable-mini-cart-item__remove:focus-visible {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}
.orderable-drawer__cart .orderable-mini-cart-item__remove svg { width: 17px; height: 17px; }
.orderable-drawer__cart .orderable-edit-cart-item__button {
  grid-column: 2;
  min-height: 34px;
  padding: 0 11px;
  margin: 0 0 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.orderable-drawer__cart .orderable-edit-cart-item__button:hover,
.orderable-drawer__cart .orderable-edit-cart-item__button:focus-visible {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}
.orderable-drawer__cart .orderable-mini-cart__notices {
  flex: none;
  padding: 0;
  margin: 0;
}
.orderable-drawer__cart .orderable-mini-cart__total {
  display: flex;
  flex: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 16px;
  margin: 0;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  font-size: 0.92rem;
  text-align: left;
}
.orderable-drawer__cart .orderable-mini-cart__total strong {
  font-weight: 750;
  letter-spacing: -0.01em;
}
.orderable-drawer__cart .orderable-mini-cart__total .amount {
  color: var(--brand-deep);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
}
.orderable-drawer__cart .orderable-mini-cart__buttons { flex: none; margin: 0; }
.orderable-drawer__cart .orderable-mini-cart__buttons .button.checkout {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.orderable-drawer__cart .orderable-mini-cart__buttons .button.checkout::after {
  content: "\2192";
  font-family: var(--mono);
  font-size: 1.15rem;
  font-variant-emoji: text;
}
.orderable-drawer__cart .orderable-mini-cart__buttons .button.checkout:hover,
.orderable-drawer__cart .orderable-mini-cart__buttons .button.checkout:focus-visible {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}
.orderable-drawer__cart .orderable-mini-cart__empty-message {
  margin: 0;
  padding: clamp(56px, 10vh, 104px) 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}
.orderable-drawer__cart.is-cart-updating .orderable-sb-content {
  opacity: 0.72;
  transition: opacity 140ms ease;
}
.orderable-drawer__cart.is-cart-updating::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  height: 3px;
  background: var(--brand);
  content: "";
  transform-origin: left center;
  animation: kwan-cart-progress 850ms var(--ease) infinite;
}

@media (max-width: 520px) {
  .orderable-drawer {
    --kwan-drawer-pad: 16px;
    width: 100%;
    max-width: none;
    height: 100dvh;
    border-left: 0;
  }
  .orderable-drawer__cart > h3 { padding-top: 20px; padding-bottom: 18px; }
  .orderable-drawer__close { top: 14px; }
  .orderable-drawer__cart .orderable-mini-cart-item {
    min-height: 112px;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 12px;
    padding-top: 16px;
    padding-right: 48px;
    padding-left: 2px;
    padding-bottom: 16px;
  }
  .orderable-drawer__cart .kwan-drawer-product-image { width: 68px; height: 68px; }
  .orderable-drawer__cart .orderable-mini-cart-item > strong { font-size: 1rem; }
  .orderable-drawer__cart .orderable-mini-cart-item > div:not(.orderable-quantity-roller):not(.kwan-product-facts) {
    padding: 9px 10px;
    font-size: 0.74rem;
  }
  .orderable-drawer__cart .orderable-quantity-roller__button {
    width: 40px;
    min-width: 40px;
  }
  .orderable-drawer__cart .orderable-mini-cart-item .orderable-quantity-roller { gap: 9px; }
  .orderable-drawer__cart .orderable-quantity-roller__price { max-width: 42%; font-size: 0.76rem; }
  .orderable-drawer__cart .orderable-mini-cart-item__remove { bottom: 18px; }
}

@keyframes kwan-cart-progress {
  0% { transform: scaleX(0); opacity: 0.45; }
  55% { transform: scaleX(0.72); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

.kwan-order-nav {
  position: sticky;
  top: calc(var(--fixed-chrome-bottom) + 1px);
  z-index: 60;
  margin: 0 0 clamp(48px, 5vw, 76px);
  border: 1px solid var(--brand);
  background: rgba(235, 226, 213, 0.97);
  box-shadow: 0 10px 28px rgba(73, 49, 4, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.kwan-order-nav__bar { display: grid; min-height: 72px; grid-template-columns: minmax(142px, 0.34fr) minmax(0, 1fr) auto; align-items: stretch; }
.kwan-order-nav__eyebrow { display: flex; align-items: center; margin: 0; padding: 0 20px; color: var(--white); background: var(--brand); font-family: var(--mono); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.09em; line-height: 1.25; text-transform: uppercase; }
.kwan-order-nav__current { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 12px; row-gap: 3px; padding: 10px 22px; border-left: 1px solid rgba(110, 74, 6, 0.28); }
.kwan-order-nav__current-label { color: var(--brand-deep); font-family: var(--mono); font-size: 0.5rem; font-weight: 800; letter-spacing: 0.07em; line-height: 1.2; text-transform: uppercase; }
.kwan-order-nav__current small { overflow: hidden; color: var(--brand); font-family: var(--mono); font-size: 0.5rem; font-style: normal; font-weight: 750; letter-spacing: 0.05em; line-height: 1.2; text-align: right; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.kwan-order-nav__current strong { grid-column: 1 / -1; overflow: hidden; font-size: clamp(0.86rem, 1.2vw, 1.04rem); font-weight: 850; letter-spacing: -0.015em; line-height: 1.16; text-overflow: ellipsis; white-space: nowrap; }
.kwan-order-nav__directory { align-self: stretch; }
.kwan-order-nav__directory:not([open]) > .kwan-order-nav__panel { display: none; }
.kwan-order-nav__toggle { display: grid; min-width: 238px; height: 100%; grid-template-columns: auto auto 18px; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border-left: 1px solid var(--brand-deep); color: var(--white); background: var(--brand); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.025em; line-height: 1; list-style: none; text-transform: uppercase; cursor: pointer; }
.kwan-order-nav__toggle::-webkit-details-marker { display: none; }
.kwan-order-nav__toggle::marker { display: none; content: ""; }
.kwan-order-nav__toggle > b { display: grid; min-width: 24px; height: 24px; place-items: center; padding: 0 5px; border-radius: 50%; color: var(--brand-deep); background: var(--brand-light); font-family: var(--mono); font-size: 0.52rem; }
.kwan-order-nav__toggle > i { display: grid; width: 14px; grid-template-columns: repeat(2, 5px); gap: 3px; }
.kwan-order-nav__toggle > i span { width: 5px; height: 5px; background: currentColor; }
.kwan-order-nav__toggle:hover,
.kwan-order-nav__toggle:focus-visible,
.kwan-order-nav__directory[open] .kwan-order-nav__toggle { color: var(--white); background: var(--ink); }
.kwan-order-nav__toggle:hover > b,
.kwan-order-nav__toggle:focus-visible > b,
.kwan-order-nav__directory[open] .kwan-order-nav__toggle > b { color: var(--brand-deep); background: var(--brand-light); }
.kwan-order-nav__panel { position: absolute; top: calc(100% + 1px); right: -1px; left: -1px; z-index: 2; max-height: min(72dvh, 620px); overflow: auto; padding: 18px; border: 1px solid var(--brand); border-top: 0; background: var(--cloud); box-shadow: 0 24px 60px rgba(33, 27, 22, 0.2); overscroll-behavior: contain; }
.kwan-order-nav__panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.kwan-order-nav__panel-head strong { font-size: clamp(1rem, 1.45vw, 1.28rem); font-weight: 850; letter-spacing: -0.025em; }
.kwan-order-nav__panel-head span { color: var(--brand); font-family: var(--mono); font-size: 0.55rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.kwan-order-nav__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 12px; }
.kwan-order-nav__group { display: grid; min-width: 0; align-self: start; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 250, 242, 0.5); }
.kwan-order-nav__children { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.kwan-order-nav__group-title { display: flex; min-height: 74px; flex-direction: column; justify-content: center; gap: 5px; padding: 14px 16px; background: var(--brand-wash); }
.kwan-order-nav__group-title small { color: var(--brand); font-family: var(--mono); font-size: 0.48rem; font-weight: 750; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; }
.kwan-order-nav__group-title strong { font-size: 0.88rem; font-weight: 850; letter-spacing: -0.015em; line-height: 1.18; }
.kwan-entry__content .kwan-order-nav .kwan-order-nav__link { display: grid; min-height: 70px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0; padding: 12px 16px; color: var(--ink); border: 0; background: transparent; text-decoration: none; }
.kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-parent { min-height: 74px; background: var(--brand-wash); }
.kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-child + .kwan-order-nav__link.is-child { border-top: 1px solid var(--line); }
.kwan-order-nav__item-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.kwan-order-nav__item-copy small { overflow: hidden; color: var(--brand); font-family: var(--mono); font-size: 0.46rem; font-weight: 750; letter-spacing: 0.055em; line-height: 1.2; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.kwan-order-nav__link.is-child .kwan-order-nav__item-copy small { display: none; }
.kwan-order-nav__item-copy strong { color: inherit; font-size: 0.78rem; font-weight: 850; letter-spacing: -0.015em; line-height: 1.18; }
.kwan-order-nav__link.is-parent .kwan-order-nav__item-copy strong { font-size: 0.9rem; }
.kwan-order-nav__link > b { display: grid; min-width: 26px; height: 26px; place-items: center; padding: 0 5px; border-radius: 50%; color: var(--white); background: var(--brand); font-family: var(--mono); font-size: 0.5rem; }
.kwan-entry__content .kwan-order-nav .kwan-order-nav__link:hover,
.kwan-entry__content .kwan-order-nav .kwan-order-nav__link:focus-visible,
.kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-current { color: var(--white); border-color: var(--brand); background: var(--brand); }
.kwan-order-nav__link:hover .kwan-order-nav__item-copy strong,
.kwan-order-nav__link:focus-visible .kwan-order-nav__item-copy strong,
.kwan-order-nav__link.is-current .kwan-order-nav__item-copy strong { color: var(--white); }
.kwan-order-nav__link:hover .kwan-order-nav__item-copy small,
.kwan-order-nav__link:focus-visible .kwan-order-nav__item-copy small,
.kwan-order-nav__link.is-current .kwan-order-nav__item-copy small { color: var(--brand-light); }
.kwan-order-nav__link:hover > b,
.kwan-order-nav__link:focus-visible > b,
.kwan-order-nav__link.is-current > b { color: var(--brand); background: var(--brand-light); }
.kwan-order-category { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: clamp(28px, 4vw, 64px); margin: 0 0 28px; padding-top: 18px; border-top: 2px solid var(--ink); }
.kwan-order-category--has-parent { grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr); }
.kwan-order-category__meta { display: flex; min-height: 84px; flex-direction: column; justify-content: flex-end; gap: 16px; }
.kwan-order-category__parent { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.kwan-order-category__parent span { color: var(--brand); font-family: var(--mono); font-size: 0.48rem; font-weight: 750; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; }
.kwan-order-category__parent strong { font-size: 0.78rem; font-weight: 850; letter-spacing: -0.015em; line-height: 1.2; }
.kwan-order-category__title { display: flex; min-width: 0; align-items: flex-end; }
.kwan-order-category h2 { max-width: 18ch; margin: 0; font-size: clamp(2.35rem, 4.35vw, 4.8rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.94; overflow-wrap: break-word; text-wrap: balance; word-break: normal; }
.kwan-order-subcategory { display: flex; align-items: baseline; gap: 18px; margin: 34px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.kwan-order-subcategory[id^="category-"] { scroll-margin-top: calc(var(--fixed-chrome-bottom) + var(--order-nav-bar-h, 68px) + 18px); }
.kwan-order-subcategory p { flex: none; margin: 0; color: var(--ink); font-family: var(--mono); font-size: 0.52rem; font-weight: 750; letter-spacing: 0.035em; line-height: 1.2; text-transform: uppercase; word-spacing: -0.18em; }
.kwan-order-subcategory h3 { margin: 0 !important; color: var(--brand); font-size: clamp(1.45rem, 2.2vw, 2.35rem) !important; font-weight: 850; letter-spacing: -0.035em; line-height: 1.08; overflow-wrap: break-word; word-break: normal; }
html[lang^="zh"] .kwan-order-nav__item-copy strong,
html[lang^="zh"] .kwan-order-category h2,
html[lang^="zh"] .kwan-order-subcategory h3 { overflow-wrap: normal; word-break: keep-all; }

@media (min-width: 901px) {
  .kwan-content--orderable .orderable-products-list--list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 48px; }
  .kwan-content--orderable .orderable-products-list--list .orderable-products-list__item { width: auto; min-width: 0; padding: 0; margin: 0; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product { display: grid; min-height: 128px; grid-template-columns: 128px minmax(0, 1fr); overflow: hidden; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product__hero { width: 128px; height: 100%; min-height: 128px; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product__image { width: 100% !important; height: 100% !important; object-fit: cover; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product__content-wrap { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product__content { min-width: 0; padding: 18px 12px 18px 20px; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product__actions { align-items: center; gap: 14px; padding: 18px 20px 18px 8px; margin: 0; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product__actions-price { margin: 0; }
  .kwan-content--orderable .orderable-products-list--list .orderable-product__actions-button { margin-left: 0; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .kwan-order-nav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  .kwan-content--orderable .orderable-products-list--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .admin-bar .announcement { top: 46px; }
  .admin-bar .site-header { top: 70px; }
  .admin-bar .page-progress { top: 46px; }
  .admin-bar .mobile-menu { top: 46px; }
  .desktop-nav__menu { display: none; }
  .kwan-content { padding-top: calc(var(--header-h) + 88px); }
  .kwan-entry__header h1 { font-size: clamp(3.2rem, 15vw, 6rem); }
  .kwan-post-list { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kwan-content--orderable { padding-bottom: 112px; }
  .kwan-content--orderable .kwan-entry__header { padding-bottom: 34px; }
	.kwan-delivery-info--order { grid-template-columns: minmax(0, 1fr); }
	.kwan-delivery-info__intro { min-height: 0; flex-direction: row; align-items: flex-end; }
	.kwan-delivery-info__intro > strong { max-width: 16ch; text-align: right; }
	.kwan-delivery-info__options { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
  .kwan-content--orderable .kwan-entry__header h1 { font-size: clamp(2.8rem, 12.8vw, 5.2rem); line-height: 0.92; }
  .kwan-content--orderable .orderable-main__group { margin-bottom: 72px; scroll-margin-top: calc(var(--fixed-chrome-bottom) + var(--order-nav-bar-h, 64px) + 16px); }
  .kwan-content--orderable .orderable-products-list__item[id^="offer-"] { scroll-margin-top: calc(var(--fixed-chrome-bottom) + var(--order-nav-bar-h, 64px) + 16px); }
  .kwan-order-nav { top: calc(var(--fixed-chrome-bottom) + 1px); margin-bottom: 48px; }
  .kwan-order-nav__bar { min-height: 66px; grid-template-columns: minmax(0, 1fr) 64px; }
  .kwan-order-nav__eyebrow { display: none; }
  .kwan-order-nav__current { border-left: 0; }
  .kwan-order-nav__current small { display: none; }
  .kwan-order-nav__toggle { width: 64px; min-width: 64px; grid-template-columns: 20px; gap: 0; padding: 0; }
  .kwan-order-nav__toggle > span,
  .kwan-order-nav__toggle > b { display: none; }
  .kwan-order-nav__toggle > i { display: grid; width: 20px; grid-template-columns: repeat(2, 8px); gap: 4px; }
  .kwan-order-nav__toggle > i span { width: 8px; height: 8px; }
  .kwan-order-nav__grid { grid-template-columns: minmax(0, 1fr); }
  .kwan-order-nav__group { grid-template-columns: minmax(0, 1fr); }
  .kwan-order-nav__children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kwan-order-nav__children { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-child + .kwan-order-nav__link.is-child { border-top: 0; }
  .kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-child { border-left: 0; }
  .kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-child:nth-child(even) { border-left: 1px solid var(--line); }
  .kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-child:nth-child(n+3) { border-top: 1px solid var(--line); }
  .kwan-order-category { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
  .kwan-order-category--has-parent { grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr); }
  .kwan-order-category h2 { font-size: clamp(2.2rem, 7vw, 3.9rem); line-height: 0.96; }
  .kwan-order-subcategory { margin-top: 30px; }
  body.kwan-orderable-page { padding-bottom: var(--mobile-dock-space); }
  body.kwan-orderable-page .orderable-floating-cart { z-index: 395; }
  body.kwan-orderable-page .orderable-floating-cart--br,
  body.kwan-orderable-page .orderable-floating-cart--bl { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  body.kwan-orderable-page .orderable-floating-cart--br,
  body.kwan-orderable-page .orderable-floating-cart--tr { right: 16px; }
  body:not(.kwan-orderable-page) .orderable-floating-cart { z-index: 395; }
  body:not(.kwan-orderable-page) .orderable-floating-cart--br,
  body:not(.kwan-orderable-page) .orderable-floating-cart--bl { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body:not(.kwan-orderable-page) .orderable-floating-cart--br,
  body:not(.kwan-orderable-page) .orderable-floating-cart--tr { right: 16px; }
}

@media (min-width: 821px) {
  body:has(.orderable-floating-cart) .toast { bottom: 128px; }
}

@media (max-width: 820px) {
  .admin-bar .mobile-menu { top: calc(70px + var(--header-h)); }
  body .orderable-floating-cart {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 520px) {
	.kwan-delivery-info--order { margin-top: 20px; }
	.kwan-delivery-info__intro { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; padding: 18px 16px 20px; }
	.kwan-delivery-info__intro p { white-space: normal; }
	.kwan-delivery-info__intro > strong { max-width: 22ch; font-size: 1.18rem; line-height: 1.08; text-align: left; text-wrap: pretty; }
	.kwan-delivery-info__options { grid-template-columns: minmax(0, 1fr); }
	.kwan-delivery-info__option { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: start; gap: 5px 12px; padding: 16px; border-top: 1px solid var(--line); border-left: 0; }
	.kwan-delivery-info__option > small { grid-column: 1; grid-row: 1 / span 2; margin: 2px 0 0; font-size: 0.48rem; }
	.kwan-delivery-info__option > strong { grid-column: 2; max-width: none; font-size: 1rem; line-height: 1.08; }
	.kwan-delivery-info__option > p { grid-column: 2; margin: 4px 0 0; font-size: 0.64rem; line-height: 1.42; }
	.kwan-delivery-info__option .kwan-delivery-info__areas { grid-column: 1 / -1; gap: 0; margin-top: 10px; padding-top: 0; }
	.kwan-delivery-info__option .kwan-delivery-info__areas li { padding-block: 7px; }
	.kwan-delivery-info__legend { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 16px; border-left: 0; }
	.kwan-delivery-info__legend-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
	.kwan-delivery-info__legend-items > span { min-width: 0; }
	.kwan-delivery-info__legend > small { grid-column: 1; font-size: 0.52rem; }
	.kwan-delivery-info__visit-head { align-items: flex-start; flex-direction: column; gap: 8px; }
	.kwan-delivery-info__visit-head strong { text-align: left; }
	.kwan-delivery-info--visit .kwan-delivery-info__areas { grid-template-columns: minmax(0, 1fr); }
	.kwan-delivery-info--visit .kwan-delivery-info__areas li + li { padding-left: 0; border-left: 0; }
	.kwan-delivery-info--visit .kwan-delivery-info__areas li { padding-block: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .kwan-entry__content--wide { width: calc(100% - 32px); }
  .kwan-content--orderable { padding-top: calc(var(--header-h) + 52px); }
  .kwan-content--orderable .kwan-entry__header { padding-bottom: 28px; }
  .kwan-content--orderable .kwan-entry__header h1 { max-width: 12ch; font-size: clamp(2.65rem, 12vw, 4.2rem); line-height: 0.95; }
  .kwan-content--orderable .orderable-main__group { margin-bottom: 64px; }
  .kwan-content--orderable .orderable-products-list { display: grid; gap: 0; margin: 0 0 32px; border-top: 1px solid var(--ink); }
  .kwan-content--orderable .orderable-products-list__item { width: 100%; padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
  .kwan-content--orderable .orderable-products-list__item:last-child { border-bottom: 1px solid var(--line); }
  .kwan-content--orderable .orderable-products-list__item .orderable-product {
    display: grid !important;
    min-height: 116px;
    grid-template-columns: clamp(78px, 23vw, 92px) minmax(0, 1fr);
    align-items: stretch !important;
    overflow: hidden;
    border: 0;
    background: transparent;
  }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__hero {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100%;
    min-height: 116px;
    overflow: hidden;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: var(--steel);
  }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__image {
    width: 100% !important;
    height: 100% !important;
    min-height: 116px;
    object-fit: cover;
  }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__content-wrap {
    display: grid !important;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 88px;
    align-items: stretch;
  }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__content {
    display: flex;
    min-width: 0;
    justify-content: center;
    padding: 14px 10px 14px 14px;
  }
  .kwan-content--orderable .orderable-product__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 !important;
    font-size: clamp(0.86rem, 3.8vw, 0.98rem) !important;
    letter-spacing: -0.018em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .kwan-content--orderable .orderable-product__description { display: none; }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__actions {
    display: grid !important;
    min-width: 0;
    height: 100%;
    grid-template-rows: auto 1fr;
    align-items: end;
    justify-items: center;
    gap: 8px;
    padding: 13px 8px;
    margin: 0;
    border-left: 1px solid var(--line);
  }
  .kwan-content--orderable .orderable-product__actions-price { align-self: start; margin: 0; text-align: center; }
  .kwan-content--orderable .orderable-product__actions-price .price { display: flex; align-items: center; flex-direction: column; gap: 2px; }
  .kwan-content--orderable .orderable-product__actions-price .amount { margin: 0; font-size: 0.72rem; line-height: 1.2; }
  .kwan-content--orderable .orderable-product__actions-button {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
  }
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock) {
    display: block;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 !important;
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    font-size: 0;
    line-height: 1;
    position: relative;
  }
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock)::before,
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock)::after {
    content: "";
    width: 14px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: currentColor;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock)::after { transform: translate(-50%, -50%) rotate(90deg); }
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock):hover,
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock):focus,
  .kwan-content--orderable .orderable-product__add-to-order.orderable-button--hover:not(.orderable-button--out-of-stock) {
    color: var(--white);
    border-color: var(--brand);
    background: var(--brand);
  }
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller--is-active + .orderable-product__add-to-order { display: none; }
  .kwan-content--orderable .orderable-product__add-to-order.orderable-button--loading::before { opacity: 0; }
  .kwan-content--orderable .orderable-product__add-to-order.orderable-button--loading::after {
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    right: auto;
    left: calc(50% - 8px);
    margin: 0;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    background: transparent;
    transform: none;
  }
  .kwan-content--orderable .orderable-button--out-of-stock { width: 100%; min-height: 44px; height: auto; padding: 8px 4px !important; white-space: normal; font-size: 0.56rem; line-height: 1.2; }
  .kwan-content--orderable .orderable-quantity-roller { width: 72px; max-width: none; margin: 0; }
  .kwan-content--orderable .orderable-quantity-roller__roller {
    display: grid;
    width: 72px;
    height: 42px;
    grid-template-columns: repeat(3, 24px);
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 21px;
  }
  .kwan-content--orderable .orderable-quantity-roller__button {
    width: 24px;
    min-width: 24px;
    height: 40px;
    min-height: 40px;
    padding: 0 !important;
    border: 0;
    color: var(--ink);
  }
  .kwan-content--orderable .orderable-quantity-roller__quantity { min-width: 24px; font-size: 0.75rem !important; font-weight: 800; }
  .kwan-content--orderable .orderable-quantity-roller__button::before,
  .kwan-content--orderable .orderable-quantity-roller__button::after {
    width: 8px;
    height: 2px;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }
  .kwan-content--orderable .orderable-quantity-roller__button--increase::after {
    width: 2px;
    height: 8px;
    margin: 0;
    transform: translate(-50%, -50%);
  }
  .kwan-content--orderable .orderable-quantity-roller__button--decrease svg {
    width: 15px;
    height: 15px;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button:not(.orderable-button--loading):hover,
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button:not(.orderable-button--loading):focus {
    color: var(--white);
    background: var(--brand);
  }
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button:not(.orderable-button--loading):hover::before,
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button:not(.orderable-button--loading):hover::after,
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button:not(.orderable-button--loading):focus::before,
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button:not(.orderable-button--loading):focus::after { background: var(--white); }
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button--decrease:hover svg,
  .kwan-content--orderable .orderable-product__actions-button .orderable-quantity-roller__button--decrease:focus svg { fill: var(--white); }
  .kwan-content--orderable .orderable-quantity-roller__button.orderable-button--loading::before { background: transparent; }
  .kwan-content--orderable .orderable-quantity-roller__button.orderable-button--loading::after {
    width: 12px;
    height: 12px;
    top: calc(50% - 6px);
    right: auto;
    left: calc(50% - 6px);
    margin: 0;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    background: transparent;
    transform: none;
  }
  .kwan-content--orderable .orderable-quantity-roller__quantity { min-width: 20px; padding: 0 2px; font-size: 0.7rem; line-height: 36px; }
  .kwan-order-nav { margin-right: -16px; margin-bottom: 38px; margin-left: -16px; }
  .kwan-order-nav__bar { min-height: 62px; grid-template-columns: minmax(0, 1fr) 58px; }
  .kwan-order-nav__current { column-gap: 6px; row-gap: 2px; padding: 8px 12px; }
  .kwan-order-nav__current-label,
  .kwan-order-nav__current small { font-size: 0.44rem; }
  .kwan-order-nav__current strong { font-size: 0.78rem; }
  .kwan-order-nav__toggle { width: 58px; min-width: 58px; grid-template-columns: 20px; gap: 0; padding: 0; }
  .kwan-order-nav__panel { max-height: 58dvh; padding: 14px; }
  .kwan-order-nav__panel-head { gap: 12px; margin-bottom: 12px; }
  .kwan-order-nav__panel-head strong { font-size: 0.92rem; }
  .kwan-order-nav__panel-head span { font-size: 0.48rem; }
  .kwan-order-nav__grid { grid-template-columns: 1fr; }
  .kwan-order-nav__children { grid-template-columns: 1fr; }
  .kwan-entry__content .kwan-order-nav .kwan-order-nav__link { min-height: 64px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-child + .kwan-order-nav__link.is-child { border-top: 1px solid var(--line); border-left: 0; }
  .kwan-entry__content .kwan-order-nav .kwan-order-nav__link.is-child:nth-child(even) { border-left: 0; }
  .kwan-order-nav__item-copy strong { font-size: 0.74rem; }
  .kwan-order-category { grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; padding-top: 16px; }
  .kwan-order-category__meta { min-height: 0; flex-direction: row; align-items: flex-start; }
  .kwan-order-category__parent { align-items: flex-end; text-align: right; }
  .kwan-order-category h2 { max-width: 100%; font-size: clamp(1.95rem, 9vw, 2.85rem); line-height: 1; overflow-wrap: break-word; }
  .kwan-order-subcategory { align-items: flex-start; flex-direction: column; gap: 6px; margin: 28px 0 16px; padding-bottom: 12px; }
  .kwan-order-subcategory h3 { font-size: 1.3rem !important; line-height: 1.12; overflow-wrap: break-word; }
  body.kwan-orderable-page .orderable-floating-cart--br,
  body.kwan-orderable-page .orderable-floating-cart--bl { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  body.kwan-orderable-page .orderable-floating-cart--br,
  body.kwan-orderable-page .orderable-floating-cart--tr { right: 14px; }
}

@media (max-width: 360px) {
  .kwan-content--orderable .orderable-products-list__item .orderable-product { grid-template-columns: 74px minmax(0, 1fr); }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__content-wrap { grid-template-columns: minmax(0, 1fr) 72px; }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__content { padding-right: 8px; padding-left: 11px; }
  .kwan-content--orderable .orderable-products-list__item .orderable-product__actions { padding-right: 6px; padding-left: 6px; }
  .kwan-order-nav__toggle { width: 54px; min-width: 54px; grid-template-columns: 20px; }
}

/* Kwan Commerce homepage offer explorer. Business data comes from the plugin;
   this theme layer owns the art direction and responsive composition. */
.explorer--offers { padding-block: clamp(72px, 6vw, 104px); }
.explorer--offers .explorer__heading { margin-bottom: clamp(34px, 3vw, 48px); }
.explorer--offers .explorer__heading h2 { max-width: 1050px; font-size: clamp(4rem, 6.8vw, 8rem); }
.commerce-explorer { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr); align-items: stretch; gap: clamp(36px, 5vw, 76px); }
.commerce-explorer__sticky { display: contents; }
.commerce-swipe-guide { display: none; }
.commerce-stage { position: relative; min-height: 570px; overflow: hidden; background: var(--ink); }
.commerce-stage__item { position: absolute; inset: 0; display: grid; visibility: hidden; grid-template-rows: minmax(0, 1fr) auto; opacity: 0; pointer-events: none; transform: translateY(12px); transition: visibility 0s linear 360ms, opacity 260ms ease, transform 420ms var(--ease); }
.commerce-stage__item.is-active { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
.commerce-stage__item figure { position: relative; min-height: 340px; margin: 0; overflow: hidden; }
.commerce-stage__item figure::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(33,27,22,0.02), rgba(33,27,22,0.46)); }
.commerce-stage__item figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.commerce-stage__item.is-active figure img { transform: scale(1.015); }
.commerce-stage__item figure > span { position: absolute; top: 18px; left: 18px; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; color: var(--white); background: var(--ink); font-family: var(--mono); font-size: 0.62rem; }
.commerce-stage__copy { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 30px; padding: 24px; color: var(--white); background: var(--brand); }
.commerce-stage__copy > p { grid-column: 1 / -1; margin: 0 0 -4px; color: var(--white); font-family: var(--mono); font-size: 0.58rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.commerce-stage__copy h3 { grid-column: 1; margin: 0; font-size: clamp(1.75rem, 3vw, 3.15rem); font-weight: 850; letter-spacing: -0.045em; line-height: 0.98; }
.commerce-stage__copy > div { grid-column: 1; max-width: 580px; font-size: 0.76rem; line-height: 1.6; opacity: 0.8; }
.commerce-stage__cta { grid-column: 2; grid-row: 2 / 4; display: inline-flex; min-width: 154px; min-height: 54px; align-items: center; justify-content: space-between; gap: 26px; padding: 0 16px; color: var(--ink); border: 1px solid var(--brand-light); background: var(--brand-light); font-family: inherit; font-size: 0.62rem; font-weight: 850; line-height: 1.2; text-align: left; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.commerce-stage__cta i { font-style: normal; font-size: 1rem; }
.commerce-stage__cta:hover { color: var(--white); background: transparent; }
.commerce-offer-list { align-self: center; border-top: 1px solid var(--ink); }
.commerce-offer-row { border-bottom: 1px solid var(--ink); transition: color 200ms ease, background 200ms ease; }
.commerce-offer-row.is-active { background: var(--cloud); }
.commerce-offer-row > :is(button, a) { display: grid; width: 100%; min-height: 118px; grid-template-columns: 34px minmax(0, 1fr) auto 24px; align-items: center; gap: 16px; padding: 17px 14px 17px 18px; border: 0; background: transparent; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.commerce-offer-row > :is(button, a) > span { font-family: var(--mono); font-size: 0.56rem; }
.commerce-offer-row b { display: grid; min-width: 0; gap: 5px; }
.commerce-offer-row b small { color: var(--brand); font-family: var(--mono); font-size: 0.54rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.commerce-offer-row b strong { font-size: clamp(1.12rem, 1.6vw, 1.55rem); letter-spacing: -0.03em; line-height: 1.08; }
.commerce-offer-row em { max-width: 130px; color: var(--brand); font-family: var(--mono); font-size: 0.54rem; font-style: normal; font-weight: 750; line-height: 1.35; text-align: right; }
.commerce-offer-row > :is(button, a) > i { font-style: normal; transition: transform 220ms var(--ease); }
.commerce-offer-row.is-active > :is(button, a) > i { transform: translateX(5px); }
.commerce-offer-list__all { display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: 18px; font-size: 0.68rem; font-weight: 850; text-transform: uppercase; }
.commerce-offer-list__all i { font-style: normal; }
.commerce-explorer__empty { grid-column: 1 / -1; padding: 48px 0; border-block: 1px solid var(--ink); }
html[lang="zh-Hant"] .commerce-stage__copy h3,
html[lang="zh-Hant"] .commerce-offer-row b strong { word-break: keep-all; overflow-wrap: normal; text-wrap: balance; }

@media (max-width: 900px) {
  .explorer--offers .explorer__heading h2 { font-size: clamp(3.5rem, 15vw, 6.4rem); }
  html[lang="zh-Hant"] .explorer--offers .explorer__heading h2 { font-size: clamp(3rem, 12.8vw, 5.3rem); }
  .commerce-explorer { display: flex; flex-direction: column; gap: 24px; }
  .commerce-offer-list { order: -1; display: flex; width: calc(100% + 32px); align-self: auto; gap: 10px; margin-inline: -16px; padding: 0 16px 8px; overflow-x: auto; border: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .commerce-offer-list::-webkit-scrollbar { display: none; }
  .commerce-offer-row { flex: 0 0 min(82vw, 360px); border: 1px solid var(--ink); scroll-snap-align: start; }
  .commerce-offer-row > :is(button, a) { min-height: 88px; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 10px; padding: 12px; }
  .commerce-offer-row b strong { font-size: 1rem; }
  .commerce-offer-row em { display: none; }
  .commerce-offer-list__all { flex: 0 0 min(64vw, 270px); min-height: 90px; gap: 18px; padding: 16px; border: 1px solid var(--ink); scroll-snap-align: start; }
  .commerce-stage { min-height: 0; }
  .commerce-stage__item { position: relative; inset: auto; display: none; }
  .commerce-stage__item.is-active { display: grid; }
  .commerce-stage__item figure { min-height: 0; aspect-ratio: 4 / 3; }
  .commerce-stage__copy { grid-template-columns: 1fr; padding: 20px 18px; }
  .commerce-stage__copy h3, .commerce-stage__copy > div, .commerce-stage__cta { grid-column: 1; grid-row: auto; }
  .commerce-stage__copy h3 { font-size: clamp(1.8rem, 8vw, 3rem); }
  .commerce-stage__cta { width: 100%; margin-top: 4px; }
}

@media (max-width: 820px) {
  .commerce-explorer { display: block; }
  .commerce-explorer__sticky { display: block; }
  .commerce-swipe-guide {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding-block: 8px;
    border-block: 1px solid var(--ink);
  }
  .commerce-swipe-guide > p {
    max-width: 15rem;
    margin: 0;
    font-family: var(--mono);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
  }
  .commerce-swipe-guide > div { display: flex; flex: none; align-items: center; }
  .commerce-swipe-guide__count {
    display: inline-flex;
    min-width: 54px;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    font-family: var(--mono);
    font-size: 0.55rem;
  }
  .commerce-swipe-guide__count b { color: var(--brand); font-size: 0.76rem; }
  .commerce-swipe-guide__count i { font-style: normal; opacity: 1; }
  .commerce-swipe-guide button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-left: 0;
    background: transparent;
    font-size: 0.9rem;
    cursor: pointer;
  }
  .commerce-swipe-guide button:first-of-type { border-left: 1px solid var(--ink); }
  .commerce-swipe-guide button:disabled { opacity: 0.28; cursor: default; }
  .commerce-stage {
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 12px;
    margin: 0;
    padding: 0 34px 8px 0;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .commerce-stage::-webkit-scrollbar { display: none; }
  .commerce-stage__item,
  .commerce-stage__item.is-active {
    position: relative;
    inset: auto;
    display: grid;
    box-sizing: border-box;
    visibility: visible;
    flex: 0 0 calc(100% - 34px);
    grid-template-rows: auto minmax(0, 1fr);
    align-self: stretch;
    border: 1px solid var(--ink);
    background: var(--brand);
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .commerce-stage__item figure {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid var(--ink);
  }
  .commerce-stage__copy {
    min-height: 276px;
    grid-template-rows: auto auto minmax(5em, 1fr) auto;
    align-content: stretch;
    gap: 10px;
    padding: 16px;
  }
  .commerce-stage__copy > p { margin: 0; }
  .commerce-stage__copy h3 {
    display: flex;
    min-height: 2.94em;
    align-items: flex-start;
    font-size: clamp(1.8rem, 8vw, 2.85rem);
  }
  .commerce-stage__copy > div { min-height: 6.4em; }
  .commerce-stage__cta { min-height: 48px; align-self: end; margin-top: 0; }
  .commerce-offer-list {
    display: block;
    width: 100%;
    margin: 18px 0 0;
    padding: 0;
    overflow: visible;
    border-top: 1px solid var(--ink);
    scroll-snap-type: none;
  }
  .commerce-offer-row { display: none; }
  .commerce-offer-list__all {
    display: flex;
    width: 100%;
    min-height: 64px;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 380px) {
  .commerce-swipe-guide > p { max-width: 9rem; }
  .commerce-swipe-guide__count { min-width: 48px; }
  .commerce-swipe-guide button { width: 44px; height: 44px; }
}

/* Reusable Site Studio page sections. */
.signup-form__label {
  display: block;
  margin: 0 0 10px;
  padding-inline: 12px;
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.signup-form__account {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 12px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}
.signup-form__account i { flex: 0 0 auto; font-style: normal; font-size: 1rem; }
.signup-form__account:hover,
.signup-form__account:focus-visible { color: var(--cloud); background: var(--ink); }

.managed-editorial { padding: clamp(84px, 10vw, 170px) 0; background: var(--cloud); }
.managed-editorial--steel { background: var(--steel); }
.managed-editorial--ink { color: var(--white); background: var(--ink); }
.managed-editorial__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); align-items: stretch; gap: clamp(40px, 7vw, 120px); }
.managed-editorial--media-right .managed-editorial__media { order: 2; }
.managed-editorial__media { min-height: clamp(440px, 58vw, 760px); margin: 0; overflow: hidden; background: var(--brand); }
.managed-editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.managed-editorial__media > span { display: grid; width: 100%; height: 100%; place-items: center; color: var(--brand-light); font-size: clamp(4rem, 10vw, 10rem); font-weight: 950; letter-spacing: -0.08em; }
.managed-editorial__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.managed-editorial__content h2 { margin: 34px 0 28px; font-size: clamp(3.2rem, 7vw, 8.4rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.88; text-transform: uppercase; }
.managed-editorial__content > p:not(.section-code) { max-width: 36rem; margin: 0 0 38px; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.7; }

.managed-media { position: relative; display: grid; min-height: min(920px, 100svh); align-items: end; overflow: hidden; color: var(--white); background: var(--ink); isolation: isolate; }
.managed-media__asset { position: absolute; inset: 0; z-index: -2; }
.managed-media__asset::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(33,27,22,0.05), rgba(33,27,22,0.72)); }
.managed-media__asset img,
.managed-media__asset video { width: 100%; height: 100%; object-fit: cover; }
.managed-media__asset > span { display: grid; width: 100%; height: 100%; place-items: center; color: var(--brand-light); font-size: clamp(4rem, 13vw, 13rem); font-weight: 950; letter-spacing: -0.08em; }
.managed-media__content { display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(120px, 15vw, 240px); padding-bottom: clamp(74px, 8vw, 130px); }
.managed-media--center .managed-media__content { align-items: center; text-align: center; }
.managed-media--right .managed-media__content { align-items: flex-end; text-align: right; }
.managed-media__content h2 { max-width: 12ch; margin: 28px 0 24px; font-size: clamp(3.6rem, 9vw, 10rem); font-weight: 900; letter-spacing: -0.075em; line-height: 0.84; text-transform: uppercase; }
.managed-media__content > p:not(.section-code) { max-width: 38rem; margin: 0 0 32px; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.65; }

.managed-cta { padding: clamp(72px, 8vw, 132px) 0; color: var(--white); background: var(--brand); }
.managed-cta--ink { background: var(--ink); }
.managed-cta--cloud { color: var(--ink); background: var(--cloud); }
.managed-cta__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); align-items: end; gap: clamp(42px, 8vw, 140px); }
.managed-cta h2 { max-width: 13ch; margin: 28px 0 0; font-size: clamp(3rem, 7vw, 8rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.88; text-transform: uppercase; }
.managed-cta__grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.managed-cta__grid > div:last-child p { max-width: 34rem; margin: 0; font-size: clamp(1rem, 1.3vw, 1.22rem); line-height: 1.65; }
.managed-cta .button { color: currentColor; background: transparent; }
.managed-cta .button:hover { color: var(--ink); background: var(--white); }

@media (max-width: 720px) {
  .managed-editorial { padding: 72px 0; }
  .managed-editorial__grid { grid-template-columns: 1fr; gap: 38px; }
  .managed-editorial--media-right .managed-editorial__media { order: 0; }
  .managed-editorial__media { min-height: 0; aspect-ratio: 4 / 3; }
  .managed-editorial__content h2 { font-size: clamp(2.8rem, 14vw, 5rem); }
  .managed-media { min-height: 88svh; }
  .managed-media__content h2 { font-size: clamp(3rem, 15vw, 5.8rem); }
  .managed-cta__grid { grid-template-columns: 1fr; align-items: start; }
  .managed-cta h2 { font-size: clamp(2.8rem, 14vw, 5.3rem); }
}

/* KWAN Site Studio popup presentation. The companion plugin owns campaign
   data and eligibility; the theme owns this visual layer. */
body.kwan-popup-open { overflow: hidden; }
.kwan-popup { display: grid; place-items: center; padding: clamp(18px, 4vw, 64px); }
.kwan-popup__dialog {
  display: grid;
  width: min(1060px, 100%);
  max-height: min(780px, calc(100svh - 36px));
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: auto;
  border: 1px solid var(--ink);
  background: var(--cloud);
  box-shadow: 0 34px 90px rgba(33, 27, 22, 0.34);
}
.kwan-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--cloud);
  cursor: pointer;
}
.kwan-popup__close span { position: absolute; width: 22px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.kwan-popup__close span:last-child { transform: rotate(-45deg); }
.kwan-popup__media { min-height: 460px; margin: 0; overflow: hidden; background: var(--steel); }
.kwan-popup__media img,
.kwan-popup__media video { width: 100%; height: 100%; object-fit: cover; }
.kwan-popup__content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(54px, 6vw, 96px); }
.kwan-popup__content .section-code { color: var(--brand); }
.kwan-popup__content h2 { margin: 28px 0 20px; font-size: clamp(2.4rem, 5.2vw, 5.6rem); font-weight: 900; letter-spacing: -0.065em; line-height: 0.9; text-transform: uppercase; }
.kwan-popup__body { max-width: 34rem; margin: 0 0 32px; font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.65; }
.kwan-popup--image-led .kwan-popup__dialog { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); }
.kwan-popup--notice .kwan-popup__dialog { width: min(680px, 100%); grid-template-columns: 1fr; }
.kwan-popup--notice .kwan-popup__media { display: none; }

@media (max-width: 720px) {
  .kwan-popup { align-items: end; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .kwan-popup__dialog,
  .kwan-popup--image-led .kwan-popup__dialog { max-height: calc(100svh - 24px - env(safe-area-inset-bottom, 0px)); grid-template-columns: 1fr; }
  .kwan-popup__media { min-height: 0; aspect-ratio: 4 / 3; }
  .kwan-popup__content { padding: 34px 24px 26px; }
  .kwan-popup__content h2 { padding-right: 38px; font-size: clamp(2.25rem, 12vw, 3.9rem); }
  .kwan-popup__close { top: 12px; right: 12px; width: 44px; height: 44px; }
}

/* WordPress and WooCommerce legibility baseline. */
.account-link__copy small,
.mobile-menu__account-status small,
.desktop-mega__categories small,
#customer_login.kwan-account-auth label:not(.woocommerce-form-login__rememberme),
.woocommerce .woocommerce-breadcrumb,
.woocommerce span.onsale,
.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table_responsive td::before,
.woocommerce-cart .wc-block-cart-items thead th,
.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge,
.kwan-delivery-info__intro p,
.kwan-delivery-info__option > small,
.kwan-delivery-info__legend > p,
.kwan-delivery-info__legend > small,
.kwan-delivery-info--inline > span,
.kwan-delivery-info__visit-head small,
.orderable-drawer__cart > h3::before,
.kwan-order-nav__eyebrow,
.kwan-order-nav__current-label,
.kwan-order-nav__current small,
.kwan-order-nav__toggle > b,
.kwan-order-nav__panel-head span,
.kwan-order-nav__group-title small,
.kwan-order-nav__item-copy small,
.kwan-order-nav__link > b,
.kwan-order-category__parent span,
.commerce-stage__item figure > span,
.commerce-stage__copy > p,
.commerce-offer-row > :is(button, a) > span,
.commerce-offer-row b small,
.commerce-offer-row em,
.commerce-swipe-guide > p,
.commerce-swipe-guide__count,
.signup-form__label {
  font-size: 0.75rem;
}

.account-link__copy strong,
.mobile-menu__account-status strong,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.kwan-account-auth__tab,
.woocommerce-account.logged-in .kwan-entry__content .woocommerce-MyAccount-navigation a,
.woocommerce-account.logged-in .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account.logged-in .woocommerce-Address-title .edit,
.woocommerce-account.logged-in .woocommerce-MyAccount-content form label,
.woocommerce-cart .wc-block-components-quantity-selector__input,
.woocommerce-cart .wc-block-components-product-details,
.woocommerce-checkout .wc-block-components-product-details,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details,
.woocommerce-checkout .wc-block-components-order-summary-item__total-price,
.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price,
.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price,
.woocommerce-cart .kwan-entry__content a.kwan-empty-cart__action:not(.button):not(.wp-element-button):not(.wc-block-components-button),
.woocommerce-cart .kwan-entry__content .wc-block-grid__product-add-to-cart .wp-block-button__link,
.kwan-delivery-info__areas li > b,
.kwan-delivery-info__option .kwan-delivery-info__areas li,
.kwan-delivery-info__legend-items b,
.kwan-delivery-info__legend-items b [data-lang],
.kwan-delivery-info--inline > strong,
.kwan-delivery-info--visit .kwan-delivery-info__areas li,
.orderable-drawer__cart .orderable-edit-cart-item__button,
.kwan-order-nav__toggle,
.kwan-order-subcategory p,
.kwan-content--orderable .orderable-product__actions-price .amount,
.kwan-content--orderable .orderable-button--out-of-stock,
.commerce-stage__cta,
.commerce-offer-list__all,
.signup-form__account {
  font-size: 0.8125rem;
}

#customer_login.kwan-account-auth .woocommerce-form-login__rememberme,
#customer_login.kwan-account-auth .lost_password,
#customer_login.kwan-account-auth .woocommerce-privacy-policy-text,
#customer_login.kwan-account-auth .woocommerce-form-register > p:not(.form-row),
.kwan-account-shortcuts > a em,
.kwan-delivery-info__option > p,
.kwan-delivery-info--visit > p,
.kwan-content--orderable .orderable-product__description,
.orderable-drawer__cart .orderable-mini-cart-item > div:not(.orderable-quantity-roller):not(.kwan-product-facts),
.orderable-drawer__cart .orderable-mini-cart__buttons .button.checkout,
.orderable-drawer__cart .orderable-quantity-roller__price,
.kwan-order-nav__item-copy strong,
.kwan-order-category__parent strong,
.commerce-stage__copy > div {
  font-size: 0.875rem;
}

.orderable-drawer__cart .kwan-product-facts--drawer .kwan-product-fact {
  font-size: 0.875rem;
}

/* Compact editorial links stay visually light while retaining a reliable hit
   area on touch screens and for keyboard users. */
.kwan-commerce-card-detail { min-height: 36px; }

@media (hover: none), (pointer: coarse) {
  .kwan-commerce-card-detail { min-height: 44px; }
  .woocommerce .woocommerce-breadcrumb a { min-height: 44px; }
  .woocommerce div.product .product_meta a { min-height: 44px; }
  .woocommerce-cart .wc-block-components-panel__button,
  .woocommerce-checkout .wc-block-components-panel__button,
  .woocommerce-cart .kwan-member-summary__account,
  .woocommerce-checkout .kwan-member-summary__account,
  .woocommerce-checkout .wc-block-components-address-card__edit {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .woocommerce-cart .wc-block-components-panel__button,
  .woocommerce-checkout .wc-block-components-panel__button { width: 100%; justify-content: flex-start; }
}

@media (max-width: 820px) {
  .woocommerce-cart .wc-block-components-panel__button,
  .woocommerce-checkout .wc-block-components-panel__button,
  .woocommerce-cart .kwan-member-summary__account,
  .woocommerce-checkout .kwan-member-summary__account,
  .woocommerce-checkout .wc-block-components-address-card__edit {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .woocommerce-cart .wc-block-components-panel__button,
  .woocommerce-checkout .wc-block-components-panel__button { width: 100%; justify-content: flex-start; }
}

/* Touch menus use a momentary pressed state. Persistent hover/focus classes from
   touch browsers must not make the add control look selected after a tap. */
@media (hover: none), (pointer: coarse) {
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock):hover,
  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock):focus,
  .kwan-content--orderable .orderable-product__add-to-order.orderable-button--hover:not(.orderable-button--out-of-stock),
  .kwan-content--orderable .orderable-product .kwan-commerce-orderable-trigger:hover,
  .kwan-content--orderable .orderable-product .kwan-commerce-orderable-trigger:focus {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
  }

  .kwan-content--orderable .orderable-product__add-to-order:not(.orderable-button--out-of-stock):active,
  .kwan-content--orderable .orderable-product .kwan-commerce-orderable-trigger:active {
    color: var(--white);
    border-color: var(--brand);
    background: var(--brand);
    transition-duration: 0s;
  }
}

/* Orderable can retain its synthetic hover class after a tap even when the
   browser reports a fine pointer. At phone widths the class must never leave
   an add control visually selected after the finger is released. */
@media (max-width: 820px) {
  .kwan-content--orderable .orderable-product__add-to-order.orderable-button--hover:not(.orderable-button--out-of-stock) {
    color: var(--ink) !important;
    border-color: var(--ink) !important;
    background: transparent !important;
  }
}

/* WooCommerce product reviews inherit WordPress's 13px consent checkbox.
   Give the control and its label a dependable touch target without making the
   compact consent copy visually heavy. */
.comment-form-cookies-consent {
  display: flex;
  min-height: 44px;
  margin: 0 0 1rem;
  align-items: center;
  gap: 0.625rem;
}

.comment-form-cookies-consent #wp-comment-cookies-consent {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 20px;
  accent-color: var(--brand);
}

.comment-form-cookies-consent label {
  margin: 0;
  cursor: pointer;
}
