:root {
  --primary:#ee4d2d;
  --primary2:#ff7337;
  --accent:#fff2ed;
  --text:#1f2937;
  --muted:#667085;
  --line:#e5e7eb;
  --bg:#f7f8fa;
  --card:#fff;
  --radius:16px;
  --shadow:0 8px 28px 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",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55}

a {
  color:inherit;
  text-decoration:none}

img {
  max-width:100%;
  display:block}

.wrap {
  width:min(1200px,calc(100% - 28px));
  margin:auto}

.topline {
  font-size:12px;
  background:#fff;
  border-bottom:1px solid var(--line)}

.topline .wrap {
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:7px 0}

.top {
  position:sticky;
  top:0;
  z-index:30;
  background:#fff;
  border-bottom:1px solid var(--line)}

.nav {
  display:grid;
  grid-template-columns:auto minmax(260px,1fr) auto;
  align-items:center;
  gap:22px;
  padding:12px 0}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  white-space:nowrap}

.brand img {
  width:118px;
  height:52px;
  object-fit:contain}

.search {
  display:flex;
  border:2px solid var(--primary);
  border-radius:10px;
  overflow:hidden;
  background:#fff}

.search input {
  width:100%;
  border:0;
  outline:0;
  padding:11px 14px;
  font-size:14px}

.search button {
  border:0;
  background:var(--primary);
  color:#fff;
  padding:0 20px;
  font-weight:700;
  cursor:pointer}

.actions {
  display:flex;
  gap:8px}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--primary);
  border-radius:9px;
  padding:10px 17px;
  background:var(--primary);
  color:#fff;
  font-weight:700}

.btn.outline {
  background:#fff;
  color:var(--primary)}

.catbar {
  background:#fff;
  border-bottom:1px solid var(--line)}

.catbar .wrap {
  display:flex;
  gap:10px;
  overflow:auto;
  padding:10px 0;
  scrollbar-width:none}

.catbar a {
  white-space:nowrap;
  background:#f5f6f8;
  border-radius:999px;
  padding:7px 12px;
  font-size:13px}

.hero {
  padding:26px 0 14px}

.hero-inner {
  min-height:305px;
  border-radius:24px;
  background:linear-gradient(125deg,var(--primary),var(--primary2));
  color:#fff;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  overflow:hidden;
  box-shadow:var(--shadow)}

.hero-copy {
  padding:46px 48px}

.eyebrow {
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  opacity:.85}

.hero h1 {
  font-size:clamp(30px,4.3vw,54px);
  line-height:1.04;
  margin:10px 0 16px;
  max-width:760px}

.hero p {
  max-width:650px;
  margin:0 0 22px;
  opacity:.92}

.hero-visual {
  position:relative;
  display:grid;
  place-items:center;
  padding:30px}

.hero-visual::before,.hero-visual::after {
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.12)}

.hero-visual::before {
  width:260px;
  height:260px}

.hero-visual::after {
  width:180px;
  height:180px;
  transform:translate(100px,-70px)}

.hero-logo {
  position:relative;
  z-index:2;
  width:235px;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.18));
  background:rgba(255,255,255,.94);
  border-radius:20px;
  padding:20px}

.truststrip {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:18px auto 30px}

.trust {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px}

.trust b {
  display:block;
  font-size:14px}

.trust span {
  font-size:12px;
  color:var(--muted)}

.section {
  padding:14px 0 34px}

.section-head {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:end;
  margin-bottom:15px}

.section h2 {
  font-size:25px;
  margin:0}

.section-head p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:14px}

.categories {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px}

.category {
  background:#fff;
  border:1px solid var(--line);
  padding:18px;
  border-radius:16px;
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:.2s}

.category:hover,.product:hover {
  transform:translateY(-2px);
  box-shadow:var(--shadow)}

.category .icon {
  font-size:26px}

.category strong {
  font-size:14px}

.grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px}

.product {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  transition:.2s}

.product-img {
  aspect-ratio:1/1;
  background:#f2f3f5;
  overflow:hidden}

.product-img img {
  width:100%;
  height:100%;
  object-fit:cover}

.product-body {
  padding:12px}

.product-title {
  font-size:14px;
  font-weight:650;
  line-height:1.35;
  min-height:38px}

.price {
  font-size:17px;
  color:var(--primary);
  font-weight:800;
  margin-top:7px}

.old {
  font-size:11px;
  color:#98a2b3;
  text-decoration:line-through}

.meta {
  font-size:11px;
  color:var(--muted);
  margin-top:7px;
  display:flex;
  justify-content:space-between}

