:root {
  --primary: #7c3aed;
  --primary-dark: #4c1d95;
  --primary-soft: #ede9fe;
  --accent: #16a34a;
  --accent-dark: #116b32;
  --ink: #17142b;
  --muted: #625d78;
  --background: #faf5ff;
  --surface: #ffffff;
  --surface-soft: #f4efff;
  --border: #ddd6fe;
  --danger: #b42318;
  --shadow-sm: 0 1px 2px rgba(26, 15, 67, .06);
  --shadow-md: 0 12px 30px rgba(76, 29, 149, .09);
  --shadow-lg: 0 20px 50px rgba(76, 29, 149, .14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --ease: 200ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
body::selection { background: var(--primary); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input[type="radio"] { cursor: pointer; }
h1, h2, h3, .brand strong, .btn { font-family: "Poppins", system-ui, sans-serif; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.18rem; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 108px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-150%); background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .46); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 255, .9); border-bottom: 1px solid rgba(221, 214, 254, .7); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; font: 700 17px/1 "Poppins", sans-serif; letter-spacing: -.1em; padding-right: 3px; }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: -.04em; }
.brand-copy small { color: var(--muted); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: .9rem; }
.primary-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; transition: color var(--ease); }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--primary-dark); }
.primary-nav a.is-active::after { content: ""; position: absolute; right: 0; bottom: 9px; left: 0; height: 2px; border-radius: 999px; background: var(--primary); }
.primary-nav .nav-cta { gap: 8px; padding: 10px 15px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--primary-dark); font-weight: 700; }
.primary-nav .nav-cta::after { display: none; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); min-width: 44px; min-height: 44px; }

