:root {
  --blue: #275F99;
  --blue-soft: #eaf1f8;
  --blue-deep: #1d4a78;
  --text: #2a3b4d;
  --muted: #6b7c89;
  --line: #d7e2ec;
  --bg: #ffffff;
  --surface: #f5f8fb;
  --font: "Open Sans", "Lato", sans-serif;
  --display: "Ubuntu", "Open Sans", sans-serif;
  --accent: #275F99;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: var(--blue); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}
.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;
}

.site-announce {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .55rem 1rem;
}

.site-header {
  border-bottom: 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__inner {
  width: 100%;
  margin: 0;
  padding: 0 100px;
  min-height: calc(84px * 1.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.site-brand__full {
  height: 28px;
  width: auto;
}
.site-brand__mark {
  display: none;
  height: 24px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.15vw, 1.65rem);
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
  margin-right: 0;
}
.site-nav a,
.site-nav__account {
  text-decoration: none;
  color: var(--blue);
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.2;
  padding: .15rem 0 .35rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav__account:hover {
  color: var(--blue);
  opacity: .85;
}
.site-nav a.is-active,
.site-nav__account.is-active {
  border-bottom-color: var(--blue);
  font-weight: 400;
}
.site-nav a.is-muted {
  opacity: 1;
  font-weight: 400;
  cursor: default;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--blue);
  border-bottom-color: transparent !important;
  padding-bottom: .2rem;
}
.cart-link .cart-icon {
  display: block;
  width: 22px;
  height: 19px;
  color: var(--blue);
  fill: currentColor;
}
.cart-count {
  position: static;
  min-width: 0;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  display: inline;
  padding: 0;
  letter-spacing: .01em;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
}

/* Banner: omitido no PHP se vazio */
.site-banner {
  background: #0f2740;
}
.site-banner__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.site-banner__track {
  position: relative;
  width: 100%;
}
.site-banner__slide {
  display: none;
}
.site-banner__slide.is-active {
  display: block;
  position: relative;
  width: 100%;
  height: min(68vh, 560px);
  overflow: hidden;
}
.site-banner__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.site-banner__slide.is-active img {
  position: absolute;
  inset: 0;
}
.site-banner__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.site-banner__nav.prev { left: 1rem; }
.site-banner__nav.next { right: 1rem; }
.site-banner__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .9rem;
  display: flex;
  justify-content: center;
  gap: .4rem;
  z-index: 2;
}
.site-banner__dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.55);
  padding: 0;
  cursor: pointer;
}
.site-banner__dots button.is-active {
  background: #fff;
}
.site-banner--video {
  width: 100%;
  height: calc(100vh - 72px);
  min-height: 420px;
  max-height: 100vh;
  overflow: hidden;
  background: #000;
}
.site-banner__video {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
}
.site-banner__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  background: #000;
}
.site-banner__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity .35s ease;
}
.site-banner__video.is-playing .site-banner__poster {
  opacity: 0;
  pointer-events: none;
}
.site-banner__sound {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.65));
  padding: 0;
  cursor: pointer;
}
.site-banner__sound:hover {
  color: #fff;
  opacity: .9;
}
.site-banner__sound-icon {
  display: block;
}
.site-banner__sound .sound-state--on {
  display: none;
}
.site-banner__sound.is-on .sound-state--muted {
  display: none;
}
.site-banner__sound.is-on .sound-state--on {
  display: inline;
}
.site-banner__embed {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.site-banner__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 820px) {
  .site-banner--video {
    height: calc(100vh - 64px);
    min-height: 320px;
  }
  .site-banner__sound {
    right: .75rem;
    bottom: .75rem;
  }
}

.home-intro {
  padding: 3.5rem 1rem 2.5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(39,95,153,.12), transparent 42%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 70%);
}
.home-intro__inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}
.home-intro__logo {
  width: min(320px, 78%);
  margin: 0 auto 1.4rem;
}
.home-intro h1 {
  margin: 0;
  font-family: var(--display);
  color: var(--blue);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.25;
}
.home-intro p {
  margin: .85rem auto 1.5rem;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.02rem;
}
.home-intro__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-solid,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.35rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid var(--blue);
}
.btn-solid {
  background: var(--blue);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--blue);
}

/* Faixa: data + pensamentos de ouro + busca (igual ao layout de referência) */
.home-daily {
  background: #fff;
  margin-top: 1.75rem;
  font-family: "Ubuntu", "Open Sans", sans-serif;
  font-weight: 400;
}
.home-daily__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: .35rem 0 .2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.home-daily__content {
  flex: 0 1 auto;
  max-width: calc(100% - 360px);
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 2.5rem;
  padding: .45rem 0 .7rem;
  border-bottom: 1px solid var(--blue);
}
.home-daily__date {
  color: var(--blue);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}
