:root {
    --primary: #6b21a8; /* Açaí Deep Purple */
    --primary-dark: #581c87;
    --primary-light: #f3e8ff;
    --accent: #a855f7; /* Açaí Bright Violet */
    --accent-light: #faf5ff;
    --bg-main: #f8fafc; /* Very soft slate for background */
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --black-brand: #6b21a8;
    --gold: #f59e0b;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05);
    --shadow-hover: 0 12px 24px -4px rgba(0,0,0,0.12);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #e2e8f0;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.site-app-wrapper {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0,0,0,0.15);
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--black-brand);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

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

@keyframes fadeInScale {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes flashRed {
    0%, 100% { background-color: var(--accent); }
    50% { background-color: #b91c1c; }
}

/* Floating Open Badge */
.glass-badge {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--primary-light);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.5s ease-out;
}

.glass-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulseGlow 2s infinite;
}

/* Top Nav Bar (Zuppy-style) */
.top-nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.top-menu-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #334155;
    cursor: pointer;
}

.top-store-pill {
    background: #f1f5f9;
    padding: 6px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-check-icon {
    color: #3b82f6;
    font-size: 0.9rem;
}

/* Header & Hero Compact */
.main-header {
    background-color: #ffffff;
}

.hero-banner {
    position: relative;
    height: 110px;
    background-color: var(--black-brand);
    display: flex;
    justify-content: center;
}

.banner-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/banner-desktop.webp'); background-size: cover; background-position: center;
    background-size: cover;
    background-position: center;
}

.logo-container {
    position: absolute;
    bottom: -40px;
    width: 85px;
    height: 85px;
    background: #ffffff;
    border-radius: 50%;
    border: 3px solid #ffffff;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    overflow: hidden;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Store Info Section Compact */
.store-info {
    text-align: center;
    padding-top: 44px;
    padding-bottom: 8px;
    background: #ffffff;
}

.store-name {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 4px;
    color: #000000;
}

.verification-badge {
    color: #3b82f6;
    font-size: 1rem;
}

.info-row-1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 3px;
}

.info-dot {
    color: #94a3b8;
}

.badge-free {
    background: #6b21a8;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 5px;
}

.info-row-2 {
    font-size: 0.78rem;
    color: #475569;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.location-icon {
    color: #dc2626;
    margin-right: 2px;
}

.info-row-3 {
    font-size: 0.78rem;
    color: #000000;
    margin-bottom: 6px;
}

.star-icon {
    color: #eab308;
    margin-right: 2px;
}

.reviews-text {
    color: #64748b;
    font-weight: 400;
}

.status-open-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 16px;
    border: 1px solid #6b21a8;
    color: #6b21a8;
    font-size: 0.7rem;
    font-weight: 700;
}

.green-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6b21a8;
}

/* Promos Section Compact */
.promo-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #1e293b;
    padding: 0;
}

.black-banner {
    background: #1e293b;
    color: #ffffff;
    padding: 7px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.78rem;
}

.white-card-banner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 7px;
    margin: 6px 12px;
    text-align: center;
    font-size: 0.78rem;
    color: #334155;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

/* Categories Section matching Screenshot */
.categories-wrapper {
    padding: 16px 16px 10px;
    background: #ffffff;
}

.categories-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 12px;
}

.categories-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 6px;
}

.categories-row::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    background: #f4f4f5;
    color: #3f3f46;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-pill.active {
    background: #18181b;
    color: #ffffff;
}

/* Menu Sections */
.menu-section {
    margin-bottom: 40px;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
    margin-right: 10px;
}

/* Product Grid - Always 1 column inside app container */
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Destaques 3 Columns Layout matching user screenshot */
.destaques-header-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #000000;
    margin: 18px 0 12px;
    padding: 0 16px;
}

.destaques-grid-3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
    max-width: 800px; /* Optional: limit width on large screens */
    margin: 0 auto;
}

