:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --bg-warm: #d9fff4;
  --mint: #d7fbf1;
  --mint-deep: #66dacb;
  --text: #00495a;
  --text-dark: #0e0f11;
  --muted: #5b6f75;
  --line: #eceef1;
  --accent: #005968;
  --accent-strong: #004f5d;
  --accent-dark: #003f4d;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(13, 16, 24, 0.08);
  --shadow-soft: 0 10px 28px rgba(13, 16, 24, 0.07);
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--bg-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(215, 251, 241, 0.95);
  border-bottom: 1px solid rgba(0, 73, 90, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--text);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 52px;
  height: 46px;
  place-items: center;
  border: 5px solid var(--text);
  border-radius: 8px 8px 14px 14px;
  color: var(--text);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: -11px;
  width: 24px;
  height: 14px;
  border: 5px solid var(--text);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--mint);
}

.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 11px;
  width: 26px;
  height: 9px;
  border-bottom: 5px solid var(--text);
  border-radius: 0 0 26px 26px;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 32px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links {
  justify-content: center;
  flex: 1;
}

.nav-links a,
.nav-link-subtle {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-link-subtle:hover {
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 40px;
  height: 40px;
  color: var(--text);
  font-weight: 900;
}

.language-switch::after {
  content: "";
  width: 20px;
  height: 20px;
  margin-left: -4px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.cart-button,
.menu-toggle {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cart-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.cart-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint-deep);
  color: var(--text);
  font-size: 0.78rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  background: var(--bg-soft);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  overflow: hidden;
  padding: 42px 0 0;
  background: var(--mint);
  color: var(--text);
  text-align: center;
}

.hero-inner {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 52px;
}

.store-proof {
  position: relative;
  display: grid;
  justify-items: center;
  margin-bottom: 58px;
}

.proof-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--mint-deep);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 73, 90, 0.08);
}

.proof-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 1060px;
  margin: 0 auto 26px;
  font-size: 4.35rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 1020px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.45;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint-deep);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 66px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 89, 104, 0.16);
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 18px 34px rgba(0, 89, 104, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.46);
  color: var(--text);
}

.btn-outline {
  border-color: var(--accent);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.44);
}

.btn-soft {
  background: #f7f7f7;
  color: #333333;
  box-shadow: none;
}

.btn-dark {
  background: var(--accent);
  color: #ffffff;
  white-space: nowrap;
}

.btn-cart {
  width: 100%;
  background: var(--accent);
  color: #ffffff;
}

.btn-cart.added {
  background: var(--mint-deep);
  color: var(--text);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 20px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.3rem;
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-showcase {
  position: relative;
  min-height: 500px;
}

.dashboard-promo-section {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}

.dashboard-promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: center;
  gap: 0;
}

.dashboard-promo-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(0, 73, 90, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 73, 90, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.dashboard-promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 84px rgba(0, 73, 90, 0.16);
}

.dashboard-promo-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.dashboard-promo-card:hover img {
  transform: scale(1.04);
}

.discount-sticker {
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  align-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background: #ffb300;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(255, 179, 0, 0.3);
  transform: rotate(-11deg);
}

.discount-sticker strong,
.discount-sticker span {
  display: block;
  line-height: 1;
}

.discount-sticker strong {
  font-size: 2.1rem;
}

.discount-sticker span {
  margin-top: 4px;
  font-size: 1.02rem;
  font-weight: 900;
}

.promo-image-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 18px 44px rgba(0, 73, 90, 0.1);
  backdrop-filter: blur(14px);
}

.promo-image-caption span,
.promo-image-caption strong {
  display: block;
}

.promo-image-caption span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.promo-image-caption strong {
  margin-top: 4px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.floating-product-board {
  position: relative;
  display: grid;
  gap: 12px;
  z-index: 2;
  max-width: 430px;
  margin-left: -36px;
  padding: 18px;
  border: 1px solid rgba(0, 73, 90, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(0, 73, 90, 0.14);
  animation: boardFloat 5.5s ease-in-out infinite;
  backdrop-filter: blur(14px);
  scale: 1;
  transition: scale 220ms ease, box-shadow 220ms ease;
}

.floating-product-board:hover {
  scale: 1.015;
  box-shadow: 0 36px 86px rgba(0, 73, 90, 0.18);
}

.board-heading,
.board-product-card {
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 180ms ease, background 180ms ease;
}

.floating-product-board.is-confirming .board-heading,
.floating-product-board.is-confirming .board-product-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
}

.board-heading h2 {
  margin: 8px 0 4px;
  font-size: 1.8rem;
  line-height: 1.08;
}

.board-product-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 96px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.board-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.board-product-card.is-demo-active {
  border-color: rgba(0, 89, 104, 0.28);
  background: var(--mint);
  transform: translateX(-14px) scale(1.015);
  box-shadow: 0 18px 40px rgba(0, 89, 104, 0.13);
}

.board-product-card.is-demo-complete {
  border-color: rgba(102, 218, 203, 0.7);
}

.board-product-card img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
}

