/*
  SIRISTAR PATCH 94 — CLEAN CSS
  One canonical stylesheet for storefront + admin.
  Do not append old patch blocks below this file.
*/

:root {
  --si-bg: #fbf6ea;
  --si-bg-soft: #fffaf1;
  --si-surface: rgba(255, 255, 255, .88);
  --si-surface-solid: #fffdf8;
  --si-ink: #221f1b;
  --si-ink-soft: #6d6257;
  --si-muted: #7b7168;
  --si-gold: #b88620;
  --si-gold-deep: #9b6d15;
  --si-gold-soft: #ead7ad;
  --si-gold-pale: #f6ead0;
  --si-line: rgba(184, 134, 32, .28);
  --si-line-soft: rgba(184, 134, 32, .16);
  --si-shadow: 0 20px 60px rgba(82, 58, 20, .10);
  --si-shadow-soft: 0 12px 34px rgba(82, 58, 20, .08);
  --si-radius: 28px;
  --si-radius-sm: 18px;
  --si-max: 1180px;
  --si-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", "Helvetica Neue", Arial, sans-serif;
  --si-brand-font: Georgia, "Times New Roman", serif;
  --si-word-bg: url("bg/siristar-gold-word-soft61.webp");
  --si-sr-bg: url("bg/siristar-gold-sr-soft61.webp");
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--si-ink);
  font-family: var(--si-font);
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(circle at 16% 0%, rgba(184, 134, 32, .13), transparent 32rem),
    radial-gradient(circle at 94% 12%, rgba(184, 134, 32, .08), transparent 30rem),
    linear-gradient(180deg, #fffdf8 0%, var(--si-bg) 48%, #fffaf0 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .26;
  background-image: var(--si-word-bg);
  background-size: 960px auto;
  background-position: center top;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 74%, transparent 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--si-gold-deep); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(184, 134, 32, .35); outline-offset: 3px; }

/* Shared layout */
.section,
.home21-main {
  width: min(var(--si-max), calc(100% - 32px));
  margin: 0 auto;
}
.section { padding: 34px 0 56px; }
.narrow { max-width: 850px; }
.muted { color: var(--si-muted); }
.empty {
  padding: 28px;
  border: 1px solid var(--si-line);
  border-radius: var(--si-radius-sm);
  background: rgba(255,255,255,.74);
  color: var(--si-muted);
  text-align: center;
}
.card,
.form-card,
.payment-help-card,
.siristar-help-card,
.thank-card,
.track-help-card,
.simple-table-card,
.copy-account-box,
.size-box,
.purchase-card,
.power-box,
.shop-filter-panel,
.footer-contact-card {
  background: var(--si-surface);
  border: 1px solid var(--si-line);
  border-radius: var(--si-radius);
  box-shadow: var(--si-shadow-soft);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 0 0 22px;
}
.section-head h1,
.section-head h2,
.products-compact-head h1,
.product-title-block h1,
.admin-top h1 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -.03em;
}
.section-head p,
.products-compact-head p { margin: 8px 0 0; color: var(--si-muted); }

/* Header: single source of truth for every page */
.site-header.siristar-main-header,
.site-header.pro-header {
  position: relative;
  z-index: 10;
  min-height: 108px;
  padding: 24px clamp(22px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--si-line-soft);
  background: rgba(255, 252, 246, .82);
  backdrop-filter: blur(18px);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.site-logo-img .logo-mark,
.logo-mark {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 999px;
  filter: drop-shadow(0 10px 22px rgba(184,134,32,.15));
}
.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.logo-text strong {
  font-family: var(--si-brand-font);
  font-size: 24px;
  line-height: 1;
  letter-spacing: .16em;
  color: var(--si-gold-deep);
  white-space: nowrap;
}
.logo-text small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .22em;
  color: var(--si-muted);
  white-space: nowrap;
}
.site-header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.site-nav.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 5vw, 48px);
  white-space: nowrap;
}
.site-nav.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  color: var(--si-ink-soft);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.site-nav.main-nav a:hover { color: var(--si-gold-deep); }
.cart-pill,
.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 82px;
  height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(184, 134, 32, .36);
  border-radius: 999px;
  background: rgba(255, 250, 241, .82);
  box-shadow: 0 12px 30px rgba(184, 134, 32, .10);
  color: var(--si-gold-deep);
  font-weight: 800;
}
.header-cart span:not(.cart-icon) { display: none; }
.cart-icon { font-size: 24px; line-height: 1; }