.destaques-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    cursor: pointer;
    min-height: 110px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.destaques-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.destaques-badge-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #18181b;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    z-index: 2;
}

.destaques-info {
    order: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-right: 12px;
    padding-left: 0;
}

.destaques-img-wrapper {
    order: 2;
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.destaques-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.destaques-price-main {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #6b21a8; /* Purple */
    line-height: 1.2;
}

.destaques-discount-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 4px;
}

.destaques-old-price {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.destaques-discount-tag {
    background: #dcfce7;
    color: #16a34a;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 2px 8px;
    border-radius: 6px;
}

.destaques-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Card Compact */
.product-card {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--black-brand);
}

.featured-card {
    border: 1.5px solid var(--primary);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.25;
    color: #0f172a;
}

.product-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-bottom: 4px;
    align-self: flex-start;
}

.double-badge {
    background: #fdf4ff;
    color: #a21caf;
}

.discount-badge {
    background: var(--accent-light);
    color: var(--accent);
}

.price-block {
    margin-top: 2px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.old-price {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.highlight-price {
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.scarcity-alert {
    font-size: 0.68rem;
    color: var(--accent);
    margin-top: 3px;
    font-weight: 600;
}

.card-image {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.add-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--black-brand);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    box-shadow: var(--shadow-md);
}

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

.add-btn:active {
    transform: scale(0.95);
}

/* Countdown Promo */
.countdown-promo {
    background: var(--accent-light);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.countdown-promo h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-num {
    background: var(--accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    min-width: 60px;
    font-family: var(--font-heading);
}

.pulse-text {
    animation: flashRed 1s infinite;
}

.time-label {
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

/* Bottom Navigation (App-like) */
.bottom-nav {
    display: none !important;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3px;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    display: block;
    line-height: 1;
}

.bottom-nav-item:hover, .bottom-nav-item.active {
    color: #000000;
}

.cart-trigger {
    position: relative;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
}

/* Product Customization Modal */
/* Full Screen Product Subpage Modal */
.product-card {
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    overflow: hidden;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.product-modal-card {
    background: white;
    width: 100%;
    max-width: 580px;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 0px;
}

/* Eye-Catching Fixed Sticky Close Button */
.close-modal-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.2s, background-color 0.2s;
}

.close-modal-btn:hover {
    transform: scale(1.1);
    background: #dc2626;
}

.modal-product-header {
    position: relative;
}

.modal-product-header img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.modal-product-info {
    padding: 16px;
}

.modal-product-info h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal-product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.modal-product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.modal-options-body {
    padding: 0 16px 20px;
    flex: 1;
}

.option-group {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 14px;
}

.option-group-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.option-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.required-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Option Items with Drink/Side Thumbnails & Quantity Controls */
.option-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.option-item-row:last-child {
    border-bottom: none;
}

.option-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.option-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.option-free-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 2px;
}

.item-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px 8px;
    font-weight: 700;
}

.item-qty-control button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.item-qty-control button:active {
    transform: scale(0.9);
}

.item-qty-control span {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.modal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 14px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    border-radius: 14px;
    padding: 6px 12px;
    font-weight: 700;
}

.quantity-control button {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    color: var(--text-main);
    width: 24px;
}

.btn-add-modal {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22,163,74,0.3);
}

.btn-add-modal:active {
    transform: scale(0.98);
}

/* Mobile High Information Density Optimizations */
@media (max-width: 640px) {
    .container {
        padding: 0 10px;
    }
    .hero-banner {
        height: 180px;
    }
    .logo-container {
        bottom: -65px;
        width: 135px;
        height: 135px;
        border-width: 4px;
    }
    .store-info {
        padding-top: 75px;
    }
    .store-name {
        font-size: 1.25rem;
    }
    .nav-container {
        padding: 8px 10px;
        gap: 8px;
    }
    .nav-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .promo-section {
        gap: 8px;
        margin-bottom: 20px;
    }
    .promo-banner {
        padding: 10px;
        font-size: 0.82rem;
    }
    .menu-section {
        margin-bottom: 24px;
    }
    .section-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    .product-grid {
        gap: 10px;
    }
    .product-card {
        padding: 10px;
        gap: 10px;
        border-radius: 16px;
    }
    .product-title {
        font-size: 0.88rem;
        margin-bottom: 4px;
        line-height: 1.25;
    }
    .product-desc {
        font-size: 0.73rem;
        margin-bottom: 6px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }
    .badge {
        font-size: 0.65rem;
        padding: 2px 6px;
        margin-bottom: 4px;
    }
    .new-price {
        font-size: 0.95rem;
    }
    .old-price {
        font-size: 0.7rem;
    }
    .scarcity-alert {
        font-size: 0.68rem;
        margin-top: 4px;
    }
    .card-image {
        width: 86px;
        height: 86px;
        border-radius: 12px;
    }
    .add-btn {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    .countdown-promo {
        padding: 12px;
        margin-bottom: 24px;
    }
    .countdown-promo h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    .time-num {
        font-size: 1.2rem;
        padding: 6px 12px;
    }
}

/* Floating Green "Finalizar Pedido" Button */
.floating-order-btn {
    display: none !important;
}

.floating-order-btn:hover {
    background: #15803d !important;
    transform: translateY(-2px);
}

.floating-order-btn:active {
    transform: scale(0.98);
}

.floating-order-btn .btn-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-order-btn .btn-price {
    background: rgba(0, 0, 0, 0.18);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 800;
}

/* Footer Elegante e Estruturado */
.site-footer {
    padding: 20px 16px 95px 16px;
    margin-top: 30px;
}

.footer-trust-card {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.official-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.official-badges-row .badge-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 120px;
}

.official-badges-row .badge-item img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.security-banner-pill {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #f3e8ff;
}

.footer-copyright .brand-line {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.footer-copyright .legal-line {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0;
}


/* ==========================================================================
   IMPROVED PRODUCT GRID CARD IMAGE SIZING
   ========================================================================== */


.destaques-card:hover .destaques-img-wrapper img {
    transform: scale(1.05);
}

.destaques-title {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-top: 4px;
}

.destaques-price-main {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #6b21a8 !important;
}

/* ==========================================================================
   PRODUCT MODAL REDESIGN & RESOLUTION FIX
   ========================================================================== */
.modal-product-header {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 20px !important;
    background: linear-gradient(135deg, #fcf7ff 0%, #f3e8ff 100%) !important;
    border-bottom: 1px solid #e9d5ff !important;
}

.modal-product-header img {
    width: 115px !important;
    height: 115px !important;
    min-width: 115px !important;
    max-height: 115px !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    padding: 6px !important;
    box-shadow: 0 6px 16px rgba(92, 29, 99, 0.12) !important;
    border: 1px solid #f3e8ff !important;
}

.modal-product-info h2 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #6b21a8 !important;
    margin-bottom: 4px !important;
}

.modal-product-info p {
    font-size: 0.82rem !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
}

.modal-product-price {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #6b21a8 !important;
}

/* Modal Option Thumbnails */
.option-thumb {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    padding: 2px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    border: 1px solid #f1f5f9 !important;
}

.option-item-row {
    padding: 12px 0 !important;
}

.option-item-name {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.option-free-tag {
    background: #f3e8ff !important;
    color: #6b21a8 !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}

.item-qty-control {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    padding: 3px 8px !important;
}

.item-qty-control button {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #6b21a8 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* Textarea Observação Styling */
.modal-obs-input, #modalObs {
    width: 100% !important;
    min-height: 85px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    color: #1e1b4b !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    resize: vertical !important;
    box-sizing: border-box !important;
}

.modal-obs-input:focus, #modalObs:focus {
    border-color: #6b21a8 !important;
    box-shadow: 0 0 0 4px rgba(92, 29, 99, 0.15) !important;
    background-color: #ffffff !important;
}

/* Modal Footer & Sticky Controls */
.modal-footer-sticky {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 16px 20px !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08) !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.qty-selector-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.qty-label {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #1e1b4b !important;
}

.main-qty-controls {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 30px !important;
    padding: 4px 12px !important;
}

.btn-main-qty {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #6b21a8 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(92, 29, 99, 0.25) !important;
    transition: transform 0.15s ease !important;
}

.btn-main-qty:active {
    transform: scale(0.9) !important;
}

.main-qty-val {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #6b21a8 !important;
    min-width: 24px !important;
    text-align: center !important;
}

.add-to-cart-btn, #addToCartModalBtn {
    width: 100% !important;
    height: 54px !important;
    border-radius: 16px !important;
    border: none !important;
    background: linear-gradient(135deg, #6b21a8 0%, #581c87 100%) !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 22px !important;
    box-shadow: 0 8px 24px rgba(92, 29, 99, 0.35) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.add-to-cart-btn:hover, #addToCartModalBtn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(92, 29, 99, 0.45) !important;
}

#modalBtnTotalPrice {
    background: rgba(255, 255, 255, 0.22) !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    color: #ffffff !important;
    letter-spacing: 0.3px !important;
}

/* ==========================================================================
   SOCIAL PROOF / REVIEWS SECTION STYLING
   ========================================================================== */
.social-proof-section {
    margin-top: 36px;
    margin-bottom: 24px;
    padding: 20px 16px;
    background: #fbf7ff;
    border-radius: 24px;
    border: 1px solid #f3e8ff;
}

.store-rating-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.rating-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: #16a34a;
    line-height: 1;
}

.stars-row {
    color: #f59e0b;
    font-size: 1.1rem;
    display: flex;
    gap: 3px;
}

.rating-count {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b21a8, #581c87);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.verified-badge {
    font-size: 0.68rem;
    color: #6b21a8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.review-date {
    font-size: 0.72rem;
    color: #94a3b8;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.review-text {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.4;
    font-style: italic;
}


/* ==========================================================================
   PERFECT MODAL LAYOUT FIX (NO OVERLAPPING FOOTER)
   ========================================================================== */
.product-modal-card {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 580px !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    overflow: hidden !important; /* Prevent outer container scroll */
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
}

.modal-product-header {
    flex-shrink: 0 !important;
}

.modal-options-body {
    flex: 1 !important;
    overflow-y: auto !important; /* Only options body scrolls! */
    padding: 16px 20px !important;
    -webkit-overflow-scrolling: touch;
}

.modal-footer-sticky {
    flex-shrink: 0 !important;
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 14px 20px calc(18px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08) !important;
    z-index: 100 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}


/* ==========================================================================
   PERFECT PRODUCT CARD & IMAGE SIZING FIX (NO BLANK SPACE)
   ========================================================================== */
/* ==========================================================================
   STACKED PRODUCT LIST STYLING (VERTICAL LIST - ITEM OVER ITEM)
   ========================================================================== */
.destaques-grid-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 16px !important;
}

.destaques-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #f1f5f9 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 16px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
    cursor: pointer !important;
    min-height: 110px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    color: inherit !important;
    position: relative !important;
}

.destaques-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
}

