:root {
    /* Light Mode (Default - Nubank Clean Style) */
    --bg-color: #F5F5F7;
    --card-bg: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #2d2d2d;
    --accent-color: #820AD1;
    --accent-hover: #9933E6;
    --input-bg: #F0F0F5;
    --border-color: #E5E5E5;
    --shadow-color: rgba(0, 0, 0, 0.1);

    --border-radius: 12px;
    --transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] {
    /* Dark Mode (Original) */
    --bg-color: #121212;
    --card-bg: #1F1F1F;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --accent-color: #820AD1;
    --accent-hover: #9933E6;
    --input-bg: #2a2a2a;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--card-bg);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.search-bar {
    display: flex;
    background-color: var(--input-bg);
    border-radius: 25px;
    padding: 5px 15px;
    border: 1px solid var(--border-color);
    flex-grow: 1;
    max-width: 400px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    width: 100%;
    outline: none;
}

.search-bar button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-bar button:hover {
    color: var(--accent-color);
}

/* Hero Carousel */
.hero-carousel {
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    background-color: var(--card-bg);
}

.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide.active {
    display: block;
    animation: fadeHero 1s;
}

@keyframes fadeHero {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 10px;
    color: #fff;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.hero-price-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-btn {
    display: inline-block;
    background-color: white;
    color: var(--bg-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Products Grid */
.products-grid,
#catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #2a2a2a;
}

/* === BADGES DE DESTAQUE === */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-bestseller {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    animation: pulse-badge 2s infinite;
}

.badge-lowstock {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    animation: shake 0.5s ease-in-out infinite;
}

.badge-hot {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    75% {
        transform: translateX(2px);
    }
}

/* === CONTADOR DE VISUALIZAÇÕES === */
.viewers-count {
    background: rgba(0, 0, 0, 0.7);
    color: #fbbf24;
    font-size: 0.75rem;
    padding: 6px 12px;
    text-align: center;
    font-weight: 600;
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* === TIMER DE URGÊNCIA === */
.pix-timer {
    margin-top: 8px;
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border: 1px solid #ef4444;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #fca5a5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.timer-icon {
    animation: pulse 1s infinite;
}

.timer-countdown {
    font-weight: 700;
    color: #ef4444;
    font-family: 'Courier New', monospace;
}

/* === CTA COM PULSO === */
.btn-cta-pulse {
    animation: cta-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(130, 10, 209, 0.7);
}

@keyframes cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(130, 10, 209, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(130, 10, 209, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(130, 10, 209, 0);
    }
}

.btn-cta-pulse:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(130, 10, 209, 0.5);
}

/* Posição relativa para o card suportar badges */
.product-card {
    position: relative;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-price {
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-details {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: auto;
}

.btn-details:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Thumbnails */
.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    gap: 10px;
    padding: 10px;
    background-color: var(--input-bg);
    overflow-x: auto;
    white-space: nowrap;
    border-bottom-left-radius: var(--border-radius);
}

/* Modal Body - Layout responsivo */
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 768px) {
    .thumbnails-container {
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: 0;
    }

    .modal-body {
        flex-direction: row;
        gap: 20px;
        padding: 20px;
    }

    .modal-body .modal-image {
        flex: 0 0 50%;
        max-width: 50%;
        min-height: auto;
    }

    .modal-body .modal-info {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0;
    }

    .modal-content {
        max-width: 950px;
    }
}

.thumbnail {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
    background-color: var(--border-color);
    flex-shrink: 0;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    opacity: 1;
    gap: 20px;
}

.modal-image {
    flex: 1;
    background-color: var(--input-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
}

.modal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Modal title - avoid overlap with close button */
.modal-info h2 {
    padding-right: 45px;
    margin-bottom: 15px;
}

.category-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    width: fit-content;
}

#modalDesc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Carousel Container (Modal) */
.carousel-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    display: flex;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.prev {
    left: 0 !important;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0 !important;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(130, 10, 209, 0.8);
}

.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 5;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--accent-color);
}

.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* Hero Carousel Controls */
.hero-prev,
.hero-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.hero-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(130, 10, 209, 0.8);
}

.hero-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 5;
}

.hero-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background-color: var(--accent-color);
}

.hero-loading {
    text-align: center;
    padding: 100px;
    color: var(--text-secondary);
}

.loading {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--text-secondary);
    margin-top: 15px;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.payment-icons span {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-icons span:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

/* Support Button (Header) */
.btn-support {
    background-color: transparent;
    border: 1px solid #25d366;
    color: #25d366;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}



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

.modal-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: fixed;
    top: auto;
    right: auto;
    cursor: pointer;
    z-index: 1001;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    /* Clean minimal design */
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-color);
    /* Center the X properly */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    text-align: center;
}

/* Light theme */
:root .close-modal,
[data-theme="light"] .close-modal {
    background: #ffffff;
    border-color: #e0e0e0;
    color: #666666;
}

/* Dark theme */
[data-theme="dark"] .close-modal {
    background: #2a2a2a;
    border-color: #444444;
    color: #aaaaaa;
}

