/* =============================================
   VITALE BRASIL — Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ---- TOKENS ---- */
:root {
    --green: #2d7a4f;
    --green-light: #3fa66e;
    --green-dark: #1a5c38;
    --green-xdark: #0e3b22;
    --cream: #f7f4ef;
    --cream-dark: #eee8df;
    --gold: #c9a84c;
    --gold-light: #e2c270;
    --white: #ffffff;
    --text: #181818;
    --text-muted: #6b7280;
    --border: #e2ddd7;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
}

/* ---- RESET ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

ul {
    list-style: none;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    background: rgba(247, 244, 239, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--green-dark), var(--green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-logo .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-dark);
}

.nav-logo .brand-tagline {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-btn {
    position: relative;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 9px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), transform var(--transition);
}

.cart-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.cart-badge.show {
    display: flex;
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--green-xdark) 0%, var(--green-dark) 45%, var(--green) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 40px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='30' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E") center/80px;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation: float 8s infinite linear;
}

.hero-particles span:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-duration: 7s;
    animation-delay: 0s;
}

.hero-particles span:nth-child(2) {
    top: 30%;
    left: 75%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.hero-particles span:nth-child(3) {
    top: 60%;
    left: 40%;
    animation-duration: 6s;
    animation-delay: 2s;
}

.hero-particles span:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

.hero-particles span:nth-child(5) {
    top: 50%;
    left: 85%;
    animation-duration: 8s;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-40px) scale(1.3);
        opacity: 1;
    }

    100% {
        transform: translateY(-80px) scale(0.8);
        opacity: 0;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--gold-light);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.hero-card-float {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: var(--white);
    width: 100%;
    max-width: 340px;
    animation: bobbing 4s infinite ease-in-out;
}

@keyframes bobbing {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-card-float .hcf-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.hero-card-float .hcf-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hcf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.hcf-item .icon {
    font-size: 1.6rem;
}

.hcf-item .info .name {
    font-size: 0.85rem;
    font-weight: 600;
}

.hcf-item .info .desc {
    font-size: 0.72rem;
    opacity: 0.7;
}

.hcf-item .add-btn {
    margin-left: auto;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: transform var(--transition);
}

.hcf-item .add-btn:hover {
    transform: scale(1.2);
}

.hero-stats {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 340px;
}

.hero-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    color: var(--white);
}

.hero-stat .hs-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-light);
}

.hero-stat .hs-label {
    font-size: 0.7rem;
    opacity: 0.75;
}

/* ---- TRUST BAR ---- */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 40px;
}

.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-item span.ti-icon {
    font-size: 1.3rem;
}

/* ---- SECTION COMMON ---- */
section {
    padding: 80px 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
}

.section-header {
    margin-bottom: 44px;
}

/* ---- CATEGORIES ---- */
.categories-section {
    background: var(--white);
}

.categories-section .section-header {
    text-align: center;
}

.categories-section .section-sub {
    margin: 0 auto;
}

.cat-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.cat-card {
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}

.cat-card:hover,
.cat-card.active {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cat-card:hover .cat-icon,
.cat-card.active .cat-icon {
    transform: scale(1.15);
}

.cat-card:hover .cat-name,
.cat-card.active .cat-name {
    color: var(--white);
}

.cat-card:hover .cat-count,
.cat-card.active .cat-count {
    color: rgba(255, 255, 255, 0.75);
}

.cat-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    transition: transform var(--transition);
}

.cat-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    transition: color var(--transition);
}

.cat-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    transition: color var(--transition);
}

/* ---- PRODUCTS ---- */
.products-section {
    background: var(--cream);
}

.products-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    flex: 1;
    max-width: 380px;
    transition: border-color var(--transition);
}

.search-box:focus-within {
    border-color: var(--green);
}

.search-box input {
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: transparent;
    width: 100%;
    color: var(--text);
}

.search-box span {
    color: var(--text-muted);
    font-size: 1rem;
}

.products-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

/* ---- PRODUCT CARD ---- */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
}

