﻿:root {
  --bg: #fff;
  --surface: #fff;
  --ink: #1f2a2d;
  --muted: #7b898c;
  --line: #e3eaeb;
  --soft: #f3f6f6;
  --teal: #0d3b8e;
  --tan: #d9b56f;
  --tan-ink: #2a2110;
  --star: #f2a900;
  --thumb: #f6f9f9;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--surface);
  z-index: 10;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.15;
}

a {
  color: inherit;
}

img, svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 2px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

header.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 11;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

header.nav .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}

.search {
  flex: 1;
  min-width: 0;
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0 14px;
}

.search input {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: .72rem;
  color: var(--ink);
  padding: 9px 0;
  min-width: 0;
}

.search input:focus-visible {
  outline: none;
}

.search:focus-within {
  border-color: var(--teal);
}

.search .ico {
  flex: none;
  color: var(--teal);
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

.icons {
  display: flex;
  align-items: center;
  flex: none;
  gap: 16px;
}

.icons a {
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 4px;
  text-decoration: none;
}

.icons a span {
  display: none;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
  font: inherit;
}

.icon-button span {
  display: none;
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: black;
  color: #fff;
  font-size: .65rem;
  line-height: 16px;
  text-align: center;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  padding: 44px 0 36px;
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 600;
  max-width: 720px;
}

.hero p {
  max-width: 640px;
  margin: 14px 0 24px;
}

.hero a {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  padding: 12px 22px;
  text-decoration: none;
}

.perks {
  padding: 20px 0 10px;
}

.perks ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1072px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--soft);
}

.perks li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px;
  border-left: 2px solid var(--bg);
}

.perks li:first-child {
  border-left: 0;
}

.perks .ico {
  color: var(--tan);
  width: 30px;
  height: 30px;
  flex: none;
}

.perks b {
  display: block;
  font-size: .9rem;
  font-weight: 600;
}

.perks small {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.35;
}

.title {
  position: relative;
  text-align: center;
  padding: 44px 0 24px;
  max-width: 960px;
  margin: 0 auto;
}

.title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
}

.title svg {
  display: block;
  margin: 2px auto 0;
}

.deals {
  position: absolute;
  right: 0;
  top: 48px;
  background: var(--tan);
  color: var(--tan-ink);
  font-weight: 700;
  font-size: .8rem;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 4px;
}

.group {
  max-width: 960px;
  margin: 0 auto 48px;
}