/* Hover - using accent color (purple) for harmony */
.close-modal:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(130, 10, 209, 0.4);
}

.close-modal:active {
    transform: scale(1);
}

/* Position close button relative to modal-content */
.modal-content {
    position: relative;
}

.modal-content .close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Responsive - mobile adjustments */
@media (max-width: 768px) {
    .close-modal {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .modal-content .close-modal {
        top: 10px;
        right: 10px;
    }
}

/* === BARRA DE AÇÃO FLUTUANTE (STICKY) === */
.modal-sticky-bar {
    position: sticky;
    bottom: 0;
    background: var(--card-bg);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    z-index: 100;
    gap: 15px;
    box-shadow: 0 -5px 20px var(--shadow-color);
}

.sticky-price-container {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.sticky-price-label {
    font-size: 0.75rem;
    color: #333333;
    text-transform: uppercase;
    font-weight: 600;
}

[data-theme="dark"] .sticky-price-label {
    color: #22c55e;
}

.sticky-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1.2;
}

.sticky-price-original {
    font-size: 0.8rem;
    color: #ff4444;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.sticky-cart-btn {
    width: 48px;
    height: 48px;
    background: var(--input-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.sticky-cart-btn:hover {
    border-color: var(--accent-color) !important;
    color: var(--accent-color);
}

.sticky-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.sticky-buy-btn {
    flex: 1;
    max-width: 200px;
    padding: 14px 24px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    animation: cta-pulse 2s ease-in-out infinite;
}

.sticky-whatsapp-btn {
    width: 48px;
    height: 48px;
    background: #25D366 !important;
    border: none !important;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sticky-whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .modal-sticky-bar {
        padding: 12px 15px;
        gap: 10px;
    }

    .sticky-price {
        font-size: 1.2rem;
    }

    .sticky-buy-btn {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }

    .sticky-whatsapp-btn {
        width: 44px;
        height: 44px;
    }
}

/* Product Price Styles */
.price-original {
    color: #ff4444;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 5px;
}

.price-discount {
    color: var(--accent-color);
    font-weight: 700;
}


.hero-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(130, 10, 209, 0.8);
}

.hero-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 5;
}

.hero-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background-color: var(--accent-color);
}

.hero-loading {
    text-align: center;
    padding: 100px;
    color: var(--text-secondary);
}

.loading {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--text-secondary);
    margin-top: 15px;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.payment-icons span {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-icons span:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Support Button (Header) */
.btn-support {
    background-color: transparent;
    border: 1px solid #25d366;
    color: #25d366;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}



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

.modal-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent-color);
}

/* Product Price Styles */
.price-original {
    color: #ff4444;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 5px;
}

.price-discount {
    color: #00cc66;
    font-size: 1.3rem;
    font-weight: bold;
}

.price-regular {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .price-action {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }

    .price-action .price {
        margin-bottom: 10px;
    }

    .price-action>div {
        width: 100%;
        justify-content: center;
    }

    .price-action .btn-primary {
        width: 100%;
    }
}

/* Increased spacing for modal title */
.modal-info h2 {
    margin-bottom: 30px;
}

/* Benefits Bar */
.benefits-bar {
    background-color: var(--input-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.benefits-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.benefit-item svg {
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #ccc;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--accent-color);
    font-weight: 600;
    text-align: right;
}

@media (max-width: 768px) {
    .benefits-content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        width: 100%;
        justify-content: center;
    }
}

/* My Account / Orders Page Styles */
.profile-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.profile-tab {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 5px 10px;
    transition: var(--transition);
    position: relative;
}

.profile-tab:hover {
    color: var(--text-primary);
}

.profile-tab.active {
    color: var(--accent-color);
}

.profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.profile-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.profile-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #333;
    transition: var(--transition);
}

.order-card:hover {
    border-color: #444;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    margin-bottom: 15px;
}

.order-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-paid {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-shipped {
    background-color: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

.status-cancelled {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.order-items-list {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.95rem;
}

.order-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    margin-top: 10px;
}

.actions-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-end;
    /* Align buttons to right */
    gap: 10px;
    flex-wrap: wrap;
}

.form-section h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

@media(max-width: 600px) {
    .order-header {
        flex-direction: column;
        gap: 10px;
    }

    .actions-container {
        justify-content: stretch;
    }

    .actions-container button,
    .actions-container a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid #00C851;
}

.toast.error {
    border-left: 4px solid #ff4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.orders-page {
    padding-bottom: 60px;
    min-height: 80vh;
}

/* ========================================
   SISTEMA DE NOTIFICAÇÕES VISUAIS
   ======================================== */

/* Container de Notificações Toast */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

/* Notificação Individual */
.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-left: 4px solid;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    min-width: 300px;
}

.notification-show {
    opacity: 1;
    transform: translateX(0);
}

.notification-hide {
    opacity: 0;
    transform: translateY(-10px);
}

/* Tipos de Notificação */
.notification-success {
    border-left-color: #00C851;
}

.notification-success .notification-icon {
    color: #00C851;
}

