/* Mobile: até 600px */
.product-gallery {
}

.thumbnail-photo:not([src]),
.thumbnail-photo[src=""] {
  display: none;
}

.ivisible {
  opacity: 0 !important;
  user-select: none !important;
  visibility: hidden !important;
}

/* mantém os 3 ao lado SEMPRE */
.icon-row {
  overflow-x: auto;
  gap: 5px;
}

/* impede que as colunas quebrem linha */
.icon-item {
  flex: 0 0 calc(23.23% - 5px);
}

/* diminui texto no mobile */
.small-text {
  font-size: 0.85rem;
  line-height: 1.2;
}

.icon-istallation {
  background-color: #f7c800;
  width: max-content;
  height: max-content;
  padding: 20px;
  margin: 0 auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50% !important;
}

.banner-product {
  width: 100%;
  height: max-content;
  margin-bottom: 15px;
}

.banner-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

header {
  width: 100%;
  height: max-content !important;
  background-color: #ffffff !important;
  position: relative !important;
  top: 0;
  z-index: 100;
}

@media (max-width: 600px) {
  .banner-product {
    width: 100%;
    height: max-content;
    margin-bottom: 15px;
  }

  .banner-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hidden-lg {
    display: block !important;
  }

  .hidden-mobile {
    display: none !important;
  }

  .icon-item {
    flex: 0 0 calc(30.3% - 10px);
  }

  .small-text {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .product-gallery .product-main-photo {
    background-color: rgb(255, 255, 255);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
  }

  .product-gallery .product-main-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-thumbnails {
    width: 100%;
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border: 1px solid rgb(219, 219, 219);
    scroll-snap-align: start;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px !important;
  }

  .thumbnail-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-name {
    font-weight: bold;
  }

  .old-price-page-product {
    font-size: 1.2em;
    color: gray;
    text-decoration: line-through;
  }

  .old-price-parcel-product {
    font-size: 0.8em;
    color: gray;
  }

  .page-product-price {
    font-size: 2.5em;
  }

  .thumbnail-wrapper {
    width: 80px;
    text-align: center;
  }

  .thumbnail-wrapper span {
    display: block;
    word-wrap: break-word;
    white-space: normal;
    font-size: 14px;
  }

  .thumbnail-wrapper-color {
    min-width: 50px;
    width: max-content;
    text-align: center;
  }

  .thumbnail-wrapper-color span {
    display: block;
    word-wrap: break-word;
    white-space: normal;
    font-size: 14px;
  }

  .thumbnail-item-color {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgb(205, 205, 205);
    transition: border 0.3s;
    display: inline-block;
  }

  .env-options {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .env-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    /* largura fixa, ajuste como quiser */
    padding: 10px;
    border: 2px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
    user-select: none;
  }

  /* esconder input nativo */
  .env-option input[type="radio"] {
    display: none;
  }

  /* quando selecionado → fundo amarelo */
  .env-option input[type="radio"]:checked + .label-text {
    background: #181818;
    color: #ffffff;
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px 0;
  }

  /* hover opcional */
  .env-option:hover {
    border-color: #999;
  }

  .cep-form {
    display: flex;
    align-items: center;
  }

  .banners-list .banner-item {
    height: 200px;
    margin-bottom: 15px;
    background-color: #fff;
    overflow: hidden;
    border-radius: 5px;
  }

  .banners-list .banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .epecs-product {
    padding: 10px;
    background-color: #fff;
  }

  /* Reset simples **********************************************/
  :root {
    --bg: #f7f8fa;
    --card: #ffffff;
    --muted: #6b7280;

    --border: #e6e9ee;
    --radius: 12px;
    --max-width: 980px;
    --pad: 18px;
    --mono: "Segoe UI Mono", "Roboto Mono", monospace;
  }

  img {
    max-width: 100%;
    display: block;
  }

  .card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border);
    overflow: hidden;
  }

  .card-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
  }

  /* Header */
  .card-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px var(--pad);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(
      90deg,
      rgba(255, 212, 64, 0.06),
      rgba(255, 255, 255, 0)
    );
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .title {
    line-height: 1;
  }

  .title h1 {
    margin: 0;
    font-size: 18px;
  }

  .title p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  /* Left column: imagem + quick info */
  .card-left {
    padding: 18px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    background: linear-gradient(180deg, #fff, #fbfbfb);
  }

  .product-photo {
    width: 280px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f5f7, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
  }

  .product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
  }

  .quick-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat {
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
  }

  .stat .value {
    font-weight: 700;
    font-size: 15px;
  }

  .stat .label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
  }

  /* Right column: specs */
  .card-body {
    padding: 18px;
  }

  .specs {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .spec-table {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
  }

  .spec-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  .spec-table th {
    text-align: left;
    font-weight: 600;
    padding: 6px 8px;
    color: var(--muted);
    font-size: 12px;
  }

  .spec-table td {
    padding: 6px 8px;
    border-top: 1px dashed rgba(0, 0, 0, 0.04);
    vertical-align: top;
    font-size: 14px;
  }

  .features {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-direction: column;
  }

  .feature-item {
    background: #fff;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .feature-item svg {
    flex: 0 0 28px;
    margin-top: 2px;
  }

  .feature-content {
    font-size: 14px;
    color: #111827;
  }

  .pack {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-direction: column;
  }

  .pack .pack-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .chip {
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
  }

  /* Footer actions */
  .card-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
  }

  .price {
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
  }

  .btn {
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 212, 64, 0.08);
  }

  /* responsive */
  @media (max-width: 880px) {
    .card-grid {
      grid-template-columns: 1fr;
    }

    .card-left {
      border-right: none;
      border-bottom: 1px solid var(--border);
    }

    .product-photo {
      width: 100%;
      height: 260px;
    }

    .specs {
      grid-template-columns: 1fr;
    }
  }

  /* print-friendly */
  @media print {
    body {
      background: #fff;
    }

    .container {
      max-width: 100%;
      margin: 0;
      padding: 0;
    }

    .card {
      box-shadow: none;
      border: none;
      border-radius: 0;
    }

    .btn,
    .price {
      display: none;
    }
  }

  /* small helpers */
  .muted {
    color: var(--muted);
    font-size: 13px;
  }

  .small {
    font-size: 13px;
    color: var(--muted);
  }

  .accent-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(255, 212, 64, 0.18);
  }

  .thumbnail-photo {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border 0.3s;
  }

  .area-price-whats-product {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .groups-links li a {
    font-size: 0.9em !important;
    color: gray !important;
  }
}

