@keyframes pageLoad {
    0% { opacity: 0; background: #fff; }
    100% { opacity: 1; background: #1a1a1a; }
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1a1a1a;
    color: #fff;
    padding-bottom: 80px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: pageLoad 0.4s ease-out;
}

.top-header {
    background: #dc1414ff;
    color: #fff;
    padding: 8px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Location Popup */
.location-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.location-popup-overlay.active {
    background: rgba(0, 0, 0, 0.7);
}

.location-popup {
    background: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 9999;
    max-width: 400px;
    width: calc(100% - 32px);
    margin: 0 16px;
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s ease;
}

.location-popup.active {
    transform: scale(1);
    opacity: 1;
}

.location-popup .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #333;
    border-top-color: #8b2fc9;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.location-popup p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.location-popup svg {
    margin-bottom: 8px;
    width: 28px;
    height: 28px;
}

.location-popup .popup-content {
    text-align: center;
}

.location-popup .popup-content p {
    margin: 0;
    color: #666;
    font-size: 15px;
    font-weight: 400;
}

/* Header */
.header {
    position: relative;
    z-index: 50;
}

.header.compact {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header.compact .points-bar {
    display: none;
}

.header.compact .banner {
    min-height: 60px;
    padding: 8px 16px;
}

.header.compact .banner::before {
    background: rgba(0, 0, 0, 0.75);
}

.header.compact .store-info {
    display: none;
}

.header.compact .banner::after {
    content: 'Invictus - Pod Shop Delivery 24 Horas';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 700 !important;
    color: #fff !important;
    z-index: 10;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 1) !important;
}

.points-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #8b2fc9;
    font-size: 14px;
    font-weight: 500;
}

.user-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #8b2fc9;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner {
    padding: 12px 16px 60px;
    background: url('../images/banner.jpeg') center/cover no-repeat;
    position: relative;
    min-height: 180px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

.store-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    color: #000;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
}

.rating {
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.last-order {
    background: #8b2fc9;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Store Title */
.store-title {
    background: #1a1a1a;
    padding: 12px 16px 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    z-index: 60;
}

.store-title.hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: -40px auto 12px;
    border: 3px solid #fff;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 61;
}

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

.store-title h1 {
    font-size: 28px;
    margin-bottom: 6px;
    font-weight: 700;
}

.store-title p {
    font-size: 14px;
    margin-bottom: 12px;
    color: #ccc;
    display: block;
}

.delivery-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.delivery-time svg {
    flex-shrink: 0;
    vertical-align: middle;
}

.delivery-time strong {
    font-weight: 700;
}

.info-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 48px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    font-weight: 600;
    width: auto;
    min-width: 200px;
}

/* Tabs */
.tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #1a1a1a;
    position: sticky;
    top: 29px;
    z-index: 99;
    transition: top 0.3s ease;
    border-bottom: 1px solid #333;
}

