:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #080808;
  --muted: #767676;
  --line: #e7e7e7;
  --soft: #f6f6f6;
  --soft-2: #eeeeee;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(231, 231, 231, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  max-width: 34vw;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: auto;
  height: 26px;
  max-width: 170px;
  object-fit: contain;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  max-width: 62vw;
  gap: clamp(12px, 2vw, 28px);
  overflow-x: auto;
  scrollbar-width: none;
}

.header-actions::-webkit-scrollbar {
  display: none;
}

.header-actions a {
  flex: 0 0 auto;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  padding-bottom: 2px;
}

.header-actions a:hover,
.header-actions a:focus-visible {
  border-bottom-color: var(--fg);
}

.page-shell {
  max-width: 1440px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.intro {
  padding: 18px 14px 12px;
}

.eyebrow,
.category {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 5px 0 8px;
  font-size: clamp(32px, 9vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro-media {
  width: min(60%, 552px);
  margin-right: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.intro-media img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.intro p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--fg);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.shop-controls {
  position: sticky;
  top: 54px;
  z-index: 25;
  border-block: 1px solid rgba(231, 231, 231, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 14px 0;
}

.search-box span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  outline: none;
  padding: 0 14px;
}

.search-box input:focus {
  border-color: var(--fg);
  background: var(--bg);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 14px;
  overflow: visible;
}

.category-menu {
  position: relative;
  flex: 0 0 auto;
}

.filter-button,
.subfilter-button {
  min-height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  padding: 0 13px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.subfilter-button {
  min-height: 32px;
  background: var(--bg);
  color: #3f3f3f;
  font-size: 12px;
  padding-inline: 12px;
}

.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  display: grid;
  min-width: 220px;
  grid-template-columns: repeat(5, minmax(34px, 1fr));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.category-menu:hover .submenu,
.category-menu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active,
.subfilter-button:hover,
.subfilter-button:focus-visible,
.subfilter-button.is-active {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.filter-button:active,
.subfilter-button:active {
  transform: translateY(1px);
}

.hero-carousel {
  position: relative;
  margin: 12px 10px 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--fg);
}

.carousel-track {
  display: flex;
  transform: translateX(0);
  transition: transform 520ms ease;
}

.carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.carousel-slide a {
  position: relative;
  display: block;
  min-height: 430px;
  color: var(--bg);
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.carousel-slide a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.74));
  content: "";
}

.carousel-info {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
}

.carousel-info .category {
  color: rgba(255, 255, 255, 0.72);
}

.carousel-info h2 {
  max-width: 360px;
  margin: 8px 0 16px;
  font-size: clamp(30px, 10vw, 56px);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.carousel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 12px;
  font-size: 13px;
  font-weight: 780;
}

.carousel-meta span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  color: var(--bg);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(0, 0, 0, 0.66);
}

.carousel-control-prev {
  left: 12px;
}

.carousel-control-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  gap: 7px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.is-active {
  background: var(--bg);
}

.feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 14px 12px;
}

.feed-heading h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1;
}

.feed-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 730;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 10px 46px;
}

.product-card {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  opacity: 1;
  transform: translateY(0);
  transition:
    border-color 180ms ease,
    box-shadow 220ms ease,
    opacity 180ms ease,
    transform 220ms ease;
}

.product-card.is-hidden {
  display: none;
}

.product-card a {
  display: block;
  height: 100%;
  outline-offset: 4px;
}

.product-card img {
  aspect-ratio: 4 / 5.2;
  height: auto;
  object-fit: cover;
  background: var(--soft);
  filter: grayscale(1);
  transition:
    filter 260ms ease,
    transform 320ms ease;
}

.product-card.tall img {
  aspect-ratio: 3 / 4.7;
}

.product-card.compact img {
  aspect-ratio: 1 / 1;
}

.product-info {
  padding: 10px;
  background: var(--bg);
}

.product-info h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 34px;
  margin: 5px 0 10px;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.product-meta span:first-child {
  color: var(--fg);
}

.product-meta span:last-child {
  flex: 0 0 auto;
}

.product-card:hover,
.product-card:focus-within {
  border-color: var(--fg);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card:hover img,
.product-card:focus-within img {
  filter: grayscale(0);
  transform: scale(1.035);
}

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

.support-sections {
  display: grid;
  gap: 12px;
  padding: 4px 14px 36px;
}

.support-sections article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--bg);
}

.support-sections h2 {
  margin: 6px 0 14px;
  font-size: 20px;
  line-height: 1.1;
}

.support-sections details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.support-sections details:last-child {
  padding-bottom: 0;
}

.support-sections summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 760;
}

.support-sections p,
.support-sections ol {
  margin: 10px 0 0;
  color: #3d3d3d;
  font-size: 14px;
}

.support-sections ol {
  padding-left: 20px;
  color: var(--fg);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.45;
}

.support-sections li + li {
  margin-top: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 520px) {
  .header-actions {
    max-width: 64vw;
    gap: 10px;
  }

  .header-actions a {
    font-size: 12px;
  }
}

@media (min-width: 760px) {
  .site-header,
  .intro,
  .search-box,
  .category-nav,
  .feed-heading,
  .support-sections,
  .site-footer {
    padding-inline: clamp(24px, 4vw, 58px);
  }

  .intro {
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(360px, 1fr);
    gap: clamp(64px, 12vw, 180px);
    align-items: center;
    padding-top: 52px;
    padding-bottom: 20px;
  }

  .intro-media {
    grid-column: 1;
    justify-self: start;
  }

  .intro p:last-child {
    grid-column: 2;
    align-self: end;
    justify-self: end;
    max-width: 560px;
    font-size: 17px;
    margin-bottom: 24px;
  }

  .support-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-carousel {
    margin-inline: clamp(24px, 4vw, 58px);
  }

  .carousel-slide a {
    min-height: 560px;
  }

  .carousel-info {
    right: 28px;
    bottom: 28px;
    left: 28px;
  }

  .masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-inline: clamp(24px, 4vw, 58px);
  }

  .product-card {
    margin: 0;
  }

  .product-info {
    padding: 14px;
  }

  .product-info h3 {
    font-size: 16px;
  }
}

@media (min-width: 1120px) {
  .masonry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 22px 16px;
  }

  .masonry .product-card:nth-child(4n + 2),
  .masonry .product-card:nth-child(4n + 4) {
    margin-top: 34px;
  }
}

@media (hover: none) {
  .product-card:active {
    border-color: var(--fg);
    transform: scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
