:root {
  --ink: #17202b;
  --text: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --paper: #ffffff;
  --wash: #f6f7f9;
  --brand: #0f766e;
  --brand-dark: #0b4f4a;
  --accent: #c2410c;
  --danger: #b42318;
  --admin: #111827;
  --shadow: 0 18px 46px rgba(16, 24, 40, .10);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: Arial, Helvetica, sans-serif; background: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; object-fit: cover; }
p { color: var(--muted); line-height: 1.65; }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: clamp(34px, 5vw, 62px); }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
small { display: block; color: var(--muted); margin-top: 4px; }
code { background: #eef2f6; padding: 2px 6px; border-radius: 6px; }
.center { text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  min-height: 72px; padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; font-weight: 900; font-size: 23px; }
.brand img { width: auto; max-width: 180px; max-height: 42px; object-fit: contain; }
nav, .actions, .footer-links, .filter-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
nav a, .actions a, .footer-links a { color: #475467; font-size: 14px; font-weight: 700; }
.front-nav { align-items: stretch; gap: 6px; }
.front-nav .nav-item { position: relative; display: flex; align-items: center; min-height: 44px; }
.front-nav .nav-item > a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 10px; border-radius: 8px; }
.front-nav .nav-item:hover > a { background: #f2f4f7; color: var(--brand); }
.nav-dropdown { position: absolute; top: 100%; left: 0; z-index: 30; display: none; min-width: 210px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.front-nav .nav-item:hover > .nav-dropdown { display: grid; gap: 4px; }
.nav-dropdown .nav-item { display: block; min-height: auto; }
.nav-dropdown .nav-item > a { justify-content: space-between; width: 100%; min-height: 36px; color: #344054; white-space: nowrap; }
.nav-dropdown .nav-dropdown { top: -8px; left: calc(100% + 8px); }
.actions b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: white; font-size: 12px; }
.language-switcher { position: relative; }
.language-switcher summary {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: 8px; background: white; color: var(--text); font-size: 13px; font-weight: 900; cursor: pointer; list-style: none;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.language-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 35; display: grid; min-width: 160px; padding: 8px;
  border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow);
}
.language-menu a { padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: 13px; font-weight: 800; }
.language-menu a:hover, .language-menu a.active { background: #f2f4f7; color: var(--brand); }
.hero {
  min-height: 590px; display: flex; align-items: center; padding: 76px clamp(18px, 6vw, 88px); color: white;
  background-position: center; background-size: cover;
}
.hero-copy { max-width: 760px; }
.hero p { color: rgba(255,255,255,.88); max-width: 680px; font-size: 18px; }
.hero h1 { margin-bottom: 22px; color: white; }
.band { padding: 58px clamp(18px, 5vw, 72px); }
.band.muted { background: var(--wash); }
.narrow { max-width: 980px; margin: 0 auto; }
.split-band {
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 48vw); gap: 38px; align-items: center;
  padding: 58px clamp(18px, 5vw, 72px); background: #f8fafc;
}
.split-band img { width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; box-shadow: var(--shadow); }
.home-hero-module {
  min-height: 460px; display: flex; align-items: center; padding: 70px clamp(18px, 6vw, 88px); color: white;
  background-position: center; background-size: cover;
}
.home-hero-module > div { max-width: 760px; }
.home-hero-module h2 { color: white; font-size: clamp(32px, 5vw, 58px); }
.home-hero-module p { color: rgba(255,255,255,.88); font-size: 18px; }
.home-feature { display: grid; gap: 28px; align-items: center; }
.home-feature.image_left_text, .home-feature.text_left_image { grid-template-columns: minmax(280px, 46%) 1fr; }
.home-feature.top_image_text { max-width: 1100px; margin: 0 auto; }
.home-feature > img { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; box-shadow: var(--shadow); background: var(--wash); }
.home-feature-copy { display: grid; gap: 10px; align-content: center; }
.home-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-content-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.home-content-card img { width: 100%; aspect-ratio: 4 / 3; background: var(--wash); }
.home-content-card > div { display: grid; gap: 8px; padding: 16px; }
.home-content-card p { margin: 0; }
.home-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.home-carousel .carousel-track { grid-auto-columns: minmax(260px, 32%); }
.home-faq-list { display: grid; gap: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-head a { color: var(--brand); font-weight: 800; }
.section-head span { color: var(--muted); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card, .info-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover, .info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; background: #eef2f6; }
.card > div, .info-card { padding: 18px; }
.info-card { min-height: 150px; }
.help-grid .info-card { display: grid; align-content: start; gap: 10px; }
.title { display: block; font-weight: 900; margin-bottom: 8px; }
.price { color: var(--accent); font-weight: 900; }
.price s { color: #98a2b3; margin-left: 8px; font-weight: 500; }
.price.large { font-size: 30px; margin-bottom: 18px; }
.money-settlement { display: inline-block; color: var(--accent); font-weight: 900; }
.money-reference { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.35; }
.money-stack { display: grid; justify-items: end; gap: 2px; }
.price.large .money-reference { font-size: 14px; }
.currency-note { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid #dbeafe; border-radius: 8px; background: #eff6ff; color: #1e3a8a; font-size: 13px; line-height: 1.45; }
.currency-note strong { color: #172554; }
.currency-note span { color: #475569; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-weight: 900; cursor: pointer; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: white; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.danger { color: var(--danger); border-color: #fecdca; background: #fff6f5; }
.btn.small { min-height: 34px; padding: 0 11px; font-size: 12px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--text); font-weight: 800; background: white; }
.chip.active { color: white; background: var(--brand); border-color: var(--brand); }
.product-detail { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 520px); gap: 46px; padding: 58px clamp(18px, 5vw, 72px); }
.product-detail > img { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; box-shadow: var(--shadow); background: var(--wash); }
.detail-copy { align-self: center; }
.sku { color: var(--brand); font-weight: 900; margin: 0 0 10px; }
.rich, .prose { color: var(--text); line-height: 1.7; font-size: 18px; }
.rich-content p, .rich-content ul, .rich-content ol, .rich-content blockquote { margin: 0 0 16px; }
.rich-content img { width: auto; max-width: 100%; border-radius: 8px; }
.rich-content a { color: var(--brand); font-weight: 800; }
.detail-card-stack { display: grid; gap: 22px; }
.detail-card { display: grid; gap: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.detail-card > img { width: 100%; aspect-ratio: 16 / 9; background: var(--wash); }
.detail-card-copy { padding: 20px; }
.detail-card-copy p, .detail-tile p, .carousel-card p { margin: 0; color: var(--muted); }
.detail-card-image_left, .detail-card-image_right { grid-template-columns: minmax(260px, 42%) 1fr; align-items: center; }
.detail-card-image_left > img, .detail-card-image_right > img { height: 100%; min-height: 260px; aspect-ratio: auto; }
.detail-card-image_right { grid-template-columns: 1fr minmax(260px, 42%); }
.detail-card-grid { display: grid; gap: 18px; }
.detail-card-grid.grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-card-grid.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-tile { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.detail-tile img { width: 100%; aspect-ratio: 4 / 3; background: var(--wash); }
.detail-tile > div { padding: 14px; }
.product-carousel { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 34%); gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: thin; }
.carousel-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.carousel-card img { width: 100%; aspect-ratio: 4 / 3; background: var(--wash); }
.carousel-card > div { padding: 16px; }
.carousel-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 28px; font-weight: 900; cursor: pointer; }
.detail-faq { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 18px 20px; }
.detail-faq summary { cursor: pointer; color: var(--ink); font-weight: 900; }
.detail-faq p { margin: 12px 0 0; }
input, textarea, select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 8px; font: inherit; background: white; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
label { color: var(--text); font-weight: 700; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row input { max-width: 100px; }
.table { display: grid; gap: 10px; margin: 18px 0; }
.row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.row input { max-width: 170px; }
.accepted-payments { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.accepted-payments > span { color: var(--muted); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.checkout { display: grid; grid-template-columns: minmax(300px, 1fr) 380px; gap: 28px; padding: 58px clamp(18px, 5vw, 72px); background: var(--wash); align-items: start; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.panel > * + *, .checkout-form > * + * { margin-top: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.payment-options { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text); }
.payment-options label, .switch { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.payment-options input, .switch input, .permission-list input { width: auto; min-height: auto; }
.payment-box { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.payment-head { margin-bottom: 0; align-items: center; }
.payment-head h2 { margin: 0; font-size: 20px; }
.payment-brand-strip { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 0 9px; border-radius: 6px; color: white; font-size: 11px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.pay-logo.large { min-height: 42px; padding: 0 16px; font-size: 14px; }
.pay-logo.visa { background: #1434cb; }
.pay-logo.unionpay { background: linear-gradient(90deg, #d71920 0 33%, #0067b1 33% 66%, #009e49 66%); }
.pay-logo.mastercard { background: linear-gradient(90deg, #eb001b, #f79e1b); }
.pay-logo.paypal { background: #003087; }
.pay-logo.onerway { background: #111827; }
.pay-logo.manual { background: #64748b; }
.payment-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.payment-tab { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon title" "icon note"; gap: 2px 10px; align-items: center; min-height: 74px; padding: 12px; border: 1px solid #d0d5dd; border-radius: 8px; background: white; text-align: left; cursor: pointer; }
.payment-tab.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.payment-tab strong { grid-area: title; font-size: 14px; color: var(--ink); }
.payment-tab small { grid-area: note; margin: 0; font-size: 12px; }
.tab-icon { grid-area: icon; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: #eef2f6; color: #344054; font-size: 11px; font-weight: 900; }
.paypal-mark { background: #e8f2ff; color: #003087; }
.onerway-mark { background: #111827; color: white; }
.payment-panel { display: none; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.payment-panel.active { display: grid; gap: 14px; }
.card-visual { display: flex; justify-content: space-between; gap: 14px; min-height: 116px; padding: 18px; border-radius: 8px; color: white; background: linear-gradient(135deg, #0f766e, #17202b); }
.card-visual span { display: block; color: rgba(255,255,255,.76); font-weight: 800; font-size: 12px; }
.card-visual strong { display: block; margin-top: 22px; font-size: 22px; letter-spacing: .08em; }
.card-processor { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.card-processor > span { color: var(--text); font-weight: 900; }
.processor-options { display: flex; gap: 10px; flex-wrap: wrap; }
.processor-option { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 10px; border: 1px solid #d0d5dd; border-radius: 8px; background: white; cursor: pointer; }
.processor-option.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.processor-option input { width: auto; min-height: auto; }
.card-fields { grid-template-columns: 1.4fr 1fr 120px 100px; }
.payment-note { margin: 0; font-size: 13px; color: var(--muted); }
.gateway-panel { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.gateway-panel p { margin: 4px 0 0; }
.summary, .order-box p { display: flex; justify-content: space-between; gap: 18px; }
.total { padding-top: 14px; border-top: 1px solid var(--line); font-size: 20px; color: var(--ink); }
.auth, .admin-login { min-height: 72vh; display: grid; place-items: center; padding: 44px 18px; background: var(--wash); }
.auth .panel, .login-card { width: min(500px, 100%); }
.notice { padding: 12px 18px; text-align: center; font-weight: 800; }
.notice.success { background: #ecfdf3; color: #027a48; }
.notice.error { background: #fef3f2; color: #b42318; }
.account-grid { display: grid; grid-template-columns: minmax(300px, 1fr) 340px; gap: 22px; align-items: start; }
.address-row { grid-template-columns: 1fr auto auto; }
.timeline { display: grid; gap: 12px; margin-top: 18px; }
.timeline > div { border-left: 3px solid var(--brand); padding: 4px 0 4px 16px; }
.timeline strong { color: var(--ink); }
.timeline span { display: block; color: var(--muted); margin-top: 4px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px clamp(18px, 5vw, 72px); background: #101828; color: white; }
footer p { margin: 8px 0 0; color: #cbd5e1; }
footer a { color: #e5e7eb; }
.footer-copy { max-width: 620px; color: #94a3b8; font-size: 13px; }
.footer-links { align-items: flex-start; justify-content: flex-end; }
.footer-menu-item { display: grid; gap: 7px; }
.footer-submenu { display: grid; gap: 6px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.14); }
.footer-submenu a { color: #cbd5e1; font-size: 13px; }
.footer-payments { display: grid; gap: 10px; margin-top: 18px; }
.footer-payments > span { color: #94a3b8; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.footer-payments .payment-brand-strip { justify-content: flex-start; }
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .language-switcher summary::after { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .language-menu { right: auto; left: 0; }
html[dir="rtl"] .nav-dropdown { left: auto; right: 0; }
html[dir="rtl"] .nav-dropdown .nav-dropdown { left: auto; right: calc(100% + 8px); }
html[dir="rtl"] .footer-submenu { padding-left: 0; padding-right: 12px; border-left: 0; border-right: 1px solid rgba(255,255,255,.14); }
html[dir="rtl"] .timeline > div { border-left: 0; border-right: 3px solid var(--brand); padding-left: 0; padding-right: 16px; }

.admin-page { background: #f3f4f6; }
.admin-app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #f3f4f6; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; overflow: auto; padding: 22px; background: var(--admin); color: white; }
.admin-logo { font-size: 21px; font-weight: 900; margin-bottom: 24px; }
.admin-logo span { color: #5eead4; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar a { padding: 11px 12px; border-radius: 8px; color: #d1d5db; font-weight: 800; }
.admin-sidebar a:hover { background: #1f2937; color: white; }
.admin-logout { display: block; margin-top: 18px; }
.admin-main { padding: 28px; min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.admin-head h1 { font-size: 34px; }
.admin-head span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.metric, .admin-card { border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.metric { padding: 20px; }
.metric span { color: var(--muted); font-weight: 800; font-size: 13px; }
.metric strong { display: block; margin-top: 10px; font-size: 30px; }
.admin-card { padding: 20px; margin-bottom: 18px; }
.admin-grid { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: 18px; align-items: start; }
.admin-grid.wide-left { grid-template-columns: minmax(360px, 560px) 1fr; }
.admin-form { display: grid; grid-template-columns: 1fr; gap: 12px; }
.admin-form h2, .settings-form h2 { margin-top: 0; font-size: 20px; }
.settings-form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.span-2 { grid-column: 1 / -1; }
.setting-hint { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; color: var(--muted); font-size: 13px; line-height: 1.55; }
.static-generate-card { gap: 18px; }
.static-generate-copy { display: grid; gap: 10px; color: #0f172a; line-height: 1.75; }
.static-generate-copy p { margin: 0; }
.static-generate-controls { display: grid; grid-template-columns: minmax(260px, 440px) minmax(220px, 320px); gap: 18px; align-items: end; }
.static-generate-controls label { display: grid; gap: 6px; color: #1f2937; font-weight: 800; }
.static-generate-controls small { color: var(--muted); font-weight: 600; }
.static-language-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 12px; margin-top: 10px; }
.static-language-option { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #172033; font-weight: 700; }
.static-language-option input { width: auto; min-height: auto; }
.static-language-option b { font-size: 17px; }
.static-log-list { display: grid; gap: 8px; }
.static-log-list code { display: block; overflow-x: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #0f172a; color: #e2e8f0; font-size: 12px; line-height: 1.5; }
.static-generate-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(17, 24, 39, .58); }
.static-generate-modal.active { display: flex; }
body.static-generate-modal-open { overflow: hidden; }
.static-generate-modal-box { width: min(650px, calc(100vw - 48px)); padding: 34px 35px 36px; border: 1px solid rgba(226, 232, 240, .95); border-radius: 8px; background: #fff; box-shadow: 0 28px 90px rgba(15, 23, 42, .28); text-align: center; }
.static-generate-spinner { width: 56px; height: 56px; margin: 0 auto 22px; border: 5px solid #dbeafe; border-top-color: #2563eb; border-radius: 50%; animation: staticGenerateSpin .85s linear infinite; }
.static-generate-modal-box h2 { margin: 0 0 12px; color: #111827; font-size: 30px; line-height: 1.22; font-weight: 900; }
.static-generate-summary { margin: 0 auto 22px; max-width: 560px; color: #4b5563; font-size: 16px; line-height: 1.7; }
.static-generate-time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.static-generate-time-grid > div { min-height: 92px; display: grid; align-content: center; gap: 8px; padding: 17px 16px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fafc; }
.static-generate-time-grid span { color: #6b7280; font-size: 13px; font-weight: 800; }
.static-generate-time-grid strong { color: #111827; font-size: 24px; line-height: 1.2; font-weight: 900; }
.static-generate-hint { margin: 0; color: #6b7280; font-size: 14px; line-height: 1.75; }
.static-modal-actions, .static-progress, .static-progress-text { display: none; }
@keyframes staticGenerateSpin {
  to { transform: rotate(360deg); }
}
@media (max-width: 640px) {
  .static-generate-modal { padding: 16px; }
  .static-generate-modal-box { width: 100%; padding: 28px 18px 26px; }
  .static-generate-modal-box h2 { font-size: 24px; }
  .static-generate-summary { font-size: 15px; }
  .static-generate-time-grid { grid-template-columns: 1fr; }
  .static-generate-time-grid strong { font-size: 22px; }
}
.static-result-wrap { overflow-x: auto; }
.static-result-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.static-result-table th, .static-result-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.static-result-table th { background: #f8fafc; color: #475467; font-size: 13px; font-weight: 900; }
.static-result-table td { color: #172033; }
.static-result-table a { color: #2563eb; font-weight: 800; }
.file-field { display: grid; gap: 7px; color: #475467; font-size: 14px; font-weight: 800; }
.file-field input { padding: 9px; }
.logo-preview { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.logo-preview span { color: var(--muted); font-size: 13px; font-weight: 900; }
.logo-preview img { width: auto; max-width: 180px; max-height: 48px; object-fit: contain; }
.admin-table { display: grid; gap: 8px; }
.admin-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.menu-section-head { margin-top: 24px; }
.menu-admin-row.level-2 > span:first-child { padding-left: 18px; }
.menu-admin-row.level-3 > span:first-child { padding-left: 36px; }
.admin-row form { margin: 0; }
.static-route-list .admin-row { grid-template-columns: minmax(180px, 1fr) auto; }
.product-admin-row { grid-template-columns: 58px minmax(180px, 1fr) auto auto auto; }
.product-admin-row img { width: 58px; height: 58px; border-radius: 8px; background: var(--wash); }
.order-list-row { grid-template-columns: minmax(180px, 1fr) auto auto auto auto; }
.user-list-row { grid-template-columns: minmax(180px, 1.2fr) minmax(110px, .7fr) minmax(120px, .8fr) auto auto auto; }
.user-order-row { grid-template-columns: minmax(160px, 1fr) auto auto auto; }
.user-search-form { margin-bottom: 18px; }
.address-list-admin { display: grid; gap: 12px; }
.address-list-admin p { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; color: #344054; line-height: 1.6; }
.danger-zone { border-color: #fecaca; background: #fff7f7; }
.permission-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.permission-list label { color: var(--text); font-weight: 700; }
.visual-cards { border: 1px dashed #cbd5e1; border-radius: 8px; padding: 12px; background: #f8fafc; }
.mini-card { display: grid; gap: 8px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.detail-card-admin { gap: 10px; }
.quill-editor { min-height: 260px; background: white; }
.ql-toolbar.ql-snow, .ql-container.ql-snow { border-color: #d0d5dd; }
.ql-toolbar.ql-snow { border-radius: 8px 8px 0 0; }
.ql-container.ql-snow { border-radius: 0 0 8px 8px; font: inherit; }
.admin-timeline { max-height: 260px; overflow: auto; }

@media (max-width: 1080px) {
  .topbar, .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .grid, .product-detail, .checkout, .two, .three, .metric-grid, .admin-grid, .admin-grid.wide-left, .form-grid, .account-grid, .split-band, .payment-tabs, .card-fields, .detail-card-image_left, .detail-card-image_right, .detail-card-grid.grid-four, .detail-card-grid.grid-three, .home-feature.image_left_text, .home-feature.text_left_image, .home-card-grid, .static-generate-controls, .static-language-grid { grid-template-columns: 1fr; }
  .detail-card-image_left > img, .detail-card-image_right > img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .carousel-track { grid-auto-columns: minmax(240px, 88%); }
  .admin-row, .product-admin-row, .order-list-row, .user-list-row, .user-order-row, .row, .address-row { grid-template-columns: 1fr; }
  .payment-head, .card-visual, .gateway-panel, .accepted-payments, .card-processor { display: grid; }
  .payment-brand-strip { justify-content: flex-start; }
  .hero { min-height: 480px; }
  footer { display: grid; }
  .front-nav { align-items: flex-start; }
  .front-nav .nav-item { display: grid; width: 100%; min-height: auto; }
  .nav-dropdown, .nav-dropdown .nav-dropdown { position: static; display: grid; box-shadow: none; margin-left: 12px; }
  .footer-links { justify-content: flex-start; }
}