/* Buttons */
.btn,
.line-add-btn,
.checkout-btn,
.add-cart-btn,
.product-back-btn,
.product-other-btn,
.copy-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(184, 134, 32, .42);
  border-radius: 999px;
  background: linear-gradient(180deg, #b88620 0%, #9d6f17 100%);
  color: #fff;
  font-weight: 850;
  letter-spacing: -.01em;
  box-shadow: 0 14px 28px rgba(155, 109, 21, .16);
  text-align: center;
}
.btn:hover,
.line-add-btn:hover,
.checkout-btn:hover,
.add-cart-btn:hover,
.copy-account-btn:hover { color: #fff; transform: translateY(-1px); }
.btn-outline,
.product-back-btn,
.product-other-btn,
.continue-shopping-btn,
.line-add-btn {
  background: linear-gradient(180deg, #fffdf8 0%, #f7ecd4 100%);
  color: var(--si-gold-deep);
  box-shadow: 0 12px 24px rgba(155, 109, 21, .10);
}
.btn-outline:hover,
.line-add-btn:hover,
.product-back-btn:hover,
.product-other-btn:hover { color: var(--si-gold-deep); }
.btn-sm { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.btn-danger-outline { color: #a33a28; border-color: rgba(163,58,40,.35); background: #fff7f5; }
button[disabled], .btn[disabled] { opacity: .52; cursor: not-allowed; transform: none; }
.link-button,
.mini-link,
.simple-action-link,
.simple-ems-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--si-gold-deep);
  font-weight: 800;
}

/* Forms */
.field { display: grid; gap: 8px; color: var(--si-ink-soft); font-weight: 750; }
.field input,
.field select,
.field textarea,
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], textarea, select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--si-line);
  border-radius: 18px;
  padding: 12px 16px;
  color: var(--si-ink);
  background: rgba(255, 255, 255, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
textarea { min-height: 110px; resize: vertical; }
.form-card { padding: 24px; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.check-row,
.field-check-alone { display: flex; align-items: center; gap: 10px; }
.inline-form,
.inline-block-form { display: inline-flex; align-items: center; gap: 8px; }

/* Alerts and badges */
.alert {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--si-line);
  background: rgba(255,255,255,.78);
  color: var(--si-ink-soft);
}
.alert-ok { border-color: rgba(59, 130, 91, .28); background: #f3fbf5; color: #235c39; }
.alert-warn { border-color: rgba(176, 105, 38, .30); background: #fff8ed; color: #794a18; }
.alert-note { border-color: var(--si-line); background: #fffaf1; }
.badge,
.status-chip,
.cart-status,
.sku-status,
.qtyBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid var(--si-line);
  border-radius: 999px;
  background: #fffaf1;
  color: var(--si-gold-deep);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}
.badge-ok,
.cart-status.ready_stock,
.sku-row.ready_stock .sku-status { border-color: rgba(59,130,91,.28); background: #f3fbf5; color: #245c3a; }
.badge-gold,
.cart-status.restocking,
.sku-row.restocking .sku-status { border-color: var(--si-line); background: #fff6df; color: var(--si-gold-deep); }
.cart-status.closed,
.sku-row.closed .sku-status { border-color: rgba(140,70,70,.22); background: #fff3f0; color: #8b3326; }

/* Shared footer */
.site-footer.siristar-contact-footer,
.site-footer.pro-footer {
  width: min(var(--si-max), calc(100% - 32px));
  margin: 20px auto 34px;
  padding: 28px clamp(18px, 4vw, 34px);
  border: 1px solid var(--si-line);
  border-radius: var(--si-radius);
  background:
    linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.82)),
    var(--si-sr-bg) center / 760px auto repeat,
    rgba(255,250,241,.86);
  box-shadow: var(--si-shadow-soft);
  text-align: center;
}
.footer-brand-block {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 0 18px;
  color: var(--si-ink-soft);
}
.footer-logo { width: 58px; height: 58px; filter: drop-shadow(0 10px 22px rgba(184,134,32,.13)); }
.footer-brand-block strong {
  font-family: var(--si-brand-font);
  color: var(--si-gold-deep);
  font-size: 24px;
  letter-spacing: .16em;
  line-height: 1;
}
.footer-brand-block span {
  display: block;
  color: var(--si-muted);
  line-height: 1.35;
}
.footer-tagline-en {
  margin-top: 2px;
  font-size: 15px;
  letter-spacing: .03em;
}
.footer-tagline-th {
  margin-top: 2px;
  font-size: 15px;
  color: var(--si-ink-soft);
}
.footer-contact-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.76);
}
.footer-contact-title {
  margin-bottom: 10px;
  color: var(--si-gold-deep);
  font-family: var(--si-brand-font);
  font-size: 22px;
  letter-spacing: .10em;
  font-weight: 900;
}
.footer-contact-lines {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  color: var(--si-ink-soft);
  font-size: 16px;
}
.footer-contact-lines strong,
.footer-contact-lines a:not(.line-add-btn) { color: var(--si-ink); font-weight: 850; }
.line-add-btn { min-height: 42px; padding: 9px 18px; }

/* Home page */
.home21-main { padding: 30px 0 56px; }
.home21-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: clamp(54px, 8vw, 92px) 24px;
  border: 1px solid var(--si-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.95), rgba(255,250,241,.78) 42%, rgba(255,255,255,.70) 100%),
    var(--si-word-bg) center / 960px auto repeat;
  box-shadow: var(--si-shadow);
  text-align: center;
}
.home21-hero-orbit {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: url("logo-mark.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 38px rgba(184,134,32,.14));
}
.home21-hero-inner { display: grid; justify-items: center; gap: 18px; }
.home21-kicker { margin: 0; color: var(--si-gold-deep); font-weight: 800; letter-spacing: .04em; }
.home21-hero h1 {
  margin: 0;
  font-family: var(--si-brand-font);
  font-size: clamp(46px, 9vw, 104px);
  line-height: .9;
  letter-spacing: .13em;
  color: var(--si-gold-deep);
  text-shadow: 0 16px 38px rgba(184,134,32,.10);
}
.home21-subtitle { margin: 0; font-size: clamp(20px, 3vw, 30px); letter-spacing: .05em; color: var(--si-ink-soft); }
.home21-thai { margin: 0; color: var(--si-ink-soft); font-size: clamp(18px, 2.5vw, 26px); line-height: 1.8; }
.home21-stars { position:absolute; right:7%; top:22%; color:rgba(184,134,32,.35); font-size:40px; }
.home21-shop,
.home21-power { padding: 46px 0 0; }
.home21-section-head { display:grid; justify-items:center; gap:6px; margin-bottom:20px; text-align:center; }
.home21-section-head p { margin:0; color:var(--si-gold-deep); font-weight:900; letter-spacing:.16em; font-size:13px; }
.home21-section-head h2 { margin:0; font-size: clamp(28px, 4vw, 44px); line-height:1.2; }
.home21-tabs { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin:0 0 24px; }
.home21-tab {
  min-height:42px; padding:8px 18px; border-radius:999px; border:1px solid var(--si-line);
  background:rgba(255,255,255,.75); color:var(--si-ink-soft); font-weight:850;
}
.home21-tab.is-active { background:linear-gradient(180deg,#b88620,#9b6d15); color:#fff; }
.home21-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap:24px; }
.home21-card,
.product-card,
.preview-product-card {
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid var(--si-line);
  border-radius:28px;
  background:rgba(255,255,255,.86);
  box-shadow:var(--si-shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home21-card:hover,
.product-card:hover,
.preview-product-card:hover { transform: translateY(-3px); border-color: rgba(184,134,32,.45); box-shadow:var(--si-shadow); color:inherit; }
.home21-card-image,
.product-img {
  position:relative;
  margin:0;
  aspect-ratio:4/5;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(180deg,#fff,#fffaf1);
  border-bottom:1px solid var(--si-line-soft);
}
.home21-card-image img,
.product-img img { width:100%; height:100%; object-fit:cover; }
.home21-card-image figcaption,
.home21-card-image .status-chip,
.product-img .status-chip {
  position:absolute;
  right:16px;
  bottom:16px;
  background:rgba(255,250,241,.92);
  backdrop-filter:blur(10px);
}
.home21-card-body,
.product-info { padding:20px 22px 24px; display:grid; gap:9px; }
.home21-card-meta,
.product-kind { color:var(--si-gold-deep); font-weight:850; font-size:15px; }
.home21-card h3,
.product-power-title { margin:0; font-size: clamp(24px, 3vw, 34px); line-height:1.22; letter-spacing:-.04em; }
.home21-card p,
.product-sub { margin:0; color:var(--si-ink-soft); font-size:17px; }
.home21-card strong,
.price { color:var(--si-gold-deep); font-size:24px; font-weight:900; margin-top:6px; }
.home21-more { display:flex; justify-content:center; margin:28px 0 0; }
.home21-more a { border:1px solid var(--si-line); border-radius:999px; padding:12px 22px; color:var(--si-gold-deep); font-weight:850; background:rgba(255,255,255,.8); }
.home21-power-intro { margin:0 auto 18px; max-width:520px; text-align:center; color:var(--si-muted); }
.home21-power-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap:14px; }
.home21-power-card { border:1px solid var(--si-line); border-radius:24px; background:rgba(255,255,255,.78); padding:18px; text-align:center; box-shadow:var(--si-shadow-soft); }
.home21-power-card span { display:block; color:var(--si-muted); font-size:13px; font-weight:800; }
.home21-power-card strong { display:block; color:var(--si-gold-deep); font-size:38px; line-height:1; margin:8px 0; }
.home21-power-card em { display:grid; gap:2px; font-style:normal; color:var(--si-ink-soft); font-size:14px; }
.home21-alert,
.home21-empty { padding:22px; border-radius:20px; background:#fff8ed; border:1px solid var(--si-line); text-align:center; color:var(--si-ink-soft); }

/* Product listing */
.products-page { max-width: var(--si-max); }
.products-compact-head {
  margin: 0 0 22px;
  padding: 26px 30px;
  border: 1px solid var(--si-line);
  border-radius: 28px;
  background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.86)), var(--si-word-bg) center / 900px auto repeat;
  box-shadow: var(--si-shadow-soft);
}
.products-compact-head h1 { font-size: clamp(34px, 5vw, 50px); }
.products-compact-head p { font-size: 19px; }
.products-filter-panel { padding: 20px; margin-bottom: 22px; }
.products-filter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.minimal-filter-field select { min-height: 54px; font-weight: 850; color: var(--si-ink); }
.filter-reset { min-height: 54px; white-space: nowrap; }
.simple-result-head,
.result-head { align-items:center; }
.simple-result-head h2 { font-size: 23px; margin: 0; }
.simple-result-head p { margin: 0; }
.product-grid,
.pro-product-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:28px; }
.product-card { min-height: 100%; }
.no-img,
.home21-noimage { color:rgba(184,134,32,.28); font-family:var(--si-brand-font); font-size:24px; letter-spacing:.15em; }
.product-card-clean-info { gap:10px; }

/* Product detail */
.product-detail-page { max-width: var(--si-max); }
.product-back-row { margin: 0 0 16px; }
.product-detail,
.premium-product-layout {
  display:grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
  gap:32px;
  align-items:start;
}
.product-gallery,
.gallery {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  align-content:start;
}
.gallery-item {
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  padding:0;
  overflow:hidden;
  border:1px solid var(--si-line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--si-shadow-soft);
}
.gallery-zoom-btn {
  display:block;
  cursor:zoom-in;
  text-align:left;
  color:inherit;
  font:inherit;
}
.gallery-item img {
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  transition:transform .22s ease, filter .22s ease;
}
.gallery-zoom-btn:hover img,
.gallery-zoom-btn:focus-visible img {
  transform:scale(1.035);
  filter:contrast(1.03) saturate(1.03);
}
.gallery-zoom-btn:focus-visible { outline:3px solid rgba(184,134,32,.24); outline-offset:3px; }
.zoom-hint {
  position:absolute;
  right:10px;
  bottom:10px;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 11px;
  border-radius:999px;
  border:1px solid rgba(184,134,32,.24);
  background:rgba(255,250,241,.88);
  color:var(--si-gold-deep);
  font-size:12px;
  font-weight:850;
  box-shadow:0 8px 18px rgba(82,58,20,.08);
  opacity:.92;
}
.zoom-hint::before { content:"⌕"; margin-right:5px; font-size:14px; }
.gallery-item.no-img.big {
  display:flex;
  align-items:center;
  justify-content:center;
}
.detail-info { display:grid; gap:20px; }
.product-title-block { padding: 4px 0 18px; border-bottom:1px solid var(--si-line); }
.product-title-block h1 { font-size: clamp(34px, 5vw, 54px); }
.power-box {
  padding:28px;
  text-align:center;
  background:linear-gradient(rgba(255,255,255,.80), rgba(255,255,255,.84)), var(--si-sr-bg) center / 720px auto repeat;
}
.power-number { color:var(--si-gold-deep); font-size:72px; line-height:.95; font-weight:900; letter-spacing:-.05em; }
.star-line { margin-top:14px; font-size:25px; font-weight:900; }
.name-line { margin-top:4px; font-size:20px; color:var(--si-ink-soft); font-weight:850; }
.short-desc {
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid var(--si-line);
  color:var(--si-ink-soft);
  font-size:19px;
  line-height:1.78;
  text-align:center;
}
.size-box,
.purchase-card { padding:24px; }
.size-box h2,
.purchase-card h2 { margin:0 0 14px; }
.sku-list { display:grid; gap:10px; }
.sku-row {
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  padding:14px 16px;
  border:1px solid var(--si-line);
  border-radius:18px;
  background:rgba(255,255,255,.86);
  cursor:pointer;
  transition:background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.sku-row:hover:not(.closed) {
  border-color:rgba(184,134,32,.40);
  background:#fffaf0;
  box-shadow:0 10px 24px rgba(122,88,27,.09);
}
.sku-row input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  pointer-events:none;
}
.sku-check {
  width:24px;
  height:24px;
  border-radius:999px;
  border:2px solid rgba(184,134,32,.42);
  background:#fffdf7;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:15px;
  font-weight:950;
  line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88);
  flex:none;
}
.sku-row.is-selected {
  border-color:rgba(184,134,32,.76);
  background:#fff7e5;
  box-shadow:0 12px 28px rgba(122,88,27,.12), 0 0 0 3px rgba(184,134,32,.10);
  transform:translateY(-1px);
}
.sku-row.is-selected .sku-check {
  border-color:#a9781c;
  background:#a9781c;
  color:#fff;
}
.sku-row.is-selected .sku-check::before { content:"✓"; }
.sku-row.closed,
.sku-row input:disabled ~ .sku-name,
.sku-row input:disabled ~ .sku-status {
  cursor:not-allowed;
  opacity:.64;
}
.sku-row.closed .sku-check,
.sku-row input:disabled + .sku-check {
  border-color:rgba(120,120,120,.25);
  background:#f3f0e8;
}
.sku-name { font-weight:850; min-width:0; }
.sku-name small { display:block; color:var(--si-muted); font-size:13px; font-weight:650; }
.sku-row.is-selected .sku-status {
  border-color:rgba(184,134,32,.30);
  background:#fffdf8;
  color:#7f5b18;
}
.summary-total strong { color:var(--si-gold-deep); font-size:28px; }
.qty-row,
.premium-qty-row { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:18px 0; }
.qty-stepper { display:inline-flex; align-items:center; border:1px solid var(--si-line); border-radius:999px; overflow:hidden; background:#fff; }
.qty-stepper input { width:74px; min-height:44px; border:0; border-left:1px solid var(--si-line-soft); border-right:1px solid var(--si-line-soft); border-radius:0; text-align:center; }
.qty-step-btn { width:46px; height:44px; border:0; background:#fffaf1; color:var(--si-gold-deep); font-size:22px; font-weight:900; }
.purchase-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.image-lightbox[hidden] { display:none; }
.image-lightbox { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:24px; }
.image-lightbox-backdrop { position:absolute; inset:0; background:rgba(22,18,14,.72); backdrop-filter:blur(4px); }
.image-lightbox-panel {
  position:relative;
  z-index:1;
  width:min(960px,94vw);
  max-height:90vh;
  margin:0;
  background:#fff;
  border:1px solid rgba(184,134,32,.22);
  border-radius:24px;
  padding:14px;
  box-shadow:0 28px 80px rgba(0,0,0,.35);
}
.image-lightbox-stage {
  display:grid;
  place-items:center;
  min-height:min(70vh,720px);
  border-radius:18px;
  background:linear-gradient(180deg,#fffaf1,#fff);
  overflow:hidden;
}
.image-lightbox-panel img {
  display:block;
  max-width:100%;
  max-height:76vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:16px;
}
.image-lightbox-close,
.image-lightbox-nav {
  position:absolute;
  z-index:2;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--si-gold-deep);
  box-shadow:0 12px 32px rgba(50,35,15,.18);
  cursor:pointer;
}
.image-lightbox-close { right:12px; top:12px; width:42px; height:42px; font-size:28px; line-height:1; }
.image-lightbox-nav {
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:64px;
  font-size:42px;
  line-height:1;
  display:grid;
  place-items:center;
}
.image-lightbox-prev { left:12px; }
.image-lightbox-next { right:12px; }
.image-lightbox-close:hover,
.image-lightbox-nav:hover { background:#fff8e8; }
.image-lightbox.is-single .image-lightbox-nav,
.image-lightbox.is-single .image-lightbox-counter { display:none; }
.image-lightbox-panel figcaption { display:none; }
.image-lightbox-counter {
  padding-top:12px;
  text-align:center;
  color:var(--si-gold-deep);
  font-size:13px;
  font-weight:850;
  letter-spacing:.02em;
}

/* Cart, checkout, payment, thank you, track */
.cart-layout,
.checkout-layout,
.order-admin-layout,
.two-col {
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  align-items:start;
}
.cart-list { display:grid; gap:14px; }
.cart-item {
  display:grid;
  grid-template-columns:92px minmax(0,1fr) 120px 150px;
  gap:16px;
  align-items:center;
  padding:16px;
  border:1px solid var(--si-line);
  border-radius:22px;
  background:rgba(255,255,255,.82);
  box-shadow:var(--si-shadow-soft);
}
.cart-thumb { width:92px; aspect-ratio:4/5; border-radius:16px; overflow:hidden; background:#fffaf1; display:grid; place-items:center; color:var(--si-gold-deep); font-weight:900; }
.cart-thumb img { width:100%; height:100%; object-fit:cover; }
.cart-info h3 { margin:0 0 4px; font-size:20px; }
.cart-info p { margin:0 0 8px; }
.cart-qty input { width:82px; min-height:42px; text-align:center; }
.cart-price { text-align:right; }
.cart-price strong { color:var(--si-gold-deep); font-size:20px; }
.cart-summary { position:sticky; top:18px; padding:22px; border:1px solid var(--si-line); border-radius:24px; background:rgba(255,255,255,.88); box-shadow:var(--si-shadow-soft); }
.cart-summary h2 { margin:0 0 14px; }
.summary-row { padding:8px 0; color:var(--si-ink-soft); }
.summary-total { margin:12px 0; padding-top:14px; border-top:1px solid var(--si-line); font-weight:900; }
.cart-summary-actions { display:grid; gap:10px; margin-top:12px; }
.summary-item { padding:10px 0; border-bottom:1px solid var(--si-line-soft); }
.payment-qr,
.qr-preview-box { display:grid; place-items:center; padding:18px; border:1px solid var(--si-line); border-radius:22px; background:#fff; }
.payment-qr img,
.qr-preview-box img { max-width:280px; margin:auto; }
.copy-account-box { padding:18px; display:grid; gap:10px; }
.copy-account-label { color:var(--si-muted); font-weight:750; }
.pay-now-notice,
.restock-notice { border-left:4px solid var(--si-gold); }
.thank-card { padding:26px; text-align:center; }
.order-no { color:var(--si-gold-deep); font-size:34px; font-weight:900; }
.spark { color:var(--si-gold); font-size:36px; }
.track-simple-v35 { display:grid; gap:20px; }
.simple-track-form { padding:22px; border:1px solid var(--si-line); border-radius:24px; background:rgba(255,255,255,.82); }
.simple-track-search-row { display:grid; grid-template-columns:1fr auto; gap:12px; }
.simple-result-head { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.simple-table-wrap,
.table-wrap { overflow:auto; }
.simple-track-table,
.admin-table { width:100%; border-collapse:collapse; min-width:680px; }
.simple-track-table th,
.simple-track-table td,
.admin-table th,
.admin-table td { padding:12px; border-bottom:1px solid var(--si-line-soft); text-align:left; vertical-align:top; }
.simple-track-table th,
.admin-table th { color:var(--si-ink-soft); font-size:13px; letter-spacing:.02em; }
.simple-order-items { display:grid; gap:10px; }
.simple-order-item { padding:12px; border:1px solid var(--si-line-soft); border-radius:16px; background:#fffaf4; }
.simple-order-item-name { font-weight:850; }
.simple-order-item-meta { color:var(--si-muted); font-size:14px; }
.simple-info-note,
.simple-info-note-top { color:var(--si-muted); font-size:14px; }
.siristar-help-card { padding:20px; }
.siristar-help-actions { display:flex; flex-wrap:wrap; gap:10px; }

/* Admin */
.admin-shell { min-height:100vh; display:grid; grid-template-columns:280px minmax(0,1fr); background:#fbf6ea; }
.admin-sidebar { position:sticky; top:0; height:100vh; overflow:auto; padding:22px; background:#211a12; color:#fff8e8; }
.admin-logo { padding:10px 10px 22px; border-bottom:1px solid rgba(255,255,255,.14); margin-bottom:18px; }
.admin-brand-main { font-family:var(--si-brand-font); letter-spacing:.12em; color:#f0d39a; font-size:22px; font-weight:900; }
.admin-brand-sub { color:rgba(255,255,255,.65); font-size:13px; margin-top:4px; }
.admin-nav { display:grid; gap:18px; }
.admin-nav-section { display:grid; gap:6px; }
.admin-nav-label { color:#d6b772; font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.admin-nav a { display:block; padding:10px 12px; border-radius:12px; color:rgba(255,255,255,.86); font-weight:750; }
.admin-nav a:hover { background:rgba(255,255,255,.10); color:#fff; }
.admin-main { padding:28px; min-width:0; }
.admin-top { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:22px; }
.admin-top h1 { font-size:32px; }
.admin-grid-2,
.sku-admin-grid,
.product-admin-grid,
.restock-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.admin-stats-grid,
.stats-grid,
.admin-dashboard-status-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; }
.admin-health-card,
.stat-card,
.card { padding:20px; border:1px solid var(--si-line); border-radius:22px; background:rgba(255,255,255,.86); box-shadow:var(--si-shadow-soft); }
.stat-label { color:var(--si-muted); font-size:13px; font-weight:850; }
.stat-value { color:var(--si-gold-deep); font-size:34px; font-weight:900; line-height:1.1; }
.admin-stat-link { display:block; }
.filter-card { padding:18px; margin-bottom:18px; }
.filter-form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; }
.actions,
.detail-actions,
.quick-actions-card,
.image-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.admin-note-form,
.status-override-form,
.super-payment-edit-form,
.recipient-edit-form,
.ship-form { display:grid; gap:12px; }
.note-box,
.order-total-box,
.payment-card,
.danger-card,
.super-danger-card,
.recipient-edit-card,
.status-override-card,
.quick-actions-card { padding:18px; border:1px solid var(--si-line); border-radius:20px; background:#fffdf8; }
.order-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.compact-grid { display:grid; gap:10px; }
.admin-slip-thumb,
.table-thumb { width:72px; height:72px; object-fit:cover; border-radius:12px; border:1px solid var(--si-line); }
.image-upload-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px; }
.image-upload-card { padding:14px; border:1px solid var(--si-line); border-radius:18px; background:#fffaf1; }
.image-preview,
.empty-img { aspect-ratio:4/5; border-radius:14px; background:#fff; display:grid; place-items:center; overflow:hidden; color:var(--si-muted); }
.image-preview img { width:100%; height:100%; object-fit:cover; }
.stock-metrics { display:flex; flex-wrap:wrap; gap:8px; }
.stock-box { padding:10px 12px; border:1px solid var(--si-line); border-radius:14px; background:#fffaf1; }
.preview-box { padding:18px; border:1px solid var(--si-line); border-radius:20px; background:#fffdf8; }
.small-title { font-size:14px; color:var(--si-muted); font-weight:850; }
.small-note,
.small-help,
.admin-health-note { color:var(--si-muted); font-size:13px; }
.gold { color:var(--si-gold-deep); font-weight:900; }
.mini-input { min-height:36px; padding:7px 10px; border-radius:10px; }
.upload-section { display:grid; gap:14px; }

/* Patch 99: admin CSS cleanup for products/arrival pages */
.admin-main .status-chip {
  position: static;
  right: auto;
  bottom: auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.table-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fffaf1;
}

.table-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.admin-main input[type="date"] {
  width: 100%;
  max-width: 220px;
}

.arrival-form .admin-table td:nth-child(3),
.arrival-form .admin-table td:nth-child(4) {
  min-width: 220px;
}

.product-admin-grid > .card:not(.form-card) {
  align-self: start;
}

.preview-product-card {
  max-width: 360px;
}

.preview-product-card .product-power-title,
.preview-product-card h3 {
  font-size: 24px;
}

@media (max-width: 760px) {
  .preview-product-card {
    max-width: none;
  }

  .admin-main input[type="date"] {
    max-width: 100%;
  }
}

/* Print label page */
.toolbar { position:sticky; top:0; z-index:5; padding:12px; background:#fffaf1; border-bottom:1px solid var(--si-line); }
.toolbarRow { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.sheet { background:#fff; color:#111; }
.wrap { max-width:980px; margin:0 auto; padding:18px; }
.grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.lbl { border:1px solid #111; padding:14px; min-height:260px; }
.brand { font-family:var(--si-brand-font); font-weight:900; letter-spacing:.12em; }
.topRow,.mid,.footRow { display:flex; justify-content:space-between; gap:12px; }
.ttl { font-weight:900; font-size:20px; }
.recv,.phone,.name { font-weight:850; }
.note,.meta,.secondary,.warn { color:#555; }

/* Responsive */
@media (max-width: 1024px) {
  .site-header.siristar-main-header,
  .site-header.pro-header { align-items:flex-start; min-height:150px; padding-bottom:26px; }
  .site-header-right { display:contents; }
  .site-nav.main-nav { top:auto; bottom:18px; transform:translateX(-50%); }
  .header-cart { align-self:flex-start; }
  .product-detail,
  .premium-product-layout,
  .cart-layout,
  .checkout-layout,
  .order-admin-layout,
  .two-col { grid-template-columns:1fr; }
  .cart-summary { position:static; }
  .admin-shell { grid-template-columns:1fr; }
  .admin-sidebar { position:relative; height:auto; }
  .admin-nav { grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); }
}
@media (max-width: 760px) {
  body { font-size:15px; }
  .section,
  .home21-main,
  .site-footer.siristar-contact-footer { width:min(100% - 22px, var(--si-max)); }
  .site-header.siristar-main-header,
  .site-header.pro-header { min-height:132px; padding:18px 18px 24px; }
  .logo-mark,
  .site-logo-img .logo-mark { width:52px; height:52px; }
  .logo-text strong { font-size:20px; letter-spacing:.13em; }

  .logo-text small { font-size:11px; letter-spacing:.18em; margin-top:4px; }
  .site-nav.main-nav { gap:24px; bottom:14px; }
  .site-nav.main-nav a { font-size:17px; min-height:38px; }
  .cart-pill, .header-cart { min-width:66px; height:48px; padding:0 15px; }
  .products-filter-form { grid-template-columns:1fr; }
  .section-head { align-items:start; flex-direction:column; }
  .product-grid,
  .home21-grid { grid-template-columns:1fr 1fr; gap:16px; }
  .product-info,
  .home21-card-body { padding:16px; }
  .product-power-title,
  .home21-card h3 { font-size:24px; }
  .product-sub,
  .home21-card p { font-size:15px; }
  .price,
  .home21-card strong { font-size:21px; }
  .cart-item { grid-template-columns:76px minmax(0,1fr); }
  .cart-qty,
  .cart-price { grid-column:2; text-align:left; }
  .form-grid-2,
  .form-grid-3,
  .admin-grid-2,
  .sku-admin-grid,
  .product-admin-grid,
  .restock-action-grid { grid-template-columns:1fr; }
  .purchase-actions { grid-template-columns:1fr; }
  .footer-contact-lines { flex-direction:column; gap:8px; }
}
@media (max-width: 460px) {
  .product-grid,
  .home21-grid { grid-template-columns:1fr; }
  .site-nav.main-nav { gap:16px; }
  .site-nav.main-nav a { font-size:16px; }
  .products-compact-head h1,
  .product-title-block h1 { font-size:32px; }
  .power-number { font-size:60px; }
  .short-desc { font-size:17px; }
}

@media print {
  body { background:#fff; }
  body::before,
  .site-header,
  .site-footer,
  .admin-sidebar,
  .admin-top,
  .toolbar { display:none !important; }
  .admin-shell { display:block; }
  .admin-main { padding:0; }
  .sheet { display:block; }
}


/* Patch 67: simple iPhone-safe size selected state */
@media (max-width: 640px) {
  .sku-row { grid-template-columns:auto 1fr; gap:10px 12px; }
  .sku-row .sku-status { grid-column:2; justify-self:start; }
  .image-lightbox { padding:14px; }
  .image-lightbox-panel { padding:10px; border-radius:20px; }
  .image-lightbox-stage { min-height:62vh; }
}


/* === SIRISTAR PATCH 68 MOBILE FILTER CLEANUP START === */
.products-filter-panel {
  padding: 18px 20px;
}
.products-filter-form.products-filter-form-inline {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, .8fr) auto;
  gap: 12px 16px;
  align-items: center;
}
.filter-line {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.filter-label-text {
  color: var(--si-ink-soft);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}
.filter-line .field {
  margin: 0;
  min-width: 0;
}
.filter-line select,
.minimal-filter-field select {
  width: 100%;
  min-height: 48px;
  padding: 9px 42px 9px 15px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 850;
  background-color: rgba(255,255,255,.88);
}
.products-filter-form-inline .filter-reset {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 760px) {
  .products-filter-panel {
    padding: 14px;
  }
  .products-filter-form.products-filter-form-inline {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .filter-line {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 8px;
  }
  .filter-label-text {
    font-size: 14px;
  }
  .filter-line select,
  .minimal-filter-field select {
    min-height: 46px;
    font-size: 15px;
    padding-left: 13px;
  }
  .products-filter-form-inline .filter-reset {
    min-height: 44px;
    width: 100%;
  }
}
@media (max-width: 390px) {
  .filter-line {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  .filter-label-text {
    font-size: 13px;
  }
  .filter-line select,
  .minimal-filter-field select {
    font-size: 14px;
  }
}
/* === SIRISTAR PATCH 68 MOBILE FILTER CLEANUP END === */


/* === PATCH 71: FOOTER SIMPLE CONTACT + CSS REPAIR === */
.footer-contact-simple {
  width: min(720px, 100%);
  margin: 16px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--si-ink-soft);
  font-size: 16px;
  line-height: 1.45;
}
.footer-contact-simple a { color: inherit; }
.footer-tel {
  color: var(--si-muted);
  font-size: clamp(15px, 3.5vw, 17px);
  font-weight: 650;
  text-align: center;
}
.footer-tel a {
  color: var(--si-ink-soft);
  font-weight: 850;
}
.footer-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  border: 1px solid rgba(184, 134, 32, .42);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7ecd4 100%);
  color: var(--si-gold-deep) !important;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(155, 109, 21, .10);
  text-align: center;
}
.footer-line-btn:hover { color: var(--si-gold-deep) !important; transform: translateY(-1px); }
@media (max-width: 640px) {
  .footer-contact-simple { gap: 10px; margin-top: 14px; }
  .footer-tel { font-size: 14px; }
  .footer-line-btn { min-height: 42px; padding: 9px 22px; }
}

/* === SIRISTAR PATCH 94 HOME HERO IMAGE === */
.home21-main { padding: 26px 0 56px; }

.home21-hero.home21-hero-art {
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: block;
  padding: 0;
  border: 1px solid var(--si-line);
  border-radius: 34px;
  background: #fffaf1;
  box-shadow: 0 24px 70px rgba(82, 58, 20, .13);
  text-align: center;
}
.home21-hero.home21-hero-art::before { display: none; }
.home21-hero-picture {
  display: block;
  width: 100%;
}
.home21-hero-picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.home21-hero-seo {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.home21-kicker,
.home21-stars,
.home21-hero-orbit { display: none !important; }

.home21-shop,
.home21-power { padding: 40px 0 0; }

.home21-shop-head,
.home21-power-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.home21-shop-head h2,
.home21-power-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.home21-count {
  margin: 0;
  color: var(--si-gold-deep);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.1;
}

.home21-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 0 0 24px;
}
.home21-category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--si-line);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--si-shadow-soft);
  color: var(--si-ink-soft);
  font-weight: 850;
  text-align: center;
}
.home21-category-link:hover {
  color: var(--si-gold-deep);
  border-color: rgba(184,134,32,.45);
}

.home21-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.home21-card-body { padding: 18px 18px 22px; gap: 8px; }
.home21-card-meta { color: var(--si-gold-deep); font-size: 14px; }
.home21-card h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.home21-card p { margin: 0; color: var(--si-ink-soft); font-size: 15px; }
.home21-card strong { margin-top: 4px; font-size: 22px; }
.home21-card-image figcaption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  color: var(--si-gold-deep);
}
.home21-more { display:flex; justify-content:center; margin:26px 0 0; }
.home21-more a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding: 12px 24px;
  border:1px solid var(--si-line);
  border-radius:999px;
  background:rgba(255,255,255,.84);
  color:var(--si-gold-deep);
  font-weight:900;
  box-shadow:var(--si-shadow-soft);
}

.home21-power-head { justify-items: center; text-align: center; margin-bottom: 20px; }
.home21-power-grid { grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)); gap: 14px; }
.home21-power-card { padding: 18px 14px; }

@media (max-width: 760px) {
  .site-header.siristar-main-header,
  .site-header.pro-header { min-height: 140px; padding: 18px 18px 26px; }
  .logo-mark,
  .site-logo-img .logo-mark { width: 64px; height: 64px; }
  .logo-text strong { font-size: 26px; letter-spacing: .14em; }
  .logo-text small { font-size: 13px; letter-spacing: .10em; margin-top: 5px; }
  .site-nav.main-nav { gap: 26px; bottom: 12px; }
  .site-nav.main-nav a { font-size: 17px; }
  .cart-pill, .header-cart { min-width: 82px; height: 52px; }

  .home21-main { padding-top: 20px; }
  .home21-hero.home21-hero-art {
    min-height: 0;
    padding: 0;
    border-radius: 30px;
  }

  .home21-shop,
  .home21-power { padding-top: 34px; }
  .home21-shop-head,
  .home21-power-head { margin-bottom: 16px; }
  .home21-shop-head h2,
  .home21-power-head h2 { font-size: 30px; }
  .home21-count { font-size: 20px; }
  .home21-categories { gap: 12px; margin-bottom: 20px; }
  .home21-category-link { min-height: 46px; padding: 10px 18px; font-size: 15px; }

  .home21-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home21-card-body { padding: 14px 14px 18px; }
  .home21-card h3 { font-size: 21px; }
  .home21-card p { font-size: 14px; }
  .home21-card strong { font-size: 19px; }
  .home21-card-meta { font-size: 13px; }
}

@media (max-width: 460px) {
  .home21-hero.home21-hero-art {
    min-height: 0;
    padding: 0;
    border-radius: 26px;
  }

  .home21-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .home21-category-link { width: auto; }
}


/* === SIRISTAR PATCH 86 PAYMENT MOBILE SPACING + BANK CARD === */
*, *::before, *::after {
  box-sizing: border-box;
}

.payment-bank-card {
  padding: 24px;
  display: grid;
  gap: 18px;
  margin: 18px 0 22px;
}

.payment-bank-info {
  color: var(--si-ink-soft);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 750;
  text-align: center;
}

.payment-bank-info strong,
.payment-bank-info b {
  color: var(--si-ink);
}

.copy-account-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.payment-bank-card + .payment-qr,
.payment-bank-card + form,
.payment-qr + form {
  margin-top: 18px;
}

main.narrow > .card,
main.narrow > .form-card,
main.narrow > .siristar-help-card,
main.narrow > .payment-help-card {
  margin-bottom: 20px;
}

.card > .alert:first-child {
  margin-top: 0;
}

.card > .form-card,
.card form.form-card {
  margin-top: 20px;
}

.field {
  min-width: 0;
}

.field input,
.field select,
.field textarea,
.field input[type="file"],
input[type="file"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.field input[type="file"],
input[type="file"] {
  min-height: 54px;
  padding: 12px 14px;
  overflow: hidden;
  color: var(--si-ink);
  background: rgba(255,255,255,.88);
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-grid-2,
.form-grid-3 {
  width: 100%;
  min-width: 0;
}

.form-card .btn[type="submit"] {
  width: fit-content;
  max-width: 100%;
  min-height: 52px;
  padding-left: 24px;
  padding-right: 24px;
}

.payment-qr {
  margin: 18px 0;
}

.payment-qr img {
  max-width: min(280px, 100%);
  height: auto;
}

@media (max-width: 760px) {
  .payment-bank-card {
    padding: 20px 16px;
    gap: 16px;
    margin: 16px 0 20px;
    border-radius: 26px;
  }

  .payment-bank-info {
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
  }

  .copy-account-btn {
    min-height: 54px;
    font-size: 17px;
  }

  .card,
  .form-card,
  .payment-help-card,
  .siristar-help-card,
  .copy-account-box {
    max-width: 100%;
  }

  .card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .form-card {
    padding: 18px 14px;
    gap: 14px;
    border-radius: 24px;
  }

  .field {
    gap: 8px;
  }

  .field input,
  .field select,
  .field textarea,
  .field input[type="file"],
  input[type="file"] {
    max-width: 100%;
    min-height: 52px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 17px;
    font-size: 16px;
  }

  .field textarea {
    min-height: 126px;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-card .btn[type="submit"] {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    justify-content: center;
  }

  .alert {
    margin: 14px 0;
    padding: 14px 14px;
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (max-width: 460px) {
  .payment-bank-info {
    font-size: 15px;
  }

  .card {
    padding-left: 14px;
    padding-right: 14px;
  }

  .form-card {
    padding: 16px 12px;
  }
}


/* === SIRISTAR PATCH 87 REMOVE HERO LOGO === */
.home21-hero-brandmark {
  display: none !important;
}

.home21-hero-inner {
  gap: 12px;
}

.home21-hero h1 {
  max-width: 100%;
  overflow-wrap: normal;
}

@media (max-width: 760px) {
  .home21-hero-inner {
    gap: 10px;
  }

  .home21-hero h1 {
    font-size: clamp(44px, 13vw, 66px);
    letter-spacing: .08em;
  }
}

@media (max-width: 460px) {
  .home21-hero h1 {
    font-size: 56px;
    letter-spacing: .075em;
  }
}


/* === SIRISTAR PATCH 88 HERO IMAGE V2 STRONGER ASTRAL RAYS === */
.home21-hero {
  background:
    linear-gradient(rgba(255,255,255,.42), rgba(255,255,255,.36)),
    url("hero-home-astral-v2.png") center center / cover no-repeat !important;
}

.home21-hero::before {
  background: radial-gradient(circle at 50% 12%, rgba(255,255,255,.68), rgba(255,255,255,.18) 44%, rgba(255,255,255,.08) 100%) !important;
}

.home21-hero-inner {
  gap: 10px;
}

.home21-hero h1 {
  font-size: clamp(48px, 8vw, 86px);
  letter-spacing: .095em;
}

.home21-subtitle {
  font-size: clamp(18px, 2.4vw, 27px);
}

.home21-thai {
  margin-top: 4px;
}

.home21-tagline {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .home21-hero {
    min-height: 300px;
    padding: 32px 18px 36px;
  }

  .home21-hero h1 {
    font-size: clamp(40px, 12vw, 60px);
    letter-spacing: .07em;
  }

  .home21-subtitle { font-size: 17px; }
  .home21-thai { font-size: 17px; }
  .home21-tagline { font-size: 17px; }
}

@media (max-width: 460px) {
  .home21-hero h1 {
    font-size: 48px;
    letter-spacing: .06em;
  }
}


/* === SIRISTAR PATCH 90 REMOVE HOME SHOP TITLE === */
.home21-shop-head {
  margin-bottom: 14px;
}

.home21-shop-head h2 {
  display: none !important;
}

.home21-count {
  display: block;
  margin: 0 0 14px;
}

@media (max-width: 760px) {
  .home21-shop-head {
    margin-bottom: 12px;
  }

  .home21-count {
    font-size: 24px;
    margin-bottom: 12px;
  }
}


/* === SIRISTAR PATCH 91 HERO V3 NINE STARS + SMALLER TITLE === */
.home21-hero {
  background:
    linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.24)),
    url("hero-home-astral-v3.png") center center / cover no-repeat !important;
}

.home21-hero::before {
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.62), rgba(255,255,255,.22) 34%, rgba(255,255,255,.10) 62%, rgba(255,255,255,.04) 100%) !important;
}

.home21-hero h1 {
  font-size: clamp(42px, 6.9vw, 74px);
  letter-spacing: .082em;
  line-height: .95;
}

.home21-subtitle {
  font-size: clamp(17px, 2.2vw, 25px);
}

@media (max-width: 760px) {
  .home21-hero {
    min-height: 300px;
    padding: 32px 18px 36px;
    background-position: center top !important;
  }

  .home21-hero h1 {
    font-size: clamp(36px, 11vw, 54px);
    letter-spacing: .062em;
  }

  .home21-subtitle { font-size: 16px; }
}

@media (max-width: 460px) {
  .home21-hero h1 {
    font-size: 46px;
    letter-spacing: .055em;
  }
}


/* === SIRISTAR PATCH 93 REMOVE HERO THAI LINES === */
.home21-thai {
  display: none !important;
}

.home21-hero-inner {
  gap: 12px;
}

.home21-tagline {
  margin-top: 4px;
  font-size: clamp(20px, 2.2vw, 28px);
}

@media (max-width: 760px) {
  .home21-hero {
    min-height: 270px;
    padding-top: 30px;
    padding-bottom: 32px;
  }

  .home21-hero-inner {
    gap: 10px;
  }

  .home21-tagline {
    margin-top: 4px;
    font-size: 17px;
  }
}

@media (max-width: 460px) {
  .home21-hero {
    min-height: 258px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .home21-tagline {
    font-size: 16px;
  }
}


/* === SIRISTAR PATCH 119: HERO RESPONSIVE STABILIZER ===
   Goal: keep the astral background beautiful across mobile/desktop.
   Text is HTML/CSS, so this treats the image as a flexible background.
*/
.home21-main {
  padding-top: clamp(18px, 2.4vw, 30px);
}

.home21-hero {
  width: min(100%, 1250px);
  margin: 0 auto;
  min-height: auto !important;
  height: clamp(300px, 25.5vw, 420px);
  padding: clamp(34px, 5vw, 58px) clamp(18px, 3vw, 36px) !important;
  border-radius: clamp(26px, 2.2vw, 34px);
  background-image:
    linear-gradient(rgba(255,255,255,.38), rgba(255,255,255,.34)),
    url("hero-home-astral-v3.png") !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.home21-hero::before {
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.64), rgba(255,255,255,.18) 44%, rgba(255,255,255,.05) 72%) !important;
}

.home21-hero-inner {
  transform: translateY(2px);
  gap: clamp(8px, 1.1vw, 13px) !important;
  max-width: min(88%, 760px);
}

.home21-hero h1 {
  font-size: clamp(54px, 6.2vw, 86px) !important;
  letter-spacing: .105em !important;
}

.home21-subtitle {
  font-size: clamp(17px, 1.85vw, 25px) !important;
}

.home21-tagline {
  font-size: clamp(18px, 1.95vw, 26px) !important;
}

/* Tablet: keep background from feeling too tall and keep text in safe center */
@media (max-width: 900px) {
  .home21-hero {
    width: calc(100% - 28px);
    height: clamp(300px, 46vw, 390px);
    background-size: 100% 100% !important;
  }

  .home21-hero h1 {
    font-size: clamp(54px, 11vw, 76px) !important;
  }
}

/* Mobile: use taller card, keep all important content in the center */
@media (max-width: 640px) {
  .home21-main {
    padding-top: 16px;
  }

  .home21-hero {
    width: calc(100% - 24px);
    height: clamp(330px, 63vw, 430px);
    padding: 34px 18px 38px !important;
    border-radius: 28px;
    background-size: 100% 100% !important;
    background-position: center center !important;
  }

  .home21-hero-inner {
    max-width: 92%;
    gap: 9px !important;
  }

  .home21-hero h1 {
    font-size: clamp(52px, 15vw, 70px) !important;
    letter-spacing: .095em !important;
  }

  .home21-subtitle {
    font-size: clamp(16px, 4.5vw, 19px) !important;
    letter-spacing: .055em;
  }

  .home21-tagline {
    font-size: clamp(17px, 4.8vw, 20px) !important;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  .home21-hero {
    height: 330px;
    width: calc(100% - 20px);
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .home21-hero h1 {
    font-size: 50px !important;
    letter-spacing: .085em !important;
  }

  .home21-subtitle {
    font-size: 15px !important;
  }

  .home21-tagline {
    font-size: 16px !important;
  }
}


/* === SIRISTAR PATCH 120: HERO MOBILE TEXT OVERFLOW FIX ===
   Fix: SIRISTAR title was too wide on mobile after responsive hero patch.
*/
.home21-hero,
.home21-hero * {
  box-sizing: border-box;
}

.home21-hero-inner {
  width: min(100%, 780px);
  max-width: calc(100% - 12px) !important;
  overflow: visible;
}

.home21-hero h1 {
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
}

/* Tablet and small laptop */
@media (max-width: 900px) {
  .home21-hero h1 {
    font-size: clamp(48px, 9.6vw, 68px) !important;
    letter-spacing: .075em !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .home21-hero {
    height: clamp(310px, 61vw, 390px);
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .home21-hero-inner {
    max-width: 100% !important;
  }

  .home21-hero h1 {
    font-size: clamp(42px, 12.2vw, 58px) !important;
    letter-spacing: .055em !important;
    line-height: .96 !important;
  }

  .home21-subtitle {
    font-size: clamp(15px, 4.1vw, 18px) !important;
    letter-spacing: .04em !important;
  }

  .home21-tagline {
    font-size: clamp(16px, 4.4vw, 19px) !important;
  }
}

/* Narrow phones */
@media (max-width: 430px) {
  .home21-hero h1 {
    font-size: clamp(39px, 11.8vw, 51px) !important;
    letter-spacing: .045em !important;
  }
}

/* Very narrow phones */
@media (max-width: 375px) {
  .home21-hero h1 {
    font-size: 42px !important;
    letter-spacing: .035em !important;
  }

  .home21-subtitle {
    font-size: 14px !important;
  }

  .home21-tagline {
    font-size: 15px !important;
  }
}



/* === SIRISTAR PATCH 95 HOME HERO REAL IMAGE FIX ===
   ใช้รูป Hero จริงเป็นภาพหน้าแรก ไม่ให้ CSS เก่าของ hero background มาครอบ / crop / ใส่ padding ทับ
*/
.home21-page .home21-main {
  padding-top: clamp(18px, 2.4vw, 30px) !important;
}

.home21-page .home21-hero.home21-hero-art {
  display: block !important;
  position: relative !important;
  width: min(calc(100% - 48px), 1420px) !important;
  max-width: 1420px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(184,134,32,.22) !important;
  border-radius: clamp(22px, 2.3vw, 34px) !important;
  background: #fffaf1 !important;
  background-image: none !important;
  box-shadow: 0 24px 70px rgba(82, 58, 20, .13) !important;
}

.home21-page .home21-hero.home21-hero-art::before,
.home21-page .home21-hero.home21-hero-art::after {
  content: none !important;
  display: none !important;
}

.home21-page .home21-hero.home21-hero-art .home21-hero-picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.home21-page .home21-hero.home21-hero-art .home21-hero-picture img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: inherit !important;
  transform: none !important;
}

.home21-page .home21-hero.home21-hero-art .home21-hero-seo {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 760px) {
  .home21-page .home21-main {
    padding-top: 18px !important;
  }

  .home21-page .home21-hero.home21-hero-art {
    width: calc(100% - 32px) !important;
    border-radius: 28px !important;
  }

  .home21-page .home21-shop,
  .home21-page .home21-power {
    padding-top: 34px !important;
  }
}

@media (max-width: 430px) {
  .home21-page .home21-hero.home21-hero-art {
    width: calc(100% - 24px) !important;
    border-radius: 24px !important;
  }
}

/* === SIRISTAR PATCH 101: HOME ANNOUNCEMENT === */
.home21-announcement {
  width: min(calc(100% - 48px), var(--si-max));
  margin: 34px auto 0;
  padding: 0;
}

.home21-announcement-card {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3.2vw, 46px);
  border: 1px solid rgba(184,134,32,.22);
  border-radius: clamp(24px, 2.4vw, 34px);
  background:
    radial-gradient(circle at 50% 0%, rgba(244,214,152,.28), rgba(244,214,152,0) 42%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,250,241,.88));
  box-shadow: var(--si-shadow-soft);
  text-align: center;
}

.home21-announcement-card::before,
.home21-announcement-card::after {
  content: "✦";
  position: absolute;
  top: 20px;
  color: rgba(184,134,32,.28);
  font-size: 22px;
  line-height: 1;
}
.home21-announcement-card::before { left: 24px; }
.home21-announcement-card::after { right: 24px; }

.home21-announcement-kicker {
  margin: 0;
  color: var(--si-gold-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home21-announcement h2 {
  margin: 0;
  color: var(--si-ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.home21-announcement-lines {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

.home21-announcement-lines p {
  margin: 0;
  color: var(--si-ink-soft);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
  font-weight: 700;
}

.home21-announcement-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(184,134,32,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  color: var(--si-gold-deep);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(82,58,20,.08);
}
.home21-announcement-link:hover {
  border-color: rgba(184,134,32,.52);
  background: #fff;
}

.admin-announcement-preview {
  width: 100%;
  margin: 12px 0 0;
}
.admin-announcement-preview .home21-announcement-card {
  box-shadow: none;
}

@media (max-width: 760px) {
  .home21-announcement {
    width: calc(100% - 32px);
    margin-top: 28px;
  }

  .home21-announcement-card {
    border-radius: 24px;
    padding: 22px 16px 24px;
  }

  .home21-announcement-card::before,
  .home21-announcement-card::after {
    top: 18px;
    font-size: 18px;
  }
  .home21-announcement-card::before { left: 16px; }
  .home21-announcement-card::after { right: 16px; }
}
