@import 'navbar.css';

/* ===== ESTILOS GLOBALES ===== */
:root {
  --primary-green: #6b7b3a;
  --gold: #d3b991;
  --purple-accent: #8b5cf6;
  --cream: #f6f4ec;
  --text-dark: #333;
  --text-light: #8b8b87;
}

* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html { scroll-behavior:smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color:var(--text-dark);
  background:#fff;
  line-height:1.6;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

.container {
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}




a { transition:color 0.3s ease; }

/* Hero section styles */
.hero { background: linear-gradient(#f6f4ec 55%, #f3e6db 55%); padding: 60px 0 80px; overflow: hidden; }
.hero-inner { display:flex; align-items:center; justify-content:center; gap:50px; max-width:1100px; margin:0 auto; padding:0 20px; width:100%; }
.hero-left { flex:1; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.hero-right { flex:1; display:flex; justify-content:flex-start; align-items:center; }
.hero-right img { width:100%; max-width:450px; height:auto; object-fit:cover; box-shadow: 0 15px 35px rgba(0,0,0,0.06); border-radius: 4px; transition: transform 0.5s ease; }
.hero-right img:hover { transform: translateY(-8px); }
.hero-badge { width:110px; height:150px; border-radius:60px; overflow:hidden; background:#fff; border:4px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.05); display:flex; align-items:center; justify-content:center; margin-bottom:24px; transition: transform 0.4s ease; }
.hero-badge:hover { transform: scale(1.05); }
.hero-badge img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-title { font-family: 'Playfair Display', Georgia, serif; font-size:62px; line-height:1.05; color:#6b7b3a; margin:0 0 18px; letter-spacing:0.5px; text-shadow:2px 2px 6px rgba(139, 92, 246, 0.08); font-weight:700; text-align: left; }
.hero-desc { color:#6b6b66; max-width:460px; margin-bottom:28px; font-size:16px; line-height:1.7; text-align: left; }
.btn { display:inline-block; padding:12px 28px; border:2px solid #d3b991; color:#8b6b40; text-decoration:none; border-radius:4px; background:transparent; transition:all 0.3s ease; font-size:14px; font-weight: 600; }
.btn:hover { background:#8b5cf6; border-color:#8b5cf6; color:#fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2); }

@media (max-width:1000px) {
  .hero-inner { flex-direction:column-reverse; text-align:center; gap:30px; }
  .hero-left { align-items:center; padding:20px 0; }
  .hero-right { justify-content:center; }
  .hero-right img { width:100%; max-width:380px; }
  .hero-title { font-size:48px; text-align: center; }
  .hero-desc { font-size: 15px; text-align: center; }
}


/* Colecciones */
.collections { padding:70px 0; background: #fff; }
.collections-header { text-align:center; max-width:900px; margin:0 auto 40px; }
.collections-header h2 { font-family: 'Playfair Display', Georgia, serif; color:#6b7b3a; font-size:36px; margin:0 0 12px; }
.collections-header p { color:#8b8b87; margin:0 auto; max-width:700px; }


.collection-card:hover { border-color:#8b5cf6; box-shadow:0 4px 12px rgba(139, 92, 246, 0.15); }
.collection-figure { margin:0; }
.collection-figure img { width:100%; height:260px; object-fit:cover; display:block; }
.collection-body { padding:26px; }
.collection-body h3 { color:#6b7b3a; font-family: 'Playfair Display', Georgia, serif; font-size:22px; margin:0 0 12px; }
.collection-body p { color:#8b8b87; margin:0 0 18px; }
.collection-body .btn { padding:10px 20px; }

@media (max-width:900px) {
  
  .collection-figure img { height:220px; }
}

/* Nuevas Llegadas */
.new-arrival { padding:70px 0; background: linear-gradient(135deg, #f6f4ec 0%, #f3e6db 100%); position:relative; overflow:hidden; border-bottom:4px solid #8b5cf6; }
.new-arrival::before { content:''; position:absolute; top:-80px; left:-80px; width:250px; height:250px; border-radius:50%; background:#8b5cf6; opacity:0.08; }
.arrival-header { text-align:center; max-width:900px; margin:0 auto 50px; position:relative; z-index:1; }
.arrival-header h2 { font-family: 'Playfair Display', Georgia, serif; color:#6b7b3a; font-size:36px; margin:0 0 12px; }
.arrival-header p { color:#8b8b87; max-width:700px; margin:0 auto; }


.product-figure { margin:0; position:relative; overflow:hidden; }
.product-figure img { width:100%; height:280px; object-fit:cover; display:block; transition:transform 0.3s ease; }
.product-card:hover .product-figure img { transform:scale(1.05); }
.wishlist-btn { position:absolute; top:12px; right:12px; width:40px; height:40px; border-radius:50%; background:#fff; border:2px solid #8b5cf6; color:#8b5cf6; font-size:20px; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(0,0,0,0.12); transition:all 0.3s ease; }
.wishlist-btn:hover { background:#8b5cf6; color:#fff; border-color:#8b5cf6; }
.product-info { padding:18px; text-align:center; }
.product-info h3 { color:#6b7b3a; font-family: 'Playfair Display', Georgia, serif; font-size:16px; margin:0 0 8px; }
.product-info .price { color:#d3b991; font-weight:600; margin:0; }



@media (max-width:600px) { .arrival-header h2 { font-size:28px; } }

/* Testimonios */
.testimonials { padding:80px 0; background:#fff; border-top:4px solid #8b5cf6; }
.testimonials-inner { display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:50px; align-items:center; }
.testimonials-left h2 { font-family: 'Playfair Display', Georgia, serif; color:#6b7b3a; font-size:42px; line-height:1.1; margin:0 0 16px; }
.testimonials-left p { color:#8b8b87; max-width:300px; margin:0 0 30px; }
.testimonials-controls { display:flex; gap:12px; }
.control-btn { background:#f0ebe0; border:2px solid #8b5cf6; width:36px; height:36px; border-radius:4px; color:#8b5cf6; cursor:pointer; font-size:18px; display:flex; align-items:center; justify-content:center; transition:all 0.3s ease; }
.control-btn:hover { background:#8b5cf6; color:#fff; border-color:#8b5cf6; }
.testimonial-figure { margin:0; position:relative; }
.testimonial-figure img { width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; display:block; border-radius:4px; }
.testimonial-quote { margin:0; }
.testimonial-quote p { color:#8b8b87; font-size:16px; line-height:1.7; margin:0 0 24px; font-style:italic; }
.testimonial-author { display:block; }
.testimonial-author strong { display:block; color:#8b5cf6; font-family: 'Playfair Display', Georgia, serif; font-size:18px; margin-bottom:4px; }
.testimonial-author span { color:#d3b991; font-size:14px; font-weight:600; }

@media (max-width:1100px) {
  .testimonials-inner { grid-template-columns:1fr; gap:30px; text-align:center; }
  .testimonials-left { order:2; }
  .testimonials-center { order:1; }
  .testimonials-right { order:3; }
  .testimonial-figure img { max-width:400px; margin:0 auto; }
}

@media (max-width:768px) {
  .testimonials { padding:50px 0; }
  .testimonials-left h2 { font-size:32px; }
}

/* Footer */
.site-footer { background:#6b7b3a; color:#fff; padding:60px 0 0; margin-top:80px; border-top:4px solid #8b5cf6; }
.footer-content { display:grid; grid-template-columns:1.2fr 1fr 1fr 1.1fr; gap:40px; padding:50px 0; }
.footer-col h3 { font-family: 'Playfair Display', Georgia, serif; font-size:16px; color:#fff; text-transform:uppercase; letter-spacing:1px; margin:0 0 20px; }
.footer-col ul { list-style:none; margin:0; padding:0; }
.footer-col ul li { margin-bottom:12px; }
.footer-col a { color:#d3c4b0; text-decoration:none; transition:all 0.3s ease; }
.footer-col a:hover { color:#8b5cf6; font-weight:600; }
.footer-logo { display:flex; align-items:center; gap:10px; margin-bottom:16px; text-decoration:none; }
.footer-logo img { height:32px; }
.footer-logo span { color:#fff; font-family: 'Playfair Display', Georgia, serif; font-weight:bold; font-size:18px; }
.footer-brand p { color:#d3c4b0; margin-bottom:20px; line-height:1.6; }
.social-links { display:flex; gap:12px; }
.social-links a { width:38px; height:38px; border-radius:50%; background:#d3b991; color:#6b7b3a; display:flex; align-items:center; justify-content:center; text-decoration:none; font-weight:bold; font-size:16px; transition:all 0.3s ease; border:2px solid transparent; }
.social-links a:hover { background:#8b5cf6; color:#fff; border-color:#d3b991; }
.subscribe-form { display:flex; margin-top:16px; }
.subscribe-form input { flex:1; padding:12px 14px; border:none; background:#fff; color:#333; font-size:14px; }
.subscribe-form input::placeholder { color:#aaa; }
.subscribe-form button { width:50px; background:#8b5cf6; border:2px solid #d3b991; color:#fff; cursor:pointer; font-size:18px; display:flex; align-items:center; justify-content:center; transition:all 0.3s ease; }
.subscribe-form button:hover { background:#d3b991; border-color:#8b5cf6; }
.footer-bottom { background:#5a6930; padding:20px 0; text-align:center; font-size:13px; color:#d3c4b0; }
.footer-bottom a { color:#d3b991; text-decoration:none; }
.footer-bottom a:hover { text-decoration:underline; }

@media (max-width:1024px) {
  .footer-content { grid-template-columns:1fr 1fr; gap:30px; padding:40px 0; }
}

@media (max-width:600px) {
  .footer-content { grid-template-columns:1fr; gap:30px; }
  .footer-col { text-align:center; }
  .social-links { justify-content:center; }
  .subscribe-form { justify-content:center; }
}

/* ===== CATÁLOGOS COMPLETOS ===== */
.catalog-section { padding:80px 0; background:#fff; border-top:4px solid #8b5cf6; }
.catalog-section.bg-light { background:#f9f8f6; }
.catalog-header { text-align:center; max-width:900px; margin:0 auto 60px; }
.catalog-header h2 { font-family: 'Playfair Display', Georgia, serif; color:#6b7b3a; font-size:40px; margin:0 0 16px; letter-spacing:0.5px; }
.catalog-header p { color:#8b8b87; max-width:700px; margin:0 auto; font-size:16px; line-height:1.6; }



.product-card-large:hover { box-shadow:0 8px 24px rgba(139, 92, 246, 0.25); transform:translateY(-4px); border-color:#d3b991; }
.product-card-large .product-figure { margin:0; position:relative; overflow:hidden; }
.product-card-large .product-figure img { width:100%; height:380px; object-fit:contain; display:block; transition:transform 0.4s ease; background:#fafaf8; padding:20px; }
.product-card-large:hover .product-figure img { transform:scale(1.08); }
.product-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(139, 92, 246, 0.85); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity 0.3s ease; border:2px solid #8b5cf6; }
.product-card-large:hover .product-overlay { opacity:1; }
.add-to-cart { padding:12px 24px; background:#8b5cf6; border:2px solid #d3b991; color:#fff; cursor:pointer; font-weight:600; border-radius:2px; transition:all 0.3s ease; font-size:15px; }
.add-to-cart:hover { background:#d3b991; border-color:#8b5cf6; color:#333; transform:scale(1.05); }
.product-card-large .product-info { padding:24px; }
.product-card-large .product-info h3 { font-family: 'Playfair Display', Georgia, serif; color:#6b7b3a; font-size:18px; margin:0 0 10px; }
.product-card-large .product-info .price { color:#d3b991; font-weight:700; margin:0; font-size:16px; }



@media (max-width:768px) { .catalog-header h2 { font-size:32px; } .product-card-large .product-figure img { height:280px; } }

/* ===== SECCIÓN DE CONTACTO ===== */
.contact-section { padding:80px 0; background: linear-gradient(135deg, #6b7b3a 0%, #5a6930 100%); color:#fff; position:relative; border-top:4px solid #8b5cf6; }
.contact-header { text-align:center; max-width:800px; margin:0 auto 60px; }
.contact-header h2 { font-family: 'Playfair Display', Georgia, serif; font-size:40px; margin:0 0 16px; color:#fff; }
.contact-header p { color:#d3c4b0; margin:0; font-size:16px; }
.contact-wrapper { display:grid; grid-template-columns:1fr 1fr; gap:60px; max-width:1100px; margin:0 auto; }
.contact-form { display:flex; flex-direction:column; gap:20px; }
.form-group input, .form-group textarea { width:100%; padding:14px 16px; border:2px solid #8b5cf6; background:#fff; color:#333; font-family:inherit; border-radius:4px; font-size:14px; transition:all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline:none; border-color:#d3b991; box-shadow:0 0 0 3px rgba(139, 92, 246, 0.1); }
.form-group textarea { resize:vertical; min-height:120px; }
.btn-primary { background:#8b5cf6 !important; color:#fff !important; border:2px solid #d3b991 !important; font-weight:600; cursor:pointer; transition:all 0.3s ease; padding:14px 32px !important; border-radius:4px; }
.btn-primary:hover { background:#d3b991 !important; border-color:#8b5cf6 !important; color:#333 !important; }
.contact-info { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.info-item h4 { font-family: 'Playfair Display', Georgia, serif; color:#8b5cf6; font-size:18px; margin:0 0 8px; border-bottom:2px solid #d3b991; padding-bottom:6px; display:inline-block; }
.info-item p { color:#d3c4b0; margin:0; line-height:1.6; }
.info-item a { color:#d3b991; text-decoration:none; transition:color 0.3s ease; }
.info-item a:hover { color:#fff; }

@media (max-width:900px) {
  .contact-wrapper { grid-template-columns:1fr; gap:40px; }
  .contact-info { grid-template-columns:repeat(2,1fr); gap:30px; }
}

@media (max-width:600px) {
  .contact-info { grid-template-columns:1fr; }
  .contact-header h2 { font-size:32px; }
  .contact-wrapper { gap:30px; }
}

/* Carrito - Contador */
.cart-count { position:absolute; top:-8px; right:-8px; background:#8b5cf6; color:#fff; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:bold; border:2px solid #d3b991; box-shadow:0 2px 8px rgba(139, 92, 246, 0.4); }

@media (max-width:600px) { .hero-title { font-size: 36px !important; } }
/* ================== BULLETPROOF RESPONSIVE LAYOUT ================== */

@media (min-width: 576px) {  }
@media (min-width: 768px) {  }
@media (min-width: 992px) {  }
@media (min-width: 1200px) {  }

.collections-header, .catalog-header, .arrival-header {
  display: block;
  width: 100%;
  text-align: center;
  clear: both;
  margin: 0 auto 40px auto;
}

/* Grids for Mobile (Force Column) */
.collection-grid, .catalog-grid, .arrival-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  clear: both;
  align-items: center;
}

/* Base Card Styles */
.collection-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
}
.product-card-large {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 2px solid #8b5cf6;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card {
  width: 100%;
  max-width: 350px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Tablet and Desktop Grids */
@media (min-width: 768px) {
  .collection-grid, .catalog-grid, .arrival-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }
  
  /* 2 columns on tablet */
  .collection-card, .product-card-large {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
  .product-card {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (min-width: 1024px) {
  /* 3 columns on desktop for collections/catalog */
  .collection-card, .product-card-large {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
  /* 4 columns on desktop for arrivals */
  .product-card {
    flex: 0 0 calc(25% - 22.5px);
    max-width: calc(25% - 22.5px);
  }
}
/* FOOLPROOF BLOCK LAYOUT OVERRIDE FOR IOS SAFARI */

.collections-header, .catalog-header, .arrival-header { display: block !important; width: 100% !important; float: none !important; clear: both !important; }
.collection-grid, .catalog-grid, .arrival-grid { display: flex !important; width: 100% !important; float: none !important; clear: both !important; }


/* ABSOLUTE FORCE LAYOUT */
section.catalog-section, section.collections, section.new-arrival {
    display: block !important;
    width: 100% !important;
    padding: 60px 20px !important;
    box-sizing: border-box !important;
}

section.catalog-section .container, section.collections .container, section.new-arrival .container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.catalog-header, .collections-header, .arrival-header {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto 40px auto !important;
    clear: both !important;
}

/* Force grid to be below header */
.catalog-grid, .collection-grid, .arrival-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 0 auto !important;
    clear: both !important;
}

@media (min-width: 768px) {
    .catalog-grid, .collection-grid, .arrival-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .catalog-grid, .collection-grid, .arrival-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Fix card widths inside the new CSS Grid */
.collection-card, .product-card-large, .product-card {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
}