.hero-section { position: relative; overflow: hidden; padding: 92px 0 76px; background: linear-gradient(132deg, #f8f4ff 0%, #fff 47%, #eefcf2 100%); }
.hero-section::before { content: ""; position: absolute; top: 0; right: 6%; width: 340px; height: 340px; border-radius: 50%; background: rgba(167, 139, 250, .16); filter: blur(40px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font: 700 .72rem/1 "Poppins", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(22, 163, 74, .12); }
.hero-copy h1 { max-width: 660px; margin: 24px 0; color: var(--ink); }
.hero-copy h1 em, .store-hero-content h1 em, .final-cta h2 em { color: var(--primary); font-style: normal; }
.hero-lead { max-width: 560px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; font-size: .92rem; font-weight: 700; transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(22, 163, 74, .22); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 24px rgba(22, 163, 74, .28); }
.btn-secondary { background: #fff; color: var(--primary-dark); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--primary-dark); border-color: transparent; }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-large { padding: 14px 24px; min-height: 54px; }
.hero-proof { display: flex; align-items: center; gap: 12px; max-width: 430px; color: var(--muted); font-size: .82rem; }
.hero-proof strong { color: var(--ink); }
.proof-avatars { display: flex; padding-left: 8px; }
.proof-avatars b { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; border: 2px solid #fff; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-size: .7rem; }
.proof-avatars b:nth-child(2) { background: #dcfce7; color: var(--accent-dark); }
.proof-avatars b:nth-child(3) { background: #ffedd5; color: #9a3412; }
.proof-avatars b:nth-child(4) { background: #e0e7ff; color: #3730a3; }
.hero-art { min-height: 520px; position: relative; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(124, 58, 237, .16); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 480px; height: 280px; }
.orbit-two { width: 320px; height: 530px; border-color: rgba(22, 163, 74, .15); transform: rotate(35deg); }
.hero-panel { position: relative; z-index: 1; width: min(100%, 470px); padding: 22px; border: 1px solid rgba(221, 214, 254, .85); border-radius: 24px; background: rgba(255, 255, 255, .88); box-shadow: var(--shadow-lg); }
.panel-topline, .panel-footer, .product-card-top, .product-card-footer, .product-meta, .detail-facts, .checkout-total, .success-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-topline { margin-bottom: 22px; color: var(--muted); font: 700 .68rem/1 "Poppins", sans-serif; letter-spacing: .13em; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-stack-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #ece9f6; }
.hero-stack-card > span:nth-child(2) { display: grid; gap: 3px; }
.hero-stack-card strong { font-size: .92rem; }
.hero-stack-card small { color: var(--muted); font-size: .65rem; letter-spacing: .06em; }
.stack-icon, .product-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font: 700 1.15rem/1 "Poppins", sans-serif; }
.stack-icon.violet, .product-icon.violet { background: #ede9fe; color: #6d28d9; }
.stack-icon.orange, .product-icon.orange { background: #ffedd5; color: #c2410c; }
.stack-icon.slate, .product-icon.slate { background: #e2e8f0; color: #334155; }
.stack-icon.blue, .product-icon.blue { background: #dbeafe; color: #1d4ed8; }
.stack-icon.pink, .product-icon.pink { background: #fce7f3; color: #be185d; }
.status-pill { padding: 5px 8px; border-radius: 999px; background: #dcfce7; color: var(--accent-dark); font-size: .67rem; font-weight: 700; }
.muted-card { opacity: .67; }
.stack-arrow { color: var(--primary); }
.panel-footer { margin-top: 18px; color: var(--muted); font-size: .72rem; }
.panel-footer span { display: inline-flex; align-items: center; gap: 6px; }
.panel-footer .icon { width: 15px; height: 15px; color: var(--accent); }
.floating-tag { position: absolute; z-index: 2; padding: 8px 11px; border: 1px solid rgba(221, 214, 254, .9); border-radius: 8px; background: rgba(255, 255, 255, .86); color: var(--primary-dark); box-shadow: var(--shadow-sm); font: 700 .64rem/1 "Poppins", sans-serif; letter-spacing: .08em; }
.tag-top { top: 13%; right: 0; transform: rotate(7deg); }
.tag-bottom { bottom: 9%; left: 0; transform: rotate(-6deg); }

.logo-wall-section { padding: 27px 0; border-top: 1px solid rgba(221, 214, 254, .8); border-bottom: 1px solid rgba(221, 214, 254, .8); background: #fff; }
.section-kicker { margin-bottom: 15px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.logo-wall { position: relative; overflow: hidden; width: 100%; padding: 4px 0; }
.logo-wall::before, .logo-wall::after { position: absolute; z-index: 2; top: 0; bottom: 0; width: 56px; pointer-events: none; content: ""; }
.logo-wall::before { left: 0; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%); }
.logo-wall::after { right: 0; background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%); }
.logo-track { display: flex; flex-wrap: nowrap; min-width: max-content; width: max-content; animation: logo-marquee 30s linear infinite; will-change: transform; }
.logo-set { display: flex; flex: 0 0 auto; flex-wrap: nowrap; align-items: center; width: max-content; gap: clamp(30px, 5vw, 76px); padding-right: clamp(30px, 5vw, 76px); }
.logo-wall:hover .logo-track, .logo-wall:focus-within .logo-track { animation-play-state: paused; }
.logo-chip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; color: #4e4965; font: 600 .86rem "Poppins", sans-serif; white-space: nowrap; }
.mini-logo { position: relative; display: grid; place-items: center; width: 32px; height: 32px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); color: var(--primary-dark); font: 700 .72rem "Poppins", sans-serif; }
.official-ai-logo { position: relative; z-index: 1; display: block; width: 18px; height: 18px; object-fit: contain; }
.mini-logo-fallback { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.mini-logo.openai { color: #1f9d73; }
.mini-logo.claude { color: #cc785c; }
.mini-logo.gemini { color: #4285f4; }
.mini-logo.grok { color: #111; }
.mini-logo.deepseek { color: #5186ff; }
.mini-logo.kimi { color: #4569f5; }
.mini-logo.minimax { color: #5c45df; }
@keyframes logo-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2 { margin: 14px 0 0; }
.section-heading p { max-width: 350px; margin-bottom: 2px; color: var(--muted); }
.section-heading.compact { align-items: center; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; min-height: 300px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.product-card:hover { border-color: #b9a4fa; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-top { margin-bottom: 22px; align-items: flex-start; }
.brand-badge { padding: 6px 9px; border-radius: 7px; background: var(--primary-soft); color: var(--primary-dark); font-size: .69rem; font-weight: 700; }
.brand-badge.orange { background: #ffedd5; color: #9a3412; }
.brand-badge.blue { background: #dbeafe; color: #1e40af; }
.brand-badge.slate { background: #e2e8f0; color: #334155; }
.brand-badge.pink { background: #fce7f3; color: #9d174d; }
.product-type { color: var(--muted); font-size: .68rem; }
.product-icon { margin-bottom: 19px; }
.product-card-image { display: block; width: 100%; height: 132px; margin-bottom: 19px; border-radius: 15px; background: var(--surface-soft); object-fit: cover; }
.product-icon.large { width: 64px; height: 64px; border-radius: 18px; font-size: 1.55rem; }
.product-card h3 { margin-bottom: 8px; font-size: 1.03rem; }
.product-card p { min-height: 45px; margin-bottom: 23px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.product-meta { align-items: baseline; margin-top: auto; }
.product-meta strong { color: var(--primary-dark); font: 700 1.42rem "Poppins", sans-serif; }
.product-meta span { color: var(--accent-dark); font-size: .72rem; font-weight: 700; }
.product-card-footer { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ece9f6; color: var(--muted); font-size: .72rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-dark); font-size: .78rem; font-weight: 700; }
.text-link .icon { width: 15px; height: 15px; transition: transform var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.section-center { display: flex; justify-content: center; margin-top: 36px; }

.value-section { background: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { padding: 28px; border: 1px solid #ebe8f4; border-radius: var(--radius-md); background: #fff; }
.icon-box { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 21px; border-radius: 14px; }
.icon-box .icon { width: 23px; height: 23px; }
.icon-box.green { background: #dcfce7; color: var(--accent-dark); }
.icon-box.purple { background: #ede9fe; color: var(--primary); }
.icon-box.orange { background: #ffedd5; color: #c2410c; }
.value-card h3 { margin-bottom: 11px; font-size: 1.25rem; }
.value-card p { min-height: 70px; color: var(--muted); font-size: .88rem; }
.value-card ul { display: grid; gap: 8px; padding: 17px 0 0; margin: 0; border-top: 1px solid #ece9f6; list-style: none; color: var(--muted); font-size: .8rem; }
.value-card li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 700; }

.stats-section { padding: 58px 0; background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stats-grid > div { display: grid; gap: 4px; padding-left: 27px; border-left: 1px solid rgba(255, 255, 255, .2); }
.stats-grid strong { font: 700 clamp(2.2rem, 5vw, 4rem)/1 "Poppins", sans-serif; letter-spacing: -.06em; }
.stats-grid strong span { color: #86efac; font-size: .56em; letter-spacing: -.02em; }
.stats-grid > div > span { color: #fff; font-weight: 700; }
.stats-grid small { color: #b8b2c6; font-size: .75rem; }

.faq-section { background: #f5f1ff; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-intro h2 { margin: 15px 0; }
.faq-intro p { max-width: 290px; margin-bottom: 25px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; cursor: pointer; list-style: none; font: 600 1rem "Poppins", sans-serif; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--primary); font-size: 1.4rem; font-weight: 400; transition: transform var(--ease); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 660px; margin: -5px 0 23px; color: var(--muted); font-size: .88rem; }

.final-cta-section { padding: 110px 0; background: linear-gradient(132deg, #f1eaff, #fff 53%, #e8fced); }
.final-cta { text-align: center; }
.final-cta h2 { margin: 19px 0 17px; }
.final-cta p { max-width: 480px; margin: 0 auto 28px; color: var(--muted); }

.store-hero-section, .orders-hero { padding: 78px 0; color: #fff; background: var(--ink); }
.store-hero-content { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.store-hero-content h1, .orders-hero h1 { margin: 18px 0 14px; }
.store-hero-content h1 em { color: #c4b5fd; }
.store-hero-content p, .orders-hero p { max-width: 520px; margin-bottom: 0; color: #c6c1d1; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.store-content { padding-top: 54px; }
.announcement { display: flex; align-items: flex-start; gap: 14px; padding: 17px 20px; margin-bottom: 50px; border: 1px solid #c9f1d5; border-radius: 13px; background: #f0fdf4; color: var(--accent-dark); }
.announcement-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #dcfce7; }
.announcement .icon { width: 17px; height: 17px; }
.announcement div { display: grid; gap: 2px; }
.announcement strong { font-size: .83rem; }
.announcement span:last-child { color: #4b785a; font-size: .78rem; }
.announcement-rich { color: #4b785a; font-size: .78rem; font-weight: 400; }
.announcement-rich p { margin: 0; }
.store-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.store-toolbar h2 { margin: 12px 0 0; font-size: 2rem; }
.store-toolbar h2 small { color: var(--muted); font: 400 .85rem "Open Sans", sans-serif; letter-spacing: 0; }
.search-form { position: relative; display: flex; align-items: center; width: min(100%, 340px); }
.search-form > .icon { position: absolute; left: 16px; color: var(--muted); }
.search-form input { width: 100%; height: 48px; padding: 0 40px 0 46px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink); outline: none; }
.search-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .16); }
.search-clear { position: absolute; right: 13px; color: var(--muted); font-size: 1.3rem; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.category-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 8px; color: var(--muted); font-size: .82rem; font-weight: 700; transition: color var(--ease), background var(--ease); }
.category-tabs a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.category-tabs a.is-active { background: var(--primary); color: #fff; }
.store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state, .orders-empty { display: grid; place-items: center; padding: 70px 24px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 17px; border-radius: 17px; background: var(--primary-soft); color: var(--primary); }
.empty-icon .icon { width: 26px; height: 26px; }
.empty-state p, .orders-empty p { max-width: 350px; color: var(--muted); font-size: .9rem; }

.product-main { padding: 26px 0 110px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 35px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { color: var(--primary-dark); font-weight: 700; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); align-items: start; gap: 24px; }
.product-detail-card { padding: 38px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.product-detail-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.product-detail-card h1 { max-width: 640px; margin: 20px 0 10px; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.product-detail-image { display: block; width: min(100%, 560px); max-height: 330px; margin: 0 0 24px; border-radius: 18px; background: var(--surface-soft); object-fit: cover; }
.detail-subtitle { margin-bottom: 23px; color: var(--muted); font-size: 1.04rem; }
.detail-price { margin-bottom: 14px; color: var(--primary-dark); font: 700 2.25rem "Poppins", sans-serif; }
.detail-price small { color: var(--muted); font: 400 .8rem "Open Sans", sans-serif; }
.detail-facts { justify-content: flex-start; flex-wrap: wrap; color: var(--muted); font-size: .77rem; }
.detail-facts span + span::before { content: "·"; margin: 0 10px; color: var(--border); }
.detail-description { max-width: 680px; padding-top: 32px; margin-top: 32px; border-top: 1px solid #ece9f6; color: var(--muted); }
.detail-description h2 { margin: 28px 0 14px; font-size: 1.3rem; color: var(--ink); }
.check-list { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; font-size: .88rem; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; }
.check-list .icon { width: 17px; height: 17px; color: var(--accent); margin-top: 3px; }
.trust-note { display: flex; align-items: flex-start; gap: 12px; padding: 17px; margin-top: 32px; border-radius: 12px; background: #f0fdf4; color: var(--accent-dark); }
.trust-note > .icon { width: 20px; height: 20px; margin-top: 1px; }
.trust-note span { display: grid; gap: 2px; font-size: .82rem; }
.trust-note small { color: #4b785a; font-size: .72rem; }
.checkout-card { position: sticky; top: 101px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.checkout-head h2 { margin: 14px 0 7px; font-size: 1.9rem; }
.checkout-head p { margin-bottom: 25px; color: var(--muted); font-size: .85rem; }
.checkout-form { display: grid; gap: 19px; }
.form-field { display: grid; gap: 7px; }
.form-field label, .payment-options legend { color: var(--ink); font-size: .82rem; font-weight: 700; }
.form-field label > span { color: var(--danger); }
.form-field input { width: 100%; height: 47px; padding: 0 13px; border: 1px solid #d9d4e7; border-radius: 9px; background: #fff; color: var(--ink); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.form-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.form-field small { color: var(--muted); font-size: .71rem; }
.quantity-control { display: grid; grid-template-columns: 44px 1fr 44px; height: 47px; border: 1px solid #d9d4e7; border-radius: 9px; overflow: hidden; }
.quantity-control button { border: 0; background: var(--surface-soft); color: var(--primary-dark); font-size: 1.3rem; }
.quantity-control button:hover { background: var(--primary-soft); }
.quantity-control input { height: 100%; border: 0; border-right: 1px solid #d9d4e7; border-left: 1px solid #d9d4e7; border-radius: 0; text-align: center; outline: none; }
.payment-options { display: grid; gap: 9px; padding: 0; margin: 0; border: 0; }
.payment-options legend { margin-bottom: 3px; }
.payment-options label { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid #e7e3f0; border-radius: 8px; color: var(--muted); font-size: .82rem; }
.payment-options label:has(input:checked) { border-color: #b9a4fa; background: #faf8ff; color: var(--primary-dark); }
.payment-options input { accent-color: var(--primary); }
.payment-options small { color: var(--muted); }
.checkout-total { padding: 18px 0 3px; border-top: 1px solid #ece9f6; color: var(--muted); font-size: .84rem; }
.checkout-total strong { color: var(--primary-dark); font: 700 1.45rem "Poppins", sans-serif; }
.checkout-disclaimer { display: flex; gap: 6px; margin: 0; color: var(--muted); font-size: .69rem; }
.checkout-disclaimer .icon { width: 14px; height: 14px; color: var(--primary); }
.btn-submit { width: 100%; border: 0; }
.form-summary { display: grid; gap: 4px; padding: 13px 15px; margin-bottom: 17px; border: 1px solid #fecaca; border-radius: 9px; background: #fff1f2; color: var(--danger); font-size: .76rem; }
.form-summary strong { font-size: .8rem; }
.order-success { display: flex; gap: 18px; align-items: flex-start; padding: 23px; margin-bottom: 28px; border: 1px solid #bbf7d0; border-radius: 17px; background: #f0fdf4; }
.success-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #dcfce7; color: var(--accent-dark); }
.success-icon .icon { width: 25px; height: 25px; }
.order-success h1 { margin: 12px 0 8px; font-size: 1.7rem; color: var(--ink); }
.order-success p { max-width: 650px; margin-bottom: 17px; color: var(--muted); font-size: .84rem; }
.success-meta { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 18px; color: var(--muted); font-size: .78rem; }
.success-meta span + span::before { content: "·"; margin: 0 10px; color: #a7c8b1; }
.success-meta strong { color: var(--ink); }

.orders-hero h1 { color: #fff; }
.orders-layout { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1fr); align-items: start; gap: 55px; }
.orders-form-card { padding: 31px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.orders-form-card h2 { margin: 13px 0 7px; font-size: 1.7rem; }
.orders-form-card > p { margin-bottom: 25px; color: var(--muted); font-size: .84rem; }
.orders-result { min-height: 340px; padding-top: 10px; }
.orders-result h2 { margin: 13px 0 24px; font-size: 1.75rem; }
.order-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.order-row > div:first-child { display: grid; gap: 3px; }
.order-number { color: var(--muted); font: 700 .72rem "Poppins", sans-serif; letter-spacing: .05em; }
.order-row strong { font-size: .95rem; }
.order-row small { color: var(--muted); font-size: .72rem; }
.order-row-rich > div:first-child { min-width: 0; }
.delivery-details { margin-top: 10px; }
.delivery-details summary { width: max-content; color: var(--primary-dark); cursor: pointer; font-size: .75rem; font-weight: 700; }
.delivery-details pre { max-width: 420px; padding: 12px; margin: 8px 0 0; overflow: auto; border-radius: 9px; background: #f7f5fb; color: var(--ink); font: .75rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.delivery-message { display: block; margin-top: 6px; color: var(--accent-dark) !important; }
.order-row-side { display: grid; justify-items: end; gap: 6px; }
.order-row-side strong { color: var(--primary-dark); }
.status-badge { padding: 5px 8px; border-radius: 6px; background: #fff7ed; color: #9a3412; font-size: .68rem; font-weight: 700; }

.error-page { padding: 140px 0; text-align: center; }
.error-page h1 { margin: 20px 0 12px; font-size: 3rem; }
.error-page p { margin-bottom: 25px; color: var(--muted); }
.site-footer { padding: 60px 0 22px; border-top: 1px solid var(--border); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 45px; padding-bottom: 45px; }
.footer-brand p { max-width: 315px; margin-top: 18px; color: var(--muted); font-size: .78rem; }
.footer-grid h2 { margin: 0 0 15px; font-size: .82rem; letter-spacing: .02em; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 9px; }
.footer-grid a, .footer-grid span { color: var(--muted); font-size: .76rem; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 19px; border-top: 1px solid #ece9f6; color: var(--muted); font-size: .7rem; }
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 720px; }
  .hero-art { min-height: 440px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .faq-grid { grid-template-columns: 1fr; gap: 42px; }
  .faq-intro p { max-width: 520px; }
  .orders-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 74px 0; }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: grid; place-items: center; }
  .primary-nav { display: none; position: absolute; top: 68px; right: 14px; left: 14px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--border); border-radius: 15px; background: rgba(255, 255, 255, .98); box-shadow: var(--shadow-lg); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 13px; }
  .primary-nav a.is-active::after { right: auto; bottom: 8px; left: 13px; width: 22px; }
  .primary-nav .nav-cta { justify-content: center; margin-top: 5px; }
  .hero-section { padding: 65px 0 35px; }
  .hero-copy h1 { margin: 20px 0; font-size: clamp(2.75rem, 14vw, 4.4rem); }
  .hero-lead { font-size: .98rem; }
  .hero-art { min-height: 365px; }
  .hero-panel { padding: 17px; }
  .orbit-one { width: 330px; height: 220px; }
  .orbit-two { width: 230px; height: 370px; }
  .tag-top { right: -2px; }
  .tag-bottom { bottom: 0; left: -2px; }
  .logo-wall { justify-content: flex-start; gap: 13px 18px; }
  .section-heading, .store-toolbar, .store-hero-content { display: grid; align-items: start; gap: 18px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading p { margin: 0; }
  .product-grid, .store-grid, .value-grid, .stats-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 285px; }
  .stats-grid { gap: 22px; }
  .stats-grid > div { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); border-left: 0; }
  .stats-grid > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .store-hero-section, .orders-hero { padding: 60px 0; }
  .store-hero-content h1, .orders-hero h1 { font-size: 3.2rem; }
  .search-form { width: 100%; }
  .product-detail-card, .checkout-card, .orders-form-card { padding: 23px; }
  .product-detail-card h1 { font-size: 2.55rem; }
  .product-detail-top { margin-bottom: 28px; }
  .order-success { display: grid; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
}

/* Admin console --------------------------------------------------------- */
.admin-body { min-height: 100vh; background: #f7f7fb; }
.admin-app-shell { display: flex; min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 80; display: flex; width: 246px; flex-direction: column; padding: 25px 15px 17px; border-right: 1px solid #e7e2f2; background: #fff; }
.admin-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 9px 35px; }
.admin-sidebar-top .brand-copy small { color: var(--primary); }
.admin-close { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--surface-soft); color: var(--ink); font-size: 1.5rem; }
.admin-workspace-label { padding: 0 13px 10px; color: #9490a3; font: 700 .67rem/1 "Poppins", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a, .admin-sidebar-footer a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 13px; border-radius: 10px; color: var(--muted); font-size: .84rem; font-weight: 700; transition: color var(--ease), background var(--ease); }
.admin-nav a .icon, .admin-sidebar-footer a .icon { width: 18px; height: 18px; }
.admin-nav a:hover, .admin-sidebar-footer a:hover { background: var(--surface-soft); color: var(--primary-dark); }
.admin-nav a.is-active { background: var(--primary-soft); color: var(--primary-dark); }
.admin-nav a.is-active .icon { color: var(--primary); }
.admin-sidebar-footer { display: grid; gap: 4px; padding-top: 16px; margin-top: auto; border-top: 1px solid #eeeaf6; }
.admin-sidebar-footer a { min-height: 42px; font-size: .78rem; }
.admin-content-shell { width: calc(100% - 246px); min-width: 0; margin-left: 246px; }
.admin-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 0 clamp(20px, 4vw, 52px); border-bottom: 1px solid #e7e2f2; background: rgba(247, 247, 251, .91); backdrop-filter: blur(16px); }
.admin-topbar > div:first-of-type { display: grid; gap: 2px; }
.admin-topbar-kicker { color: #9994a9; font: 700 .62rem/1 "Poppins", sans-serif; letter-spacing: .12em; }
.admin-topbar strong { font: 600 .9rem "Poppins", sans-serif; }
.admin-user { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.admin-avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .77rem "Poppins", sans-serif; }
.admin-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink); }
.admin-main { width: min(100%, 1320px); padding: 43px clamp(20px, 4vw, 52px) 70px; margin: 0 auto; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.admin-page-heading h1 { margin: 13px 0 7px; font-size: clamp(2rem, 4vw, 3.3rem); }
.admin-page-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.admin-page-heading > .admin-status { margin-bottom: 8px; }
.admin-flash { padding: 13px 16px; margin-bottom: 22px; border: 1px solid; border-radius: 10px; font-size: .82rem; font-weight: 700; }
.admin-flash.success { border-color: #bbf7d0; background: #f0fdf4; color: var(--accent-dark); }
.admin-flash.error { border-color: #fecaca; background: #fff1f2; color: var(--danger); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 22px; }
.admin-stat-card { display: flex; align-items: flex-start; gap: 13px; min-height: 137px; padding: 21px; border: 1px solid #e7e2f2; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.admin-stat-card > div { display: grid; gap: 3px; min-width: 0; }
.admin-stat-card small { color: var(--muted); font-size: .72rem; }
.admin-stat-card strong { color: var(--ink); font: 700 1.7rem "Poppins", sans-serif; letter-spacing: -.04em; }
.admin-stat-card span:last-child { color: #9691a4; font-size: .68rem; white-space: nowrap; }
.admin-stat-icon { display: grid; flex: 0 0 auto; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.admin-stat-icon .icon { width: 19px; height: 19px; }
.admin-stat-icon.purple { background: var(--primary-soft); color: var(--primary); }
.admin-stat-icon.green { background: #dcfce7; color: var(--accent-dark); }
.admin-stat-icon.orange { background: #ffedd5; color: #c2410c; }
.admin-stat-icon.blue { background: #dbeafe; color: #1d4ed8; }
.admin-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(275px, .7fr); gap: 22px; }
.admin-two-column { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(290px, .92fr); align-items: start; gap: 22px; margin-bottom: 22px; }
.admin-panel { padding: 25px; border: 1px solid #e7e2f2; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.admin-form-panel { margin-bottom: 22px; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.admin-panel-heading h2 { margin: 10px 0 0; font-size: 1.35rem; }
.admin-panel-heading h2 small { color: var(--muted); font: 400 .75rem "Open Sans", sans-serif; letter-spacing: 0; }
.admin-panel-heading .text-link { white-space: nowrap; }
.admin-table-wrap { overflow-x: auto; margin-inline: -6px; padding-inline: 6px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .78rem; }
.admin-table th { padding: 0 12px 12px; border-bottom: 1px solid #ebe8f4; color: #918c9e; font-size: .68rem; font-weight: 700; text-align: left; white-space: nowrap; }
.admin-table td { padding: 14px 12px; border-bottom: 1px solid #f0edf6; color: var(--muted); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td strong { color: var(--ink); }
.admin-table code { color: var(--primary-dark); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; }
.table-subtext { display: block; margin-top: 3px; color: #a09aaa; font-size: .67rem; }
.admin-product-cell { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.admin-product-cell .product-icon { width: 36px; height: 36px; border-radius: 10px; font-size: .95rem; }
.admin-product-cell > span:last-child { display: grid; gap: 2px; }
.admin-product-cell small { max-width: 240px; overflow: hidden; color: #9691a4; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-status { display: inline-flex; align-items: center; width: max-content; padding: 5px 8px; border-radius: 6px; font-size: .66rem; font-weight: 700; white-space: nowrap; }
.admin-status.is-success { background: #dcfce7; color: var(--accent-dark); }
.admin-status.is-warning { background: #fff7ed; color: #9a3412; }
.admin-status.is-danger { background: #fff1f2; color: var(--danger); }
.admin-status.is-neutral { background: #f1f5f9; color: #475569; }
.admin-actions { display: flex; align-items: center; gap: 6px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e5e1ef; border-radius: 8px; background: #fff; color: var(--primary-dark); transition: color var(--ease), border-color var(--ease), background var(--ease); }
.icon-button .icon { width: 16px; height: 16px; }
.icon-button:hover { border-color: var(--primary); background: var(--primary-soft); }
.icon-button.danger { color: var(--danger); }
.icon-button.danger:hover { border-color: #fecaca; background: #fff1f2; }
.admin-empty { padding: 38px 15px; color: var(--muted); font-size: .8rem; text-align: center; }
.admin-status-list { display: grid; gap: 13px; }
.admin-status-list > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .8rem; }
.admin-status-list > div > span { display: inline-flex; align-items: center; gap: 8px; }
.admin-status-list strong { color: var(--ink); font: 600 1rem "Poppins", sans-serif; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.status-dot.is-success { background: var(--accent); }
.status-dot.is-warning { background: #f97316; }
.status-dot.is-danger { background: var(--danger); }
.admin-quick-links { display: grid; gap: 8px; padding-top: 21px; margin-top: 22px; border-top: 1px solid #eeeaf6; }
.admin-quick-links a { display: flex; align-items: center; gap: 8px; color: var(--primary-dark); font-size: .76rem; font-weight: 700; }
.admin-quick-links .icon { width: 16px; height: 16px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-form-stack { display: grid; gap: 16px; }
.admin-field { display: grid; align-content: start; gap: 7px; color: var(--ink); font-size: .77rem; font-weight: 700; }
.admin-field input, .admin-field select, .admin-field textarea, .admin-inline-search input, .admin-inline-search select, .admin-card-status select { width: 100%; border: 1px solid #d9d4e7; border-radius: 9px; background: #fff; color: var(--ink); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.admin-field input, .admin-field select, .admin-inline-search input, .admin-inline-search select { height: 44px; padding: 0 12px; }
.admin-field textarea { min-height: 95px; padding: 11px 12px; resize: vertical; line-height: 1.5; }
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus, .admin-inline-search input:focus, .admin-inline-search select:focus, .admin-card-status select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
.admin-field small { color: var(--muted); font-size: .68rem; font-weight: 400; }
.admin-check { display: flex; align-items: center; gap: 9px; min-height: 30px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.admin-check input { width: 17px; height: 17px; accent-color: var(--primary); }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.admin-form-actions .btn .icon { width: 16px; height: 16px; }
.span-2 { grid-column: span 2; }
.admin-inline-search { display: flex; align-items: center; gap: 8px; width: min(100%, 380px); }
.admin-inline-search .btn { flex: 0 0 auto; padding-inline: 13px; }
.admin-inline-search .btn .icon { width: 15px; height: 15px; }
.admin-divider { display: flex; align-items: center; gap: 12px; margin: 7px 0 2px; color: var(--primary-dark); font: 700 .73rem "Poppins", sans-serif; }
.admin-divider::after { content: ""; height: 1px; flex: 1; background: #ebe8f4; }
.admin-help-box { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px; background: #faf8ff; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.admin-help-box .icon { flex: 0 0 auto; width: 18px; height: 18px; color: var(--primary); }
.admin-help-box code { color: var(--primary-dark); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .68rem; }
.rich-editor-field { display: grid; grid-column: span 2; gap: 7px; color: var(--ink); font-size: .77rem; font-weight: 700; }
.rich-editor { overflow: hidden; border: 1px solid #d9d4e7; border-radius: 10px; background: #fff; }
.rich-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid #eeeaf6; background: #faf8ff; }
.rich-toolbar button, .rich-toolbar select, .rich-toolbar input[type="color"] { display: inline-grid; place-items: center; min-width: 33px; min-height: 33px; padding: 4px 7px; border: 1px solid transparent; border-radius: 7px; background: #fff; color: var(--ink); font-size: .73rem; }
.rich-toolbar button:hover, .rich-toolbar select:hover { border-color: var(--border); background: var(--primary-soft); color: var(--primary-dark); }
.rich-toolbar .icon { width: 16px; height: 16px; }
.rich-toolbar select { min-width: 82px; }
.rich-toolbar input[type="color"] { width: 35px; padding: 3px; }
.rich-surface { min-height: 220px; padding: 15px; outline: none; color: var(--ink); font-size: .88rem; font-weight: 400; line-height: 1.7; }
.rich-surface:focus { box-shadow: inset 0 0 0 2px rgba(124, 58, 237, .16); }
.rich-surface img { max-width: 100%; height: auto; border-radius: 9px; }
.rich-surface h2, .rich-surface h3 { margin: 17px 0 9px; }
.rich-editor-help { color: var(--muted); font-size: .68rem; font-weight: 400; }
.admin-inventory-list { display: grid; gap: 5px; }
.admin-inventory-row { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); }
.admin-inventory-row:hover, .admin-inventory-row.is-active { border-color: var(--border); background: #faf8ff; color: var(--primary-dark); }
.admin-inventory-row > span:first-child { display: grid; gap: 2px; min-width: 0; }
.admin-inventory-row strong { overflow: hidden; color: var(--ink); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-inventory-row small { color: #9691a4; font-size: .65rem; }
.admin-inventory-row > span:last-child { display: grid; justify-items: end; gap: 1px; }
.admin-inventory-row b { color: var(--accent-dark); font: 700 1.05rem "Poppins", sans-serif; }
.admin-card-status { display: flex; align-items: center; gap: 6px; min-width: 150px; }
.admin-card-status select { height: 34px; padding: 0 7px; font-size: .72rem; }
.admin-card-status .btn { min-height: 34px; padding: 7px 10px; }
.admin-ship-form { margin-top: 7px; }
.btn-ship { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 6px 9px; border: 1px solid #bbf7d0; border-radius: 8px; background: #f0fdf4; color: var(--accent-dark); font-size: .68rem; font-weight: 700; }
.btn-ship:hover { background: #dcfce7; }
.btn-ship .icon { width: 13px; height: 13px; }
.btn-compact { border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--primary-dark); font-size: .7rem; font-weight: 700; }
.btn-compact:hover { background: var(--primary-soft); }
.card-code { display: inline-block; max-width: 250px; overflow: hidden; padding: 6px 8px; border-radius: 6px; background: #f7f5fb; text-overflow: ellipsis; white-space: nowrap; }
.admin-login-body { min-height: 100vh; background: radial-gradient(circle at 75% 16%, rgba(167, 139, 250, .2), transparent 28%), linear-gradient(135deg, #f7f2ff, #fff 55%, #f0fdf4); }
.admin-login-shell { display: grid; min-height: 100vh; place-items: center; padding: 28px; }
.admin-login-card { width: min(100%, 460px); padding: 39px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-lg); }
.admin-login-brand { margin-bottom: 49px; }
.admin-login-card h1 { margin: 15px 0 8px; font-size: 2.35rem; }
.admin-login-lead { margin-bottom: 25px; color: var(--muted); font-size: .86rem; }
.admin-login-hint { padding-top: 17px; margin: 23px 0 0; border-top: 1px solid #eeeaf6; color: var(--muted); font-size: .72rem; }
.admin-login-hint strong { color: var(--primary-dark); }
.payment-result-card { max-width: 680px; padding: 48px; margin: 35px auto 90px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.payment-result-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 23px; border-radius: 20px; }
.payment-result-icon .icon { width: 30px; height: 30px; }
.payment-result-icon.is-success { background: #dcfce7; color: var(--accent-dark); }
.payment-result-icon.is-warning { background: #fff7ed; color: #c2410c; }
.payment-result-card h1 { margin: 16px 0 12px; font-size: clamp(2.2rem, 6vw, 3.8rem); }
.payment-result-card > p { color: var(--muted); font-size: .9rem; }
.payment-result-card > p strong { color: var(--ink); }
.payment-result-card .form-summary { max-width: 530px; margin: 25px auto; text-align: left; }
.payment-result-card .hero-actions { justify-content: center; margin-bottom: 0; }
.payment-qrcode { display: block; width: 220px; height: 220px; padding: 10px; margin: 21px auto; border: 1px solid var(--border); border-radius: 12px; object-fit: contain; }

@media (max-width: 1100px) {
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .admin-sidebar { transform: translateX(-105%); box-shadow: var(--shadow-lg); transition: transform var(--ease); }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-close { display: block; }
  .admin-content-shell { width: 100%; margin-left: 0; }
  .admin-menu-toggle { display: grid; place-items: center; }
  .admin-topbar { gap: 14px; }
  .admin-topbar > div:first-of-type { margin-right: auto; }
  .admin-user > span:last-child { display: none; }
  .admin-main { padding-top: 32px; }
  .admin-two-column { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .admin-page-heading { display: grid; align-items: start; }
  .admin-page-heading .btn { width: max-content; }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .admin-panel { padding: 19px 15px; }
  .admin-panel-heading { align-items: flex-start; flex-direction: column; }
  .admin-panel-heading .admin-inline-search { width: 100%; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .admin-form-actions { justify-content: stretch; }
  .admin-form-actions .btn { width: 100%; }
  .admin-inline-search { width: 100%; }
  .admin-login-card { padding: 28px 22px; }
  .payment-result-card { padding: 31px 20px; }
}
