/* =========================================================
   TEMA GERAL - PLAY CAKE'S DELIVERY STYLE
   UI inspirada em iFood / Uber Eats / Rappi
========================================================= */

:root {
    --pink: #ff4b8a;
    --pink-soft: #ffb6d2;
    --red-soft: #ff6b6b;
    --bg: #fff7fb;
    --bg-card: #ffffff;
    --text-main: #3b2632;
    --text-muted: #8a6f7f;
    --border-soft: #f1d7e5;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #ffeafd, #ffeef3 30%, #fff7fb 70%);
    color: var(--text-main);
}

/* Classe utilitária genérica que pode aparecer em vários lugares */
.hidden {
    display: none !important;
}
/* BADGE DO CARRINHO */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3e8a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ANIMAÇÃO DE PULSO */
@keyframes cart-pulse {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* ANIMAÇÃO DE SALTO */
@keyframes cart-bounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-6px); }
    60%  { transform: translateY(2px); }
    100% { transform: translateY(0); }
}

/* Classe aplicada na animação */
.cart-animate {
    animation: cart-pulse 0.35s ease-out, cart-bounce 0.45s ease-out;
}
.cart-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #ff3e8a;
    color: #fff;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 6px rgba(0,0,0,.25);
    transform: scale(0);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}

.cart-badge.show {
    transform: scale(1);
    opacity: 1;
}

/* =========================================================
   LOADER
========================================================= */

#loader-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #ffe3f0, #ffb6d2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
}
.btn-finalizar.disabled {
    background: #cfcfcf !important;
    color: #777 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}


.loader-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    animation: pulse-logo 1.6s infinite ease-in-out;
}

.loader-dots {
    margin-top: 12px;
}

.loader-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.3;
    animation: dotPulse 1s infinite ease-in-out;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.1));
    }
    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* ============================
   MODAL - PlayCake's Style
============================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.85);
    width: 92%;
    max-width: 360px;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    z-index: 2001;

    opacity: 0;
    pointer-events: none;

    box-shadow: 0 12px 30px rgba(255, 75, 138, 0.35);
    border: 2px solid rgba(255, 132, 175, .45);

    transition: opacity .25s ease, transform .25s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 8px;
}

.modal-text {
    font-size: 15px;
    color: var(--text-main);
}

.modal-actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-btn {
    padding: 10px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

/* Botão SIM → login */
.modal-btn-login {
    background: linear-gradient(135deg, var(--pink), var(--red-soft));
    color: #fff;
    box-shadow: 0 6px 15px rgba(255, 75, 138, 0.4);
}

.modal-btn-login:hover {
    opacity: .92;
    transform: translateY(-2px);
}

/* Botão NÃO → cadastro */
.modal-btn-register {
    background: #fff;
    border: 2px solid var(--pink);
    color: var(--pink);
}

.modal-btn-register:hover {
    background: var(--pink-soft);
    color: #fff;
}

/* Botão X */
.modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
    color: #ff4b8a;
    font-weight: bold;
    z-index: 999999;
}

/* =========================================================
   OVERLAY PARA VISITANTE DESLOGADO
========================================================= */

#guest-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 0, 18, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 20;
}

body.guest-mode #guest-overlay {
    opacity: 1;           /* mostra o escurecimento */
    pointer-events: none; /* mas NÃO bloqueia cliques */
}

/* =========================================================
   NAVBAR SUPERIOR
========================================================= */

.top-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 5px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 14px rgba(255, 75, 138, 0.15);
    border-bottom: 1px solid #ffe0f0;
}

.logo {
    height: 50px;
}

.cart-icon {
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-icon:hover {
    transform: translateY(-2px) scale(1.03);
}

.nav-center {
    flex: 1;
    padding: 0 10px;
}

.search-wrapper {
    position: relative;
}

/* Campo de busca */
#search-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 75, 138, 0.3);
    outline: none;
    font-size: 14px;
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(255, 75, 138, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

#search-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 2px rgba(255, 75, 138, 0.22);
    transform: translateY(-1px);
}

/* =========================================================
   SUGESTÕES DE BUSCA
========================================================= */

.search-suggestions {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    padding: 6px 0;
    display: none;
    z-index: 9999;
}

.search-suggestions.visible {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    gap: 12px;
    transition: background 0.2s ease;
}

.suggestion-item:hover {
    background: #fff3f7;
}

.suggestion-img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
}

.s-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.s-price {
    font-size: 13px;
    color: #ff4b8a;
    font-weight: 600;
}

.suggestion-more {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ff4b8a;
    cursor: pointer;
    border-top: 1px solid #f3f3f3;
}

.suggestion-more:hover {
    background: #ffe6ef;
}

/* =========================================================
   HERO / BANNER PRINCIPAL
========================================================= */

.hero-section {
    position: relative;
    margin-top: 6px;
}

