:root {
  --primary: #234f55;
  --accent: #b5a874;
  --surface: #eef5f4;
  --text: #15171a;
  --muted: #696b70;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
}

.header {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
}
.marketplace-title { color: var(--primary); font-size: 15px; font-weight: 800; text-decoration: none; }
.social-links { display: flex; align-items: center; gap: 8px; }
.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dedfdc;
  border-radius: 50%;
  color: var(--primary);
  transition: 0.2s ease;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }

.hero {
  min-height: 300px;
  background:
    linear-gradient(90deg,
      rgba(35, 79, 85, 0.98) 0%,
      rgba(35, 79, 85, 0.94) 48%,
      rgba(35, 79, 85, 0.62) 68%,
      rgba(35, 79, 85, 0.12) 100%),
    url("images/1.jpeg") right center / cover no-repeat;
  color: var(--white);
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-copy {
  max-width: 540px;
  justify-self: start;
  margin-left: max(32px, calc((100vw - 1280px) / 2));
  padding: 36px 32px;
  position: relative;
  z-index: 2;
}
.hero-brand-card {
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translateY(-50%);
  width: 210px;
  height: 124px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(10,35,48,0.12);
  z-index: 2;
}
.hero-brand-card img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.hero-socials {
  position: absolute;
  right: 0;
  top: 32px;
  width: 196px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 0;
  z-index: 3;
}
.hero-socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid #111111;
  border-radius: 50%;
  color: #111111;
  background: transparent;
  flex: 0 0 44px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.hero-socials a:hover { background: #b5a874; color: #111111; transform: scale(1.06); }
.hero-socials svg { width: 20px; height: 20px; fill: currentColor; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 10px;
  font-weight: 800;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: "Poppins", Georgia, serif;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.05;
  margin: 0 0 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: #eef7f9;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 20px;
  font-weight: 400;
}
.hero-image-wrap { display: none; }

.button {
  display: inline-block;
  background: #b5a874;
  color: #101b1b;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.button:hover { background: #a99765; transform: translateY(-1px); }

.section { max-width: 1280px; margin: auto; padding: 48px 32px; }
.section-heading h2 { font-family: "Poppins", sans-serif; font-size: 28px; margin: 0 0 24px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  min-width: 0;
  border: 1px solid #e5e5e0;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
}
.category-card img { width: 100%; height: 210px; object-fit: contain; padding: 12px; display: block; }
.category-card span { display: block; padding: 18px; font-weight: 800; border-top: 1px solid #e5e5e0; }

.catalog-toolbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ededE8;
  margin-bottom: 22px;
}
.search-area {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dcded8;
  border-radius: 3px;
  padding: 0 10px;
  background: var(--white);
}
.search-area svg { width: 16px; height: 16px; fill: #777a7f; flex: none; }
.search-area input { width: 100%; border: 0; outline: 0; font: inherit; font-size: 12px; }
.filters { grid-column: 1; grid-row: 1; display: flex; gap: 7px; flex-wrap: wrap; }
.filter-button {
  background: #edf5f4;
  color: var(--text);
  border: 1px solid #b9d1d0;
  border-radius: 3px;
  padding: 9px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.filter-button.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.view-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid #dcded8;
  border-radius: 3px;
  background: var(--accent);
  display: grid;
  place-items: center;
  grid-column: 2;
  grid-row: 1;
  cursor: pointer;
}
.view-toggle + .view-toggle { grid-column: 3; background: #f1eee5; }
.view-toggle svg { width: 16px; height: 16px; fill: var(--primary); }
.view-toggle.active { background: #d6b55e; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.product-card { border: 1px solid #e4e4df; border-radius: 4px; overflow: hidden; background: var(--white); }
.product-image { height: 220px; background: var(--surface); position: relative; cursor: zoom-in; }
.product-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--primary);
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-info { padding: 18px; }
.product-info h3 { margin: 0 0 7px; font-size: 15px; }
.product-info p { color: var(--muted); line-height: 1.4; min-height: 42px; margin: 0 0 12px; font-size: 12px; }
.product-actions { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 800; color: var(--primary); font-size: 13px; }
.enquire { color: var(--white); background: var(--primary); border-radius: 3px; padding: 7px 9px; font-size: 11px; font-weight: 700; text-decoration: none; }

.site-footer {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}
.footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 32px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  box-sizing: border-box;
}
.footer-contact { min-width: 0; }
.footer-eyebrow {
  margin: 0 0 6px;
  color: #d4c794;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.footer-contact h2 {
  margin: 0 0 18px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.15;
}
.footer-whatsapp {
  min-height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 11px 14px;
  border-radius: 999px;
  background: #b5a874;
  color: #101b1b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}
.footer-whatsapp:hover { background: #c5b789; }
.footer-whatsapp svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.footer-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.footer-detail {
  min-height: 44px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: clamp(13px, 3.8vw, 15px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.footer-detail svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: #d4c794;
}
.footer-detail span { min-width: 0; }
.footer-map {
  width: 100%;
  min-width: 0;
  align-self: start;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe7e6;
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.14);
  text-align: center;
  box-sizing: border-box;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    gap: 32px;
    padding: 44px 32px;
  }
  .footer-whatsapp {
    width: min(100%, 280px);
  }
  .footer-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-detail:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: minmax(340px, 0.78fr) minmax(420px, 1.22fr);
    gap: clamp(40px, 5vw, 72px);
    padding: 52px 32px;
  }
  .footer-contact h2 {
    font-size: 38px;
  }
  .footer-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-modal[hidden] { display: none; }
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,16,28,0.72); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 96vw);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 52% 48%;
  background: var(--white);
  border-radius: 6px;
  overflow: auto;
}
.modal-close {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.modal-carousel { min-height: 480px; position: relative; background: var(--surface); display: grid; place-items: center; }
.modal-carousel img { width: 90%; height: 430px; object-fit: contain; }
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}
.carousel-button.prev { left: 12px; }
.carousel-button.next { right: 12px; }
.carousel-dots { position: absolute; bottom: 14px; display: flex; gap: 6px; }
.carousel-dots button { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #b9bab5; padding: 0; }
.carousel-dots button.active { background: var(--accent); }
.modal-details { padding: 42px 36px 30px; }
.modal-brand { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 5px; }
.modal-details h2 { font-size: 24px; line-height: 1.2; margin: 0 0 8px; }
.modal-price { color: var(--primary); font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.modal-description { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 0 0 18px; }
.modal-option { margin: 0 0 14px; }
.modal-option strong { display: block; font-size: 11px; margin-bottom: 7px; }
.option-list { display: flex; gap: 6px; flex-wrap: wrap; }
.option-chip { border: 1px solid #dcded8; border-radius: 3px; background: var(--surface); padding: 6px 9px; font-size: 11px; }
.availability { display: inline-block; color: #18733b; background: #edf7ef; border-radius: 3px; padding: 6px 9px; font-size: 11px; font-weight: 700; }
.modal-whatsapp { display: block; text-align: center; background: #25d366; color: #083815; border-radius: 3px; padding: 11px 14px; font-size: 12px; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .header { padding-inline: 20px; }
  .hero {
    min-height: 280px;
    grid-template-columns: 1fr;
    background:
      linear-gradient(90deg,
        rgba(35, 79, 85, 0.98) 0%,
        rgba(35, 79, 85, 0.88) 58%,
        rgba(35, 79, 85, 0.34) 100%),
      url("images/1.jpeg") right 52% center / cover no-repeat;
  }
  .hero-copy { justify-self: start; max-width: 55%; margin-left: 20px; padding: 34px 24px; }
  .hero-brand-card { left: auto; right: 28px; width: 180px; height: 112px; }
  .hero-socials { right: 20px; top: 12px; width: 176px; height: 56px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; max-width: 420px; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-heading { align-items: start; flex-direction: column; }
  .catalog-toolbar { align-items: flex-start; grid-template-columns: minmax(0, 1fr) auto auto; }
  .search-area { width: 100%; }
  .filters { flex: 1; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .header { height: 48px; padding: 0 16px; }
  .marketplace-title { font-size: 13px; }
  .hero {
    min-height: 250px;
    background:
      linear-gradient(90deg,
        rgba(35, 79, 85, 0.98) 0%,
        rgba(35, 79, 85, 0.86) 62%,
        rgba(35, 79, 85, 0.28) 100%),
      url("images/1.jpeg") 68% center / cover no-repeat;
  }
  .hero-copy { max-width: 100%; margin: 0; padding: 68px 16px 18px; }
  .hero-brand-card { top: auto; bottom: 12px; right: 12px; width: 110px; height: 68px; border-radius: 10px; }
  .hero-brand-card img { width: 78%; }
  .hero-socials { right: 12px; top: 8px; width: 152px; height: 52px; gap: 4px; }
  .hero-socials a { width: 44px; height: 44px; flex-basis: 44px; }
  .hero-socials svg { width: 19px; height: 19px; }
  .hero h1 { font-size: 24px; max-width: 220px; }
  .hero-copy > p:not(.eyebrow) { font-size: 12px; max-width: 195px; line-height: 1.4; margin-bottom: 12px; }
  .button { padding: 9px 14px; font-size: 12px; }
  .section { padding: 38px 16px; }
  .category-grid, .product-grid { grid-template-columns: 1fr; }
  .category-card img { height: 300px; }
  .catalog-toolbar { gap: 6px; }
  .filter-button { padding: 8px 9px; }
  .view-toggle { display: none; }
  .modal-panel { grid-template-columns: 1fr; max-height: 94vh; }
  .modal-carousel { min-height: 300px; }
  .modal-carousel img { height: 280px; }
  .modal-details { padding: 24px 20px; }
}
