/* ============================================================================
   MJ TECH - CATÁLOGO DE PRODUTOS | ESTILOS ESPECÍFICOS
   TEMA: TECH PREMIUM | GLASSMORPHISM | AZUL NEON
   TOP BAR REMOVIDA | CARRINHO IMPLEMENTADO | BOTÃO CORRIGIDO
   ============================================================================ */

/* VARIÁVEIS - DESIGN SYSTEM */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-card: rgba(18, 18, 18, 0.95);
    --glass-bg: rgba(20, 25, 35, 0.75);
    --glass-border: rgba(0, 194, 255, 0.15);
    --glass-border-hover: rgba(0, 194, 255, 0.4);
    --neon-blue: #00c2ff;
    --neon-blue-dark: #007bff;
    --neon-glow: rgba(0, 194, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --success: #25D366;
    --gradient-blue: linear-gradient(135deg, #00c2ff, #007bff);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 194, 255, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
}

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 194, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 123, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ============================================================================
   HEADER PRINCIPAL - LOGO E BUSCA APENAS
   ============================================================================ */
.main-header {
    padding: 40px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
}

.logo-container {
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 100px;
    height: 100px;
    border-radius: 30px;
    border: 3px solid var(--neon-blue);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    object-fit: cover;
    padding: 5px;
    background: rgba(0, 194, 255, 0.05);
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--neon-glow);
    border-color: var(--neon-blue);
}

.logo span {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    max-width: 600px;
    line-height: 1.3;
}

/* BARRA DE BUSCA */
.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 16px 24px;
    padding-left: 55px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px var(--neon-glow);
    background: rgba(25, 30, 40, 0.9);
}

.search-box::placeholder {
    color: var(--text-tertiary);
    font-weight: 300;
}

.search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-blue);
    font-size: 1.1rem;
}

/* ============================================================================
   CATEGORIAS - SCROLL HORIZONTAL COM CANTOS ARREDONDADOS
   ============================================================================ */
