
  :root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #d84315;
    --success-color: #2e7d32;
    --text-color-dark: #333;
    --text-color-medium: #666;
    --text-color-light: #999;
    --bg-light: #fff3e0;
    --bg-medium: #ffe0b2;
    --bg-white: #ffffff;
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(255, 107, 53, 0.15);
    --shadow-heavy: rgba(255, 107, 53, 0.25);
    --border-radius-card: 12px;
    --border-radius-btn: 8px;
    --transition-speed: 0.2s;
    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.5;
    color: var(--text-color-dark);
    background: #f8f9fa;
    min-height: 100vh;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-banner {
    position: relative;
    height: 200px;
    background: url('https://i.imgur.com/5W8jxAg.jpeg');
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 0 0 30px 30px; /* Arredonda apenas a parte inferior */
}

/* O overlay também precisa ter o mesmo border-radius */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    border-radius: 0 0 30px 30px; /* Mesmo arredondamento do pai */
}

/* Garante que o conteúdo fique acima do overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    /* Posiciona o conteúdo do texto */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 5; 
}
 

@media (max-width: 480px) {
    .hero-banner {
        height: 150px;
        background-position: center top;
    }
}

@media (min-width: 768px) {
    .hero-banner {
        height: 250px;
        background: url('https://i.imgur.com/78ggnZu.jpeg');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
}

@media (min-width: 1024px) {
    .hero-banner {
        background-attachment: fixed;
        height: 300px;
        background: url('https://i.imgur.com/78ggnZu.jpeg');
        background-size: cover;
        background-position: center;
    }
}

/* Container da Logo - Posiciona a logo *fora* do fluxo normal do banner */
/* Container da Logo com Efeito Stories */
.logo-overlay {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 150px;
    height: 150px;
    cursor: pointer;
    /* Removido box-shadow para o quadrado */
    /* Removido border-radius para evitar forma de quadrado */
}

.stories-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    position: relative;
    width: 150px;   
    height: 150px;
}

 
.circle svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: url(#gradient);
    stroke-linecap: round;
    stroke-width: 3;
    stroke-dasharray: 0, 251;    
    transform: rotate(-90deg);
    z-index: 2;
    opacity: 0;  
}

.circle.show svg {
    opacity: 1;
    transition: opacity 0.5s ease;
}
 
.circle.active svg {
    animation: stroke-draw 3s ease-out forwards;
}
 

.profile-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    z-index: 1;
}

/* Animação para a borda do SVG */
@keyframes stroke-draw {
    0% {
        stroke-dasharray: 0, 251;
    }
    100% {
        stroke-dasharray: 251, 0;
    }
}

/* Media Queries para a logo-overlay */
@media (max-width: 480px) {
  .logo-overlay {
    width: 120px;
    height: 120px;
    bottom: -60px;
  }
  .info-section {
    padding: 70px 0 20px 0;
  }
}

@media (min-width: 768px) {
  .logo-overlay {
    width: 160px;
    height: 160px;
    bottom: -80px;
  }
  .info-section {
    padding: 110px 0 32px 0;
  }
}


@media (min-width: 1024px) {
  .info-section {
    padding: 120px 0 40px 0;
  }
}

/* Estilos para o Modal de Stories */
.stories-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.stories-modal.active {
    opacity: 1;
    visibility: visible;
}

.stories-modal-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    height: 90%;
    max-height: 700px;
    background: black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.stories-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3002;
    padding: 5px;
}

.stories-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.story-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-item.active {
    opacity: 1;
}

.story-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Estilos para a Barra de Progresso do Stories */
.stories-progress-bar {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    display: flex;
    gap: 3px;
    z-index: 3001;
}

.story-progress-segment {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    overflow: hidden;
}

 story-progress-segment-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    width: 0%;
    transition: width 0.1s linear;
}

.story-progress-segment.viewed   {
    width: 100% !important;
    transition: none;
}

.stories-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 3001;
}

.stories-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.2rem;
    width: 36px;   /* largura fixa */
    height: 36px;  /* altura fixa = largura */
    border-radius: 50%; /* sempre redondo */
    cursor: pointer;
    display: flex; /* centraliza ícone */
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.stories-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}


.info-section {
    background: white;
    padding: 80px 0 24px 0; /* Espaço base */
    text-align: center;
}
.info-content {
    max-width: 600px;
    margin: 0 auto;
}

.story-progress-segment.completed .story-progress-segment-fill {
    width: 100% !important;
    background: white !important;
    transition: none !important;
}

.story-progress-segment-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    width: 0%;
    transition: width 0.1s linear;
}