.destaques-info {
    order: 1 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    padding-right: 12px !important;
    padding-left: 0 !important;
}

.destaques-img-wrapper {
    order: 2 !important;
    width: 105px !important;
    height: 105px !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #f8fafc !important;
    padding: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.destaques-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
}

.destaques-badge-overlay {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    left: auto !important;
    background: #ea1d2c !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    z-index: 2 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}


/* ==========================================================================
   OFFICIAL AÇAÍ POINT HERO BANNER STYLING
   ========================================================================== */
.hero-banner {
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    background-color: #15803d !important;
    display: flex !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.banner-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('../images/banner-street.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

@media (min-width: 640px) {
    .hero-banner {
        height: 230px !important;
    }
}


/* ==========================================================================
   ZUPPY-STYLE HEADER LAYOUT
   ========================================================================== */

/* Top Navigation Bar */
.top-nav-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 16px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    z-index: 100 !important;
}

.nav-hamburger {
    background: none !important;
    border: none !important;
    font-size: 1.2rem !important;
    color: #1e293b !important;
    cursor: pointer !important;
    padding: 4px !important;
}

.top-nav-name {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}

/* Banner */
.hero-banner {
    position: relative !important;
    width: 100% !important;
    height: 150px !important;
    margin-top: 42px !important;
    background-color: #15803d !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
}

.banner-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('../images/banner-street.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Logo circle overlapping the bottom edge of the banner */
.logo-container {
    position: absolute !important;
    bottom: -38px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 76px !important;
    height: 76px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    border: 3px solid #ffffff !important;
    z-index: 10 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.logo-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Store Info */
.store-info {
    text-align: center !important;
    padding-top: 46px !important;
    padding-bottom: 8px !important;
    background: #ffffff !important;
}

.store-name {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
}

/* Social Icons */
.social-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    color: #64748b;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon-link:hover {
    border-color: #16a34a;
    color: #16a34a;
}

/* Info rows - each on its own line */
.info-row-single {
    font-size: 0.75rem;
    color: #475569;
    margin-bottom: 2px;
}

.status-row {
    margin-top: 4px;
}

/* Desktop adjustments */
@media (min-width: 640px) {
    .hero-banner {
        height: 280px !important;
    }
}

.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 10px;
    flex: 1 0 auto !important;
}

/* ==========================================================================
   CUSTOM DARK FOOTER STYLING
   ========================================================================== */
.custom-dark-footer {
    background-color: #18181b !important;
    color: #ffffff !important;
    padding: 22px 16px 85px 16px !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    border-top: 1px solid #27272a !important;
    margin-top: auto !important;
    max-width: 520px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 20px 20px 0 0 !important;
}

.footer-links-row {
    margin-bottom: 10px !important;
}

.footer-nav-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: opacity 0.2s !important;
}

.footer-nav-link:hover {
    opacity: 0.8 !important;
}

.footer-trust-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    font-size: 0.82rem !important;
    color: #e4e4e7 !important;
    margin-bottom: 8px !important;
}