.board-product-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.22;
}

.board-product-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.board-product-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.board-product-card.is-demo-active .board-product-status {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.04);
}

.board-product-card.is-demo-complete .board-product-status {
  background: var(--mint-deep);
  color: var(--text);
}

.order-confirmation-card {
  position: absolute;
  inset: 18px;
  z-index: 5;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px 16px;
  border: 1px solid rgba(0, 73, 90, 0.1);
  border-radius: 8px;
  background: rgba(241, 255, 250, 0.96);
  color: var(--text);
  text-align: center;
  box-shadow: 0 24px 56px rgba(0, 73, 90, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  backdrop-filter: blur(14px);
}

.floating-product-board.is-confirming .order-confirmation-card {
  animation: orderConfirmIn 420ms ease forwards;
  pointer-events: auto;
}

.order-confirmation-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #8de8d5;
  color: var(--accent);
  font-size: 1.55rem;
  font-weight: 900;
}

.order-confirmation-card strong {
  max-width: 150px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.order-confirmation-card small {
  color: var(--muted);
  font-size: 0.68rem;
}

@keyframes boardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes orderConfirmIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.showcase-card {
  overflow: hidden;
  border: 1px solid rgba(236, 238, 241, 0.9);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.main-product {
  position: absolute;
  inset: 34px 0 0 42px;
}

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

.product-chip {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.product-chip span,
.mini-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-chip strong,
.mini-card strong {
  display: block;
  font-size: 1.1rem;
}

.mini-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(250px, 55%);
  padding: 14px;
}

.mini-card img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.top-card {
  top: 0;
  left: 0;
}

.bottom-card {
  right: 0;
  bottom: 48px;
}

.spark {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint-deep), var(--accent));
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.35);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 10px 0 12px;
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading-split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.category-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.category-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.category-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
}

.category-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.category-card span,
.product-category,
.product-meta span,
.customer small {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.product-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 900;
}

.product-info {
  padding: 20px;
}

.product-category {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-info h3 {
  margin: 7px 0 16px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.product-meta strong {
  font-size: 1.22rem;
}

.product-meta span::before {
  content: "\2605 ";
  color: var(--accent);
}

.promo-section {
  padding-top: 0;
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--mint), #f4fffb);
  box-shadow: 0 22px 55px rgba(0, 89, 104, 0.12);
}

.promo-banner h2 {
  max-width: 760px;
  margin: 10px 0 12px;
  font-size: 3.3rem;
  line-height: 1.02;
}

.promo-banner p {
  max-width: 560px;
  margin: 0;
  color: rgba(14, 15, 17, 0.72);
}

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

.testimonial-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.stars {
  color: var(--accent);
  letter-spacing: 0;
}

.testimonial-card p {
  margin: 18px 0 24px;
  color: #303238;
}

.customer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--accent);
  font-weight: 900;
}

.customer strong,
.customer small {
  display: block;
}

.newsletter-section {
  padding-top: 86px;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 38px;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.newsletter-card h2 {
  max-width: 680px;
  margin: 10px 0 0;
  font-size: 2.7rem;
  line-height: 1.06;
}

.products-hero {
  padding: 78px 0 64px;
  background: var(--mint);
  color: var(--text);
}

.products-hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.catalog-pill {
  display: inline-flex;
  padding: 10px 20px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--mint-deep);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 73, 90, 0.08);
}

.products-hero h1 {
  max-width: 940px;
  margin: 28px 0 18px;
  font-size: 4rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.products-hero p {
  max-width: 780px;
  margin: 0;
  font-size: 1.18rem;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 760px);
  gap: 10px;
  margin-top: 38px;
  padding: 9px;
  border: 1px solid rgba(0, 73, 90, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 45px rgba(0, 73, 90, 0.08);
}

.search-panel input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--text);
}