.badge {
  display:inline-block;
  background:var(--accent);
  color:var(--primary);
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  font-weight:700}

.info-banner {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:26px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:center}

.info-banner h2 {
  margin:0 0 7px}

.info-banner p {
  margin:0;
  color:var(--muted)}

.breadcrumbs {
  font-size:13px;
  color:var(--muted);
  padding:18px 0}

.detail {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px}

.detail-photo {
  border-radius:18px;
  overflow:hidden;
  background:#f4f5f7;
  aspect-ratio:1/1}

.detail-photo img {
  width:100%;
  height:100%;
  object-fit:cover}

.detail h1 {
  font-size:30px;
  line-height:1.18;
  margin:8px 0}

.detail .big-price {
  font-size:30px;
  color:var(--primary);
  font-weight:850;
  margin:15px 0}

.spec {
  border-top:1px solid var(--line);
  margin-top:18px;
  padding-top:18px}

.spec dl {
  display:grid;
  grid-template-columns:140px 1fr;
  gap:9px;
  margin:0;
  font-size:14px}

.spec dt {
  color:var(--muted)}

.notice {
  margin-top:18px;
  background:#fff8e8;
  border:1px solid #fde6a6;
  border-radius:12px;
  padding:12px;
  font-size:12px;
  color:#775b16}

.content {
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px}

.content h1 {
  margin-top:0}

.content h2 {
  margin-top:28px}

.content p,.content li {
  color:#475467}

.faq details {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 16px;
  margin:9px 0}

.faq summary {
  font-weight:700;
  cursor:pointer}

.filterbar {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:16px}

.filterbar a {
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 12px;
  font-size:12px}

.search-result-note {
  font-size:14px;
  color:var(--muted);
  margin-bottom:18px}

.photo-note {
  font-size:11px;
  color:#667085;
  margin-top:8px}

.photo-note a {
  text-decoration:underline}

footer {
  background:#fff;
  border-top:1px solid var(--line);
  margin-top:40px;
  padding:35px 0 20px}

.footgrid {
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:28px}

.footgrid h3 {
  font-size:14px;
  margin:0 0 10px}

.footgrid a {
  display:block;
  color:var(--muted);
  font-size:13px;
  margin:6px 0}

.footgrid p {
  color:var(--muted);
  font-size:13px}

.copy {
  border-top:1px solid var(--line);
  margin-top:24px;
  padding-top:16px;
  font-size:12px;
  color:var(--muted)}

.skip {
  position:absolute;
  left:-9999px}

.skip:focus {
  left:8px;
  top:8px;
  background:#fff;
  padding:10px;
  z-index:999}

body.theme-global .top {
  background:#fff}

body.theme-global .catbar {
  background:#1f2937;
  color:#fff}

body.theme-global .catbar a {
  background:#374151}

body.theme-global .hero-inner {
  background:linear-gradient(125deg,#111827,var(--primary))}

body.theme-purple .hero-inner {
  background:linear-gradient(130deg,#5b21b6,#7c3aed 50%,#f97316)}

body.theme-orange .hero-inner {
  background:linear-gradient(130deg,#ee4d2d,#ff7a45)}

body.theme-blue .hero-inner {
  background:linear-gradient(130deg,#075db6,#06a0e3)}

@media(max-width:950px) {
  .nav {
  grid-template-columns:1fr auto}

.search {
  grid-column:1/-1;
  grid-row:2}

.grid {
  grid-template-columns:repeat(3,1fr)}

.categories {
  grid-template-columns:repeat(3,1fr)}

.hero-inner {
  grid-template-columns:1fr}

.hero-visual {
  display:none}

.truststrip {
  grid-template-columns:repeat(2,1fr)}

.detail {
  grid-template-columns:1fr}

.footgrid {
  grid-template-columns:repeat(2,1fr)}
}

@media(max-width:600px) {
  .wrap {
  width:min(100% - 20px,1200px)}

.brand span {
  display:none}

.brand img {
  width:95px}

.actions .btn {
  padding:8px 10px;
  font-size:12px}

.hero-copy {
  padding:30px 24px}

.hero h1 {
  font-size:34px}

.grid {
  grid-template-columns:repeat(2,1fr);
  gap:9px}

.categories {
  grid-template-columns:repeat(2,1fr)}

.product-body {
  padding:10px}

.product-title {
  font-size:13px}

.truststrip {
  grid-template-columns:1fr 1fr}

.info-banner {
  grid-template-columns:1fr}

.footgrid {
  grid-template-columns:1fr 1fr}

.detail {
  padding:14px}

.detail h1 {
  font-size:24px}
}
