/*
 * Phương án 04 — Wellness Marketplace
 * Bố cục catalog lấy cảm hứng từ website tham chiếu, dùng nhận diện Anh Thư.
 */

:root {
  --market-green: #37422f;
  --market-green-soft: #738066;
  --market-berry: #d83264;
  --market-bg: #f5f5f3;
  --market-text: #344238;
}

.container {
  width: min(1320px, calc(100% - 48px));
}

body {
  background: var(--market-bg);
  color: var(--market-text);
}

.announcement {
  height: 28px;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  background: #20231f;
  color: #cdd1ca;
  font-size: 9px;
}

.utility-bar {
  border-bottom: 1px solid #e1e3de;
  background: #fff;
}

.utility-inner {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  color: #586159;
  font-size: 11px;
}

.utility-inner > div {
  display: flex;
  gap: 22px;
}

.utility-inner a {
  transition: color .2s;
}

.utility-inner a:hover {
  color: var(--market-green);
}

.site-header,
.site-header.sticky {
  background: rgba(255, 255, 255, .98);
}

.header-main {
  height: 112px;
  grid-template-columns: 220px minmax(380px, 1fr) auto;
  gap: 34px;
}

.site-header .logo-brand img {
  mix-blend-mode: multiply;
}

.search {
  height: 52px;
  border-color: #d7dad4;
  border-radius: 0;
}

.search select {
  max-width: 175px;
}

.search > button {
  width: 58px;
  background: var(--market-green);
  font-size: 25px;
}

.header-actions {
  min-width: 315px;
  align-items: center;
  gap: 17px;
}

.header-action:first-child {
  display: none;
}

.header-action .action-icon {
  color: var(--market-green);
  font-size: 30px;
}

.header-main .hotline {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--market-green);
}

.header-main .hotline-icon {
  width: 42px;
  height: 42px;
  border: 2px solid #87927c;
  background: #fff;
  color: var(--market-green);
  font-size: 19px;
}

.header-main .hotline-copy small {
  color: #737a72;
  font-size: 8px;
}

.header-main .hotline-copy strong {
  color: var(--market-green);
  font-size: 15px;
}

.main-nav {
  border-top: 1px solid #e2e4df;
  border-bottom: 1px solid #e2e4df;
  background: #fff;
}

.nav-inner {
  height: 58px;
}

.category-trigger {
  width: 252px;
  background: var(--market-green);
  border-color: var(--market-green);
}

.nav-links {
  flex: 1;
  justify-content: space-around;
  gap: 16px;
  padding-left: 24px;
  color: #343b35;
  font-size: 11px;
  font-weight: 600;
}

.hero-shell {
  grid-template-columns: 252px 1fr;
  min-height: 480px;
  margin-top: 18px;
  background: #fff;
}

.category-menu {
  background: #fff;
}

.category-menu button {
  background: #fff;
}

.hero {
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, .72), transparent 28%),
    linear-gradient(120deg, #f4f2ea 0%, #e7eadf 58%, #ccd4c5 100%);
}

.hero-copy {
  padding-left: 65px;
}

.hero h1 {
  font-size: clamp(48px, 4.4vw, 62px);
}

.trust-strip {
  margin-top: 18px;
  background: #fff;
}

#products.section {
  padding-top: 72px;
  padding-bottom: 82px;
}

.catalog-toolbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-bottom: 18px;
  color: #777d77;
  font-size: 11px;
}

.catalog-toolbar select {
  width: 230px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d9dcd6;
  background: #fff;
  color: #525953;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: start;
}

.catalog-main,
.catalog-sidebar {
  background: #fff;
}

.catalog-main {
  padding: 24px;
}

.catalog-main .product-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}

.catalog-main .category-pills {
  padding-bottom: 17px;
  border-bottom: 1px solid #e4e6e1;
}

