/* =========================================================
   HOME — RESPIRO NAVEGAÇÃO → HERO +20%
   20px → 24px
   ========================================================= */

body[data-page="inicio"] .hero {
  padding-top: 36px;
}

/* =========================================================
   HOME — HERO PRINCIPAL
   REDUÇÃO VERTICAL OFICIAL: 25%
   ========================================================= */

body[data-page="inicio"] .hero-grid {
  min-height: 405px;
  padding-top: 36px;
  padding-bottom: 33px;
}

body[data-page="inicio"] .hero-card img {
  height: 337.5px;
}


/* =========================================================
   PRODUTOS RECOMENDADOS
   MATRIZ VISUAL OFICIAL DA LANDING HELÔ
   ========================================================= */

.products {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  box-sizing: border-box;
}

.products *,
.products *::before,
.products *::after {
  box-sizing: border-box;
}

.products_container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 42px 72px 48px;
}

.products_header {
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  display: block;
}

.products_heading {
  margin: 0;
  padding: 0;
}

.products_eyebrow {
  display: block;
  margin: 0 0 5px;
  padding: 0;
  color: #7b21b6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.products_title {
  margin: 0;
  padding: 0;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
}

.products_stage {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.products_controls {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.products_arrow {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5d5d5;
  border-radius: 50%;
  background: #ffffff;
  color: #69439a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.products_arrow_prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.products_arrow_next {
  right: 0;
  transform: translate(50%, -50%);
}

.products_arrow:hover:not(:disabled),
.products_arrow:focus-visible:not(:disabled) {
  background: #69439a;
  color: #ffffff;
  border-color: #69439a;
}

.products_arrow:focus-visible {
  outline: 3px solid #c45100;
  outline-offset: 3px;
}

.products_arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.products_viewport {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.products_carousel {
  --products-gap: 24px;

  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--products-gap);
  transform: translate3d(0, 0, 0);
  transition: transform 0.38s ease;
  will-change: transform;
}

.products .product_card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 20px;
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.035);
  overflow: hidden;
}

.products .product_card_image {
  width: 100%;
  height: 270px;
  margin: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

.products .product_card_image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.products .product_card_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.35);
  transform-origin: center;
}

.products .product_card_content {
  width: 100%;
  min-height: 202px;
  margin: 0;
  padding: 14px 18px 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.products .product_card_category {
  display: none;
}

.products .product_card_title {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.12;
  font-weight: 400;
}


.products .product_card_price {
  min-height: 38px;
  margin: auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.products .product_card_old_price {
  display: block;
  margin: 0;
  padding: 0;
  color: #888888;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 400;
  text-decoration: line-through;
}

.products .product_card_old_price_placeholder {
  text-decoration: none;
}

.products .product_card_current_price {
  display: flex;
  align-items: baseline;
  margin: 0;
  padding: 0;
  gap: 3px;
}

.products .product_card_currency {
  color: #ff6a00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
}

.products .product_card_value {
  color: #ff6a00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
}

.products .product_card_button {
  width: 100%;
  max-width: 200px;
  min-height: 30.6px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #777777;
  border-radius: 20px;
  background: #ffffff;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.products .product_card_button:hover,
.products .product_card_button:focus-visible {
  background: #202020;
  color: #ffffff;
  transform: translateY(-1px);
}

.products .product_card_button:focus-visible {
  outline: 3px solid #c45100;
  outline-offset: 3px;
}




/* =========================================================
   CARROSSÉIS DE CATEGORIA — CÃES / GATOS
   MESMO PADRÃO VISUAL DE PRODUTOS RECOMENDADOS
   ========================================================= */

#home-dog-products-carousel,
#home-cat-products-carousel {
  width: 100%;
}

#home-dog-products-carousel .products_container {
  padding-top: 18px;
}

#home-cat-products-carousel .products_container {
  padding-top: 18px;
}


/* =========================================================
   DESTAQUE HELÔ — AREIA MEU GATO
   MEDIDAS CONGELADAS
   ========================================================= */

.home-featured-loading,
.home-featured-error {
  margin: 0;
  padding: 26px 28px;
  border: 1px solid #e7e7e7;
  border-radius: 20px;
  background: #ffffff;
  color: #444444;
}

.home-featured {
  width: 100%;
  margin: 0;
  padding: 34px 0 58px;
  background: #ffffff;
}

.home-featured-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
}

.home-featured-eyebrow {
  margin: 0 0 12px;
  padding: 0;
  color: #7b21b6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* =========================================================
   CARD
   ========================================================= */

.home-featured-card {
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);
  align-items: start;
  gap: 64px;
  padding: 32px 42px;
  border: 1px solid #e7e7e7;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.035);
}


/* =========================================================
   IMAGEM
   ALTURA VISUAL APROVADA: 488px
   ========================================================= */

.home-featured-media {
  position: relative;
  width: 100%;
  height: 548px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #efefef;
  border-radius: 20px;
  background: #ffffff;
}

