/* Product and catalog final polish */
main {
  display: flex;
  flex-direction: column;
}

.checkout-page-shell {
  display: grid;
  gap: 24px;
  padding: clamp(18px, 3vw, 42px) clamp(16px, 4vw, 64px) clamp(32px, 5vw, 72px);
}

.checkout-hero-panel {
  align-items: center;
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  display: grid;
  gap: clamp(18px, 3vw, 38px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
}

.checkout-hero-copy {
  display: grid;
  gap: 14px;
}

.checkout-hero-copy h1 {
  color: var(--market-ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  max-width: 760px;
}

.checkout-hero-copy p:not(.store-kicker) {
  color: var(--market-muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 680px;
}

.checkout-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-payment-art {
  background: #eef6ff;
  border: 1px solid #d5e7ff;
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.checkout-benefits {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-benefits article {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 16px;
}

.checkout-benefits span {
  color: #007f8f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-benefits strong {
  color: var(--market-ink);
  font-size: 18px;
}

.checkout-benefits small {
  color: var(--market-muted);
  font-size: 14px;
  line-height: 1.35;
}

.checkout-dedicated {
  align-items: start;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.checkout-summary-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.checkout-summary-side p,
.checkout-summary-side > span {
  margin: 0;
}

.checkout-summary-side p {
  color: #007f8f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-summary-side h2 {
  color: var(--market-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
}

.checkout-summary-side > span {
  color: var(--market-muted);
  line-height: 1.5;
}

.checkout-whatsapp-card {
  background: #e9f8ec;
  border: 1px solid #b8ead6;
  border-radius: 8px;
  color: #147a36;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.checkout-whatsapp-card strong {
  font-size: 15px;
}

.checkout-whatsapp-card span {
  color: #20683a;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-page .cart-box {
  box-shadow: 0 16px 36px rgba(13, 35, 70, 0.08);
}

.checkout-page .checkout-review {
  background: linear-gradient(135deg, #003f73, #007f8f);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 63, 115, 0.2);
}

.checkout-page .checkout-review span {
  color: #dbeafe;
}

.checkout-page .checkout-review strong {
  color: #ffffff;
}

.checkout-page .checkout-review em {
  color: #ffe178;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.shipping-fallback-choice[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .checkout-hero-panel,
  .checkout-dedicated {
    grid-template-columns: 1fr;
  }

  .checkout-summary-side {
    position: static;
  }

  .checkout-hero-panel {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .checkout-page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .checkout-hero-panel {
    padding: 16px;
  }

  .checkout-hero-copy h1 {
    font-size: 32px;
  }

  .checkout-payment-art {
    order: -1;
  }

  .checkout-benefits {
    grid-template-columns: 1fr;
  }

  .checkout-summary-side {
    position: static;
  }
}

.store-hero {
  order: 1;
}

.product-showcase {
  order: 2;
}

#locacoes {
  order: 3;
}

#departamentos {
  order: 4;
}

.commerce-trust {
  order: 5;
}

.commerce-summary {
  order: 6;
}

.store-consult {
  order: 7;
}

.store-top-inner,
.store-header {
  padding-left: clamp(14px, 3vw, 44px);
  padding-right: clamp(14px, 3vw, 44px);
}

.store-top {
  min-height: 32px;
}

.store-top-inner {
  min-height: 32px;
}

.store-header {
  gap: 14px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.store-brand {
  min-height: 48px;
  padding: 5px 9px;
}

.store-brand img {
  height: 34px;
  width: 134px;
}

.store-search {
  background: #fff;
  border: 1px solid #cfe1ff;
  box-shadow: 0 8px 18px rgba(13, 35, 70, 0.1);
  min-height: 44px;
}

.store-search input {
  background: #fff;
  color: #172033;
  min-height: 44px;
}

.store-search input::placeholder {
  color: #65758d;
}

.store-search button {
  background: #fff;
  border: 1px solid var(--market-blue);
  color: var(--market-blue);
  min-height: 34px;
}

.store-search:focus-within {
  border: 1px solid rgba(0, 87, 216, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 127, 143, 0.12), 0 8px 18px rgba(13, 35, 70, 0.1);
}

.store-hero {
  min-height: 410px;
  padding-bottom: 28px;
  padding-top: 30px;
}

.store-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
}

.department-bar {
  min-height: 46px;
}

.commerce-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 10px;
}

.department-card > a {
  min-height: 170px;
}

.department-icon svg {
  display: block;
}

.product-showcase {
  padding-top: 28px;
}

/* Marketplace home refinements */
.store-search {
  border-color: #d5e7ff;
  box-shadow: 0 8px 18px rgba(13, 35, 70, 0.08);
}

.store-search:focus-within {
  border-color: #b9d6ff;
  box-shadow: 0 0 0 3px rgba(0, 87, 216, 0.08), 0 8px 18px rgba(13, 35, 70, 0.08);
}

.store-hero {
  align-items: stretch;
  background: #eef6ff;
  border-bottom: 1px solid #d5e7ff;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  min-height: 470px;
  padding: clamp(34px, 5vw, 64px) clamp(16px, 4vw, 64px);
}

.store-kicker {
  color: var(--market-blue);
}

.store-hero-copy {
  align-self: center;
}

.store-hero h1 {
  font-size: clamp(38px, 4.4vw, 56px);
  max-width: 860px;
}

.store-hero-product {
  align-self: stretch;
  background: #fff;
  border: 1px solid #d5e7ff;
  box-shadow: 0 22px 60px rgba(13, 44, 84, 0.13);
  grid-template-columns: minmax(220px, 0.9fr) minmax(240px, 0.8fr);
  min-height: 320px;
  overflow: hidden;
}

.store-hero-product img {
  align-self: center;
  aspect-ratio: 1 / 1;
  background: #f8fbff;
  height: auto;
  justify-self: center;
  max-height: 380px;
  max-width: 420px;
  object-fit: contain;
  padding: clamp(18px, 3vw, 36px);
  width: min(100%, 420px);
}

.store-hero-product div {
  align-content: center;
  border-left: 1px solid #d5e7ff;
  border-top: 0;
  padding: clamp(22px, 3vw, 34px);
}

.store-hero-product span {
  color: var(--market-blue);
}

.hero-proof span {
  background: #fff;
  border: 1px solid #d5e7ff;
}

.hero-proof strong {
  color: var(--market-blue);
}

.hero-proof .pix-proof {
  align-items: center;
  background: #ffffff;
  border-color: #ccebe7;
  column-gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr);
  row-gap: 0;
}

.pix-logo {
  display: block;
  grid-row: 1 / span 2;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.hero-proof .pix-proof strong {
  color: #0c766c;
  font-size: 21px;
  line-height: 1;
}

.hero-proof .pix-proof em {
  color: #40516a;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.1;
}

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

  .store-hero-product {
    grid-template-columns: minmax(150px, 0.46fr) minmax(0, 0.54fr);
  }
}

@media (max-width: 720px) {
  .store-hero {
    gap: 18px;
    padding: 24px 14px;
  }

  .store-hero h1 {
    font-size: 32px;
  }

  .store-hero-copy > p:not(.store-kicker) {
    font-size: 15px;
    line-height: 1.4;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof span {
    font-size: 11px;
    min-height: 74px;
    padding: 10px 8px;
  }

  .hero-proof strong {
    font-size: 15px;
  }

  .hero-proof .pix-proof {
    column-gap: 6px;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .pix-logo {
    height: 26px;
    width: 26px;
  }

  .hero-proof .pix-proof strong {
    font-size: 14px;
  }

  .hero-proof .pix-proof em {
    font-size: 10px;
  }

  .store-hero-product {
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 172px;
  }

  .store-hero-product img {
    max-height: none;
    padding: 10px;
  }

  .store-hero-product div {
    padding: 12px;
  }
}

.product-showcase .store-section-heading p {
  display: none;
}

.store-section-heading.split {
  margin-bottom: 16px;
}

.catalog-navigation {
  gap: 14px;
}

.catalog-navigation h3 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.catalog-navigation button,
.catalog-navigation a {
  background: #fff;
  border-color: var(--market-line);
  color: var(--market-ink);
  min-height: 40px;
  position: relative;
}

.catalog-navigation button::after,
.catalog-navigation a::after {
  color: var(--market-muted);
  content: ">";
  font-weight: 900;
}

.catalog-navigation button.active,
.catalog-navigation button:hover,
.catalog-navigation a:hover {
  background: #e9f8fb;
  border-color: rgba(0, 127, 143, 0.24);
  color: var(--brand-dark);
}

.breadcrumb-bar {
  justify-content: flex-start;
  padding: 16px clamp(16px, 4vw, 64px);
}

.breadcrumb-list {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow: hidden;
  width: 100%;
}

.breadcrumb-list li {
  flex: 0 0 auto;
}

.breadcrumb-list li[aria-current="page"] {
  align-items: center;
  display: inline-flex;
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
}

.breadcrumb-list li[aria-current="page"] span {
  min-width: 0;
}

.breadcrumb-list li + li::before {
  content: ">";
}

.product-detail {
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  padding-bottom: clamp(24px, 4vw, 52px);
  padding-top: clamp(18px, 3vw, 42px);
}

.product-gallery {
  background: #fff;
  border: 1px solid #d5e7ff;
  border-radius: 8px;
  padding: 12px;
  position: sticky;
  top: 92px;
}

.product-gallery .product-main-stage {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  display: flex;
  gap: 0;
  grid-template-columns: none;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-gallery .main-detail-image {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  padding: clamp(10px, 1.5vw, 18px);
  width: 100%;
}

.product-gallery > div img,
.product-thumb-grid img {
  background: #fff;
  object-fit: contain;
  padding: 6px;
}

.product-gallery .product-thumb-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-thumb-grid button {
  background: #fff;
  border: 1px solid #dbe8f5;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.product-thumb-grid button.active,
.product-thumb-grid button:hover {
  border-color: var(--market-blue);
  box-shadow: 0 0 0 2px rgba(0, 87, 216, 0.08);
}

.product-thumb-grid img {
  aspect-ratio: 1;
  display: block;
  width: 100%;
}

.product-gallery-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d5e7ff;
  border-radius: 999px;
  color: var(--market-blue);
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  z-index: 2;
}

.product-gallery-arrow.previous {
  left: 12px;
}

.product-gallery-arrow.next {
  right: 12px;
}

.product-gallery-arrow:hover {
  background: #eef6ff;
}

.product-zoom-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(13, 54, 113, 0.12);
  color: var(--market-blue);
  cursor: zoom-in;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  z-index: 3;
}

.product-zoom-trigger:hover {
  background: #eef6ff;
  border-color: #9fc9ff;
  color: #003f9f;
}

.product-detail-copy {
  align-self: start;
  max-width: 820px;
}

.product-taxonomy-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-taxonomy-line a,
.product-taxonomy-line span {
  background: #eef6f8;
  border: 1px solid rgba(0, 127, 143, 0.18);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.product-detail-copy h1 {
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.02;
  margin-bottom: 14px;
  max-width: 760px;
}

.product-summary {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 720px;
}

.product-purchase-panel {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(13, 35, 70, 0.08);
  display: grid;
  gap: 12px;
  max-width: 640px;
  padding: clamp(16px, 2vw, 22px);
}

.product-purchase-panel > span {
  color: var(--market-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-purchase-panel > strong {
  color: var(--brand-dark);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
}

.product-purchase-panel > small {
  color: var(--market-muted);
  font-size: 14px;
}

.product-purchase-panel .purchase-installments {
  color: #118439;
  font-size: 15px;
  font-weight: 900;
}

.product-purchase-panel .spec-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2px 0;
}

.product-purchase-panel .spec-list div {
  background: #f7fbfc;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  padding: 10px;
}

.product-purchase-panel dt {
  color: var(--market-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-purchase-panel dd {
  color: var(--market-ink);
  font-size: 13px;
  font-weight: 800;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.product-purchase-panel .hero-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 48px 48px 48px minmax(0, 1fr);
}

.product-purchase-panel .rental-actions {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) 48px 48px;
}

.product-purchase-panel .rental-actions .rental-reserve-link {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-width: 0;
  padding-inline: 18px;
  white-space: nowrap;
  width: 100%;
}

.product-purchase-panel .hero-actions .checkout-link {
  background: var(--market-blue);
  border-color: var(--market-blue);
  color: #fff;
  grid-column: 1 / -1;
}

.product-action-icon {
  font-size: 24px;
  font-weight: 950;
  height: 48px;
  line-height: 1;
  min-height: 48px;
  min-width: 48px;
  padding: 0;
  position: relative;
  width: 48px;
}

.product-action-icon svg {
  height: 19px;
  width: 19px;
}

.product-purchase-panel .cart-add.product-action-icon {
  background: var(--market-blue);
  border-color: var(--market-blue);
  color: #fff;
}

.product-action-icon::after {
  background: #102441;
  border-radius: 6px;
  bottom: calc(100% + 8px);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 850;
  left: 50%;
  opacity: 0;
  padding: 6px 8px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%) translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.product-action-icon:hover::after,
.product-action-icon:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-info-section {
  align-items: start;
  gap: clamp(18px, 3vw, 42px);
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  padding-bottom: clamp(28px, 4vw, 54px);
  padding-top: clamp(28px, 4vw, 54px);
}

.product-info-heading h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.product-description {
  font-size: 16px;
  gap: 12px;
  line-height: 1.58;
  max-width: 820px;
}

.product-description-compact {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.04);
  padding: clamp(16px, 2vw, 22px);
}

.technical-details {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.technical-details summary {
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  padding: 16px 18px;
}

.technical-details summary::-webkit-details-marker {
  display: none;
}

.technical-details summary::after {
  content: "+";
  float: right;
}

.technical-details[open] summary::after {
  content: "-";
}

.technical-details .product-description {
  border-top: 1px solid var(--market-line);
  padding: 18px;
}

@media (max-width: 1100px) {
  .product-gallery {
    position: static;
  }
}

@media (max-width: 720px) {
  .breadcrumb-bar {
    padding: 12px 14px;
  }

  .breadcrumb-list {
    font-size: 12px;
    gap: 6px;
  }

  .product-detail {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 16px 14px 28px;
  }

  .product-detail-copy h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .product-summary {
    font-size: 15px;
  }

  .product-purchase-panel .spec-list {
    grid-template-columns: 1fr;
  }

  .product-purchase-panel {
    max-width: 100%;
  }

  .product-purchase-panel .hero-actions {
    display: grid;
    grid-template-columns: 48px 48px 48px minmax(0, 1fr);
  }

  .product-purchase-panel .rental-actions {
    grid-template-columns: minmax(0, 1fr) 48px 48px;
  }

  .product-info-section {
    grid-template-columns: 1fr;
    padding: 24px 14px;
  }

  .product-description {
    font-size: 15px;
    line-height: 1.55;
  }
}

.contact-page {
  background: var(--market-bg);
}

.contact-hero {
  background: #fff;
  border-bottom: 1px solid var(--market-line);
  display: grid;
  gap: clamp(20px, 4vw, 42px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  padding: clamp(26px, 5vw, 62px) clamp(16px, 4vw, 64px);
}

.contact-hero h1 {
  color: var(--market-navy);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 14px;
}

.contact-hero p {
  color: var(--market-muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 620px;
}

.contact-map {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 35, 70, 0.1);
  overflow: hidden;
}

.contact-map iframe {
  border: 0;
  display: block;
  min-height: 420px;
  width: 100%;
}

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 24px clamp(16px, 4vw, 64px) 46px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.contact-card span {
  color: var(--market-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--market-ink);
  font-size: 18px;
  line-height: 1.25;
}

.contact-card a {
  color: var(--market-deep);
  font-weight: 850;
}

@media (max-width: 980px) {
  .commerce-trust,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .store-header {
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .store-brand img {
    height: 30px;
    width: 118px;
  }

  .store-hero {
    padding-top: 18px;
  }

  .commerce-trust,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding: 22px 14px;
  }

  .contact-map iframe {
    min-height: 320px;
  }

  .contact-grid {
    padding: 18px 14px 34px;
  }
}

/* Final marketplace banner overrides */
.store-search {
  border-color: #d5e7ff;
  box-shadow: 0 8px 18px rgba(13, 35, 70, 0.08);
}

.store-search:focus-within {
  border-color: #b9d6ff;
  box-shadow: 0 0 0 3px rgba(0, 87, 216, 0.08), 0 8px 18px rgba(13, 35, 70, 0.08);
}

.store-hero {
  align-items: stretch;
  background: #eef6ff;
  border-bottom: 1px solid #d5e7ff;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  min-height: 470px;
  padding: clamp(34px, 5vw, 64px) clamp(16px, 4vw, 64px);
}

.store-hero-copy {
  align-self: center;
}

.store-kicker,
.store-hero-product span,
.hero-proof strong {
  color: var(--market-blue);
}

.store-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  max-width: 860px;
}

.store-hero-product {
  align-self: stretch;
  background: #fff;
  border: 1px solid #d5e7ff;
  box-shadow: 0 22px 60px rgba(13, 44, 84, 0.13);
  grid-template-columns: minmax(220px, 0.9fr) minmax(240px, 0.8fr);
  min-height: 320px;
  overflow: hidden;
}

.store-hero-product img {
  align-self: center;
  aspect-ratio: 1 / 1;
  background: #f8fbff;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
  padding: clamp(18px, 3vw, 36px);
}

.store-hero-product div {
  align-content: center;
  border-left: 1px solid #d5e7ff;
  border-top: 0;
  padding: clamp(22px, 3vw, 34px);
}

.hero-proof span {
  background: #fff;
  border: 1px solid #d5e7ff;
}

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

  .store-hero-product {
    grid-template-columns: minmax(150px, 0.46fr) minmax(0, 0.54fr);
  }
}

@media (max-width: 720px) {
  .store-hero {
    padding: 24px 14px;
  }

  .store-hero-product {
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 172px;
  }

  .store-hero-product img {
    max-height: none;
    padding: 10px;
  }

  .store-hero-product div {
    padding: 12px;
  }
}

/* Final catalog navigation polish */
.department-bar {
  background: #fff;
  border-bottom: 1px solid #dcecff;
  border-top: 1px solid #edf5ff;
  box-shadow: none;
  justify-content: center;
  min-height: 48px;
  padding: 7px clamp(14px, 3vw, 44px);
  position: static;
}

.department-bar a {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #40516a;
  font-size: 13px;
  min-height: 32px;
  padding: 7px 11px;
}

.department-bar .all-departments,
.department-bar .top-products-link,
.department-bar a:hover {
  background: #f8fbff;
  border-color: #d5e7ff;
  color: var(--market-blue);
}

.catalog-navigation button::after,
.catalog-navigation a::after {
  border-right: 1.5px solid #9fb5d0;
  border-top: 1.5px solid #9fb5d0;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 6px;
  margin-left: 8px;
  transform: rotate(45deg);
  width: 6px;
}

@media (max-width: 720px) {
  .department-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .department-bar a {
    flex: 0 0 auto;
  }
}

.product-footer {
  align-items: center;
  display: flex;
  gap: 8px;
}

.store-product {
  grid-template-rows: 246px 1fr;
}

.store-product .product-media {
  align-items: center;
  display: flex;
  justify-content: center;
}

.store-product .product-media img {
  height: 100%;
  padding: 8px;
  width: 100%;
}

.product-grid.is-two-columns .store-product {
  grid-template-rows: 164px 1fr;
}

.product-grid.is-two-columns .store-product .product-media img {
  padding: 6px;
}

.store-product .product-body h3,
.product-grid.is-two-columns .store-product .product-body h3 {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  max-height: calc(1.22em * 3);
  min-height: calc(1.22em * 3);
  overflow: hidden;
}

.store-product .product-footer,
.product-grid.is-two-columns .store-product .product-footer {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, 38px) minmax(0, 1fr);
  gap: 8px;
  justify-content: start;
}

.icon-button {
  align-items: center;
  background: #fff;
  border: 1px solid #d5e7ff;
  border-radius: 8px;
  color: var(--market-blue);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  line-height: 1;
  min-width: 38px;
  padding: 0 10px;
}

.compact-cart {
  background: var(--market-blue);
  border-color: var(--market-blue);
  color: #fff;
  font-size: 22px;
  width: 38px;
}

.store-product .compact-cart,
.store-product .favorite-toggle,
.store-product .share-toggle {
  height: 38px;
  min-width: 38px;
  padding: 0;
  width: 38px;
}

.favorite-toggle svg,
.share-toggle svg {
  height: 17px;
  width: 17px;
}

.favorite-toggle.is-active,
.favorite-toggle:hover {
  background: #fff5f5;
  border-color: #ffd0d0;
  color: #d43131;
}

.share-toggle:hover,
.share-toggle.copied {
  background: #edf8ff;
  border-color: #b8ddff;
  color: var(--market-blue);
}

.share-toggle.copy-failed {
  background: #fff5f5;
  border-color: #ffd0d0;
  color: #d43131;
}

.buy-link {
  flex: 1 1 auto;
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.favorites-panel[hidden] {
  display: none;
}

.favorites-panel {
  inset: 0;
  position: fixed;
  z-index: 120;
}

.favorites-backdrop {
  background: rgba(13, 34, 61, 0.36);
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.favorites-sheet {
  background: #fff;
  border-left: 1px solid #d5e7ff;
  box-shadow: -18px 0 50px rgba(13, 44, 84, 0.2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  margin-left: auto;
  max-width: min(430px, 100%);
  overflow-y: auto;
  padding: 22px;
  position: relative;
  width: 430px;
}

.favorites-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.favorites-head span {
  color: var(--market-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.favorites-head h2 {
  color: var(--market-deep);
  font-size: 24px;
  margin: 4px 0 0;
}

.favorites-status,
.favorites-empty {
  color: var(--market-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.favorites-login {
  display: grid;
  gap: 8px;
}

.favorites-login input,
.favorites-login button {
  border-radius: 8px;
  min-height: 42px;
}

.favorites-login input {
  border: 1px solid #d5e7ff;
  padding: 0 12px;
}

.favorites-login button {
  background: var(--market-blue);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.favorites-list {
  display: grid;
  gap: 10px;
}

.favorite-item {
  align-items: center;
  border: 1px solid #d5e7ff;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 58px minmax(0, 1fr) auto auto;
  padding: 10px;
}

.favorite-item img {
  aspect-ratio: 1;
  background: #f8fbff;
  border-radius: 8px;
  object-fit: contain;
  width: 58px;
}

.favorite-item strong,
.favorite-item span {
  display: block;
}

.favorite-item strong {
  color: var(--market-deep);
  font-size: 13px;
  line-height: 1.25;
}

.favorite-item span {
  color: var(--market-blue);
  font-size: 12px;
  font-weight: 900;
  margin-top: 3px;
}

.favorite-item a {
  background: #eef6ff;
  border-radius: 8px;
  color: var(--market-blue);
  font-size: 12px;
  font-weight: 900;
  padding: 9px 10px;
  text-decoration: none;
}

.favorite-item button {
  background: transparent;
  border: 0;
  color: var(--market-muted);
  cursor: pointer;
  font-size: 20px;
}

@media (max-width: 520px) {
  .favorites-sheet {
    border-left: 0;
    width: 100%;
  }

  .favorite-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
  }

  .favorite-item a {
    grid-column: 2 / span 2;
  }
}

/* Product description density */
.product-info-section {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1060px);
  justify-content: center;
  padding: 22px clamp(14px, 4vw, 64px) 34px;
}

.product-info-heading {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  position: static;
}

.product-info-heading .eyebrow {
  flex-basis: 100%;
}

.product-info-heading h2 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.08;
}

.product-info-section > div:last-child,
.product-description,
.technical-details .product-description {
  max-width: none;
  width: 100%;
}

.product-description-compact {
  padding: 16px 18px;
}

.technical-details {
  margin-top: 10px;
}

.technical-details summary {
  padding: 14px 18px;
}

.technical-details .product-description {
  padding: 16px 18px;
}

@media (max-width: 720px) {
  .product-info-section {
    padding: 18px 14px 26px;
  }
}

/* Mercado Livre affiliate layer */
.affiliate-detail {
  background:
    linear-gradient(135deg, rgba(0, 87, 216, 0.08), rgba(31, 182, 117, 0.08)),
    #fff;
}

.affiliate-gallery {
  background: #f8fbff;
  border: 1px solid #d5e7ff;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 360px;
  padding: 14px;
}

.affiliate-gallery .affiliate-main-stage {
  align-items: center;
  display: block;
  min-height: 320px;
  position: relative;
}

.affiliate-gallery .affiliate-zoom-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid #e2edff;
  border-radius: 8px;
  cursor: zoom-in;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 320px;
  padding: 0;
  position: relative;
  width: 100%;
}

.affiliate-gallery .affiliate-main-image {
  align-self: center;
  aspect-ratio: auto;
  background: #fff;
  border: 0;
  border-radius: 8px;
  height: 100%;
  justify-self: center;
  max-height: none;
  object-fit: contain;
  padding: clamp(8px, 2vw, 18px);
  width: 100%;
}

.affiliate-zoom-badge,
.affiliate-gallery-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  color: #0057d8;
  display: inline-flex;
  justify-content: center;
}

.affiliate-zoom-badge {
  bottom: 12px;
  box-shadow: 0 8px 22px rgba(13, 54, 113, 0.12);
  height: 38px;
  position: absolute;
  right: 12px;
  width: 38px;
}

.affiliate-gallery-arrow {
  box-shadow: 0 10px 24px rgba(13, 54, 113, 0.12);
  cursor: pointer;
  height: 34px;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  z-index: 2;
}

.affiliate-gallery-arrow.previous {
  left: 10px;
}

.affiliate-gallery-arrow.next {
  right: 10px;
}

.affiliate-gallery-arrow:hover,
.affiliate-zoom-trigger:hover .affiliate-zoom-badge,
.copy-code-button:hover {
  border-color: #9fc9ff;
  color: #003f9f;
}

.affiliate-gallery .affiliate-thumb-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.affiliate-thumb-button {
  background: #fff;
  border: 1px solid #d9e8ff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.affiliate-thumb-button.active {
  border-color: #0057d8;
  box-shadow: 0 0 0 2px rgba(0, 87, 216, 0.12);
}

.affiliate-thumb-button img {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: contain;
  padding: 6px;
  width: 100%;
}

.affiliate-image-placeholder {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px dashed #bcd8ff;
  border-radius: 8px;
  color: var(--market-blue);
  display: flex;
  font-size: 18px;
  font-weight: 900;
  justify-content: center;
  width: min(100%, 520px);
}

.affiliate-purchase-panel {
  border-color: #cde4ff;
}

.affiliate-purchase-panel > span {
  color: var(--market-blue);
  font-weight: 900;
}

.affiliate-purchase-panel strong {
  color: #073f9f;
}

.affiliate-market-facts,
.affiliate-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.affiliate-market-facts span,
.affiliate-identifiers span {
  background: #eef6ff;
  border: 1px solid #d5e7ff;
  border-radius: 999px;
  color: #335276;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.affiliate-product-code {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #cfe4ff;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
}

.affiliate-product-code span {
  color: #5f7187;
  flex: 0 0 100%;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.affiliate-product-code strong {
  color: #102441;
  flex: 0 1 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 18px;
  letter-spacing: 0;
  white-space: nowrap;
}

.copy-code-button {
  align-items: center;
  background: #fff;
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  color: #0057d8;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 36px;
}

.copy-code-button.copied {
  background: #e6f8f0;
  border-color: #b8ead6;
  color: #0a8f57;
}

.copy-code-button.copy-failed {
  background: #fff5f5;
  border-color: #ffc7c7;
  color: #b42318;
}

.copy-code-button.copied::after,
.copy-code-button.copy-failed::after {
  background: #102441;
  border-radius: 999px;
  bottom: calc(100% + 8px);
  color: #fff;
  content: "Copiado";
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
  position: absolute;
  right: 0;
  white-space: nowrap;
}

.copy-code-button.copy-failed::after {
  content: "Falhou";
}

.affiliate-zoom-modal {
  align-items: center;
  background: rgba(4, 18, 38, 0.82);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 9999;
}

.has-zoom-modal {
  overflow: hidden;
}

.affiliate-zoom-modal-image {
  background: #fff;
  border-radius: 8px;
  max-height: min(86vh, 860px);
  max-width: min(100%, 1080px);
  object-fit: contain;
  padding: 12px;
  width: auto;
}

.affiliate-zoom-close,
.affiliate-zoom-nav {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e7ff;
  border-radius: 999px;
  color: #0057d8;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 34px;
  font-weight: 500;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 4px;
  width: 44px;
}

.affiliate-zoom-close {
  font-size: 28px;
  padding: 0 0 2px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.affiliate-notice {
  background: #f6fbff;
  border: 1px solid #cce3ff;
  border-radius: 8px;
  color: #24415f;
  display: grid;
  font-size: 14px;
  gap: 4px;
  line-height: 1.45;
  padding: 12px 14px;
}

.affiliate-notice strong {
  color: #0057d8;
  font-size: 13px;
  text-transform: uppercase;
}

.affiliate-cta {
  background: #0057d8;
}

.product-purchase-panel .affiliate-cta {
  align-items: center;
  display: inline-flex;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 52px;
  padding-inline: 28px;
  width: 100%;
  white-space: nowrap;
}

.product-purchase-panel .order-cta {
  align-items: center;
  background: #fff;
  border: 1px solid #118439;
  color: #0f6f31;
  display: inline-flex;
  font-weight: 950;
  gap: 8px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 50px;
  padding-inline: 22px;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.product-purchase-panel .order-cta:hover,
.product-purchase-panel .order-cta:focus-visible {
  background: #eefaf2;
  border-color: #0f6f31;
  color: #0c5a27;
}

.product-purchase-panel .order-cta svg {
  height: 18px;
  width: 18px;
}

.affiliate-purchase-panel .hero-actions {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) 48px;
}

.affiliate-purchase-panel .affiliate-cta {
  align-items: center;
  background: var(--market-blue);
  border-color: var(--market-blue);
  color: #fff;
  display: inline-flex;
  font-weight: 950;
  grid-column: 1;
  justify-content: center;
  min-height: 52px;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.affiliate-purchase-panel .share-toggle {
  grid-column: 2;
  height: 52px;
  width: 48px;
}

.affiliate-purchase-panel .hero-actions .checkout-link {
  background: #fff;
  border: 1px solid var(--market-line);
  color: var(--market-deep);
  font-weight: 900;
  grid-column: 1 / -1;
  min-height: 48px;
  text-align: center;
  white-space: normal;
}

.affiliate-confidence-section {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 18px 28px;
}

.store-consult > div > p {
  color: #76f2b7 !important;
}

.store-consult > div > h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 15, 60, 0.24);
}

.store-consult > div > span {
  color: #edf6ff !important;
}

/* Marketplace product-card focus: make the product image lead, with quieter copy below. */
.product-grid {
  gap: 14px;
}

@media (min-width: 1180px) {
  .shop-floor .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.store-product {
  background: #fff;
  border: 1px solid #edf1f7;
  box-shadow: none;
  grid-template-rows: 292px auto;
}

.store-product:hover {
  border-color: #d6e2f0;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.08);
}

.store-product .product-media {
  background: #f7f8fa;
  border-bottom: 0;
  min-height: 0;
}

.store-product .product-media img {
  object-fit: contain;
  padding: 10px;
}

.store-product .product-body {
  gap: 7px;
  padding: 10px 12px 12px;
}

.store-product .product-body h3,
.product-grid.is-two-columns .store-product .product-body h3 {
  color: #111827;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.28;
  max-height: calc(1.28em * 2);
  min-height: calc(1.28em * 2);
  -webkit-line-clamp: 2;
}

.store-product .product-meta,
.store-product .product-body p {
  display: none;
}

.price-block {
  gap: 2px;
}

.cash-label {
  color: #566579;
  font-size: 10px;
  font-weight: 750;
  text-transform: none;
}

.price-block strong,
.product-footer > strong {
  color: #0f172a;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.05;
}

.regular-price,
.installment-line,
.shipping-line {
  color: #475569;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.installment-line {
  color: #0f7a3a;
}

.commerce-badge {
  font-size: 10px;
  left: 8px;
  padding: 5px 7px;
  top: 8px;
}

.store-product .product-footer,
.product-grid.is-two-columns .store-product .product-footer {
  gap: 6px;
  grid-template-columns: repeat(3, 34px) minmax(0, 1fr);
  margin-top: 2px;
}

.store-product .compact-cart,
.store-product .favorite-toggle,
.store-product .share-toggle,
.icon-button {
  height: 34px;
  min-width: 34px;
  width: 34px;
}

.compact-cart {
  font-size: 19px;
}

.store-product .mini-button {
  min-height: 34px;
}

.store-product .rental-footer,
.product-grid.is-two-columns .store-product .rental-footer {
  grid-template-columns: minmax(0, 1fr) repeat(2, 34px);
}

.store-product .rental-reserve-link {
  min-width: 0;
  overflow: hidden;
  padding: 0 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-link {
  grid-column: auto;
}

.product-grid.is-two-columns .store-product {
  grid-template-rows: 210px auto;
}

@media (max-width: 720px) {
  .product-grid {
    gap: 10px;
  }

  .store-product,
  .product-grid.is-two-columns .store-product {
    grid-template-rows: 172px auto;
  }

  .product-grid.is-one-column .store-product {
    grid-template-rows: 255px auto;
  }

  .store-product .product-media img {
    padding: 8px;
  }

  .store-product .product-body {
    gap: 6px;
    padding: 8px;
  }

  .store-product .product-body h3,
  .product-grid.is-two-columns .store-product .product-body h3 {
    font-size: 12px;
    min-height: calc(1.25em * 2);
    max-height: calc(1.25em * 2);
  }

  .price-block strong,
  .product-footer > strong {
    font-size: 16px;
  }

  .cash-label,
  .regular-price,
  .installment-line,
  .shipping-line {
    font-size: 10px;
  }

  .store-product .product-footer,
  .product-grid.is-two-columns .store-product .product-footer {
    grid-template-columns: repeat(3, 30px) minmax(0, 1fr);
  }

  .store-product .compact-cart,
  .store-product .favorite-toggle,
  .store-product .share-toggle,
  .icon-button {
    height: 30px;
    min-width: 30px;
    width: 30px;
  }

  .store-product .mini-button {
    font-size: 11px;
    min-height: 30px;
  }

  .store-product .rental-footer,
  .product-grid.is-two-columns .store-product .rental-footer {
    grid-template-columns: minmax(0, 1fr) repeat(2, 30px);
  }

  .store-product .rental-reserve-link {
    padding: 0 8px;
  }
}

.floating-whatsapp {
  align-items: center;
  background: #0aa545;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  box-shadow: 0 16px 34px rgba(0, 88, 44, 0.28);
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  font-size: 0;
  height: 58px;
  justify-content: center;
  line-height: 0;
  min-height: 58px;
  overflow: hidden;
  padding: 0;
  position: fixed;
  right: 22px;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 58px;
  z-index: 75;
}

.floating-whatsapp svg {
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
  height: 32px;
  stroke: none;
  width: 32px;
}

.floating-whatsapp span {
  display: none;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #078a3b;
  box-shadow: 0 20px 42px rgba(0, 88, 44, 0.34);
  color: #fff;
  outline: 0;
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .floating-whatsapp {
    border-radius: 50%;
    bottom: calc(86px + env(safe-area-inset-bottom));
    height: 52px;
    min-height: 52px;
    padding: 0;
    right: 14px;
    width: 52px;
  }

  .floating-whatsapp span {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}

.affiliate-confidence-section article {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 46, 91, 0.06);
  padding: 18px;
}

.affiliate-confidence-section span {
  color: #1fb675;
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 8px;
}

.affiliate-confidence-section strong {
  color: #102441;
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

.affiliate-confidence-section p {
  color: #607086;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.affiliate-info-section {
  padding-top: 8px;
}

.affiliate-content-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.affiliate-info-card {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 18px;
}

.affiliate-info-card.wide {
  grid-column: 1 / -1;
}

.affiliate-info-card h3 {
  color: #102441;
  font-size: 18px;
  margin: 0 0 12px;
}

.curation-list {
  color: #3c4d63;
  display: grid;
  gap: 10px;
  line-height: 1.55;
  margin: 0;
  padding-left: 18px;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  border-bottom: 1px solid #edf3fb;
  padding: 0 0 10px 28px;
  position: relative;
}

.check-list li::before {
  background: #e6f8f0;
  border-radius: 999px;
  color: #0a8f57;
  content: "✓";
  font-size: 12px;
  font-weight: 950;
  height: 18px;
  left: 0;
  line-height: 18px;
  position: absolute;
  text-align: center;
  top: 2px;
  width: 18px;
}

.two-column-list {
  columns: 2;
}

.affiliate-spec-list {
  grid-template-columns: 1fr;
}

@media (max-width: 860px) {
  .affiliate-confidence-section,
  .affiliate-content-grid {
    grid-template-columns: 1fr;
  }

  .affiliate-confidence-section {
    padding-inline: 14px;
  }

  .two-column-list {
    columns: 1;
  }
}

@media (max-width: 560px) {
  .affiliate-gallery {
    min-height: 0;
    padding: 10px;
  }

  .affiliate-gallery .affiliate-main-stage {
    min-height: 260px;
  }

  .affiliate-gallery .affiliate-zoom-trigger {
    min-height: 260px;
  }

  .affiliate-gallery-arrow {
    height: 30px;
    width: 30px;
  }

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

  .affiliate-info-card,
  .affiliate-confidence-section article {
    padding: 14px;
  }

  .affiliate-product-code strong {
    font-size: 16px;
  }

  .affiliate-zoom-modal {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 14px 10px;
  }

  .affiliate-zoom-modal-image {
    max-height: 78vh;
    padding: 8px;
    width: 100%;
  }

  .affiliate-zoom-close,
  .affiliate-zoom-nav {
    height: 38px;
    width: 38px;
  }
}

/* Search and Pix final mobile polish */
.store-search > button {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.store-search .search-suggestions {
  background: #fff;
  border: 1px solid #cfe1ff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(23, 32, 51, 0.18);
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
}

.store-search .search-suggestion {
  align-items: center;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf3fb;
  border-radius: 0;
  box-shadow: none;
  color: #172033;
  display: grid;
  gap: 12px;
  grid-template-columns: 54px minmax(0, 1fr);
  justify-content: stretch;
  min-height: 72px;
  padding: 8px 12px;
  text-align: left;
  width: 100%;
}

.store-search .search-suggestion:hover,
.store-search .search-suggestion:focus-visible {
  background: #eef6ff;
  outline: 0;
}

.store-search .search-suggestion img {
  aspect-ratio: 1;
  border: 1px solid #dbe6f3;
  border-radius: 8px;
  height: 54px;
  object-fit: contain;
  padding: 4px;
  width: 54px;
}

.store-search .search-suggestion span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.store-search .search-suggestion strong {
  color: #172033;
  display: block;
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-search .search-suggestion em {
  color: #0057d8;
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
}

.hero-proof .pix-proof {
  align-items: center;
  column-gap: 8px;
  grid-template-columns: minmax(74px, auto) minmax(0, 1fr);
}

.hero-proof .pix-brand {
  align-items: center;
  align-self: stretch;
  border-right: 1px solid #d8f2ef;
  color: #32bcad;
  display: inline-flex;
  font-style: normal;
  gap: 5px;
  grid-row: 1 / span 2;
  padding-right: 8px;
}

.hero-proof .pix-brand b {
  color: #13263f;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 720px) {
  .store-search .search-suggestion {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 66px;
    padding: 7px 10px;
  }

  .store-search .search-suggestion img {
    height: 48px;
    width: 48px;
  }

  .store-search .search-suggestion strong {
    font-size: 12px;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .store-search .search-suggestion em {
    font-size: 12px;
  }

  .hero-proof .pix-proof {
    column-gap: 5px;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 3px;
  }

  .hero-proof .pix-brand {
    border-right: 0;
    grid-row: auto;
    justify-content: center;
    padding-right: 0;
  }

  .hero-proof .pix-brand b {
    font-size: 13px;
  }
}

/* Final contrast guard for the consultoria band. */
.store-consult > div > p {
  color: #76f2b7 !important;
}

.store-consult > div > h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 15, 60, 0.24);
}

.store-consult > div > span {
  color: #edf6ff !important;
}


/* Store price remains visible when Mercado Livre is offered as an immediate fallback. */
.store-price-card {
  display: grid;
  gap: 0.2rem;
  margin: 0.45rem 0 0.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(9, 126, 105, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 249, 245, 0.95), rgba(247, 252, 251, 0.98));
}
.store-price-label {
  color: #35645b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.store-price-value {
  color: #073d33;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.08;
}
.store-price-note {
  color: #49665f;
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Personalized recently viewed product carousel in the home hero. */
.store-hero-product[data-personalized-hero] {
  position: relative;
}

.store-hero-product[data-personalized-hero] .store-hero-product-copy {
  padding-bottom: 54px;
}

.store-hero-product-controls {
  align-items: center;
  bottom: 14px;
  display: flex;
  gap: 9px;
  justify-content: center;
  position: absolute;
  right: clamp(20px, 3vw, 34px);
  z-index: 2;
}

.store-hero-product-controls[hidden] {
  display: none;
}

.store-hero-product-controls > button {
  align-items: center;
  background: #eef6ff;
  border: 1px solid #cfe1fb;
  border-radius: 999px;
  color: #075ac7;
  cursor: pointer;
  display: inline-flex;
  font: 700 20px/1 sans-serif;
  height: 28px;
  justify-content: center;
  padding: 0 0 2px;
  width: 28px;
}

.store-hero-product-controls > button:hover,
.store-hero-product-controls > button:focus-visible {
  background: #075ac7;
  border-color: #075ac7;
  color: #fff;
  outline: none;
}

.store-hero-product-controls [data-hero-dots] {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.store-hero-product-controls [data-hero-dot] {
  background: #b9c9df;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  transition: background-color 180ms ease, width 180ms ease;
  width: 7px;
}

.store-hero-product-controls [data-hero-dot][aria-current="true"] {
  background: #075ac7;
  width: 19px;
}

.store-hero-product.is-changing [data-hero-image],
.store-hero-product.is-changing .store-hero-product-copy {
  animation: hero-product-enter 360ms ease both;
}

.store-hero-product.is-changing .store-hero-product-copy {
  animation-delay: 45ms;
}

@keyframes hero-product-enter {
  from { opacity: 0.25; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .store-hero-product[data-personalized-hero] .store-hero-product-copy {
    padding-bottom: 44px;
  }

  .store-hero-product-controls {
    bottom: 9px;
    gap: 6px;
    right: 11px;
  }

  .store-hero-product-controls > button {
    height: 25px;
    width: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-hero-product.is-changing [data-hero-image],
  .store-hero-product.is-changing .store-hero-product-copy {
    animation: none;
  }
}

/* Product conversion actions: secondary actions together, primary purchase highlighted. */
.product-purchase-panel .hero-actions:has(.cart-add.product-action-icon) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-purchase-panel .hero-actions .cart-add.product-action-icon {
  grid-column: 1;
  grid-row: 1;
}

.product-purchase-panel .hero-actions .favorite-toggle.product-action-icon {
  grid-column: 2;
  grid-row: 1;
}

.product-purchase-panel .hero-actions .share-toggle.product-action-icon {
  grid-column: 3;
  grid-row: 1;
}

.product-purchase-panel .hero-actions:has(.cart-add.product-action-icon) .product-action-icon {
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.product-purchase-panel .hero-actions:has(.cart-add.product-action-icon) .product-action-icon::after {
  background: transparent;
  bottom: auto;
  color: inherit;
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 900;
  left: auto;
  opacity: 1;
  padding: 0;
  position: static;
  transform: none;
  transition: none;
}

.product-purchase-panel .hero-actions:has(.cart-add.product-action-icon) .checkout-link {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 87, 216, 0.22);
  font-size: 15px;
  font-weight: 950;
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 50px;
}

/* The cart belongs in the main header, not hidden in the utility strip. */
.store-top nav a:last-child {
  display: none;
}

.store-actions .outlet-pill {
  order: 1;
}

.store-actions > a[aria-label="Carrinho"] {
  background: var(--market-blue);
  border-color: var(--market-blue);
  box-shadow: 0 8px 18px rgba(0, 87, 216, 0.2);
  color: #fff;
  font-weight: 950;
  min-width: 138px;
  order: 2;
  padding-inline: 15px;
}

.store-actions > a[aria-label="Carrinho"]::before {
  content: "Carrinho";
  font-weight: 950;
  order: 2;
}

.store-actions > a[aria-label="Carrinho"] svg {
  height: 21px;
  order: 1;
  width: 21px;
}

.store-actions > a[aria-label="Carrinho"] #cartCount {
  align-items: center;
  background: var(--market-yellow);
  border-radius: 999px;
  color: #172033;
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  order: 3;
  padding-inline: 5px;
}

.store-actions .favorites-trigger {
  order: 3;
}

.store-actions .whatsapp-action {
  order: 4;
}

@media (max-width: 1350px) and (min-width: 721px) {
  .store-actions .whatsapp-action {
    display: none;
  }
}

@media (max-width: 720px) {
  .product-purchase-panel .hero-actions:has(.cart-add.product-action-icon) .product-action-icon {
    gap: 5px;
  }

  .product-purchase-panel .hero-actions:has(.cart-add.product-action-icon) .product-action-icon::after {
    font-size: 11px;
  }

  .store-actions .whatsapp-action {
    display: inline-flex;
  }

  .store-actions > a[aria-label="Carrinho"] {
    min-width: 0;
    padding-inline: 6px;
  }

  .store-actions > a[aria-label="Carrinho"]::before {
    font-size: 11px;
  }
}
