/* RAINHA DA PITAYA - E-COMMERCE CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #e91e63;
    --primary-pink-light: #f06292;
    --primary-pink-dark: #c2185b;
    --secondary-pink: #ff4081;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-dark: #212529;
    --text-light: #6c757d;
    --border-light: #dee2e6;
    --success: #28a745;
    --error: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: all 0.2s ease;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ebebeb;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    -webkit-tap-highlight-color: transparent;
}

* {
    -webkit-touch-callout: none;
}

input, textarea, button, select {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.ecommerce-header {
    background: white;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 20px;
}

.header-left .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-pink);
    text-decoration: none;
}

.logo i {
    font-size: 24px;
}

.header-center {
    flex: 1;
    max-width: 600px;
}

.search-bar {
    display: flex;
    background: var(--light-gray);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.search-bar:focus-within {
    border-color: var(--primary-pink);
}

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    outline: none;
}

.search-btn {
    background: var(--primary-pink);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
}

.search-btn:hover {
    background: var(--primary-pink-dark);
}

/* Dropdown de Sugestões de Busca */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-light);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: var(--light-gray);
}

.search-suggestion-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--light-gray);
}

.search-suggestion-info {
    flex: 1;
}

.search-suggestion-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.search-suggestion-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-pink);
}

.search-suggestion-price .original-price {
    font-size: 11px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 6px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Animação para resultados de busca */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.4s ease-out;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }

/* Botão de busca mobile - escondido no desktop */
.mobile-search-toggle {
    display: none;
}

.search-close-btn {
    display: none;
}

.header-right .header-links {
    display: flex;
    gap: 16px;
}

.header-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    padding: 8px;
    border-radius: var(--radius-md);
    position: relative;
}

.header-link:hover {
    background: #fff3f6;
    color: var(--primary-pink);
}

.header-link i {
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary-pink);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-menu-container {
    position: relative;
}

.user-menu-btn {
    flex-direction: row !important;
    gap: 8px !important;
    cursor: pointer;
    border: none;
    background: transparent;
}

.user-avatar,
.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.user-name {
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 1000;
    pointer-events: none;
}

.user-dropdown.active,
.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    background: #fff3f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.user-info {
    flex: 1;
}

.user-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.user-info span {
    font-size: 13px;
    color: var(--text-light);
}