.product-card,
.product-card:hover {
  border: 0;
  box-shadow: none;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-media {
  height: 265px;
  background: #fff;
}

.product-media img {
  width: 82%;
  height: 82%;
}

.sale-badge {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: var(--market-berry);
  font-size: 11px;
  font-weight: 600;
}

.product-info {
  padding: 13px 5px 24px;
}

.product-info small {
  color: #a0a49e;
}

.product-info h3 {
  min-height: 42px;
  height: auto;
  color: #3e5044;
  font-size: 12px;
}

.price {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
}

.price b,
.modal-price b,
.grand-total b {
  color: var(--market-berry);
}

.price del {
  margin: 0;
}

.catalog-sidebar {
  padding: 25px 22px;
}

.filter-block + .filter-block {
  margin-top: 32px;
}

.filter-block h3 {
  margin: 0 0 16px;
  padding-bottom: 13px;
  border-bottom: 2px solid #e1e3de;
  color: #626762;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.filter-block button,
.filter-block label {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #e6e8e3;
  background: transparent;
  color: #4e6053;
  font-size: 11px;
  text-align: left;
}

.filter-block button:hover {
  color: var(--market-green);
  padding-left: 4px;
}

.filter-block label {
  justify-content: flex-start;
  gap: 9px;
}

.brand-showcase {
  margin-bottom: 80px;
  padding: 44px 36px;
  background: #fff;
}

.brand-showcase-heading {
  text-align: center;
}

.brand-showcase h2 {
  margin: 8px 0 30px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #e2e4df;
  border-left: 1px solid #e2e4df;
}

.brand-wall a {
  display: grid;
  min-height: 105px;
  place-items: center;
  padding: 18px;
  border-right: 1px solid #e2e4df;
  border-bottom: 1px solid #e2e4df;
  color: #687367;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-align: center;
  transition: color .2s, background .2s;
}

.brand-wall a:hover {
  background: #f5f6f1;
  color: var(--market-green);
}

.newsletter {
  margin: 0 auto 0;
  padding: 38px 0;
  background: #fff;
  color: #3f4741;
  border-top: 1px solid #e1e3de;
  border-bottom: 1px solid #e1e3de;
}

.newsletter h2 {
  color: #3d453f;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.newsletter .eyebrow {
  color: var(--market-berry);
}

.newsletter form {
  height: 44px;
}

.newsletter input {
  border: 1px solid #d9dcd6;
  border-right: 0;
  border-radius: 24px 0 0 24px;
}

.newsletter button {
  border-radius: 0 24px 24px 0;
  background: var(--market-green);
  color: #fff;
}

footer {
  padding-top: 58px;
  background: #f5f5f3;
  color: #4f5751;
}

.footer-logo img {
  filter: none;
  mix-blend-mode: multiply;
  opacity: 1;
}

.footer-grid h4 {
  color: #3d453f;
}

.footer-brand p,
.footer-grid > div > a:not(.brand),
.footer-grid > div > p {
  color: #616b64;
}

.socials a {
  border-color: #aeb5ad;
}

.footer-bottom {
  border-color: #d8dbd5;
  color: #8a908a;
}

.floating-phone,
.floating-chat {
  background: #69795e;
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: 190px minmax(300px, 1fr) auto;
  }

  .header-main .hotline {
    display: none;
  }

  .header-actions {
    min-width: auto;
  }

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

  .catalog-sidebar {
    display: none;
  }
}

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

  .utility-bar {
    display: none;
  }

  .header-main {
    height: 72px;
  }

  .hero-shell {
    margin-top: 0;
    min-height: 0;
  }

  #products.section {
    padding: 58px 0;
  }

  .catalog-toolbar {
    justify-content: space-between;
  }

  .catalog-toolbar select {
    width: 170px;
  }

  .catalog-main {
    padding: 14px;
  }

  .catalog-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-media {
    height: 205px;
  }

  .brand-showcase {
    margin-bottom: 55px;
    padding: 34px 18px;
  }

  .brand-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-inner {
    display: block;
  }
}

@media (max-width: 410px) {
  .catalog-main .product-grid {
    grid-template-columns: 1fr;
  }
}