.categories-section {
    margin: 20px 0 30px;
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.categories-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-header i {
    color: var(--neon-blue);
}

.categories-container {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 5px 10px 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.category-item {
    flex: 0 0 auto;
    padding: 10px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.category-item:hover {
    background: rgba(0, 194, 255, 0.15);
    border-color: var(--neon-blue);
    color: white;
    transform: translateY(-2px);
}

.category-item.active {
    background: var(--gradient-blue);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 20px var(--neon-glow);
}

/* ============================================================================
   SKELETON LOADING
   ============================================================================ */
.skeleton-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.skeleton-item {
    display: flex;
    gap: 20px;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--glass-border);
    animation: skeletonPulse 1.5s infinite;
}

.skeleton-image {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-title {
    width: 60%;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skeleton-price {
    width: 30%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skeleton-description {
    width: 80%;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.skeleton-button {
    width: 150px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
}

@keyframes skeletonPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* ============================================================================
   LISTA DE PRODUTOS - FORMATO VERTICAL (CASCATA)
   ============================================================================ */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0 50px;
}

.product-card-horizontal {
    display: flex;
    gap: 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.product-card-horizontal:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 40px rgba(0, 194, 255, 0.15);
    background: rgba(25, 30, 40, 0.85);
}

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

.product-image-wrapper {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, #1a1f2a, #0B0E14);
}

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

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

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.4;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.product-price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neon-blue);
    display: inline-block;
    text-shadow: 0 0 20px var(--neon-glow);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-buy {
    background: var(--gradient-blue);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px var(--neon-glow);
    position: relative;
    overflow: hidden;
}

.btn-buy::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;
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.4);
}

.btn-buy:hover::before {
    left: 100%;
}

.btn-buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-buy i {
    font-size: 1rem;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 194, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--neon-blue);
    color: white;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.empty-state p {
    color: var(--text-tertiary);
}

/* ============================================================================
   CARRINHO FLUTUANTE - IGUAL AO DA PÁGINA PRINCIPAL
   ============================================================================ */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.cart-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(45deg, #25D366, #00c2ff);
    border: none;
    color: white;
    font-size: 1.6rem;
    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(0, 194, 255, 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;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* ============================================================================
   MODAL DO CARRINHO - IGUAL AO DA PÁGINA PRINCIPAL
   ============================================================================ */
.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 #00c2ff;
    box-shadow: 0 20px 50px rgba(0, 194, 255, 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: #00c2ff;
}

.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: #00c2ff;
    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: #00c2ff;
    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(0, 194, 255, 0.2);
    border: 1px solid #00c2ff;
    color: #00c2ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.quantity-btn:hover {
    background: #00c2ff;
    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: #00c2ff;
    font-size: 1.5rem;
    font-weight: bold;
}

/* ============================================================================
   BOTÃO FINALIZAR COMPRA - CORRIGIDO
   ============================================================================ */
.btn-checkout {
    background: linear-gradient(45deg, #00c2ff, #25D366);
    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;
    position: relative;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
}

.btn-checkout::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;
}

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

.btn-checkout:hover:not(:disabled)::before {
    left: 100%;
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.btn-checkout:disabled::before {
    display: none;
}

/* ============================================================================
   RODAPÉ - IMPORTADO DO PROJETO ORIGINAL
   ============================================================================ */
footer {
    position: relative;
    width: 100%;
    max-width: 1200px;
    color: #d1d1d1;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    -webkit-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(0, 194, 255, 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 #00c2ff;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    border-color: #25D366;
}

.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: #00c2ff;
    font-size: 0.95rem;
    margin-bottom: 4px;
    border-left: 1px solid #00c2ff;
    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: #00c2ff;
    background: rgba(0, 194, 255, 0.1);
}

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

.site-link:hover {
    background: linear-gradient(45deg, #25D366, #00c2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-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: #00c2ff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

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

/* ============================================================================
   ANIMAÇÕES
   ============================================================================ */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

.product-card-horizontal {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card-horizontal:nth-child(1) { animation-delay: 0.1s; }
.product-card-horizontal:nth-child(2) { animation-delay: 0.2s; }
.product-card-horizontal:nth-child(3) { animation-delay: 0.3s; }
.product-card-horizontal:nth-child(4) { animation-delay: 0.4s; }
.product-card-horizontal:nth-child(5) { animation-delay: 0.5s; }
.product-card-horizontal:nth-child(6) { animation-delay: 0.6s; }

/* ============================================================================
   RESPONSIVIDADE - MOBILE FIRST
   ============================================================================ */
@media (max-width: 768px) {
    .logo img {
        width: 85px;
        height: 85px;
    }

    .logo span {
        font-size: 1.5rem;
    }

    .categories-section {
        border-radius: 12px;
    }

    .product-card-horizontal {
        flex-direction: column;
        gap: 15px;
    }

    .product-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .current-price {
        font-size: 1.4rem;
    }

    .btn-buy {
        width: 100%;
        justify-content: center;
    }

    .product-badge {
        top: 15px;
        right: 15px;
    }

    .skeleton-item {
        flex-direction: column;
    }

    .skeleton-image {
        width: 100%;
        height: 180px;
    }

    .floating-cart {
        bottom: 20px;
        right: 20px;
    }

    .cart-button {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        width: 75px;
        height: 75px;
    }

    .logo span {
        font-size: 1.3rem;
    }

    .categories-section {
        border-radius: 10px;
    }

    .category-item {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .product-title {
        font-size: 1rem;
    }

    .current-price {
        font-size: 1.3rem;
    }

    footer {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .footer-logo img {
        width: 50px;
        height: 50px;
    }
}

/* FALLBACK */
@supports not (backdrop-filter: blur(12px)) {
    .categories-section,
    .product-card-horizontal,
    .search-box,
    .category-item,
    footer,
    .footer-bottom,
    .cart-modal {
        background: rgba(18, 18, 18, 0.98);
    }
}