/* Tablet: 601px até 1024px */
@media (min-width: 601px) and (max-width: 1024px) {
  .product-gallery .product-main-photo {
    background-color: rgb(255, 255, 255);
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
  }

  .product-gallery .product-main-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-thumbnails {
    width: 100%;
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border: 1px solid rgb(219, 219, 219);
    scroll-snap-align: start;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px !important;
  }

  .thumbnail-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-name {
    font-weight: bold;
  }

  .old-price-page-product {
    font-size: 1.2em;
    color: gray;
    text-decoration: line-through;
  }

  .old-price-parcel-product {
    font-size: 0.8em;
    color: gray;
  }

  .page-product-price {
    font-size: 2.5em;
  }

  .thumbnail-wrapper {
    width: 80px;
    text-align: center;
  }

  .thumbnail-wrapper span {
    display: block;
    word-wrap: break-word;
    white-space: normal;
    font-size: 14px;
  }

  .thumbnail-wrapper-color {
    min-width: 50px;
    width: max-content;
    text-align: center;
  }

  .thumbnail-wrapper-color span {
    display: block;
    word-wrap: break-word;
    white-space: normal;
    font-size: 14px;
  }

  .thumbnail-item-color {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgb(205, 205, 205);
    transition: border 0.3s;
    display: inline-block;
  }

  .env-options {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .env-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    /* largura fixa, ajuste como quiser */
    padding: 10px;
    border: 2px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
    user-select: none;
  }

  /* esconder input nativo */
  .env-option input[type="radio"] {
    display: none;
  }

  /* quando selecionado → fundo amarelo */
  .env-option input[type="radio"]:checked + .label-text {
    background: #181818;
    color: #ffffff;
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px 0;
  }

  /* hover opcional */
  .env-option:hover {
    border-color: #999;
  }

  .banners-list .banner-item {
    height: 200px;
    margin-bottom: 15px;
    background-color: #fff;
    overflow: hidden;
    border-radius: 5px;
  }

  .banners-list .banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .epecs-product {
    padding: 10px;
    background-color: #fff;
  }

  /* Reset simples **********************************************/
  :root {
    --bg: #f7f8fa;
    --card: #ffffff;
    --muted: #6b7280;

    --border: #e6e9ee;
    --radius: 12px;
    --max-width: 980px;
    --pad: 18px;
    --mono: "Segoe UI Mono", "Roboto Mono", monospace;
  }

  img {
    max-width: 100%;
    display: block;
  }

  .card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border);
    overflow: hidden;
  }

  .card-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
  }

  /* Header */
  .card-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px var(--pad);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(
      90deg,
      rgba(255, 212, 64, 0.06),
      rgba(255, 255, 255, 0)
    );
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .title {
    line-height: 1;
  }

  .title h1 {
    margin: 0;
    font-size: 18px;
  }

  .title p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  /* Left column: imagem + quick info */
  .card-left {
    padding: 18px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    background: linear-gradient(180deg, #fff, #fbfbfb);
  }

  .product-photo {
    width: 280px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f5f7, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
  }

  .product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
  }

  .quick-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat {
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
  }

  .stat .value {
    font-weight: 700;
    font-size: 15px;
  }

  .stat .label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
  }

  /* Right column: specs */
  .card-body {
    padding: 18px;
  }

  .specs {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .spec-table {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
  }

  .spec-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  .spec-table th {
    text-align: left;
    font-weight: 600;
    padding: 6px 8px;
    color: var(--muted);
    font-size: 12px;
  }

  .spec-table td {
    padding: 6px 8px;
    border-top: 1px dashed rgba(0, 0, 0, 0.04);
    vertical-align: top;
    font-size: 14px;
  }

  .features {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-direction: column;
  }

  .feature-item {
    background: #fff;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .feature-item svg {
    flex: 0 0 28px;
    margin-top: 2px;
  }

  .feature-content {
    font-size: 14px;
    color: #111827;
  }

  .pack {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-direction: column;
  }

  .pack .pack-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .chip {
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
  }

  /* Footer actions */
  .card-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
  }

  .price {
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
  }

  .btn {
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 212, 64, 0.08);
  }

  /* responsive */
  @media (max-width: 880px) {
    .card-grid {
      grid-template-columns: 1fr;
    }

    .card-left {
      border-right: none;
      border-bottom: 1px solid var(--border);
    }

    .product-photo {
      width: 100%;
      height: 260px;
    }

    .specs {
      grid-template-columns: 1fr;
    }
  }

  /* print-friendly */
  @media print {
    body {
      background: #fff;
    }

    .container {
      max-width: 100%;
      margin: 0;
      padding: 0;
    }

    .card {
      box-shadow: none;
      border: none;
      border-radius: 0;
    }

    .btn,
    .price {
      display: none;
    }
  }

  /* small helpers */
  .muted {
    color: var(--muted);
    font-size: 13px;
  }

  .small {
    font-size: 13px;
    color: var(--muted);
  }

  .accent-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(255, 212, 64, 0.18);
  }

  .thumbnail-photo {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border 0.3s;
  }

  .cep-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cep-form .cep-input {
    width: 80%;
    height: 55px;
  }

  .cep-label {
    text-align: center !important;
    width: 100% !important;
  }

  .cep-form button {
    height: 50px;
  }

  .area-price-whats-product {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .btn-buy {
    width: 90% !important;
  }
}