.home-daily__verse {
  margin: 0;
  min-width: 0;
  color: var(--blue);
  flex: 0 1 auto;
}
.home-daily__link {
  color: inherit;
  text-decoration: none;
}
.home-daily__link:hover,
.home-daily__link:hover .home-daily__text,
.home-daily__link:hover .home-daily__ref,
.home-daily__link:focus,
.home-daily__link:focus .home-daily__text,
.home-daily__link:focus .home-daily__ref {
  text-decoration: none;
  color: inherit;
}
.home-daily__text {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
}
.home-daily__text .italico {
  font-style: italic;
}
.home-daily__text .versalete {
  font-variant: small-caps;
  letter-spacing: .04em;
}
.home-daily__text .caixa-alta {
  text-transform: uppercase;
  letter-spacing: .05em;
}
.home-daily__ref {
  display: inline;
  margin-left: .65rem;
  font-style: italic;
  font-weight: 400;
  font-size: .95rem;
  white-space: nowrap;
}
.home-daily__search {
  flex: 0 0 340px;
  width: 340px;
  max-width: 340px;
}
.site-search--daily {
  width: 100%;
}
.site-search--daily input[type="search"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfd8e0;
  border-radius: 8px;
  padding: 0 1rem;
  font: inherit;
  color: var(--blue);
  background: #fff;
}
.site-search--daily input[type="search"]::placeholder {
  color: #9aa8b6;
}
.site-search--daily .site-search__panel {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
}
@media (max-width: 900px) {
  .home-daily {
    margin-top: 1.25rem;
  }
  .home-daily__inner {
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    padding: .85rem 0 1rem;
  }
  .home-daily__content {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
  }
  .home-daily__search {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }
  .home-daily__date {
    font-size: .85rem;
  }
}

.home-featured {
  padding: 2.6rem 1rem 1.2rem;
  background: #fff;
}
.home-featured__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.home-featured__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.home-featured__head--center {
  justify-content: center;
  text-align: center;
}
.home-featured__head h2 {
  margin: 0;
  font-family: var(--display);
  color: var(--blue);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 400;
}
.home-featured__head a {
  color: var(--blue);
  text-decoration: none;
  font-size: .92rem;
}
.home-featured__head a:hover {
  text-decoration: underline;
}
.home-featured__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem .75rem;
  align-items: start;
}
.home-featured__grid.product-grid,
.product-grid.home-featured__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.home-featured__grid .product-card h3 {
  margin: 0;
  font-size: .88rem;
  line-height: 1.35;
  color: var(--blue);
  font-weight: 600;
  min-height: 2.6em;
}
.home-featured__grid .product-card > .price {
  font-size: .95rem;
}
.home-featured__grid .product-card .price--old {
  font-size: .75rem;
}
.home-featured__grid .product-card .price--promo {
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .home-featured__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .home-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-newsletter {
  padding: 3rem 1rem 4rem;
  background: var(--blue-soft);
}
.home-newsletter__inner {
  width: min(640px, 100%);
  margin: 0 auto;
  text-align: center;
}
.home-newsletter h2 {
  margin: 0;
  font-family: var(--display);
  color: var(--blue);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 400;
}
.home-newsletter p {
  margin: .7rem 0 1.2rem;
  color: var(--muted);
}
.home-newsletter__form {
  display: flex;
  gap: .55rem;
  justify-content: center;
  flex-wrap: wrap;
}
.home-newsletter__form input {
  flex: 1 1 220px;
  min-height: 44px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 0 1.1rem;
  font: inherit;
  color: var(--blue);
  background: #fff;
}
.home-newsletter__form input:disabled,
.home-newsletter__form button:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.home-newsletter__note {
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--muted);
}