.hero-slider {
    width: 100%;
    height: 230px;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
    margin: 0 auto;
    max-width: 1120px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    background-attachment: fixed;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;

}

.hero-slide.active {
    opacity: 1;
}




/* Nome da empresa dentro do hero */
.hero-company-name {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    font-weight: 800;
    font-size: 32px;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

/* =========================================================
   SEÇÃO "MAIS PEDIDOS"
========================================================= */

.section-title {
    margin: 18px auto 6px;
    max-width: 1120px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.section-title::before {
    content: "★";
    color: var(--pink);
    font-size: 18px;
}

.top-products-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    max-width: 1120px;
    margin: 0 auto;
}

.scroll-btn {
    border: none;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--pink), var(--red-soft));
    color: #fff;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.top-products-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 10px 4px;
}

/* cartão de destaque (mais pedidos) */
.top-product-card {
    min-width: 160px;
    max-width: 160px;
    background: var(--bg-card);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.top-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.top-product-card img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.top-product-name {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
}

.like-badge {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.like-badge button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.16s ease;
}

.like-badge button.liked {
    transform: scale(1.15);
}

/* =========================================================
   GRID DE PRODUTOS
========================================================= */

.products-section {
    margin-top: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    padding: 0 10px 18px;
    max-width: 1120px;
    margin: 0 auto;
}

/* cartão do produto */
.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-4px);
    opacity: 0.96;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: cover;
    border-radius: 16px;
}

.product-name {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
}

.product-price {
    margin-top: 4px;
    font-weight: 700;
    color: var(--red-soft);
}

.product-like {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-like button {
    border-radius: 999px;
    border: none;
    padding: 4px 10px;
    background: rgba(255, 182, 193, 0.35);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: background 0.16s ease, transform 0.16s ease;
}

.product-like button.liked {
    background: var(--pink);
    color: #fff;
    transform: translateY(-1px);
}

.product-like span {
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================================================
   BOTÃO "VER MAIS"
========================================================= */

.load-more-wrapper {
    text-align: center;
    margin-bottom: 22px;
}

.btn-primary {
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--pink), var(--red-soft));
    color: white;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.14s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 75, 138, 0.35);
    opacity: 0.95;
}

/* =========================================================
   BOTÃO FLUTUANTE DO USUÁRIO (AVATAR)
========================================================= */

.user-fab {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 182, 210, 0.55);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.user-fab:hover {
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
    background: rgba(255, 255, 255, 0.26);
}

.user-avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

/* Círculo verde de status online */
.user-status-circle {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2.5px solid #fff;
}

/* PISCAR QUANDO VISITANTE */
body.guest-mode .user-fab {
    animation: fabPulse 1.3s infinite;
}

@keyframes fabPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 182, 193, 0.8); }
    70%  { box-shadow: 0 0 0 20px rgba(255, 182, 193, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 182, 193, 0); }
}

/* =========================================================
   MENU DO USUÁRIO (FLUTUANTE)
========================================================= */

.user-menu {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 260px;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 16px 0 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(20px) scale(0.94);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border: 2px solid rgba(255, 182, 193, 0.45);
    z-index: 998;
}

/* estado aberto */
.user-menu.open {
    opacity: 1;
    transform: translateY(0px) scale(1);
    pointer-events: auto;
}

/* Cabeçalho */
.user-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 16px;
}

.menu-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #56d330;
    margin-bottom: 8px;
}

.menu-welcome {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 1px 3px rgba(255, 182, 193, 0.6);
}

/* Botões internos */
.user-menu-items button {
    width: 88%;
    margin: 6px auto;
    padding: 11px 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pink), var(--red-soft));
    color: white;
    font-size: 15px;
    display: block;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255, 75, 138, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.16s ease;
}

.user-menu-items button:hover {
    transform: translateY(-2px) scale(1.02);
    opacity: 0.95;
    box-shadow: 0 10px 22px rgba(255, 75, 138, 0.55);
}

/* =========================================================
   FORMULÁRIOS GERAIS (login, registro, etc.)
========================================================= */

.auth-container,
.profile-box,
.sac-container {
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    border-radius: 22px;
}

.auth-container h1,
.profile-box h2,
.sac-container h1 {
    color: var(--text-main);
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-slider {
        height: 200px;
        border-radius: 20px;
    }
}

/* ===================================
   CARRINHO LATERAL (iFood Style)
=================================== */

/* ============================================
   🛒 CARRINHO LATERAL — GLASS PINK NEON iOS19
============================================ */

#cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100%;
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    background: rgba(255, 255, 255, 0.18);

    border-left: 2px solid rgba(255, 80, 160, 0.45);
    box-shadow: -8px 0 30px rgba(255, 50, 120, 0.35);

    z-index: 99999;
    transition: right .45s cubic-bezier(.25, .8, .25, 1);

    display: flex;
    flex-direction: column;

    /* Glow externo suave */
    box-shadow:
        -4px 0 18px rgba(255, 80, 140, 0.35),
        inset -1px 0 8px rgba(255, 255, 255, 0.35);
}