/* Desktop: acima de 1024px */
@media (min-width: 1025px) {
  .product {
    background-color: #fff !important;
    padding: 20px !important;
    border-radius: 5px;
  }

  .product-gallery {
    display: flex;
    justify-content: center !important;
    flex-direction: row-reverse;
    width: 50%;
  }

  .product-gallery .product-main-photo {
    background-color: rgb(255, 255, 255);
    height: 500px !important;
    width: 200vw !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
  }

  .product-gallery .product-main-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .product-thumbnails-lg {
    display: flex !important;
    flex-direction: row !important;
  }

  .product-thumbnails-lg .thumbnail-item {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border: 1px solid rgb(219, 219, 219);
    scroll-snap-align: start;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px !important;
    margin: 0 auto !important;
  }

  .product-thumbnails-lg .thumbnail-wrapper {
    width: 80px !important;
    text-align: center;
  }

  .product-thumbnails {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border: 1px solid rgb(219, 219, 219);
    scroll-snap-align: start;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px !important;
  }

  .thumbnail-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .area-img-details-product {
    display: flex;
    justify-content: space-between;
  }

  .card-lg h5 {
    font-size: 1em !important;
  }

  .area-img-details-product .card-lg {
    box-shadow: none !important;
  }

  .card {
    box-shadow: none !important;
  }

  .product-name {
    font-weight: bold;
  }

  .old-price-page-product {
    font-size: 0.9em !important;
    color: gray;
    text-decoration: line-through;
  }

  .old-price-parcel-product {
    font-size: 0.8em;
    color: gray;
  }

  .page-product-price {
    font-size: 2.5em;
  }

  .product-thumbnails-lg .thumbnail-wrapper {
    width: 80px;
    text-align: center;
  }

  .thumbnail-wrapper span {
    display: block;
    word-wrap: break-word;
    white-space: normal;
    font-size: 14px;
  }

  .product-thumbnails-lg .thumbnail-wrapper-color {
    min-width: 50px;
    width: max-content;
    text-align: center;
  }

  .thumbnail-wrapper-color span {
    display: block;
    word-wrap: break-word;
    white-space: normal;
    font-size: 14px;
  }

  .product-thumbnails-lg .thumbnail-item-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgb(205, 205, 205);
    transition: border 0.3s;
    display: inline-block;
  }

  .env-options {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .env-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    /* largura fixa, ajuste como quiser */
    padding: 10px;
    border: 2px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
    user-select: none;
  }

  /* esconder input nativo */
  .env-option input[type="radio"] {
    display: none;
  }

  /* quando selecionado → fundo amarelo */
  .env-option input[type="radio"]:checked + .label-text {
    background: #181818;
    color: #ffffff;
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px 0;
  }

  /* hover opcional */
  .env-option:hover {
    border-color: #999;
  }

  .banners-list .banner-item {
    height: 200px;
    margin-bottom: 15px;
    background-color: #fff;
    overflow: hidden;
    border-radius: 5px;
  }

  .banners-list .banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .epecs-product {
    padding: 10px;
    background-color: #fff;
  }

  /* Reset simples **********************************************/

  /* Footer actions */
  .card-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
  }

  .price {
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
  }

  .btn {
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 212, 64, 0.08);
  }

  /* responsive */
  @media (max-width: 880px) {
    .card-grid {
      grid-template-columns: 1fr;
    }

    .card-left {
      border-right: none;
      border-bottom: 1px solid var(--border);
    }

    .product-photo {
      width: 100%;
      height: 260px;
    }

    .specs {
      grid-template-columns: 1fr;
    }
  }

  /* print-friendly */
  @media print {
    body {
      background: #fff;
    }

    .container {
      max-width: 100%;
      margin: 0;
      padding: 0;
    }

    .card {
      box-shadow: none;
      border: none;
      border-radius: 0;
    }

    .btn,
    .price {
      display: none;
    }
  }

  /* small helpers */
  .muted {
    color: var(--muted);
    font-size: 13px;
  }

  .small {
    font-size: 13px;
    color: var(--muted);
  }

  .accent-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(255, 212, 64, 0.18);
  }

  .thumbnail-photo {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border 0.3s;
  }

  .cep-form {
    display: flex !important;

    align-items: center;
    margin-top: 20px;
  }

  .cep-form .cep-input {
    width: 100%;
    height: 50px;
    border-top-right-radius: 1px !important;
    border-bottom-right-radius: 1px !important;
  }

  .cep-form button {
    height: 50px;
    border-top-left-radius: 1px !important;
    border-bottom-left-radius: 1px !important;
  }

  .area-price-whats-product {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .btn-buy {
    width: 90% !important;
  }
}

