*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* PALETA */
:root {
  --primary: #FAA7BB;
  --soft: #F7F0E8;
  --dark: #2f2a4a;
  --text: #5A3E4B;
  --light: #ffffff;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--soft);
  color: var(--text);
}

/* HEADER */
.header {
  background: linear-gradient(180deg, #f3a6b8, #e58aa3);
  padding: 16px 24px;
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 100px;
  border-radius: 50%;
}

.btn-header {
  background: var(--dark);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
}

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--soft);
}
.hero-text {
  padding: 80px 60px;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #a87c8e;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-top: 10px;
  color: var(--dark);
}

.hero-text h1 em {
  color: var(--primary);
}

.hero-text p {
  margin-top: 20px;
  font-size: 0.95rem;
  max-width: 300px;
}

/* MOSAICO */
.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 20px;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PRODUCTOS */
.products {
  background: #f1f1f1;
  padding: 60px 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: auto;
}

.product-card {
  text-align: center;
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
}

.card-label {
  position: absolute;
  left: 0;
  bottom: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 10px;
  font-size: 0.7rem;
  background: rgba(255,255,255,0.7);
}

.product-card p {
  margin-top: 10px;
  font-size: 0.8rem;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 18px;
  background: #d9d9d9;
  border-radius: 20px;
  font-size: 0.75rem;
  text-decoration: none;
  color: #333;
}

/* FOOTER */

footer {
  background: var(--primary);
  padding: 28px 20px;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* lados */
.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* texto */
.footer-left p,
.footer-right p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  letter-spacing: 0.5px;
}

/* centro */
.footer-center {
  display: flex;
  justify-content: center;
}

/* botón whatsapp */
.footer-whatsapp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.footer-whatsapp:hover {
  transform: scale(1.08);
}

.footer-whatsapp img {
  width: 22px;
  height: 22px;
}


/* RESPONSIVE */
@media (max-width: 768px) {

  .product-detail{
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .product-image{
    width: 100%;
  }

  .product-image img{
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
  }

  .product-info{
    width: 90%;
    text-align: center;
  }

  .crochet-frame{
    width: 320px;
    height: 320px;
  }

}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  display: block;
}

.product-card {
  max-width: 280px;
  margin: 0 auto;
}

.footer-whatsapp {
  width: 64px; 
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
}

.footer-whatsapp img {
  width: 34px; 
  height: 34px;
}

.footer-whatsapp img {
  width: 100px;   /* prueba entre 44 y 52 */
  height: 100px;
}



@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }
}

@media (max-width: 768px){

  .product-info{
      width:100%;
      max-width:350px;
      margin:0 auto;
  }

}

/* ── HOVER SUTIL ── */
.card-image {
  cursor: zoom-in;
}

.card-image img {
  transition: transform 0.5s ease, filter 0.4s ease;
}

.card-image:hover img {
  transform: scale(1.04);
  filter: brightness(0.95);
}

/* ── LIGHTBOX PRODUCTOS ── */
#product-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

#product-lightbox.open {
  display: flex;
}

#product-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: fadeZoom 0.25s ease;
}

/* animación suave */
@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#plb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.7;
}

#plb-close:hover {
  opacity: 1;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* movimiento leve */
.mosaic-item:hover img {
  transform: scale(1.08) translateY(-4px);
}

.mosaic-item img {
  transition: transform 0.3s ease;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mosaic-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.product-detail{
    max-width:1200px;
    margin:60px auto 60px auto;

    display:flex;
    gap:60px;

    align-items:flex-start;
}

.product-image{
    flex:1;
}

.product-image img{
    width:100%;
    max-width:650px;
    display:block;
}

.product-info{
    width:350px;
}

.product-info h1{
    font-size:3rem;
    margin-bottom:30px;
}

.product-info h1{
    font-family: 'Playfair Display', serif;
    color: #25264b;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
}


.back-home{
    text-align:center;
    margin-bottom:0px;
}

.btn-back{
    display:inline-block;

    padding:12px 28px;

    border-radius:30px;

    background:#c8c0c0;
    text-decoration:none;
}

.crochet-frame{
    position:relative;

    width:350px;
    height:350px;
}

.crochet-frame img{
    width:100%;
    height:100%;
    display:block;
}

.frame-content{
    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%, -50%);

    width:65%;

    text-align:center;

    font-size:14px;
    line-height:1.4;
}

.marco-svg{
    width:100%;
    max-width:350px;
    height:auto;
}

.product-info{
    width:350px;

    display:flex;
    flex-direction:column;
    align-items:center;
}

.btn-back{
    margin-top:20px;
}

.btn-whatsapp{
    display:inline-block;
    margin-top:6px;
    padding:12px 28px;

    background:#2f2a4a;  /* azul oscuro de la marca */
    color:white;

    border-radius:30px;
    text-decoration:none;

    transition:0.2s ease;
}

.btn-whatsapp:hover{
    transform:translateY(-2px);
}

.btn-back{
    display:inline-block;

    margin-top:18px;

    padding:8px 18px;

    background:transparent;

    border:1px solid #c8c0c0;

    color:#7b6e7a;

    border-radius:30px;

    text-decoration:none;

    font-size:0.9rem;
}

.logo{
  width:100px;
  border-radius:50%;
  transition:transform .25s ease;
}

.logo:hover{
  transform:scale(1.05);
}

.hero-mosaic{
  margin-bottom: 80px;
}

.product-info{
    width:350px;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    text-align:center;
}

.product-info p{
    text-align:center;
}

.product-image{
    width:100%;
    display:flex;
    justify-content:center;
}

.product-info{
    width:350px;

    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

/* PÁGINA TEMPORAL */

.coming-soon{
    min-height:70vh;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    padding:60px 20px;
}

.coming-logo{
    width:140px;
    border-radius:50%;
    margin-bottom:30px;
}

.coming-eyebrow{
    font-size:.75rem;
    letter-spacing:2px;
    color:#a87c8e;
    text-transform:uppercase;
}

.coming-soon h1{
    font-family:'Playfair Display', serif;
    font-size:4rem;
    color:#2f2a4a;

    margin-top:12px;
    margin-bottom:20px;
}

.coming-soon h1 em{
    color:#FAA7BB;
    font-style:italic;
}

.coming-soon p{
    max-width:520px;
    margin-bottom:12px;
    line-height:1.7;
}

.yarn-icon{
    font-size:3rem;
    margin-top:25px;
}

@media (max-width:768px){

    .coming-soon h1{
        font-size:2.5rem;
    }

}