/* ==========================================================================
   DESIGN MODERNO E TECNOLÓGICO - E-COMMERCE
   ========================================================================== */

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #2563eb;
	--secondary-color: #7c3aed;
	--dark-bg: #0f172a;
	--dark-secondary: #1e293b;
	--text-primary: #f8fafc;
	--text-secondary: #cbd5e1;
	--accent-color: #3b82f6;
	--success-color: #10b981;
	--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: var(--text-primary);
	line-height: 1.6;
	min-height: 100vh;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   HEADER - DESIGN FUTURISTA
   ========================================================================== */

.header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-top {
	background: var(--dark-secondary);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 10px 0;
}

.header-top-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.contact-info, .user-actions {
	display: flex;
	gap: 20px;
}

.contact-info a, .user-actions a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.contact-info a:hover, .user-actions a:hover {
	color: var(--accent-color);
	transform: translateY(-2px);
}

.header-main {
	padding: 20px 0;
}

.header-main-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.logo img {
	max-height: 60px;
	width: auto;
	filter: brightness(1.2);
	transition: transform 0.3s ease;
}

.logo img:hover {
	transform: scale(1.05);
}

/* Search Bar Futurista */
.search-bar {
	flex: 1;
	max-width: 600px;
}

.search-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	padding: 5px;
	transition: all 0.3s ease;
}

.search-wrapper:focus-within {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.search-wrapper i {
	position: absolute;
	left: 20px;
	color: var(--text-secondary);
	font-size: 16px;
}

.search-wrapper input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	padding: 12px 20px 12px 50px;
	color: var(--text-primary);
	font-size: 15px;
	font-family: inherit;
}

.search-wrapper input::placeholder {
	color: var(--text-secondary);
}

.btn-search {
	background: var(--gradient-primary);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
}

.btn-search:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* ==========================================================================
   MAIN LAYOUT WITH SIDEBAR
   ========================================================================== */

.main-wrapper {
	padding: 30px 0;
	min-height: 60vh;
}

.content-layout {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

/* ==========================================================================
   SIDEBAR CATEGORIES
   ========================================================================== */

.sidebar-categories {
	width: 250px;
	flex-shrink: 0;
	background: rgba(30, 41, 59, 0.5);
	border-radius: 16px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	position: sticky;
	top: 100px;
}

.sidebar-title {
	color: var(--text-primary);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.category-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text-secondary);
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	font-family: inherit;
	position: relative;
	overflow: hidden;
	text-align: left;
	width: 100%;
}

.category-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.category-btn span, .category-btn i {
	position: relative;
	z-index: 1;
}

.category-btn:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

.category-btn:hover::before {
	opacity: 1;
}

.category-btn:hover {
	color: white;
}

.category-btn.active {
	background: var(--gradient-primary);
	color: white;
	border-color: transparent;
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* ==========================================================================
   PRODUCTS - CARDS TECNOLÓGICOS
   ========================================================================== */

.products-section {
	flex: 1;
	min-width: 0;
}

.products-section .section-title {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.products-section .title-line {
	height: 2px;
	width: 40px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.product-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	animation: fadeInUp 0.5s ease forwards;
	opacity: 0;
}

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

.product-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--gradient-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.product-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	border-color: rgba(102, 126, 234, 0.5);
}

.product-card:hover::before {
	opacity: 1;
}

/* ==========================================================================
   FOOTER - DESIGN MINIMALISTA
   ========================================================================== */

.footer {
	background: var(--dark-secondary);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 60px 0 20px;
	margin-top: 80px;
}

.footer-content {
	margin-bottom: 40px;
}

.footer-section h3 {
	color: var(--text-primary);
	font-size: 20px;
	margin-bottom: 20px;
	font-weight: 600;
}

.footer-section p {
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 20px;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-contact a {
	color: var(--text-secondary);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
}

.footer-contact a:hover {
	color: var(--accent-color);
	transform: translateX(5px);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 30px;
	text-align: center;
}

.footer-bottom p {
	color: var(--text-secondary);
	font-size: 14px;
}

/* ==========================================================================
   WHATSAPP FLOAT BUTTON - ANIMADO
   ========================================================================== */

.whatsapp-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 65px;
	height: 65px;
	background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 32px;
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
	transition: all 0.3s ease;
	z-index: 999;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
	}
	50% {
		box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
	}
}

.whatsapp-float:hover {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 768px) {
	.header-main-content {
		flex-direction: column;
		gap: 20px;
	}

	.search-bar {
		width: 100%;
	}

	.content-layout {
		flex-direction: column;
	}

	.sidebar-categories {
		width: 100%;
		position: static;
		margin-bottom: 20px;
	}

	.categories-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 8px;
	}

	.category-btn {
		justify-content: center;
	}

	.products-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 15px;
	}

	.products-section .section-title {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.header-top-content {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
}
