:root,
html[data-aiya-theme="day"] {
  --bg: #eef3f6;
  --bg-elev: #ffffff;
  --bg-soft: #e4eef2;
  --ink: #102632;
  --muted: #5a7380;
  --line: rgba(16, 38, 50, 0.1);
  --teal: #0f9e92;
  --teal-deep: #08968b;
  --sand: #f0a202;
  --card: #fff;
  /* Text on teal / accent fills (CTAs, active pills) */
  --on-accent: #ffffff;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  /* Uniform mid chrome — match landing (lang/auth/theme) */
  --aiya-chrome-h: 1.85rem;
  --aiya-chrome-fs: 0.78rem;
  --aiya-chrome-pad-x: 0.65rem;
}
html[data-aiya-theme="night"] {
  --bg: #07151c;
  --bg-elev: #0c2430;
  --bg-soft: #0a1e28;
  --ink: #eef6f4;
  --muted: #9bb4b0;
  --line: rgba(238, 246, 244, 0.12);
  --teal: #3dfff0;
  --teal-deep: #2ec4b6;
  --sand: #ffd27a;
  /* Opaque panels — translucent cards + light ink = unreadable mush */
  --card: #0e2a34;
  --on-accent: #04221f;
}
body {
  margin: 0 !important;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  transition: background .35s ease, color .35s ease;
}
body.admin-bar {
  /* WP admin bar uses html margin; keep body flush unless core requires otherwise */
  margin-top: 0 !important;
}
.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 5px 1.25rem 0.55rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev, #fff);
}
.site-header__brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  display: inline-flex;
  align-items: flex-start;
}
.site-header__brand img {
  height: 34px;
  width: auto;
  display: block;
}
.site-header__nav {
  display: flex;
  gap: 1rem;
}
.site-header__nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
}
.site-header__nav a:hover { color: var(--ink); }
.site-header__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* Same AIMY-shaped day/night switch as landing (shop/auth without full landing.css). */
.site-header__tools button.aiya-theme-toggle,
.aiya-chrome-controls button.aiya-theme-toggle,
button.aiya-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: auto;
  min-height: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  box-shadow: none;
  background: var(--bg-elev, #fff);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0;
  text-transform: none;
  box-sizing: border-box;
}
.aiya-theme-toggle__day,
.aiya-theme-toggle__night {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.42;
  transition: opacity 0.2s, color 0.2s;
}
.aiya-theme-toggle__icon {
  display: block;
  width: 18px;
  height: 18px;
}
.aiya-theme-toggle__knob {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: var(--teal);
  position: relative;
  box-shadow: none;
}
.aiya-theme-toggle__knob::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--knob, #fff);
  transition: transform 0.2s;
}
html[data-aiya-theme="night"] .aiya-theme-toggle__knob {
  background: var(--sand);
  box-shadow: none;
}
html[data-aiya-theme="night"] .aiya-theme-toggle__knob::after {
  transform: translateX(12px);
}
html[data-aiya-theme="day"] .aiya-theme-toggle__day,
html[data-aiya-theme="night"] .aiya-theme-toggle__night {
  opacity: 1;
  color: var(--ink);
}
@media (max-width: 720px) {
  .site-header__tools button.aiya-theme-toggle,
  .aiya-chrome-controls button.aiya-theme-toggle,
  button.aiya-theme-toggle {
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 6px 8px;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.4rem;
  margin-top: 2rem;
}
.site-footer__nav-row,
.site-footer__legal-row,
.site-footer__copy {
  --aiya-gutter: 1.25rem;
  width: min(calc(1160px + 2 * var(--aiya-gutter)), 100%);
  margin: 0 auto;
  padding-inline: var(--aiya-gutter);
  box-sizing: border-box;
}
.site-footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}
.site-footer__legal-row {
  margin-top: 0.85rem;
}
.site-footer__legal-row .aiya-legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  font-size: 0.82rem;
  opacity: 0.88;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer__copy {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}
@media (max-width: 720px) {
  .site-footer__nav {
    justify-content: flex-start;
    gap: 0.55rem 1rem;
  }
  .site-footer__legal-row .aiya-legal-links {
    justify-content: flex-start;
  }
}

/*
 * Compact shop rail for inner Woo blocks only — NEVER body.
 * Body also gets .woocommerce / .woocommerce-page from Woo; combined with
 * `body { margin: 0 !important }` that left-sticks a 760px cabinet in the viewport.
 */
.site-main,
.woocommerce:not(body),
.woocommerce-page:not(body) {
  width: min(760px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
}

/*
 * Guest auth: body also has .woocommerce-page (760px rail), but body { margin:0 !important }
 * cancels auto-centering. Center a shared .aiya-auth-shell (brand + form) in the viewport.
 */
body.aiya-auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(15, 158, 146, 0.16), transparent 60%),
    var(--bg);
}
body.aiya-auth-screen.woocommerce-page,
body.aiya-auth-screen.woocommerce-account,
body.aiya-auth-screen:not(.aiya-account-screen) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.aiya-auth-shell {
  width: min(440px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  flex: 1 1 auto;
  box-sizing: border-box;
}
.aiya-auth-brand {
  padding: 5px 1rem 0.35rem;
  text-align: center;
}
.aiya-auth-brand--bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 5px 1.25rem 0.75rem;
  text-align: left;
  background: var(--bg-elev, #fff);
  border-bottom: 1px solid var(--line);
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
}
.aiya-auth-brand--guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}
.aiya-auth-brand > a {
  display: inline-flex;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 0;
}
.aiya-auth-brand img {
  height: 42px;
  width: auto;
  display: block;
}
.aiya-auth-brand__nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  line-height: 1.45;
}
.aiya-auth-brand__nav a {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}
.aiya-auth-brand__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-top: 0;
}
/* Compact lang switcher on guest auth (no full landing.css) */
.aiya-auth-brand .aiya-lang {
  display: inline-flex;
  align-items: stretch;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-elev, #fff);
  flex-shrink: 0;
  box-sizing: border-box;
}
.aiya-auth-brand .aiya-lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-width: 2.7rem;
  height: auto;
  /* Half of --aiya-chrome-pad-x on all sides; match landing lang only */
  padding: 0.325rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font: inherit;
  font-size: var(--aiya-chrome-fs, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  box-sizing: border-box;
}
.aiya-auth-brand .aiya-lang__btn.is-active {
  background: rgba(15, 158, 146, 0.12);
  color: var(--ink);
}
.aiya-auth-brand .aiya-lang__flag {
  display: block;
  flex-shrink: 0;
}
.aiya-auth-brand .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.aiya-auth-main {
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}
.aiya-auth-main .woocommerce,
body.aiya-auth-screen .woocommerce,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

/* Login only: hide account nav */
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-MyAccount-navigation {
  display: none !important;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
}

/* === LOCKED: AIYA account shell — do not edit without owner OK ===
 * Frozen layout (owner) — theme 2.3.6+:
 *   [ nav (wider, one-line labels, content-height — no empty white stretch) | Обзор (image; CTAs minus Обзор/Выйти, one line; no "AIYA" under art) ]
 *   [ -------- EVERY non-Overview tab: full shell width below (orders, downloads, constructor, support, profile, …) -------- ]
 * Responsive ≤899px (2.3.8): single column overview→nav→content; CTA wrap; full-width nav links.
 * - Entire cabinet (.aiya-store-shell) centered like landing .aiya-wrap (~1160 + gutters)
 * - Persistent top-right Обзор on every account tab (not dashboard-only)
 * - Overview CTAs = menu minus Обзор/Выйти; one-line nowrap; .is-active for current endpoint
 * - Nav|overview row: align to start (content height); do not stretch nav to force empty bottom
 * - Prefer nav≈overview height (art→greeting gap tunable; not a fixed px)
 * Marker: --aiya-account-nav-col
 * See .cursor/rules/aiya-account-shell-locked.mdc
 *
 * Centering: match frontend `.aiya-wrap` (width:min + margin-inline:auto). Body must stay
 * full-bleed — never the 760px `.woocommerce-page` rail (see :not(body) above).
 */