.trust-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.trust-item i {
    font-size: 0.88rem !important;
    color: #16a34a !important;
}

.footer-cnpj-row {
    margin-top: 8px !important;
    font-size: 0.72rem !important;
    color: #a1a1aa !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

/* ==========================================================================
   LOCATION POPUP MODAL
   ========================================================================== */
.location-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    padding: 16px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
}

.location-modal-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.location-modal-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    width: 100% !important;
    max-width: 320px !important;
    padding: 28px 20px 24px !important;
    text-align: center !important;
    position: relative !important;
    box-shadow: 0 20px 45px rgba(0,0,0,0.3) !important;
    transform: scale(0.85) !important;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.location-modal-overlay.active .location-modal-card {
    transform: scale(1) !important;
}

.location-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 14px !important;
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: color 0.2s !important;
    padding: 4px !important;
}

.location-modal-close:hover {
    color: #0f172a !important;
}

.radar-spinner {
    position: relative !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 16px !important;
    background: #6b21a8 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.2rem !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(107, 33, 168, 0.4) !important;
}

.radar-spinner::before,
.radar-spinner::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px solid #6b21a8 !important;
    transform: translate(-50%, -50%) scale(1) !important;
    animation: radarWave 1.6s infinite ease-out !important;
    opacity: 0.8 !important;
    pointer-events: none !important;
}

