* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {

    font-family: Arial, Helvetica, sans-serif;
    background: #f8fafc;
    color: #0f172a;

}


.container {

    width: 90%;
    max-width: 1200px;
    margin: auto;

}


/* HEADER */


.header {

    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;

}


.header-content {

    display: flex;
    align-items: center;
    justify-content: space-between;

}


.logo a {

    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: #111827;

}


.logo span {

    color: #2563eb;

}


.menu {

    display: flex;
    gap: 25px;

}


.menu a {

    text-decoration: none;
    color: #334155;
    font-weight: 500;

}


.menu a:hover {

    color: #2563eb;

}


/* HERO */
.hero {

    background: #2563eb;
    padding: 80px 0;
    color: white;
    text-align: center;

}


.hero h1 {

    font-size: 45px;
    max-width: 900px;
    margin: auto;

}


.hero p {

    font-size: 20px;
    margin: 20px 0;

}


/* SEARCH */


.search-box {

    margin-top: 35px;

}


.search-box input {

    width: 420px;
    padding: 16px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 16px;

}


.search-box button {

    padding: 16px 30px;
    border: none;
    background: #ff9900;
    color: white;
    font-weight: bold;
    border-radius: 0 8px 8px 0;
    cursor: pointer;

}


/* CATEGORIAS */


section {

    padding: 50px 0;

}


h2 {

    font-size: 30px;
    margin-bottom: 25px;

}

.category-grid {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {

    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);

    font-size: 18px;

}


/* PRODUTO */


.product-card {

    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

.product-card button {

    margin-top: 15px;
    padding: 12px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
}


/* FOOTER */


.footer {

    background: #111827;
    color: white;
    padding: 30px;
    text-align: center;

}

.product-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

}


.product-card {

    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);

}


.product-image {

    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;

}


.product-card h3 {

    font-size: 22px;
    margin-bottom: 10px;

}


.rating {

    color: #f59e0b;
    font-weight: bold;
    margin-bottom: 15px;

}


.price {

    margin-top: 20px;
    font-size: 16px;

}


.price strong {

    display: block;
    font-size: 25px;
    color: #2563eb;

}


.product-card button {

    width: 100%;
    margin-top: 20px;
    background: #2563eb;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* PRODUTOS */


.products {

    padding-top: 40px;

}


.product-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

}



.product-card {

    background: white;
    border-radius: 18px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
    border: 1px solid #e5e7eb;

}



.product-card:hover {

    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);

}



.product-badge {

    position: absolute;
    top: 15px;
    left: 15px;

    background: #ff9900;
    color: white;

    font-size: 12px;
    font-weight: bold;

    padding: 6px 12px;

    border-radius: 20px;

}



.product-image {

    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 70px;

    margin-bottom: 15px;

}



.product-card h3 {

    font-size: 21px;
    margin-bottom: 12px;

}



.rating-box {

    display: flex;
    align-items: center;
    gap: 10px;

    background: #fff7ed;

    padding: 8px 12px;

    border-radius: 8px;

    width: max-content;

    color: #f59e0b;

    font-weight: bold;

}



.rating-box span {

    font-size: 13px;
    color: #475569;

}



.product-description {

    color: #64748b;

    line-height: 1.5;

    margin: 15px 0;

}



.price-box {

    border-top: 1px solid #e5e7eb;

    padding-top: 15px;

}



.price-box small {

    color: #64748b;

}



.price-box strong {

    display: block;

    font-size: 28px;

    color: #2563eb;

    margin-top: 5px;

}



.compare-btn {

    margin-top: 20px;

    width: 100%;

    padding: 14px;

    background: #2563eb;

    color: white;

    border: none;

    border-radius: 10px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

}



.compare-btn:hover {

    background: #1d4ed8;

}

@media(max-width:900px) {

    .product-grid {

        grid-template-columns: 1fr;

    }

    .menu {

        display: none;

    }

    .search-box input {

        width: 70%;

    }

    .product-card {
        background: red !important;
    }
}

/* PREÇOS POR LOJA (card de produto) */

.store-prices {

    list-style: none;
    margin: 14px 0;
    padding: 0;
    border-top: 1px solid #e5e7eb;

}

.store-prices li {

    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;

}

.store-prices .store-name {

    color: #475569;

}

.store-prices .store-price {

    font-weight: bold;
    color: #0f172a;

}

.store-prices li:first-child .store-price {

    color: #f97316;

}


/* LINKS NO CARD */

.product-card .product-link {

    color: inherit;
    text-decoration: none;

}

.product-card .product-link:hover {

    color: #2563eb;

}

a.compare-btn {

    display: block;
    text-align: center;
    text-decoration: none;

}


/* PÁGINA DE PRODUTO */

.product-page {

    padding: 30px 0 60px;

}

.product-page h2 {

    margin: 40px 0 16px;

}

.breadcrumb {

    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;

}

.breadcrumb a {

    color: #2563eb;
    text-decoration: none;

}

.product-hero {

    display: flex;
    gap: 32px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;

}

.product-hero-image {

    flex: 0 0 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    background: #f1f5f9;
    border-radius: 12px;

}

.product-hero-info {

    flex: 1;

}

.product-hero-info h1 {

    font-size: 30px;
    margin-bottom: 10px;

}

.product-hero-info .product-description {

    margin: 12px 0 20px;
    color: #475569;

}

.best-offer {

    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 18px;

}

.best-offer small {

    display: block;
    color: #9a3412;
    font-weight: bold;

}

.best-offer strong {

    display: block;
    font-size: 34px;
    color: #f97316;
    margin: 4px 0;

}

.best-offer .saving {

    display: block;
    font-size: 14px;
    color: #475569;
    margin-bottom: 14px;

}

