:root {
  --content-width: 1450px;
  --page-gutter: max(20px, calc((100vw - var(--content-width)) / 2));
  --page: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --blue: #0071e3;
  --teal: #00796f;
  --green: #168a3a;
  --orange: #d85a1a;
  --purple: #8b42d9;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--page);
}

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

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

.topbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 44px;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
  background: rgba(245, 245, 247, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
}

.logo,
.icon-button {
  display: grid;
  place-items: center;
}

.logo img {
  width: auto;
  height: 24px;
  object-fit: contain;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: #3b3b40;
  font-size: 0.72rem;
  font-weight: 400;
}

.icon-button {
  width: 54px;
  height: 34px;
  border: 0;
  color: #3b3b40;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: #3b3b40;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.notice {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  color: #3b3b40;
  background: #ffffff;
  font-size: 0.82rem;
  text-align: center;
}

.notice > * {
  max-width: var(--content-width);
}

.notice a,
.store-hero aside a {
  color: var(--blue);
}

main {
  overflow: hidden;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: end;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 46px 20px 34px;
}

.store-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.store-hero p {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.85vw, 1.55rem);
  font-weight: 600;
  line-height: 1.18;
}

.store-hero aside {
  display: grid;
  justify-items: end;
  gap: 9px;
  padding-bottom: 6px;
  font-size: 0.82rem;
  text-align: right;
}

.store-hero aside strong {
  max-width: 320px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.14;
}

.category-strip {
  display: flex;
  gap: 44px;
  overflow-x: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 26px 0 72px;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.card-row::-webkit-scrollbar {
  display: none;
}

.category-strip a {
  flex: 0 0 159px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  color: #333338;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.16;
  text-align: center;
}

.category-thumb {
  display: grid;
  width: 112px;
  height: 94px;
  place-items: center;
  border-radius: 23px;
  color: var(--teal);
  background: #ffffff;
  font-size: 1.24rem;
  font-weight: 700;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.shelf {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px 86px;
}

.shelf h2 {
  margin: 0 0 20px;
  padding-right: 20px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.shelf h2 span {
  color: var(--muted);
}

.card-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-width: none;
}

.product-row {
  width: 100%;
  overflow-x: auto;
  padding: 0 0 8px;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
}

.feature-card,
.image-card,
.info-card,
.stat-card {
  flex: 0 0 min(430px, 82vw);
  min-height: 500px;
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.product-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  min-height: 420px;
  padding: 22px;
  scroll-snap-align: start;
}

.feature-card.product-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
}

.feature-card.product-card p {
  font-size: 0.82rem;
}

.feature-card.product-card img {
  height: 50%;
}

.feature-card h3,
.image-card h3,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.feature-card p,
.image-card p,
.info-card p,
.stat-card p {
  color: #3f3f45;
  font-size: 0.92rem;
  line-height: 1.45;
}

.feature-card img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 54%;
  object-fit: cover;
}

.feature-card.dark,
.feature-card.blue {
  color: #ffffff;
  background: #050505;
}

.feature-card.blue {
  background: linear-gradient(160deg, #004e75, #021f36);
}

.feature-card.dark p,
.feature-card.blue p {
  color: rgba(255, 255, 255, 0.82);
}

.tag {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tag.warm {
  color: var(--orange);
}

.accessory-shelf {
  padding-bottom: 96px;
}

.accessory-row {
  align-items: stretch;
}

.accessory-card {
  flex: 0 0 min(300px, 78vw);
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.accessory-card img {
  width: calc(100% + 48px);
  height: 230px;
  margin: -24px -24px 22px;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
}

.accessory-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.14;
}

.accessory-card p {
  margin: 10px 0 0;
  color: #3f3f45;
  font-size: 0.84rem;
  line-height: 1.38;
}

.accessory-card .tag {
  margin: 0 0 8px;
}

.accessory-card .price {
  margin-top: 28px;
  color: var(--muted);
}

.accessory-feature {
  flex-basis: min(460px, 82vw);
  justify-content: flex-start;
}

.accessory-feature h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.accessory-feature img {
  height: 265px;
  margin-top: auto;
  margin-bottom: -24px;
}

.compact-row .info-card,
.compact-row .stat-card {
  flex-basis: min(300px, 78vw);
  min-height: 235px;
}

.mini-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 11px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
}

.mini-icon.green {
  background: var(--green);
}

.mini-icon.orange {
  background: var(--orange);
}

.mini-icon.purple {
  background: var(--purple);
}

.info-card h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.16;
}

.image-card {
  min-height: 455px;
}

.image-card img {
  width: calc(100% + 56px);
  height: 245px;
  margin: 28px -28px -28px;
  object-fit: cover;
}

.stat-card strong {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 1.75rem;
  line-height: 1;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 40px;
  max-width: calc(var(--content-width) - 40px);
  margin: 22px auto 96px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbfd;
  font: inherit;
  font-size: 0.88rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 600;
}

.footer {
  min-height: 182px;
  color: #2d2a22;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--content-width);
  min-height: 182px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(320px, 440px);
  gap: 34px;
  align-items: center;
  margin: 0 auto;
  padding: 28px 20px;
}

.footer-logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.footer-company strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
}

.footer-company p,
.footer-contact p {
  margin: 4px 0;
  color: #000000;
  font-size: 0.82rem;
}

.footer-contact {
  font-style: normal;
}

.footer-contact a {
  color: var(--blue);
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .topnav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-actions {
    display: none;
  }

  .store-hero,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 16px;
    align-items: start;
  }

  .store-hero aside {
    justify-items: start;
    text-align: left;
  }

  .category-strip {
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .notice {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .store-hero {
    padding-top: 54px;
  }

  .store-hero h1 {
    font-size: 3rem;
  }

  .feature-card,
  .image-card {
    min-height: 440px;
    padding: 22px;
  }

  .product-card {
    flex-basis: 78vw;
    min-width: 78vw;
  }

  .feature-card img {
    height: 48%;
  }

  .image-card img {
    width: calc(100% + 44px);
    margin: 24px -22px -22px;
  }
}