.product-photo {
  width: 100%;
  max-width: 280px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8f9fa, #fff);
  border-radius: 8px;
}

.table th {
  width: 35%;
  color: #6c757d;
  font-size: 0.875rem;
}

.table td {
  font-size: 0.9rem;
}

/* Mantém o mesmo estilo visual do original, sem alterar no hover */
.thumbnail-item-color:hover {
  border-color: transparent !important;
}

.card-lg {
  height: max-content !important;
}

.groups-links {
  margin: 10px !important;
  display: flex;
}

.groups-links li {
  margin-right: 5px !important;
}

.groups-links li a {
  color: gray !important;
  text-decoration: none !important;
}

.groups-links li a:hover {
  text-decoration: underline !important;
}

.groups-links li svg {
  transform: scale(0.7) !important;
  color: gray !important;
  opacity: 0.5 !important;
}

.thumbnail-item.active {
  border-color: #1e1e1e;
}

.thumbnail-item-color.active {
  border-color: #1e1e1e !important;
}

.thumbnail-wrapper-color.active .thumbnail-item-color {
  border-color: #1e1e1e !important;
  /* azul quando ativo */
}

.thumbnail-item-color.active {
  border-color: #1e1e1e !important;
}

.thumbnail-item.active {
  border-color: #1e1e1e;
}

