:root {
    --primary: #FF6B35;
    --primary-dark: #E85A2B;
    --secondary: #004E89;
    --accent: #FFD23F;
    --text: #1A1A1A;
    --text-light: #666;
    --bg: #FAFAFA;
    --white: #FFFFFF;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-dark: linear-gradient(135deg, #004E89 0%, #002D54 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better touch targets for mobile */
button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Prevent pull-to-refresh on iOS when scrolling modals */
.modal.active {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal.active body {
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 28px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.header-nav-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-btn-mobile {
    position: relative;
    background: var(--bg);
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn-mobile:active {
    transform: scale(0.95);
    background: var(--primary);
    color: white;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient);
    border: none;
    padding: 10px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.search-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.search-bar-mobile {
    display: none;
    background: white;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 10px var(--shadow);
}

.search-bar-mobile.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.search-bar-mobile input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    background: var(--bg);
}

.search-close-btn {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.nav-btn {
    position: relative;
    background: var(--bg);
    border: none;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: translateY(0) scale(0.95);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px var(--shadow-lg);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
}

.mobile-menu.active::before {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 24px;
    padding-top: 60px;
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:active {
    transform: rotate(90deg) scale(0.9);
    background: var(--primary);
    color: white;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.mobile-nav-link {
    padding: 16px;
    color: var(--text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:active {
    background: var(--bg);
    color: var(--primary);
    transform: scale(0.98);
}

.mobile-nav-link.active {
    background: var(--bg);
    color: var(--primary);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--bg);
}

.mobile-actions .btn-outline,
.mobile-actions .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0.05;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
    animation: fadeInUp 0.8s ease backwards;
}

.hero-title-main {
    color: var(--text);
}

.hero-title-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.2s;
}

.hero-title span:last-child {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.btn-hero svg {
    transition: transform 0.3s ease;
}

.btn-hero:hover svg {
    transform: translateX(5px);
}

/* Categories */
.categories {
    padding: 20px 0;
    background: white;
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 84px;
    z-index: 999;
}

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.category-btn:active {
    transform: scale(0.95);
}

.category-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.category-icon {
    font-size: 20px;
}

/* Products Section */
.products {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--text);
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeIn 0.5s ease;
    -webkit-tap-highlight-color: transparent;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.product-card:active {
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: var(--bg);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
    font-size: 18px;
}

.product-card:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn:active {
    transform: scale(0.9);
}

.favorite-btn.active {
    background: var(--primary);
    color: white;
    opacity: 1;
}

.product-info {
    padding: 16px;
}

.product-category {
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    color: var(--accent);
    font-size: 14px;
}

.reviews {
    color: var(--text-light);
    font-size: 12px;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
}

.new-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Sora', sans-serif;
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
}

.add-to-cart-btn:active {
    transform: scale(0.98);
}

.load-more-container {
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Features */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px;
    background: var(--bg);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    z-index: 1;
}

.modal-large {
    max-width: 700px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px 32px;
}

/* Auth Forms */
.auth-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-form h2 {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.btn-full {
    width: 100%;
    padding: 16px;
}

.divider {
    text-align: center;
    color: var(--text-light);
    margin: 24px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.btn-social {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-social:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-social span {
    font-weight: 800;
    font-size: 18px;
}

.hidden {
    display: none !important;
}

/* Cart */
.cart-items {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg);
    border-radius: 12px;
    margin-bottom: 16px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: white;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    background: white;
    border: 2px solid var(--border);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qty-display {
    padding: 0 12px;
    font-weight: 700;
}

.remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 20px;
    transition: color 0.3s ease;
}

.remove-btn:hover {
    color: var(--primary);
}

.cart-footer {
    border-top: 2px solid var(--border);
    padding-top: 24px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    margin-bottom: 24px;
}

.empty-cart {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
}

.empty-cart svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        order: 1;
    }
    
    .logo {
        order: 2;
        font-size: 18px;
        flex: 1;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        font-size: 24px;
    }
    
    .header-nav-mobile {
        display: flex;
        order: 3;
    }
    
    .header-nav,
    #searchBarDesktop {
        display: none;
    }
    
    .header-content {
        gap: 12px;
        padding: 12px 0;
    }

    .categories {
        top: 60px;
        padding: 16px 0;
    }
    
    .categories-scroll {
        gap: 8px;
    }
    
    .category-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .category-icon {
        font-size: 18px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-stats {
        gap: 24px;
        margin-bottom: 32px;
    }

    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 16px;
    }

    .products {
        padding: 48px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 28px;
    }
    
    .filter-select {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .product-category {
        font-size: 11px;
    }
    
    .new-price {
        font-size: 20px;
    }
    
    .old-price {
        font-size: 12px;
    }
    
    .add-to-cart-btn {
        padding: 12px;
        font-size: 13px;
    }
    
    .favorite-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
        opacity: 1;
    }

    .features {
        padding: 48px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 32px 24px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-around;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .btn-hero {
        padding: 14px 24px;
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .load-more-container {
        margin-top: 24px;
    }
    
    .auth-form h2 {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .logo-text {
        display: none;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .products-grid {
        gap: 12px;
    }
}
/* Adicione estas regras ao final do seu arquivo styles.css */

/* User Menu */
.user-menu {
    position: relative;
    margin-left: 8px;
}

.user-menu .nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu .nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
    display: none;
    animation: slideDown 0.3s ease;
}

.user-menu:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

#userName {
    font-weight: 700;
    color: var(--primary);
}

#userEmail {
    font-size: 12px;
    color: var(--text-light);
}

/* Social Login Buttons */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.btn-social.apple-btn {
    background: #000000;
    color: white;
    border: none;
}

.btn-social.apple-btn:hover {
    background: #333333;
    border: none;
}

/* Auth State */
.auth-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.auth-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Messages */
.auth-error {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid #c33;
}

.auth-success {
    background: #efe;
    color: #0a0;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid #0a0;
}

/* Email Verification */
.verify-email {
    background: #fff8e1;
    border: 1px solid #ffd54f;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    text-align: center;
}

.verify-email p {
    color: #333;
    margin-bottom: 12px;
}

/* Mobile User Info */
#mobileUserInfo {
    width: 100%;
}

#mobileUserInfo .user-info {
    background: var(--bg);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

#mobileUserInfo .user-name {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}

#mobileUserInfo .user-email {
    color: var(--text-light);
    font-size: 14px;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.strength-weak {
    background: #ff4757;
}

.strength-medium {
    background: #ffa502;
}

.strength-strong {
    background: #2ed573;
}

/* Password Requirements */
.password-requirements {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.requirement.valid {
    color: #2ed573;
}

.requirement.invalid {
    color: #ff4757;
}

/* Modal Transitions */
.modal-content {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Toast Notification */
.firebase-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideInToast 0.3s ease;
    max-width: 400px;
    border-left: 4px solid var(--primary);
}

.firebase-toast.error {
    border-left-color: #ff4757;
}

.firebase-toast.success {
    border-left-color: #2ed573;
}

.firebase-toast.info {
    border-left-color: #1e90ff;
}

@keyframes slideInToast {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .user-menu {
        margin-left: 0;
    }
    
    .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 80px;
        right: 16px;
        left: 16px;
        min-width: auto;
    }
    
    .social-login-buttons {
        flex-direction: column;
    }
    
    .firebase-toast {
        left: 16px;
        right: 16px;
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .auth-form h2 {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .firebase-toast {
        padding: 12px 16px;
        font-size: 14px;
    }
}
/* ==================== */
/* AUTH ENHANCEMENTS */
/* ==================== */

/* Password Strength Indicator */
.password-strength-container {
    margin-top: 8px;
}

.strength-bar {
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    margin-bottom: 4px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-fill.weak {
    background: #ff4757;
    width: 33%;
}

.strength-fill.medium {
    background: #ffa502;
    width: 66%;
}

.strength-fill.strong {
    background: #2ed573;
    width: 100%;
}

.strength-text {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
}

.strength-label {
    font-weight: 600;
}

/* Password Requirements List */
.password-requirements {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    border-left: 4px solid var(--primary);
}

.password-requirements h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text);
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

.requirement-icon {
    font-size: 16px;
    transition: color 0.3s ease;
}

.requirement.valid .requirement-icon {
    color: #2ed573;
}

.requirement.invalid .requirement-icon {
    color: #ff4757;
}

.requirement.valid {
    color: #2ed573;
}

.requirement.invalid {
    color: var(--text-light);
}

/* Terms and Conditions Checkbox */
.terms-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    border: 1px solid var(--border);
}

.terms-content {
    max-height: 120px;
    overflow-y: auto;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 12px;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox input {
    margin-top: 3px;
}

.terms-checkbox span {
    font-size: 14px;
    color: var(--text);
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-outline.btn-loading::after {
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-top-color: var(--primary);
}

/* Error States */
.form-group.error input {
    border-color: #ff4757 !important;
    background: #fff5f5;
}

.form-group.error .error-message {
    color: #ff4757;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

/* Success States */
.form-group.success input {
    border-color: #2ed573 !important;
    background: #f0fff4;
}

/* Two-Factor Authentication Setup */
.two-factor-setup {
    background: #fff8e1;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    border: 1px solid #ffd54f;
}

.two-factor-setup h4 {
    color: #e65100;
    margin-bottom: 12px;
    font-size: 16px;
}

.qr-code-container {
    text-align: center;
    margin: 20px 0;
}

.qr-code-placeholder {
    width: 160px;
    height: 160px;
    background: #f5f5f5;
    margin: 0 auto 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-light);
    border: 2px dashed var(--border);
}

.backup-codes {
    background: white;
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    border: 1px solid var(--border);
}

/* Account Verification Status */
.verification-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}

.verification-status.verified {
    background: #f0fff4;
    color: #2ed573;
    border: 1px solid #2ed573;
}

.verification-status.pending {
    background: #fff8e1;
    color: #ffa502;
    border: 1px solid #ffa502;
}

.verification-status-icon {
    font-size: 20px;
}

/* Password Visibility Toggle */
.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Social Login Improvements */
.social-login-header {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.social-login-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.social-login-header span {
    background: white;
    padding: 0 16px;
    position: relative;
    color: var(--text-light);
    font-size: 14px;
}

.social-btn-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn.google {
    color: #4285F4;
}

.social-btn.apple {
    background: #000;
    color: white;
    border-color: #000;
}

.social-btn.apple:hover {
    background: #333;
    border-color: #333;
}

/* Remember Me & Security Options */
.security-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.device-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.device-trust input[type="checkbox"] {
    width: auto;
}

/* Login Activity */
.login-activity {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.login-activity h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-location {
    color: var(--text-light);
    font-size: 12px;
}

.activity-time {
    color: var(--text-light);
    font-size: 12px;
}

.activity-action {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f0fff4;
    color: #2ed573;
}

/* Modal Improvements */
.auth-modal .modal-content {
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    font-size: 48px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Step Indicator for Multi-Step Forms */
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step.completed {
    background: #2ed573;
    border-color: #2ed573;
    color: white;
}

.step-label {
    position: absolute;
    top: 40px;
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Responsive Auth */
@media (max-width: 768px) {
    .auth-modal .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .social-btn-container {
        flex-direction: column;
    }
    
    .two-factor-setup {
        padding: 16px;
    }
    
    .qr-code-placeholder {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .terms-content {
        max-height: 100px;
        font-size: 11px;
    }
    
    .security-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* Estilos para o cálculo de comissões */
.calculo-preview {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.1) 0%, rgba(0, 184, 148, 0.1) 100%);
    border: 2px solid rgba(46, 213, 115, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.calculo-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.calculo-item:last-child {
    border-bottom: none;
    margin-bottom: 15px;
}

.calculo-info {
    background: rgba(255, 107, 53, 0.05);
    border: 1px dashed rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.calculo-info strong {
    color: var(--text);
}

/* Campo de preço somente leitura */
input[readonly] {
    background-color: #f5f5f5 !important;
    cursor: not-allowed;
}

/* Estilo para labels de campos calculados */
.form-group label.calculado {
    color: var(--secondary);
    font-weight: 600;
}
/* Botão secundário para o Painel do Parceiro */
.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.2px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.2);
}

/* Efeito de ripple para o botão */
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsividade para o botão */
@media (max-width: 1024px) {
    .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .btn-secondary {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 10px;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .btn-secondary {
        padding: 8px 14px;
        font-size: 11px;
    }
}

/* Estilo específico para o botão no header */
.header-nav .btn-secondary {
    margin-left: 8px;
    white-space: nowrap;
}

/* Se precisar de um botão menor (compacto) */
.btn-secondary-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 10px;
}

/* Botão com ícone */
.btn-secondary-icon {
    padding: 10px 20px 10px 16px;
}

.btn-secondary-icon::before {
    content: '';
}

/* Efeito de loading */
.btn-secondary.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Para links que são botões secundários */
a.btn-secondary {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hover state melhorado para acessibilidade */
.btn-secondary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    background: rgba(255, 107, 53, 0.1);
}

/* Botão desabilitado */
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #999;
}

.btn-secondary:disabled:hover {
    background: transparent;
    color: #999;
    transform: none;
    box-shadow: none;
}
/* No mobile menu */
.mobile-nav-link[href="partner.html"] {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    border-left: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.mobile-nav-link[href="partner.html"]::before {
    content: '';
}
/* ==================== */
/* BOTÕES              */
/* ==================== */

/* ... seu código btn-primary existente ... */

/* Botão secundário */
.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    line-height: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}
.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* ================================================ */
/* LOGO + BRAND BLOCK                                */
/* ================================================ */

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo-img--mobile {
    height: 38px;
}

.logo {
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

/* Desktop brand block */
.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.brand-block:hover .logo-img { transform: scale(1.04); }

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #C9A227 0%, #8B1A27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* Mobile brand block */
.mobile-brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.mobile-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.mobile-brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #C9A227 0%, #8B1A27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-brand-tagline {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide desktop logo text on mobile, show mobile brand */
@media (max-width: 768px) {
    .brand-text { display: none; }
    .mobile-brand-text { display: flex; }
}

@media (min-width: 769px) {
    .brand-block { display: flex; }
    .mobile-brand-block { display: none; }
}

/* ================================================ */
/* LUCIDE ICONS INTEGRATION                          */
/* ================================================ */

[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.star-icon {
    width: 14px;
    height: 14px;
    color: #ffa502;
    fill: #ffa502;
}

.verification-status-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.verification-status.verified .verification-status-icon { color: #16a34a; }
.verification-status.pending .verification-status-icon { color: #d97706; }

.empty-cart-icon [data-lucide] {
    width: 64px;
    height: 64px;
    color: var(--text-light);
    opacity: 0.5;
}

.payment-icon [data-lucide] {
    width: 28px;
    height: 28px;
}

.reference-icon [data-lucide] {
    width: 22px;
    height: 22px;
}

.toggle-password [data-lucide] {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.remove-btn [data-lucide] {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

/* ================================================ */
/* SKELETON LOADERS                                  */
/* ================================================ */

@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 468px 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.skeleton-image { height: 280px; width: 100%; }

.skeleton-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-line { height: 14px; border-radius: 6px; }
.skeleton-line.short { width: 50%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.full { width: 100%; }
.skeleton-btn { height: 46px; border-radius: 12px; width: 100%; margin-top: 6px; }

/* ================================================ */
/* EMPTY STATE                                       */
/* ================================================ */

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.4;
}

.empty-state h3 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
    max-width: 360px;
    margin: 0 auto 24px;
}

/* ================================================ */
/* PRODUCT CARD — QUICK ACTIONS OVERLAY             */
/* ================================================ */

.product-card {
    position: relative;
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: rgba(255, 107, 53, 0.15);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.product-quick-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    padding: 36px 10px 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.quick-action-btn {
    flex: 1;
    padding: 9px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    -webkit-tap-highlight-color: transparent;
}

.quick-action-btn.view {
    background: rgba(255,255,255,0.95);
    color: var(--text);
}

.quick-action-btn.cart {
    background: var(--gradient);
    color: white;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.favorite-btn {
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.favorite-btn:hover { transform: scale(1.18); }

.product-seller {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ================================================ */
/* HERO SECTION — IMPROVED                          */
/* ================================================ */

.hero {
    background: linear-gradient(135deg, #fff8f5 0%, #fff3ed 50%, #ffeae0 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.25);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease backwards;
}

.hero-title {
    font-size: clamp(44px, 5.5vw, 72px);
}

.hero-stats {
    background: white;
    border-radius: 20px;
    padding: 20px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: inline-flex;
    gap: 0;
    margin-bottom: 40px;
}

.stat {
    padding: 0 28px;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: var(--border);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
}

.hero-cta-secondary:hover { color: var(--primary); }

/* ================================================ */
/* FEATURES SECTION — IMPROVED                      */
/* ================================================ */

.feature-card {
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(247,147,30,0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }

/* ================================================ */
/* SECTION TITLE — ACCENT LINE                      */
/* ================================================ */

.section-title {
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* ================================================ */
/* CATEGORY BUTTONS — PILL STYLE                    */
/* ================================================ */

.category-btn {
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-btn:hover:not(.active) {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(255,107,53,0.15);
}

.category-btn.active {
    box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}

/* ================================================ */
/* LOGO — GRADIENT TEXT                             */
/* ================================================ */

.logo-text, .mobile-logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon, .mobile-logo-icon {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none;
}

/* ================================================ */
/* BACK TO TOP BUTTON                                */
/* ================================================ */

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ================================================ */
/* ADD TO CART BUTTON ANIMATION                     */
/* ================================================ */

@keyframes cartPop {
    0% { transform: scale(1); }
    40% { transform: scale(0.9); }
    70% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}

.add-to-cart-btn.added {
    background: #16a34a !important;
    animation: cartPop 0.4s ease;
}

/* ================================================ */
/* HEADER SCROLL SHADOW                             */
/* ================================================ */

.header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

/* ================================================ */
/* SOCIAL LINKS — IMPROVED                          */
/* ================================================ */

.social-link {
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.social-link:hover { transform: translateY(-4px) rotate(8deg); }
