:root {
  color-scheme: light;
  --ink: #07101f;
  --muted: #667085;
  --soft: #f5f7fb;
  --soft-blue: #eef6ff;
  --line: #dbe4ef;
  --blue: #0071e3;
  --blue-dark: #0057b8;
  --navy: #061126;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 30, 58, .12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  height: 64px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(220, 229, 239, .72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 26px;
  color: #fff;
  background: linear-gradient(135deg, #005bff, #19a8ff);
  border-radius: 6px;
  font-size: 14px;
  font-style: italic;
  font-weight: 860;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: #263044;
  font-size: 13px;
  font-weight: 620;
}

.nav-links a {
  padding: 10px 0;
}

.cart-button {
  justify-self: end;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.cart-button:hover,
.icon-button:hover,
.text-button:hover {
  border-color: #b8c7d9;
}

.cart-icon {
  width: 17px;
  height: 17px;
  border: 1.8px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 5px 5px;
}

.cart-icon::before {
  content: "";
  display: block;
  width: 8px;
  height: 6px;
  margin: -6px auto 0;
  border: 1.8px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
}

.hero-section {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  padding: clamp(46px, 7vw, 94px) clamp(22px, 6vw, 88px);
  color: #fff;
  background: linear-gradient(135deg, #04112a 0%, #071a42 50%, #031029 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(58px, 7.8vw, 116px);
  line-height: .93;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.review-card {
  width: min(100%, 520px);
  margin-top: 30px;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 163, 255, .18), transparent 32%),
    linear-gradient(145deg, rgba(18, 39, 78, .94), rgba(7, 17, 38, .92));
  border: 1px solid rgba(154, 202, 255, .28);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
}

.owner-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.owner-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #061126;
  background: linear-gradient(145deg, #ffffff, #bfe4ff);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 111, 227, .25);
  font-size: 17px;
  font-weight: 860;
  overflow: hidden;
}

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

.owner-profile span {
  display: block;
  margin-bottom: 8px;
  color: #86c8ff;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.review-card p {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.55;
}

.review-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.review-contact-list > * {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 68px;
  padding: 13px 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .055));
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 7px;
}

.review-contact-list > a:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(134, 200, 255, .32);
}

.review-contact-list small {
  color: rgba(183, 222, 255, .9);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.review-card strong,
.review-card a {
  color: #fff;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 760;
  line-height: 1.25;
}

.review-contact-list strong {
  min-width: 0;
  overflow-wrap: normal;
}

.review-contact-list a[href^="tel"] strong {
  white-space: nowrap;
}

.owner-email strong {
  font-size: 12px;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 720;
  cursor: pointer;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #00a3ff);
  box-shadow: 0 18px 34px rgba(11, 111, 255, .28);
}

.primary-action:hover {
  background: linear-gradient(135deg, var(--blue-dark), #008bea);
}

.secondary-action {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, .14);
}

.full-width {
  width: 100%;
}

.hero-visual {
  min-height: min(62vw, 680px);
  background:
    linear-gradient(90deg, rgba(5, 17, 43, .72) 0%, rgba(5, 17, 43, .12) 30%, rgba(5, 17, 43, 0) 72%),
    url("/assets/catalog/water-toy-white.jpg") center / cover no-repeat;
  transform: translateX(4vw);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .28);
}