.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 8px var(--shadow-medium);
    cursor: pointer;
}

.social-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px var(--shadow-heavy);
}

.social-btn i {
    font-size: 1.1rem;
}

.social-btn.pix-btn {
    background-color: #20c997;
}

.social-btn.pix-btn:hover {
    background-color: #1a9c7b;
}

.nav-categories {
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.nav-categories-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-categories-container::-webkit-scrollbar {
    display: none;
}

.category-nav-btn {
    flex: 0 0 auto;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--text-color-medium);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    min-width: fit-content;
}

.category-nav-btn:hover,
.category-nav-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-nav-icon {
    font-size: 0.9rem;
}

.categories {
    margin: 16px 0;
    padding-bottom: 100px;
}

.category {
    margin-bottom: 24px;
    background: white;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.category-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    padding: 16px;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.category-icon {
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e9ecef;
}

.product-card {
    background: white;
    transition: all var(--transition-speed) ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-content {
    padding: 12px;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    height: 2.6em;
}

.product-description {
    color: var(--text-color-light);
    margin-bottom: 8px;
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--success-color);
}

.product-stock {
    font-size: 0.7rem;
    color: var(--success-color);
    font-weight: 500;
    text-align: right;
}

.product-stock.low-stock {
    color: #ff9800;
}

.product-stock.out-of-stock {
    color: #f44336;
}

.product-card[data-out-of-stock="true"] {
    opacity: 0.6;
}

.product-card[data-out-of-stock="true"]::after {
    content: "ESGOTADO";
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(244, 67, 54, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
    z-index: 2;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.add-to-cart-btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.add-to-cart-btn i {
    font-size: 0.8rem;
}

.cart-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-heavy);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
}

.cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px var(--shadow-heavy);
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: white;
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    max-height: 100dvh;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 16px;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.cart-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.clear-cart-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.clear-cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 8px;
    border-radius: 50%;
    transition: background var(--transition-speed) ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 20px;
    min-height: 0;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: var(--border-radius-btn);
}

.cart-item-image {
    flex: 0 0 60px;
}

.cart-item-image img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 0.9rem;
    line-height: 1.3;
}

.cart-item-price {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.8rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.quantity-btn:hover {
    background: var(--accent-color);
}

.quantity-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.quantity {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color-dark);
}

.remove-btn {
    background: #f8f9fa;
    color: var(--text-color-medium);
    border: 1px solid #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all var(--transition-speed) ease;
}

.remove-btn:hover {
    background: #fee;
    color: #dc3545;
    border-color: #dc3545;
}

.cart-footer {
    position: relative;
    bottom: 0;
    padding: 20px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    flex-shrink: 0;
    margin-top: auto;
}

.cart-total {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-color-dark);
}

.checkout-btn {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 16px 14px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    position: relative;
    z-index: 20;
    touch-action: manipulation;
}