.notification-error {
    border-left-color: #ff4444;
}

.notification-error .notification-icon {
    color: #ff4444;
}

.notification-info {
    border-left-color: #33b5e5;
}

.notification-info .notification-icon {
    color: #33b5e5;
}

.notification-warning {
    border-left-color: #ffbb33;
}

.notification-warning .notification-icon {
    color: #ffbb33;
}

/* Ícone da Notificação */
.notification-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mensagem da Notificação */
.notification-message {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Botão Fechar Notificação */
.notification-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Modal de Confirmação - Overlay */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-modal-show {
    opacity: 1;
}

/* Modal de Confirmação - Card */
.confirm-modal {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.confirm-modal-show .confirm-modal {
    transform: scale(1);
}

/* Botão X para fechar modal */
.confirm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    z-index: 10;
}

.confirm-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}


/* Ícone do Modal */
.confirm-modal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.confirm-modal-info .confirm-modal-icon {
    color: #33b5e5;
}

.confirm-modal-success .confirm-modal-icon {
    color: #00C851;
}

.confirm-modal-error .confirm-modal-icon {
    color: #ff4444;
}

.confirm-modal-warning .confirm-modal-icon {
    color: #ffbb33;
}

/* Mensagem do Modal */
.confirm-modal-message {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Botões do Modal */
.confirm-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-modal-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-width: 120px;
}

.confirm-modal-btn-confirm {
    background: var(--accent-color);
    color: white;
}

.confirm-modal-btn-confirm:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.confirm-modal-btn-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid #444;
}

.confirm-modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        min-width: auto;
        width: 100%;
    }

    .confirm-modal {
        width: 95%;
        padding: 25px 20px;
    }

    .confirm-modal-buttons {
        flex-direction: column;
    }

    .confirm-modal-btn {
        width: 100%;
    }
}

/* ===================================
   COLOR PICKER MODAL - Seleção de Cor
   =================================== */

.color-picker-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.color-picker-overlay.active {
    display: flex;
}

.color-picker-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(130, 10, 209, 0.15);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.color-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.color-picker-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.color-picker-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.color-picker-close:hover {
    background: var(--input-bg);
    color: var(--text-primary);
}

.color-picker-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.color-picker-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1 1 calc(50% - 6px);
    min-width: 120px;
}

.color-picker-option:hover {
    border-color: var(--accent-color);
    background: var(--card-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 10, 209, 0.3);
}

.color-picker-option:active {
    transform: scale(0.98);
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.color-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.color-picker-cancel {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.color-picker-cancel:hover {
    background: var(--input-bg);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* Mobile responsiveness for color picker */
@media (max-width: 480px) {
    .color-picker-content {
        padding: 20px;
        margin: 10px;
    }

    .color-picker-option {
        flex: 1 1 100%;
    }

    .color-picker-header h3 {
        font-size: 1.1rem;
    }
}

/* Prevent Auto-Zoom on Mobile Inputs */
@media screen and (max-width: 768px) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ============================================== */
/* === SEÇÃO DE DEPOIMENTOS - Light/Dark Theme === */
/* ============================================== */
.testimonials-section {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.testimonials-section .section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-card .testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .testimonial-author {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================== */
/* === AJUSTES DE CORES DO TEMA LIGHT === */
/* ============================================== */
/* Cores específicas que precisam funcionar em ambos os temas */

/* Timer de Oferta */
.pix-timer {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1)) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

[data-theme="dark"] .pix-timer {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2)) !important;
}

.pix-timer .timer-text {
    color: var(--text-secondary);
}

/* Botões secundários no tema Light */
.color-picker-option,
.sticky-cart-btn {
    background: var(--input-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

.color-picker-option:hover,
.sticky-cart-btn:hover {
    border-color: var(--accent-color) !important;
    background: var(--card-bg) !important;
    color: var(--accent-color) !important;
}

/* Swatch de cor e nome */
.color-name {
    color: var(--text-primary) !important;
}

/* Botão cancelar no picker */
.color-picker-cancel {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

.color-picker-cancel:hover {
    background: var(--input-bg) !important;
    color: var(--text-primary) !important;
}

/* Header icons para tema Light (ícones do carrinho e usuário) */
.profile-link svg,
.cart-link svg {
    color: var(--text-primary) !important;
    stroke: var(--text-primary) !important;
}

/* Modal sticky bar no tema Light */
.modal-sticky-bar {
    background: var(--card-bg) !important;
    border-top-color: var(--border-color) !important;
}

.sticky-price-original {
    color: var(--text-secondary) !important;
}

/* Preço original riscado no card */
.price-original {
    color: #ef4444 !important;
}

/* Placeholder da barra de pesquisa */
.search-bar input::placeholder {
    color: var(--text-secondary);
}

/* Botão mini de adicionar ao carrinho nos cards */
.btn-add-cart-mini {
    background: var(--input-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
    transition: all 0.2s ease;
}

.btn-add-cart-mini:hover {
    background: var(--card-bg) !important;
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
}

.btn-add-cart-mini svg {
    stroke: currentColor;
}