.radar-spinner::after {
    animation-delay: 0.8s !important;
}

@keyframes radarWave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

.loading-progress-bar {
    width: 100% !important;
    height: 5px !important;
    background: #f1f5f9 !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    margin-top: 14px !important;
}

.loading-progress-fill {
    height: 100% !important;
    width: 0% !important;
    background: #6b21a8 !important;
    border-radius: 3px !important;
    animation: fillProgress 2s linear forwards !important;
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.success-check-badge {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 16px !important;
    background: #f3e8ff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.5rem !important;
    color: #6b21a8 !important;
    animation: popCheck 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes popCheck {
    0% { transform: scale(0.3); opacity: 0; }
    75% { transform: scale(1.18); }
    100% { transform: scale(1); opacity: 1; }
}

.location-modal-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
}

.location-modal-subtitle {
    font-size: 0.84rem !important;
    color: #64748b !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.4 !important;
}

.location-modal-btn {
    width: 100% !important;
    background: #6b21a8 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 13px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(107, 33, 168, 0.35) !important;
    transition: all 0.2s !important;
}

.location-modal-btn:hover {
    background: #581c87 !important;
    transform: translateY(-1px) !important;
}

/* ==================================================
   SACOLA (CART) MODAL
   ================================================== */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: none; /* hidden by default */
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cart-modal-overlay.closing {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

/* Header */
.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    width: 100%;
    max-width: 600px;
}
.cart-modal-header button {
    background: none;
    border: none;
    cursor: pointer;
}
.cart-modal-header .btn-back {
    font-size: 1.2rem;
    color: #0f172a;
    padding: 4px;
}
.cart-modal-header .modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}
.cart-modal-header .btn-limpar {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #ea1d2c;
    font-weight: 500;
}