.product-card:hover {
    border-color: var(--green-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.product-card .card-img {
    height: 180px;
    background: linear-gradient(135deg, #e8f5ee 0%, #d1ecdb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.product-card .card-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--green);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.product-card .card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-brand {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 6px;
}

.card-name {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 8px;
    flex: 1;
}

.card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.card-price-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    flex: 1;
}

.btn-add-cart {
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 9px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: var(--green-dark);
    transform: scale(1.04);
}

.btn-add-cart.added {
    background: var(--gold);
}

/* ---- HOW IT WORKS ---- */
.how-section {
    background: var(--green-xdark);
    color: var(--white);
}

.how-section .section-label {
    color: var(--gold-light);
}

.how-section .section-title {
    color: var(--white);
}

.how-section .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.how-section .section-header {
    text-align: center;
}

.how-section .section-sub {
    margin: 0 auto;
}

.steps-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    margin-top: 6px;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.6;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
    background: var(--white);
}

.testimonials-section .section-header {
    text-align: center;
}

.testimonials-section .section-sub {
    margin: 0 auto;
}

.testimonials-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    padding: 28px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--green-light);
}

.tc-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.tc-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 18px;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tc-name {
    font-size: 0.87rem;
    font-weight: 700;
}

.tc-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- CTA BANNER ---- */
.cta-section {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    text-align: center;
    color: var(--white);
}

.cta-section .section-label {
    color: var(--gold-light);
}

.cta-section .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-sub {
    opacity: 0.85;
    margin-bottom: 36px;
    font-size: 1rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- FOOTER ---- */
footer {
    background: var(--green-xdark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 40px 30px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-brand .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.8rem;
}

.footer-bottom .powered {
    color: var(--gold-light);
    font-size: 0.78rem;
}

/* ---- CART DRAWER ---- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    max-width: 95vw;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(.4, 0, .2, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-close {
    background: var(--cream);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.cart-close:hover {
    background: var(--cream-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-empty .empty-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.ci-icon {
    font-size: 2rem;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-info {
    flex: 1;
}

.ci-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ci-brand {
    font-size: 0.72rem;
    color: var(--green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ci-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.qty-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.qty-num {
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.ci-remove {
    font-size: 0.75rem;
    color: #ef4444;
    cursor: pointer;
    margin-left: 8px;
    background: none;
    border: none;
}

.ci-remove:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.cart-summary-row.total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 10px;
}

.btn-whatsapp {
    width: 100%;
    margin-top: 16px;
    background: #25d366;
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 16px;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.cart-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* ---- ANIMATIONS ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 60px 20px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 90px 20px 50px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
    }

    .trust-bar {
        padding: 16px 20px;
    }
}

/* ---- PRODUCT CARD IMAGE WRAP ---- */
.product-card .card-img-wrap {
    height: 190px;
    background: linear-gradient(135deg, #e8f5ee 0%, #d1ecdb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.card-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 100%;
}

/* ---- SCARCITY BADGE ---- */
.card-scarce-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    text-align: center;
}

.badge-scarce {
    display: inline-block;
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

@keyframes pulse-scarce {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

.badge-scarce.pulse {
    animation: pulse-scarce 1.5s infinite;
}

/* ---- VIEWERS ---- */
.card-viewers {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* ---- PRICE BLOCK ---- */
.card-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green-dark);
}

/* ---- CHECKOUT BUTTON in CART ---- */
.btn-checkout {
    display: block;
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    margin-bottom: 10px;
}

.btn-checkout:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 92, 56, .35);
}

/* ---- DISCOUNT PROGRESS BAR ---- */
.discount-progress {
    padding: 12px 20px;
    background: linear-gradient(135deg, #f0faf4, #e3f7ea);
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}

.disc-hint {
    color: var(--text);
    margin-bottom: 8px;
}

.disc-hint strong {
    color: var(--green-dark);
}

.disc-bar-wrap {
    height: 6px;
    background: var(--border);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 4px;
}

.disc-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    border-radius: 50px;
    transition: width .5s ease;
}

.disc-applied {
    font-size: 0.72rem;
    color: var(--green);
    font-weight: 600;
}

.disc-achieved {
    color: var(--green-dark);
    font-weight: 700;
}

/* ---- CART ITEM PRICE ---- */
.ci-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-top: 2px;
}

.cart-summary-row.discount-row span {
    color: #16a34a;
}

/* ---- CROSS-SELL in CART ---- */
.cart-cross-sell {
    padding: 0 20px 12px;
    border-bottom: 1px solid var(--border);
}

