:root {
  --background: #ffffff;
  --foreground: #202524;
  --muted: #68716e;
  --surface: #f4f6f5;
  --border: #e1e6e3;
  --primary: #146451;
  --primary-hover: #0c493b;
  --on-primary: #ffffff;
  --accent: #d8ee60;
  --warm: #fbf2de;
  --rating: #ad7527;
  --overlay: #20252470;
  --shadow: 0 8px 32px #20252414;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  z-index: 20;
  padding: 12px;
  background: var(--background);
}
.skip-link:focus {
  top: 0;
}
.announcement {
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
  font-size: 11px;
  padding: 7px 16px;
  font-weight: 700;
}
.announcement span {
  margin-left: 20px;
  font-weight: 400;
}
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-block: 23px;
}
.brand {
  font-size: 26px;
  font-weight: 900;
  line-height: 0.92;
  flex-shrink: 0;
}
.brand > span {
  display: block;
  font-size: 13px;
  margin-top: 5px;
}
.brand-dot {
  color: var(--primary);
}
.search {
  display: flex;
  max-width: 580px;
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}
.search input {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border: 0;
  background: none;
}
.search button {
  width: 48px;
  flex-shrink: 0;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  vertical-align: middle;
}
.header-actions {
  display: flex;
  gap: 14px;
  margin-left: auto;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  position: relative;
  border-radius: 4px;
}
.icon-button:hover {
  background: var(--surface);
}
.icon-button[aria-pressed="true"] {
  color: var(--primary);
}
.count {
  position: absolute;
  top: 0;
  right: -2px;
  width: 18px;
  height: 18px;
  font-size: 10px;
  line-height: 18px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 50%;
}
.category-nav {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category {
  white-space: nowrap;
  padding: 13px 0;
  border-bottom: 3px solid transparent;
  font-size: 12px;
}
.category.active {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 475px;
  background: var(--surface);
  overflow: hidden;
}
.hero > img {
  position: absolute;
  height: 100%;
  width: 48%;
  right: 6%;
  top: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  z-index: -1;
}
.hero-inner {
  min-height: 475px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.hero-copy {
  padding-block: 52px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}
h1 {
  font-size: 43px;
  font-weight: 750;
  line-height: 1.5;
}
.hero-text {
  color: var(--muted);
  margin: 20px 0 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--primary);
  color: var(--on-primary);
}
.primary:hover {
  background: var(--primary-hover);
}
.secondary {
  background: var(--foreground);
  color: var(--background);
}
.hero-product {
  align-self: end;
  text-align: right;
  margin-bottom: 26px;
  font-size: 10px;
}
.hero-product > span {
  font-size: 9px;
  color: var(--muted);
}
.hero-product strong {
  display: block;
  font-size: 16px;
}
.benefits {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-block: 22px;
  font-size: 11px;
  color: var(--muted);
}
.benefits b {
  color: var(--foreground);
  font-size: 10px;
  margin-right: 12px;
}
.catalog {
  padding-block: 60px;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
h2 {
  font-size: 25px;
  line-height: 1.4;
}
h2 > span {
  color: var(--primary);
}
.sort {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.sort select {
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 9px 30px 9px 12px;
}
.catalog-toolbar {
  margin-block: 24px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.text-button {
  font-size: 11px;
  color: var(--primary);
  text-decoration: underline;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.product-card {
  min-width: 0;
  position: relative;
}
.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  background: var(--surface);
  overflow: hidden;
  border-radius: 4px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}
.product-image:hover img {
  transform: scale(1.045);
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  padding: 2px 9px;
  font-size: 9px;
  font-weight: 700;
  pointer-events: none;
}
.favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--background);
}
.favorite[aria-pressed="true"] svg {
  fill: var(--primary);
}
.product-info {
  padding: 15px 0;
}
.product-category {
  color: var(--muted);
  font-size: 10px;
}
.product-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 0;
  text-align: left;
}
.product-title:hover {
  color: var(--primary);
}
.rating {
  color: var(--rating);
  font-size: 11px;
}
.rating span {
  color: var(--muted);
  margin-left: 6px;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.price {
  font-size: 21px;
  font-weight: 750;
}
.price small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.add-button {
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 40px;
  height: 40px;
  color: var(--primary);
}
.add-button:hover {
  background: var(--primary);
  color: var(--on-primary);
}
.empty {
  padding: 60px 12px;
  text-align: center;
  background: var(--surface);
}
.empty p {
  margin-top: 12px;
  color: var(--muted);
}
.editorial {
  background: var(--warm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px 60px;
  margin-bottom: 64px;
}
.editorial h2 {
  font-size: 30px;
}
.editorial p:not(.eyebrow) {
  margin: 18px 0 24px;
  color: var(--muted);
}
.editorial img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
}
.footer-inner > div {
  text-align: right;
}
.disclaimer,
.footer small {
  color: var(--muted);
  font-size: 10px;
}
.disclaimer {
  margin-block: 12px;
}
dialog {
  border: 0;
  padding: 32px;
  background: var(--background);
  color: var(--foreground);
  box-shadow: var(--shadow);
  max-height: 90svh;
  overflow-y: auto;
  border-radius: 8px;
}
dialog::backdrop {
  background: var(--overlay);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-close {
  font-size: 25px;
}
.product-dialog {
  width: min(820px, calc(100% - 32px));
}
.product-dialog > .dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 28px;
}
.detail-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.detail-grid h2 {
  margin: 8px 0 12px;
  font-size: 24px;
}
.detail-description {
  color: var(--muted);
  margin: 16px 0;
  font-size: 12px;
}
.detail-grid .price {
  margin: 20px 0;
}
.specs {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.cart-dialog {
  width: min(520px, calc(100% - 24px));
}
.cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cart-heading h2 {
  font-size: 20px;
}
.cart-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-block: 18px;
}
.cart-row img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.cart-row h3 {
  font-size: 12px;
}
.cart-row .price {
  font-size: 15px;
}
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  margin-top: 8px;
  border-radius: 4px;
}
.quantity button {
  width: 32px;
  height: 32px;
}
.quantity span {
  min-width: 24px;
  text-align: center;
}
.remove {
  font-size: 11px;
  color: var(--muted);
}
.total {
  display: flex;
  justify-content: space-between;
  margin: 24px 0 16px;
  font-size: 18px;
  font-weight: 700;
}
.cart-note {
  font-size: 11px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--foreground);
  color: var(--background);
  padding: 12px 22px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: 0.2s;
  max-width: calc(100% - 32px);
  font-size: 12px;
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1400px) {
  .hero > img {
    right: calc((100% - 1200px) / 2);
    width: 600px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    gap: 24px;
  }
  .category-nav {
    gap: 24px;
  }
  h1 {
    font-size: 34px;
  }
  .hero > img {
    right: 0;
    width: 50%;
  }
  .benefits {
    gap: 12px;
  }
  .benefits b {
    display: block;
  }
  .product-grid {
    gap: 24px 18px;
  }
  .editorial {
    padding: 32px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 9px;
  }
  .announcement span {
    margin-left: 10px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 18px 12px;
  }
  .brand {
    font-size: 23px;
  }
  .brand > span {
    font-size: 11px;
  }
  .search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .search input {
    font-size: 16px;
    padding: 10px 12px;
  }
  .header-actions {
    gap: 8px;
  }
  .category-nav {
    gap: 24px;
  }
  .category {
    font-size: 11px;
  }
  .hero,
  .hero-inner {
    min-height: 490px;
  }
  .hero-inner {
    align-items: start;
  }
  .hero-copy {
    padding-top: 30px;
  }
  h1 {
    font-size: 29px;
    line-height: 1.45;
  }
  .hero-text {
    font-size: 12px;
    margin: 12px 0 18px;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 12px;
  }
  .hero > img {
    width: 65%;
    height: 240px;
    top: auto;
    bottom: -6px;
    right: -6px;
  }
  .hero-product {
    position: absolute;
    left: 0;
    bottom: 12px;
    text-align: left;
    margin: 0;
    max-width: 40%;
  }
  .hero-product strong {
    font-size: 12px;
  }
  .hero-product p {
    font-size: 8px;
  }
  .benefits {
    font-size: 9px;
    padding-block: 16px;
  }
  .benefits b {
    font-size: 8px;
    margin: 0;
  }
  .catalog {
    padding-block: 36px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 16px;
  }
  h2 {
    font-size: 21px;
  }
  .sort {
    margin-left: auto;
  }
  .sort select {
    padding-block: 8px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .product-image {
    aspect-ratio: 1;
  }
  .badge {
    top: 9px;
    left: 8px;
    font-size: 8px;
    padding: 2px 5px;
  }
  .favorite {
    top: 4px;
    right: 4px;
    width: 36px;
    height: 36px;
  }
  .favorite svg {
    width: 18px;
  }
  .product-info {
    padding-top: 10px;
  }
  .product-title {
    font-size: 12px;
    min-height: 48px;
  }
  .price {
    font-size: 18px;
  }
  .price small {
    display: block;
  }
  .rating {
    font-size: 9px;
  }
  .rating span {
    margin-left: 3px;
  }
  .editorial {
    padding: 24px;
    grid-template-columns: 1fr;
    position: relative;
    overflow: hidden;
    margin-bottom: 36px;
  }
  .editorial h2 {
    font-size: 25px;
  }
  .editorial > div {
    z-index: 1;
  }
  .editorial img {
    position: absolute;
    right: -22px;
    bottom: 18px;
    width: 47%;
    opacity: 0.65;
  }
  .editorial p:not(.eyebrow) {
    font-size: 12px;
  }
  .footer-inner {
    flex-direction: column;
    padding-block: 30px;
    gap: 22px;
  }
  .footer-inner > div {
    text-align: left;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .detail-grid img {
    max-height: 220px;
  }
  dialog {
    padding: 22px;
  }
  .detail-grid h2 {
    font-size: 21px;
  }
  .cart-row {
    grid-template-columns: 52px 1fr auto;
    gap: 8px;
  }
  .cart-row img {
    width: 52px;
    height: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
