/*
Theme Name: Markatona Tema
Author: Markatona
Description: Tema personalizado estilo Amazon para compra y venta de segunda mano.
Version: 1.0
*/

body { background-color: #eaeded; font-family: Arial, sans-serif; }
.bg-amazon-top { background-color: #131921; }
.bg-amazon-secondary { background-color: #232f3e; }
.navbar-brand { color: white; font-weight: bold; font-size: 1.5rem; display: flex; align-items: center; }
.navbar-brand:hover { color: #febd69; }
.navbar-brand svg { width: 55px; height: 55px; margin-right: 10px; }
.search-form { flex-grow: 1; }
.search-form select { border-radius: 4px 0 0 4px; background-color: #f3f3f3; border-right: 1px solid #ccc; max-width: 150px; }
.search-form input { border-radius: 0; border: none; }
.search-form button { border-radius: 0 4px 4px 0; background-color: #febd69; border: none; color: #131921; font-weight: bold; transition: all 0.2s ease; }
.search-form button:hover { background-color: #f3a847; transform: scale(1.05); }
.cat-nav-link { color: white; padding: 8px 15px; display: inline-block; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.cat-nav-link:hover { background-color: #37475a; color: white; border: 1px solid #fff; }
.cat-nav-link.active { border: 1px solid #fff; font-weight: bold; }
.product-card { transition: transform 0.2s; border: none; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.product-img { height: 220px; object-fit: contain; background-color: white; padding: 10px; transition: transform 0.3s ease; }
.product-card:hover .product-img { transform: scale(1.08); }
.price-tag { color: #B12704; font-weight: bold; font-size: 1.3rem; }
.fav-btn { position: absolute; top: 10px; right: 10px; background: white; border: none; border-radius: 50%; width: 36px; height: 36px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: transform 0.2s; }
.fav-btn:hover { transform: scale(1.1); }
.fav-btn i { color: #ccc; font-size: 1.2rem; transition: color 0.2s; }
.fav-btn.active i { color: #ff4d4d; }
.sidebar-card { border-radius: 0; border: none; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.sidebar-card .card-header { background-color: #232f3e; color: white; font-weight: bold; }
.sidebar-link { display: block; padding: 8px 12px; color: #444; text-decoration: none; border-bottom: 1px solid #eee; font-size: 0.95rem; transition: all 0.2s; }
.sidebar-link:hover { background-color: #f3f3f3; color: #c7511c; padding-left: 15px; }
.sidebar-link.active { color: #c7511c; font-weight: bold; }
.cart-icon { font-size: 1.5rem; }
.cart-badge { font-size: 0.7rem; }
.footer-social { background-color: #131921; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; font-size: 1.2rem; margin: 0 5px; transition: all 0.3s ease; text-decoration: none; color: white !important; }
.social-icon:hover { transform: translateY(-4px); box-shadow: 0 6px 12px rgba(0,0,0,0.4); filter: brightness(1.1); }
.sc-facebook { background-color: #1877F2; }
.sc-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sc-twitter { background-color: #000000; }
.sc-tiktok { background-color: #010101; }
.sc-youtube { background-color: #FF0000; }
.sc-whatsapp { background-color: #25D366; }
.contact-email { font-size: 1.25rem; color: #febd69; font-weight: bold; text-decoration: none; transition: color 0.2s; }
.contact-email:hover { color: #ffffff; text-decoration: underline; }
.footer-links a { color: #ddd; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #febd69; text-decoration: underline; }
.payment-methods i { cursor: pointer; transition: all 0.2s ease; }
.payment-methods i:hover { transform: translateY(-3px); filter: brightness(1.2); }
.pm-visa { color: #1434CB; }
.pm-mastercard { color: #EB001B; }
.pm-paypal { color: #0070BA; }
.pm-google-pay { color: #4285F4; }
.pm-amazon-pay { color: #FF9900; }
.pm-apple-pay { color: #000000; }
.footer-social .pm-apple-pay { color: #FFFFFF; }
.pm-bizum { background-color: #EE3224; color: #ffffff; font-size: 0.9rem; padding: 6px 10px; border-radius: 4px; font-weight: bold; display: inline-block; }
.footer-social .pm-bizum { font-size: 1rem; }
.pm-bizum:hover { filter: brightness(1.1); transform: translateY(-3px); }
.hero-section { background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1530541930197-ff16ac917b0e?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; color: white; padding: 60px 0; text-align: center; border-bottom: 4px solid #febd69; animation: fadeIn 1.5s ease; }
.hero-section h1 { font-weight: 800; letter-spacing: -0.5px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-section p { font-size: 1.1rem; color: #e0e0e0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.toast-container { z-index: 1090; }
.chat-box { height: 300px; overflow-y: auto; background-color: #f0f2f5; padding: 15px; }
.chat-msg { max-width: 75%; padding: 10px 15px; border-radius: 15px; margin-bottom: 10px; font-size: 0.9rem; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.chat-msg.user { background-color: #febd69; margin-left: auto; border-bottom-right-radius: 0; }
.chat-msg.seller { background-color: white; margin-right: auto; border-bottom-left-radius: 0; }