* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f6f6;
    color: #222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.header-content {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-area h1 {
    font-size: 24px;
    color: var(--cor-secundaria);
}

.logo-area p {
    font-size: 14px;
    color: #666;
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.menu a {
    font-weight: 700;
    color: #333;
    transition: 0.2s;
}

.menu a:hover {
    color: var(--cor-primaria);
}

.hero {
    position: relative;
    min-height: 540px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 90px 0;
}

.hero-content h2 {
    font-size: 52px;
    color: #1f1f1f;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 20px;
    color: #333;
    max-width: 780px;
    margin: 0 auto 28px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.section {
    padding: 70px 0;
}

.bg-light {
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 38px;
    color: var(--cor-secundaria);
    margin-bottom: 8px;
}

.section-title p {
    color: #666;
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.filter-btn {
    padding: 12px 18px;
    border-radius: 999px;
    background: #e5e5e5;
    color: #333;
    font-weight: 700;
    transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--cor-primaria);
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.product-card,
.content-box,
.contact-card,
.status-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-body {
    padding: 18px;
}

.product-category {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--cor-primaria);
    margin-bottom: 8px;
}

.product-body h3 {
    font-size: 21px;
    color: #222;
    margin-bottom: 8px;
}

.product-body p {
    color: #666;
    margin-bottom: 14px;
    min-height: 48px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.contact-card,
.content-box,
.status-box {
    padding: 24px;
}

.contact-card h3 {
    color: var(--cor-secundaria);
    margin-bottom: 10px;
}

.status-box.warning {
    text-align: center;
    border: 1px solid #f1d48a;
    background: #fff7df;
}

.status-box.warning h3 {
    margin-bottom: 10px;
    color: #8a5b00;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-primary {
    background: var(--cor-primaria);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-secondary {
    background: var(--cor-secundaria);
    color: #fff;
}

.btn-secondary:hover {
    opacity: 0.92;
}

.btn-small {
    padding: 10px 14px;
    border-radius: 10px;
}

.site-footer {
    background: var(--cor-secundaria);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.floating-cart {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--cor-primaria);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    z-index: 1200;
    transition: transform 0.2s;
}

.floating-cart:hover {
    transform: scale(1.05);
}

.floating-cart-icon {
    font-size: 28px;
}

.floating-cart-count {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #d62828;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 100px;
    background: #1f9d55;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 1300;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 860px) {
    .header-content {
        flex-direction: column;
        padding: 15px 0;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 17px;
    }
}

.hidden {
    display: none !important;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.cart-items-box,
.cart-summary-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    padding: 22px;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 110px;
    gap: 12px;
    font-weight: 700;
    color: #555;
    border-bottom: 1px solid #ececec;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 110px;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f1f1f1;
}

.cart-item-product {
    display: flex;
    gap: 14px;
    align-items: center;
}

.cart-item-product h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.cart-item-product p {
    color: #666;
    font-size: 14px;
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
}

.cart-item-qty button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ececec;
    font-size: 18px;
    font-weight: 700;
}

.cart-item-subtotal,
.cart-item-action {
    text-align: center;
}

.remove-btn {
    background: #fce5e5;
    color: #c62828;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
}

.cart-summary-box h3 {
    margin-bottom: 18px;
    color: var(--cor-secundaria);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #efefef;
}

.summary-line.total {
    font-size: 20px;
    border-bottom: none;
    padding-top: 18px;
}

.cart-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1400;
}

.modal-box {
    width: 92%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.modal-box h3 {
    margin-bottom: 20px;
    color: var(--cor-secundaria);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    opacity: 0.92;
}

.btn-light {
    background: #ececec;
    color: #333;
}

.btn-light:hover {
    opacity: 0.92;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-items-header {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 16px;
    }

    .cart-item-subtotal,
    .cart-item-action {
        text-align: left;
    }

    .cart-item-qty {
        justify-content: flex-start;
    }
}