:root {
  --cream: #fff4f7;
  --cream-light: #fffafb;
  --espresso: #38242b;
  --terracotta: #d68aa0;
  --terracotta-dark: #b96178;
  --sand: #f3e0e7;
  --muted: #7c6870;
  --white: #fffdfd;
  --border: rgba(56, 36, 43, 0.13);
  --shadow: 0 24px 70px rgba(143, 83, 101, 0.14);
  --card-shadow: 0 18px 42px rgba(143, 83, 101, 0.11);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 227, 236, 0.75), transparent 30%),
    var(--cream);
  color: var(--espresso);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 76px;
  margin: 0;
  padding: 0 max(24px, calc((100% - 1340px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(255, 244, 247, 0.9);
  box-shadow: 0 10px 34px rgba(143, 83, 101, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(185, 97, 120, 0.32);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff8fa, #f5d8e1);
  color: var(--terracotta-dark);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(185, 97, 120, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 251, 0.78);
  color: var(--terracotta-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-link:hover {
  background: var(--espresso);
  color: var(--white);
  transform: translateY(-1px);
}

.header-link--whatsapp {
  background: linear-gradient(135deg, #d96f91, #b96178);
  color: var(--white);
}

.header-link--whatsapp:hover {
  background: linear-gradient(135deg, #c85f82, #a84f67);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  width: min(100% - 48px, 1240px);
  min-height: 610px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 80px 0 110px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(58px, 7vw, 102px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-description {
  max-width: 450px;
  margin: 34px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(185, 97, 120, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 251, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-stats strong {
  margin-right: 4px;
  color: var(--espresso);
  font-size: 14px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 205px;
  padding: 16px 18px;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
}

.primary-button span {
  font-size: 18px;
}

.hero-art {
  position: relative;
  width: min(48vw, 570px);
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 27%, rgba(255, 255, 255, 0.72) 0 5%, transparent 6%),
    linear-gradient(145deg, #ffe1e9, #d68aa0 56%, #a8546d);
  box-shadow: var(--shadow);
}

.hero-art::after {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  content: "";
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(185, 97, 120, 0.28);
  border-radius: 50%;
}

.hero-orbit-one {
  inset: -7%;
}

.hero-orbit-two {
  inset: 7%;
}

.hero-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 160px;
  height: 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cream-light);
  box-shadow: 0 18px 45px rgba(143, 83, 101, 0.18);
}

.hero-badge span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero-badge strong {
  margin: 3px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
}

.catalog {
  padding: 92px max(24px, calc((100% - 1340px) / 2)) 120px;
  background:
    linear-gradient(180deg, var(--cream-light), #fff6f8 48%, var(--cream-light)),
    var(--cream-light);
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.catalog-heading .eyebrow {
  margin-bottom: 16px;
}

.catalog-heading h2 {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.product-count {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.catalog-tools {
  position: sticky;
  top: 88px;
  z-index: 8;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 250, 251, 0.9);
  box-shadow: 0 14px 45px rgba(143, 83, 101, 0.08);
  backdrop-filter: blur(18px);
}

.catalog-tools-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-box {
  display: flex;
  width: min(100%, 520px);
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}

.search-box svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--espresso);
  font-size: 13px;
}

.search-box input::placeholder {
  color: var(--muted);
}

.clear-search {
  padding: 12px 15px;
  border-radius: 999px;
  background: #f7dde6;
  color: var(--terracotta-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.clear-search:hover {
  background: #f0cbd8;
  transform: translateY(-1px);
}

.category-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 97, 120, 0.3) transparent;
}

.category-filters::-webkit-scrollbar {
  height: 6px;
}

.category-filters::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(185, 97, 120, 0.3);
}

.category-filters::-webkit-scrollbar-track {
  background: transparent;
}

.filter-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
  transform: translateY(-1px);
}

.filter-count {
  display: inline-grid;
  min-width: 24px;
  min-height: 22px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  font-size: 10px;
}

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

.product-card {
  scroll-margin-top: 190px;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(56, 36, 43, 0.1);
  border-radius: 28px;
  background: rgba(255, 253, 253, 0.86);
  box-shadow: var(--card-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  border-color: rgba(185, 97, 120, 0.28);
  box-shadow: 0 22px 55px rgba(143, 83, 101, 0.16);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
  margin: 10px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, #fff9fb, var(--sand));
}

.product-media img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-media--contain {
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, #fff9fb, var(--sand));
}

.product-media--contain img {
  object-fit: contain;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 250, 251, 0.92);
  box-shadow: 0 10px 26px rgba(143, 83, 101, 0.12);
  color: var(--terracotta-dark);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  padding: 8px 18px 18px;
}

.product-category {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--terracotta);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-name,
.product-price {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
}

.product-name {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.product-price {
  align-self: start;
  max-width: 150px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f7dde6;
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  white-space: normal;
}

.product-description {
  grid-column: 1 / -1;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card.is-expanded .product-description {
  display: block;
  overflow: visible;
}

.product-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3px;
}

.whatsapp-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d96f91, #b96178);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-button:hover {
  background: linear-gradient(135deg, #c85f82, #a84f67);
  box-shadow: 0 12px 28px rgba(185, 97, 120, 0.24);
  transform: translateY(-1px);
}

.product-link,
.product-toggle {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  color: var(--terracotta-dark);
  font-size: 11px;
  font-weight: 800;
}

.product-toggle {
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.product-link {
  border-bottom: 1px solid currentColor;
}

.no-results {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.no-results {
  padding: 70px 0;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 44px 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.site-footer p {
  margin: 0;
}

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

.footer-socials a {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.footer-socials a:hover {
  color: var(--terracotta-dark);
}

@media (max-width: 900px) {
  .hero {
    min-height: 540px;
  }

  .hero-art {
    width: 48vw;
  }

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

@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero,
  .site-footer {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    height: 68px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 15px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-link {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-copy {
    padding: 60px 0 36px;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 74px);
  }

  .hero-art {
    width: min(88vw, 470px);
    margin: 0 auto;
    justify-self: auto;
  }

  .catalog {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .catalog-tools {
    top: 68px;
    margin-right: -16px;
    margin-left: -16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .catalog-tools-top {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
    max-width: none;
  }

  .product-grid {
    gap: 16px 12px;
  }

  .product-info {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .product-category,
  .product-name,
  .product-price,
  .product-description,
  .product-link {
    margin-bottom: 7px;
  }

  .product-name {
    font-size: 13px;
  }

  .product-price {
    justify-self: start;
    font-size: 12px;
    text-align: left;
  }

  .product-description {
    -webkit-line-clamp: 2;
  }

  .product-media img {
    padding: 14px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-socials {
    display: none;
  }
}

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

  .product-media {
    aspect-ratio: 1 / 0.95;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
