/* RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    flex: 1;
    padding-bottom: 20px;
}

/* PERFIL */
.profile {
    margin-bottom: 30px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.profile h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.profile p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 80%;
    margin: 0 auto;
    color: #ccc;
}

/* SEÇÃO DE CONTEÚDO */
.content {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.content h2 {
    color: #fff;
    margin-bottom: 15px;
}

.content p {
    color: #ccc;
    line-height: 1.6;
}

/* ============================================================================
   CARROSSEL DE SERVIÇOS - GLASSMORPHISM
   ============================================================================ */
.services-carousel {
    width: 100%;
    margin: 40px 0;
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
}

.services-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 20px 16px 20px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.carousel-item {
    width: 320px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-item:hover {
    transform: translateY(-8px);
}

.card-glass {
    background: rgba(18, 22, 30, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px 24px;
    height: 340px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
}

.card-glass:hover {
    background: rgba(25, 30, 40, 0.75);
    border: 1px solid rgba(74, 144, 226, 0.4);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.25);
}

.card-glass:hover::before {
    left: 100%;
}

.animated-border {
    background: linear-gradient(45deg, #4a90e2, #25D366, #4a90e2);
    padding: 2px;
    border-radius: 24px;
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(37, 211, 102, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.5));
}

.card-glass:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(37, 211, 102, 0.3));
    border-color: rgba(74, 144, 226, 0.5);
}

.service-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-button {
    background: rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.service-button:hover {
    background: linear-gradient(135deg, #4a90e2, #25D366);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.service-button:hover::before {
    left: 100%;
}

.service-button i {
    font-size: 1rem;
}

/* ============================================================================
   CONTROLES DO CARROSSEL - APENAS SETAS
   ============================================================================ */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #4a90e2, #25D366);
    border-color: transparent;
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.5);
}

/* ============================================================================
   PRODUTOS - CARD CLICÁVEL COM EXPANSÃO GLASS - LAYOUT FIXO CORRIGIDO
   SCROLL APENAS NA DESCRIÇÃO, DEMAIS ELEMENTOS SEMPRE VISÍVEIS
   ============================================================================ */
.products-section {
    margin: 60px 0;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
}

.products-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-carousel {
    position: relative;
    margin: 30px 0;
}

.products-container {
    display: flex;
    overflow-x: auto;
    gap: 28px;
    padding: 20px 16px 40px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    min-height: 620px;
}

.products-container::-webkit-scrollbar {
    display: none;
}

.product-item {
    flex: 0 0 auto;
    width: 300px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card {
    background: rgba(18, 22, 30, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    height: 560px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 144, 226, 0.3);
}

/* CARD EXPANDIDO - MESMA ALTURA, APENAS DESCRIÇÃO EXPANDE */
.product-card.expanded {
    background: rgba(25, 30, 40, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 2px solid rgba(74, 144, 226, 0.7);
    box-shadow: 0 25px 50px rgba(74, 144, 226, 0.4);
    height: 560px; /* MESMA ALTURA DO CARD NORMAL */
    z-index: 10;
    transform: scale(1.02);
}

.product-card.expanded::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 144, 226, 0.1),
        transparent
    );
}

.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card.expanded .product-image {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 59, 48, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 59, 48, 0.5);
    color: white;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

.free-shipping {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: white;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

/* LAYOUT FIXO - SCROLL APENAS NA DESCRIÇÃO */
.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
    overflow: hidden; /* IMPEDE SCROLL NO CONTEÚDO INTEIRO */
    min-height: 0;
}

/* WRAPPER DA DESCRIÇÃO - ÚNICA ÁREA COM SCROLL */
.description-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-bottom: 16px;
}

/* ÁREA DE SCROLL EXCLUSIVA DA DESCRIÇÃO */
.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 8px;
}

/* DESCRIÇÃO EXPANDIDA COM SCROLL PRÓPRIO */
.product-card.expanded .product-description {
    -webkit-line-clamp: unset;
    display: block;
    overflow-y: auto;
    max-height: 180px;
    color: rgba(255, 255, 255, 0.95);
    padding-right: 8px;
}

.product-card.expanded .product-description::-webkit-scrollbar {
    width: 4px;
}

.product-card.expanded .product-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.product-card.expanded .product-description::-webkit-scrollbar-thumb {
    background: #4a90e2;
    border-radius: 4px;
}

