:root {
  --red: #b5121b;
  --dark: #202124;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f7f7f8;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-logo { width: 54px; height: 50px; object-fit: contain; flex: 0 0 auto; }
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-cta, .btn { border-radius: 6px; padding: 10px 16px; font-weight: 700; }
.nav-cta, .primary { background: var(--red); color: #fff; }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--dark); }
.nav-cart { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--red); color: var(--red); border-radius: 6px; padding: 8px 11px; font-weight: 700; }
.nav-cart b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 48px;
  padding: 80px 6vw 96px;
  background: linear-gradient(135deg, #fff 0%, #f4f4f5 58%, #2b2d31 58%);
}
.hero h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.1; margin: 8px 0; }
.hero h2 { font-size: 26px; line-height: 1.3; }
.eyebrow, .kicker { color: var(--red); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero-panel {
  align-self: center;
  background: #fff;
  border-left: 6px solid var(--red);
  padding: 28px;
  box-shadow: 0 18px 48px rgba(0,0,0,.13);
}
.hero-panel span { color: var(--red); font-weight: 800; }
.hero-panel strong { display: block; font-size: 30px; margin: 8px 0; }
.hero-photo {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  border-left: 0;
}
.hero-photo span { color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d9dde4;
  padding: 1px;
  margin: 0 6vw;
  transform: translateY(-24px);
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}
.trust-strip div { background: #fff; padding: 22px; }
.trust-strip strong { display: block; font-size: 30px; color: var(--red); line-height: 1; }
.trust-strip span { display: block; color: #4b5563; margin-top: 8px; }

.section { padding: 56px 6vw; }
.section.dark { background: var(--dark); color: #fff; }
.section-head, .heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card, .article-card, .service-tile {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  color: var(--dark);
  overflow: hidden;
}
.service-tile { background: #2b2d31; color: #fff; border-color: #3f4248; }
.service-tile.light { background: #fff; color: var(--dark); }
.service-tile.has-image { padding: 0; }
.service-tile.has-image span { display: block; padding: 22px; }
.service-tile img, .article-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.article-card img { margin: -22px -22px 18px; width: calc(100% + 44px); }

.services-intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 38px;
  border-bottom: 1px solid var(--line);
}
.services-intro .kicker { margin: 0 0 8px; }
.services-intro h1 { max-width: 820px; margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.15; }
.services-intro > p:last-child { max-width: 820px; margin: 16px 0 0; color: #4b5563; font-size: 19px; }
.services-catalog { max-width: 1180px; margin: 0 auto; padding: 44px 24px 60px; }
.services-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.services-section-heading h2 { margin: 0; font-size: 28px; }
.services-section-heading span { color: var(--muted); }
.services-primary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.services-secondary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.service-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 41, 55, .05);
  overflow: hidden;
}
.service-card-media { display: block; overflow: hidden; background: #eff0f2; }
.service-card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-card-primary { display: flex; min-height: 100%; flex-direction: column; }
.service-card-primary .service-card-media { aspect-ratio: 16 / 10; }
.service-card-secondary { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr); }
.service-card-secondary .service-card-media { min-height: 260px; }
.service-card-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: #f4f4f5; }
.service-card-placeholder img { width: 86px; height: 80px; object-fit: contain; }
.service-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.service-card-body h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.35; }
.service-card-body h3 a:hover { color: var(--red); }
.service-card-body p { margin: 0 0 22px; color: #4b5563; }
.service-card-action { margin-top: auto; }
.services-work {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: 44px;
  padding: 48px max(6vw, calc((100vw - 1132px) / 2));
  background: #f4f4f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-work .kicker { margin: 0 0 5px; }
.services-work h2 { margin: 0; font-size: 30px; }
.services-work ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.services-work li { padding: 12px 0; border-bottom: 1px solid #d6d8dc; font-weight: 700; }
.services-contact-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding: 48px max(6vw, calc((100vw - 1132px) / 2));
  background: #25272b;
  color: #fff;
}
.services-contact-cta h2 { margin: 0; font-size: 30px; }
.services-contact-cta p { max-width: 720px; margin: 10px 0 0; color: #d1d5db; }
.services-contact-cta .actions { flex: 0 0 auto; margin-top: 0; }
.services-contact-cta .secondary { border-color: #fff; background: transparent; color: #fff; }
.thumb, .detail-media {
  display: grid;
  place-items: center;
  min-height: 170px;
  background: #f1f2f4;
  color: var(--red);
  font-size: 42px;
  font-weight: 800;
  border-radius: 6px;
  overflow: hidden;
}
.thumb img, .detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media > img { object-fit: contain; max-height: 520px; }
.detail-placeholder { display: grid; place-items: center; width: 100%; min-height: 360px; padding: 24px; color: var(--red); font-size: clamp(30px, 4vw, 54px); text-align: center; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 36px;
  align-items: center;
}
.feature-list { display: grid; gap: 10px; margin-top: 20px; }
.feature-list span { border-left: 4px solid var(--red); background: #fff; padding: 12px 14px; box-shadow: 0 1px 0 var(--line); }
.feature-photo { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #f4f4f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 { margin-top: 0; }

.page-title, .article, .form-page, .contact, .detail { padding: 64px 6vw; }
.page-title { background: var(--bg); }
.detail { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 680px); gap: 36px; max-width: 1180px; margin: 0 auto; padding: 48px 24px; align-items: start; }
.specs { display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 10px; border-bottom: 1px solid var(--line); }
.gallery-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.gallery-row img { width: 100%; height: 130px; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.article { max-width: 900px; }
.lead { font-size: 20px; color: #42464d; }
.about-timeline { margin: 44px 0 36px; border-top: 1px solid var(--line); }
.about-era { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.about-era-marker { color: var(--red); font-size: 28px; font-weight: 800; line-height: 1; }
.about-era .kicker { margin: 0 0 6px; }
.about-era h2 { margin: 0 0 12px; }
.about-era p:last-child { margin-bottom: 0; }
.article-hero-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; margin: 20px 0 28px; }
.toc { border-left: 4px solid var(--red); padding: 12px 16px; background: #fafafa; margin: 24px 0; }
.rich img { max-width: 100%; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 40px; }
.contact-details address { max-width: 620px; padding-left: 16px; border-left: 4px solid var(--red); font-style: normal; }
.contact-list { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.contact-list dt, .contact-list dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); }
.contact-list dd { font-weight: 700; overflow-wrap: anywhere; }
.contact-list a:hover, .footer-contact a:hover { color: #ff6b72; text-decoration: underline; }
.contact-connect { display: grid; gap: 18px; align-content: start; }
.contact-qr-panel { display: flex; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.contact-qr-panel img { width: 160px; height: 160px; padding: 7px; border: 1px solid var(--line); }
.contact-qr-panel div { display: grid; gap: 5px; }
.contact-qr-panel span { color: var(--red); font-weight: 800; }
.map { min-height: 240px; background: var(--bg); padding: 24px; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }
.map-link { display: grid; align-content: center; gap: 10px; border-left: 4px solid var(--red); }
.map-link span { color: var(--muted); }
.map-link b { color: var(--red); }
.form-page form, .editor { display: grid; gap: 14px; max-width: 760px; }
.form-page input, .form-page textarea, .form-page select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.form-page textarea { min-height: 140px; }
.flash { margin: 16px 6vw; padding: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.error-box { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; padding: 12px; border-radius: 6px; }
.category-description { white-space: pre-line; }
.product-name-en { color: #6b7280; font-weight: 700; }
.family-summary { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; padding: 14px 0; }
.family-summary dt { color: #6b7280; }
.family-summary dd { margin: 0; font-weight: 700; }
.variant-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.variant-filters label { display: grid; gap: 5px; }
.variant-filters select { width: 100%; padding: 9px; border: 1px solid #d1d5db; border-radius: 5px; }
.variant-empty { display: grid; gap: 14px; padding: 18px; margin: 18px 0; border-left: 4px solid #b5121b; background: #f9fafb; }
.variant-empty .btn { justify-self: start; }
.product-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 10px; }
.product-gallery button { padding: 0; border: 1px solid #d1d5db; background: #fff; cursor: pointer; }
.product-gallery button:hover, .product-gallery button:focus-visible, .product-gallery button.is-active { border-color: #b5121b; box-shadow: 0 0 0 2px rgba(181,18,27,.15); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr) 160px; gap: 32px; padding: 36px 6vw; background: #161719; color: #fff; }
.site-footer address { max-width: 620px; color: #d1d5db; font-style: normal; }
.footer-contact p { margin: 0 0 6px; }
.footer-qr { display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; font-size: 12px; }
.footer-qr img { width: 132px; height: 132px; padding: 6px; background: #fff; }

.shop-page { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; padding: 28px 3vw 56px; background: #f5f5f5; }
.shop-sidebar { position: sticky; top: 88px; align-self: start; display: grid; gap: 18px; color: #222; }
.shop-search, .filter-block { background: #fff; border: 1px solid #e8e8e8; padding: 16px; }
.shop-search label { display: grid; gap: 8px; font-size: 14px; }
.shop-search input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 3px; }
.button-lite { margin-top: 10px; width: 100%; padding: 10px; border: 0; background: var(--red); color: #fff; border-radius: 3px; cursor: pointer; }
.filter-block h3 { margin: 0 0 12px; font-size: 16px; }
.filter-block small { display: block; color: #777; margin-top: 10px; line-height: 1.45; }
.catalog-filters { display: grid; gap: 12px; }
.catalog-filters .filter-block { padding: 14px 16px; }
.catalog-filters select { width: 100%; padding: 9px; border: 1px solid #ddd; background: #fff; }
.clear-filters { display: block; text-align: center; color: #555; font-size: 13px; }
.filter-row { display: flex; align-items: center; gap: 9px; min-height: 34px; color: #333; font-size: 14px; }
.filter-row em { margin-left: auto; color: #999; font-style: normal; }
.filter-row input { width: 15px; height: 15px; }
.fake-check { width: 15px; height: 15px; border: 1px solid #bdbdbd; border-radius: 2px; background: #fff; flex: 0 0 auto; }
.filter-row.is-active { color: var(--red); font-weight: 700; }
.filter-row.is-active .fake-check { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 3px #fff; }
.shop-main { min-width: 0; }
.shop-hero { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: #fff; border: 1px solid #e8e8e8; padding: 22px; margin-bottom: 14px; }
.shop-hero h1 { margin: 0 0 8px; font-size: 28px; }
.shop-hero p { margin: 0; color: #555; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid #e8e8e8; padding: 12px 14px; margin-bottom: 14px; }
.shop-toolbar > span { color: #555; font-size: 14px; }
.sort-chip { border: 1px solid #ddd; background: #fff; padding: 8px 12px; border-radius: 3px; cursor: pointer; }
.sort-chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.shop-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.shop-card { display: flex; min-width: 0; flex-direction: column; background: #fff; border: 1px solid #e5e5e5; color: #222; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.shop-card > a:first-child { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.shop-card:hover { transform: translateY(-2px); border-color: var(--red); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.shop-thumb { position: relative; aspect-ratio: 1 / 1; background: #f7f7f7; display: grid; place-items: center; overflow: hidden; }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-thumb > span { color: var(--red); font-size: 40px; font-weight: 800; }
.shop-thumb b { position: absolute; left: 8px; bottom: 8px; background: #f97316; color: #fff; padding: 3px 6px; border-radius: 2px; font-size: 12px; }
.shop-card-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 10px; }
.shop-card h2 { margin: 0; font-size: 14px; line-height: 1.35; min-height: 38px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-model { color: #666; margin: 6px 0 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-price { margin: 8px 0 6px; color: #ee4d2d; font-size: 18px; line-height: 1; }
.shop-badges { display: flex; gap: 4px; flex-wrap: wrap; min-height: 22px; }
.shop-badges span { color: #ee4d2d; border: 1px solid #ffb6a8; background: #fff7f5; font-size: 11px; padding: 1px 4px; border-radius: 2px; }
.suitable-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.suitable-badges span { padding: 2px 5px; border: 1px solid #d1d5db; border-radius: 3px; background: #f9fafb; color: #374151; font-size: 11px; }
.suitable-badges-detail { margin: 8px 0 12px; }
.suitable-badges-detail span { padding: 5px 8px; font-size: 13px; }
.shop-meta { display: flex; justify-content: space-between; gap: 6px; color: #555; font-size: 12px; margin-top: auto; padding-top: 8px; }
.shop-meta span:first-child { color: #f59e0b; }
.shop-location { color: #0f9f8f; font-size: 12px; margin: 6px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty-shop { grid-column: 1 / -1; background: #fff; border: 1px solid #e8e8e8; padding: 32px; text-align: center; }
.shop-add { padding: 0 10px 10px; }
.shop-add button { width: 100%; border: 1px solid var(--red); background: #fff; color: var(--red); padding: 8px; border-radius: 3px; cursor: pointer; font-weight: 700; }
.shop-add button:hover { background: var(--red); color: #fff; }
.shop-choose { display: flex; height: 52px; flex: 0 0 52px; align-items: center; justify-content: center; overflow: hidden; margin: 0 10px 10px; padding: 7px 8px; text-align: center; border: 1px solid var(--red); color: var(--red); font-weight: 700; line-height: 1.3; }
.add-cart-form { display: flex; gap: 10px; align-items: end; }
.add-cart-form label { display: grid; gap: 3px; font-size: 13px; }
.add-cart-form input { width: 80px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; }
.product-request-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 18px; }
.cart-confirmation { flex-basis: 100%; color: #166534; font-size: 13px; }
.variant-picker { display: grid; gap: 10px; margin: 22px 0; padding: 16px; border: 1px solid var(--line); background: var(--bg); }
.variant-picker > div { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-picker button { min-width: 68px; padding: 9px 12px; border: 1px solid #cbd5e1; background: #fff; border-radius: 5px; cursor: pointer; }
.variant-picker button.is-active { border-color: var(--red); background: var(--red); color: #fff; }
.variant-price { color: var(--red); font-size: 24px; font-weight: 800; }
.variant-comparison { background: var(--bg); }
.comparison-scroll { overflow-x: auto; }
.variant-comparison table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; }
.variant-comparison th, .variant-comparison td { padding: 13px; text-align: left; border-bottom: 1px solid var(--line); }
.variant-comparison th { background: var(--dark); color: #fff; }
.variant-comparison tr.is-active { background: #fff1f2; }
.variant-comparison button { border: 0; background: transparent; color: var(--red); font-weight: 800; cursor: pointer; }

.cart-page, .checkout-page, .tracking-page, .result-page { padding: 48px 6vw 72px; }
.cart-list { border: 1px solid var(--line); border-bottom: 0; }
.cart-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 110px 90px; gap: 18px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); background: #fff; }
.cart-image { width: 100px; height: 100px; display: grid; place-items: center; background: var(--bg); color: var(--red); font-weight: 800; overflow: hidden; }
.cart-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-row h2 { font-size: 17px; margin: 0; }
.cart-row p { color: var(--muted); margin: 5px 0 0; }
.cart-row label { display: grid; gap: 4px; font-size: 13px; }
.cart-row input { width: 90px; padding: 9px; border: 1px solid var(--line); }
.cart-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 10px; margin: 8px 0; font-size: 13px; }
.cart-details dt { color: var(--muted); }
.cart-details dd { margin: 0; }
.cart-details textarea { width: 100%; min-height: 58px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; }
.pending-advice-badge { display: inline-block; margin-top: 6px; padding: 4px 8px; border-radius: 999px; color: #92400e; background: #fef3c7; font-size: 12px; font-weight: 700; }
.clear-cart-form { margin-top: 14px; text-align: right; }
.text-button { border: 0; background: transparent; color: var(--red); cursor: pointer; }
.cart-summary { display: flex; justify-content: flex-end; align-items: center; gap: 28px; position: sticky; bottom: 0; padding: 16px 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.05); }
.cart-empty { text-align: center; padding: 64px 20px; background: var(--bg); border: 1px solid var(--line); }

.checkout-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 34px; align-items: start; }
.checkout-form form, .tracking-page form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-form label, .tracking-page label { display: grid; gap: 6px; }
.checkout-form input, .checkout-form select, .checkout-form textarea, .tracking-page input { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 6px; }
.checkout-form textarea { min-height: 120px; }
.checkout-summary { position: sticky; top: 100px; border: 1px solid var(--line); padding: 22px; background: var(--bg); }
.checkout-summary h2 { margin-top: 0; }
.checkout-summary > div, .result-items p, .tracking-result section p { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
.checkout-summary small { display: block; color: var(--muted); }
.checkout-summary .checkout-summary-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.checkout-summary-image { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--red); font-weight: 800; }
.checkout-summary-image img { width: 100%; height: 100%; object-fit: cover; }
.summary-note { padding-top: 14px; color: var(--muted); font-size: 13px; }
.contact-memory-controls { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.contact-memory-controls .remember-contact { display: flex; grid-template-columns: none; align-items: center; gap: 8px; }
.contact-memory-controls input { width: auto; }
.contact-memory-controls small { color: var(--muted); }
#contact-memory-status { color: #166534; font-size: 13px; }

.result-page { max-width: 760px; margin: auto; text-align: center; }
.result-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: auto; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 32px; }
.reference-box { display: grid; gap: 5px; margin: 28px 0; padding: 22px; border: 2px dashed var(--red); background: #fff7f7; }
.reference-box strong { color: var(--red); font-size: 28px; letter-spacing: .03em; }
.result-items { text-align: left; margin-bottom: 24px; }
.result-page .actions { justify-content: center; }
.tracking-page { max-width: 860px; margin: auto; }
.tracking-page > form { grid-template-columns: 1fr 1fr auto; align-items: end; margin: 28px 0; padding: 20px; background: var(--bg); border: 1px solid var(--line); }
.tracking-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tracking-result > div { display: grid; gap: 7px; padding: 18px; background: #fff; }
.tracking-result > div span { color: var(--muted); font-size: 13px; }
.tracking-result section { grid-column: 1 / -1; background: #fff; padding: 18px; }
.delivery-proof-image { display: block; max-width: 420px; max-height: 420px; margin-top: 14px; object-fit: contain; border: 1px solid var(--line); }
.status-pill { color: var(--red); }
.quotation-page { max-width: 1080px; margin: auto; padding: 48px 6vw 72px; }
.quotation-head { display: flex; justify-content: space-between; gap: 28px; border-bottom: 3px solid var(--red); margin-bottom: 24px; }
.quotation-table { border: 1px solid var(--line); }
.quotation-table > div { display: grid; grid-template-columns: minmax(0, 1fr) 100px 150px 150px; }
.quotation-table > div > span { padding: 12px; border-bottom: 1px solid var(--line); }
.quotation-table-head { background: var(--dark); color: #fff; font-weight: 700; }
.quotation-totals { max-width: 460px; margin: 18px 0 18px auto; }
.quotation-totals p { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; margin: 0; border-bottom: 1px solid var(--line); }
.quotation-totals .grand-total { color: var(--red); font-size: 20px; border-bottom: 3px double var(--red); }
.quotation-terms { padding: 18px; background: var(--bg); }
.quotation-response { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.quotation-response form { display: flex; gap: 10px; }
.decision-result { color: var(--red); }
.shipping-address-section { margin-top: 32px; padding: 28px; border: 1px solid var(--line); background: var(--bg); }
.shipping-address-section > h2 { margin-top: 0; }
.shipping-address-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shipping-address-form label { display: grid; align-content: start; gap: 7px; font-weight: 600; }
.shipping-address-form input, .shipping-address-form textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; }
.shipping-address-form textarea { min-height: 88px; resize: vertical; }
.shipping-address-form .full { grid-column: 1 / -1; }
.success-box { margin-bottom: 18px; padding: 14px 16px; color: #166534; background: #ecfdf5; border: 1px solid #a7f3d0; }
.error-box { margin-bottom: 18px; padding: 14px 16px; color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.error-box p { margin-bottom: 0; }
.payment-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.payment-info, .slip-upload { border: 1px solid var(--line); padding: 24px; background: #fff; }
.payment-info { text-align: center; background: var(--bg); }
.payment-info h2, .slip-upload h2 { margin-top: 0; }
.payment-amount { color: var(--red); font-size: 28px; font-weight: 800; }
.payment-qr { display: block; width: 240px; max-width: 100%; margin: 16px auto; padding: 8px; background: #fff; border: 1px solid var(--line); }
.payment-account-details { margin-top: 14px; text-align: left; }
.payment-account-details p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.payment-not-ready { padding: 16px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; }
.slip-upload form, .slip-upload label { display: grid; gap: 10px; }
.slip-upload form { gap: 16px; }
.slip-upload input, .slip-upload textarea { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 6px; }
.slip-upload textarea { min-height: 90px; }
.payment-submitted { margin-bottom: 18px; padding: 14px; color: #166534; background: #ecfdf5; border: 1px solid #a7f3d0; }

@media (max-width: 820px) {
  .site-header, .section-head, .cta-band { align-items: flex-start; flex-direction: column; }
  .hero, .grid, .detail, .contact, .site-footer, .trust-strip, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; background: #f7f7f8; }
  .hero-photo { min-height: 320px; }
  .trust-strip { margin: 0 20px; transform: none; }
  nav { font-size: 14px; }
  .page-title, .article, .form-page, .contact, .detail, .section { padding-left: 20px; padding-right: 20px; }
  .about-era { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 26px 0; }
  .about-era-marker { font-size: 22px; }
  .feature-photo { height: 280px; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .shop-page { grid-template-columns: 1fr; padding: 18px 14px 36px; }
  .shop-sidebar { position: static; }
  .shop-hero, .shop-toolbar { align-items: flex-start; flex-direction: column; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-row { grid-template-columns: 76px minmax(0, 1fr); }
  .cart-image { width: 76px; height: 76px; }
  .cart-summary, .checkout-page { align-items: stretch; grid-template-columns: 1fr; }
  .cart-summary { flex-direction: column; }
  .form-grid, .tracking-page > form, .tracking-result { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .quotation-head, .quotation-response, .quotation-response form { align-items: stretch; flex-direction: column; }
  .quotation-table { overflow-x: auto; }
  .quotation-table > div { min-width: 720px; }
  .payment-section { grid-template-columns: 1fr; }
  .shipping-address-form { grid-template-columns: 1fr; }
  .shipping-address-form .full { grid-column: auto; }
  .services-intro { padding: 40px 20px 30px; }
  .services-intro > p:last-child { font-size: 17px; }
  .services-catalog { padding: 34px 20px 44px; }
  .services-primary-grid, .services-secondary-grid { grid-template-columns: 1fr; }
  .service-card-secondary { grid-template-columns: minmax(150px, .75fr) minmax(0, 1.25fr); }
  .service-card-secondary .service-card-media { min-height: 240px; }
  .services-work { grid-template-columns: 1fr; gap: 20px; padding: 40px 20px; }
  .services-work ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-contact-cta { align-items: flex-start; flex-direction: column; padding: 40px 20px; }
}

@media (max-width: 560px) {
  .service-card-secondary { display: flex; flex-direction: column; }
  .service-card-secondary .service-card-media { aspect-ratio: 16 / 10; min-height: 0; }
  .services-work ul { grid-template-columns: 1fr; }
  .services-contact-cta .actions { width: 100%; }
  .services-contact-cta .btn { flex: 1; text-align: center; }
}
