/*
 * Ayri Store — restrained white / sapphire glass.
 * Additive presentation layer: load LAST, after the three base stylesheets.
 * No assets, copy, routes, financial semantics, or widget internals are changed.
 * Opaque surfaces are the default. Blur-capable browsers opt into translucency.
 */
:root {
  --ay-surface: #fff;
  --ay-surface-strong: #fff;
  --ay-glass-filter: none;
  --ay-blue-surface: #1746cc;
  --ay-edge: #dce4ef;
  --ay-shadow: 0 12px 36px -28px rgb(25 52 96 / 30%);
  --ay-floating-shadow: 0 12px 40px -24px rgb(25 52 96 / 24%), inset 0 1px 0 #fff;
  --header: 76px;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --ay-surface: rgb(255 255 255 / 76%);
    --ay-surface-strong: rgb(255 255 255 / 93%);
    --ay-glass-filter: blur(18px) saturate(120%);
    --ay-blue-surface: rgb(23 70 204 / 95%);
  }
}

/* A quiet, pale canvas gives translucent chrome something real to reveal.
   There are no moving blobs, neon edges, gradients on buttons, or logo tiles. */
body {
  background-color: #f2f5fa;
  background-image: radial-gradient(ellipse 1000px 650px at 15% 0%, #e4ecfa 0%, transparent 78%);
  color: #192439;
}
html { scroll-padding-top: 112px; }
:where(.storefront-home, .product-v2, .login-page, .customer-app, .order-detail-page, .checkout-dialog) {
  accent-color: #1746cc;
}
:where(.site-header, .site-footer, .mobile-nav, .main-content, .checkout-dialog) :is(a, button, summary, select) {
  min-width: 44px;
  min-height: 44px;
}
:where(.site-header, .site-footer, .mobile-nav, .main-content, .checkout-dialog) :focus-visible {
  outline: 3px solid #6f94eb;
  outline-offset: 4px;
}
:where(.site-header, .site-footer, .main-content, .checkout-dialog) .button {
  border-radius: 10px;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%);
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}
:where(.site-header, .site-footer, .main-content, .checkout-dialog) .button:hover,
:where(.site-header, .site-footer, .main-content, .checkout-dialog) .button:active {
  transform: none;
}
:where(.site-header, .site-footer, .main-content, .checkout-dialog) .button-light {
  background: var(--ay-surface-strong);
  border-color: var(--ay-edge);
  color: #27374f;
}
:where(.product-v2, .login-page, .customer-app, .checkout-dialog) input:not([type=radio]):not([type=checkbox]),
.customer-app .ca-status-group select {
  background: #fff;
  border-color: #d4deec;
  border-radius: 9px;
}