/* EXPAND HINT - SEMPRE VISÍVEL */
.expand-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(74, 144, 226, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 4px 0;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

.expand-hint i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.product-card.expanded .expand-hint i {
    transform: rotate(180deg);
}

.product-card.expanded .expand-hint {
    color: #4a90e2;
}

/* PREÇO - SEMPRE VISÍVEL */
.product-price {
    margin-bottom: 12px;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

.current-price {
    color: #25D366;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.old-price {
    color: #8a8a8a;
    font-size: 0.85rem;
    text-decoration: line-through;
    display: block;
    margin-top: 4px;
}

/* META INFO - SEMPRE VISÍVEL */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

.condition {
    background: rgba(74, 144, 226, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: #4a90e2;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.stock {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* BOTÃO DE COMPRA - SEMPRE VISÍVEL */
.product-button {
    background: rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 5;
}

.product-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #4a90e2, #25D366);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.product-button:hover:not(:disabled)::before {
    left: 100%;
}

.product-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
}

/* TÍTULO - SEMPRE VISÍVEL */
.product-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

.loading-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 80px 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(74, 144, 226, 0.2);
    border-top-color: #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

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

/* ============================================================================
   CARRINHO FLUTUANTE E MODAL
   ============================================================================ */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.cart-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #25D366, #4a90e2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.cart-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    border: 2px solid #25D366;
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cart-modal-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h3 {
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.cart-modal-header i {
    color: #25D366;
}

.close-cart-modal {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-cart-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff3b30;
}

.cart-modal-body {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.cart-modal-body::-webkit-scrollbar {
    width: 6px;
}

.cart-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.cart-modal-body::-webkit-scrollbar-thumb {
    background: #4a90e2;
    border-radius: 3px;
}

.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: #8a8a8a;
}

.empty-cart-message i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

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

.cart-item-title {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.cart-item-price {
    color: #25D366;
    font-weight: bold;
    font-size: 1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.2);
    border: 1px solid #4a90e2;
    color: #4a90e2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.quantity-btn:hover {
    background: #4a90e2;
    color: white;
}

.quantity-value {
    color: white;
    min-width: 30px;
    text-align: center;
}

.remove-item-btn {
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid #ff3b30;
    color: #ff3b30;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    background: #ff3b30;
    color: white;
}

.cart-modal-footer {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-total span {
    color: #b6e0ff;
    font-size: 0.9rem;
}

.cart-total .total-price {
    color: #25D366;
    font-size: 1.5rem;
    font-weight: bold;
}

.btn-checkout {
    background: linear-gradient(45deg, #25D366, #4a90e2);
    color: white;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================================
   RODAPÉ
   ============================================================================ */
footer {
    position: relative;
    width: 100%;
    max-width: 1200px;
    color: #d1d1d1;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    border-radius: 15px;
    margin: 40px auto 20px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(74, 144, 226, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

footer.footer-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4a90e2;
    filter: brightness(1.1);
}

.footer-column {
    text-align: center;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.footer-column h3 {
    color: #4a90e2;
    font-size: 0.95rem;
    margin-bottom: 4px;
    border-left: 1px solid #4a90e2;
    padding-left: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-column a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 4px 12px;
    border-radius: 6px;
}

.footer-column a:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.1);
}

.site-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #4a90e2, #25D366);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 2px 10px;
    border-radius: 8px;
}

.site-link:hover {
    background: linear-gradient(45deg, #25D366, #4a90e2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px;
    font-size: 0.8rem;
    color: #8a8a8a;
    border-radius: 10px;
    margin: 10px auto 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
    pointer-events: none;
}

.footer-bottom.footer-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.footer-bottom a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #25D366;
}

/* ============================================================================
   FALLBACK PARA NAVEGADORES SEM BACKDROP-FILTER
   ============================================================================ */
@supports not (backdrop-filter: blur(16px)) {
    .card-glass,
    .product-card,
    .service-button,
    .product-button,
    .carousel-btn,
    .product-badge,
    .free-shipping,
    .condition {
        background: rgba(18, 22, 30, 0.95);
    }
}

/* ============================================================================
   ANIMAÇÕES GLOBAIS
   ============================================================================ */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-toast {
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.2s forwards;
}

/* ============================================================================
   RESPONSIVIDADE - CORRIGIDO
   ============================================================================ */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
        padding-bottom: 20px;
    }
    
    .services-header h2,
    .products-header h2 {
        font-size: 1.8rem;
    }
    
    .services-header p,
    .products-header p {
        font-size: 0.95rem;
        padding: 0 20px;
    }
    
    .carousel-item {
        width: 280px;
    }
    
    .card-glass {
        height: 340px;
        padding: 24px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .product-item {
        width: 280px;
    }
    
    .product-card {
        height: 540px;
    }
    
    .product-card.expanded {
        height: 540px;
    }
    
    .products-container {
        min-height: 600px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
    
    .product-card.expanded .product-description {
        max-height: 160px;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .profile h1 {
        font-size: 24px;
    }
    
    .profile p {
        font-size: 14px;
    }
    
    footer {
        padding: 12px 20px;
        min-height: 70px;
        margin: 30px auto 15px auto;
        width: calc(100% - 30px);
        flex-direction: row;
    }
    
    .footer-logo img {
        width: 55px;
        height: 55px;
    }
    
    .footer-column {
        gap: 6px;
    }
    
    .footer-column h3 {
        font-size: 0.9rem;
    }
    
    .footer-column a {
        font-size: 0.85rem;
    }
    
    .site-link {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 8px;
        font-size: 0.75rem;
        width: calc(100% - 30px);
    }
    
    .floating-cart {
        bottom: 20px;
        right: 20px;
    }
    
    .cart-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .carousel-item,
    .product-item {
        width: 260px;
    }
    
    .card-glass {
        padding: 20px 16px;
    }
    
    .current-price {
        font-size: 1.3rem;
    }
    
    .product-card,
    .product-card.expanded {
        height: 520px;
    }
    
    .products-container {
        min-height: 580px;
    }
    
    .product-image-container {
        height: 160px;
    }
    
    .product-card.expanded .product-description {
        max-height: 140px;
    }
    
    footer {
        padding: 10px 15px;
        min-height: 65px;
    }
    
    .footer-logo img {
        width: 50px;
        height: 50px;
    }
    
    .footer-column h3 {
        font-size: 0.85rem;
    }
    
    .footer-column a {
        font-size: 0.8rem;
    }
    
    .site-link {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-item {
        width: 280px;
    }
    
    .product-card,
    .product-card.expanded {
        height: 540px;
    }
    
    .products-container {
        min-height: 600px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-card.expanded .product-description {
        max-height: 160px;
    }
}

@media (min-width: 1024px) {
    .product-item {
        width: 300px;
    }
    
    .product-card,
    .product-card.expanded {
        height: 560px;
    }
    
    .products-container {
        min-height: 620px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .product-title {
        font-size: 1.15rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .product-card.expanded .product-description {
        max-height: 200px;
    }
}