.store-topbar-band {
  background: #fff;
  margin: 1.25rem 0 .85rem;
}
.store-topbar {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 120px;
  height: 120px;
  box-sizing: border-box;
}
.store-topbar__left,
.store-topbar__right {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  min-width: 0;
}
.store-topbar__left {
  max-width: min(250px, 34%);
}
.store-topbar__right {
  flex: 0 0 340px;
  width: 340px;
  max-width: 340px;
  display: flex;
  justify-content: flex-end;
}
.store-topbar__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: max-content;
  max-width: min(46%, 420px);
  text-align: center;
  font-family: var(--display);
  color: var(--blue);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  pointer-events: none;
}
.store-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.catalog-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  border-radius: 8px;
  padding: 0 .9rem;
  min-height: 40px;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.2;
  max-width: 100%;
  box-sizing: border-box;
}
.catalog-cta.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}
.category-nav {
  display: grid;
  gap: .15rem;
}
.category-nav__title {
  margin: 0 0 .7rem;
  padding-bottom: .28rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.store-filters {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.15rem;
}
.store-filters label {
  display: grid;
  gap: .22rem;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
}
.store-filters input,
.store-filters select {
  width: 100%;
  border: 1px solid #cfd8e0;
  border-radius: 8px;
  padding: .48rem .6rem;
  font: inherit;
  font-weight: 400;
  color: var(--blue);
  background: #fff;
}
.store-filters__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}
.store-filters__prices input {
  font-size: .82rem;
  padding: .48rem .4rem;
}
.store-filters__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.store-filters__actions button {
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: .48rem .85rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.store-filters__actions a {
  color: var(--blue);
  font-size: .85rem;
}
.category-nav a {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  color: var(--blue);
  font-size: .92rem;
  font-weight: 400;
  padding: .35rem 0;
  border-bottom: 0;
  transform-origin: left center;
  transition: transform .18s ease;
}
.category-nav a:hover,
.category-nav a.is-active {
  font-weight: 700;
  transform: scale(1.06);
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.store-toolbar h1 {
  margin: 0;
  font-family: var(--display);
  color: var(--blue);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
}
.site-search {
  position: relative;
  min-width: 0;
}
.site-search input[type="search"] {
  width: 100%;
  border: 1px solid #cfd8e0;
  border-radius: 8px;
  padding: .65rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--blue);
}
.site-search input[type="search"]::placeholder {
  color: #8a97a5;
}
.site-search input[type="search"]:focus {
  outline: none;
  border-color: #a8b7c6;
}
.site-search--header {
  width: min(180px, 18vw);
  flex: 0 0 auto;
}
.site-search--store {
  width: 100%;
  max-width: 340px;
}
.store-topbar__right .site-search--store {
  width: 100%;
  max-width: 340px;
  margin-left: auto;
}
.store-topbar__right .site-search--daily input[type="search"] {
  width: 100%;
}
.site-search__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: min(340px, 92vw);
  z-index: 60;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 38, 63, .14);
  overflow: hidden;
}
.site-search--header .site-search__panel {
  right: 0;
  left: auto;
  width: min(380px, 92vw);
}
.site-search__notice {
  padding: .7rem 1rem;
  font-size: .88rem;
  color: var(--muted);
}
.site-search__list {
  max-height: 360px;
  overflow: auto;
}
.site-search__item {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: .75rem;
  align-items: center;
  padding: .85rem 1rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid #eee;
}
.site-search__item:last-child {
  border-bottom: 0;
}
.site-search__item:hover,
.site-search__item.is-active {
  background: #f5f8fb;
}
.site-search__item-title {
  margin: 0;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--blue);
}
.site-search__item-meta {
  margin: .25rem 0 0;
  font-size: .8rem;
  color: var(--muted);
}
.site-search__item-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
}
.site-search__all {
  display: block;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--blue);
  font-size: .88rem;
  border-top: 1px solid #eee;
  background: #fafcfe;
}
.site-search__all:hover {
  background: #f0f5fa;
}
.search-form input {
  width: min(240px, 42vw);
  border: 1px solid #cfd8e0;
  border-radius: 8px;
  padding: .65rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--blue);
}
.result-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}
.product-card {
  text-decoration: none;
  color: inherit;
}
.product-card__media {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  margin-bottom: 1.15rem;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card.is-skeleton h2,
.product-card.is-skeleton .price,
.product-card.is-skeleton .price-row {
  color: transparent;
  border-radius: 6px;
  background: linear-gradient(90deg, #e7eef5 25%, #f7fbfe 37%, #e7eef5 63%);
  background-size: 400% 100%;
  animation: store-skeleton 1.15s ease infinite;
}
.product-card.is-skeleton .price,
.product-card.is-skeleton .price-row {
  min-height: 1.15em;
}
.product-card__media.is-waiting {
  background: linear-gradient(90deg, #e7eef5 25%, #f7fbfe 37%, #e7eef5 63%);
  background-size: 400% 100%;
  animation: store-skeleton 1.15s ease infinite;
}
.product-card__media.is-waiting img {
  opacity: 0;
}
.product-card__media img.is-ready {
  opacity: 1;
  transition: opacity .2s ease;
}
@keyframes store-skeleton {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card.is-skeleton h2,
  .product-card.is-skeleton .price,
  .product-card.is-skeleton .price-row,
  .product-card__media.is-waiting {
    animation: none;
  }
}
.product-card h2 {
  margin: 0;
  font-size: .92rem;
  line-height: 1.35;
  color: var(--blue);
  font-weight: 600;
  min-height: 2.6em;
}
.product-card .price {
  margin: .45rem 0 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}
.product-card .price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .05rem;
  margin: .45rem 0 0;
}
.product-card .price-row .price {
  margin: 0;
}
.product-card .price--old {
  color: var(--blue);
  font-weight: 500;
  font-size: .78rem;
  line-height: 1.2;
  text-decoration: line-through;
}
.product-card .price--promo {
  color: #c0392b;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}
.empty { grid-column: 1 / -1; color: var(--muted); }

.store-group {
  margin: 0 0 1.75rem;
}
.store-group__title {
  margin: 0 0 .85rem;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: 1.5rem;
}
.pagination a {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--blue);
}
.pagination a.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.product-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  padding-top: 75px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  color: var(--blue);
  font-size: .9rem;
  margin-bottom: 1.2rem;
}
.breadcrumb a,
.breadcrumb span,
.breadcrumb .current {
  color: var(--blue);
  text-decoration: none;
}

.product-hero {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}
.product-media,
.product-info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.product-info { flex: 1.05 1 0; }
.product-copy {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.product-lead {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.product-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border-radius: 8px;
}
.product-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.product-gallery {
  position: relative;
  width: 100%;
}
.product-gallery__stage {
  position: relative;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  aspect-ratio: 865 / 635;
  overflow: hidden;
}
.product-gallery__slide {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.product-gallery__slide.is-active {
  display: block;
}
.product-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #275F99;
  font-size: 1.7rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(15, 39, 64, .16);
}
.product-gallery__nav[data-carousel-prev] { left: 8px; }
.product-gallery__nav[data-carousel-next] { right: 8px; }

.product-copy h1 {
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.35;
  font-weight: 400;
}
.product-copy .price {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--blue);
}
.product-copy .price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  margin: 0;
}
.product-copy .price-row .price {
  margin: 0;
}
.product-copy .price--old {
  color: var(--blue);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: line-through;
}
.product-copy .price--promo {
  color: #c0392b;
  font-weight: 700;
  font-size: 1.85rem;
  line-height: 1.15;
}
.short-desc {
  margin: 0;
  color: var(--blue);
  line-height: 1.55;
  overflow: visible;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.buy-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  width: 100%;
  margin: 0;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 38px;
  height: 48px;
  border: 0;
  background: #fff;
  color: var(--blue);
  font-size: 1.1rem;
  cursor: pointer;
}
.qty input {
  width: 46px;
  height: 48px;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: center;
  font: inherit;
  color: var(--blue);
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.btn-cart {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0 1.3rem;
  height: 48px;
  border-radius: 8px;
  cursor: not-allowed;
  opacity: .85;
}
.btn-cart.is-ready {
  cursor: pointer;
  opacity: 1;
}
.btn-cart.is-ready:hover { filter: brightness(1.05); }
.btn-cart.is-added {
  background: #1f6b3a;
  cursor: default;
  opacity: 1;
}
.buy-note {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.product-hero .product-align {
  margin-left: 0;
  margin-right: 0;
}
.buy-note.is-ok { color: #1f6b3a; }
.buy-note.is-error { color: #9b2c2c; }

.cart-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.cart-popup.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
body.cart-popup-open { overflow: hidden; }
.cart-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 63, .48);
}
.cart-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: 0 24px 60px rgba(18, 38, 63, .22);
}
.cart-popup__close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.cart-popup__dialog h2 {
  margin: 0 2rem .25rem 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
}
.cart-popup__lead {
  margin: 0 0 1rem;
  color: var(--blue);
}
.cart-popup__list {
  display: grid;
  gap: .75rem;
}
.cart-popup__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
}
.cart-popup__item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}
.cart-popup__item strong {
  display: block;
  color: var(--blue);
  font-size: .95rem;
  font-weight: 600;
}
.cart-popup__item span {
  color: var(--muted);
  font-size: .85rem;
}
.cart-popup__item b {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}
.cart-popup__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 1.05rem;
}
.cart-popup__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: 1rem;
}
.cart-popup__actions .btn-primary,
.cart-popup__actions .btn-ghost {
  width: 100%;
  margin-top: 0;
}
@media (max-width: 560px) {
  .cart-popup__actions { grid-template-columns: 1fr; }
}