.checkout-btn:hover {
    background: #2e7d32;
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.copy-pix-btn {
    width: 100%;
    background: #20c997;
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.copy-pix-btn:hover {
    background: #17a2b8;
    transform: translateY(-1px);
}

.copy-pix-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

@supports not (height: 100dvh) {
    .cart-sidebar {
        height: 100vh;
        max-height: 100vh;
    }
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-color-light);
}

.empty-cart-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading {
    text-align: center;
    padding: 40px 20px;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

@keyframes addToCartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.product-card.adding {
    animation: addToCartPulse 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title, .hero-subtitle {
    animation: fadeInUp 0.8s ease-out;
}

.hero-info {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.social-links {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

media (max-width: 480px) {
            .hero-banner {
                height: 150px;
            }
            .main-title {
                font-size: 1.8rem;
            }
            .main-subtitle {
                font-size: 1rem;
                margin-bottom: 24px;
            }
            .info-grid {
                grid-template-columns: 1fr;
                gap: 16px;
                margin-bottom: 24px;
            }
            .info-item {
                padding: 12px;
            }
            .info-section {
                padding: 50px 0 20px 0;
            }
        }
        @media (min-width: 768px) {
            .container {
                max-width: 1200px;
                padding: 0 24px;
            }
            .hero-banner {
                height: 250px;
            }
            .main-title {
                font-size: 2.8rem;
            }
            .main-subtitle {
                font-size: 1.3rem;
            }
            .info-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 32px;
                margin-bottom: 40px;
            }
            .info-section {
                padding: 70px 0 32px 0;
            }
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .cart-sidebar {
                width: 400px;
                right: -400px;
            }
        }
        @media (min-width: 1024px) {
            .products-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            .hero-banner {
                background-attachment: fixed;
                height: 300px;
            }
            .main-title {
                font-size: 3rem;
            }
        }
        @media (max-width: 320px) {
            .product-name {
                font-size: 0.8rem;
            }
            .product-description {
                font-size: 0.7rem;
            }
            .product-price {
                font-size: 0.9rem;
            }
            .main-title {
                font-size: 1.6rem;
            }
            .main-subtitle {
                font-size: 0.9rem;
            }
        }

.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.registration-modal.active {
    opacity: 1;
    visibility: visible;
}

.registration-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.registration-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.registration-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.registration-header p {
    margin: 8px 0 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.registration-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.register-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.register-btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.register-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.user-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    margin: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--text-color-dark);
    margin-bottom: 2px;
}

.user-location {
    color: var(--text-color-medium);
    font-size: 0.8rem;
}

.delete-data-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-data-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .registration-modal {
        padding: 10px;
    }
    .registration-content {
        max-height: 95vh;
    }
    .registration-body {
        padding: 20px;
    }
    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin: 12px;
        padding: 16px;
    }
    .delete-data-btn {
        align-self: flex-end;
    }
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}

.see-more-btn {
    background: #e9ecef;
    color: var(--text-color-dark);
    border: 1px solid #ced4da;
    padding: 8px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.see-more-btn:hover {
    background: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.swal2-modal .product-detail-content {
    text-align: left;
}

.swal2-modal .product-detail-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.swal2-modal .product-detail-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.swal2-modal .product-detail-info p {
    font-size: 1rem;
    color: var(--text-color-medium);
    margin-bottom: 12px;
}

.swal2-modal .product-detail-info strong {
    font-weight: 700;
    color: var(--text-color-dark);
    display: block;
    margin-bottom: 4px;
}

.swal2-modal .product-detail-info .stock-info {
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 600;
}

.swal2-modal .product-detail-info .stock-info.low-stock {
    color: #ff9800;
}

.swal2-modal .product-detail-info .stock-info.out-of-stock {
    color: #f44336;
}

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-modal-header {
    position: relative;
    padding: 0;
}

.product-modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.product-modal-close:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.product-modal-body {
    padding: 24px;
}

.product-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-modal-description {
    color: var(--text-color-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-modal-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.product-modal-info-item {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.product-modal-info-label {
    font-size: 0.8rem;
    color: var(--text-color-light);
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-modal-info-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color-dark);
}

.product-modal-info-value.price {
    color: var(--success-color);
    font-size: 1.4rem;
}

.product-modal-info-value.stock {
    color: var(--success-color);
}

.product-modal-info-value.stock.low-stock {
    color: #ff9800;
}

.product-modal-info-value.stock.out-of-stock {
    color: #f44336;
}

.product-modal-actions {
    display: flex;
    gap: 12px;
}

.product-modal-add-btn {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-modal-add-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.product-modal-add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.product-modal-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.product-modal-quantity-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-modal-quantity-btn:hover {
    background: var(--accent-color);
}

.product-modal-quantity-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.product-modal-quantity-value {
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

@media (max-width: 480px) {
    .product-modal {
        padding: 10px;
    }
    .product-modal-content {
        max-height: 95vh;
    }
    .product-modal-image {
        height: 200px;
    }
    .product-modal-body {
        padding: 20px;
    }
    .product-modal-title {
        font-size: 1.3rem;
    }
    .product-modal-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .product-modal-actions {
        flex-direction: column;
    }
    .product-modal-quantity {
        justify-content: center;
    }
}

.swal-pix-btn {
    background: linear-gradient(135deg, #20c997, #128a70) !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
        
.swal-card-btn {
    background: linear-gradient(135deg, #ff6b35, #e55a2b) !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
        
.swal2-popup {
    border-radius: 16px !important;
}

.reserva-badge {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}
        
.reserva-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
}

/* Animação para a borda carregando (verde) */
@keyframes rotatingBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Aplicação da animação */
.stories-effect.loading::before {
    animation: rotatingBorder 2s linear infinite; /* 2s de duração, linear, infinito */
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px; /* Reduzido de 8px para 4px */
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
 	
.main-subtitle {
    font-size: 0.9rem;
    margin-bottom: 32px;
    color: var(--text-color-medium);
    font-weight: 400;
    line-height: 1.1;
}
.developer-section {
        background-color: #f8f5f0;
        padding: 25px 20px;
        text-align: center;
        font-family: Arial, sans-serif;
        color: #333;
        font-size: 0.9em;
    }
    .developer-section p {
        margin-bottom: 10px;
        font-size: 1.1em;
        line-height: 1.5;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .developer-section p a {
        color: #bc8a5f;
        text-decoration: none;
        font-weight: bold;
    }
    .developer-section p a:hover {
        text-decoration: underline;
    }
 
  /* Modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal {
            background: white;
            border-radius: 20px;
            padding: 0;
            max-width: 500px;
            width: 100%;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            overflow-x: hidden;
            box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
            transform: scale(0.8);
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .modal-overlay.active .modal {
            transform: scale(1);
        }

        .modal-header {
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            padding: 25px;
            text-align: center;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .modal-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255, 255, 255, 0.1) 10px,
                rgba(255, 255, 255, 0.1) 20px
            );
            animation: shimmer 3s linear infinite;
        }

        .modal-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .modal-subtitle {
            font-size: 16px;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }

        .close-button {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: white;
            cursor: pointer;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            z-index: 3;
        }

        .close-button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        .modal-content {
            padding: 30px;
            flex: 1;
            overflow-y: auto;
        }

        .coupons-available {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            margin-bottom: 20px;
            animation: pulse 2s infinite;
        }

        .coupons-count {
            font-size: 24px;
            font-weight: 700;
        }

        .points-display {
            text-align: center;
            margin-bottom: 25px;
        }

        .current-points {
            font-size: 48px;
            font-weight: 700;
            color: #ff6b35;
            margin-bottom: 5px;
        }

        .points-label {
            color: #666;
            font-size: 16px;
            margin-bottom: 20px;
        }

        .progress-section {
            margin-bottom: 25px;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .progress-text {
            font-weight: 600;
            color: #333;
        }

        .next-coupon {
            color: #ff6b35;
            font-weight: 600;
            font-size: 14px;
        }

        .progress-bar {
            width: 100%;
            height: 12px;
            background: #f0f0f0;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #ff6b35, #f7931e);
            border-radius: 10px;
            transition: width 0.8s ease;
            position: relative;
            overflow: hidden;
        }

        .progress-fill::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: progressShine 2s infinite;
        }

        .benefits-section {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 20px;
            margin-top: 20px;
        }

        .benefits-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
            text-align: center;
        }

        .benefit-item {
            display: flex;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

        .benefit-item:hover {
            transform: translateX(5px);
            background: rgba(255, 107, 53, 0.05);
            border-radius: 8px;
            border-bottom: 1px solid transparent;
            padding: 10px;
            margin: 5px 0;
        }

        .benefit-item:last-child {
            border-bottom: none;
        }

        .benefit-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(45deg, #ff6b35, #f7931e);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: white;
            font-weight: 600;
            font-size: 14px;
        }

        .benefit-text {
            flex: 1;
            color: #555;
            line-height: 1.4;
        }
 
        /* Success Message */
        .success-message {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
            z-index: 1001;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.3s ease;
            max-width: 300px;
            font-weight: 500;
        }

        .success-message.show {
            opacity: 1;
            transform: translateX(0);
        }

        /* Animações */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        @keyframes progressShine {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.02); }
            100% { transform: scale(1); }
        }

        /* Responsivo */
        @media (max-width: 600px) {
            .modal-overlay {
                padding: 10px;
            }
            
            .modal {
                width: 100%;
                max-height: calc(100vh - 20px);
            }
            
            .modal-content {
                padding: 20px;
            }
            
            .current-points {
                font-size: 36px;
            }

            .fidelity-btn {
                width: 45px;
                height: 45px;
            }

            .modal-title {
                font-size: 24px;
            }

            .benefits-section,
            .rewards-section {
                margin-top: 15px;
                padding: 15px;
            }
        }

        @media (max-height: 600px) {
            .modal-overlay {
                padding: 10px;
            }

            .modal {
                max-height: calc(100vh - 20px);
            }

            .modal-header {
                padding: 20px;
            }

            .modal-content {
                padding: 20px;
            }

            .current-points {
                font-size: 36px;
            }

            .benefits-section,
            .rewards-section {
                padding: 15px;
                margin-top: 15px;
            }
        }
     .swal2-container {
    z-index: 99999;
}

.ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 6px 12px 8px 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 0 0 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 calc(100% - 8px));
}

.ribbon::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: rgba(0,0,0,0.4);
    border-left-color: rgba(0,0,0,0.4);
}

.product-modal-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 8px 16px 10px 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 0 0 12px 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 calc(100% - 10px));
}

.product-modal-ribbon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.4);
    border-left-color: rgba(0,0,0,0.4);
}

/* Garante que o container da imagem tenha overflow hidden */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-image-wrapper-modal {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}