:root {
  --nav: #111922;
  --nav-2: #223144;
  --paper: #ffffff;
  --bg: #e8eeec;
  --ink: #101418;
  --muted: #59656f;
  --line: #d5ddd9;
  --green: #0f8b4c;
  --green-dark: #09623b;
  --mint: #e8f7ee;
  --gold: #ffd21c;
  --orange: #ff9f1a;
  --shadow: 0 3px 16px rgba(16, 20, 24, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

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

.container {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: var(--nav);
}

.header-main {
  display: grid;
  grid-template-columns: 92px 150px minmax(280px, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 70px;
}

.brand img {
  width: 86px;
  max-height: 50px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  line-height: 1.1;
}

.brand span {
  max-width: 82px;
}

.delivery span,
.account-links span {
  display: block;
  color: #dce5ec;
  font-size: 13px;
}

.delivery strong,
.account-links strong {
  display: block;
  font-size: 15px;
}

.search-form {
  display: grid;
  grid-template-columns: 160px 1fr 72px;
  min-width: 0;
  border: 2px solid #ffbd57;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.search-form select,
.search-form input,
.search-form button {
  min-width: 0;
  border: 0;
  font: inherit;
}

.search-form select {
  padding: 0 12px;
  border-right: 1px solid var(--line);
  background: #f2f3f3;
}

.search-form input {
  padding: 13px 16px;
  outline: none;
}

.search-form button {
  background: #ffbd57;
  color: #16202b;
  cursor: pointer;
  font-weight: 800;
}

.account-links {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.cart-link {
  position: relative;
  font-weight: 800;
}

.cart-link b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-size: 13px;
}

.category-nav {
  background: var(--nav-2);
}

.category-scroll {
  display: flex;
  gap: 26px;
  align-items: center;
  min-height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll a {
  flex: 0 0 auto;
  color: #f5f8fb;
}

.category-scroll a:first-child,
.category-scroll a:last-child {
  font-weight: 800;
}

.promo-bar {
  padding: 12px 16px;
  background: #fff;
  color: #006b40;
  text-align: center;
}

.breadcrumb {
  padding: 16px 0;
  color: #53616b;
  font-size: 14px;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.9fr) 326px;
  gap: 24px;
  align-items: start;
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-gallery {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  position: sticky;
  top: 132px;
}

.thumb-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.thumb {
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: #fff;
  cursor: pointer;
}

.thumb.is-active {
  border: 2px solid var(--orange);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.main-product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 462px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8f5e0, #f8fff9);
}

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

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.store-name {
  margin-bottom: 6px;
  color: #007185;
  font-weight: 700;
}

.product-info h1 {
  margin-bottom: 8px;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.13;
}

.rating-line {
  display: inline-block;
  margin-bottom: 16px;
  color: #007185;
}

.product-info hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 18px;
}

.price-main,
.price-side {
  margin-bottom: 12px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
}

.guarantee {
  margin-bottom: 20px;
  color: #007185;
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.quick-specs div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f7fbff;
}

.quick-specs strong,
.quick-specs span {
  display: block;
}

.quick-specs strong {
  font-size: 14px;
}

.quick-specs span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.option-group {
  margin: 18px 0;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.option-row button {
  min-width: 94px;
  border: 1px solid #cfd8d4;
  border-radius: 5px;
  padding: 10px 14px;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.option-row .selected {
  border-color: var(--orange);
  background: #fff8eb;
}

.swatches {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.swatch {
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #cfd8d4;
  cursor: pointer;
}

.swatch.selected {
  box-shadow: 0 0 0 3px #007185;
}

.swatch.green {
  background: #0f8b4c;
}

.swatch.black {
  background: #17202b;
}

.swatch.cream {
  background: #efe7d2;
}

.swatch.silver {
  background: #c9d0d8;
}

.swatch.blue {
  background: #1e5cff;
}

.details-box {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.details-box summary {
  cursor: pointer;
  font-weight: 800;
}

.details-box ul {
  margin: 12px 0 0 18px;
  color: var(--muted);
}

.details-box p {
  margin-top: 10px;
  color: var(--muted);
}

.buy-box {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 13px;
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.price-side {
  margin: 0;
}

.stock {
  color: var(--green);
  font-weight: 800;
}

.buy-box label {
  font-weight: 800;
}

.buy-box select {
  width: 92px;
  border: 1px solid #cfd8d4;
  border-radius: 6px;
  padding: 8px 10px;
}

.buy-btn {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 999px;
  color: #111;
  font-weight: 800;
}

.buy-btn.primary {
  background: var(--gold);
}

.buy-btn.secondary {
  background: var(--orange);
}

.buy-btn.consult {
  border: 1px solid #9fb4c8;
  background: #eef6ff;
  color: #12354f;
}

.secure-note {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.trust-strip div,
.product-card,
.eco-story,
.reviews {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 18px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--green-dark);
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.product-section,
.comparison-section,
.eco-story,
.seo-category-section,
.consult-banner,
.reviews {
  margin-top: 26px;
}

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

.section-title h2,
.eco-story h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
}

.section-title a,
.section-title span {
  color: #007185;
}

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

.comparison-section {
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.comparison-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.comparison-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.comparison-grid p {
  min-height: 64px;
  color: var(--muted);
  font-size: 14px;
}

.comparison-grid strong {
  display: block;
  margin-top: 14px;
}

.featured-plan {
  border-color: #ffbd57 !important;
  background: #fff8eb !important;
  box-shadow: 0 10px 24px rgba(255, 159, 26, 0.16);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  background: var(--mint);
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.card-body h3 {
  font-size: 18px;
}

.card-body p {
  color: var(--muted);
  font-size: 14px;
}

.card-body strong {
  font-size: 20px;
}

.card-body a {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.eco-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eco-story p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.seo-category-section {
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.seo-category-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfdff;
}

.seo-category-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.seo-category-grid p {
  color: var(--muted);
  font-size: 14px;
}

.consult-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(135deg, #102033, #1a4f7a);
  color: #fff;
  box-shadow: var(--shadow);
}

.consult-banner .eyebrow {
  color: #9ed0ff;
}

.consult-banner h2 {
  max-width: 780px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.15;
}

.consult-banner a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  white-space: nowrap;
}

.reviews {
  padding: 24px;
  margin-bottom: 34px;
}

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

.review-grid article {
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.review-grid strong,
.review-grid span {
  display: block;
}

.review-grid span {
  margin: 5px 0;
  color: #f0a500;
}

.review-grid p {
  color: var(--muted);
  font-size: 15px;
}

.faq-section {
  margin-top: 26px;
  margin-bottom: 34px;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
}

.faq-list p {
  border-top: 1px solid var(--line);
  padding: 0 18px 16px;
  color: var(--muted);
}

.site-footer {
  padding: 28px 0;
  background: var(--nav);
  color: #dce5ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #fff;
}

@media (max-width: 1160px) {
  .header-main {
    grid-template-columns: 92px 1fr;
  }

  .delivery,
  .account-links {
    display: none;
  }

  .product-shell {
    grid-template-columns: minmax(360px, 0.9fr) minmax(340px, 1fr);
  }

  .buy-box {
    position: static;
    grid-column: 1 / -1;
  }

  .product-grid,
  .comparison-grid,
  .seo-category-grid,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 1500px);
  }

  .market-header {
    position: static;
  }

  .header-main {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .brand img {
    width: 100px;
  }

  .search-form {
    grid-template-columns: 1fr 62px;
  }

  .search-form select {
    display: none;
  }

  .category-scroll {
    gap: 18px;
  }

  .product-shell,
  .eco-story,
  .consult-banner {
    grid-template-columns: 1fr;
    padding: 16px;
  }

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

  .thumb-list {
    display: flex;
    order: 2;
    overflow-x: auto;
  }

  .main-product-image {
    min-height: auto;
  }

  .main-product-image img {
    max-height: none;
    aspect-ratio: 1 / 0.82;
  }

  .trust-strip,
  .product-grid,
  .comparison-grid,
  .seo-category-grid,
  .quick-specs,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .consult-banner a {
    width: 100%;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
}
