:root {
  --paper: #f8f7f4;
  --card: #ffffff;
  --ink: #2f2f2f;
  --muted: #72706c;
  --line: #e3e1dc;
  --accent: #b56a41;
  --burnt-clay: #a85f37;
  --sand-beige: #ece2d3;
  --cocoa-brown: #67452f;
  --charcoal-gray: rgba(19, 19, 19, 0.52);
  --tier-active: #9b9a7a;
  --shell-gutter: 2rem;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.page {
  width: 90vw;
  max-width: none;
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
}

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.206rem var(--shell-gutter);
}

.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 {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  flex-wrap: wrap;
  margin-left: auto;
}

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

.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 {
  width: 100%;
  margin: 0;
  height: 472px;
  position: relative;
  background-image: url('assets/hero-clean.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0 3.9rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.88) 0%, rgba(15, 15, 15, 0.68) 30%, rgba(15, 15, 15, 0.22) 56%, rgba(15, 15, 15, 0) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 44%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  color: #f7f5f2;
  max-width: 458px;
}

.hero-overlay h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 3.62rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-overlay p {
  margin: 0.85rem 0 1.45rem;
  color: #f0ebe3;
  font-size: 1.12rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border: 1px solid var(--burnt-clay);
  border-radius: 10px;
  padding: 0.74rem 1.12rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 220ms ease;
  background: var(--burnt-clay);
  color: #fff;
}

.btn-primary {
  background: var(--burnt-clay);
  border-color: var(--burnt-clay);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #8f4e2c;
  border-color: #8f4e2c;
}

.btn-outline {
  background: var(--burnt-clay);
  border-color: var(--burnt-clay);
  color: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #8f4e2c;
  border-color: #8f4e2c;
}

.btn:disabled,
.btn[disabled],
.btn.is-disabled {
  background: var(--charcoal-gray) !important;
  border-color: var(--charcoal-gray) !important;
  color: #f9f7f2 !important;
  cursor: not-allowed;
  opacity: 1;
}

.feature-strip {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  background: #f5f4f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.feature-item p {
  margin: 0;
  font-weight: 600;
  color: #55534f;
  font-size: 0.93rem;
}

.feature-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #999489;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-panel {
  width: 100%;
  margin: 0 0 1.5rem;
  overflow: visible;
  transition: border-color 220ms ease;
}

.catalog-panel.is-core {
  border-color: #cdb9a0;
}

.catalog-panel.is-performance {
  border-color: #8e4f2d;
}

.catalog-panel.is-studio {
  border-color: #b89e8b;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0;
  margin-bottom: 0;
}

.tier {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  padding: 1.1rem 0.8rem;
  cursor: pointer;
  transition: all 220ms ease;
}

.tier h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #4a4a48;
}

.tier p {
  margin: 0.6rem 0 0;
  font-size: 1.02rem;
  line-height: 1.35;
  color: #66635e;
  font-weight: 700;
}

