
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(-60deg, #8B4513, #A0522D, #5C3A21, #8D6E63);
    background-size: 400% 400%;
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
    animation: gradientBG 5s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px #FFF8F0; }
    to { text-shadow: 0 0 15px #F5DEB3; }
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.iconoPunkAcero {
    width: 200px;
    height: 200px;
    margin-right: 1rem;
    vertical-align: middle;
}

.panificado-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pan-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pan-card:hover {
    transform: translateY(-5px);
}

.imgPrincipal {
    margin-top: 1rem;
    box-shadow: #333 0px 0px 10px;
    border-radius: 8px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imgPrincipal:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.pan-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    color: #8b4513;
}

.pan-info h2 {
    background-color: #fca728;
    color: #8b4513;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pan-info p {
    padding: 0 2rem;
    color: #666;
    margin-bottom: 1rem;
}

.pan-tipo {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.pan-info ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.pan-info li {
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.contiene {
    background-color: #fdf7f2;
    border: 2px solid #8b4513;
    border-radius: 1rem;
    margin: 0.8rem 0;
    padding: 0.5rem 1rem;
    text-align: center;
    width: auto;
    display: inline-block;
    max-width: 90%;
}

/* Agregar esto a tu CSS */
.pan-info .precio {
    font-weight: bold;
    color: #8b4513;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.total-container {
    background-color: #fdf7f2;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #8b4513;
}

.total-container strong {
    color: #8b4513;
}

#total-pedido {
    font-weight: bold;
    color: #8b4513;
}


.formulario-pedido {
    background-color: #fff;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.formulario-pedido h3 {
    color: #8b4513;
    text-align: center;
    margin-bottom: 1.5rem;
}


/* Estilos para el formulario de pedido - Versión mejorada */
.lista-panificado {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.item-pan {
    display: grid;
    grid-template-columns: auto 100px;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #fff9f0;
    border-radius: 10px;
    border: 1px solid #e0c9b1;
    box-shadow: 0 2px 5px rgba(139, 69, 19, 0.1);
}

.sticker-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-sticker {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.item-pan label {
    font-weight: bold;
    color: #5C3A21;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inputCantidad {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    background-color: white;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.inputCantidad:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}

.oferta {
    background: linear-gradient(135deg, #f5deb3 0%, #f8e8c8 100%);
    border-left: 4px solid #8B4513;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(139, 69, 19, 0.1);
    color: #5C3A21;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.oferta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #8B4513, #A0522D);
}

.oferta p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.oferta p:first-child {
    color: #8B4513;
    font-size: 1.2rem;
}
.item-pan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.item-pan label {
    margin-right: 0.5rem;
    font-weight: bold;
    color: black;
}

.item-pan input {
    width: 60px;
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    color: black;
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-enviar {
    display: block;
    width: 100%;
    background-color: #02a03c;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-enviar:hover {
    background-color: #128C7E;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: #e6670c;
    color: white;
}

.footer-poetic blockquote {
   font-family: 'Dancing Script', cursive !important;
   font-size: 1.4rem;
   color: #f5deb3;
   margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .panificado-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .lista-panificado {
        grid-template-columns: 1fr;
    }
}

