:root {
    --primary: #FFB300;
    /* Laranja/Dourado da Logo */
    --primary-dark: #cc9000;
    --secondary: #333333;
    /* Cinza Escuro quase preto */
    --bg: #FFFFFF;
    --bg-alt: #fcfcfc;
    --text: #1a1a1a;
    --text-light: #666666;
    --border: #eeeeee;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-alt);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
header {
    background: var(--bg);
    border-bottom: 4px solid var(--primary);
    padding: 1rem 1rem;
    /* Mais para o canto */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    /* Aumentar um pouquinho para separar mais a logo da linha */
}

.vertical-sep {
    height: 35px;
    width: 2px;
    background: #e0e0e0;
    margin: 0 0.5rem;
    /* Margem apenas para a linha, criando o gap exato */
}

.brand-text h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #222;
    line-height: 1;
}

.brand-text p {
    font-size: 0.70rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    margin-top: -3px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-jn {
    height: 60px;
    width: auto;
}

.brand-info h1 {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.brand-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    background: var(--bg);
    padding: 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.modal-body .form-group:last-of-type {
    display: none;
    /* Esconde campo de valor no modal */
}

/* Container */
.container {
    padding: 2rem;
    width: 100%;
    max-width: 100%;
    /* Largura Total */
    margin: 0;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.card.active {
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(255, 171, 0, 0.2);
    background-color: #fffff8;
}

.card-image-container {
    width: 100%;
    height: 250px;
    /* Aumentado de 180px para 250px */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #000;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 5;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mudado de contain para cover para preencher melhor se necessário, ou manter contain se preferir */
    transition: var(--transition);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-price {
    display: none;
    /* Removendo valor conforme solicitado */
}

/* Qty Selector */
.qty-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.qty-input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 600;
}

.qty-input.active {
    background-color: var(--primary);
    color: #000;
    font-weight: 800;
    border-color: var(--primary);
}

/* Proposal Bar */
.proposal-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary);
    color: white;
    padding: 1rem 5%;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 101;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.proposal-info .label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.proposal-info .value {
    display: none;
    /* Removendo valor da barra de proposta */
}

.btn-generate {
    background: var(--primary);
    color: #333;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-generate:hover {
    background: var(--primary-dark);
}

/* Rodapé Estilo Botão WhatsApp Circular */
.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Uma pequena distância limpa */
    margin-top: 15px;
}

.footer-logo-img {
    height: 60px;
    /* Igualando a altura da foto */
    width: auto;
}

.footer-row a {
    z-index: 10;
}

.footer-wa-circle {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0;
    z-index: 2;
}

.wa-photo-badge {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary);
    /* Borda amarela como no print */
    object-fit: cover;
    display: block;
}

.wa-icon-mini {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wa-icon-mini svg {
    width: 14px;
    height: 14px;
    fill: white;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    background: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}

.floating-nav:hover {
    transform: scale(1.1);
}

.floating-nav svg {
    width: 30px;
    height: 30px;
}

/* Footer */
footer {
    background: var(--bg);
    padding: 3rem 5%;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 40px;
    filter: grayscale(1);
    opacity: 0.7;
}

/* Outros Equipamentos */
.other-equipment-section {
    margin-top: 4rem;
    padding: 2rem;
    background: #fbfbfb;
    border: 2px dashed #ddd;
    border-radius: 12px;
    text-align: center;
}

.btn-add-custom {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    transition: var(--transition);
}

.btn-add-custom:hover {
    background: var(--primary-dark);
}

.custom-items-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.custom-item-row {
    background: white;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-remove-custom {
    color: #ff4444;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1rem;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-confirm-custom {
    width: 100%;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .brand-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .vertical-sep {
        display: none;
    }

    .container {
        padding: 1rem;
    }

    .proposal-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .floating-nav {
        right: 1rem;
        bottom: 140px;
    }
}