.search-panel input::placeholder {
  color: rgba(0, 73, 90, 0.58);
}

.catalog-section {
  background: var(--bg-soft);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.catalog-toolbar h2 {
  margin: 10px 0 8px;
  font-size: 2.7rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 73, 90, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 89, 104, 0.14);
}

.catalog-grid {
  align-items: stretch;
}

.catalog-card {
  background: #ffffff;
}

.catalog-card.is-hidden {
  display: none;
}

.empty-state {
  margin-top: 28px;
  padding: 42px;
  border: 1px dashed rgba(0, 73, 90, 0.22);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.categories-hero {
  padding-bottom: 74px;
}

.category-nav-links {
  gap: 6px;
}

.nav-links a.is-active,
.category-nav-links a.is-active {
  background: rgba(255, 255, 255, 0.48);
  color: var(--text);
}

.categories-page {
  padding-top: 84px;
}

.category-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-filter-card {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0, 73, 90, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.category-filter-card span,
.category-filter-card strong {
  display: block;
}

.category-filter-card span {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.15;
}

.category-filter-card strong {
  color: var(--muted);
  font-size: 0.86rem;
}

.category-filter-card:hover,
.category-filter-card.is-active {
  border-color: rgba(0, 89, 104, 0.26);
  background: var(--mint);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.category-accordion-card {
  overflow: hidden;
  border: 1px solid rgba(0, 73, 90, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-accordion-card:hover,
.category-accordion-card.is-open {
  border-color: rgba(0, 89, 104, 0.26);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) 36px;
  align-items: center;
  width: 100%;
  gap: 18px;
  border: 0;
  padding: 24px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.category-trigger span,
.category-trigger strong,
.category-trigger small,
.category-trigger em {
  display: block;
}

.category-trigger small {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.category-trigger strong {
  font-size: 1.6rem;
  line-height: 1.1;
}

.category-trigger em {
  max-width: none;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.category-trigger::after {
  content: "+";
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.category-accordion-card.is-open .category-trigger::after {
  background: var(--accent);
  color: #ffffff;
  transform: rotate(45deg);
}

.subcategory-panel {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 260ms ease, border-color 180ms ease;
}

.category-accordion-card.is-open .subcategory-panel {
  max-height: 260px;
  border-color: var(--line);
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

.subcategory-list button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(0, 73, 90, 0.14);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.category-accordion-card:not(.is-open) .subcategory-list button {
  visibility: hidden;
}

.subcategory-list button:hover,
.subcategory-list button.is-active {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 89, 104, 0.14);
}

.category-products-section {
  background: #ffffff;
}

.category-products-section .empty-state {
  margin-top: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
}

.footer {
  padding: 72px 0 30px;
  background: #111214;
  color: #ffffff;
}

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

.footer-brand {
  margin-bottom: 18px;
}

.footer p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer h3 {
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.footer a:not(.brand) {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.66);
  transition: color 180ms ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 31, 39, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 91;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(440px, 100%);
  height: 100vh;
  background: #ffffff;
  color: var(--text);
  box-shadow: -28px 0 70px rgba(0, 31, 39, 0.16);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.cart-open {
  overflow: hidden;
}

.cart-open .cart-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}

.cart-drawer-header h2 {
  margin: 8px 0 0;
  font-size: 1.7rem;
  line-height: 1.05;
}

.cart-close-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 73, 90, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.cart-drawer-body {
  overflow: auto;
  padding: 22px;
}

.cart-items-list {
  display: grid;
  gap: 14px;
}

.cart-line-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.cart-line-item img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-line-item h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.22;
}

.cart-line-item p,
.cart-line-item small {
  display: block;
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.cart-line-item button,
.cart-secondary-button {
  border: 1px solid rgba(0, 73, 90, 0.14);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.cart-line-item button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.78rem;
}

.cart-summary,
.cart-payment-panel,
.cart-empty-state {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.cart-summary span {
  color: var(--muted);
  font-weight: 900;
}

.cart-summary strong {
  font-size: 1.35rem;
}

.cart-wide-button {
  width: 100%;
}

.cart-payment-panel h3,
.cart-empty-state h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.cart-empty-state p {
  margin: 0;
  color: var(--muted);
}

.payment-method-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.payment-method-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border: 1px solid rgba(0, 73, 90, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 900;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.payment-method-card::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 73, 90, 0.35);
  border-radius: 50%;
}

.payment-method-card:hover,
.payment-method-card.is-selected {
  border-color: var(--accent);
  background: var(--mint);
  transform: translateY(-2px);
}

.payment-method-card.is-selected::after {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 0 42%, transparent 46%);
}

.cart-secondary-button {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links,
  .nav-actions {
    display: grid;
    justify-items: stretch;
    gap: 8px;
  }

  .nav-links a,
  .nav-link-subtle,
  .cart-button {
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-showcase {
    min-height: 520px;
    max-width: 620px;
    width: 100%;
  }

  .dashboard-promo-grid {
    grid-template-columns: 1fr;
  }

  .floating-product-board {
    max-width: 620px;
    margin-left: 0;
    width: 100%;
    justify-self: center;
  }

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

  .testimonial-grid,
  .newsletter-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .category-accordion-grid {
    grid-template-columns: 1fr;
  }

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

  .category-trigger {
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  .category-trigger em {
    grid-column: 1 / -1;
    max-width: none;
    text-align: left;
  }

  .category-trigger::after {
    grid-column: 2;
    grid-row: 1;
  }

  .filter-list {
    justify-content: flex-start;
  }

  .section-heading-split,
  .promo-banner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-form {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding: 34px 0 0;
  }

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

  .hero-actions,
  .newsletter-form {
    flex-direction: column;
  }

  .hero-actions .btn,
  .newsletter-form .btn {
    width: 100%;
  }

  .hero-stats,
  .category-grid,
  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .dashboard-promo-card {
    min-height: 380px;
  }

  .dashboard-promo-card img {
    min-height: 380px;
  }

  .discount-sticker {
    top: 18px;
    left: 18px;
    width: 92px;
    height: 92px;
  }

  .discount-sticker strong {
    font-size: 1.65rem;
  }

  .promo-image-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .board-product-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .board-product-card img {
    width: 64px;
    height: 64px;
  }

  .board-product-status {
    grid-column: 1 / -1;
    width: 100%;
  }

  .order-confirmation-card {
    position: absolute;
    inset: 18px;
    width: auto;
  }

  .main-product {
    inset: 28px 0 0 18px;
  }

  .mini-card {
    width: min(240px, 72%);
  }

  .bottom-card {
    bottom: 22px;
  }

  .category-card div {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-form {
    border-radius: 8px;
  }

  .newsletter-form input {
    min-height: 48px;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-line-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-line-item img {
    width: 64px;
    height: 64px;
  }

  .cart-line-item button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .products-hero {
    padding: 56px 0 54px;
  }

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

  .products-hero p {
    font-size: 1.05rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .search-panel input {
    min-height: 48px;
  }

  .catalog-toolbar h2 {
    font-size: 2.2rem;
  }

  .category-trigger {
    padding: 20px;
  }

  .category-trigger strong {
    font-size: 1.35rem;
  }

  .category-filter-grid {
    grid-template-columns: 1fr;
  }

  .category-filter-card {
    min-height: 108px;
  }

  .subcategory-list {
    padding: 0 20px 20px;
  }

  .footer {
    padding-top: 56px;
  }
}

@media (max-width: 820px) {
  .hero-inner {
    min-height: 500px;
  }

  .store-proof {
    margin-bottom: 40px;
  }

  .proof-pill {
    max-width: min(100%, 420px);
    justify-content: center;
    text-align: center;
  }

  .hero-copy p {
    font-size: 1.15rem;
  }

  .hero-actions {
    margin-top: 40px;
  }

}

@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: 3.8rem;
  }

  .section-heading h2 {
    font-size: 2.55rem;
  }

  .promo-banner h2 {
    font-size: 2.7rem;
  }

  .newsletter-card h2 {
    font-size: 2.35rem;
  }

  .products-hero h1 {
    font-size: 3.35rem;
  }

  .catalog-toolbar h2 {
    font-size: 2.45rem;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 3rem;
  }

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

  .section-heading h2,
  .promo-banner h2,
  .newsletter-card h2,
  .catalog-toolbar h2 {
    font-size: 2.15rem;
  }

  .promo-banner,
  .newsletter-card {
    padding: 30px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .products-hero h1 {
    font-size: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