body.aiya-store-chrome.aiya-account-screen,
body.aiya-store-chrome.woocommerce-account,
body.woocommerce-account.aiya-store-chrome {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body.aiya-store-chrome.aiya-account-screen .aiya-store-main,
body.aiya-store-chrome.aiya-account-screen .aiya-store-section {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
}
body.aiya-store-chrome.aiya-account-screen .aiya-store-shell.aiya-wrap,
body.aiya-store-chrome.aiya-account-screen .aiya-store-shell,
body.woocommerce-account.aiya-store-chrome .aiya-store-shell,
body.aiya-account-screen .aiya-auth-main {
  --aiya-gutter: 1.25rem;
  /* Same formula as landing.css `.aiya-wrap` */
  width: min(calc(1160px + 2 * var(--aiya-gutter)), 100%) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-inline: auto !important;
  margin-block: 1.5rem 3rem;
  padding-inline: var(--aiya-gutter);
  box-sizing: border-box !important;
  float: none !important;
  position: relative;
  left: auto !important;
  right: auto !important;
  inset-inline: auto !important;
}
body.aiya-store-chrome.aiya-account-screen .aiya-store-shell > .woocommerce,
body.aiya-store-chrome.aiya-account-screen .woocommerce,
body.aiya-account-screen .woocommerce,
body.woocommerce-account.aiya-store-chrome .woocommerce {
  /* Wide enough for one-line RU labels (incl. «ИИ-конструктор Яндекс Карт»). */
  --aiya-account-nav-col: 20rem;
  display: grid !important;
  grid-template-columns: var(--aiya-account-nav-col) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 1.25rem !important;
  /* Content-height row: no stretch → no empty white under last nav item (owner 2.3.4). */
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  float: none !important;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce > *:not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content):not(.aiya-account-overview),
body.aiya-account-screen .woocommerce > *:not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content):not(.aiya-account-overview),
body.woocommerce-account.aiya-store-chrome .woocommerce > *:not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content):not(.aiya-account-overview) {
  grid-column: 1 / -1 !important;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation,
body.aiya-account-screen .woocommerce-MyAccount-navigation,
body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-navigation,
body.aiya-store-chrome.aiya-account-screen .aiya-store-shell .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  grid-row: 1 !important;
  order: 0 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
  position: static;
  z-index: 2;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
}
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview,
body.aiya-account-screen .aiya-account-overview,
body.woocommerce-account.aiya-store-chrome .aiya-account-overview {
  /* Persistent top-right Обзор on every account endpoint. */
  display: flex !important;
  flex-direction: column !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  order: 0 !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: var(--card, #fff);
  color: var(--ink, #102632);
  border: 1px solid var(--line, rgba(16, 38, 50, 0.12));
  border-radius: 16px;
  padding: 0.7rem 1rem 0.75rem;
  box-sizing: border-box;
  min-width: 0;
  align-self: start !important;
  height: auto;
  min-height: 0;
  text-align: center;
}
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash,
body.aiya-account-screen .aiya-account-overview .aiya-dash,
body.woocommerce-account.aiya-store-chrome .aiya-account-overview .aiya-dash {
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  justify-content: flex-start;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation ul,
body.aiya-account-screen .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: var(--card, #fff);
  border: 1px solid var(--line, rgba(16, 38, 50, 0.12));
  border-radius: 14px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.18rem;
  align-items: stretch;
  justify-content: flex-start;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation li,
body.aiya-account-screen .woocommerce-MyAccount-navigation li {
  margin: 0;
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation li + li,
body.aiya-account-screen .woocommerce-MyAccount-navigation li + li {
  margin-top: 0;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a:link,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a:visited,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a:hover,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a:focus,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a:active,
body.aiya-account-screen .woocommerce-MyAccount-navigation a,
body.aiya-account-screen .woocommerce-MyAccount-navigation a:link,
body.aiya-account-screen .woocommerce-MyAccount-navigation a:visited,
body.aiya-account-screen .woocommerce-MyAccount-navigation a:hover,
body.aiya-account-screen .woocommerce-MyAccount-navigation a:focus,
body.aiya-account-screen .woocommerce-MyAccount-navigation a:active,
body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.56rem 0.88rem;
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--muted, #5a7380);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation-link--downloads a::before,
body.aiya-account-screen .woocommerce-MyAccount-navigation-link--downloads a::before,
body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-navigation-link--downloads a::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 4v11m0 0l-4-4m4 4l4-4' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 17.5V19a2.5 2.5 0 002.5 2.5h9A2.5 2.5 0 0019 19v-1.5' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 4v11m0 0l-4-4m4 4l4-4' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 17.5V19a2.5 2.5 0 002.5 2.5h9A2.5 2.5 0 0019 19v-1.5' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation-link--support a::before,
body.aiya-account-screen .woocommerce-MyAccount-navigation-link--support a::before,
body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-navigation-link--support a::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4.2 12.2a7.8 7.8 0 0115.6 0' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Crect x='2.6' y='11.2' width='3.9' height='6.4' rx='1.7' stroke='%23000' stroke-width='2.4'/%3E%3Crect x='17.5' y='11.2' width='3.9' height='6.4' rx='1.7' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='M6.5 17.6H7.8M16.2 17.6h1.1v1.5A1.9 1.9 0 0115.4 21h-1.2' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4.2 12.2a7.8 7.8 0 0115.6 0' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3Crect x='2.6' y='11.2' width='3.9' height='6.4' rx='1.7' stroke='%23000' stroke-width='2.4'/%3E%3Crect x='17.5' y='11.2' width='3.9' height='6.4' rx='1.7' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='M6.5 17.6H7.8M16.2 17.6h1.1v1.5A1.9 1.9 0 0115.4 21h-1.2' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation .is-active a,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a:hover,
body.aiya-account-screen .woocommerce-MyAccount-navigation .is-active a,
body.aiya-account-screen .woocommerce-MyAccount-navigation a:hover {
  color: var(--ink, #102632);
  background: color-mix(in srgb, var(--teal, #0f9e92) 14%, transparent);
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content,
body.aiya-account-screen .woocommerce-MyAccount-content,
body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-content,
body.aiya-store-chrome.aiya-account-screen .aiya-store-shell .woocommerce-MyAccount-content {
  /* Full shell width under the nav|overview row. */
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  order: 0 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: var(--card, #fff);
  color: var(--ink, #102632);
  border: 1px solid var(--line, rgba(16, 38, 50, 0.12));
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  box-sizing: border-box;
  min-width: 0;
  overflow: visible;
  align-self: stretch;
}
/* Обзор: empty Woo dashboard panel stays hidden; title lives in .aiya-account-overview. */
body.aiya-account-is-dashboard .woocommerce-MyAccount-content:not(:has(.woocommerce-info)):not(:has(.woocommerce-message)):not(:has(.woocommerce-error)):not(:has(.woocommerce-notices-wrapper:not(:empty))) {
  display: none !important;
}
/* Stack below ~900px. Selectors must match/beat desktop `.aiya-store-shell > .woocommerce`
 * and `.aiya-store-shell .woocommerce-MyAccount-*` (otherwise grid-row:1/2 never yields). */
@media (max-width: 899px) {
  body.aiya-store-chrome.aiya-account-screen .aiya-store-shell > .woocommerce,
  body.aiya-store-chrome.aiya-account-screen .aiya-store-shell .woocommerce,
  body.aiya-store-chrome.aiya-account-screen .woocommerce,
  body.aiya-account-screen .woocommerce,
  body.woocommerce-account.aiya-store-chrome .woocommerce {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 1rem !important;
  }
  /* Overview first, then nav, then endpoint content — readable phone stack. */
  body.aiya-store-chrome.aiya-account-screen .aiya-store-shell .aiya-account-overview,
  body.aiya-store-chrome.aiya-account-screen .aiya-account-overview,
  body.aiya-account-screen .aiya-account-overview,
  body.woocommerce-account.aiya-store-chrome .aiya-account-overview {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 1 !important;
    position: static;
    width: 100% !important;
    min-height: 0;
    height: auto;
  }
  body.aiya-store-chrome.aiya-account-screen .aiya-store-shell .woocommerce-MyAccount-navigation,
  body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation,
  body.aiya-account-screen .woocommerce-MyAccount-navigation,
  body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-navigation {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 2 !important;
    position: static;
    width: 100% !important;
    min-height: 0;
    height: auto;
    z-index: auto;
  }
  body.aiya-store-chrome.aiya-account-screen .aiya-store-shell .woocommerce-MyAccount-content,
  body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content,
  body.aiya-account-screen .woocommerce-MyAccount-content,
  body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-content {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 3 !important;
    position: static;
    width: 100% !important;
    min-height: 0;
    height: auto;
  }
  /* Full-width stacked nav (touch-friendly); avoid uneven chip wrap. */
  body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation ul,
  body.aiya-account-screen .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
    flex-wrap: nowrap;
    height: auto;
  }
  body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation li,
  body.aiya-account-screen .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
  }
  body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a,
  body.aiya-account-screen .woocommerce-MyAccount-navigation a {
    white-space: normal;
    min-height: 2.75rem;
  }
}
/* === END LOCKED: AIYA account shell === */
body.aiya-account-screen .woocommerce-MyAccount-content.is-loading,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
body.aiya-account-screen .woocommerce-MyAccount-content > *:first-child,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content > *:first-child {
  margin-top: 0;
}
body.aiya-account-screen .woocommerce-MyAccount-content h2,
body.aiya-account-screen .woocommerce-MyAccount-content h3,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content h2,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content h3 {
  overflow: visible;
  line-height: 1.3;
  max-width: 100%;
}
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-message,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-error,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-message,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-error {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  line-height: 1.5;
  padding: 0.95rem 1.1rem;
}
/* Empty-state row: message left, CTA flush to the right edge */
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info:has(> .button),
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info:has(> .button) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty__text,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty__text {
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
  margin: 0;
  overflow-wrap: anywhere;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty__cta,
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty > .button,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info:has(> .button) > .button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty__cta,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-empty > .button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info:has(> .button) > .button {
  margin-left: auto;
  margin-right: 0;
  flex: 0 0 auto;
  float: none !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content p,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content p {
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.5;
}
body.aiya-account-screen .aiya-dash__actions,
body.aiya-store-chrome.aiya-account-screen .aiya-dash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
/* LK buttons = landing .aiya-btn look (shimmer + hover lift).
 * Overview CTAs sit outside .woocommerce-MyAccount-content — include them. */
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:not(.button-secondary):not(.disabled):not(.aiya-btn--ghost),
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:not(.button-secondary):not(.aiya-btn--ghost),
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) input.button:not(.button-secondary),
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .woocommerce-Button:not(.aiya-btn--ghost),
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn:not(.aiya-btn--ghost),
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:not(.button-secondary):not(.disabled):not(.aiya-btn--ghost),
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:not(.button-secondary):not(.aiya-btn--ghost),
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) input.button:not(.button-secondary),
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn:not(.aiya-btn--ghost) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  width: auto !important;
  min-height: 2.85rem;
  min-width: 9.25rem;
  margin: 0;
  padding: 0.7rem 1.35rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--teal, #00b4a6), var(--teal-deep, #08968b)) !important;
  /* Always white label — night --on-accent is dark on teal fills */
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: var(--font, Manrope, sans-serif);
  font-weight: 700 !important;
  font-size: 0.95rem;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--teal, #00b4a6) 28%, transparent);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}
/* Shared chrome for ghost/secondary (size/radius) — colors come from ghost overrides below */
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn--ghost,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .button.button-secondary,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn--ghost,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .button.button-secondary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  width: auto !important;
  min-height: 2.85rem;
  min-width: 9.25rem;
  margin: 0;
  padding: 0.7rem 1.35rem !important;
  border-radius: 999px !important;
  font-family: var(--font, Manrope, sans-serif);
  font-weight: 700 !important;
  font-size: 0.95rem;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button::after,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button::after,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .woocommerce-Button::after,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn::after,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button::after,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:not(.button-secondary):not(.disabled):not(.aiya-btn--ghost):hover,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:not(.button-secondary):not(.aiya-btn--ghost):hover,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) input.button:not(.button-secondary):hover,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .woocommerce-Button:not(.aiya-btn--ghost):hover,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn:not(.aiya-btn--ghost):hover,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:not(.button-secondary):not(.disabled):not(.aiya-btn--ghost):hover,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:not(.button-secondary):not(.aiya-btn--ghost):hover,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn:not(.aiya-btn--ghost):hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--teal, #00b4a6) 22%, transparent),
    0 10px 26px color-mix(in srgb, var(--teal, #00b4a6) 32%, transparent);
}
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:hover::after,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:hover::after,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .woocommerce-Button:hover::after,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn:hover::after,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:hover::after,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:hover::after {
  opacity: 1;
  animation: aiya-btn-shimmer 0.75s ease;
}
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:focus-visible,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:focus-visible,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn:focus-visible {
  outline: 2px solid var(--teal, #00b4a6);
  outline-offset: 3px;
}
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .button.button-secondary,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn.aiya-btn--ghost,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn--ghost,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .button.button-secondary,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn.aiya-btn--ghost,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn--ghost,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button.disabled,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) span.button.disabled,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button.disabled,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) span.button.disabled {
  background: color-mix(in srgb, var(--bg-elev, #fff) 82%, transparent) !important;
  color: var(--ink, #102632) !important;
  /* Must reset fill — parent .aiya-btn sets -webkit-text-fill-color:#fff (white-on-white) */
  -webkit-text-fill-color: var(--ink, #102632) !important;
  border-color: color-mix(in srgb, var(--ink, #102632) 22%, var(--line, #d5dee3)) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .button.button-secondary:hover,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn.aiya-btn--ghost:hover,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn--ghost:hover,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .button.button-secondary:hover,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn.aiya-btn--ghost:hover,
body.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn--ghost:hover {
  border-color: var(--teal, #00b4a6) !important;
  color: var(--teal-deep, #08968b) !important;
  -webkit-text-fill-color: var(--teal-deep, #08968b) !important;
  filter: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal, #00b4a6) 18%, transparent);
}
/* Orders / Woo notices: ordinary outline buttons (not teal fill), same as Overview ghosts. */
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table .button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table a.button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info .button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-message .button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-table--order-downloads .button,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .order-actions .button,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table .button,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table a.button,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .button,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info .button,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-message .button,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-table--order-downloads .button,
body.aiya-account-screen .woocommerce-MyAccount-content .order-actions .button {
  background: color-mix(in srgb, var(--bg-elev, #fff) 82%, transparent) !important;
  color: var(--ink, #102632) !important;
  -webkit-text-fill-color: var(--ink, #102632) !important;
  border: 1px solid color-mix(in srgb, var(--ink, #102632) 22%, var(--line, #d5dee3)) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  filter: none !important;
  min-width: 0 !important;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table .button:hover,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table a.button:hover,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .button:hover,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info .button:hover,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-message .button:hover,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-table--order-downloads .button:hover,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .order-actions .button:hover,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table .button:hover,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table a.button:hover,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-MyAccount-orders .button:hover,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info .button:hover,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-message .button:hover,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-table--order-downloads .button:hover,
body.aiya-account-screen .woocommerce-MyAccount-content .order-actions .button:hover {
  border-color: var(--teal, #00b4a6) !important;
  color: var(--teal-deep, #08968b) !important;
  -webkit-text-fill-color: var(--teal-deep, #08968b) !important;
  background: color-mix(in srgb, var(--bg-elev, #fff) 82%, transparent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal, #00b4a6) 18%, transparent) !important;
  transform: none !important;
  filter: none !important;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table .button:hover::after,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info .button:hover::after,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-orders-table .button:hover::after,
body.aiya-account-screen .woocommerce-MyAccount-content .woocommerce-info .button:hover::after {
  opacity: 0 !important;
  animation: none !important;
}
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button.disabled,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) span.button.disabled,
body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn--disabled {
  opacity: 0.55;
  pointer-events: none;
  transform: none !important;
}
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-account-dl__buy a.aiya-btn {
  text-decoration: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) a.button:hover::after,
  body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) button.button:hover::after,
  body.aiya-store-chrome.aiya-account-screen :is(.woocommerce-MyAccount-content, .aiya-account-overview) .aiya-btn:hover::after {
    animation: none;
    opacity: 0;
  }
}
body.aiya-store-chrome.aiya-account-screen .aiya-store-intro--account {
  margin-bottom: 1.25rem;
  text-align: left;
}
body.aiya-store-chrome.aiya-account-screen .aiya-store-intro--account h1 {
  margin: 0;
  font-family: var(--display, Unbounded, sans-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
}

/* LK account chrome uses display:!important — restore [hidden] for constructor buttons. */
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn[hidden],
body.aiya-account-screen .woocommerce-MyAccount-content button.button[hidden],
body.aiya-account-screen .woocommerce-MyAccount-content a.button[hidden],
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn[hidden],
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content button.button[hidden],
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content a.button[hidden] {
  display: none !important;
}

/* Embed constructor in ЛК: don't let account CTA chrome crush compact controls. */
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-btn,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-btn {
  min-width: 0 !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-btn.aiya-btn--sm,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-btn.aiya-btn--sm {
  min-width: 0 !important;
  min-height: 2.25rem !important;
  width: auto !important;
  padding: 0.4rem 0.8rem !important;
  font-size: 0.86rem !important;
}
/* Equal-width toolbars inside constructor action rows. */
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__actions .aiya-btn,
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__snippet-actions .aiya-btn,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__actions .aiya-btn,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__snippet-actions .aiya-btn {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  justify-content: center;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__actions--commit .aiya-btn,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__actions--commit .aiya-btn {
  min-height: 2.85rem !important;
  padding: 0.7rem 1rem !important;
  font-size: 0.95rem !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatch,
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__preset,
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatch,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__preset,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn {
  min-width: 0 !important;
  width: auto !important;
  background-image: none !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatches,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatches {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 0.28rem !important;
  width: 100% !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatch,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatch {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 1.75rem !important;
  aspect-ratio: 1;
  flex: 1 1 0;
  padding: 0 !important;
  border-radius: 999px !important;
  background: var(--swatch, #1e98ff) !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18) !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__preset,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__preset {
  width: 100% !important;
  min-height: 0 !important;
  padding: 0.45rem 0.3rem 0.4rem !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--preset-color, #1e98ff) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
  display: grid !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatch::after,
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__preset::after,
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn::after,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__swatch::after,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-style__preset::after,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn::after {
  content: none !important;
  display: none !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder textarea,
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder select,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder textarea,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder select {
  /* Widths for embed controls live in builder.css by id/class — do not force 100% here. */
  min-width: 0 !important;
  box-sizing: border-box !important;
}
/* Embed palette «Свой» — never force color inputs full-width (builder.css LOCKED). */
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder input#aiya-embed-accent[type="color"],
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder input#aiya-embed-accent[type="color"],
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder input#aiya-pub-accent[type="color"],
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder input#aiya-pub-accent[type="color"],
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder input.aiya-embed-builder__accent-input[type="color"],
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder input.aiya-embed-builder__accent-input[type="color"],
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field > input[type="color"],
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field > input[type="color"] {
  width: 2.35rem !important;
  max-width: 2.35rem !important;
  min-width: 2.35rem !important;
  height: 2.15rem !important;
  flex: 0 0 2.35rem !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: 2.35rem !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field,
body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field {
  width: max-content !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}

/* Overview title hero (paired with LOCKED shell; CTAs intentional duplicates of sidebar). */
.aiya-dash h2,
.aiya-dash__title {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.35rem;
}
.aiya-account-overview .aiya-dash__title {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.2;
}
/* Brand word under Обзор art removed (owner). Keep rule to kill any stale markup. */
.aiya-dash__brand {
  display: none !important;
}
.aiya-dash__lead {
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.aiya-account-overview .aiya-dash__lead {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.45;
}
.aiya-dash--hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.aiya-dash__main {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.aiya-dash__art {
  order: -1; /* картинка сверху */
  margin: 0 auto;
  width: min(100%, 36rem);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, #c9a227 35%, var(--line, rgba(16, 38, 50, 0.12)));
  background: color-mix(in srgb, var(--teal, #0f9e92) 12%, var(--card, #fff));
  box-shadow: 0 12px 28px rgba(16, 38, 50, 0.08);
}
/* Обзор: art→greeting gap tunable; single-row CTAs free vertical space for gap (owner). */
.aiya-account-overview .aiya-dash__art {
  width: min(100%, 17.5rem);
  margin: 0 auto 48px;
}
.aiya-dash__art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}
.aiya-account-overview .aiya-dash__art img {
  max-height: 100px;
}
.aiya-account-overview .aiya-dash__title {
  margin-top: 0;
}
.aiya-dash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}
/* Overview title CTAs: one line on desktop (≥900); Обзор/Выйти omitted in markup. */
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions,
body.aiya-account-screen .aiya-account-overview .aiya-dash__actions {
  flex-wrap: nowrap !important;
  width: 100%;
  max-width: 100%;
  gap: 0.45rem;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn,
body.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn {
  min-width: 0 !important;
  /* Do not shrink labels — scroll the row instead of clipping «ИИ-конструктор…». */
  flex: 0 0 auto;
  gap: 0.3rem;
  white-space: nowrap;
  padding: 0.55rem 0.85rem !important;
  min-height: 2.45rem;
  font-size: 0.88rem;
}
@media (max-width: 899px) {
  body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions,
  body.aiya-account-screen .aiya-account-overview .aiya-dash__actions {
    flex-wrap: wrap !important;
    overflow-x: visible;
    row-gap: 0.55rem;
    column-gap: 0.45rem;
  }
  body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn,
  body.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn {
    flex: 1 1 calc(50% - 0.35rem);
    max-width: 100%;
    min-height: 2.75rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    height: auto;
  }
  .aiya-account-overview .aiya-dash__art {
    width: min(100%, 13.5rem);
    margin-bottom: 1.25rem;
  }
  .aiya-account-overview .aiya-dash__art img {
    max-height: 84px;
  }
}
/* Must beat ghost .aiya-btn !important fills so current endpoint reads like left nav. */
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-dash__menu-link.is-active,
body.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-dash__menu-link.is-active {
  color: var(--ink, #102632) !important;
  -webkit-text-fill-color: var(--ink, #102632) !important;
  background: color-mix(in srgb, var(--teal, #0f9e92) 14%, transparent) !important;
  border-color: color-mix(in srgb, var(--teal, #0f9e92) 35%, var(--line, rgba(16, 38, 50, 0.12))) !important;
  box-shadow: none !important;
}
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-dash__menu-link.is-active:hover,
body.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-dash__menu-link.is-active:hover {
  color: var(--ink, #102632) !important;
  -webkit-text-fill-color: var(--ink, #102632) !important;
  background: color-mix(in srgb, var(--teal, #0f9e92) 20%, transparent) !important;
  border-color: color-mix(in srgb, var(--teal, #0f9e92) 42%, var(--line, rgba(16, 38, 50, 0.12))) !important;
  filter: none;
  box-shadow: none !important;
}
/* Landing .aiya-btn:hover lifts with translateY — overflow on the actions row clips the top border. */
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn:hover,
body.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn:hover,
body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn:focus-visible,
body.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-btn:focus-visible {
  transform: none !important;
}
@media (max-width: 860px) {
  .aiya-dash__art {
    width: min(100%, 26rem);
  }
  .aiya-dash__art img {
    max-height: 200px;
  }
  .aiya-account-overview .aiya-dash__art {
    width: min(100%, 15rem);
    margin-bottom: 36px;
  }
  .aiya-account-overview .aiya-dash__art img {
    max-height: 92px;
  }
}
.aiya-license-keys {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.aiya-license-keys code {
  font-size: 1.05em;
  background: color-mix(in srgb, var(--teal, #0f9e92) 10%, var(--card, #fff));
  color: var(--ink);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.aiya-muted { color: var(--muted); font-size: 0.92rem; }

.aiya-table-wrap { overflow-x: auto; margin: 0.75rem 0 1rem; }
.aiya-keys-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.aiya-keys-table th,
.aiya-keys-table td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.aiya-keys-table th { color: var(--muted); font-weight: 600; }

.aiya-account-dl__lead { color: var(--muted); max-width: 52rem; }
.aiya-account-dl__section { margin-top: 1.5rem; }
.aiya-account-dl__how ol { margin: 0.5rem 0 1rem 1.1rem; color: var(--muted); }
.aiya-account-dl__note { color: var(--muted); margin-top: 1.25rem; }
.aiya-account-dl__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line, rgba(16, 38, 50, 0.12));
  border-radius: 14px;
  background: color-mix(in srgb, var(--teal, #0f9e92) 6%, var(--bg-soft, #e4eef2));
  color: var(--ink);
}
.aiya-account-dl__buy a.button,
.aiya-account-dl__buy a.aiya-btn {
  flex: 0 0 auto;
}
.aiya-account-dl__buy .aiya-muted {
  flex: 1 1 12rem;
}

.aiya-dl-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.aiya-dl-tabs__btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elev, #fff);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink, #102632);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.aiya-dl-tabs__btn:hover {
  border-color: color-mix(in srgb, var(--teal, #0f9e92) 55%, var(--line));
  background: color-mix(in srgb, var(--teal, #0f9e92) 8%, var(--card, #fff));
  color: var(--ink, #102632);
  transform: translateY(-1px);
}
.aiya-dl-tabs__btn:focus-visible {
  outline: 2px solid var(--teal, #0f9e92);
  outline-offset: 2px;
}
.aiya-dl-tabs__btn.is-active {
  border-color: var(--teal, #0f9e92);
  background: color-mix(in srgb, var(--teal, #0f9e92) 12%, var(--card, #fff));
  color: var(--ink, #102632);
  font-weight: 600;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal, #0f9e92) 18%, transparent);
}
.aiya-dl-tabs__btn.is-active:hover {
  background: color-mix(in srgb, var(--teal, #0f9e92) 16%, var(--card, #fff));
  color: var(--ink, #102632);
  transform: none;
}
.aiya-dl-packs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.aiya-dl-pack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-elev, #fff);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.aiya-dl-pack:hover {
  border-color: color-mix(in srgb, var(--teal, #0f9e92) 35%, var(--line));
  box-shadow: 0 6px 18px rgba(16, 38, 50, 0.06);
}
.aiya-dl-pack .button.disabled {
  opacity: 0.55;
  pointer-events: none;
}
.aiya-account-dl__note a,
.aiya-account-dl a:not(.button):not(.aiya-btn) {
  color: var(--teal, #0f9e92);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.aiya-account-dl__note a:hover,
.aiya-account-dl a:not(.button):not(.aiya-btn):hover {
  color: var(--teal-deep, #08968b);
  text-decoration: underline;
}
/* Safety net: hide leftover Woo empty-downloads notice if template still prints */
body.woocommerce-downloads .woocommerce-MyAccount-content > .woocommerce-info:first-child,
body.woocommerce-downloads .woocommerce-MyAccount-content > .woocommerce-Message--info:first-child {
  display: none !important;
}

/* Single auth card + segmented tabs (sliding pill + panel fade/slide) */
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-card {
  background: var(--bg-elev, #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  display: block;
  padding: 28px 24px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-title {
  margin: 0 0 8px;
  padding: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  min-height: 1.4em;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 20px;
  padding: 5px;
  background: var(--bg-soft, #f1f5f7);
  border: 0;
  border-radius: 14px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__pill {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal, #0f9e92) 0%, var(--teal-deep, #08968b) 100%);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--teal, #0f9e92) 32%, transparent);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs.is-register .aiya-auth-tabs__pill {
  transform: translateX(100%);
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-height: 42px;
  height: 42px;
  max-height: 42px;
  padding: 0 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
  box-shadow: none;
  transition: color 0.25s ease;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn:hover {
  color: var(--ink);
  background: transparent;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn.is-active,
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn.is-active:hover {
  color: var(--on-accent, #fff);
  background: transparent;
  box-shadow: none;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn.is-active::after {
  content: none;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn:focus-visible {
  outline: 2px solid rgba(15, 158, 146, 0.55);
  outline-offset: 2px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-panel {
  display: block;
  padding: 0;
  box-sizing: border-box;
  min-height: 0;
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-panel[hidden] {
  display: none !important;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-panel.is-leaving,
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-panel.is-entering {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__pill,
  body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-panel {
    transition: none;
  }
}
@media (max-width: 480px) {
  body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-card {
    padding: 22px 16px;
  }
  body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn {
    font-size: 0.88rem;
    min-height: 40px;
    height: 40px;
    max-height: 40px;
  }
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-card--login-only,
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-card--lost {
  display: block;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce form.login,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce form.register,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce form.lost_reset_password {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce form.lost_reset_password {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Guest auth night: keep card/tabs readable without pulling full landing.css. */
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-card,
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce form.lost_reset_password {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
html[data-aiya-theme="night"] body.aiya-auth-screen .woocommerce input.input-text,
html[data-aiya-theme="night"] body.aiya-auth-screen .woocommerce input[type="text"],
html[data-aiya-theme="night"] body.aiya-auth-screen .woocommerce input[type="email"],
html[data-aiya-theme="night"] body.aiya-auth-screen .woocommerce input[type="password"],
html[data-aiya-theme="night"] body.aiya-auth-screen .woocommerce textarea {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--line);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--teal) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  border: 0 !important;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-radius: 12px;
}

.aiya-support {
  margin-bottom: 1.75rem;
}
.aiya-support-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0.85rem 0 0.35rem;
}
.aiya-support-perpage {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.aiya-support-perpage__label {
  white-space: nowrap;
}
.aiya-support-perpage__select {
  min-width: 4.5rem;
  width: auto !important;
}
.aiya-support-table {
  margin-top: 0.65rem;
}
.aiya-support-pagination {
  margin: 1.15rem 0 0;
  text-align: center;
}
.aiya-support-pagination ul.page-numbers,
.aiya-support-pagination .page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.aiya-support-pagination li {
  margin: 0;
  padding: 0;
}
.aiya-support-pagination a.page-numbers,
.aiya-support-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.aiya-support-pagination a.page-numbers:hover {
  border-color: color-mix(in srgb, #00b4a6 55%, var(--line));
  color: #08968b;
}
.aiya-support-pagination span.page-numbers.current {
  border-color: #00b4a6;
  background: color-mix(in srgb, #00b4a6 12%, var(--card, #fff));
  color: #08968b;
  box-shadow: 0 0 0 2px rgba(0, 180, 166, 0.18);
}
.aiya-support-pagination span.page-numbers.dots {
  border: 0;
  background: transparent;
  min-width: 1.5rem;
  color: var(--muted);
  box-shadow: none;
}
.aiya-support-new {
  margin-top: 1.75rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}
.aiya-support-files {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
}
.aiya-support-files a {
  color: #08968b;
}
/* Reuse public /feedback/ form look (.aiya-support-form*) when landing.css is loaded. */
.aiya-support-new .aiya-support-form,
.aiya-support-reply.aiya-support-form {
  margin-top: 0.75rem;
}
.aiya-support-new .aiya-support-form__field input,
.aiya-support-new .aiya-support-form__field select,
.aiya-support-new .aiya-support-form__field textarea,
.aiya-support-reply .aiya-support-form__field textarea {
  width: 100%;
  box-sizing: border-box;
}
/*
 * Teal native <select> everywhere on shop chrome —
 * auth / account / checkout / cart / support (kill OS/WP blue).
 */
html body.aiya-store-chrome select,
html body.aiya-auth-screen select,
html body.aiya-account-screen select,
html body.woocommerce-checkout select,
html body.woocommerce-cart select,
html body.woocommerce-account select,
html body.woocommerce-account .aiya-support-form select,
html body.woocommerce-account .aiya-support-form__field select,
html body .aiya-support-form select,
html body .aiya-support-form__field select,
html body form.aiya-support-form select,
html body .aiya-support-perpage__select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer;
  box-sizing: border-box;
  font: inherit;
  font-weight: 500;
  padding: 0.7rem 2.55rem 0.7rem 0.85rem;
  border-radius: 12px !important;
  border: 1px solid var(--line, rgba(16, 38, 50, 0.1)) !important;
  color: var(--ink, #102632) !important;
  background-color: var(--card, #fff) !important;
  /* Teal chevron #00b4a6 — not system blue arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2300b4a6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  background-size: 0.95rem !important;
  accent-color: #00b4a6 !important;
  caret-color: #00b4a6 !important;
  color-scheme: light only;
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
  outline-color: transparent !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-focus-ring-color: transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
html body.aiya-store-chrome select::-ms-expand,
html body.aiya-auth-screen select::-ms-expand,
html body.aiya-account-screen select::-ms-expand,
html body.woocommerce-account select::-ms-expand,
html body .aiya-support-form select::-ms-expand,
html body .aiya-support-form__field select::-ms-expand,
html body form.aiya-support-form select::-ms-expand,
html body .aiya-support-perpage__select::-ms-expand {
  display: none !important;
}
html body.aiya-store-chrome select::-ms-value,
html body.aiya-account-screen select::-ms-value,
html body.woocommerce-account select::-ms-value,
html body .aiya-support-form select::-ms-value,
html body .aiya-support-form__field select::-ms-value {
  background: transparent !important;
  color: var(--ink, #102632) !important;
}
html body.aiya-store-chrome .aiya-support-form select,
html body.aiya-account-screen .aiya-support-form select,
html body.aiya-auth-screen .aiya-support-form select,
html body.woocommerce-account .aiya-support-form select,
html body .aiya-support-form__field select,
html body form.aiya-support-form select {
  width: 100%;
}
html body.aiya-store-chrome select:hover,
html body.aiya-auth-screen select:hover,
html body.aiya-account-screen select:hover,
html body.woocommerce-checkout select:hover,
html body.woocommerce-cart select:hover,
html body.woocommerce-account select:hover,
html body .aiya-support-form select:hover,
html body .aiya-support-form__field select:hover,
html body form.aiya-support-form select:hover,
html body .aiya-support-perpage__select:hover {
  border-color: color-mix(in srgb, #00b4a6 55%, var(--line, rgba(16, 38, 50, 0.1))) !important;
}
html body.aiya-store-chrome select:focus,
html body.aiya-store-chrome select:focus-visible,
html body.aiya-store-chrome select:active,
html body.aiya-auth-screen select:focus,
html body.aiya-auth-screen select:focus-visible,
html body.aiya-auth-screen select:active,
html body.aiya-account-screen select:focus,
html body.aiya-account-screen select:focus-visible,
html body.aiya-account-screen select:active,
html body.woocommerce-checkout select:focus,
html body.woocommerce-checkout select:focus-visible,
html body.woocommerce-checkout select:active,
html body.woocommerce-cart select:focus,
html body.woocommerce-cart select:focus-visible,
html body.woocommerce-cart select:active,
html body.woocommerce-account select:focus,
html body.woocommerce-account select:focus-visible,
html body.woocommerce-account select:active,
html body .aiya-support-form select:focus,
html body .aiya-support-form select:focus-visible,
html body .aiya-support-form select:active,
html body .aiya-support-form__field select:focus,
html body .aiya-support-form__field select:focus-visible,
html body .aiya-support-form__field select:active,
html body form.aiya-support-form select:focus,
html body form.aiya-support-form select:focus-visible,
html body form.aiya-support-form select:active,
html body .aiya-support-perpage__select:focus,
html body .aiya-support-perpage__select:focus-visible,
html body .aiya-support-perpage__select:active {
  outline: none !important;
  outline-color: transparent !important;
  outline-offset: 0 !important;
  border-color: #08968b !important;
  box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.28) !important;
  accent-color: #00b4a6 !important;
}
html body.aiya-store-chrome select option,
html body.aiya-auth-screen select option,
html body.aiya-account-screen select option,
html body.woocommerce-account select option,
html body .aiya-support-form select option,
html body .aiya-support-form__field select option,
html body form.aiya-support-form select option {
  color: var(--ink, #102632) !important;
  background-color: var(--card, #fff) !important;
  accent-color: #00b4a6 !important;
}
html body.aiya-store-chrome select option:checked,
html body.aiya-store-chrome select option:hover,
html body.aiya-auth-screen select option:checked,
html body.aiya-auth-screen select option:hover,
html body.aiya-account-screen select option:checked,
html body.aiya-account-screen select option:hover,
html body.woocommerce-account select option:checked,
html body.woocommerce-account select option:hover,
html body .aiya-support-form select option:checked,
html body .aiya-support-form select option:hover,
html body .aiya-support-form__field select option:checked,
html body .aiya-support-form__field select option:hover,
html body form.aiya-support-form select option:checked,
html body form.aiya-support-form select option:hover {
  background-color: #00b4a6 !important;
  background-image: linear-gradient(#00b4a6, #00b4a6) !important;
  color: #fff !important;
  accent-color: #00b4a6 !important;
}
html[data-aiya-theme="night"] body.aiya-store-chrome select,
html[data-aiya-theme="night"] body.aiya-auth-screen select,
html[data-aiya-theme="night"] body.aiya-account-screen select,
html[data-aiya-theme="night"] body.woocommerce-checkout select,
html[data-aiya-theme="night"] body.woocommerce-cart select,
html[data-aiya-theme="night"] body.woocommerce-account select,
html[data-aiya-theme="night"] body .aiya-support-form select,
html[data-aiya-theme="night"] body .aiya-support-form__field select,
html[data-aiya-theme="night"] body form.aiya-support-form select,
html[data-aiya-theme="night"] body .aiya-support-perpage__select {
  color-scheme: dark only;
  accent-color: #3dfff0 !important;
  caret-color: #3dfff0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%233dfff0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
html[data-aiya-theme="night"] body.aiya-store-chrome select option,
html[data-aiya-theme="night"] body.aiya-account-screen select option,
html[data-aiya-theme="night"] body.woocommerce-account select option,
html[data-aiya-theme="night"] body .aiya-support-form select option,
html[data-aiya-theme="night"] body .aiya-support-form__field select option {
  color: var(--ink, #e8f4f2) !important;
  background-color: var(--bg-elev, #0c2430) !important;
  accent-color: #3dfff0 !important;
}
html[data-aiya-theme="night"] body.aiya-store-chrome select option:checked,
html[data-aiya-theme="night"] body.aiya-store-chrome select option:hover,
html[data-aiya-theme="night"] body.aiya-account-screen select option:checked,
html[data-aiya-theme="night"] body.aiya-account-screen select option:hover,
html[data-aiya-theme="night"] body.woocommerce-account select option:checked,
html[data-aiya-theme="night"] body.woocommerce-account select option:hover,
html[data-aiya-theme="night"] body .aiya-support-form select option:checked,
html[data-aiya-theme="night"] body .aiya-support-form select option:hover,
html[data-aiya-theme="night"] body .aiya-support-form__field select option:checked,
html[data-aiya-theme="night"] body .aiya-support-form__field select option:hover {
  background-color: #3dfff0 !important;
  background-image: linear-gradient(#3dfff0, #3dfff0) !important;
  color: #04221f !important;
  accent-color: #3dfff0 !important;
}
/* Select2 (Woo country/state) — teal chrome, no default blue highlight */
html body.aiya-store-chrome .select2-container--default .select2-selection--single,
html body.woocommerce-checkout .select2-container--default .select2-selection--single,
html body.woocommerce-account .select2-container--default .select2-selection--single,
html body.aiya-account-screen .select2-container--default .select2-selection--single {
  border: 1px solid var(--line, rgba(16, 38, 50, 0.1)) !important;
  border-radius: 12px !important;
  min-height: 46px;
  background-color: var(--card, #fff) !important;
  outline: none !important;
}
html body.aiya-store-chrome .select2-container--default .select2-selection--single .select2-selection__rendered,
html body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
html body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px !important;
  padding-left: 0.85rem !important;
  color: var(--ink, #102632) !important;
}
html body.aiya-store-chrome .select2-container--default .select2-selection--single .select2-selection__arrow,
html body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
html body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
  width: 2.2rem !important;
  right: 0.15rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2300b4a6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 0.95rem !important;
}
html body.aiya-store-chrome .select2-container--default .select2-selection--single .select2-selection__arrow b,
html body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b,
html body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none !important;
}
html body.aiya-store-chrome .select2-container--default.select2-container--focus .select2-selection--single,
html body.aiya-store-chrome .select2-container--default.select2-container--open .select2-selection--single,
html body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
html body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
html body.woocommerce-account .select2-container--default.select2-container--focus .select2-selection--single,
html body.woocommerce-account .select2-container--default.select2-container--open .select2-selection--single,
html body.aiya-account-screen .select2-container--default.select2-container--focus .select2-selection--single,
html body.aiya-account-screen .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #08968b !important;
  box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.28) !important;
}
html body .select2-container--default .select2-results__option--highlighted[aria-selected],
html body .select2-container--default .select2-results__option--highlighted[data-selected],
html body .select2-dropdown .select2-results__option--highlighted {
  background-color: var(--teal, #00b4a6) !important;
  color: var(--on-accent, #fff) !important;
}
html body .select2-container--default .select2-results__option[aria-selected="true"],
html body .select2-container--default .select2-results__option[data-selected="true"] {
  background-color: color-mix(in srgb, var(--teal, #00b4a6) 16%, var(--card, #fff)) !important;
  color: var(--ink, #102632) !important;
}
.aiya-support-thread {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.aiya-support-msg {
  background: var(--bg-elev, #fff);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.aiya-support-msg header {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.aiya-support-msg--staff {
  border-color: color-mix(in srgb, var(--teal, #0f9e92) 35%, var(--line));
  background: color-mix(in srgb, var(--teal, #0f9e92) 10%, var(--card, #fff));
}
.aiya-support-reply {
  margin-top: 1rem;
  max-width: 40rem;
}

/* OAuth buttons on login / register — PAWA-care layout, AIYA teal chrome */
.aiya-oauth {
  margin-top: 0.35rem;
  padding-top: 0;
  text-align: center;
}
.aiya-oauth__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.15rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}
.aiya-oauth__divider::before,
.aiya-oauth__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.aiya-oauth__btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.aiya-oauth[data-count="1"] .aiya-oauth__btns {
  grid-template-columns: 1fr;
}
.aiya-oauth[data-count="3"] .aiya-oauth__btns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}
.aiya-oauth[data-count="3"] .aiya-oauth__btn {
  padding: 0.5rem 0.35rem;
  font-size: 0.8125rem;
  gap: 0.35rem;
}
.aiya-oauth__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  border: 1px solid var(--line);
  background: var(--bg-elev, #fff);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 38, 50, 0.04);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.aiya-oauth__btn:link,
.aiya-oauth__btn:visited {
  color: var(--ink);
  text-decoration: none;
}
.aiya-oauth__btn--yandex {
  --aiya-oauth: #fc3f1d;
}
.aiya-oauth__btn--vk {
  --aiya-oauth: #0077ff;
}
.aiya-oauth__btn--google {
  --aiya-oauth: #4285f4;
}
.aiya-oauth__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
}
.aiya-oauth__logo-img,
.aiya-oauth__icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
}
.aiya-oauth__text {
  min-width: 0;
}
.aiya-oauth__btn:hover,
.aiya-oauth__btn:focus-visible {
  border-color: var(--teal, #0f9e92);
  background: var(--bg-elev, #fff);
  color: var(--ink);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal, #0f9e92) 18%, transparent);
  outline: none;
  text-decoration: none;
}
@media (max-width: 420px) {
  .aiya-oauth__btns {
    grid-template-columns: 1fr;
  }
  .aiya-oauth[data-count="2"] .aiya-oauth__btns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aiya-oauth[data-count="3"] .aiya-oauth__btns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Login card polish */
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-form-login__rememberme,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-LostPassword,
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-forgot {
  color: var(--muted);
  font-size: 14px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-remember {
  margin: 0 0 15px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-remember label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.2;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-forgot {
  margin: 12px 0 4px;
  text-align: center;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-forgot a {
  color: #3182ce;
  text-decoration: none;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-forgot a:hover {
  text-decoration: underline;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-form-msg {
  margin: 0 0 12px;
  color: #c0392b;
  font-size: 13.5px;
  text-align: center;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-smartcaptcha-wrap {
  margin: 0 0 15px;
  min-height: 100px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-smartcaptcha-wrap .smart-captcha,
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-smartcaptcha-wrap iframe {
  max-width: 100%;
  margin: 0;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 0.35rem;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-field-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-pass-gen {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--teal, #0f9e92);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-pass-gen:hover {
  text-decoration: underline;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-form__row-actions {
  margin-top: 0;
  padding-top: 0;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce form.register .woocommerce-form-register__submit,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce form.register button[name="register"] {
  margin-top: 0;
}
body.aiya-auth-screen:not(.aiya-account-screen) h2:not(.aiya-auth-title) {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
body.aiya-auth-screen:not(.aiya-account-screen) #customer_login h2[hidden] {
  display: none !important;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-privacy-policy-text,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-privacy-policy-text p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
body.aiya-store-chrome .woocommerce-privacy-policy-text .woocommerce-privacy-policy-link,
body.aiya-auth-screen .woocommerce-privacy-policy-text .woocommerce-privacy-policy-link {
  display: inline-block;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-form-row,
body.aiya-auth-screen:not(.aiya-account-screen) .form-row {
  margin: 0 0 15px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-field--pass {
  margin-bottom: 6px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-form-row label,
body.aiya-auth-screen:not(.aiya-account-screen) .form-row label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-form-row label .required,
body.aiya-auth-screen:not(.aiya-account-screen) .form-row label .required,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-form-row label abbr.required,
body.aiya-auth-screen:not(.aiya-account-screen) .form-row label abbr.required {
  color: #c0392b;
  font-weight: 700;
  border: 0 !important;
  text-decoration: none !important;
}
/* Avoid a second star from theme/plugin label::after markers */
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-form-row label::after,
body.aiya-auth-screen:not(.aiya-account-screen) .form-row label::after {
  content: none !important;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Input,
body.aiya-auth-screen:not(.aiya-account-screen) input.input-text {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: var(--bg-elev, #fff);
  color: var(--ink);
  font-size: 16px;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button,
body.aiya-auth-screen:not(.aiya-account-screen) button.button,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce button.button,
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce input.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.35rem;
  padding: 0.7rem 1.2rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--teal, #0f9e92), var(--teal-deep, #08968b)) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: var(--font, Manrope, sans-serif);
  font-weight: 700 !important;
  font-size: 0.95rem;
  line-height: 1.2 !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--teal, #0f9e92) 28%, transparent);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.15s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button::after,
body.aiya-auth-screen:not(.aiya-account-screen) button.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button:hover,
body.aiya-auth-screen:not(.aiya-account-screen) button.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--teal, #0f9e92) 22%, transparent),
    0 10px 26px color-mix(in srgb, var(--teal, #0f9e92) 32%, transparent);
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button:hover::after,
body.aiya-auth-screen:not(.aiya-account-screen) button.button:hover::after {
  opacity: 1;
  animation: aiya-btn-shimmer 0.75s ease;
}
body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button:focus-visible,
body.aiya-auth-screen:not(.aiya-account-screen) button.button:focus-visible {
  outline: 2px solid var(--teal, #0f9e92);
  outline-offset: 3px;
}
@keyframes aiya-btn-shimmer {
  0% { left: -120%; opacity: 0.2; }
  20% { opacity: 1; }
  100% { left: 140%; opacity: 0.15; }
}
@media (prefers-reduced-motion: reduce) {
  body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button:hover,
  body.aiya-auth-screen:not(.aiya-account-screen) button.button:hover {
    transform: none;
  }
  body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button:hover::after,
  body.aiya-auth-screen:not(.aiya-account-screen) button.button:hover::after {
    animation: none;
    opacity: 0;
  }
}

/* Legacy Woo two-column wrappers (lost-password / plugins) */
body.aiya-auth-screen:not(.aiya-account-screen) .u-columns,
body.aiya-auth-screen:not(.aiya-account-screen) .col2-set {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}
body.aiya-auth-screen:not(.aiya-account-screen) .u-column1,
body.aiya-auth-screen:not(.aiya-account-screen) .u-column2,
body.aiya-auth-screen:not(.aiya-account-screen) .col-1,
body.aiya-auth-screen:not(.aiya-account-screen) .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 560px) {
  .aiya-auth-shell {
    width: min(440px, calc(100% - 1.5rem));
    padding-top: 0.85rem;
  }
  .aiya-auth-brand--guest {
    margin-bottom: 0.7rem;
  }
  .aiya-auth-brand img {
    height: 36px;
  }
}

/* —— Storefront chrome (cart / checkout): landing width + polish —— */
body.aiya-store-chrome .aiya-store-main {
  width: 100%;
}
body.aiya-store-chrome .aiya-store-section {
  padding-block: 1.75rem 3.25rem;
}
body.aiya-store-chrome .aiya-store-shell.aiya-wrap,
body.aiya-store-chrome .aiya-store-shell {
  /* Match .aiya-wrap gutters (padding-inline); do not re-shrink via calc width */
  width: min(calc(1160px + 2 * var(--aiya-gutter, 1.25rem)), 100%);
  margin-inline: auto;
  padding-inline: var(--aiya-gutter, 1.25rem);
  box-sizing: border-box;
}
/* Kill the compact 760px shop rail on body inside landing chrome */
body.aiya-store-chrome.woocommerce,
body.aiya-store-chrome.woocommerce-page,
body.aiya-store-chrome.woocommerce-account,
body.aiya-store-chrome.woocommerce-cart,
body.aiya-store-chrome.woocommerce-checkout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
body.aiya-store-chrome .aiya-store-intro {
  text-align: left;
  margin: 0 0 1.35rem;
  max-width: none;
}
body.aiya-store-chrome .aiya-store-shell > .woocommerce,
body.aiya-store-chrome .woocommerce,
body.aiya-store-chrome .woocommerce-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}
body.aiya-store-chrome .woocommerce-checkout {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: min(820px, 100%);
  margin-inline: auto;
  align-items: stretch;
}
body.aiya-store-chrome #customer_details,
body.aiya-store-chrome .woocommerce-checkout #customer_details {
  width: 100%;
  float: none;
  margin: 0;
}
body.aiya-store-chrome #order_review_heading {
  width: 100%;
  float: none;
  margin: 0;
  text-align: left;
}
body.aiya-store-chrome .woocommerce-checkout-review-order,
body.aiya-store-chrome #order_review {
  width: 100%;
  float: none;
  margin: 0;
}
body.aiya-store-chrome .col2-set {
  width: 100%;
  float: none;
}
body.aiya-store-chrome .col2-set .col-1,
body.aiya-store-chrome .col2-set .col-2 {
  float: none;
  width: 100%;
  max-width: none;
  padding: 0;
}
body.aiya-store-chrome .woocommerce-billing-fields,
body.aiya-store-chrome .woocommerce-checkout-review-order,
body.aiya-store-chrome .woocommerce-form-login,
body.aiya-store-chrome .woocommerce-form-coupon {
  background: var(--card, #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 1px 0 rgba(16, 38, 50, 0.04);
}
/* Empty WC shell (whitespace only) — no notes on digital checkout */
body.aiya-store-chrome .woocommerce-additional-fields,
body.aiya-store-chrome .woocommerce-shipping-fields {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.aiya-store-chrome #billing_country_field {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
body.aiya-store-chrome .woocommerce-checkout-review-order {
  position: static;
}
body.aiya-store-chrome h3,
body.aiya-store-chrome .woocommerce-billing-fields h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.95rem;
  letter-spacing: -0.01em;
}
body.aiya-store-chrome #order_review_heading {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
body.aiya-store-chrome .form-row {
  margin: 0 0 0.85rem;
  padding: 0;
}
body.aiya-store-chrome .form-row label {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
body.aiya-store-chrome .woocommerce form .form-row input.input-text,
body.aiya-store-chrome .woocommerce form .form-row textarea,
body.aiya-store-chrome .select2-container .select2-selection--single {
  border: 1.5px solid rgba(16, 38, 50, 0.14) !important;
  border-radius: 12px !important;
  min-height: 46px;
  padding: 0.55rem 0.85rem !important;
  background: var(--bg-elev, #fff) !important;
  box-shadow: none !important;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* Native select: keep teal chevron (do not use background shorthand). */
body.aiya-store-chrome .woocommerce form .form-row select {
  border: 1.5px solid rgba(16, 38, 50, 0.14) !important;
  border-radius: 12px !important;
  min-height: 46px;
  padding: 0.55rem 2.55rem 0.55rem 0.85rem !important;
  background-color: var(--bg-elev, #fff) !important;
  box-shadow: none !important;
  font-size: 0.95rem;
  accent-color: #00b4a6 !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.aiya-store-chrome .woocommerce form .form-row input.input-text:focus,
body.aiya-store-chrome .woocommerce form .form-row textarea:focus,
body.aiya-store-chrome .woocommerce form .form-row select:focus,
body.aiya-store-chrome .woocommerce form .form-row select:focus-visible {
  border-color: #08968b !important;
  box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.28) !important;
  outline: none;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  table-layout: fixed;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #5b6b7a);
  padding: 0 0 0.55rem;
  border-bottom: 1px solid var(--line, #e2e8f0);
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table th,
body.aiya-store-chrome .woocommerce-checkout-review-order-table td {
  border: 0;
  padding: 0.7rem 0;
  vertical-align: middle;
  font-size: 0.94rem;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table .product-name {
  width: 72%;
  text-align: left;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table .product-total,
body.aiya-store-chrome .woocommerce-checkout-review-order-table thead th.product-total {
  width: 28%;
  text-align: right;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table tbody .product-total,
body.aiya-store-chrome .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table tfoot th {
  text-align: left;
  font-weight: 600;
  color: var(--ink, #102632);
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table tfoot tr:last-child th,
body.aiya-store-chrome .woocommerce-checkout-review-order-table tfoot tr:last-child td {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table .product-quantity,
body.aiya-store-chrome .woocommerce-checkout-review-order-table .aiya-checkout-qty {
  display: block;
  margin: 0.55rem 0 0;
  padding-left: calc(56px + 0.75rem);
  font-weight: 600;
  color: var(--ink, #102632);
  white-space: nowrap;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table .aiya-checkout-qty .quantity {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table .aiya-checkout-qty .qty {
  width: 4.25rem;
  min-height: 42px;
}
body.aiya-store-chrome .woocommerce-checkout-review-order-table .aiya-checkout-qty.is-loading {
  opacity: 0.55;
  pointer-events: none;
}
body.aiya-store-chrome #place_order,
body.aiya-store-chrome .woocommerce button.button.alt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  min-height: 48px;
  margin: 0.35rem auto 0;
  padding: 0.8rem 1.7rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--teal, #00b4a6), var(--teal-deep, #08968b)) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25 !important;
  cursor: pointer;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--teal, #00b4a6) 28%, transparent);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  flex: 0 0 auto;
  align-self: center;
}
body.aiya-store-chrome .woocommerce-checkout #payment .place-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.35rem !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  clear: both;
  position: relative;
  z-index: 1;
}
/* Privacy + CTA sit directly under in-flow payment_box (no absolute spacer). */
body.aiya-store-chrome .woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper,
body.aiya-store-chrome .woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  display: block;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0;
  clear: both;
  position: relative;
  z-index: 1;
  text-align: center;
}
body.aiya-store-chrome .woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
  margin: 0;
  line-height: 1.45;
}
body.aiya-store-chrome #place_order::after,
body.aiya-store-chrome .woocommerce button.button.alt::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
body.aiya-store-chrome #place_order:hover,
body.aiya-store-chrome .woocommerce button.button.alt:hover {
  background: linear-gradient(135deg, var(--teal, #00b4a6), var(--teal-deep, #08968b)) !important;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--teal, #00b4a6) 25%, transparent),
    0 10px 26px color-mix(in srgb, var(--teal, #00b4a6) 32%, transparent);
}
body.aiya-store-chrome #place_order:hover::after,
body.aiya-store-chrome .woocommerce button.button.alt:hover::after {
  opacity: 1;
  animation: aiya-btn-shimmer 0.75s ease;
}
@media (prefers-reduced-motion: reduce) {
  body.aiya-store-chrome #place_order:hover::after,
  body.aiya-store-chrome .woocommerce button.button.alt:hover::after {
    animation: none;
    opacity: 0;
  }
}
body.aiya-store-chrome .woocommerce-info,
body.aiya-store-chrome .woocommerce-message,
body.aiya-store-chrome .woocommerce-error {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
  padding: 0.85rem 1rem !important;
  float: none !important;
  clear: both !important;
}
body.aiya-store-chrome .woocommerce-info::before,
body.aiya-store-chrome .woocommerce-message::before,
body.aiya-store-chrome .woocommerce-error::before {
  content: none !important;
  display: none !important;
}
body.aiya-store-chrome .woocommerce-info .button,
body.aiya-store-chrome .woocommerce-message .button {
  float: none !important;
}
body.aiya-store-chrome .cart_totals,
body.aiya-store-chrome .woocommerce-cart-form {
  background: var(--card, #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 0 rgba(16, 38, 50, 0.04);
  box-sizing: border-box;
}
/*
 * Cart layout (classic Woo):
 * - full-width table/form (no half-width white panel)
 * - actions: full-width promo row (input + apply), then update
 * - totals card centered under the table
 */
body.aiya-store-chrome.woocommerce-cart .aiya-store-shell > .woocommerce {
  display: block;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}
body.aiya-store-chrome .woocommerce-cart-form {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 0 1.25rem !important;
  clear: both;
}
body.aiya-store-chrome .cart-collaterals {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
body.aiya-store-chrome .cart-collaterals::before,
body.aiya-store-chrome .cart-collaterals::after {
  display: none !important;
  content: none !important;
}
body.aiya-store-chrome .cart-collaterals .cart_totals {
  width: min(420px, 100%) !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  flex: 0 1 420px;
}
body.aiya-store-chrome .cart-collaterals .cross-sells {
  display: none !important;
}
/*
 * Actions row inside cart table.
 * CRITICAL: keep td.actions as table-cell. display:block collapses colspan
 * under table-layout:fixed (~60px), so the promo input stays a stub.
 * Woo also floats .coupon left (shrink-wrap) — kill that.
 */
body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions,
body.aiya-store-chrome.woocommerce-cart table.cart td.actions {
  display: table-cell !important;
  width: auto;
  padding-top: 0.85rem !important;
  border-bottom: 0 !important;
  float: none !important;
  clear: both;
}
body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .aiya-cart-actions,
body.aiya-store-chrome.woocommerce-cart table.cart td.actions .aiya-cart-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  float: none !important;
}
/* Promo: one full-width horizontal row (wide input + apply) under the cart table */
body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .aiya-cart-actions .coupon,
body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.55rem;
  align-items: stretch;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  float: none !important;
  clear: none !important;
}
body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .coupon .input-text,
body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .coupon input#coupon_code,
body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon .input-text,
body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon input#coupon_code {
  /* owner: 345px when space allows; shrinks on narrow carts (max-width 100%) */
  flex: 0 1 345px !important;
  width: 345px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 46px;
  height: auto;
  border: 1.5px solid rgba(16, 38, 50, 0.14) !important;
  border-radius: 12px !important;
  padding: 0.55rem 0.85rem !important;
  line-height: 1.25 !important;
  background: var(--bg-elev, #fff) !important;
  float: none !important;
  box-sizing: border-box !important;
}
body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .coupon button[name="apply_coupon"],
body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"] {
  flex: 0 0 auto !important;
  align-self: stretch !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  float: none !important;
  width: auto !important;
  min-height: 46px !important;
  height: auto !important;
  box-sizing: border-box !important;
  padding: 0.55rem 1.15rem !important;
  line-height: 1.25 !important;
}
body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .aiya-cart-actions button[name="update_cart"],
body.aiya-store-chrome.woocommerce-cart table.cart td.actions button[name="update_cart"] {
  align-self: flex-end;
  margin-left: 0;
  flex: 0 0 auto;
  float: none !important;
}
body.aiya-store-chrome table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  margin: 0;
}
/* Cart line table: remove | thumb | name tight — no giant empty middle column */
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart {
  table-layout: fixed;
  width: 100%;
}
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-remove {
  width: 3rem;
  text-align: center;
  padding-inline: 0.2rem;
}
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-thumbnail {
  width: 4.5rem;
  text-align: left;
  padding-inline: 0.25rem 0.4rem;
}
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-thumbnail a {
  display: inline-block;
  line-height: 0;
}
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-thumbnail img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
}
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-name {
  width: 38%;
  text-align: left !important;
}
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-price,
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-quantity,
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart .product-subtotal {
  width: 8.75rem;
  text-align: right;
  white-space: nowrap;
  padding-inline: 1.15rem;
}
body.aiya-store-chrome .woocommerce-cart-form table.shop_table.cart thead th.product-name {
  text-align: left !important;
}
body.aiya-store-chrome table.shop_table th,
body.aiya-store-chrome table.shop_table td {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.55rem;
  vertical-align: middle;
  font-size: 0.95rem;
  background: transparent !important;
}
body.aiya-store-chrome table.shop_table thead th {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
body.aiya-store-chrome table.shop_table tr:last-child td {
  border-bottom: 0;
}
body.aiya-store-chrome table.shop_table .product-remove a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card, #fff);
  font-size: 1.1rem;
  line-height: 1;
}
body.aiya-store-chrome table.shop_table .product-remove a:hover {
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.35);
}
body.aiya-store-chrome table.shop_table .product-name a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
body.aiya-store-chrome table.shop_table .product-name a:hover {
  color: var(--teal);
}
body.aiya-store-chrome table.shop_table .product-thumbnail img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
}
body.aiya-store-chrome table.shop_table .quantity .qty,
body.aiya-store-chrome .woocommerce .quantity .qty {
  width: 4.25rem;
  min-height: 42px;
  border: 1.5px solid rgba(16, 38, 50, 0.14) !important;
  border-radius: 12px !important;
  text-align: center;
  font-weight: 650;
  background: var(--bg-elev, #fff) !important;
  box-shadow: none !important;
}
body.aiya-store-chrome table.shop_table .quantity .qty:focus {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(15, 158, 146, 0.16) !important;
  outline: none;
}
body.aiya-store-chrome .woocommerce-cart .button,
body.aiya-store-chrome .cart_totals .checkout-button,
body.aiya-store-chrome .wc-proceed-to-checkout .checkout-button {
  border: 0 !important;
  border-radius: 12px !important;
  min-height: 46px;
  padding: 0.65rem 1.15rem !important;
  font-weight: 700 !important;
  font-family: var(--font);
  cursor: pointer;
}
body.aiya-store-chrome .woocommerce-cart button[name="update_cart"],
body.aiya-store-chrome .woocommerce-cart button[name="apply_coupon"] {
  background: var(--bg-elev, #fff) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  border: 1.5px solid rgba(16, 38, 50, 0.14) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.aiya-store-chrome .woocommerce-cart button[name="update_cart"]:hover,
body.aiya-store-chrome .woocommerce-cart button[name="apply_coupon"]:hover {
  border-color: var(--teal) !important;
  color: var(--teal-deep, #08968b) !important;
  -webkit-text-fill-color: var(--teal-deep, #08968b) !important;
}
body.aiya-store-chrome .wc-proceed-to-checkout {
  padding: 0 !important;
  margin-top: 0.85rem;
}
body.aiya-store-chrome .wc-proceed-to-checkout .checkout-button,
body.aiya-store-chrome .cart_totals .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--teal, #00b4a6), var(--teal-deep, #08968b)) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--teal, #00b4a6) 28%, transparent);
}
body.aiya-store-chrome .wc-proceed-to-checkout .checkout-button:hover,
body.aiya-store-chrome .cart_totals .checkout-button:hover {
  filter: brightness(1.08);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body.aiya-store-chrome .cart_totals h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
body.aiya-store-chrome .cart_totals table.shop_table th,
body.aiya-store-chrome .cart_totals table.shop_table td {
  padding: 0.55rem 0;
}
body.aiya-store-chrome .cart_totals .order-total th,
body.aiya-store-chrome .cart_totals .order-total td {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  padding-top: 0.85rem;
}
body.aiya-store-chrome .wc-empty-cart-message .cart-empty {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
  padding: 1.15rem 1.25rem;
  box-shadow: none;
}
body.aiya-store-chrome .aiya-store-empty-cta {
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 880px) {
  body.aiya-store-chrome .cart-collaterals {
    justify-content: stretch;
  }
  body.aiya-store-chrome .cart-collaterals .cart_totals {
    width: 100% !important;
    flex: 1 1 auto;
  }
  body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .aiya-cart-actions,
  body.aiya-store-chrome.woocommerce-cart table.cart td.actions .aiya-cart-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .aiya-cart-actions button[name="update_cart"],
  body.aiya-store-chrome.woocommerce-cart table.cart td.actions button[name="update_cart"] {
    align-self: stretch;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* Narrow cart: promo + apply may not fit 345px + button — stack cleanly */
@media (max-width: 560px) {
  body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .aiya-cart-actions .coupon,
  body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon {
    flex-wrap: wrap;
  }
  body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .coupon .input-text,
  body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .coupon input#coupon_code,
  body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon .input-text,
  body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon input#coupon_code {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.aiya-store-chrome .woocommerce-cart-form table.cart td.actions .coupon button[name="apply_coupon"],
  body.aiya-store-chrome.woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"] {
    flex: 1 1 auto !important;
    width: 100% !important;
  }
}
@media (max-width: 880px) {
  body.aiya-store-chrome .woocommerce-checkout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "details"
      "review-h"
      "review";
  }
  body.aiya-store-chrome .woocommerce-checkout-review-order {
    position: static;
  }
}

body.aiya-store-chrome .aiya-store-intro {
  margin: 0 0 1.35rem;
  max-width: none;
}
body.aiya-store-chrome .aiya-store-intro h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}
body.aiya-store-chrome .aiya-store-intro .aiya-section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}
body.aiya-store-chrome .col2-set .col-2:has(.woocommerce-shipping-fields:empty):has(.woocommerce-additional-fields:empty),
body.aiya-store-chrome .woocommerce-shipping-fields:empty,
body.aiya-store-chrome .woocommerce-additional-fields:empty,
body.aiya-store-chrome .woocommerce-account-fields:empty {
  display: none !important;
}
body.aiya-store-chrome .form-row-first,
body.aiya-store-chrome .form-row-last {
  width: 48.5%;
  float: left;
  clear: none;
}
body.aiya-store-chrome .form-row-last {
  float: right;
}
body.aiya-store-chrome .form-row-wide {
  clear: both;
  width: 100%;
  float: none;
}
body.aiya-store-chrome .woocommerce-billing-fields__field-wrapper::after {
  content: "";
  display: table;
  clear: both;
}
body.aiya-store-chrome .woocommerce-form-login-toggle,
body.aiya-store-chrome .woocommerce-form-coupon-toggle {
  text-align: center;
}
body.aiya-store-chrome .woocommerce-form-login-toggle .woocommerce-info,
body.aiya-store-chrome .woocommerce-form-coupon-toggle .woocommerce-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 auto 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 158, 146, 0.06);
  font-size: 0.88rem;
  box-shadow: none;
  text-align: center;
}
body.aiya-store-chrome .woocommerce-form-login-toggle .woocommerce-info::before,
body.aiya-store-chrome .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none;
}
/* Promo/login panels sit outside .woocommerce-checkout — match 820px contact rail */
body.aiya-store-chrome .woocommerce-form-login-toggle,
body.aiya-store-chrome .woocommerce-form-coupon-toggle,
body.aiya-store-chrome .woocommerce-form-login,
body.aiya-store-chrome .woocommerce-form-coupon {
  width: min(820px, 100%);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
body.aiya-store-chrome .woocommerce-form-login,
body.aiya-store-chrome .woocommerce-form-coupon {
  margin-bottom: 1rem;
}
/* Checkout promo: input + apply share one row height (no short pill vs tall field) */
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row) {
  flex: 1 1 100%;
  width: 100%;
  margin: 0 0 0.15rem;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-first,
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-last {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  display: flex;
  align-items: stretch;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-first {
  flex: 1 1 12rem;
  min-width: 0;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-last {
  flex: 0 0 auto;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-first .input-text,
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon input#coupon_code {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px !important;
  height: auto !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-last button[name="apply_coupon"],
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon button[name="apply_coupon"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 46px !important;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  padding: 0.55rem 1.15rem !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  border-radius: 12px !important;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .clear {
  display: none;
}
body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon::after {
  content: none;
  display: none;
}
@media (max-width: 560px) {
  body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-first,
  body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-last {
    flex: 1 1 100%;
    width: 100% !important;
  }
  body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon .form-row-last button[name="apply_coupon"],
  body.aiya-store-chrome form.checkout_coupon.woocommerce-form-coupon button[name="apply_coupon"] {
    width: 100%;
  }
}
body.aiya-store-chrome #order_review_heading {
  background: transparent;
  border: 0;
  padding: 0 0 0.15rem;
  box-shadow: none;
}
body.aiya-store-chrome .aiya-order-install {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
}
body.aiya-store-chrome .aiya-order-install h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.55rem;
}
body.aiya-store-chrome .aiya-store-empty-cta {
  margin-top: 1rem;
}
body.aiya-store-chrome .return-to-shop .button {
  display: none;
}
@media (max-width: 560px) {
  body.aiya-store-chrome .form-row-first,
  body.aiya-store-chrome .form-row-last {
    width: 100%;
    float: none;
  }
  /* Checkout line qty: drop thumb-align indent when the rail is narrow */
  body.aiya-store-chrome .woocommerce-checkout-review-order-table .product-quantity,
  body.aiya-store-chrome .woocommerce-checkout-review-order-table .aiya-checkout-qty {
    padding-left: 0;
  }
  body.aiya-store-chrome .woocommerce-form-login,
  body.aiya-store-chrome .woocommerce-form-coupon,
  body.aiya-store-chrome .woocommerce-billing-fields,
  body.aiya-store-chrome .woocommerce-checkout-review-order {
    padding: 1rem 0.95rem 1.1rem;
  }
}

/* Cart / checkout product line with plan art */
body.aiya-store-chrome .aiya-line-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}
body.aiya-store-chrome .aiya-line-product .aiya-line-thumb,
body.aiya-store-chrome .aiya-line-product img {
  width: 56px !important;
  height: 56px !important;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  background: var(--card, #fff);
}
body.aiya-store-chrome .aiya-line-product__text {
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}
body.aiya-store-chrome table.shop_table .product-thumbnail {
  width: 72px;
}
body.aiya-store-chrome table.shop_table .product-thumbnail img,
body.aiya-store-chrome table.shop_table .aiya-cart-thumb {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card, #fff);
}
body.aiya-store-chrome table.shop_table .product-name {
  font-weight: 650;
}

/* —— Single product (plan card) —— */
body.aiya-store-chrome.single-product .aiya-store-shell {
  width: min(calc(820px + 2 * var(--aiya-gutter, 1.25rem)), 100%);
}
body.aiya-store-chrome.single-product .aiya-store-intro--product {
  margin-bottom: 1rem;
}
body.aiya-store-chrome.single-product .aiya-store-intro--product .aiya-eyebrow {
  margin: 0.35rem 0 0;
}
body.aiya-store-chrome.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  float: none;
}
body.aiya-store-chrome.single-product .woocommerce-product-gallery,
body.aiya-store-chrome.single-product div.product div.images,
body.aiya-store-chrome.single-product div.product div.summary {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0;
}
body.aiya-store-chrome.single-product .woocommerce-product-gallery,
body.aiya-store-chrome.single-product div.product div.images {
  max-width: 420px;
  margin-inline: auto !important;
}
body.aiya-store-chrome.single-product .woocommerce-product-gallery img,
body.aiya-store-chrome.single-product div.product div.images img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line, #e2e8f0);
  display: block;
}
body.aiya-store-chrome.single-product .summary .product_title {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 650;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  text-align: center;
}
body.aiya-store-chrome.single-product .summary .price {
  display: block;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent, #0f9e92);
  margin: 0 0 0.85rem;
}
body.aiya-store-chrome.single-product .summary .woocommerce-product-details__short-description {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.1rem;
  color: var(--muted, #5b6b7a);
  line-height: 1.55;
}
body.aiya-store-chrome.single-product .summary form.cart {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
}
body.aiya-store-chrome.single-product .summary .quantity .qty {
  width: 4.25rem;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--line, #e2e8f0);
  padding: 0.55rem 0.4rem;
}
body.aiya-store-chrome.single-product .summary .single_add_to_cart_button {
  min-width: 9rem;
  cursor: pointer;
}
body.aiya-store-chrome.single-product .product_meta {
  display: none;
}
body.aiya-store-chrome.single-product .woocommerce-tabs {
  margin-top: 0.5rem;
  text-align: left;
}
body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
  border: 0;
}
body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs::before,
body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs li::before,
body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  background: var(--card, #fff);
  margin: 0;
  padding: 0;
}
body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs li.active {
  border-color: var(--accent, #0f9e92);
  background: rgba(15, 158, 146, 0.08);
}
body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.45rem 1rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
body.aiya-store-chrome.single-product .woocommerce-Tabs-panel {
  padding: 0;
  margin: 0;
  border: 0;
}
body.aiya-store-chrome.single-product .woocommerce-Tabs-panel h2 {
  font-size: 1.05rem;
  margin: 0 0 0.65rem;
}
body.aiya-store-chrome.single-product .aiya-product-perks {
  margin: 0.35rem 0 1rem;
  padding-left: 1.15rem;
  line-height: 1.55;
}
body.aiya-store-chrome.single-product .aiya-product-perks li {
  margin: 0.2rem 0;
}
body.aiya-store-chrome.single-product .related.products {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line, #e2e8f0);
}
body.aiya-store-chrome.single-product .related.products > h2 {
  text-align: center;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 1rem;
}
body.aiya-store-chrome.single-product .related.products ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.aiya-store-chrome.single-product .related.products ul.products::before,
body.aiya-store-chrome.single-product .related.products ul.products::after {
  display: none !important;
}
body.aiya-store-chrome.single-product .related.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 1rem;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 14px;
  background: var(--card, #fff);
  text-align: center;
}
body.aiya-store-chrome.single-product .related.products li.product img {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 0.65rem;
  border-radius: 12px;
  display: block;
}
body.aiya-store-chrome.single-product .related.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
body.aiya-store-chrome.single-product .related.products li.product .price {
  display: block;
  margin: 0 0 0.65rem;
  color: var(--accent, #0f9e92);
  font-weight: 700;
}


/* —— Night chrome: opaque panels + readable accent text (token-driven) —— */
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-navigation ul,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation ul,
html[data-aiya-theme="night"] body.aiya-account-screen .aiya-account-overview,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .aiya-account-overview,
html[data-aiya-theme="night"] body.woocommerce-account.aiya-store-chrome .aiya-account-overview,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content,
html[data-aiya-theme="night"] body.woocommerce-account.aiya-store-chrome .woocommerce-MyAccount-content {
  background: var(--card);
  color: var(--ink);
}
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-navigation a,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a {
  color: var(--muted);
}
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-navigation .is-active a,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-navigation a:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation .is-active a,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-navigation a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--teal) 16%, transparent);
}
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content a.button:not(.button-secondary):not(.disabled):not(.aiya-btn--ghost),
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content button.button:not(.button-secondary):not(.aiya-btn--ghost),
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn:not(.aiya-btn--ghost),
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-btn:not(.aiya-btn--ghost),
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content a.button:not(.button-secondary):not(.disabled):not(.aiya-btn--ghost),
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content button.button:not(.button-secondary):not(.aiya-btn--ghost),
html[data-aiya-theme="night"] body.aiya-account-screen .aiya-account-overview .aiya-btn:not(.aiya-btn--ghost),
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button,
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) button.button,
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .woocommerce-Button:hover,
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) button.button:hover,
html[data-aiya-theme="night"] .woocommerce a.button:not(.button-secondary),
html[data-aiya-theme="night"] .woocommerce button.button:not(.button-secondary):not([name="update_cart"]),
html[data-aiya-theme="night"] .woocommerce input.button:not(.button-secondary),
html[data-aiya-theme="night"] body.aiya-store-chrome #place_order,
html[data-aiya-theme="night"] body.aiya-store-chrome #place_order:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce button.button.alt,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce button.button.alt:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome .wc-proceed-to-checkout .checkout-button,
html[data-aiya-theme="night"] body.aiya-store-chrome .wc-proceed-to-checkout .checkout-button:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome .cart_totals .checkout-button,
html[data-aiya-theme="night"] body.aiya-store-chrome .cart_totals .checkout-button:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome button[name="apply_coupon"],
html[data-aiya-theme="night"] body.aiya-store-chrome button[name="apply_coupon"]:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome form.checkout_coupon button[name="apply_coupon"],
html[data-aiya-theme="night"] body.aiya-store-chrome form.checkout_coupon button[name="apply_coupon"]:hover {
  /* Night teal fills: dark --on-accent (white washes out on bright cyan) */
  color: var(--on-accent, #04221f) !important;
  -webkit-text-fill-color: var(--on-accent, #04221f) !important;
  text-shadow: none !important;
}
/* Constructor: inactive «Свой» / size segments are not teal CTAs — keep light ink */
html[data-aiya-theme="night"] .aiya-embed-builder .aiya-embed-style {
  background: color-mix(in srgb, var(--teal, #3dfff0) 8%, var(--card, #0e2a34));
}
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field,
html[data-aiya-theme="night"] .aiya-embed-builder .aiya-embed-builder__accent-field,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field > span,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-builder__accent-field > span,
html[data-aiya-theme="night"] .aiya-embed-builder .aiya-embed-builder__accent-field > span {
  color: var(--ink, #eef6f4) !important;
  -webkit-text-fill-color: var(--ink, #eef6f4) !important;
}
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn,
html[data-aiya-theme="night"] .aiya-embed-builder .aiya-embed-size__btn {
  color: var(--ink, #eef6f4) !important;
  -webkit-text-fill-color: var(--ink, #eef6f4) !important;
}
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn.is-active,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-embed-builder .aiya-embed-size__btn.is-active,
html[data-aiya-theme="night"] .aiya-embed-builder .aiya-embed-size__btn.is-active {
  color: var(--on-accent, #04221f) !important;
  -webkit-text-fill-color: var(--on-accent, #04221f) !important;
  background: var(--teal-deep, #2ec4b6) !important;
}
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-cart button[name="apply_coupon"],
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-cart button[name="apply_coupon"]:hover {
  background: linear-gradient(135deg, var(--teal, #3dfff0), var(--teal-deep, #2ec4b6)) !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--teal, #3dfff0) 28%, transparent) !important;
}
/* Promo toggle: Woo default link can be dark-on-dark in night */
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-form-coupon-toggle .woocommerce-info,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-form-login-toggle .woocommerce-info {
  color: var(--ink) !important;
  background: color-mix(in srgb, var(--teal) 12%, var(--card));
  border-color: color-mix(in srgb, var(--teal) 28%, var(--line));
}
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-form-coupon-toggle .woocommerce-info a,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-form-login-toggle .woocommerce-info a,
html[data-aiya-theme="night"] body.aiya-store-chrome a.showcoupon,
html[data-aiya-theme="night"] body.aiya-store-chrome a.showlogin {
  color: var(--teal, #3dfff0) !important;
  -webkit-text-fill-color: var(--teal, #3dfff0) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .button.button-secondary,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn.aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-btn.aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .button.button-secondary,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn.aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-account-screen .aiya-account-overview .aiya-btn.aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-account-screen .aiya-account-overview .aiya-btn--ghost,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content a.button.disabled,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content span.button.disabled,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content a.button.disabled,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content span.button.disabled {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  text-shadow: none !important;
}
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-dash__menu-link.is-active,
html[data-aiya-theme="night"] body.aiya-account-screen .aiya-account-overview .aiya-dash__actions .aiya-dash__menu-link.is-active {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  background: color-mix(in srgb, var(--teal, #0f9e92) 22%, transparent) !important;
  border-color: color-mix(in srgb, var(--teal, #0f9e92) 40%, var(--line)) !important;
}
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .button.button-secondary:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn.aiya-btn--ghost:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn--ghost:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-btn.aiya-btn--ghost:hover,
html[data-aiya-theme="night"] body.aiya-store-chrome.aiya-account-screen .aiya-account-overview .aiya-btn--ghost:hover,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .button.button-secondary:hover,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn.aiya-btn--ghost:hover,
html[data-aiya-theme="night"] body.aiya-account-screen .woocommerce-MyAccount-content .aiya-btn--ghost:hover,
html[data-aiya-theme="night"] body.aiya-account-screen .aiya-account-overview .aiya-btn.aiya-btn--ghost:hover,
html[data-aiya-theme="night"] body.aiya-account-screen .aiya-account-overview .aiya-btn--ghost:hover {
  color: var(--teal, #00b4a6) !important;
  -webkit-text-fill-color: var(--teal, #00b4a6) !important;
}
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn.is-active,
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-tabs__btn.is-active:hover {
  color: var(--on-accent);
}
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-title {
  color: var(--ink);
}
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .aiya-pass-gen {
  color: var(--teal, #3dfff0);
}
html[data-aiya-theme="night"] body.aiya-auth-screen:not(.aiya-account-screen) .aiya-auth-forgot a {
  color: #7dd3fc;
}
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-info,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-message,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-error,
html[data-aiya-theme="night"] body.aiya-store-chrome .cart_totals,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-cart-form,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-billing-fields,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-checkout-review-order,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-form-login,
html[data-aiya-theme="night"] body.aiya-store-chrome .woocommerce-form-coupon {
  background: var(--card);
  color: var(--ink);
}
html[data-aiya-theme="night"] body.aiya-store-chrome input.input-text,
html[data-aiya-theme="night"] body.aiya-store-chrome input[type="text"],
html[data-aiya-theme="night"] body.aiya-store-chrome input[type="email"],
html[data-aiya-theme="night"] body.aiya-store-chrome input[type="tel"],
html[data-aiya-theme="night"] body.aiya-store-chrome input[type="password"],
html[data-aiya-theme="night"] body.aiya-store-chrome textarea,
html[data-aiya-theme="night"] body.aiya-store-chrome .coupon .input-text,
html[data-aiya-theme="night"] body.aiya-store-chrome .qty,
html[data-aiya-theme="night"] body.aiya-store-chrome .select2-container--default .select2-selection--single {
  background: var(--bg-elev) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
html[data-aiya-theme="night"] body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs li,
html[data-aiya-theme="night"] body.aiya-store-chrome.single-product .related.products li.product {
  background: var(--card);
  color: var(--ink);
}
html[data-aiya-theme="night"] body.aiya-store-chrome.single-product .woocommerce-tabs ul.tabs li.active {
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--ink);
}
html[data-aiya-theme="night"] .aiya-dl-tabs__btn,
html[data-aiya-theme="night"] .aiya-dl-tabs__btn.is-active,
html[data-aiya-theme="night"] .aiya-dl-tabs__btn:hover,
html[data-aiya-theme="night"] .aiya-dl-pack,
html[data-aiya-theme="night"] .aiya-account-dl__buy,
html[data-aiya-theme="night"] .aiya-support-msg {
  color: var(--ink);
}
html[data-aiya-theme="night"] .aiya-oauth__btn,
html[data-aiya-theme="night"] .aiya-oauth__btn:link,
html[data-aiya-theme="night"] .aiya-oauth__btn:visited {
  color: var(--ink);
  background: color-mix(in srgb, var(--card, #1a2830) 88%, #000);
  box-shadow: none;
}
html[data-aiya-theme="night"] .aiya-oauth__btn:hover,
html[data-aiya-theme="night"] .aiya-oauth__btn:focus-visible {
  border-color: var(--teal, #3dfff0);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal, #3dfff0) 22%, transparent);
}
html[data-aiya-theme="night"] .aiya-oauth__divider {
  color: var(--muted);
}
