:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --ink: #101923;
  --muted: #607080;
  --line: #dce5ee;
  --accent: #00a7c7;
  --accent-dark: #007f9c;
  --lime: #a8e14a;
  --graphite: #17212b;
  --shadow: 0 22px 70px rgba(22, 33, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--lime);
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 4px;
  color: #263747;
  font-size: 14px;
  font-weight: 800;
}

.home-link:hover {
  color: var(--accent-dark);
}

.nav-item {
  position: relative;
}

.nav-trigger {
  border: 0;
  background: transparent;
  padding: 26px 12px;
  color: #263747;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(760px, calc(100vw - 96px));
  display: none;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  display: grid;
}

.mega-series strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.mega-series a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
}

.mega-series a:hover {
  color: var(--accent-dark);
}

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

.header-search input {
  width: 190px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.header-search input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(0, 167, 199, 0.18);
}

.ghost-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cart-button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.cart-button,
.primary-button {
  background: var(--graphite);
  color: #fff;
}

.cart-button {
  padding: 10px 14px;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.secondary-button {
  background: #e9f4f7;
  color: var(--accent-dark);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 48px;
  align-items: center;
  padding: 78px 48px 54px;
  background:
    linear-gradient(115deg, #ffffff 0%, #ffffff 42%, #edf7fb 100%);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  gap: 12px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: center;
}

.quality-strip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quality-strip span {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(16, 25, 35, 0.82);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.category-band,
.catalog,
.trade-section,
.contact-section {
  padding: 64px 48px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.section-heading p,
.trade-section p,
.contact-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-card,
.product-card,
.filters,
.contact-card,
.whatsapp-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-card {
  padding: 22px;
}

.category-card h3 {
  min-height: 48px;
  margin: 0 0 20px;
  font-size: 18px;
}

.series-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344555;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.chip.active,
.chip:hover {
  border-color: var(--accent);
  background: #e9fbff;
  color: var(--accent-dark);
}

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

.filters {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
}

.filters label {
  display: grid;
  gap: 8px;
  color: #344555;
  font-size: 13px;
  font-weight: 800;
}

.filters input,
.catalog-toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.filter-group {
  margin-top: 22px;
}

.filter-group > span {
  display: block;
  margin-bottom: 10px;
  color: #344555;
  font-size: 13px;
  font-weight: 900;
}

.filter-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

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

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

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.product-image {
  background: #eef4f7;
  border-bottom: 1px solid var(--line);
}

.product-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: contain;
  object-position: center;
  background: #f6fafb;
}

.product-info {
  display: grid;
  gap: 12px;
  padding: 18px;
  flex: 1;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 0;
  font-size: 22px;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-row {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.price {
  font-size: 26px;
  font-weight: 950;
}

.small-button {
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.detail-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 900;
}

.detail-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.whatsapp-mini,
.whatsapp-button,
.alipay-button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.whatsapp-mini {
  background: #e8f8ee;
  color: #168a42;
  padding: 10px 12px;
  font-size: 13px;
}

.whatsapp-button,
.alipay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.whatsapp-button {
  background: #19a963;
  color: #fff;
}

.alipay-button {
  margin-top: 10px;
  background: #1478ff;
  color: #fff;
}

.trade-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
  background: var(--graphite);
  color: #fff;
}

.trade-section p {
  color: #b6c4d1;
  margin-top: 16px;
}

.trade-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trade-points article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.trade-points strong,
.trade-points span {
  display: block;
}

.trade-points span {
  margin-top: 14px;
  color: #b6c4d1;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
}

.contact-card,
.whatsapp-panel {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfd;
}

.contact-list h3 {
  margin: 0;
  font-size: 18px;
}

.contact-list p {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-list a {
  display: block;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 800;
}

.whatsapp-panel h3 {
  margin: 0;
  font-size: 24px;
}

.whatsapp-panel p {
  color: var(--muted);
  line-height: 1.65;
  margin: 14px 0 22px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: end;
  background: rgba(8, 14, 20, 0.42);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  width: min(440px, 100vw);
  height: 100%;
  overflow: auto;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.cart-head,
.cart-row,
.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-head button {
  border: 0;
  background: #eef4f7;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.cart-row {
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row strong,
.cart-row span {
  display: block;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.cart-summary {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.cart-summary div + div {
  margin-top: 8px;
}

.full {
  width: 100%;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #19a963;
  color: #fff;
  box-shadow: 0 18px 44px rgba(25, 169, 99, 0.32);
  font-size: 14px;
  font-weight: 950;
}

.floating-whatsapp:hover {
  background: #12894f;
}

.blog-hero,
.blog-list,
.article-page {
  padding: 64px 48px;
}

.simple-header {
  justify-content: space-between;
}

.simple-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.simple-nav a:hover {
  color: var(--accent-dark);
}

.product-detail-page {
  background: #fff;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 46px;
  align-items: center;
  padding: 68px 48px;
  background: linear-gradient(115deg, #fff 0%, #fff 46%, #edf7fb 100%);
}

.product-detail-copy h1 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.product-detail-copy p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.detail-eyebrow {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.detail-specs div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.detail-specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-specs dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.product-detail-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f6fafb;
  box-shadow: var(--shadow);
}

.product-detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: contain;
  object-position: center;
}

.product-detail-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  padding: 58px 48px;
  border-top: 1px solid var(--line);
}

.product-detail-section > div > p,
.detail-card-grid p,
.faq-section p {
  color: var(--muted);
  line-height: 1.7;
}

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

.detail-card-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-card-grid h3 {
  margin-top: 0;
}

.faq-section {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  border-top: 0;
}

.faq-section details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  cursor: pointer;
  font-weight: 900;
}

.home-blog {
  background: #fff;
}

.blog-hero {
  background: linear-gradient(115deg, #fff 0%, #fff 45%, #edf7fb 100%);
}

.blog-hero h1,
.article-page h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.blog-hero p,
.article-page .article-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.blog-card {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.blog-card h2 {
  font-size: 24px;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.blog-card span,
.article-meta {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.article-page {
  background: #fff;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
}

.article-body {
  margin-top: 34px;
  color: #263747;
  font-size: 17px;
  line-height: 1.78;
}

.article-body h2 {
  margin-top: 34px;
  font-size: 30px;
}

.article-body h3 {
  margin-top: 26px;
  font-size: 22px;
}

.article-body ul {
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-cta {
  margin-top: 38px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--graphite);
  color: #fff;
}

.article-cta p {
  color: #c7d3de;
  line-height: 1.65;
}

.article-cta .whatsapp-button {
  margin-top: 12px;
}

@media (max-width: 1060px) {
  .site-header {
    padding: 0 22px;
  }

  .desktop-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 22px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .desktop-nav.open {
    display: flex;
  }

  .nav-trigger {
    width: 100%;
    padding: 16px 0;
    text-align: left;
  }

  .mega-menu {
    position: static;
    width: 100%;
    display: grid;
    box-shadow: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-search input {
    width: 160px;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 8px;
  }

  .menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
  }

  .hero,
  .catalog,
  .trade-section,
  .contact-section,
  .product-detail-hero,
  .product-detail-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 52px 22px 34px;
  }

  .category-band,
  .catalog,
  .trade-section,
  .contact-section,
  .product-detail-hero,
  .product-detail-section {
    padding: 46px 22px;
  }

  .category-grid,
  .product-grid,
  .trade-points,
  .blog-grid,
  .detail-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    gap: 10px;
    padding: 0 16px;
  }

  .brand {
    min-width: auto;
  }

  .home-link {
    min-height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .brand strong {
    display: none;
  }

  .brand small,
  .ghost-link {
    display: none;
  }

  .header-search input {
    width: clamp(96px, 28vw, 120px);
    height: 38px;
    padding: 0 10px;
  }

  .cart-button {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 42px;
    padding: 0;
    font-size: 0;
  }

  .cart-button span {
    min-width: 18px;
    height: 18px;
    margin-left: 0;
    font-size: 11px;
  }

  .hero {
    gap: 26px;
  }

  .hero-stats,
  .detail-specs,
  .category-grid,
  .product-grid,
  .trade-points,
  .blog-grid,
  .detail-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero,
  .blog-list,
  .article-page,
  .product-detail-hero,
  .product-detail-section {
    padding: 46px 22px;
  }

  .simple-nav {
    display: none;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 14px;
  }

  .catalog-toolbar,
  .section-heading,
  .quality-strip {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-media img {
    aspect-ratio: 0.92;
  }
}
