@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #be123c;
    --primary-dark: #881337;
    --primary-light: #fb7185;
    --accent: #fce7f3;
    --bg-main: #ffffff;
    --bg-soft: #fff1f2;
    --text-dark: #1e1b4b;
    --text-muted: #4b5563;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    color: #fbbf24;
}

.hero-badge .status {
    background: #10b981;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Section Shared */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    background: white;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-soft);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f3f4f6;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    scale: 1.1;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.add-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-btn:hover {
    background: var(--primary-dark);
}

/* Footer Section Features */
.features-footer {
    background: var(--bg-soft);
    padding: 3rem 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-item h4 {
    font-weight: 700;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Main Footer */
footer.main-footer {
    background: #2a221f;
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
}

.hours-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.hours-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* About Page Specifics */
.about-hero {
    text-align: center;
    padding: 6rem 0 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    padding: 1rem;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.about-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.about-card i {
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Cart Side Drawer (Functional Hidden) */
#cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

#cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-cart {
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 0.9rem;
}

.cart-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Product Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    position: relative;
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-product-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.modal-header-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.modal-header-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.modal-body textarea {
    width: 100%;
    height: 100px;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: var(--transition);
}

.modal-body textarea:focus {
    border-color: var(--primary);
    background: white;
}

.modal-footer {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-qty-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--bg-soft);
    border-color: var(--primary-light);
}

#modal-qty {
    font-weight: 700;
    font-size: 1.25rem;
}

.modal-add-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-add-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* Carrinho Page */
.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

.cart-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    margin-bottom: 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

.cart-card:hover {
    box-shadow: var(--shadow-sm);
}

.cart-card img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.cart-card-info {
    flex: 1;
}

.cart-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cart-card-info .price-unit {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.cart-card-info .observation {
    font-size: 0.8rem;
    color: var(--primary);
    font-style: italic;
    margin-top: 0.5rem;
}

.cart-card-total {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
}

.card-total-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.remove-item {
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #f3f4f6;
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-row.total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.summary-row.total .price {
    color: var(--primary);
}

/* Empty Cart View */
.empty-cart-state {
    text-align: center;
    padding: 8rem 2rem;
}

.empty-cart-state i {
    font-size: 5rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

.empty-cart-state h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-cart-state p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Checkout Page */
.checkout-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #f3f4f6;
    margin-bottom: 2rem;
}

.checkout-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.checkout-section h3 i {
    color: var(--primary-light);
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.option-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-soft);
}

.option-item.active {
    border-color: var(--primary);
    background: var(--bg-soft);
}

.option-item input {
    accent-color: var(--primary);
    width: 20px;
    height: 20px;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.pix-box {
    margin-top: 1.5rem;
    background: #fdf2f2;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.pix-key-container {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.pix-key {
    flex: 1;
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Coupon Input */
.coupon-input-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.coupon-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    outline: none;
}

.apply-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   CART PAGE — Novos estilos
═══════════════════════════════════════════ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}
.back-link:hover { color: var(--primary); }

.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
}
.cart-overlay.active { display: block; }

.cart-left { flex: 1; }

.cart-card-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-card-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 90px;
}

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0.25rem;
}
.remove-btn:hover { color: #b91c1c; transform: scale(1.1); }

.qty-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.qty-control span { font-weight: 700; font-size: 1rem; }

.summary-row.total-row {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
}
.summary-row.total-row .price { color: var(--primary); font-size: 1.2rem; }

.empty-icon { font-size: 5rem; color: #e5e7eb; margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════
   CHECKOUT LAYOUT
═══════════════════════════════════════════ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.checkout-left-col { min-width: 0; }
.checkout-right-col { position: sticky; top: 100px; }

.sticky-summary { position: sticky; top: 100px; }

/* Section title */
.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}
.section-title i { color: var(--primary-light); }
.section-link {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.section-link:hover { text-decoration: underline; }

/* Option cards (Delivery/Retirada, Payment) */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.payment-grid {
    grid-template-columns: repeat(4, 1fr);
}

.option-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.option-card input[type="radio"] { display: none; }
.option-card:hover {
    border-color: var(--primary-light);
    background: var(--bg-soft);
}
.option-card.active {
    border-color: var(--primary);
    background: #fff5f6;
}
.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
}
.option-icon { font-size: 1.5rem; }
.option-content small { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }

/* Customer form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }

.form-input {
    padding: 0.8rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: #fafafa;
    width: 100%;
}
.form-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(190,18,60,0.08);
}
textarea.form-input { resize: vertical; min-height: 90px; }

/* Coupon */
.coupon-row {
    display: flex;
    gap: 0.75rem;
    margin: 1.25rem 0;
}
.coupon-row .form-input { flex: 1; margin-bottom: 0; }
.coupon-row .btn { flex-shrink: 0; padding: 0.8rem 1.25rem; }

/* Totals block */
.totals-block {
    border-top: 1px solid #f3f4f6;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

/* Payment info boxes */
.payment-info-box {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: #fdf8f9;
    border: 1px solid #fce7f3;
    font-size: 0.9rem;
}
.pix-box { text-align: left; }
.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}
.pix-key-row {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    gap: 1rem;
}
.pix-key {
    flex: 1;
    font-size: 1rem;
    font-family: monospace;
    color: var(--text-dark);
}
.info-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Finalize button */
.btn-finalizar {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 1rem;
}

/* Checkout item rows */
.co-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

/* Sidebar divider */
.summary-divider {
    border: none;
    border-top: 1px solid #f3f4f6;
    margin: 1rem 0;
}

/* Success/Error banners */
.success-banner,
.error-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    font-size: 0.95rem;
    animation: fadeSlideIn 0.3s ease-out;
}
.success-banner {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.success-banner i { color: #22c55e; font-size: 1.5rem; flex-shrink: 0; }
.success-banner strong { display: block; margin-bottom: 0.25rem; }
.error-banner {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
.error-banner i { color: #ef4444; font-size: 1.25rem; flex-shrink: 0; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cart-page-grid {
        grid-template-columns: 1fr;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-right-col {
        position: static;
        order: -1;
    }
    .sticky-summary { position: static; }
    .sidebar-card { position: static; }
    .payment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.25rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: span 1; }
    .options-grid { grid-template-columns: 1fr 1fr; }
    .payment-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-card { flex-wrap: wrap; }
    .cart-card-right { width: 100%; flex-direction: row; align-items: center; min-height: auto; margin-top: 0.5rem; }
    #cart-drawer { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
    .options-grid, .payment-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1rem; }
    .checkout-section { padding: 1.5rem; }
}