/* One flush sticky header; no open seam for page text above the chrome. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  height: 72px;
  margin: 0;
  background: var(--ay-surface-strong);
  border: 0;
  border-bottom: 1px solid rgb(204 216 234 / 78%);
  border-radius: 0;
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
  box-shadow: var(--ay-floating-shadow);
}
.site-header .header-inner { width: min(1280px, calc(100% - 40px)); gap: 24px; }
.site-header .wordmark.brand-original { min-height: 48px; gap: 11px; }
.site-header .brand-original .ayri-brand-image { width: 52px; height: auto; object-fit: contain; }
.site-header .brand-caption { gap: 5px; }
.site-header .brand-caption > strong { font-size: 16px; letter-spacing: -.035em; }
.site-header .brand-caption > span { font-size: 9px; letter-spacing: .08em; }
.site-header .desktop-nav { gap: 8px; margin-right: 16px; }
.site-header .desktop-nav a { justify-content: center; padding: 8px 14px; border-radius: 9px; color: #526179; }
.site-header .desktop-nav a::after { content: none; }
.site-header .desktop-nav a:hover { background: #edf2fb; color: #1746cc; }
.site-header .desktop-nav a.active { background: #e9f0ff; color: #1746cc; }
.site-header .header-actions { gap: 12px; }
.site-header .header-balance { color: #344b77; }
.site-header .header-actions .button { border-radius: 9px; min-height: 44px; font-size: 13px; }
.mode-banner { margin-top: 12px; background: #eef3fc; border-block: 1px solid #dfe6f2; }

/* Explore first: an open introduction, not another rounded hero panel. */
.storefront-home { background: #fff; }
.storefront-home .shop-intro {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 36px;
  min-height: 424px;
  padding-block: 36px 40px;
}
.storefront-home .shop-intro-copy > .eyebrow { margin-bottom: 17px; color: #67758b; font-size: 11px; letter-spacing: .12em; }
.storefront-home .shop-intro-copy h1 {
  max-width: 630px;
  font-size: clamp(36px, 3.95vw, 56px);
  line-height: 1.14;
  letter-spacing: -.05em;
  word-spacing: 0;
  text-wrap: initial;
}
.storefront-home .hero-lead { margin-top: 19px; max-width: 470px; font-size: 15px; line-height: 1.8; color: #526179; }
.storefront-home .hero-actions { margin-top: 25px; gap: 12px 24px; }
.storefront-home .hero-actions > .button { min-height: 50px; padding: 13px 21px; border-radius: 10px; }
.storefront-home .hero-actions > .text-link { color: #526179; font-size: 14px; }
.storefront-home .hero-art { width: min(100%, 500px); justify-self: end; border-radius: 0; background: #fff; }
.storefront-home .hero-hisoka-image { width: 100%; height: auto; aspect-ratio: 11 / 8; object-fit: contain; }

/* A single pale catalog field, with covers doing the visual work. */
.storefront-home .shop-catalog {
  position: relative;
  background: #edf3fa;
  border-block: 1px solid #e1e8f2;
}
.storefront-home.catalog-page { background: transparent; }
.storefront-home .catalog-section { padding-block: 42px 54px; scroll-margin-top: 108px; }
.storefront-home .section-heading { margin-bottom: 22px; gap: 20px; }
.storefront-home .section-heading :is(h1, h2) { font-size: 32px; line-height: 1.25; letter-spacing: -.04em; }
.storefront-home .catalog-toolbar { gap: 24px; margin-bottom: 15px; }
.storefront-home .search-field { max-width: 560px; }
.storefront-home .search-field input:not([type=radio]) {
  height: 52px;
  border: 1px solid #cfdced;
  border-radius: 11px;
  background: var(--ay-surface-strong);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 16px;
}
.storefront-home .search-field > .bx { color: #596e90; }
.storefront-home .search-hint { font-size: 11px; color: #66758c; }
.storefront-home .result-count { color: #526179; font-size: 13px; }
.storefront-home .catalog-filters { gap: 8px; padding-block: 3px 10px; margin-bottom: 20px; scrollbar-color: #bdcce1 transparent; }
.storefront-home .filter-chip {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 16px;
  border-color: #d2deed;
  border-radius: 9px;
  background: var(--ay-surface);
  color: #4e607b;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
}
.storefront-home .filter-chip:hover { background: #fff; border-color: #98b2e8; color: #1746cc; }
.storefront-home .filter-chip.selected { background: #1746cc; border-color: #1746cc; color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%); }
.storefront-home .catalog-grid { gap: 22px; }
.storefront-home .catalog-card {
  background: var(--ay-surface);
  border-color: #d9e3f0;
  border-radius: 13px;
  box-shadow: 0 3px 8px -6px rgb(34 62 105 / 16%), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
  transition: border-color .18s, box-shadow .18s;
}
.storefront-home .catalog-card:hover { border-color: #9eb7e8; box-shadow: var(--ay-shadow); transform: none; }
.storefront-home .product-cover-wrap { background: #fff; border-bottom: 1px solid #e4eaf3; }
.storefront-home .product-cover { aspect-ratio: 3 / 2; object-fit: contain; transform: none; }
.storefront-home .catalog-card .catalog-card-top { justify-content: flex-start; padding: 16px 20px 0; }
.storefront-home .catalog-card .badge { padding: 3px 9px; border-radius: 6px; background: #eaf1fb; color: #425d86; }
.storefront-home .catalog-card .badge-muted { background: #edf0f4; color: #626d7e; }
.storefront-home .catalog-card .catalog-card-body { padding: 12px 20px 19px; }
.storefront-home .catalog-card h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.035em; }
.storefront-home .catalog-card-body p { margin-top: 9px; font-size: 14px; line-height: 1.8; color: #526179; }
.storefront-home .catalog-card .catalog-card-bottom { margin-inline: 20px; padding-block: 16px 18px; border-top-color: #e1e8f2; }
.storefront-home .catalog-card-bottom .small-label { color: #596b84; font-size: 12px; }
.storefront-home .catalog-price { font-size: 22px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.storefront-home .round-arrow { width: 44px; height: 44px; min-width: 44px; border: 1px solid #dfe7f4; border-radius: 9px; background: #f5f8fd; }
.storefront-home .catalog-footnote { margin-top: 23px; align-items: flex-start; }
.storefront-home .catalog-footnote p { font-size: 13px; line-height: 1.8; color: #596b84; }

/* Payment information is one readable comparison, not a row of promo cards. */
.storefront-home .shop-payments { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; padding-block: 64px 72px; scroll-margin-top: 112px; }
.storefront-home .payments-intro h2 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.24; letter-spacing: -.04em; }
.storefront-home .payments-intro > p { font-size: 15px; margin-top: 13px; line-height: 1.8; color: #526179; }
.storefront-home .shop-payments .payment-options {
  gap: 22px;
  padding: 28px;
  background: var(--ay-surface-strong);
  border: 1px solid #dfe6f0;
  border-radius: 15px;
  box-shadow: var(--ay-shadow);
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.storefront-home .qris-option { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 24px; align-items: start; }
.storefront-home .payment-qris-mark { grid-column: 1; grid-row: 1 / 3; width: 96px; height: auto; margin: 3px 0 0; aspect-ratio: 169 / 86; object-fit: contain; background: transparent; border: 0; border-radius: 0; }
.storefront-home .qris-option h3 { grid-column: 2; font-size: 18px; line-height: 1.5; }
.storefront-home .qris-option > p { grid-column: 2; margin-top: 8px; font-size: 14px; color: #526179; line-height: 1.8; }
.storefront-home .payment-alternatives { border-top-color: #dce5f1; }
.storefront-home .payment-alternatives > div { grid-template-columns: minmax(135px, .85fr) minmax(0, 1.5fr); gap: 18px; padding-block: 14px; border-bottom-color: #e1e8f2; }
.storefront-home .payment-alternatives :is(dt, dd) { font-size: 14px; line-height: 1.8; }
.storefront-home .payment-alternatives dd { color: #526179; }
.storefront-home .payment-availability { font-size: 13px; line-height: 1.8; color: #596b84; }

/* Login stays short. The official embed has its own strictly WHITE host.
   Never theme, filter, or style any element inside the cross-origin iframe. */
.login-page.login-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(480px, calc(100% - 40px));
  gap: 0;
  min-height: 560px;
  padding-block: 54px 64px;
  align-items: center;
}
.login-compact .login-form {
  width: 100%;
  padding: 34px;
  background: var(--ay-surface-strong);
  border: 1px solid #d8e2f0;
  border-radius: 17px;
  box-shadow: var(--ay-floating-shadow);
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.login-compact .login-form > .eyebrow { margin-bottom: 13px; color: #66758c; font-size: 11px; letter-spacing: .11em; }
.login-compact .login-form > :is(h1, h2) { font-size: 36px; line-height: 1.2; letter-spacing: -.045em; }
.login-compact .login-form > p { margin-top: 13px; margin-bottom: 22px; color: #526179; font-size: 14px; line-height: 1.8; }
.login-compact .account-onboarding { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 8px; padding: 17px 0 0; border-top-color: #dfe6f0; color: #596b84; font-size: 13px; line-height: 1.8; }
.login-compact .account-onboarding > p { margin: 0; font-size: 13px; line-height: 1.8; color: #596b84; }
.login-compact .account-onboarding > .bx { margin-top: 2px; }
.login-compact .login-form > .text-link { min-height: 44px; font-size: 14px; color: #1746cc; }
.login-compact .secondary-login { margin-top: 18px; padding-top: 18px; border-top-color: #dfe6f0; }
.login-compact .secondary-login > p { font-size: 13px; }
.telegram-widget-host { min-height: 68px; margin-block: 20px 12px; padding-block: 12px; background: #fff; border-radius: 8px; }
.telegram-widget-host iframe { color-scheme: light dark; }

/* Product choices retain their original aspect ratios and distinct controls. */
.product-page.product-v2 { padding-block: 24px 64px; }
.product-v2 .product-heading h1 { font-size: 36px; }
.product-v2 .product-cover-detail { width: 100%; max-width: 660px; margin-inline: auto; border-color: #dce5f1; border-radius: 11px; background: #fff; }
.product-v2 .variant-item { border-color: #d5e0ef; border-radius: 11px; background: var(--ay-surface-strong); }
.product-v2 .variant-item.selected { border-color: #1746cc; background: #f8faff; box-shadow: 0 0 0 1px #1746cc; }
.product-v2 .variant-select-row { border-radius: 10px; }
.product-v2 .variant-item.unavailable { background: #edf1f6; }
.product-v2 .variant-details { border-top-color: #dfe7f2; }
.product-v2 .selection-summary.product-purchase {
  top: 108px;
  padding: 26px;
  background: var(--ay-surface-strong);
  border: 1px solid #d4e0f1;
  border-radius: 15px;
  box-shadow: var(--ay-floating-shadow);
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.product-v2 .product-purchase > .eyebrow { color: #596b84; font-size: 11px; }
.product-v2 .product-purchase > .button { border-radius: 10px; }
.product-v2 .quantity-control { border-color: #d4e0ef; border-radius: 8px; background: #fff; }
.product-v2 .quantity-control > button { border-radius: 7px; }
.product-v2 .quantity-control input:not([type=radio]) { width: 48px; min-width: 44px; height: 44px; border: 0; border-radius: 0; }
.product-v2 .summary-total > strong { letter-spacing: -.03em; }

/* Checkout is a high-opacity sheet: glass should never obscure the bill. */
.checkout-dialog {
  padding: 26px 30px 30px;
  background: var(--ay-surface-strong);
  border: 1px solid #cfdced;
  border-radius: 17px;
  box-shadow: 0 28px 80px -24px rgb(12 32 68 / 38%), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.checkout-dialog::backdrop { background: rgb(25 42 68 / 34%); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.checkout-dialog .dialog-top > .icon-button { margin-right: -6px; background: #f0f4fa; border-radius: 9px; }
.checkout-dialog .checkout-heading h2 { font-size: 30px; letter-spacing: -.04em; }
.checkout-dialog .checkout-heading > p { font-size: 14px; line-height: 1.8; }
.checkout-dialog .payment-option { min-height: 76px; border-color: #d5e0ef; border-radius: 10px; background: #fff; }
.checkout-dialog .payment-option.selected { border-color: #1746cc; background: #f2f6ff; box-shadow: inset 0 0 0 1px #1746cc; }
.checkout-dialog .payment-option strong { font-size: 14px; }
.checkout-dialog .payment-option small { font-size: 13px; color: #526179; }
.checkout-dialog :is(.payment-option strong, .payment-option small, .field-label, .fee-note, .checkout-summary, .button) { letter-spacing: 0; word-spacing: normal; }
.checkout-dialog .checkout-summary { border-color: #dbe4f1; }
.checkout-dialog .checkout-summary > div { font-size: 14px; }
.checkout-dialog .fee-note { font-size: 13px; color: #526179; }
.checkout-dialog .button { min-height: 48px; }
.order-detail-page :is(.order-cost, .order-payment, .delivery-section) {
  background: var(--ay-surface-strong);
  border-color: #d7e2f0;
  border-radius: 14px;
  box-shadow: var(--ay-shadow);
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.order-detail-page .qris-frame { background: #fff; }
.order-detail-page .order-detail-aside { align-items: stretch; }
.order-detail-page .order-detail-aside > section { width: 100%; min-width: 0; }
.order-detail-page .page-heading h1 { font-size: clamp(28px, 3vw, 36px); }
.order-detail-page .back-link .bx, .product-v2 .back-link .bx { order: -1; }
.order-detail-page { padding-block: 20px 40px; }
.order-detail-page > .page-heading { margin-block: 18px 16px; }
.order-detail-page .reference-line { margin-bottom: 24px; padding-bottom: 16px; }

/* Customer operations: an action area, a balance, and real records.
   Semantic green / amber / red badges and entry colors remain base-owned. */
.customer-app {
  --ca-line: #dae3f0;
  --ca-muted: #53647e;
  width: min(1360px, calc(100% - 48px));
  margin: 24px auto 40px;
  min-height: 0;
  grid-template-columns: 196px minmax(0, 1fr);
  background: transparent;
  border: 0;
}
.customer-app .ca-sidebar {
  position: sticky;
  top: 108px;
  align-self: start;
  min-height: min(660px, calc(100dvh - 132px));
  padding: 26px 12px 20px;
  gap: 28px;
  border: 1px solid #d7e2f0;
  border-radius: 15px;
  background: var(--ay-surface);
  box-shadow: var(--ay-shadow);
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.customer-app .ca-sidebar-title { padding-inline: 13px; }
.customer-app .ca-sidebar-title > strong { font-size: 21px; letter-spacing: -.04em; }
.customer-app .ca-nav-link { border: 1px solid transparent; color: #53647e; border-radius: 9px; }
.customer-app .ca-nav-link.active { border-color: #d3dff5; background: #e9f0ff; color: #1746cc; }
.customer-app .ca-nav-link.active::after { content: none; }
.customer-app .ca-main { padding: 6px 0 32px 34px; }
.customer-app .ca-toolbar { min-height: 57px; padding-bottom: 16px; }
.customer-app .ca-button { min-width: 44px; min-height: 46px; border-radius: 9px; font-size: 14px; }
.customer-app .ca-button:hover { transform: none; }
.customer-app .ca-button-soft { background: var(--ay-surface-strong); border-color: #d2deee; }
.customer-app .ca-profile-toggle { padding: 0 4px; min-width: 44px; }
.customer-app .ca-profile-menu { top: calc(100% + 12px); padding: 20px; background: var(--ay-surface-strong); border-color: #d3dfef; border-radius: 13px; box-shadow: var(--ay-floating-shadow); -webkit-backdrop-filter: var(--ay-glass-filter); backdrop-filter: var(--ay-glass-filter); }
.customer-app .ca-heading { align-items: center; padding-block: 4px 24px; gap: 16px; }
.customer-app .ca-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.04em; }
.customer-app .ca-heading > div:first-child { min-width: 0; }
.customer-app .ca-heading .ca-toolbar-actions { flex: 0 0 auto; }
.customer-app .ca-heading .ca-toolbar-actions > .ca-button { padding-inline: 12px; }
body[data-shell="account"] .main-content { min-height: calc(100dvh - 152px); }
body[data-shell="account"]:has(.customer-app) .site-header .header-actions > a[href="/akun"] { display: none; }
@media (min-width: 641px) and (max-width: 960px) {
  /* Between mobile navigation and the sidebar, retain the account destination. */
  body[data-shell="account"]:has(.customer-app) .site-header .header-actions > a[href="/akun"] { display: inline-flex; }
}
.customer-app .ca-heading p { font-size: 14px; color: #53647e; }
.customer-app .ca-dashboard-grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 26px 24px; }
.customer-app :is(.ca-action, .ca-recent, .ca-history-panel, .ca-wallet-history, .ca-error) {
  background: var(--ay-surface-strong);
  border: 1px solid #d7e2f0;
  border-radius: 14px;
  box-shadow: var(--ay-shadow);
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.customer-app .ca-action { padding: 26px; }
.customer-app .ca-action h2 { font-size: 27px; letter-spacing: -.035em; }
.customer-app .ca-action-total { flex-wrap: wrap; }
.customer-app .ca-action-total strong { font-size: 29px; letter-spacing: -.03em; white-space: nowrap; }
.customer-app .ca-action-note { font-size: 13px; }
.customer-app .ca-counts dt { font-size: 13px; }
.customer-app .ca-count-note { font-size: 12px; }
.customer-app .ca-wallet-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 26px;
  border: 1px solid #1746cc;
  border-radius: 14px;
  background: var(--ay-blue-surface);
  color: #fff;
  box-shadow: 0 12px 28px -22px rgb(23 70 204 / 45%), inset 0 1px 0 rgb(255 255 255 / 20%);
  -webkit-backdrop-filter: var(--ay-glass-filter);
  backdrop-filter: var(--ay-glass-filter);
}
.customer-app .ca-balance { margin-top: 24px; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.3; letter-spacing: -.035em; word-spacing: 0; white-space: nowrap; overflow-wrap: normal; font-variant-numeric: tabular-nums; }
.customer-app .ca-wallet-copy { max-width: none; margin-top: 11px; font-size: 14px; line-height: 1.8; color: #eaf0ff; }
.customer-app .ca-wallet-card > .ca-button { display: inline-flex; grid-column: auto; grid-row: auto; width: 100%; min-width: 44px; min-height: 46px; padding: 12px 15px; margin-top: 23px; gap: 9px; font-size: 14px; }
.customer-app .ca-section-head h2 { font-size: 20px; letter-spacing: -.03em; }
.customer-app .ca-text-link { min-width: 44px; font-size: 13px; }
.customer-app .ca-order-row { padding: 19px 23px; }
.customer-app .ca-order-row:hover { background: #f2f6fd; }
.customer-app .ca-order-info > p { font-size: 12px; line-height: 1.8; }
.customer-app .ca-order-value .badge { font-size: 11px; }
.customer-app :is(.badge, .ca-order-info > p, .ca-action-note, .ca-wallet-copy, .ca-button) { letter-spacing: 0; word-spacing: normal; }
.customer-app .ca-order-value > strong { font-size: 14px; letter-spacing: -.02em; }
.customer-app .ca-support > h2 { font-size: 25px; letter-spacing: -.035em; }
.customer-app .ca-wallet-history { margin-top: 26px; }
.customer-app .ca-wallet-full { max-width: 100%; }
.customer-app .ca-wallet-full .ca-balance { font-size: clamp(30px, 3vw, 42px); }
.customer-app .ca-wallet-full > .ca-button { align-self: flex-start; width: auto; }
.customer-app .ca-entry-amount { letter-spacing: -.015em; }

/* A quiet closing strip. Artwork stays gold and transparent, never tiled. */
.site-footer { background: var(--ay-surface-strong); border-top-color: #dce5f1; padding-block: 20px; }
.site-footer .footer-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 30px; align-items: center; }
.site-footer .footer-bottom { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border: 0; padding: 0; }
.site-footer .payment-support { border: 0; padding: 0; gap: 20px; }
.site-footer .install-area { grid-column: 2; grid-row: 2; border: 0; padding: 0; margin: 0; }
.site-footer .install-area > .button { margin: 0; }
.site-footer .install-area > #install-status:not([hidden]), .site-footer .install-help { flex-basis: 100%; }
.site-footer .install-area:has(#install-status:not([hidden]), .install-help:not([hidden])) { grid-column: 1 / -1; grid-row: auto; }
.site-footer .footer-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 25px; }
.site-footer .footer-actions > a { font-size: 14px; min-height: 44px; }
.site-footer .payment-support { gap: 20px; padding: 0; border: 0; }
.site-footer .payment-logos { flex: 0 1 auto; gap: 20px 25px; }
.site-footer .payment-logos .payment-logo-qris { width: 65px; height: auto; }
.site-footer .payment-logo-bca { width: 83px; min-height: 33px; }
.site-footer .payment-logos .payment-logo-bca img { width: 83px; height: auto; }
.site-footer .payment-logo-binance img { width: 24px; height: 24px; }
.site-footer .payment-summary { flex: 0 1 auto; }
.site-footer .payment-summary > p, .site-footer .payment-support > p { margin: 0; color: #596b84; font-size: 14px; line-height: 1.8; }
.site-footer .install-area { padding: 0; gap: 12px 20px; border: 0; }
.site-footer .install-area p { font-size: 14px; }
.site-footer .footer-bottom { padding: 0; border: 0; font-size: 12px; color: #65738a; }

@media (min-width: 1100px) {
  body:has(.customer-app) .site-header .header-inner { width: min(1360px, calc(100% - 48px)); }
}
@media (max-width: 1150px) and (min-width: 961px) {
  .customer-app { grid-template-columns: 176px minmax(0, 1fr); }
  .customer-app .ca-main { padding-left: 25px; }
  .customer-app .ca-dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 24px 20px; }
  .customer-app .ca-wallet-card, .customer-app .ca-action { padding: 23px; }
  .customer-app .ca-balance { font-size: 29px; }
  .customer-app .ca-order-row { padding-inline: 19px; }
}
@media (max-width: 960px) {
  .site-header .desktop-nav { gap: 3px; margin-right: 0; }
  .site-header .desktop-nav a { padding-inline: 10px; font-size: 13px; }
  .storefront-home .shop-intro { min-height: 350px; gap: 24px; padding-block: 30px 36px; }
  .storefront-home .shop-intro-copy h1 { font-size: clamp(32px, 4.35vw, 42px); }
  .storefront-home .shop-payments { gap: 36px; }
  .product-v2 .selection-summary.product-purchase { position: static; max-width: none; }
  .customer-app { grid-template-columns: minmax(0, 1fr); width: calc(100% - 48px); margin-top: 23px; }
  .customer-app .ca-sidebar { display: none; }
  .customer-app .ca-main { padding: 0 0 24px; }
  .customer-app .ca-dashboard-grid { grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr); }
  .customer-app .ca-wallet-card, .customer-app .ca-action { padding: 23px; }
}
@media (max-width: 800px) {
  .site-header .header-inner { gap: 16px; width: calc(100% - 32px); }
  .site-header .wordmark.brand-original { gap: 9px; }
  .site-header .brand-original .ayri-brand-image { width: 46px; }
  .site-header .brand-caption > strong { font-size: 15px; }
  .site-header .desktop-nav a { padding-inline: 9px; }
  .site-header .header-actions { gap: 8px; }
  .storefront-home .shop-payments { grid-template-columns: minmax(0, 1fr); padding-block: 44px 52px; gap: 24px; }
  .storefront-home .shop-payments .payment-options { max-width: none; }
  .storefront-home .payments-intro h2 { font-size: 30px; }
  .customer-app .ca-dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .customer-app .ca-dashboard-wallet { order: 1; }
  .customer-app .ca-recent { order: 2; }
  .customer-app .ca-support { order: 3; }
  .customer-app .ca-wallet-card { max-width: none; }
  .customer-app .ca-wallet-card > .ca-button { width: auto; align-self: flex-start; }
}
@media (max-width: 640px) {
  :root { --header: 64px; }
  html { scroll-padding-top: 92px; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .site-header { top: 0; width: 100%; height: 64px; margin: 0; border-radius: 0; }
  .site-header .header-inner { width: calc(100% - 24px); gap: 10px; }
  .site-header .wordmark.brand-original { min-height: 44px; gap: 8px; }
  .site-header .brand-original .ayri-brand-image { width: 44px; height: auto; }
  .site-header .brand-caption > strong { font-size: 14px; }
  .site-header .brand-caption > span { font-size: 8px; letter-spacing: .065em; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-actions .button { min-height: 44px; padding: 10px 12px; gap: 7px; font-size: 12px; }
  .site-header .header-balance { font-size: 12px; }
  .mobile-nav {
    inset: auto 0 0;
    min-height: calc(72px + env(safe-area-inset-bottom));
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
    gap: 4px;
    border: 0;
    border-top: 1px solid rgb(196 212 234 / 85%);
    border-radius: 0;
    background: var(--ay-surface-strong);
    box-shadow: 0 10px 35px -16px rgb(20 47 89 / 27%), inset 0 1px 0 #fff;
    -webkit-backdrop-filter: var(--ay-glass-filter);
    backdrop-filter: var(--ay-glass-filter);
  }
  .mobile-nav > a { min-width: 44px; min-height: 54px; border-radius: 11px; font-size: 11px; gap: 3px; color: #53647e; }
  .mobile-nav > a.active { color: #1746cc; background: #eaf0fc; }
  .mobile-nav > a::before { content: none; }
  .mode-banner { margin-top: 8px; }
  .storefront-home .shop-intro { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 16px; padding-block: 26px 28px; }
  .storefront-home .shop-intro-copy > .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .storefront-home .shop-intro-copy h1 { max-width: 440px; font-size: clamp(32px, 8.5vw, 36px); line-height: 1.15; letter-spacing: -.045em; }
  .storefront-home .hero-lead { max-width: 360px; margin-top: 14px; font-size: 14px; line-height: 1.8; }
  .storefront-home .hero-actions { margin-top: 20px; gap: 10px 20px; }
  .storefront-home .hero-actions > .button { min-height: 48px; padding: 12px 18px; font-size: 14px; }
  .storefront-home .hero-actions > .text-link { font-size: 14px; }
  .storefront-home .hero-art { width: min(100%, 260px); justify-self: center; }
  .storefront-home .catalog-section { padding-block: 30px 38px; scroll-margin-top: 92px; }
  .storefront-home .section-heading { margin-bottom: 20px; }
  .storefront-home .section-heading :is(h1, h2) { font-size: 28px; }
  .storefront-home .catalog-toolbar { gap: 9px; margin-bottom: 13px; }
  .storefront-home .catalog-filters { margin-bottom: 18px; }
  .storefront-home .catalog-grid { gap: 20px; }
  .storefront-home .catalog-card h3 { font-size: 23px; }
  .storefront-home .shop-payments { padding-block: 36px 44px; gap: 23px; scroll-margin-top: 92px; }
  .storefront-home .payments-intro h2 { font-size: 28px; }
  .storefront-home .payments-intro > p { font-size: 14px; margin-top: 10px; }
  .storefront-home .shop-payments .payment-options { padding: 22px 20px; gap: 20px; border-radius: 13px; }
  .storefront-home .qris-option { display: block; }
  .storefront-home .payment-qris-mark { width: 86px; height: auto; margin: 0 0 15px; }
  .storefront-home .qris-option h3 { font-size: 18px; }
  .storefront-home .qris-option > p { margin-top: 8px; }
  .storefront-home .payment-alternatives > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 13px; }
  .login-page.login-compact { min-height: 0; padding-block: 32px 42px; }
  .login-compact .login-form { padding: 26px 23px; border-radius: 15px; }
  .login-compact .login-form > :is(h1, h2) { font-size: 32px; }
  .login-compact .account-onboarding { margin-top: 18px; padding-top: 15px; font-size: 13px; }
  .telegram-widget-host { margin-top: 18px; }
  .product-v2 .product-heading h1 { font-size: 30px; }
  .product-v2 .selection-summary.product-purchase { padding: 23px 21px; border-radius: 13px; }
  .product-v2 .product-cover-detail { border-radius: 8px; }
  .checkout-dialog { width: calc(100% - 24px); padding: 22px; max-height: calc(100dvh - 24px); border-radius: 15px; }
  .checkout-dialog .checkout-heading h2 { font-size: 28px; }
  .checkout-dialog .payment-option { padding: 14px 12px; }
  .checkout-dialog .checkout-summary > div { font-size: 13px; }
  .customer-app { width: calc(100% - 40px); margin: 18px auto 28px; }
  .customer-app .ca-toolbar { gap: 10px; padding-bottom: 15px; }
  .customer-app .ca-toolbar-actions { gap: 9px; }
  .customer-app .ca-toolbar-actions > .ca-button { padding: 10px 12px; font-size: 13px; }
  .customer-app .ca-heading { gap: 12px; flex-wrap: nowrap; padding-block: 0 20px; }
  .customer-app .ca-heading h1 { font-size: 28px; line-height: 1.25; }
  .customer-app .ca-heading .ca-toolbar-actions { gap: 6px; }
  .customer-app .ca-heading .ca-toolbar-actions > .ca-button { width: 44px; padding: 10px; gap: 0; }
  .customer-app .ca-heading .ca-toolbar-actions > .ca-button > span { display: none; }
  .customer-app .ca-profile-toggle { width: 44px; justify-content: center; padding: 0; }
  .customer-app .ca-profile-toggle > .bx { display: none; }
  .customer-app .ca-main { padding-bottom: 0; }
  .customer-app .ca-counts { padding-top: 16px; }
  .customer-app .ca-orders-counts { padding-bottom: 20px; }
  .customer-app .ca-order-filters { grid-template-columns: minmax(0, 1fr) minmax(120px, .8fr); gap: 12px; padding: 16px 16px 8px; }
  .customer-app .ca-order-filters label { margin-bottom: 6px; }
  .customer-app .ca-order-filters :is(input, select) { font-size: 14px; height: 46px; }
  .customer-app .ca-result-count { margin-block: 8px 14px; padding-inline: 16px; }
  .customer-app .ca-heading p { font-size: 14px; }
  .customer-app .ca-action { padding: 23px 20px; }
  .customer-app .ca-action h2 { font-size: 25px; margin-top: 21px; }
  .customer-app .ca-action-total { gap: 18px; flex-wrap: wrap; }
  .customer-app .ca-action-total strong { font-size: 28px; }
  .customer-app .ca-action-total > .ca-button { font-size: 14px; padding: 12px 15px; }
  .customer-app .ca-wallet-card { padding: 23px; }
  .customer-app .ca-wallet-card .ca-balance { font-size: 31px; margin-top: 20px; }
  .customer-app .ca-wallet-card .ca-wallet-copy { font-size: 14px; max-width: none; }
  .customer-app .ca-wallet-card > .ca-button { width: 100%; align-self: stretch; margin-top: 22px; padding: 12px 14px; font-size: 14px; }
  .customer-app .ca-counts dt { font-size: 12px; }
  .customer-app .ca-section-head { padding: 21px 19px 17px; }
  .customer-app .ca-section-head .ca-text-link { font-size: 13px; }
  .customer-app .ca-order-row { padding: 18px; }
  .customer-app .ca-order-info > p { font-size: 12px; }
  .customer-app .ca-order-value .badge { font-size: 11px; }
  .customer-app .ca-entry-description p { font-size: 12px; }
  .customer-app .ca-order-filters { padding-inline: 19px; }
  .customer-app .ca-result-count { padding-inline: 19px; font-size: 13px; }
  .site-footer { padding-block: 16px; }
  .site-footer .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .site-footer .footer-bottom { flex-direction: row; align-items: center; border: 0; padding: 0; gap: 6px 14px; }
  .site-footer .payment-support { padding: 0; gap: 12px; border: 0; flex-wrap: nowrap; }
  .site-footer .payment-logos { flex-basis: auto; gap: 16px; }
  .site-footer .payment-summary { flex: 0 1 auto; }
  .site-footer .payment-summary > p { font-size: 12px; }
  .site-footer .install-area { grid-column: 1; grid-row: auto; padding: 0; }
  .site-footer .install-area > .button { margin: 0; }
  .site-footer .footer-actions { align-items: center; justify-content: flex-start; gap: 10px 24px; }
  .site-footer .payment-support { gap: 18px; }
  .site-footer .payment-logos { flex-basis: auto; gap: 16px; }
  .site-footer .payment-summary { flex-basis: auto; }
  .site-footer .payment-summary > p, .site-footer .payment-support > p { font-size: 12px; }
  .site-footer .install-area > .button { font-size: 14px; }
  .site-footer .footer-bottom { gap: 6px 14px; padding-top: 0; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 430px) {
  .site-header .header-balance > .bx { display: none; }
}
@media (max-width: 374px) {
  .site-header .brand-original .ayri-brand-image { width: 42px; }
  .site-header .header-inner { gap: 8px; }
  .site-header .header-actions .button { padding-inline: 10px; }
  .customer-app .ca-section-head { flex-wrap: wrap; gap: 5px 14px; }
  .customer-app .ca-balance { font-size: 29px; }
}

/* Explicit solid fallback; unsupported blur never means unreadable glass. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --ay-surface: #fff; --ay-surface-strong: #fff; --ay-glass-filter: none; --ay-blue-surface: #1746cc; }
  .checkout-dialog::backdrop { background: rgb(25 42 68 / 60%); }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --ay-surface: #fff; --ay-surface-strong: #fff; --ay-glass-filter: none; --ay-blue-surface: #1746cc; }
  body { background-image: none; }
  .checkout-dialog::backdrop { background: #293a53; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.site-header, .site-footer, .mobile-nav, .main-content, .checkout-dialog),
  :is(.site-header, .site-footer, .mobile-nav, .main-content, .checkout-dialog) *,
  :is(.site-header, .site-footer, .mobile-nav, .main-content, .checkout-dialog) *::before,
  :is(.site-header, .site-footer, .mobile-nav, .main-content, .checkout-dialog) *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  body { background: #fff; }
  .product-v2 .selection-summary.product-purchase,
  .order-detail-page :is(.order-cost, .order-payment, .delivery-section) { background: #fff; box-shadow: none; backdrop-filter: none; }
}