.section-label {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(260px, .86fr) minmax(520px, 1.14fr);
  align-items: stretch;
  gap: 20px;
  max-width: 1180px;
  margin: -54px auto 0;
  padding: 18px;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(219, 228, 239, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-intro {
  padding: 18px clamp(10px, 2vw, 24px);
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1;
}

.contact-band p {
  max-width: 500px;
  margin: 12px 0 0;
  color: #526072;
  font-size: 14px;
  line-height: 1.55;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-card {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  color: #081426;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(241, 247, 255, .95));
  border: 1px solid #dce7f5;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 40, 80, .08);
}

.contact-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-card strong {
  min-width: 0;
  color: #0b2447;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border-block: 1px solid var(--line);
  background: #fff;
}

.intro-strip div {
  min-height: 112px;
  padding: 26px clamp(18px, 5vw, 70px);
  border-right: 1px solid var(--line);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip strong {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.intro-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.category-nav {
  position: sticky;
  top: 64px;
  z-index: 15;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px clamp(18px, 6vw, 88px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(219, 228, 239, .85);
  backdrop-filter: blur(18px);
}

.category-nav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: #17233a;
  background: #f4f7fb;
  border: 1px solid #e2e9f2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 720;
}

.catalog-section {
  padding: clamp(58px, 7vw, 104px) clamp(18px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.catalog-section:nth-child(odd) {
  background: #fbfdff;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: clamp(24px, 5vw, 82px);
  max-width: 1280px;
  margin: 0 auto;
}

.category-copy h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}

.category-copy p {
  max-width: 560px;
  margin: 24px 0 0;
  color: #3f4b5f;
  font-size: 20px;
  line-height: 1.55;
}

.category-copy strong {
  display: block;
  max-width: 520px;
  margin-top: 24px;
  color: #101828;
  font-size: 15px;
  line-height: 1.55;
}

.category-image {
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f8fd, #ffffff);
  border-radius: 8px;
}

.category-image img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  padding: clamp(16px, 3vw, 42px);
}

.feature-product {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: 34px;
  max-width: 1180px;
  margin: clamp(38px, 5vw, 70px) auto 26px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 35, 70, .08);
}

.feature-product-media {
  min-height: 280px;
  display: grid;
  place-items: center;
  background: #f6f9fc;
  border-radius: 8px;
  overflow: hidden;
}

.feature-product-media img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.feature-product-copy h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.feature-product-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.feature-product-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.premium-showcase {
  max-width: 1280px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.premium-showcase figure {
  margin: 0;
  min-height: 330px;
  overflow: hidden;
  background: #061126;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 35, 70, .08);
}

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

.product-grid {
  max-width: 1280px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(15, 35, 70, .06);
}

.product-media {
  aspect-ratio: 1 / .88;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f7fbff, #ffffff);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.product-body {
  padding: 18px;
}

.product-kicker {
  display: block;
  color: #4d5a6d;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-title {
  min-height: 44px;
  margin: 8px 0 12px;
  font-size: 18px;
  line-height: 1.22;
}

.product-meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.price {
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  white-space: nowrap;
}

.small-action {
  min-height: 36px;
  padding: 0 13px;
  color: #fff;
  background: #07101f;
  border: 1px solid #07101f;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.small-action:hover {
  background: #243147;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(320px, 1.14fr);
  gap: clamp(26px, 6vw, 84px);
  align-items: center;
  padding: clamp(64px, 8vw, 118px) clamp(20px, 6vw, 88px);
  background: #f4f8fc;
}

.feature-media {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: .98;
}

.feature-copy p {
  max-width: 640px;
  color: #475467;
  font-size: 17px;
  line-height: 1.7;
}

.detail-list {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-list div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list span {
  color: var(--muted);
}

.inquiry-section {
  padding: clamp(62px, 8vw, 112px) clamp(20px, 6vw, 88px);
  background: #fff;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.inquiry-layout {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
}

.cart-panel,
.inquiry-form,
.drawer-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(16, 24, 40, .08);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-title h3 {
  margin: 0;
}

.text-button,
.icon-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  cursor: pointer;
}

.text-button {
  padding: 8px 12px;
  color: #475467;
  font-size: 12px;
  font-weight: 720;
}

.icon-button {
  width: 36px;
  height: 36px;
}

.cart-items {
  display: grid;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-line-title,
.cart-line-meta {
  display: block;
}

.cart-line-title {
  font-weight: 720;
}

.cart-line-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.quantity-controls {
  display: grid;
  grid-template-columns: 28px 32px 28px;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.quantity-controls button {
  height: 30px;
  border: 0;
  background: #f7f9fc;
  cursor: pointer;
}

.cart-empty {
  display: none;
  padding: 24px 22px;
  color: var(--muted);
}

.cart-empty.is-visible {
  display: block;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
}

.cart-total span {
  color: var(--muted);
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #263044;
  font-size: 14px;
  font-weight: 720;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
}

.inquiry-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.is-success {
  color: #087f5b;
}

.form-status.is-error {
  color: #c92a2a;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 42px clamp(20px, 6vw, 88px);
  color: #dfe9f8;
  background: var(--navy);
}

.site-footer p {
  max-width: 420px;
  color: #aebbd0;
  line-height: 1.6;
}

.footer-brand {
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 10px;
  align-content: center;
  font-style: normal;
}

.contact-list a,
.contact-list span {
  color: #fff;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 11, 25, .52);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  padding: 24px;
  overflow: auto;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .category-hero,
  .feature-section,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 58vw;
    transform: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-product {
    grid-template-columns: 1fr;
  }

  .premium-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 60px;
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-section {
    padding: 34px 18px 42px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .review-card {
    padding: 18px;
  }

  .owner-profile {
    align-items: start;
  }

  .owner-avatar {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }

  .review-card h2 {
    font-size: 26px;
  }

  .review-contact-list {
    grid-template-columns: 1fr;
  }

  .review-contact-list > * {
    min-height: 66px;
  }

  .owner-email strong {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 74vw;
  }

  .contact-band {
    grid-template-columns: 1fr;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .intro-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 0;
  }

  .intro-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-nav {
    top: 60px;
    padding: 12px 16px;
  }

  .catalog-section {
    padding: 46px 16px;
  }

  .category-copy h2 {
    font-size: 42px;
  }

  .category-copy p {
    font-size: 16px;
  }

  .category-image {
    min-height: 310px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .premium-showcase figure {
    min-height: 240px;
  }

  .product-media {
    aspect-ratio: 1 / .78;
  }

  .feature-section,
  .inquiry-section {
    padding: 48px 16px;
  }

  .feature-copy h2,
  .section-heading h2 {
    font-size: 38px;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }
}
