* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
html, body {
    height: 100%;
}

body {
    background-color: #f3f3f3;
    background-image: url("../imagens/background3.png");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
     display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 18px;
}

header h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    letter-spacing: 0.5px;
}

main {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
      flex: 1;
}

/* 1. Define um tamanho fixo e seguro para a MOLDURA da logo */
.logo {
  width: 320px;       /* Ajuste a largura desejada para o seu balão */
  height: 120px;       /* Ajuste a altura desejada para o seu balão */
  overflow: hidden;   /* Impede que a imagem mude o tamanho da div ou do header */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2. Controla o comportamento da imagem do balão */
.logo img {
  width: 250px;
  height: 250px;
  object-fit: contain; /* Mantém a proporção exata sem distorcer o balão */
  transition: transform 0.3s ease; /* Faz o efeito de zoom ser suave */
}

/* 3. Faz o zoom APENAS na imagem quando o mouse passar por cima */
.logo:hover img {
  transform: scale(1); /* Aumenta a imagem em 20% do tamanho sem mexer na div */
}

.back-button {
    display: inline-block;
    background: #e2e2e2;
    color: #1f1f1f;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    margin: 18px 0 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: 0.2s ease;
}

.back-button:hover {
    background: #d5d5d5;
}

.product-page {
    width: min(980px, 100%);
    margin: 0 auto;
    background: #f3f3f3;
    border-radius: 12px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 28px 26px;
    min-height: 500px;
}

.product-page img {
    width: 430px;
    max-width: 100%;
    height: 420px;
    object-fit: contain;
    display: block;
    background: #f8f8f8;
    border-radius: 8px;
}

.product-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h2 {
    font-size: 2.1rem;
    margin: 0 0 8px;
    font-weight: 700;
}

.product-info p {
    font-size: 1.15rem;
    margin: 0 0 18px;
    color: #222;
}

.price {
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    margin: 8px 0 18px;
    color: #111;
}

.delivery-options,
.payment-options {
    margin-bottom: 18px;
}

.delivery-options p,
.payment-options p {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111;
}

.delivery-options label,
.payment-options label {
    display: block;
    font-size: 1rem;
    margin: 6px 0;
    color: #222;
}

.delivery-options input,
.payment-options input {
    margin-right: 8px;
    transform: scale(1.08);
}

.whatsapp-button {
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
    padding: 16px 18px;
    border: none;
    border-radius: 8px;
    background: #2ed47a;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transition: 0.2s ease;
}

.whatsapp-button:hover {
    background: #25c96d;
    transform: translateY(-1px);
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.site-footer {
    background: #111;
    color: #fff;
    padding: 24px 20px;
    margin-top: 42px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-left p {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
}

.footer-description {
    margin: 0;
    max-width: 360px;
    text-align: right;
    line-height: 1.5;
    font-size: 20px;
    color: #eaeaea;
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* ===== Responsividade da página do produto ===== */

@media (max-width: 980px) {
    .product-page {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 20px;
        min-height: auto;
    }

    .product-page img {
        width: min(100%, 420px);
        height: auto;
        max-height: 420px;
    }

    .product-info {
        min-width: 0;
        width: 100%;
        align-items: center;
    }

    .product-info h2,
    .product-info p,
    .price {
        text-align: center;
    }

    .whatsapp-button {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        padding-top: 12px;
    }

    header h1 {
        font-size: 38px;
    }

    .logo {
        width: 220px;
        height: auto;
    }

    .logo img {
        width: 170px;
        height: 170px;
    }

    .product-page {
        width: min(92%, 100%);
        padding: 20px 16px;
        gap: 18px;
    }

    .product-info h2 {
        font-size: 1.8rem;
    }

    .product-info p {
        font-size: 1rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .delivery-options p,
    .payment-options p {
        font-size: 1rem;
    }

    .delivery-options label,
    .payment-options label {
        font-size: 0.95rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 30px;
    }

    .back-button {
        padding: 9px 14px;
        font-size: 0.9rem;
    }

    .product-page {
        width: min(94%, 100%);
        padding: 18px 14px;
    }

    .product-page img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .product-info h2 {
        font-size: 1.5rem;
    }

    .product-info p {
        font-size: 0.95rem;
    }

    .price {
        font-size: 1.6rem;
    }

    .whatsapp-button {
        font-size: 1rem;
        padding: 14px 16px;
    }
}