.product-specs {
  margin: 0;
  width: 100%;
}
.product-specs h2 {
  margin: 0 0 .75rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blue);
}
.product-specs__scroll {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.product-specs table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  font-family: var(--font);
  background: #fff;
}
.product-specs td {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 4px .9rem;
  line-height: 1.2;
  text-align: left;
  font-size: .95rem;
  background: #fff;
  color: var(--text);
  vertical-align: middle;
  overflow-wrap: break-word;
}
.product-specs tr:last-child td {
  border-bottom: 0;
}
.product-specs td:first-child {
  font-weight: 600;
  color: var(--blue);
  width: 42%;
  background: var(--blue-soft);
}

@media (min-width: 981px) {
  .product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    column-gap: 1.15rem;
    row-gap: 16px;
    align-items: start;
  }
  .product-media,
  .product-info {
    display: contents;
  }
  .product-gallery {
    grid-column: 1;
    grid-row: 1;
  }
  .product-video {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: 100%;
  }
  .product-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    position: relative;
    height: 0;
    min-height: 100%;
    display: block;
  }
  .product-lead {
    position: relative;
    z-index: 2;
  }
  .product-buy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }
  .product-copy .short-desc {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    margin: 0;
    overflow: visible;
  }
  .product-copy.is-open {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: .7rem;
  }
  .product-copy.is-open .short-desc,
  .product-copy.is-open .product-buy {
    position: static;
  }
  .product-specs {
    grid-column: 2;
    grid-row: 2;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.6rem 1rem 2rem;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer__brand {
  display: flex;
  gap: .85rem;
  align-items: center;
}
.site-footer__brand strong {
  display: block;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 400;
}
.site-footer__brand p,
.site-footer__meta p {
  margin: .15rem 0 0;
}
.site-footer a {
  text-decoration: none;
  color: var(--blue);
}

/* Drawer lateral de conta */
body.account-drawer-open {
  overflow: hidden;
}
.account-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
}
.account-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.account-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 48, .42);
  opacity: 0;
  transition: opacity .25s ease;
}
.account-drawer.is-open .account-drawer__backdrop {
  opacity: 1;
}
.account-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 30, 50, .18);
  transform: translateX(104%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  overflow: auto;
  font-family: "Lato", "Open Sans", sans-serif;
}
.account-drawer.is-open .account-drawer__panel {
  transform: translateX(0);
}
.account-drawer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem .45rem;
}
.account-drawer__title {
  color: var(--blue);
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .04em;
}
.account-drawer__close {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: .18em;
  padding: 0;
  cursor: pointer;
}
.account-drawer__close:hover {
  color: var(--blue-deep);
}
.account-drawer__hello {
  text-align: center;
  padding: 1.85rem 1.35rem 1.5rem;
}
.account-drawer__hello h2 {
  margin: 0;
  font-family: "Ubuntu", "Lato", "Open Sans", sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.2rem);
  font-weight: 400;
  color: var(--blue);
  line-height: 1.15;
}
.account-drawer__logout {
  margin-top: .6rem;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-family: "Lato", "Open Sans", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
  padding: 0;
}
.account-drawer__logout:hover {
  color: var(--blue-deep);
}
.account-drawer__flash {
  margin: 0 1.25rem 1rem;
  border-radius: 10px;
  padding: .7rem .85rem;
  font-size: .9rem;
}
.account-drawer__flash.is-ok {
  background: #e8f6ee;
  color: #1f6b43;
  border: 1px solid #b9e0c8;
}
.account-drawer__flash.is-error {
  background: #fdecec;
  color: #9b2c2c;
  border: 1px solid #f3c4c4;
}
.account-drawer__nav {
  display: grid;
  gap: .35rem;
  padding: 0 1.1rem 1rem;
}
.account-drawer__nav-item {
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: .95rem;
  font-weight: 400;
  padding: .65rem .85rem;
  border-radius: 10px;
  cursor: pointer;
}
.account-drawer__nav-item.is-active {
  background: var(--blue-soft);
  border-color: #c9daeb;
  font-weight: 700;
}
.account-drawer__body {
  padding: 0 1.25rem 1.6rem;
  border-top: 1px solid #e6e6e6;
}
.account-drawer__pane {
  display: none;
  padding-top: 1.1rem;
}
.account-drawer__pane.is-active {
  display: block;
}
.account-drawer__form {
  display: grid;
  gap: .8rem;
}
.account-drawer__form label {
  display: grid;
  gap: .3rem;
  color: var(--blue);
  font-size: .9rem;
}
.account-drawer__form input,
.account-drawer__form select {
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: .7rem 1rem;
  font: inherit;
  color: var(--blue);
  background: #fff;
}
.account-drawer__form input:disabled,
.account-drawer__form--readonly input {
  opacity: 1;
  background: var(--surface);
  color: var(--blue);
  cursor: default;
  pointer-events: none;
}
.field-hint {
  color: #9b2c2c;
  font-size: .82rem;
}
.cep-status {
  display: block;
  margin-top: .15rem;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--muted);
}
.cep-status.is-ok { color: #1f6b43; }
.cep-status.is-error { color: #9b2c2c; }
.cep-status[hidden] { display: none; }
.account-form input.is-invalid,
.account-form input.is-invalid:focus {
  border-color: #9b2c2c;
  outline-color: rgba(155,44,44,.25);
}
.account-drawer__check {
  display: flex !important;
  align-items: center;
  gap: .55rem;
  color: var(--text) !important;
}
.account-drawer__check input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}
.account-drawer__empty {
  margin: .4rem 0 0;
  color: #666;
  text-align: center;
}
.account-drawer__list {
  display: grid;
  gap: .75rem;
}
.account-drawer__card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem .95rem;
  background: var(--surface);
}
.account-drawer__card strong {
  display: block;
  color: var(--blue);
  margin-bottom: .25rem;
}
.account-drawer__card p {
  margin: .15rem 0;
  color: #555;
  font-size: .92rem;
  line-height: 1.4;
}
.account-drawer__edit-btn {
  margin-top: .75rem;
  min-height: 38px;
  padding: 0 1rem;
  font-size: .88rem;
}
.account-drawer__address-form {
  display: none;
  margin-top: .85rem;
}
.account-drawer__address-form.is-open {
  display: grid;
}
.account-drawer__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.account-drawer__add {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .85rem;
}
.account-drawer__add summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: .75rem;
}
.account-forgot-wrap {
  margin: -.35rem 0 .15rem;
  text-align: right;
}
.account-forgot-wrap a {
  color: var(--blue);
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.account-alert.is-ok {
  background: #e8f6ee;
  color: #1f6b43;
  border: 1px solid #b9e0c8;
  border-radius: 10px;
  padding: .75rem .9rem;
  margin-bottom: 1rem;
  font-size: .92rem;
}

/* Login modal */
body.login-modal-open {
  overflow: hidden;
}
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.login-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 63, .48);
}
.login-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.7rem 1.45rem 1.4rem;
  box-shadow: 0 24px 60px rgba(18, 38, 63, .22);
  max-height: calc(100vh - 2rem);
  overflow: auto;
}
.login-modal__close {
  position: absolute;
  top: .55rem;
  right: .7rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  padding: .2rem .4rem;
}
.login-modal__close:hover {
  color: var(--blue);
}
.login-modal__dialog h2 {
  margin: 0 1.5rem 0 0;
  font-family: var(--display);
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 400;
}
.login-modal__lead {
  margin: .4rem 0 1.1rem;
  color: var(--muted);
  font-size: .92rem;
}
.login-modal__form .btn-solid {
  width: 100%;
  margin-top: .2rem;
}
.account-forgot-wrap {
  margin: -.35rem 0 0;
  text-align: right;
  font-size: .88rem;
}
.account-forgot-wrap a {
  color: var(--blue);
  text-decoration: none;
}
.account-forgot-wrap a:hover {
  text-decoration: underline;
}

