* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #18212f;
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #f4f6f8;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dfe5eb;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  align-items: center;
  gap: 12px 28px;
  padding: 14px 0 12px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #101828;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #0f766e;
  font-size: 18px;
}

.brand img {
  width: 174px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
}

.nav {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 6px;
  overflow-x: auto;
  padding: 0;
  color: #435268;
  font-size: 14px;
  -ms-overflow-style: none;
  scrollbar-width: thin;
  white-space: nowrap;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover {
  color: #0f5f59;
  background: #eef7f5;
}

.search-form {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  gap: 8px;
  width: min(420px, 100%);
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #c9d3df;
  border-radius: 6px;
  background: #ffffff;
}

button,
.button {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #0f766e;
  border-radius: 6px;
  color: #ffffff;
  background: #0f766e;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(16, 24, 40, 0.96), rgba(15, 118, 110, 0.86)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 42px);
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 40px;
}

.hero h1 {
  margin: 8px 0 14px;
  max-width: 720px;
  font-size: 54px;
  line-height: 1.2;
}

.hero p {
  margin: 0;
  max-width: 680px;
  color: #e8eef4;
  font-size: 18px;
}

.eyebrow,
.section-kicker {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a7f3d0;
}

.hero-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

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

.hero-panel strong {
  font-size: 24px;
}

.hero-panel span {
  margin-top: 8px;
  color: #e8eef4;
}

.section {
  padding: 42px 0;
}

.section-title {
  margin-bottom: 20px;
}

.section-title h1,
.section-title h2 {
  margin: 0 0 6px;
  color: #101828;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 24px;
}

.content-with-sidebar .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.list-item {
  background: #ffffff;
  border: 1px solid #dde5ee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover,
.list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.11);
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  color: #7b8794;
  background: #eef2f6;
}

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

.product-body {
  padding: 16px;
}

.product-body h3,
.list-item h2,
.list-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
}

.muted {
  color: #7b8794;
}

.price {
  margin: 8px 0 0;
  color: #c2410c;
  font-weight: 700;
}

.price.large {
  font-size: 24px;
}

.list {
  display: grid;
  gap: 14px;
}

.list-item {
  padding: 16px;
}

.list-item p {
  margin: 0;
  color: #52606d;
}

.detail {
  padding: 36px 0;
}

.detail h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.25;
}

.detail-cover,
.image-placeholder {
  width: 100%;
  max-height: 520px;
  margin: 18px 0;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f6;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #7b8794;
}

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

.merchant-sidebar {
  position: sticky;
  top: 110px;
}

.sidearea {
  background: #ffffff;
  border: 1px solid #dde5ee;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
}

.sidearea-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e8eef4;
}

.sidearea-header h2 {
  margin: 0;
  color: #101828;
  font-size: 16px;
  line-height: 1.3;
}

.shoplist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  list-style: none;
}

.shoplist li {
  min-width: 0;
}

.shopimg {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  color: #0f5f59;
  background: #f8fafc;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.shoplist p {
  margin: 7px 0 0;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.shoplist a:hover {
  color: #0f766e;
}

.merchant-empty {
  grid-column: 1 / -1;
  color: #7b8794;
  font-size: 14px;
}

.content {
  margin-top: 20px;
  color: #323f4b;
}

.empty {
  color: #7b8794;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.pagination a,
.pagination span {
  min-width: 44px;
  padding: 9px 13px;
  border: 1px solid #c9d3df;
  border-radius: 6px;
  background: #ffffff;
  color: #344054;
  font-size: 14px;
  text-align: center;
}

.pagination a:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.pagination .page-status {
  min-width: 120px;
  color: #667085;
}

.pagination .disabled {
  color: #aab4c0;
  background: #f4f6f8;
}

.site-footer {
  margin-top: 40px;
  padding: 24px 0;
  color: #aab4c0;
  background: #101828;
  border-top: 1px solid #101828;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .search-form,
  .search-form input {
    width: 100%;
  }

  .search-form {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }

  .nav {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .brand img {
    width: 150px;
  }

  .product-grid,
  .content-with-sidebar,
  .product-detail,
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .merchant-sidebar {
    position: static;
  }

  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 560px) {
  .content-with-sidebar .product-grid {
    grid-template-columns: 1fr;
  }
}
