:root {
	--primary-color: #2C3E50; /* Azul oscuro */
	--secondary-color: #E74C3C; /* Rojo */
	--accent-color: #F39C12; /* Naranja */
	--light-color: #ECF0F1; /* Gris claro */
	--dark-color: #2C3E50; /* Azul oscuro */
	--text-color: #333333;
	--white: #FFFFFF;
}

body {
	font-family: 'Arial', sans-serif;
	margin: 0;
	padding: 0;
	color: var(--text-color);
	background-color: var(--light-color);
}

header {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.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(--accent-color);
	color: var(--white);
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s;
}
.main-btn:hover {
	background-color: #D35400;
}

.hero {
	position: relative;
	height: 150px;
	overflow: hidden;
	margin-bottom: 30px;
}
.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(0,0,0,0.5);
	padding: 10px;
	border-radius: 4px;
}
.hero-text h2 {
	margin: 0;
	font-size: 24px;
}

.main-content {
	display: flex;
	padding: 0 20px;
	gap: 20px;
}

.products-section {
	flex: 3;
}
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}
.product-card {
	background-color: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: transform 0.3s;
}
.product-card:hover {
	transform: translateY(-5px);
}
.product-image {
	height: 150px;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
}
.product-info {
	padding: 10px;
}
.product-info h3 {
	margin: 0 0 5px;
	font-size: 16px;
}
.product-info .price {
	color: var(--secondary-color);
	font-weight: bold;
}

.contact-section {
	flex: 1;
	background-color: var(--white);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	height: fit-content;
}
.contact-section h2 {
	color: var(--primary-color);
	margin-top: 0;
	border-bottom: 2px solid var(--accent-color);
	padding-bottom: 10px;
}

footer {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}
.footer-logo {
	height: 30px;
}
.footer-social {
	display: flex;
	gap: 10px;
}
.footer-social-icon {
	color: var(--white);
	font-size: 20px;
}

.social-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.social-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--text-color);
	transition: color 0.3s;
}
.social-link:hover {
	color: var(--accent-color);
}
.social-icon {
	width: 24px;
	height: 24px;
	background-color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
}

.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: 10px;
}
.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(--secondary-color);
	font-size: 24px;
	font-weight: bold;
	margin-left: 10px;
}

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

.want-btn {
	background-color: var(--accent-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: #D35400;
}