
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --accent: #111827;
  --accent-soft: #e5e7eb;
  --ok: #0f766e;
  --warn: #b45309;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:10px; z-index:999; }
.skip-link:focus { left: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navbar { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 12px; background: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 12px; border-radius: 999px; color: #334155; font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: #fff; position: relative; }
.icon-btn img { width: 19px; height: 19px; }
.cart-count { position: absolute; right: -5px; top: -5px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.lang-select { border: 1px solid var(--line); border-radius: 999px; padding: 10px 34px 10px 14px; background: #fff; color: var(--ink); max-width: 170px; }
.menu-toggle { display:none; border:1px solid var(--line); background:#fff; border-radius:999px; padding:10px 14px; }
main { min-height: 60vh; }
.hero { padding: 56px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 34px; align-items: center; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding: 7px 12px; border-radius:999px; background: var(--accent-soft); color: #334155; font-size: 13px; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -.065em; margin: 18px 0; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 14px; }
h3 { margin: 0 0 10px; line-height: 1.18; letter-spacing: -.02em; }
p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(17px, 2vw, 21px); color: #475569; max-width: 64ch; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 36px; padding: 16px; box-shadow: var(--shadow); }
.hero-card img { border-radius: 28px; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center; }
.cta-row { display:flex; flex-wrap:wrap; gap:12px; margin-top: 28px; }
.btn { border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 18px; display:inline-flex; align-items:center; gap: 8px; cursor:pointer; font-weight: 700; }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { padding: 9px 13px; font-size: 14px; }
.section { padding: 46px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom: 22px; }
.section-head p { max-width: 66ch; }
.grid { display:grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 rgba(15,23,42,.02); }
.card.soft { background: linear-gradient(180deg,#fff,#f8fafc); }
.card-img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; object-position: center; width:100%; background: var(--surface-2); margin-bottom: 16px; }
.product-card { display:flex; flex-direction:column; gap: 12px; }
.product-card img { transition: transform .25s ease; }
.product-card:hover img { transform: translateY(-2px) scale(1.015); }
.product-card .card-img { aspect-ratio: 1.18/1; }
.product-meta { display:flex; justify-content:space-between; gap: 10px; color: var(--muted); font-size: 14px; }
.price { font-size: 22px; color: var(--ink); font-weight: 800; letter-spacing: -.03em; }
.badges { display:flex; flex-wrap:wrap; gap:8px; }
.badge { background: var(--surface-2); color:#334155; border:1px solid var(--line); padding: 5px 9px; border-radius:999px; font-size: 12px; font-weight:700; }
ul.clean { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
ul.check li { position:relative; padding-left:28px; color:#475569; }
ul.check li::before { content:"✓"; position:absolute; left:0; top:0; color: var(--ok); font-weight:900; }
.table-wrap { overflow:auto; border:1px solid var(--line); border-radius: var(--radius); background:#fff; }
table { width:100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 14px 16px; text-align:left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f8fafc; color:#334155; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom:0; }
.notice { border:1px solid #fde68a; background:#fffbeb; color:#92400e; padding: 16px 18px; border-radius: var(--radius); }
.notice p { color:#92400e; }
.panel { background:#fff; border:1px solid var(--line); border-radius: 28px; padding: 28px; }
.timeline { display:grid; gap:14px; }
.step { display:grid; grid-template-columns: 44px 1fr; gap:14px; align-items:start; }
.step-num { width:44px; height:44px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-weight:800; }
.faq-item { border-bottom:1px solid var(--line); padding:18px 0; }
.faq-item:last-child { border-bottom:0; }
.faq-q { font-weight:800; color:var(--ink); margin-bottom:6px; }
.form-grid { display:grid; gap:14px; }
.input, textarea { width:100%; border:1px solid var(--line); border-radius:16px; padding:12px 14px; background:#fff; }
textarea { min-height: 140px; resize:vertical; }
.cart-layout, .checkout-layout { display:grid; grid-template-columns: 1fr 360px; gap:22px; align-items:start; }
.cart-item { display:grid; grid-template-columns: 94px 1fr auto; gap:16px; align-items:center; border-bottom:1px solid var(--line); padding: 16px 0; }
.cart-item:last-child { border-bottom:0; }
.cart-item img { width:94px; height:76px; object-fit:cover; border-radius:14px; background:var(--surface-2); }
.qty { display:flex; align-items:center; gap:8px; }
.qty button { width:30px; height:30px; border-radius:50%; border:1px solid var(--line); background:#fff; cursor:pointer; }
.summary-line { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.summary-line.total { border-bottom:0; font-size:20px; font-weight:900; color:var(--ink); }
.summary-line span:first-child { color:var(--muted); }
.legal { max-width: 900px; }
.legal h2 { margin-top: 28px; font-size: 28px; }
.legal p, .legal li { color:#475569; }
.legal ul { padding-left: 24px; }
.site-footer { margin-top: 56px; padding: 46px 0; border-top:1px solid var(--line); background:#fff; }
.footer-grid { display:grid; grid-template-columns: 1.2fr repeat(3,1fr); gap:24px; }
.footer-grid h4 { margin:0 0 12px; }
.footer-grid a { display:block; color:var(--muted); padding:4px 0; }
.footer-bottom { margin-top:28px; display:flex; justify-content:space-between; gap:18px; color:var(--muted); font-size:14px; }
.empty-state { text-align:center; padding: 54px 20px; }
.kpi { display:flex; gap:16px; flex-wrap:wrap; margin-top: 22px; }
.kpi div { padding: 14px 16px; background:#fff; border:1px solid var(--line); border-radius:18px; min-width: 130px; }
.kpi strong { display:block; font-size:24px; letter-spacing:-.04em; }
.kpi span { color:var(--muted); font-size:13px; }
@media (max-width: 980px) {
  .menu-toggle { display:inline-flex; }
  .nav-links { position:absolute; top:76px; left:0; right:0; margin:0; flex-direction:column; align-items:stretch; background:#fff; padding:10px 20px 18px; border-bottom:1px solid var(--line); transform: translateY(-12px); opacity:0; pointer-events:none; transition:.18s ease; }
  .nav-links.open { transform:none; opacity:1; pointer-events:auto; }
  .nav-links a { border-radius:14px; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .cart-layout, .checkout-layout, .footer-grid { grid-template-columns:1fr; }
  .section-head { display:block; }
  .nav-actions { margin-left:auto; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .navbar { gap: 10px; }
  .brand span { display:none; }
  .lang-select { max-width: 128px; padding-right: 20px; }
  .hero { padding-top: 34px; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img { width:72px; height:64px; }
  .cart-item .qty { grid-column: 2; }
  .footer-bottom { display:block; }
}


/* Uploaded policy and guide pages, adapted to the unified storefront style */
.legacy-page { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 20px; }
.legacy-page .breadcrumbs { margin: 4px 0 24px; font-size: 14px; color: var(--muted); }
.legacy-page .breadcrumbs a { color: var(--muted); }
.legacy-page .breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.legacy-page .breadcrumbs span { margin: 0 8px; }
.legacy-page .policy-content,
.legacy-page .privacy-content,
.legacy-page .legal-content,
.legacy-page .guide-main,
.legacy-page .guide-sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.legacy-page .policy-content,
.legacy-page .privacy-content,
.legacy-page .legal-content { padding: clamp(24px, 4vw, 50px); margin-bottom: 30px; }
.legacy-page .section-title,
.legacy-page .page-title { color: var(--ink); font-weight: 850; letter-spacing: -.04em; line-height: 1.08; position: relative; padding-bottom: 12px; margin: 34px 0 22px; }
.legacy-page .section-title { font-size: clamp(25px, 3.2vw, 40px); }
.legacy-page .page-title { font-size: clamp(32px, 5vw, 56px); margin-bottom: 32px; }
.legacy-page .section-title::after,
.legacy-page .page-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 999px; background: var(--ink); }
.legacy-page .section-subhead,
.legacy-page h4 { color: #334155; margin: 24px 0 12px; }
.legacy-page p,
.legacy-page li,
.legacy-page td { color: #475569; }
.legacy-page ul,
.legacy-page ol { margin: 0 0 20px 24px; padding: 0; }
.legacy-page li { margin-bottom: 9px; }
.legacy-page .update-date { display: inline-flex; align-items: center; background: var(--surface-2); color: #334155; padding: 8px 14px; border-radius: 999px; font-size: 14px; margin: 10px 0 28px; }
.legacy-page .policy-intro,
.legacy-page .privacy-intro,
.legacy-page .legal-intro,
.legacy-page .section-desc { font-size: 16px; line-height: 1.85; color: #475569; margin-bottom: 22px; }
.legacy-page .policy-section,
.legacy-page .privacy-section,
.legacy-page .legal-section,
.legacy-page .guide-section { margin-bottom: 42px; }
.legacy-page .policy-note,
.legacy-page .legal-note,
.legacy-page .tips-box { background: #f8fafc; border-left: 4px solid var(--ink); border-radius: 16px; padding: 16px 18px; margin: 20px 0; }
.legacy-page .policy-alert,
.legacy-page .legal-alert { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 18px; padding: 18px; margin: 22px 0; }
.legacy-page .contact-box,
.legacy-page .procedure-box { background: #f8fafc; border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-top: 28px; }
.legacy-page .contact-box { text-align: center; }
.legacy-page .btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 800; }
.legacy-page table { width: 100%; border-collapse: collapse; margin: 24px 0; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.legacy-page th,
.legacy-page td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legacy-page th { background: #f8fafc; color: #334155; }
.legacy-page .info-table th { width: 30%; }
.legacy-page .guide-content { display: grid; grid-template-columns: 290px 1fr; gap: 28px; margin-bottom: 42px; }
.legacy-page .guide-sidebar { padding: 22px; position: sticky; top: 98px; height: fit-content; }
.legacy-page .sidebar-title { font-size: 18px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.legacy-page .guide-menu { list-style: none; margin: 0; padding: 0; }
.legacy-page .guide-menu li { margin-bottom: 10px; padding: 10px 12px; border-radius: 14px; cursor: pointer; transition: .18s ease; }
.legacy-page .guide-menu li:hover,
.legacy-page .guide-menu li.active { background: var(--surface-2); color: var(--ink); font-weight: 800; }
.legacy-page .guide-main { padding: clamp(22px, 4vw, 40px); }
.legacy-page .section-heading { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 3vw, 34px); margin: 0 0 16px; }
.legacy-page .section-heading::before { content: '📌'; }
.legacy-page .step-item,
.legacy-page .procedure-step { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.legacy-page .step-number { width: 36px; height: 36px; min-width: 36px; background: var(--ink); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.legacy-page .step-title { font-size: 18px; color: var(--ink); margin: 0 0 8px; }
.legacy-page .step-text { line-height: 1.75; }
.legacy-page .guide-img { width: 100%; border-radius: 22px; margin: 20px 0; max-height: 420px; object-fit: cover; border: 1px solid var(--line); }
.legacy-page .tips-title { font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.legacy-page .tips-text { color: #475569; }
@media (max-width: 900px) {
  .legacy-page .guide-content { grid-template-columns: 1fr; }
  .legacy-page .guide-sidebar { position: initial; }
}
@media (max-width: 620px) {
  .legacy-page { width: min(100% - 28px, 1180px); }
  .legacy-page .policy-content,
  .legacy-page .privacy-content,
  .legacy-page .legal-content,
  .legacy-page .guide-main { padding: 20px; border-radius: 22px; }
  .legacy-page table,
  .legacy-page thead,
  .legacy-page tbody,
  .legacy-page th,
  .legacy-page td,
  .legacy-page tr { display: block; }
  .legacy-page tr { border-bottom: 1px solid var(--line); }
  .legacy-page td { border: none; border-bottom: 1px solid var(--line); }
}
