:root {
	--primary-color: #E91112; /* Rojo principal */
	--primary-dark: #B20E0E; /* Rojo oscuro */
	--primary-light: #FF3B3B; /* Rojo claro */
	--secondary-color: #333333; /* Gris oscuro */
	--accent-color: #F5F5F5; /* Gris claro */
	--text-color: #333333;
	--white: #FFFFFF;
	--black: #000000;
}

body {
	font-family: 'Arial', sans-serif;
	margin: 0;
	padding: 0;
	color: var(--text-color);
	background-color: var(--accent-color);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.container {
	width: 90%;
	max-width: 1400px;
}

/* Header */
header {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 15px 0;
	width: 100%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
}
.brand-info h1 {
	margin: 0;
	font-size: 24px;
	color: var(--white);
}
.brand-info p {
	margin: 5px 0 0;
	font-size: 14px;
	opacity: 0.9;
}

.main-btn {
	background-color: var(--white);
	color: var(--primary-color);
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
}
.main-btn:hover {
	background-color: var(--primary-dark);
	color: var(--white);
}

/* Hero Section */
.hero {
	position: relative;
	height: 150px;
	overflow: hidden;
	margin: 30px 0;
	width: 100%;
	border-radius: 8px;
}
.hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--white);
	text-align: center;
	width: 80%;
	background-color: rgba(233, 17, 18, 0.8);
	padding: 15px;
	border-radius: 8px;
}
.hero-text h2 {
	margin: 0;
	font-size: 24px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Products Section */
.products-section {
	margin-bottom: 40px;
}
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.product-card {
	background-color: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: all 0.3s;
}
.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.product-image {
	height: 180px;
	background-color: #f0f0f0;
	background-size: cover;
	background-position: center;
}
.product-info {
	padding: 15px;
	border-top: 1px solid #eee;
}
.product-info h3 {
	margin: 0 0 8px;
	font-size: 16px;
	color: var(--secondary-color);
}
.product-info .price {
	color: var(--primary-color);
	font-weight: bold;
	font-size: 18px;
}

/* Footer */
footer {
	background-color: var(--secondary-color);
	color: var(--white);
	padding: 30px 0;
	width: 100%;
	margin-top: 40px;
}
.footer-content {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 15px;
}
.footer-logo {
	height: 30px;
}
.footer-info a {
	color: var(--white);
	text-decoration: none;
	display: block;
	margin-bottom: 8px;
	transition: color 0.3s;
}
.footer-info a:hover {
	color: var(--primary-light);
}
.footer-social {
	display: flex;
	gap: 15px;
	flex-direction: column;
}
.footer-social-icon {
	color: var(--white);
	font-size: 20px;
}

.social-title {
	margin: 0 0 10px;
	font-size: 18px;
}
.social-links {
	display: flex;
	gap: 10px;
}
.social-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--white);
	transition: color 0.3s;
}
.social-link:hover {
	color: var(--accent-color);
}
.social-icon {
	width: 40px;
	height: 40px;
	background-color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 18px;
	transition: all 0.3s;
}
.social-icon:hover {
	background-color: var(--primary-light);
	transform: scale(1.1);
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}
.modal-content {
	background-color: var(--white);
	width: 80%;
	max-width: 800px;
	border-radius: 8px;
	overflow: hidden;
	animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

.modal-header {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.close-modal {
	background: none;
	border: none;
	color: var(--white);
	font-size: 24px;
	cursor: pointer;
}
.modal-body {
	padding: 20px;
	display: flex;
	gap: 20px;
}

.product-images {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.main-image {
	height: 300px;
	background-color: #eee;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
}

.thumbnail-container {
	display: flex;
	gap: 45px;
}
.thumbnail {
	height: 60px;
	width: 60px;
	background-color: #eee;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
	cursor: pointer;
}

.product-details {
	flex: 1;
}
.product-title {
	margin-top: 0;
	color: var(--primary-color);
}

.price-container {
	margin: 20px 0;
}
.old-price {
	text-decoration: line-through;
	color: #999;
	font-size: 18px;
}
.new-price {
	color: var(--primary-color);
	font-size: 24px;
	font-weight: bold;
	margin-left: 10px;
}

.stock {
	color: var(--primary-dark);
	font-weight: bold;
}

.want-btn {
	background-color: var(--primary-color);
	color: var(--white);
	border: none;
	padding: 12px 25px;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s;
	margin-top: 20px;
	width: 100%;
}
.want-btn:hover {
	background-color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.modal-body {
		flex-direction: column;
	}
	
	.footer-content {
		flex-direction: column;
		gap: 30px;
		text-align: center;
	}
	
	.footer-brand {
		justify-content: center;
	}
	
	.social-links {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: 1fr;
	}
	
	.hero-text h2 {
		font-size: 18px;
	}
}