:root {
  --paper: #f5f3ef;
  --panel: #ede9e2;
  --card: #ffffff;
  --line: #ddd6cb;
  --ink: #4a4742;
  --muted: #736e65;
  --accent: #b56a41;
  --shell-gutter: 2rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.page {
  width: 90vw;
  max-width: none;
  margin: 0 auto;
}

.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.206rem 2rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  display: block;
  height: 76px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(37%) sepia(4%) saturate(428%) hue-rotate(355deg) brightness(94%) contrast(86%);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.55rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #5b5a57;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a.is-active {
  color: #9f8d6f;
  text-decoration: underline;
  text-decoration-color: #cdbda2;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.nav-personalize {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  background: #ece2d3;
  color: #67452f !important;
}

.nav-personalize span {
  display: inline-block;
  padding: 0.09rem 0.4rem;
  border-radius: 999px;
  background: #b56a41;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.nav-icons {
  display: flex;
  gap: 0.35rem;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: #f0efeb;
}

.icon-btn:focus-visible {
  outline: 2px solid #b7b2aa;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #6a6763;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-core {
  min-height: 390px;
  background-image: linear-gradient(90deg, rgba(181, 106, 65, 0.68) 0%, rgba(181, 106, 65, 0.44) 34%, rgba(181, 106, 65, 0.08) 62%),
    url('assets/performance-hero-image-3.jpeg');
  background-size: cover;
  background-position: right center;
  background-color: #b56a41;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0 3.4rem;
}

.hero-copy {
  max-width: 360px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  color: #ece2d3;
}

.hero-copy h2 {
  margin: 0.5rem 0 0;
  font-size: 2rem;
  line-height: 1.2;
  color: #ece2d3;
}

.hero-copy p {
  margin: 1rem 0 0;
  color: #ece2d3;
  line-height: 1.5;
}

.core-content {
  padding: 1.4rem 0 0;
}

.toolbar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: #f4f1ec;
  padding: 0.45rem;
  border-radius: 2px;
}

.toolbar-btn {
  border: 0;
  background: transparent;
  color: #69645b;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 0.8rem;
  border-radius: 3px;
}

.toolbar-btn.is-active {
  background: var(--accent);
  color: #fff;
}

.sort-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #666158;
  font-size: 0.82rem;
}

.sort-wrap select {
  border: 0;
  background: transparent;
  color: #666158;
  font-weight: 600;
}

.content-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.8rem;
}

.sidebar {
  background: #b56a41;
  border: 1px solid #9f5732;
  padding: 0.7rem;
}

.filter-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 0.55rem;
  padding: 0.55rem;
}

.filter-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.96rem;
  color: #fff3e8;
}

.filter-card p,
.filter-card small {
  margin: 0;
  color: #f6e6d8;
  font-size: 0.9rem;
}

.filter-card label {
  display: block;
  margin: 0.28rem 0;
  font-size: 0.9rem;
  color: #fff3e8;
}

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

.core-label-subcategory {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 0.45rem;
  padding-top: 0.45rem;
}

.core-label-subcategory:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.core-label-subcategory-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff3e8;
}

.core-label-type {
  margin-top: 0.35rem;
}

.core-label-type-title {
  margin: 0;
  font-size: 0.78rem;
  color: #f6e6d8;
  font-weight: 600;
}

.filter-card input[type='range'] {
  width: 100%;
  accent-color: #b9a98d;
}

.products-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.products-panel h2 {
  margin: 0;
  font-size: 2.8rem;
}

.subtitle {
  margin: 0.45rem 0 1rem;
  color: #656056;
}

.product-head {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.75rem 0;
  background: #b56a41;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  border-radius: 4px;
  border-top: 1px solid #d8d1c5;
  border-bottom: 1px solid #d8d1c5;
  margin-bottom: 0.8rem;
}

.product-head span {
  color: #ece2d3;
  font-size: 0.9rem;
}

.product-head strong {
  color: #ece2d3;
}

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

.product-card {
  background: var(--card);
  border: 1px solid #ddd6cb;
  border-radius: 6px;
  overflow: hidden;
}

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

.product-image {
  aspect-ratio: 1 / 1;
  height: auto;
  border-bottom: 1px solid #ece8e1;
}

.img-notebook {
  background: #f6f3ee url('assets/aglt03-navy.png') center/cover no-repeat;
}

.img-phone {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.15), transparent 36%),
    linear-gradient(140deg, #6b6b68 0%, #2d2d2d 52%, #4a4a47 100%);
}

.sprite {
  background-image: url('assets/Homepage.png');
  background-size: 1024px 1536px;
  background-repeat: no-repeat;
}

.bottle {
  background-position: -284px -865px;
}

.mug {
  background-position: -284px -1117px;
}

.powerbank {
  background-position: -60px -1117px;
}

.charger {
  background-position: -506px -865px;
}

.product-card h3 {
  margin: 0;
  padding: 0.6rem 0.65rem 0;
  font-size: 0.9rem;
  color: #59554f;
  min-height: 2.35rem;
}

.price {
  margin: 0;
  padding: 0.12rem 0.65rem 0.6rem;
  font-size: 2rem;
  font-weight: 800;
  color: #3f3c37;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.page-btn {
  border: 1px solid #d8d0c3;
  background: #f2eee7;
  color: #666056;
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
}

.page-btn.is-current {
  background: #d9cdb9;
}

.contact-footer {
  width: 100%;
  margin: 0;
  border-top: 1px solid #5a3e2b;
  background: #67452f;
  color: #ece2d3;
  padding: 1.6rem 2rem 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 0.55rem;
  color: #f0e7da;
  font-size: 1rem;
  font-weight: 800;
}

.footer-title-link {
  display: inline-block;
  text-decoration: none;
}

.footer-title-link:hover,
.footer-title-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-text {
  margin: 0;
  color: #e4d5c1;
  line-height: 1.55;
  font-size: 0.75rem;
}

.footer-link {
  display: block;
  text-decoration: none;
  color: #e8dbc9;
  margin: 0.3rem 0;
  font-weight: 600;
  font-size: 0.75rem;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.social-link {
  color: #ece2d3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-link svg * {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.social-link .tiktok-path {
  fill: currentColor;
  stroke: none;
}

.social-link:hover,
.social-link:focus-visible {
  color: #ffffff;
}

.whatsapp-cta {
  position: fixed !important;
  left: auto !important;
  right: calc((100vw - min(1024px, 100vw)) / 2 + var(--shell-gutter)) !important;
  bottom: 1.15rem !important;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid #1dad55;
  box-shadow: 0 12px 24px rgba(22, 99, 52, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  z-index: 1200;
}

.whatsapp-cta span {
  display: none;
}

.whatsapp-cta svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
  background: #1fab57;
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.32);
  transform: translateY(-2px) scale(1.03);
}

.btn-primary {
  border: 0;
  background: #b56a41;
  color: #fff;
  font-weight: 700;
  padding: 0 1rem;
}

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

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

  .header-inner {
    padding: 0.32rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    gap: 0.85rem;
  }

  .hero-core {
    height: 300px;
    background-size: cover;
    background-position: center;
    padding: 0 1rem;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-copy h2 {
    font-size: 1.5rem;
  }

  .contact-footer {
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: flex-start;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .logo img {
    height: 36px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .sort-wrap {
    margin-left: 0;
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary {
    padding: 0.72rem;
  }
}