/* Botão de logout mobile (ao lado do nome) */
.logout-btn-mobile {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
    cursor: pointer;
    transition: var(--transition-fast);
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.logout-btn-mobile:hover {
    background: var(--primary-pink);
    color: white;
    transform: scale(1.05);
}

.logout-btn-mobile:active {
    transform: scale(0.95);
}

.user-dropdown-menu {
    padding: 8px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
}

.dropdown-item:hover {
    background: #fff3f6;
    color: var(--primary-pink);
}

.dropdown-item i {
    width: 20px;
    font-size: 16px;
}

.dropdown-item.logout {
    color: var(--error);
}

.dropdown-item.logout:hover {
    background: rgba(220, 53, 69, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 8px 0;
}

.header-bottom {
    border-top: 1px solid var(--border-light);
    padding: 12px 0;
}

.main-nav {
    display: flex;
    gap: 24px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.nav-item:hover,
.nav-item.active {
    background: #fff3f6;
    color: var(--primary-pink);
}

.ecommerce-main {
    background: #ebebeb;
    min-height: calc(100vh - 200px);
    padding: 20px 0 80px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-pink);
}

.breadcrumb i {
    font-size: 10px;
    color: var(--text-light);
}

.breadcrumb span {
    color: var(--text-dark);
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 400;
    color: #333;
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.best-seller {
    background: #fff;
    color: #e91e63;
    border: 1px solid #e91e63;
}

.product-badge.new {
    background: #00a650;
    color: white;
}

.product-image {
    position: relative;
    height: 240px;
    background: #fafafa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.favorite-btn:hover {
    background: #e91e63;
    color: white;
}

.favorite-btn.active {
    background: #e91e63;
    color: white;
}

.product-info {
    padding: 16px;
}

.product-category {
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    text-transform: uppercase;
}

.product-info h3 {
    font-size: 15px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.9);
    margin: 8px 0;
    line-height: 1.4;
    min-height: 42px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stock-alert {
    background: #fff3cd;
    color: #856404;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.unit {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

.product-rating i.active {
    color: #ffc107;
}

/* ============================================
   PÁGINA DE CARRINHO
   ============================================ */

.cart-page {
    background: #f5f5f5;
    min-height: calc(100vh - 300px);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.cart-header h1 {
    font-size: 28px;
    font-weight: 400;
    color: #333;
}

.cart-items-count {
    font-size: 14px;
    color: var(--text-light);
}

/* Carrinho Vazio */
.empty-cart {
    background: white;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-cart i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 24px;
}

.empty-cart h2 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.empty-cart p {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary-pink);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: var(--primary-pink-dark);
    transform: translateY(-2px);
}

/* Layout Carrinho */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* Itens do Carrinho */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition-fast);
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-info h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.stock-warning {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6600;
    font-size: 13px;
    font-weight: 500;
}

.stock-warning i {
    font-size: 12px;
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-price .old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.cart-item-price .current-price {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.economy {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Ações do Item */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: #f5f5f5;
    color: var(--primary-pink);
}

.qty-btn:active {
    background: #e0e0e0;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.item-total {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-pink);
}

.remove-item {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.remove-item:hover {
    background: #fee;
    color: var(--error);
}

/* Resumo do Pedido */
.cart-summary {
    position: sticky;
    top: 90px;
}

.summary-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.summary-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #666;
}

.summary-line.discount {
    color: #2e7d32;
}

.free-shipping {
    color: #00a650;
    font-weight: 700;
}

.shipping-progress {
    background: #fff3cd;
    padding: 12px;
    border-radius: 6px;
    margin: 16px 0;
}

.shipping-progress p {
    font-size: 13px;
    color: #856404;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00a650, #4caf50);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.summary-divider {
    height: 1px;
    background: var(--border-light);
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.summary-total span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.total-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-pink);
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--primary-pink);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
    margin-bottom: 16px;
}

.btn-checkout:hover {
    background: var(--primary-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
}

.continue-shopping:hover {
    background: #fff3f6;
    border-radius: 6px;
}

.payment-methods {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.payment-methods p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 32px;
    color: #666;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 6px;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
}

.security-badge i {
    font-size: 18px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0;
}

.product-features span {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-features i {
    color: #00a650;
    font-size: 11px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
}

.product-rating i {
    color: #ffa900;
    font-size: 12px;
}

.product-rating span {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    margin-left: 4px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.old-price {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: line-through;
}

.current-price {
    font-size: 24px;
    font-weight: 400;
    color: #333;
}

.discount {
    background: #00a650;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.product-delivery {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
}

.product-delivery i {
    color: #00a650;
    font-size: 14px;
}

.product-delivery span {
    font-size: 13px;
    color: #00a650;
}

.product-delivery.free span {
    font-weight: 600;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #3483fa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.add-to-cart-btn:hover {
    background: #2968c8;
}

/* Versão simplificada do footer removida - usar versão completa abaixo */

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 10px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    position: relative;
    flex: 1;
    max-width: 80px;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-item span {
    font-weight: 500;
    margin-top: 2px;
}

.bottom-nav-item.active {
    color: var(--primary-pink);
}

.bottom-nav-item:active {
    background: #fff3f6;
}

.bottom-nav-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(10px);
    background: var(--primary-pink);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

.bottom-nav-avatar,
.bottom-nav-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 4px;
}

.bottom-nav-avatar-placeholder {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.notification-toast {
    position: fixed;
    top: 100px;
    right: -400px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-width: 320px;
    max-width: 400px;
    z-index: 10000;
    transition: right 0.3s ease;
}

.notification-toast.show {
    right: 30px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 24px;
}

.notification-success .notification-content i {
    color: var(--success);
}

.notification-error .notification-content i {
    color: var(--error);
}

.notification-content span {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

/* ============================================
   AUTH PAGE - LOGIN & REGISTER
   ============================================ */

.auth-section {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin: 20px 0;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Benefits Section (Lado Esquerdo) */
.benefits-section {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-dark));
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefits-card h3 {
    font-size: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-card h3 i {
    font-size: 28px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.benefit-item i {
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 13px;
}

.trust-badges .badge i {
    font-size: 16px;
}

/* Forms Section (Lado Direito) */
.auth-forms-section {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 480px;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: var(--text-light);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition-fast);
    background: white;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.input-wrapper input::placeholder {
    color: #999;
}

/* Input validation states */
.input-wrapper.error input {
    border-color: #e74c3c;
    background: #fff5f5;
}

.input-wrapper.error input:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.input-wrapper.success input {
    border-color: #27ae60;
    background: #f0fff4;
}

.input-wrapper.success input:focus {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

.password-toggle:hover {
    color: var(--primary-pink);
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #e91e63;
    transition: width 0.3s, background 0.3s;
}

.strength-text {
    font-size: 12px;
    color: var(--text-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-button {
    background: var(--primary-pink);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.auth-button:hover {
    background: var(--primary-pink-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.auth-button:active {
    transform: translateY(0);
}

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-light);
}

.divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    color: var(--text-light);
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background: white;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.social-button:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.social-button i {
    font-size: 18px;
}

.social-button.google:hover {
    border-color: #DB4437;
    color: #DB4437;
}

.social-button.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.social-button.apple:hover {
    border-color: #000;
    color: #000;
}

.form-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.form-footer p {
    font-size: 15px;
    color: var(--text-dark);
}

.switch-form {
    background: none;
    border: none;
    color: var(--primary-pink);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    padding: 0;
    text-decoration: underline;
}

.switch-form:hover {
    color: var(--primary-pink-dark);
}

.terms-text {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.terms-text a {
    color: var(--primary-pink);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-dark));
    color: white;
}

.modal-header i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding: 32px 24px;
    text-align: center;
}

.modal-body p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-button {
    background: var(--primary-pink);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-button:hover {
    background: var(--primary-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.modal-button.secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.modal-button.secondary:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
    background: white;
}

/* ============================================
   FOOTER PROFISSIONAL - DESIGN LIMPO
   ============================================ */

.ecommerce-footer {
    background: #2c2c2c;
    color: #d4d4d4;
    padding: 40px 0 100px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #a8a8a8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: #3d3d3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4d4d4;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
}

.footer-payment {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-payment i {
    font-size: 30px;
    color: #5a5a5a;
    transition: all 0.2s ease;
}

.footer-payment i:hover {
    color: #7a7a7a;
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #3d3d3d;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 13px;
    margin: 0;
}

.footer-bottom .footer-links a:hover {
    color: var(--primary-pink);
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner p {
    margin-top: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* SMOOTH SCROLL E OTIMIZAÇÕES */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-tap-highlight-color: rgba(233, 30, 99, 0.1);
    }
    
    /* BOTTOM NAV - APARECE NO MOBILE */
    .bottom-nav {
        display: flex !important;
    }
    
    /* ESCONDER NAVEGAÇÃO DESKTOP */
    .header-bottom {
        display: none !important;
    }
    
    /* AJUSTAR HEADER MOBILE */
    .ecommerce-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .header-top {
        flex-wrap: nowrap;
        padding: 12px 0;
        position: relative;
    }
    
    /* LOGO E LINKS DO HEADER */
    .header-left {
        display: flex;
        align-items: center;
        gap: 0;
    }
    
    .header-left .logo {
        font-size: 18px;
        padding: 0;
    }
    
    .logo i {
        font-size: 20px;
    }
    
    /* BOTÃO DE BUSCA MOBILE - Entre logo e perfil */
    .mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        border-radius: 50%;
        color: var(--text-dark);
        font-size: 18px;
        cursor: pointer;
        transition: var(--transition-fast);
        margin: 0 auto 0 8px;
    }
    
    .mobile-search-toggle:active {
        background: #fff3f6;
        color: var(--primary-pink);
    }
    
    /* BUSCA MOBILE - ESCONDIDA POR PADRÃO */
    .header-center {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        padding: 0 16px;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid transparent;
        box-shadow: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    /* BUSCA MOBILE ATIVA - ANIMAÇÃO */
    .header-center.active {
        max-height: 80px;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .search-bar {
        border-radius: 20px;
        background: #f0f0f0;
        border: 2px solid var(--border-light);
    }
    
    .search-bar.active {
        border-color: var(--primary-pink);
    }
    
    .search-bar input {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 10px 16px;
        border-radius: 0 18px 18px 0;
    }
    
    /* BOTÃO FECHAR BUSCA - APARECE QUANDO ATIVO */
    .search-close-btn {
        display: none;
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: var(--text-dark);
        font-size: 18px;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        transition: var(--transition-fast);
    }
    
    .header-center.active .search-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-close-btn:active {
        background: #f0f0f0;
        color: var(--primary-pink);
    }
    
    /* Dropdown de sugestões - Mobile */
    .search-suggestions {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        max-height: 60vh;
        border-radius: 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    
    .search-suggestion-item {
        padding: 14px 16px;
    }
    
    .search-suggestion-img {
        width: 60px;
        height: 60px;
    }
    
    .search-suggestion-name {
        font-size: 15px;
    }
    
    .search-suggestion-price {
        font-size: 14px;
    }
    
    /* Overlay quando busca está ativa */
    .header-center.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    /* LINKS DO HEADER - COMPACTOS */
    .header-right .header-links {
        gap: 8px;
    }
    
    .header-link {
        padding: 6px;
        font-size: 11px;
    }
    
    .header-link span {
        display: none;
    }
    
    .header-link i {
        font-size: 22px;
        margin-bottom: 0;
    }
    
    .cart-count {
        top: 0;
        right: 0;
    }
    
    /* MENU DO USUÁRIO - ESCONDER NOME */
    .user-name {
        display: none !important;
    }
    
    .user-menu-btn {
        padding: 4px !important;
    }
    
    /* DROPDOWN DO USUÁRIO - BOTTOM SHEET */
    .user-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        max-width: 100%;
        min-width: 100%;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        z-index: 10000;
    }
    
    .user-dropdown.active,
    .user-dropdown.show {
        transform: translateY(0);
    }
    
    /* Adicionar overlay escuro quando dropdown está aberto */
    .user-dropdown.active::before,
    .user-dropdown.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        pointer-events: none;
    }
    
    /* Mostrar botão de logout mobile */
    .logout-btn-mobile {
        display: flex !important;
    }
    
    /* Esconder item "Sair" da lista no mobile */
    .dropdown-item.logout {
        display: none !important;
    }
    
    /* Esconder divider antes do logout também */
    .dropdown-divider:last-of-type {
        display: none !important;
    }
    
    /* MAIN CONTENT - ESPAÇO PARA HEADER FIXO E BOTTOM NAV */
    .ecommerce-main {
        margin-top: 75px;
        padding: 16px 0 90px 0;
        background: #f5f5f5;
        transition: margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Ajusta margem quando busca está ativa */
    .header-center.active ~ .ecommerce-main,
    body:has(.header-center.active) .ecommerce-main {
        margin-top: 135px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* BREADCRUMB MOBILE */
    .breadcrumb {
        margin-bottom: 12px;
        font-size: 12px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb::-webkit-scrollbar {
        display: none;
    }
    
    /* PAGE HEADER MOBILE */
    .page-header {
        margin-bottom: 16px;
    }
    
    .page-header h1 {
        font-size: 20px;
        font-weight: 600;
        color: #333;
    }
    
    .page-subtitle {
        font-size: 13px;
        margin-top: 4px;
    }
    
    /* GRID DE PRODUTOS - 2 POR LINHA OTIMIZADO */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0;
    }
    
    /* CARD DE PRODUTO - ESTILO MERCADO LIVRE MOBILE */
    .product-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        position: relative;
    }
    
    .product-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    .product-badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 10px;
        border-radius: 3px;
        font-weight: 700;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        background: linear-gradient(135deg, #e91e63, #c2185b);
    }
    
    .product-badge.new {
        background: linear-gradient(135deg, #00a650, #008c44);
    }
    
    .product-badge.best-seller {
        background: white;
        color: #e91e63;
        border: 1.5px solid #e91e63;
        font-weight: 800;
    }
    
    .product-image {
        height: 160px;
        background: #fafafa;
        position: relative;
    }
    
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .favorite-btn {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .favorite-btn i {
        font-size: 14px;
    }
    
    /* INFO DO PRODUTO - COMPACTA */
    .product-info {
        padding: 10px;
    }
    
    .product-category {
        font-size: 10px;
        color: rgba(0, 0, 0, 0.5);
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    
    .product-info h3 {
        font-size: 13px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.8);
        margin: 0 0 6px 0;
        line-height: 1.3;
        min-height: 34px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* FEATURES - ESCONDER NO MOBILE */
    .product-features {
        display: none;
    }
    
    /* RATING - COMPACTO */
    .product-rating {
        margin: 4px 0;
    }
    
    .product-rating i {
        font-size: 11px;
    }
    
    .product-rating span {
        font-size: 11px;
    }
    
    /* PREÇO - DESTAQUE */
    .product-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin: 8px 0 6px 0;
    }
    
    .old-price {
        font-size: 12px;
        color: rgba(0, 0, 0, 0.4);
        order: 1;
    }
    
    .current-price {
        font-size: 20px;
        font-weight: 400;
        color: #333;
        order: 2;
        letter-spacing: -0.5px;
    }
    
    .discount {
        background: #00a650;
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 11px;
        font-weight: 700;
        order: 3;
        margin-top: 2px;
    }
    
    /* ENTREGA - COMPACTA */
    .product-delivery {
        margin: 6px 0;
    }
    
    .product-delivery i {
        font-size: 12px;
    }
    
    .product-delivery span {
        font-size: 11px;
        font-weight: 600;
    }
    
    /* BOTÃO ADICIONAR - COMPACTO */
    .add-to-cart-btn {
        width: 100%;
        padding: 10px;
        background: #3483fa;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    
    .add-to-cart-btn:active {
        background: #2968c8;
        transform: scale(0.97);
    }
    
    .add-to-cart-btn i {
        font-size: 14px;
    }
    
    /* FOOTER MOBILE - DESIGN RESPONSIVO */
    .ecommerce-footer {
        padding: 30px 0 90px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
    
    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .footer-col ul li {
        margin-bottom: 8px;
    }
    
    .footer-col ul li a {
        font-size: 13px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    
    .footer-payment {
        gap: 8px;
    }
    
    .footer-payment i {
        font-size: 26px;
    }
    
    .footer-bottom {
        padding-top: 16px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .footer-payment i {
        font-size: 28px;
    }
    
    .footer-bottom {
        margin-top: 24px;
        padding-top: 20px;
        font-size: 12px;
    }
    
    /* CARRINHO MOBILE */
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cart-header h1 {
        font-size: 22px;
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cart-summary {
        position: static;
        order: 2;
    }
    
    .cart-items {
        order: 1;
    }
    
    .cart-item {
        grid-template-columns: 90px 1fr;
        grid-template-rows: auto auto;
        gap: 12px;
        padding: 16px;
    }
    
    .cart-item-image {
        width: 90px;
        height: 90px;
        grid-row: 1 / 3;
    }
    
    .cart-item-info {
        gap: 6px;
    }
    
    .cart-item-info h3 {
        font-size: 14px;
    }
    
    .cart-item-price .current-price {
        font-size: 18px;
    }
    
    .cart-item-actions {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .quantity-selector {
        order: 1;
    }
    
    .qty-btn {
        width: 32px;
        height: 32px;
    }
    
    .qty-input {
        width: 45px;
        height: 32px;
    }
    
    .item-total {
        order: 2;
        font-size: 16px;
    }
    
    .remove-item {
        order: 3;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .summary-card h3 {
        font-size: 18px;
    }
    
    .total-value {
        font-size: 24px;
    }
    
    .btn-checkout {
        padding: 14px;
        font-size: 15px;
    }
    
    .empty-cart {
        padding: 40px 20px;
    }
    
    .empty-cart i {
        font-size: 60px;
    }
    
    .empty-cart h2 {
        font-size: 20px;
    }
    
    /* AUTH MOBILE */
    .auth-wrapper {
        grid-template-columns: 1fr;
    }
    
    .benefits-section {
        order: 2;
        padding: 30px 20px;
    }
    
    .benefits-card h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .benefit-item {
        gap: 12px;
    }
    
    .benefit-item i {
        font-size: 20px;
    }
    
    .benefit-item strong {
        font-size: 14px;
    }
    
    .auth-forms-section {
        order: 1;
        padding: 30px 20px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    /* NOTIFICAÇÕES MOBILE */
    .notification-toast {
        max-width: calc(100% - 32px);
        min-width: calc(100% - 32px);
        right: -100%;
        left: auto;
        margin: 0 16px;
        border-radius: 12px;
    }
    
    .notification-toast.show {
        right: 0;
    }
}

@media (max-width: 480px) {
    /* AJUSTES PARA TELAS MUITO PEQUENAS */
    .header-top {
        padding: 10px 0;
    }
    
    .header-left .logo {
        font-size: 16px;
    }
    
    .logo i {
        font-size: 18px;
    }
    
    .ecommerce-main {
        margin-top: 110px;
    }
    
    .page-header h1 {
        font-size: 18px;
    }
    
    .page-subtitle {
        font-size: 12px;
    }
    
    /* PRODUTOS - AINDA 2 POR LINHA MAS MAIS COMPACTOS */
    .products-grid {
        gap: 6px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 8px;
    }
    
    .product-info h3 {
        font-size: 12px;
        min-height: 32px;
        -webkit-line-clamp: 2;
    }
    
    .product-rating {
        display: none;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .old-price {
        font-size: 11px;
    }
    
    .discount {
        font-size: 10px;
        padding: 1px 5px;
    }
    
    .product-delivery {
        margin: 4px 0;
    }
    
    .product-delivery span {
        font-size: 10px;
    }
    
    .add-to-cart-btn {
        padding: 8px;
        font-size: 12px;
        margin-top: 6px;
    }
    
    /* BOTTOM NAV - COMPACTO */
    .bottom-nav {
        padding: 6px 0;
    }
    
    .bottom-nav-item {
        padding: 4px 8px;
        max-width: 70px;
    }
    
    .bottom-nav-item i {
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    .bottom-nav-item span {
        font-size: 9px;
    }
    
    .bottom-nav-avatar,
    .bottom-nav-avatar-placeholder {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }
    
    .bottom-nav-badge {
        font-size: 9px;
        min-width: 16px;
        padding: 1px 5px;
    }
    
    /* ============================================
       AUTH PAGE - RESPONSIVO MOBILE
       ============================================ */
    
    .auth-section {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .auth-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .benefits-section {
        display: none; /* Esconder benefícios no mobile */
    }
    
    .auth-forms-section {
        padding: 24px 16px;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-header p {
        font-size: 14px;
    }
    
    .input-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .input-wrapper input {
        padding: 12px 16px 12px 44px;
        font-size: 14px;
    }
    
    .auth-button {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .social-button {
        width: 100%;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    /* Compact version dos benefícios para mobile (se quiser mostrar) */
    .benefits-section.mobile-compact {
        display: block;
        padding: 20px 16px;
        min-height: auto;
    }
    
    .benefits-section.mobile-compact .benefits-card h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .benefits-section.mobile-compact .benefits-list {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .benefits-section.mobile-compact .benefit-item {
        padding: 12px;
        font-size: 13px;
    }
    
    .benefits-section.mobile-compact .benefit-item i {
        font-size: 20px;
    }
    
    .benefits-section.mobile-compact .benefit-item strong {
        font-size: 14px;
    }
    
    .benefits-section.mobile-compact .benefit-item p {
        font-size: 12px;
    }
    
    /* ============================================
       FOOTER - RESPONSIVO MOBILE
       ============================================ */
    
    .ecommerce-footer {
        padding: 40px 0 80px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .security-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px 0;
    }
    
    .footer-bottom .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    /* ============================================
       MODAL - RESPONSIVO MOBILE
       ============================================ */
    
    .modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header i {
        font-size: 40px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .modal-body p {
        font-size: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-button {
        width: 100%;
    }
}

/* ============================================
   TABLETS (768px - 1024px)
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    .auth-wrapper {
        grid-template-columns: 400px 1fr;
    }
    
    .benefits-section {
        padding: 32px 24px;
    }
    
    .benefits-card h3 {
        font-size: 20px;
    }
    
    .auth-forms-section {
        padding: 32px 24px;
    }
    
    .auth-card {
        max-width: 420px;
    }
    
    /* Footer Tablets */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}