.cs-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cs-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    border: 1px solid var(--border);
}

.cs-img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cs-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.cs-info {
    flex: 1;
    min-width: 0;
}

.cs-name {
    font-size: 0.77rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.cs-price {
    font-size: 0.78rem;
    color: var(--green-dark);
    font-weight: 700;
    margin-top: 2px;
}

.cs-add {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.cs-add:hover {
    background: var(--green-dark);
    transform: scale(1.1);
}

/* ---- CHECKOUT MODAL ---- */
.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.checkout-modal.open {
    display: flex;
}

.modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
}

.modal-box {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 680px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    z-index: 1;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--cream);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--border);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 20px;
}

.modal-order-summary {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    font-size: .85rem;
}

.modal-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.modal-item:last-child {
    border-bottom: none;
}

.modal-item.total {
    font-weight: 800;
    font-size: 1rem;
    color: var(--green-dark);
    padding-top: 10px;
}

.modal-item.discount-row span {
    color: #16a34a;
}

.form-section-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin: 20px 0 12px;
}

.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 140px;
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--green);
    background: #fff;
}

.payment-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.payment-opt {
    flex: 1;
    min-width: 160px;
    cursor: pointer;
}

.payment-opt input {
    display: none;
}

.pay-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: all var(--transition);
    background: var(--cream);
}

.payment-opt input:checked+.pay-card {
    border-color: var(--green);
    background: #f0faf4;
    box-shadow: 0 0 0 3px rgba(45, 122, 79, .12);
}

.pay-icon {
    font-size: 1.6rem;
}

.pay-name {
    font-weight: 700;
    font-size: .9rem;
}

.pay-desc {
    font-size: .72rem;
    color: var(--text-muted);
}

.pay-badge {
    margin-left: auto;
    background: var(--green);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    white-space: nowrap;
}

.pix-notice {
    background: #f0faf4;
    border: 1px solid #86efac;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: .83rem;
    color: var(--green-dark);
    margin-bottom: 16px;
}

.btn-submit-order {
    width: 100%;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 8px;
}

.btn-submit-order:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(26, 92, 56, .3);
}

.pix-box {
    background: var(--cream);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.pix-qr {
    font-size: 4rem;
    margin-bottom: 12px;
}

/* ---- EMPTY SEARCH ---- */
.empty-search {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* =========================================
   MOBILE OPTIMIZATIONS — max-width: 480px
   ========================================= */
@media (max-width: 480px) {

    /* Offer banner */
    .offer-banner {
        font-size: 0.7rem;
        padding: 7px 10px;
        line-height: 1.5;
    }

    /* Navbar */
    .navbar {
        padding: 0 14px;
        height: 60px;
    }

    .nav-links {
        display: none;
    }

    .brand-name {
        font-size: 1.05rem !important;
    }

    .cart-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    /* Page hero */
    .page-hero {
        padding: 80px 16px 36px;
    }

    .page-hero h1 {
        font-size: 1.7rem;
    }

    .page-hero p {
        font-size: 0.88rem;
    }

    /* Category filters: horizontal scroll on mobile */
    .cat-filter-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cat-filter-row::-webkit-scrollbar {
        display: none;
    }

    .cf-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.78rem;
        padding: 7px 14px;
    }

    /* Product grid: 1 column */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .catalog-layout {
        padding: 24px 12px 60px;
    }

    .toolbar-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-box {
        max-width: 100%;
        width: 100%;
    }

    /* Cart drawer: full width on mobile */
    .cart-drawer {
        width: 100% !important;
        border-radius: 20px 20px 0 0;
    }

    .cart-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    /* Checkout modal: bottom-sheet style */
    .checkout-modal {
        align-items: flex-end;
    }

    .modal-box {
        padding: 20px 16px 30px;
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
        width: 100%;
        max-width: 100%;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    /* Form fields: 1 column always */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        min-width: unset !important;
        max-width: unset !important;
        width: 100%;
    }

    /* Payment options: stack vertically */
    .payment-options {
        flex-direction: column;
    }

    .payment-opt {
        min-width: unset !important;
    }

    .pay-badge {
        display: none;
    }

    /* Hero section on index.html */
    .hero {
        padding: 80px 16px 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-visual {
        display: none;
    }

    /* Sections */
    section {
        padding: 50px 16px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }
}