:root{
    --primary-color: #E53225;
    --secondary-color: #334C2A;
    --accent-color: #F9B816;
    --text-color: #333;
    --background-color: #EAD7BB;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    color: white;
    padding: 1em;
    text-align: center;
}

header img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

nav {
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    padding: 1em;
}

nav a {
    color: white;
    text-decoration: none;
    background-color: var(--accent-color);
    padding: 0.5rem 1em;
    border-radius: 5px;
    transition: background 0.2s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.4);
}

section {
    padding: 1em 1em;
    padding-bottom: 0;
    max-width: 900px;
    margin: auto;
}

h2 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.product-card {
    /*lighter background color*/
    background: color-mix(in srgb, var(--background-color) 80%, white 20%);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 1em;
    margin: 1em 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: scale(1.01);
}

.product-info {
    flex: 1;
    padding-right: 1em;
}

.product-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.product-description {
    margin: 0.5rem 0;
    color: #555;
}

.product-prices {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 110px;
    text-align: right;
}

.price {
    font-size: 1em;
    font-weight: bold;
    
    margin-bottom: 0.5rem;
}

.price-label {
    font-size: 0.75rem;
    color: #888;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    animation: slideUp 0.3s forwards;
}

.modal h3 {
    margin-top: 0;
}

.close-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 0.5rem 1em;
    margin-top: 1em;
    border-radius: 5px;
    cursor: pointer;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(30px); opacity: 0; }
}

.product-prices > .price-item:nth-child(2) {
    /*set em size to smaller than the first one*/
    font-size: 0.8rem;
}

/*Whatsapp Button*/
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}

#modalDesc{
  /* pre-line: respeta \n y colapsa espacios extra */
  white-space: pre-line;
}