.offer-btn {

    display: inline-block;
    padding: 9px 16px;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;

}

.offer-btn:hover {

    background: #1d4ed8;

}

.offer-btn-main {

    background: #f97316;
    font-size: 16px;
    padding: 12px 22px;

}

.offer-btn-main:hover {

    background: #ea580c;

}

.offer-btn.disabled,
.offer-btn.disabled:hover {

    background: #cbd5e1;
    color: #475569;
    cursor: default;

}

.price-table-wrap {

    overflow-x: auto;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;

}

.price-table {

    width: 100%;
    border-collapse: collapse;

}

.price-table th,
.price-table td {

    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;

}

.price-table th {

    background: #f8fafc;
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;

}

.price-table tr.is-best {

    background: #fff7ed;

}

.price-table .col-price {

    font-weight: bold;
    font-size: 18px;

}

.price-table tr.is-best .col-price {

    color: #f97316;

}

.price-table .col-diff,
.price-table .col-date {

    color: #64748b;
    font-size: 14px;

}

.tag-best {

    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f97316;
    color: white;
    font-size: 11px;
    font-weight: bold;

}

.price-note {

    margin-top: 12px;
    font-size: 13px;
    color: #64748b;

}

.not-found {

    text-align: center;
    padding: 80px 0;

}

.not-found h1 {

    margin-bottom: 10px;

}

.not-found .compare-btn {

    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;

}

@media (max-width: 700px) {

    .product-hero {

        flex-direction: column;

    }

    .product-hero-image {

        flex-basis: auto;
        width: 100%;

    }

}


/* GUIAS DE COMPRA */

.guides {

    padding: 20px 0 50px;

}

.guides-page,
.guide-page {

    padding: 30px 0 60px;

}

.guides-intro {

    color: #475569;
    margin: 8px 0 24px;
    max-width: 720px;

}

.guide-updated {

    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;

}

.guide-page h2 {

    margin: 36px 0 16px;

}

.guide-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;

}

.guide-card {

    display: block;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;

}

.guide-card:hover {

    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: #2563eb;

}

.guide-card h3 {

    margin: 8px 0;

}

.guide-card p {

    color: #475569;
    font-size: 14px;
    margin-bottom: 14px;

}

.guide-cat {

    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #2563eb;

}

.guide-more {

    font-weight: bold;
    font-size: 14px;
    color: #2563eb;

}

.guides-all {

    margin-top: 20px;

}

.guides-all a {

    color: #2563eb;
    font-weight: bold;
    text-decoration: none;

}

.guide-items {

    display: flex;
    flex-direction: column;
    gap: 20px;

}

.guide-item {

    display: flex;
    gap: 24px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;

}

.guide-item.is-winner {

    border: 2px solid #f97316;
    background: #fffaf5;

}

.guide-item-image {

    flex: 0 0 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    background: #f1f5f9;
    border-radius: 12px;

}

.guide-item-body {

    flex: 1;

}

.guide-seal {

    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;

}

.is-winner .guide-seal {

    background: #f97316;
    color: white;

}

.guide-item h3 {

    font-size: 22px;
    margin-bottom: 6px;

}

.guide-item .product-link {

    color: inherit;
    text-decoration: none;

}

.guide-item .product-link:hover {

    color: #2563eb;

}

.guide-pos {

    color: #94a3b8;
    margin-right: 4px;

}

.guide-summary {

    margin: 10px 0;
    color: #475569;

}

.why-box {

    margin: 14px 0;

}

.why-box ul {

    list-style: none;
    margin-top: 6px;
    padding: 0;

}

.why-box li {

    padding: 3px 0;
    font-size: 15px;

}

.why-pro {

    color: #15803d;

}

.why-con {

    color: #b91c1c;

}

.guide-item-footer {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;

}

.guide-price small {

    display: block;
    font-size: 12px;
    color: #64748b;

}

.guide-price strong {

    font-size: 24px;
    color: #f97316;

}

@media (max-width: 700px) {

    .guide-item {

        flex-direction: column;

    }

    .guide-item-image {

        flex-basis: auto;
        width: 100%;

    }

}


/* VALE A PENA? + GRÁFICO DE HISTÓRICO */

.verdict {

    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;

}

.verdict strong {

    display: block;
    font-size: 17px;

}

.verdict span {

    display: block;
    margin-top: 2px;
    color: #334155;

}

.verdict small {

    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;

}

.verdict-minimo,
.verdict-barato {

    background: #f0fdf4;
    border-color: #bbf7d0;

}

.verdict-minimo strong,
.verdict-barato strong {

    color: #15803d;

}

.verdict-medio {

    background: #eff6ff;
    border-color: #bfdbfe;

}

.verdict-medio strong {

    color: #1d4ed8;

}

.verdict-caro {

    background: #fef2f2;
    border-color: #fecaca;

}

.verdict-caro strong {

    color: #b91c1c;

}

.verdict-empty {

    margin-top: 14px;
    font-size: 14px;
    color: #64748b;

}

.chart-wrap {

    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;

}

.price-chart {

    display: block;
    width: 100%;
    height: auto;

}

.price-chart .grid {

    stroke: #e2e8f0;
    stroke-width: 1;

}

.price-chart .axis {

    fill: #64748b;
    font-size: 11px;

}

.price-chart .area {

    fill: rgba(37, 99, 235, 0.10);

}

.price-chart .line {

    fill: none;
    stroke: #2563eb;
    stroke-width: 2.5;
    stroke-linejoin: round;

}

.price-chart .dot-min {

    fill: #f97316;
    stroke: white;
    stroke-width: 2;

}