/* Conta do cliente */
.account-shell {
  width: min(520px, calc(100% - 2rem));
  margin: 2.2rem auto 3rem;
}
.account-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 14px 34px rgba(39,95,153,.08);
}
.account-card--wide { width: auto; }
.account-card h1,
.account-dashboard__head h1,
.account-panel h2 {
  margin: 0;
  font-family: var(--display);
  color: var(--blue);
  font-weight: 400;
}
.account-lead,
.account-dashboard__head p {
  margin: .45rem 0 1.1rem;
  color: var(--muted);
}
.account-form {
  display: grid;
  gap: .85rem;
}
.account-form--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.account-form label {
  display: grid;
  gap: .35rem;
  color: var(--blue);
  font-size: .92rem;
}
.account-form .full { grid-column: 1 / -1; }
.account-form input,
.account-form select {
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: .72rem 1rem;
  font: inherit;
  color: var(--blue);
  background: #fff;
}
.account-form input:disabled {
  opacity: .7;
  background: var(--surface);
}
.pw-field {
  position: relative;
  display: block;
}
.account-form .pw-field input,
.account-drawer__form .pw-field input {
  width: 100%;
  padding-right: 2.75rem;
}
.pw-toggle {
  position: absolute;
  top: 50%;
  right: .3rem;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.pw-toggle:hover,
.pw-toggle:focus-visible {
  background: var(--blue-soft);
  outline: none;
}
.pw-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.pw-toggle .pw-eye-off { display: none; }
.pw-toggle.is-visible .pw-eye { display: none; }
.pw-toggle.is-visible .pw-eye-off { display: block; }
.account-check {
  display: flex !important;
  align-items: center;
  gap: .55rem;
  color: var(--text) !important;
}
.account-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}
.account-switch {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
.account-alert {
  border-radius: 10px;
  padding: .75rem .9rem;
  margin-bottom: 1rem;
  font-size: .92rem;
}
.account-alert.is-error {
  background: #fdecec;
  color: #9b2c2c;
  border: 1px solid #f3c4c4;
}
.account-alert.is-ok {
  background: #e8f6ee;
  color: #1f6b43;
  border: 1px solid #b9e0c8;
}
.account-dashboard {
  width: min(980px, calc(100% - 2rem));
  margin: 1.8rem auto 3rem;
}
.account-dashboard__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.account-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.2rem;
  align-items: start;
}
.account-tabs {
  display: grid;
  gap: .35rem;
}
.account-tabs a {
  text-decoration: none;
  color: var(--blue);
  padding: .65rem .8rem;
  border-radius: 10px;
  border: 1px solid transparent;
}
.account-tabs a.is-active {
  background: var(--blue-soft);
  border-color: #c9daeb;
  font-weight: 600;
}
.account-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
}
.account-panel h2 { margin-bottom: 1rem; font-size: 1.15rem; }
.account-address-list {
  display: grid;
  gap: .8rem;
}
.account-address {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .9rem 1rem;
  background: var(--surface);
}
.account-address p { margin: .2rem 0; color: var(--text); }
.account-address__type {
  color: var(--blue) !important;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.account-orders { overflow: auto; }
.account-orders table {
  width: 100%;
  border-collapse: collapse;
}
.account-orders th,
.account-orders td {
  text-align: left;
  padding: .7rem .55rem;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  vertical-align: top;
}
.account-orders th {
  color: var(--blue);
  background: var(--surface);
}

@media (max-width: 980px) {
  .store-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    min-height: 0;
    height: auto;
    padding: .65rem 0;
  }
  .store-topbar__left,
  .store-topbar__right {
    max-width: none;
    width: 100%;
    flex: 1 1 auto;
  }
  .store-topbar__title {
    position: static;
    transform: none;
    max-width: none;
    width: auto;
    order: -1;
    pointer-events: auto;
  }
  .store-topbar__right .site-search--store {
    max-width: none;
  }
  .store-shell { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero { display: flex; flex-direction: column; gap: .7rem; align-items: stretch; }
  .product-media,
  .product-info { display: contents; }
  .product-gallery { order: 1; width: 100%; grid-column: auto; grid-row: auto; }
  .product-copy {
    order: 2;
    display: flex;
    height: auto;
    min-height: 0;
    gap: .7rem;
    grid-column: auto;
    grid-row: auto;
  }
  .product-video { order: 3; align-self: stretch; width: auto; grid-column: auto; grid-row: auto; }
  .product-hero .buy-row { order: 4; align-self: stretch; }
  .product-hero .buy-note { order: 5; }
  .product-specs { order: 6; grid-column: auto; grid-row: auto; }
  .product-specs h2 { font-size: 1.1rem; }
  .product-specs td { padding: 3px .7rem; font-size: .88rem; }
  .account-layout { grid-template-columns: 1fr; }
  .account-form--grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .site-nav { gap: 1.15rem; margin-right: .75rem; }
  .site-header__inner { padding: 0 1rem 0 .75rem; }
  .site-brand { margin-left: .5rem; }
}
@media (max-width: 860px) {
  .site-brand__full { display: none; }
  .site-brand__mark { display: block; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    padding: 1rem 1.1rem 1.15rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .95rem;
    flex-wrap: wrap;
    box-shadow: 0 10px 24px rgba(15, 39, 64, .08);
    margin-right: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a,
  .site-nav__account {
    border-bottom: 0;
    padding: .2rem 0;
  }
  .store-toolbar { flex-direction: column; align-items: stretch; }
  .search-form input,
  .site-search--store { width: 100%; }
  .site-search--header {
    width: 100%;
    margin: .35rem 0 .2rem;
  }
  .site-search--header .site-search__panel {
    left: 0;
    right: 0;
    width: auto;
  }
  .product-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .site-banner__nav { width: 34px; height: 34px; }
}

/* �� Carrinho / Checkout �� */
.cart-page,
.checkout-page,
.checkout-result {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.6rem auto 3rem;
}
.cart-page h1,
.checkout-page h1 {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}
.cart-flash {
  padding: .75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.cart-flash.is-ok { background: #e8f6ec; color: #1f6b3a; }
.cart-flash.is-error { background: #fdecec; color: #9b2c2c; }
.cart-empty {
  padding: 2.2rem 0;
  text-align: center;
  color: var(--blue);
}
.cart-empty p { margin: 0 0 1rem; }
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}
.cart-list { display: grid; gap: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item__img img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.cart-item__body h2 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 600;
}
.cart-item__body h2 a { color: var(--blue); text-decoration: none; }
.cart-item__price { margin: 0; color: var(--muted); font-size: .92rem; }
.cart-item__actions {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: .7rem;
  flex-wrap: wrap;
}
.cart-item__total {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}
.link-danger {
  border: 0;
  background: transparent;
  color: #9b2c2c;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}
.cart-summary {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem 1.15rem 1.25rem;
  position: sticky;
  top: 1rem;
}
.cart-summary h2 {
  margin: 0 0 .9rem;
  color: var(--blue);
  font-size: 1.05rem;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
  color: var(--blue);
  font-size: .95rem;
}
.cart-summary__row.is-total {
  margin-top: .7rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  border: 0;
  background: var(--blue);
  color: #fff;
}
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
}
.btn-block { width: 100%; margin-top: .65rem; }
.checkout-block {
  border-bottom: 1px solid var(--line);
  padding: 0 0 1.25rem;
  margin-bottom: 1.25rem;
}
.checkout-block h2 {
  margin: 0 0 .8rem;
  color: var(--blue);
  font-size: 1.05rem;
}
.checkout-dl {
  display: grid;
  gap: .55rem;
  margin: 0;
}
.checkout-dl div { display: grid; gap: .1rem; }
.checkout-dl dt { font-size: .78rem; color: var(--muted); }
.checkout-dl dd { margin: 0; color: var(--blue); }
.checkout-hint { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }
.checkout-addresses { display: grid; gap: .7rem; }
.checkout-address {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  padding: .85rem .9rem;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.checkout-address span { display: grid; gap: .15rem; color: var(--blue); font-size: .92rem; }
.checkout-link {
  display: inline-block;
  margin-top: .7rem;
  color: var(--blue);
  font-size: .9rem;
}
.checkout-items { list-style: none; margin: 0; padding: 0; }
.checkout-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: .92rem;
}
.checkout-pay-methods {
  list-style: none;
  margin: 0 0 .55rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.checkout-pay-methods li {
  border: 1px solid var(--line);
  background: #f7fafc;
  color: var(--blue);
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem .7rem;
}
.checkout-pay-note {
  margin: .8rem 0 .2rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}
.checkout-result {
  display: grid;
  place-items: center;
  min-height: 50vh;
}
.checkout-result__card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.checkout-result__card h1 {
  margin: 0 0 .6rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.45rem;
}
.checkout-result__card p { margin: 0; color: var(--blue); line-height: 1.5; }
.checkout-result__ref { margin-top: .7rem !important; color: var(--muted) !important; font-size: .9rem; }
.checkout-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.checkout-result__card.is-ok { border-color: #b7dfc3; }
.checkout-result__card.is-error { border-color: #f0c2c2; }
.checkout-result__card.is-pending { border-color: #e2d5a8; }
@media (max-width: 860px) {
  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item__total { grid-column: 2; }
}

/* Checkout em duas colunas */
body.co-body {
  background: #fff;
  min-height: 100vh;
}
.co {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  min-height: 100vh;
  align-items: stretch;
}
.co-form {
  background: #fff;
  display: flex;
  justify-content: flex-end;
}
.co-form__inner {
  width: min(560px, 100%);
  padding: 2.2rem 2.6rem 3rem 1.4rem;
}
.co-brand {
  display: inline-block;
  margin-bottom: 1.6rem;
}
.co-brand img {
  width: min(220px, 70%);
  height: auto;
}
.co-error {
  background: #fdecec;
  color: #9b2c2c;
  border: 1px solid #f3c4c4;
  border-radius: 8px;
  padding: .75rem .9rem;
  margin-bottom: 1rem;
  font-size: .92rem;
}
.co-section { margin-top: 1.55rem; }
.co-section h2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 .75rem;
  color: #1a1a1a;
  font-size: 1.15rem;
  font-weight: 600;
}
.co-section h2 a { font-size: .9rem; font-weight: 400; }
.co-note {
  margin: -.35rem 0 .7rem;
  color: #737373;
  font-size: .86rem;
}
.co-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.co-grid .is-full { grid-column: 1 / -1; }
.co-field { display: grid; gap: .28rem; }
.co-field > span {
  font-size: .84rem;
  color: #333;
}
.co-field input,
.co-field select {
  width: 100%;
  height: 48px;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 0 .9rem;
  font: inherit;
  font-size: .95rem;
  color: #222;
  background: #fff;
}
.co-field input[readonly],
.co-field select:disabled {
  opacity: 1;
  color: #222;
  background: #fff;
  -webkit-text-fill-color: #222;
}
.co-field input:focus,
.co-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.co-icon-field { position: relative; display: block; }
.co-icon-field input { padding-right: 2.6rem; }
.co-icon-field svg {
  position: absolute;
  top: 50%;
  right: .8rem;
  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(-50%);
  color: #8a8a8a;
}
.co-choices { display: grid; gap: .55rem; margin-bottom: .8rem; }
.co-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: .85rem 1rem;
  background: #fff;
  cursor: default;
}
.co-choices .co-choice { cursor: pointer; }
.co-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}
.co-choice strong { display: block; color: #1a1a1a; font-size: .95rem; font-weight: 600; }
.co-choice small { display: block; color: #737373; font-size: .82rem; line-height: 1.35; }
.co-choice__price { color: #1a1a1a; font-size: .95rem; white-space: nowrap; }
.co-choice:has(input:checked),
.co-choice.is-selected {
  border-color: var(--blue);
  background: #f4f8fc;
}
.co-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.co-choice.is-selected .co-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.co-pay {
  width: 100%;
  height: 52px;
  margin-top: 1.4rem;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.co-pay:disabled { opacity: .55; cursor: not-allowed; }
.co-back { margin: .85rem 0 0; text-align: center; font-size: .9rem; }
.co-text-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.co-summary {
  background: #f6f6f6;
  border-left: 1px solid #ebebeb;
  padding: 2.4rem 2.2rem 3rem;
}
.co-summary__inner {
  width: min(420px, 100%);
  position: sticky;
  top: 1.6rem;
}
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.co-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
}
.co-item__media { position: relative; }
.co-item__media img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
}
.co-item__qty {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(40, 40, 40, .72);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.co-item__info strong {
  display: block;
  color: #1a1a1a;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
}
.co-item__info small { color: #737373; font-size: .8rem; }
.co-item__price { color: #1a1a1a; font-size: .92rem; white-space: nowrap; }
.co-totals {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid #e4e4e4;
  display: grid;
  gap: .55rem;
}
.co-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #333;
  font-size: .95rem;
}
.co-totals .is-total { margin-top: .35rem; align-items: baseline; }
.co-totals .is-total span { font-size: 1.05rem; font-weight: 600; }
.co-totals .is-total strong { font-size: 1.3rem; font-weight: 600; }
.co-totals .is-total small {
  margin-right: .25rem;
  color: #8a8a8a;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
}
@media (max-width: 980px) {
  .co { grid-template-columns: 1fr; }
  .co-summary { order: -1; border-left: 0; border-bottom: 1px solid #ebebeb; padding: 1.2rem 1rem 1.3rem; }
  .co-form { justify-content: stretch; }
  .co-form__inner { width: 100%; padding: 1.2rem 1rem 2.4rem; }
  .co-summary__inner { width: 100%; position: static; }
  .co-grid { grid-template-columns: 1fr; }
}