.group > h3 {
  color: var(--teal);
  font-style: italic;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 0 14px;
  border-bottom: 2px solid var(--line);
  font-size: 1.25rem;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

article.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.thumb {
  position: relative;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: var(--thumb);
  color: var(--muted);
  font-size: .8rem;
  overflow: hidden;
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.body {
  flex: 1;
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-content: end;
  align-items: end;
  border-top: 1px solid var(--line);
}

.body small {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
  grid-column: 1/-1;
}

.body h4 {
  grid-column: 1/-1;
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
  min-height: 2.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.price {
  grid-column: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

.det {
  grid-column: 2;
  grid-row: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid var(--teal);
  background: var(--teal);
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.cart-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.det:hover {
  background: #092d6c;
  border-color: #092d6c;
}

.det.off {
  border-color: var(--line);
  color: var(--muted);
  background: var(--soft);
  cursor: default;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 30px;
  font-size: 1rem;
}

.cta {
  max-width: 1072px;
  margin: 0 auto;
  background: var(--teal);
  color: #fff;
  border-radius: 6px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 400;
}

.cta p {
  margin: 6px 0 0;
  opacity: .85;
  font-size: .85rem;
}

.cta a {
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: .78rem;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 4px;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 30px 0 20px;
  color: var(--muted);
  font-size: .8rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

footer address {
  font-style: normal;
}

.footer-info {
  display: grid;
  gap: 18px;
  max-width: 340px;
}

.socials strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.social-links a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

footer .copy {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.maps iframe {
  display: block;
  width: 260px;
  height: 160px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: min(390px, 100%);
  height: 100vh;
  height: 100dvh;
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: -4px 0 18px rgba(0, 0, 0, .16);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .2s ease, visibility 0s linear .2s;
}

.cart-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .2s ease, visibility 0s;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  color: var(--teal);
  font-size: 1.25rem;
}

.cart-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item strong, .cart-item small {
  display: block;
}

.cart-item small {
  margin-top: 3px;
  color: var(--muted);
}

.remove-cart {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-footer {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-button {
  display: block;
  padding: 12px;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.checkout-button.disabled {
  pointer-events: none;
  opacity: .5;
}

.notFound {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: 20%;
}

.serverErro {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: 20%;
}

.menuNavegacao ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.menuNavegacao ul li {
  padding: 2%;
  list-style: none;
}

.menuNavegacao ul li a {
  text-decoration: none;
}

.menuNavegacao ul li a:hover {
  text-decoration: underline;
  color: gray;
}

.icons .menuNavegacao ul {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.icons .menuNavegacao ul li {
  padding: 0 8px;
}

.icons .menuNavegacao ul li a {
  padding: 4px 2px;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}

.icons .menuNavegacao ul li a:hover {
  color: var(--teal);
}

.icons .menuNavegacao ul li a[aria-current="page"] {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
}

body.moda-page {
  --bg: #111416;
  --surface: #1b2022;
  --ink: #f5f1e8;
  --muted: #a7afb0;
  --line: #343c3e;
  --soft: #22292b;
  --thumb: #22292b;
  --teal: #d9b56f;
  --tan: #d9b56f;
  --tan-ink: #211a0d;
  color-scheme: dark;
}

body.moda-page article.card {
  box-shadow: none;
}

body.moda-page .cart-count {
  background: var(--tan);
  color: var(--tan-ink);
}

body.moda-page .det,
body.moda-page .checkout-button {
  color: var(--tan-ink);
}

body.moda-page .det:hover {
  background: #c4a15f;
  border-color: #c4a15f;
}

body.moda-page .det.off {
  border-color: var(--line);
  color: var(--muted);
  background: var(--soft);
}

body.moda-page .cta {
  color: var(--tan-ink);
}

body.moda-page .cta a {
  background: var(--tan-ink);
  color: var(--ink);
}

@media (max-width: 1024px) {
  .wrap {
    padding: 0 20px;
  }
}

@media (max-width: 820px) {
  .perks ul {
    grid-template-columns: 1fr 1fr;
  }

  .perks li:nth-child(3) {
    border-left: 0;
  }

  .perks li:nth-child(n+3) {
    border-top: 2px solid var(--bg);
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .deals {
    position: static;
    display: inline-block;
    margin-top: 14px;
  }

  header.nav .wrap {
    gap: 12px;
  }

  .icons {
    gap: 6px;
  }

  .search {
    max-width: none;
    margin: 0;
  }

  .maps {
    width: 100%;
  }

  .maps iframe {
    width: 100%;
    height: 180px;
  }

  .footer-info {
    max-width: none;
  }
}

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

  .cta {
    padding: 24px 20px;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .title {
    padding: 32px 0 20px;
  }
}

@media (max-width: 720px) {
  header.nav .wrap {
    gap: 8px;
    padding: 0 12px;
    height: 62px;
  }

  .search {
    padding: 0 10px;
  }

  .search input {
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
    flex: none;
  }

  .icons {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    z-index: 12;
    min-width: 210px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  }

  .icons.is-open {
    display: flex;
  }

  .icons a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
  }

  .icons a span {
    display: inline;
  }

  .icon-button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 8px;
    text-align: left;
  }

  .icon-button span {
    display: inline;
  }

  .cart-count {
    position: static;
    margin-left: auto;
  }

  .icons .menuNavegacao {
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }

  .icons .menuNavegacao ul {
    flex-direction: column;
  }

  .icons .menuNavegacao ul li {
    padding: 0;
  }

  .icons .menuNavegacao ul li a {
    display: block;
    padding: 10px 8px;
    font-size: .95rem;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }

  .logo {
    font-size: .95rem;
  }

  .perks ul {
    grid-template-columns: 1fr;
  }

  .perks li,
  .perks li:nth-child(3) {
    border-left: 0;
  }

  .perks li:nth-child(n+2) {
    border-top: 2px solid var(--bg);
  }

  .cart-panel {
    padding: 16px;
  }

  footer .wrap {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .wrap {
    padding: 0 12px;
  }

  .logo {
    font-size: .85rem;
  }

  .body {
    padding: 12px;
  }

  .det {
    padding: 8px 12px;
  }
}

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

  .cart-panel,
  .cart-panel.is-open {
    transition: none;
  }
}