/* Content Area */
.cart-modal-content {
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
    padding-bottom: 120px; /* space for footer */
    width: 100%;
    max-width: 600px;
}

/* Shop Info */
.cart-shop-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #ffffff;
    margin-bottom: 8px;
}
.cart-shop-info img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}
.cart-shop-info-text {
    display: flex;
    flex-direction: column;
}
.cart-shop-info-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}
.cart-shop-info-text a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #ea1d2c;
    text-decoration: none;
    font-weight: 500;
}

/* Section Title */
.cart-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    padding: 20px 20px 12px 20px;
    margin: 0;
    background: #ffffff;
}

/* Items List */
.cart-items-list {
    background: #ffffff;
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cart-item-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cart-item-img-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.cart-item-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.cart-item-edit-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #ea1d2c;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cart-item-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0 0 2px 0;
}
.cart-item-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 8px 0;
}
.cart-item-price {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Quantity Control */
.cart-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    height: 36px;
    padding: 0 12px;
    gap: 16px;
    flex-shrink: 0;
}
.cart-qty-btn {
    background: none;
    border: none;
    color: #ea1d2c;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.cart-qty-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.add-more-items-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #ea1d2c;
    font-weight: 600;
    padding: 16px 0 0 0;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
}

/* Suggestions Carousel */
.cart-suggestions {
    background: #f8fafc;
    padding: 0 0 20px 20px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-bottom: 8px;
}
.cart-suggestions::-webkit-scrollbar {
    display: none;
}
.cart-suggestion-card {
    min-width: 140px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    scroll-snap-align: start;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.cart-suggestion-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 8px;
}
.cart-suggestion-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}
.cart-suggestion-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}
.cart-suggestion-add {
    position: absolute;
    bottom: 40px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea1d2c;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
}

/* Coupons Blocked */
.cart-coupons {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    margin-bottom: 8px;
}
.cart-coupons-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
}
.cart-coupons-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}
.cart-coupons-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Summary */
.cart-summary {
    background: #ffffff;
    padding: 20px;
    padding-bottom: 40px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
}
.cart-summary-row.discount {
    color: #16a34a;
}
.cart-summary-row.total {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.05rem;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* Footer (Sticky) */
.cart-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-footer-info {
    display: flex;
    flex-direction: column;
}
.cart-footer-info span {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2px;
}
.cart-footer-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
}
.cart-footer-price small {
    font-size: 0.95rem;
    font-weight: 400;
    color: #64748b;
}
.cart-btn-continuar {
    background: #ea1d2c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}