.type-btn:hover {
  background-color: none !important;
}

.unit-discount-page-product {
  position: relative;
  margin-left: 5px;
  margin-top: 10px !important;
  z-index: 1;
  font-size: 0.8em !important;
  right: 0;
  background-color: #38b615;
  padding: 5px;
}

.logo-brand {
  max-width: 60px;
  height: 30px;
  margin-left: 3px;
  border-radius: 5px;
  overflow: hidden;
}

.logo-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-product {
  width: 100%;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-product.show {
  transform: translateY(0);
}

.header-product-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  padding: 10px 0;
}

/* Produto */
.product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-image {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}

.product-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.product-name-cart {
  font-size: 14px;
  line-height: 1.2;
}

.product-code {
  color: #777;
}

/* Preço */
.product-price-hiven {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.old-price {
  color: #999;
}

.discount {
  background: #12bc14;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  width: fit-content;
  border-radius: 4px;
  margin: 2px 0;
}

.current-price strong {
  color: #1f1f1f;
  font-size: 20px;
}

.installments {
  color: #555;
  font-size: 12px;
}

/* Botão */
.product-action {
  flex-shrink: 0;
}

.buy-now {
  background: #f7c800;
  color: #151515;
  border: none;
  padding: 12px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.buy-now:hover {
  background: #fdd41f;
}

@media (max-width: 768px) {
  .header-product-content {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 12px;
  }

  /* Linha 1: produto */
  .product-info {
    gap: 10px;
  }

  .product-image {
    width: 45px;
    height: 45px;
  }

  .product-name-cart {
    font-size: 13px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-code {
    font-size: 11px;
  }

  /* Linha 2: preço + botão */
  .product-price {
    font-size: 1.2em;
    gap: 2px;
  }

  .current-price strong {
    font-size: 18px;
  }

  .installments {
    font-size: 11px;
  }

  .discount {
    font-size: 10px;
    padding: 2px 5px;
  }

  .product-action {
    width: 100%;
    margin-top: 6px;
  }

  .buy-now {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 20px;
  }
}

.newsletter {
  background: linear-gradient(
    to right,
    transparent,
    #e7e6e6 20%,
    #e7e6e6 80%,
    transparent
  );
  padding: 50px !important;
  color: #171717;
}

.newsletter-icon {
  width: 55px;
  height: 55px;
  background: #f7c800;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 50%;
}
.newsletter-icon svg {
  transform: scale(1.5);
}

.newsletter-text {
  font-size: 16px;
  line-height: 1.3;
}

.form-control {
  height: 45px;
}

.btn-success {
  height: 45px;
}

.form-check-label a {
  color: #ffffff;
}
