/* estilos.css */
:root {
    --gold: #d4af37;
    --gold-dark: #b5952f;
    --black: #1a1a1a;
    --white: #ffffff;
    --bg-light: #fcfbf9;
    --gray-text: #666666;
    --red-offer: #e63946;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--black);
}

/* Header / Hero */
header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('img/Bg.jpeg') center/cover no-repeat;
    text-align: center;
    padding: 100px 20px;
    color: var(--white);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.badge-catalogo {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.brand-logo {
    max-width: 320px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    animation: fadeInDown 1s ease;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.brand-name {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease;
}

.slogan {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Info Section */
.info-section {
    max-width: 1000px;
    margin: -40px auto 40px auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.info-item {
    flex: 1;
    padding: 0 15px;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}
.info-item h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.info-item p {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Filtros */
.filtros-container {
    text-align: center;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-filtro {
    background: transparent;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    color: var(--black);
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn-filtro:hover, .btn-filtro.activo {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Galeria */
.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

/* Producto Card */
.producto-card {
    background: var(--white);
    border-radius: 15px;
    width: calc(33.333% - 20px);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #f0f0f0;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.offer-tag {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--red-offer);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.img-container {
    position: relative;
    height: 280px;
    cursor: pointer;
    overflow: hidden;
    background: #f9f9f9;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.producto-card:hover .img-container img {
    transform: scale(1.08);
}

.ver-mas-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    color: var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.producto-card:hover .ver-mas-icon {
    opacity: 1;
}

.info {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sku {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 12px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1.1;
}

.info h3:hover {
    color: var(--gold);
}

.desc {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.precio-box {
    display: flex;
    flex-direction: column;
}

.precio-original {
    font-size: 0.9rem;
    color: #a0a0a0;
    text-decoration: line-through;
}

.precio {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
}

.precio.oferta {
    color: var(--red-offer);
}

.btn-ws {
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-ws:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Modal Premium */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    width: 95%;
    max-width: 1000px;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #999;
    z-index: 10;
    transition: color 0.3s;
    line-height: 1;
}

.close-btn:hover { color: var(--black); }

.modal-img {
    width: 50%;
    height: 600px;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    width: 50%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sku-modal {
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 1px;
}

.modal-body h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--black);
    margin-bottom: 25px;
    line-height: 1;
}

.modal-body p {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.modal-footer {
    margin-top: auto;
}

.m-precio-box { margin-bottom: 20px; }
.m-precio-original { text-decoration: line-through; color: #a0a0a0; font-size: 1.2rem; display: block; margin-bottom:5px;}
.m-precio { font-size: 2.5rem; font-weight: 700; color: var(--black); }
.m-precio.oferta { color: var(--red-offer); }

.btn-ws.big {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border-radius: 30px;
}

/* Sección de Instagram */
.instagram-section {
    padding: 80px 20px;
    background-color: #fcfcfc;
    text-align: center;
}

.section-header i {
    font-size: 3rem;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.section-header a {
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
}

.instafeed-container {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.insta-hover {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-hover i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.insta-item:hover img { transform: scale(1.1); }
.insta-item:hover .insta-hover { opacity: 1; }
.insta-item:hover .insta-hover i { transform: scale(1); }

.insta-placeholder {
    width: 100%;
    color: var(--gray-text);
    padding: 80px 20px;
    border: 2px dashed #ddd;
    border-radius: 20px;
    background: #fff;
}

@media (max-width: 900px) {
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Sección de Contacto */
.contacto-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.contacto-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contacto-info {
    flex: 1;
}

.contacto-info h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.contacto-intro {
    color: var(--gray-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item-contacto {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item-contacto i {
    font-size: 1.5rem;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item-contacto strong {
    display: block;
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 5px;
}

.info-item-contacto p {
    color: var(--gray-text);
    margin: 0;
    line-height: 1.5;
}

.info-item-contacto a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.contacto-mapa {
    flex: 1;
    height: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
}

@media (max-width: 900px) {
    .contacto-wrapper {
        flex-direction: column;
    }
    .contacto-mapa {
        width: 100%;
        height: 350px;
    }
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 60px 20px 40px;
    margin-top: 40px;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(255,255,255,0.1));
}

.footer-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    color: #aaa;
}

footer p.small {
    color: #666;
    margin-top: 20px;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones Flotantes */
.redes-flotantes {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    color: var(--white);
}

.float-wa { background-color: #25D366; }
.float-fb { background-color: #1877F2; }
.float-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsivo */
@media (max-width: 1024px) {
    .producto-card { width: calc(50% - 15px); }
}

@media (max-width: 768px) {
    header { padding: 60px 20px; }
    .brand-name { font-size: 4rem; }
    .info-section { flex-direction: column; gap: 30px; margin: 20px; }
    .info-item { border-bottom: 1px solid #eee; padding-bottom: 20px; }
    .info-item:last-child { border-bottom: none; padding-bottom: 0; }
    .modal-content { flex-direction: column; max-height: 95vh; overflow-y: auto;}
    .modal-img { width: 100%; height: 350px; }
    .modal-body { width: 100%; padding: 30px; }
}

@media (max-width: 600px) {
    .producto-card { width: 100%; }
    .brand-name { font-size: 3.5rem; }
    .footer-content { flex-direction: column; gap: 15px; }
    .redes-flotantes { right: 15px; bottom: 15px; gap: 10px; }
    .float-btn { width: 50px; height: 50px; font-size: 1.5rem; }
    
    .filtros {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px; /* For scrollbar */
        -webkit-overflow-scrolling: touch;
    }
    .filtros::-webkit-scrollbar { height: 4px; }
    .filtros::-webkit-scrollbar-thumb { background: #d4af37; border-radius: 4px; }
    .btn-filtro { flex: 0 0 auto; }
    .filtros-container::after {
        content: '\u2194 Desliza para ver más categorías';
        display: block;
        font-size: 0.8rem;
        color: var(--gray-text);
        margin-top: 8px;
        opacity: 0.8;
    }
}