.tabs-wrapper.compact {
    top: 89px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.icon-btn svg {
    width: 16px;
    height: 16px;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tabs {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    background: transparent;
    border: none;
    color: #666;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.tab.active {
    color: #fff;
    border-bottom-color: #8b2fc9;
}

/* Category Title */
.category-title {
    padding: 20px 16px 12px;
    font-size: 20px;
    font-weight: bold;
}

/* Category Section */
.category-section {
    padding: 20px 16px;
    background: #1a1a1a;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Products Grid */
.products-grid {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #1a1a1a;
}

.product-card {
    background: transparent;
    border-radius: 12px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.product-card:active {
    transform: translateY(-4px);
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount {
    background: #8b2fc9;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.old-price {
    color: #666;
    text-decoration: line-through;
    font-size: 14px;
}

.product-image {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center bottom;
    position: relative;
    background: url('../images/2p75.png') center bottom/130% no-repeat;
}

.add-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #8b2fc9;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f44336;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.image-wrapper {
    position: relative;
}

/* Cart Button */
.cart-btn {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    background: #8b2fc9;
    border: none;
    color: #fff;
    padding: 18px;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(139,47,201,0.4);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    z-index: 100;
}

#cartCount {
    background: #fff;
    color: #8b2fc9;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: flex-end;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #2a2a2a;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

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

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

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

.cart-item-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.cart-item-price {
    color: #999;
    font-size: 14px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #8b2fc9;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #333;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.checkout-btn {
    width: 100%;
    background: #8b2fc9;
    border: none;
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

@media (min-width: 768px) {
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Info Modal */
.info-modal-content {
    max-height: 85vh;
}

.info-content {
    padding: 20px;
    overflow-y: auto;
    background: #2a2a2a;
    max-height: calc(85vh - 70px);
}

.info-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.info-store {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.info-store h2 {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
    color: #fff;
    line-height: 1.3;
}

.info-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.info-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-rating span {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.share-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #fff;
}

.info-content hr {
    border: none;
    border-top: 1px solid #444;
    margin: 20px 0;
}

.info-section {
    margin-bottom: 20px;
}

.info-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 12px;
}

.service-item span {
    flex: 1;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: #ccc;
    line-height: 1.4;
}

.service-detail.warning {
    color: #ff6b6b;
}

.service-detail strong {
    font-weight: 700;
    color: #fff;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #444;
    color: #ccc;
    font-size: 14px;
}

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

.schedule-item.active {
    color: #8b2fc9;
    font-weight: 600;
}

.schedule-item span:first-child {
    font-weight: 500;
}

.schedule-item span:last-child {
    color: #999;
}

.schedule-item.active span:last-child {
    color: #8b2fc9;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 12px;
    border-left: 4px solid #4caf50;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: translateX(4px);
}

.feature-item svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.feature-item div h4 {
    font-size: 15px;
    font-weight: 600;
    color: #4caf50;
    margin-bottom: 6px;
}

.feature-item div p {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin: 0;
}

.security-badges {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.security-badges img {
    max-width: 140px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.security-badges img:hover {
    transform: scale(1.05);
}

/* Search Bar */
.search-bar {
    display: none;
    padding: 16px;
    background: #1a1a1a;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #333;
}

.search-bar.active {
    display: flex;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2a2a2a;
    border: 2px solid #8b2fc9;
    border-radius: 8px;
    padding: 12px 16px;
}

.search-input-wrapper svg {
    color: #8b2fc9;
    flex-shrink: 0;
}

.search-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #999;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.search-input-wrapper input::placeholder {
    color: #666;
}

.search-input-wrapper input:focus {
    outline: none;
    color: #fff;
}

.search-close-btn {
    background: #8b2fc9;
    border: none;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Tabs Menu */
.tabs.show-menu {
    position: fixed;
    top: 80px;
    left: 16px;
    right: auto;
    bottom: auto;
    background: #2a2a2a;
    z-index: 999;
    flex-direction: column;
    padding: 8px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.tabs.show-menu .tab {
    font-size: 16px;
    padding: 16px 20px;
    border-bottom: none;
    text-align: left;
    color: #fff;
    font-weight: 600;
    border-radius: 0;
}

.tabs.show-menu .tab:hover {
    background: rgba(139, 47, 201, 0.1);
}

.tabs.show-menu .tab.active {
    background: rgba(139, 47, 201, 0.2);
    color: #8b2fc9;
    border-bottom: none;
}

/* Profile Modal */
.profile-modal-content {
    max-height: 100vh;
    border-radius: 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.profile-header h3 {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.back-btn {
    background: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.profile-content {
    padding: 20px;
    overflow-y: auto;
    background: #f5f5f5;
}

.profile-user {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0066FF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

.profile-user h2 {
    flex: 1;
    text-align: left;
    font-size: 28px;
    font-weight: 600;
    color: #000;
}

.access-btn {
    background: transparent;
    border: none;
    color: #0066FF;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.participation-section {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.section-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    padding: 0;
}

.participation-content {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.participation-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.participation-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.participation-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.participation-item strong {
    color: #000;
    font-weight: 700;
}

.rewards-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.rewards-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.reward-item:last-of-type {
    border-bottom: none;
}

.reward-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.reward-info {
    flex: 1;
}

.reward-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.reward-info p {
    font-size: 14px;
    color: #0066FF;
}

.terms-btn {
    background: transparent;
    border: none;
    color: #0066FF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.reward-note {
    font-size: 13px;
    color: #666;
    margin-top: 16px;
    line-height: 1.5;
}

.make-order-btn {
    width: 100%;
    background: #0066FF;
    border: none;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Login Form */
.login-form {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.login-form h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.phone-input {
    display: flex;
    gap: 8px;
}

.phone-input select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.phone-input input {
    flex: 1;
}

.validate-btn {
    width: 100%;
    background: #0066FF;
    border: 1px solid #0066FF;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

/* Logout Button */
.logout-btn {
    background: transparent;
    border: none;
    color: #0066FF;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

/* Pending Payment Button */
.pending-payment-btn {
    width: 100%;
    background: #ff9800;
    border: none;
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

/* Profile Logged View */
.profile-logged {
    background: #fff;
    border-radius: 12px;
    padding: 40px 24px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.points-circle {
    width: 200px;
    height: 200px;
    border: 4px solid #0066FF;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0f7ff;
}

.points-circle svg {
    margin-bottom: 8px;
}

.points-circle h2 {
    font-size: 48px;
    font-weight: 700;
    color: #0066FF;
    margin: 0;
}

.points-circle p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Flavor Modal */
.flavor-modal .modal-content {
    max-height: 80vh;
}

.flavor-content {
    padding: 20px;
}

.product-preview {
    text-align: center;
    margin-bottom: 24px;
}

.product-preview .product-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin: 0 auto 12px;
}

.product-preview .product-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.product-preview .product-price {
    font-size: 24px;
    font-weight: 700;
    color: #8b2fc9;
}

.quantity-selector {
    margin-bottom: 24px;
}

.quantity-selector label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.quantity-controls-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 12px;
}

.qty-btn-modal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #8b2fc9;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalQty {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    min-width: 40px;
    text-align: center;
}

.flavors-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.flavor-option {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #1a1a1a;
    border: 2px solid #fff;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.flavor-option:has(input:checked) {
    border-color: #8b2fc9;
    background: #f3e5f5;
}

.flavor-option input {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.add-to-cart-btn {
    width: 100%;
    padding: 16px;
    background: #8b2fc9;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Carousel Section */
.carousel-section {
    padding: 20px 16px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.carousel-section.hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.carousel-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 0 0 16px;
    margin: 0;
}

.carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 140px;
    border-radius: 12px;
    overflow: visible;
    scroll-snap-align: start;
    position: relative;
    background: transparent;
}

.carousel-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 12px;
    margin-bottom: 12px;
}

.carousel-info {
    padding: 8px 0 0;
    background: transparent;
}

.carousel-price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.carousel-discount-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.carousel-discount {
    background: #8b2fc9;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.carousel-old-price {
    color: #666;
    text-decoration: line-through;
    font-size: 12px;
}

.carousel-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.carousel-add-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #8b2fc9;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Favorites Section */
.favorites-section {
    padding: 20px 16px;
    background: #1a1a1a;
}

.favorites-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 0 0 16px;
    margin: 0;
}

/* Reviews Section */
.reviews-section {
    padding: 20px 16px;
    background: #1a1a1a;
}

.review-preview {
    margin-bottom: 16px;
}

.review-image {
    width: 150px;
    margin: 0 auto;
    border-radius: 12px;
    display: block;
}

.view-reviews-btn {
    width: auto;
    background: transparent;
    border: 1px solid #8b2fc9;
    color: #8b2fc9;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
    display: block;
}

.cnpj-text {
    color: #999;
    font-size: 12px;
    margin-top: 8px;
}

.promo-badge {
    position: absolute;
    bottom: 13px;
    left: 6px;
    background: #ff0000;
    color: #fff;
    padding: 3px 8px 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    line-height: 1;
}

.carousel-item .promo-badge {
    position: absolute;
    bottom: 110px;
    left: 6px;
    background: #ff0000;
    color: #fff;
    padding: 3px 8px 2.5px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    line-height: 1;
}

.reviews-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 120px;
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.review-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.review-stars {
    font-size: 11px;
    color: #ffc107;
}

.review-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
}

.reviews-section {
    padding: 16px;
    background: #1a1a1a;
}

.store-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.store-buttons .info-btn {
    padding: 8px 16px;
    min-width: auto;
    font-size: 12px;
}

@keyframes promo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); }
}

.promo-pulse {
    animation: promo-pulse 2s infinite;
}

.site-footer {
    background: #1a1a1a;
    padding: 20px 16px;
    text-align: center;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.rating-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    pointer-events: none;
}

.rating-popup-overlay.active {
    background: rgba(0, 0, 0, 0.5);
}

.rating-popup {
    background: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.rating-popup-overlay.active .rating-popup {
    transform: scale(1);
    opacity: 1;
}

.rating-popup p {
    margin: 0;
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

/* Rating Modal */
.rating-modal-body {
    padding: 20px;
}

.rating-summary {
    text-align: center;
    padding: 20px;
}

.rating-score {
    font-size: 48px;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 8px;
}

.rating-stars {
    font-size: 24px;
    margin-bottom: 8px;
}

.rating-count {
    font-size: 14px;
    color: #999;
}