#cart-sidebar.open {
    right: 0;
}

/* Overlay */
#cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.60);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 99998;
    transition: opacity .35s ease;
}
#cart-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
   HEADER — Glass Neon
============================================ */
.cart-header {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 70, 150, 0.25);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 110, 170, 0.4);

    color: #fff;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .5px;

    box-shadow: 0 6px 18px rgba(255, 80, 160, 0.25);
}

/* Botão X */
#close-cart {
    border: none;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(12px);
    color: #fff;

    width: 34px;
    height: 34px;
    border-radius: 12px;

    cursor: pointer;
    font-size: 22px;
    font-weight: bold;

    transition: .2s ease;
}
#close-cart:hover {
    background: rgba(255, 80, 160, 0.4);
    transform: scale(1.1);
}

/* ============================================
   LISTA DE ITENS
============================================ */

#cart-items {
    flex: 1;
    padding: 12px 16px;
    overflow-y: auto;
}

/* Barra de rolagem neon */
#cart-items::-webkit-scrollbar {
    width: 8px;
}
#cart-items::-webkit-scrollbar-thumb {
    background: rgba(255, 80, 150, .6);
    border-radius: 20px;
}
#cart-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .1);
}

/* ITEM */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(255, 120, 170, 0.25);

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12),
                inset 0 0 12px rgba(255, 60, 140, 0.35);

    margin-bottom: 14px;
    backdrop-filter: blur(18px);

    position: relative;

    transition: transform .25s ease, box-shadow .25s ease;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 60, 140, 0.35);
}

.cart-item img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(255, 80, 160, 0.35);
}

.cart-item-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.cart-item-price {
    margin-top: 4px;
    font-weight: 700;
    color: #ffd2e8;
}

/* Quantidade */
.cart-qty {
    margin-top: 6px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.cart-qty button {
    width: 28px;
    height: 28px;

    border-radius: 10px;
    border: none;

    background: rgba(255, 120, 180, .35);
    backdrop-filter: blur(12px);

    color: #fff;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;

    box-shadow: 0 3px 10px rgba(255, 70, 150, 0.35);

    transition: .20s ease;
}
.cart-qty button:hover {
    background: rgba(255, 80, 160, .55);
    transform: scale(1.12);
}

/* Remover item */
.cart-item .remove-item {
    position: absolute;
    right: 8px;
    top: 8px;

    background: rgba(255, 60, 120, .45);
    backdrop-filter: blur(12px);

    color: #fff;
    width: 26px;
    height: 26px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 16px;

    transition: .2s;
}
.cart-item .remove-item:hover {
    background: rgba(255, 20, 80, .7);
    transform: scale(1.15);
}

/* ============================================
   FOOTER — Total e Finalizar Pedido
============================================ */
.cart-footer {
    padding: 16px;
    background: rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 120, 170, 0.35);

    backdrop-filter: blur(22px);
}

.cart-total {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(255, 80, 160, 0.45);

    margin-bottom: 16px;
}

.btn-finalizar {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(135deg, #ff4b8a, #ff7bb0);
    color: #fff;

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 8px 22px rgba(255, 80, 160, 0.5),
                0 0 18px rgba(255, 120, 180, .55);

    transition: .25s ease;
}

.btn-finalizar:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 34px rgba(255, 80, 160, 0.7),
                0 0 22px rgba(255, 140, 200, .75);
}

/* ============================
   BOTÃO DE ADICIONAR AO CARRINHO
============================= */

.product-actions {
    width: 100%;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.btn-add-cart {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    background: linear-gradient(135deg, var(--pink), var(--red-soft));
    color: #fff;

    box-shadow: 0 6px 18px rgba(255, 75, 138, 0.35);
    transition: 0.2s ease;
}

.btn-add-cart:hover {
    transform: translateY(-2px) scale(1.02);
    opacity: 0.95;
}

.smooth {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 25px;

    opacity: 0.8;
    letter-spacing: 0.5px;

    animation: smoothFade 2.5s ease-in-out infinite alternate;
}

/* animação suave */
@keyframes smoothFade {
    0%   { opacity: 0.5; }
    100% { opacity: 1; }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slider {
        height: 180px;
    }

    .hero-company-name {
        font-size: 24px;
        top: 58%;
    }

    .logo {
        height: 50px;
    }

    .user-menu {
        right: 12px;
        width: 240px;
    }

    .user-fab {
        right: 14px;
        bottom: 16px;
    }
}

/* Impede arrastar imagens */
img {
    -webkit-user-drag: none;
}

/* Impede selecionar qualquer coisa */
body, * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#guest-overlay {
    pointer-events: none !important;
}