.home-featured-media picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-featured-media img {
  display: block;
  width: auto;
  height: 488px;
  max-width: 100%;
  object-fit: contain;

  /*
     O asset possui área vazia interna.
     A escala abaixo compensa somente essa
     margem interna para aproximar a embalagem
     real da referência visual de 488px.
  */
  transform: scale(1.55);
  transform-origin: center;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.home-featured-content {
  min-width: 0;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* TÍTULO → CATEGORIA = 18px */

.home-featured-title {
  margin: 0;
  padding: 0;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.03em;
}


.home-featured-features {
  width: 100%;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #555555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  list-style: none;
}

.home-featured-features li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.home-featured-features li::before {
  content: "–";
  flex: 0 0 auto;
  color: #ff6a00;
}


/* CATEGORIA → PESO = 0px */

.home-featured-category {
  margin: 0;
  padding: 0;
  color: #ff6a00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}



/* PESO → DESCRIÇÃO = 24px */

.home-featured-description {
  width: 100%;
  max-width: 560px;
  margin: 24px 0 0;
  padding: 0;
  color: #555555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}


/* DESCRIÇÃO → PREÇO = 28px */

.home-featured-price {
  margin: 42px 0 0;
  padding: 0;
  color: #ff6a00;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}


/* PREÇO → CTA = 30px */

.home-featured-actions {
  margin: 42px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}


/*
   BOTÕES:
   HERDAM O PADRÃO OFICIAL DO SITE.
   Nenhuma alteração visual aplicada aqui.
*/


/* CTA → OBSERVAÇÃO = 22px */

.home-featured-note {
  margin: 22px 0 0;
  padding: 0;
  color: #888888;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.5;
}


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .products_carousel,
  .products_arrow,
  .products .product_card_button {
    transition: none;
  }
}


/* =========================================================
   TABLET — ATÉ 900px
   ========================================================= */

@media (max-width: 900px) {

  body[data-page="inicio"] .hero-grid {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  body[data-page="inicio"] .hero-card img {
    height: 300px;
  }


  .products_container {
    max-width: 100%;
    padding: 36px 32px 42px;
  }

  .products_header {
    margin-bottom: 20px;
  }

  .products_title {
    font-size: 27px;
  }

  .products_carousel {
    --products-gap: 18px;
  }

  .products .product_card {
    flex-basis:
      calc((100% - 36px) / 3);
  }

  .products .product_card_image {
    height: 230px;
    padding: 16px;
  }

  .products .product_card_image img {
    transform: scale(1.30);
  }

  .products .product_card_content {
    min-height: 190px;
    padding: 13px 14px 15px;
  }

  .products .product_card_title {
    font-size: 15px;
  }

  .products .product_card_price {
    margin-top: auto;
  }

  .products .product_card_value {
    font-size: 23px;
  }

  .products .product_card_button {
    min-height: 29.7px;
    font-size: 10px;
  }


  .home-featured {
    padding: 30px 0 48px;
  }

  .home-featured-shell {
    padding: 0 32px;
  }

  .home-featured-card {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 34px;
    padding: 28px;
  }

  .home-featured-content {
    padding-top: 0;
  }

  .home-featured-media {
    height: 548px;
  }

  .home-featured-media img {
    height: 488px;
    transform: scale(1.45);
  }

  .home-featured-title {
    font-size: 34px;
  }

  .home-featured-features {
    margin-top: 24px;
  }
}


/* =========================================================
   MOBILE — ATÉ 600px
   ========================================================= */

@media (max-width: 600px) {

  body[data-page="inicio"] .hero-grid {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="inicio"] .hero-card img {
    height: 270px;
  }


  .products_container {
    padding: 30px 20px 36px;
  }

  .products_header {
    margin-bottom: 18px;
  }

  .products_eyebrow {
    font-size: 10px;
  }

  .products_title {
    font-size: 24px;
  }

  .products_arrow {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .products_carousel {
    --products-gap: 12px;
  }

  .products .product_card {
    flex-basis:
      calc((100% - 12px) / 2);
    border-radius: 14px;
  }

  .products .product_card_image {
    height: 180px;
    padding: 12px;
  }

  .products .product_card_image img {
    transform: scale(1.25);
  }

  .products .product_card_content {
    min-height: 168px;
    padding: 10px 10px 12px;
  }


  .products .product_card_title {
    font-size: 13px;
    line-height: 1.1;
  }


  .products .product_card_price {
    min-height: 31px;
    margin: auto 0;
  }

  .products .product_card_old_price {
    font-size: 8px;
  }

  .products .product_card_currency {
    font-size: 9px;
  }

  .products .product_card_value {
    font-size: 20px;
  }

  .products .product_card_button {
    min-height: 27.9px;
    padding: 7px 5px;
    font-size: 8.5px;
  }


  .home-featured {
    padding: 26px 0 42px;
  }

  .home-featured-shell {
    padding: 0 20px;
  }

  .home-featured-eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .home-featured-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
    border-radius: 20px;
  }

  .home-featured-media {
    height: 390px;
    padding: 16px;
    border-radius: 16px;
  }

  .home-featured-media img {
    width: auto;
    height: 350px;
    max-width: 100%;
    transform: scale(1.35);
  }

  .home-featured-title {
    margin-bottom: 0;
    font-size: 28px;
  }

  .home-featured-features {
    margin-top: 22px;
    gap: 7px;
    font-size: 14px;
  }

  .home-featured-category {
    font-size: 11px;
  }


  .home-featured-description {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.7;
  }

  .home-featured-price {
    margin-top: 32px;
    font-size: 24px;
  }

  .home-featured-actions {
    width: 100%;
    margin-top: 32px;
    flex-direction: column;
    align-items: stretch;
  }

  .home-featured-actions .button {
    width: 100%;
  }

  .home-featured-note {
    margin-top: 22px;
    font-size: 10px;
  }
}