.tier.is-active {
  position: relative;
  z-index: 2;
  margin-bottom: -6px;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.tier.is-active h2,
.tier.is-active p {
  color: #f4f2e8;
}

.catalog-panel.is-core .tier[data-tier='core'].is-active {
  background: var(--sand-beige);
  border-color: #cdb9a0;
}

.catalog-panel.is-core .tier[data-tier='core'].is-active h2,
.catalog-panel.is-core .tier[data-tier='core'].is-active p {
  color: #4d453c;
}

.catalog-panel.is-performance .tier[data-tier='performance'].is-active {
  background: var(--accent);
  border-color: #8e4f2d;
}

.catalog-panel.is-performance .tier[data-tier='performance'].is-active h2,
.catalog-panel.is-performance .tier[data-tier='performance'].is-active p {
  color: #f8f1eb;
}

.catalog-panel.is-studio .tier[data-tier='studio'].is-active {
  background: var(--cocoa-brown);
  border-color: #523623;
  border-radius: 10px 10px 0 0;
}

.catalog-panel.is-studio .tier[data-tier='studio'].is-active h2,
.catalog-panel.is-studio .tier[data-tier='studio'].is-active p {
  color: #f8f1eb;
}

.product-area {
  padding: 1rem;
  border: 1px solid #ddd7cd;
  border-top: 0;
  border-radius: 0 10px 10px 10px;
  margin-top: 6px;
}

.catalog-panel.is-core .product-area {
  background: var(--sand-beige);
  border-color: #cdb9a0;
}

.catalog-panel.is-performance .product-area {
  background: var(--accent);
  border-color: #8e4f2d;
}

.catalog-panel.is-studio .product-area {
  background: var(--cocoa-brown);
  border-color: #523623;
  border-radius: 0 0 10px 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  border: 1px solid var(--line);
  background: #f0efec;
  color: #66645e;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 220ms ease;
}

.chip.is-active {
  background: #9a996f;
  border-color: #9a996f;
  color: #faf9f6;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 0;
  overflow: hidden;
}

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

.product-image {
  height: 220px;
  border-bottom: 1px solid #eceae5;
  position: relative;
}

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

.bag {
  background-image: url('assets/aglt03-navy.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

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

.umbrella {
  background-position: -728px -865px;
}

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

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

.badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: #b06943;
  color: #fff;
  border-radius: 4px;
  padding: 0.28rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.product-card h3 {
  margin: 0;
  padding: 0.75rem 0.7rem 0;
  font-size: 0.9rem;
  min-height: 3.1rem;
  color: #45443f;
}

.price {
  margin: 0;
  padding: 0.1rem 0.7rem 0.85rem;
  font-weight: 800;
  font-size: 1.75rem;
  color: #2f2f2d;
}

.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);
}

.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;
  }

  :root {
    --shell-gutter: 1rem;
  }

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

  .hero {
    height: 392px;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 1rem 1rem;
    background-size: cover;
    background-position: 72% center;
  }

  .hero-overlay {
    max-width: 92%;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .feature-strip {
    padding-left: 0;
    padding-right: 0;
  }

  .tiers,
  .product-area,
  .contact-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .contact-footer {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: center;
    gap: 0.9rem;
  }

  .logo {
    width: auto;
  }

  .logo img {
    height: 60px;
    width: auto;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.8rem;
  }

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

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

/* Alternate homepage layout */
.home-alt-main {
  padding: 0 0 2rem;
  background: #f3ede3;
}

.home-alt-hero {
  min-height: 390px;
  background-image:
    linear-gradient(90deg, rgba(236, 226, 211, 0.96) 0%, rgba(236, 226, 211, 0.84) 33%, rgba(236, 226, 211, 0.22) 62%),
    url('assets/all-products-hero-image.png');
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  padding: 1.8rem 3rem;
}

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

.home-alt-hero-copy h1 {
  margin: 0;
  color: #2f2b27;
  font-size: 3rem;
  line-height: 1.02;
}

.home-alt-hero-copy p {
  margin: 0.9rem 0 1.15rem;
  color: #585149;
  font-size: 1rem;
}

.home-alt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-alt-hero-actions .btn {
  min-height: auto;
  padding: 0.45rem 0.78rem;
  font-size: 0.84rem;
}

.home-alt-hero-actions .btn-outline {
  border-width: 1px;
}

.home-alt-section {
  width: min(940px, calc(100% - 2.4rem));
  margin: 1.5rem auto 0;
}

.home-page .home-alt-section {
  width: 100%;
}


.home-alt-section h2 {
  margin: 0 0 1rem;
  text-align: center;
  color: #3f3933;
  font-size: 2.15rem;
}

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

.home-alt-category-card {
  border: 1px solid #ddd2c3;
  border-radius: 10px;
  background: #f7f2ea;
  padding: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-alt-category-card:hover,
.home-alt-category-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(56, 45, 33, 0.12);
}

.home-alt-category-card h3 {
  margin: 0.7rem 0 0.35rem;
  color: #463f37;
  font-size: 1.4rem;
}

.home-alt-category-card p {
  margin: 0;
  color: #756d62;
  font-size: 0.8rem;
  line-height: 1.35;
}

.home-alt-category-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid #e4d8c7;
  background-color: #ede5db;
  background-size: cover;
  background-position: center;
}

.home-alt-category-image.gadgets {
  background-image: url('assets/gadgets-image.png');
}

.home-alt-category-image.stationaries {
  background-image: url('assets/stationary-image.png');
}

.home-alt-category-image.tumbler {
  background-image: url('assets/tumbler-image.png');
}

.home-alt-category-image.umbrella {
  background-image: url('assets/umbrella-image.png');
}

.home-alt-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-alt-collection-card {
  min-height: clamp(240px, 24vw, 340px);
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.home-alt-collection-card.core {
  background-image: url('assets/core-image.png');
}

.home-alt-collection-card.performance {
  background-image: url('assets/performance-image.png');
}

.home-alt-collection-card.studio {
  background-image: url('assets/studio-image.png');
}

.home-alt-collection-overlay {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, rgba(22, 17, 13, 0.35) 0%, rgba(22, 17, 13, 0.15) 52%, rgba(22, 17, 13, 0.06) 100%);
}

.home-alt-collection-overlay h3 {
  margin: 0;
  font-size: 2rem;
  color: #f8f1e6;
}

.home-alt-collection-overlay p {
  margin: 0.35rem 0 0;
  color: #f0e5d7;
  font-size: 0.85rem;
  max-width: 220px;
}

.home-alt-collection-overlay .btn {
  margin-top: auto;
  width: fit-content;
  min-height: auto;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(247, 240, 230, 0.6);
  background: rgba(247, 240, 230, 0.82);
  color: #3f3428;
}

.home-alt-personalize {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd2c3;
  background: #fff;
}

.home-alt-personalize-copy {
  padding: 2rem 1.6rem;
  background: #f7f1e7;
}

.home-alt-personalize-copy h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.home-alt-personalize-copy p {
  margin: 0 0 1.1rem;
  color: #695f54;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 520px;
}

.home-alt-personalize-copy .btn {
  min-height: auto;
  padding: 0.5rem 0.84rem;
}

.home-alt-personalize-image {
  min-height: 220px;
  background-image: url('assets/personalize-image.png');
  background-size: cover;
  background-position: center;
}

@media (max-width: 980px) {
  .home-alt-hero {
    min-height: 340px;
    padding: 1.25rem;
  }

  .home-alt-hero-copy h1 {
    font-size: 2.5rem;
  }

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

  .home-alt-collection-grid {
    grid-template-columns: 1fr;
  }

  .home-alt-personalize {
    grid-template-columns: 1fr;
  }

  .home-alt-personalize-image {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  .home-alt-section {
    width: min(940px, calc(100% - 1.25rem));
  }

  .home-alt-hero-copy h1 {
    font-size: 2.2rem;
  }

  .home-alt-section h2 {
    font-size: 1.8rem;
  }

  .home-alt-category-card h3 {
    font-size: 1.2rem;
  }
}
