* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #6b0038;
}

.container {
  width: 95%;
  max-width: 900px;
  margin: auto;
  background: white;
  min-height: 100vh;
}

header {
  background: #b0005a;
  color: white;
  padding: 20px;
}

header h1 {
  margin: 0;
  font-size: 32px;
}

nav {
  display: flex;
  justify-content: space-between;
  background: #97004d;
  color: white;
  padding: 12px 20px;
  font-weight: bold;
}

.banner {
  background: linear-gradient(135deg, #111, #c99b32);
  color: white;
  text-align: center;
  padding: 35px 20px;
  font-size: 30px;
  font-weight: bold;
}

.banner p {
  font-size: 16px;
  margin: 10px 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 20px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.card h2 {
  margin: 0;
  background: #003b73;
  color: white;
  padding: 6px;
  font-size: 15px;
  text-align: center;
}

.back {
  display: block;
  background: #3c4658;
  color: #3cff00;
  text-align: center;
  padding: 15px;
  font-size: 22px;
  text-decoration: none;
  font-weight: bold;
}

.detail-title {
  padding: 20px;
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  border-radius: 5px;
}

.son-foto {
  grid-column: 2;
}

.info {
  padding: 20px;
  font-size: 18px;
  line-height: 1.6;
}

.whatsapp {
  display: block;
  width: 85%;
  margin: 20px auto 30px;
  background: #24d366;
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 16px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: white;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
  }

  header h1 {
    font-size: 26px;
  }

  nav {
    font-size: 16px;
    padding: 10px 15px;
  }

  .banner {
    font-size: 22px;
    padding: 25px 10px;
  }

  .grid {
   display: block;

   grid-template-columns: repeat(2,1fr);
   gap: 8px;
   padding: 8px;
  }

  .card img {
    width: 100%;
    height: 110;
    object-fit: cover;
  }

  .back {
    font-size: 20px;
    padding: 14px;
  }

  .detail-title {
    font-size: 24px;
    padding: 15px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .gallery img {
    height: 220px;
    object-fit: contain;
  }

  .son-foto {
    grid-column: auto;
  }

  .info {
    font-size: 17px;
    line-height: 1.6;
    padding: 15px;
  }

  .whatsapp {
    width: 90%;
    font-size: 20px;
    padding: 16px;
  }
}

.dropbtn{
    background:none;
    color:white;
    border:none;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
}

.dropdown{
    position:relative;
}

.dropdown-content{
    display:none;
    position:absolute;
    right:0;
    background:white;
    min-width:220px;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
    z-index:999;
}

.dropdown-content a{
    display:block;
    color:#333;
    text-decoration:none;
    padding:12px;
}

.dropdown-content a:hover{
    background:#f2f2f2;
}

.dropdown:hover .dropdown-content{
    display:block;
}

@media (max-width: 768px) {
  main.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 8px !important;
  }

  main.grid .card img {
    height: 100px !important;
    object-fit: cover;
  }

  main.grid .card h2 {
    font-size: 14px !important;
    padding: 6px !important;
  }
}

@media (max-width: 768px) {
  .dropdown-content {
    left: 0;
    right: auto;
    min-width: 180px;
    max-width: 90vw;
    z-index: 9999;
  }

  nav {
    overflow: visible;
  }

  .container {
    overflow: visible;
  }
}

.description{
  font-size: 15px;
  line-height: 1.5;
}

.whatsapp-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;

    width:100%;
    max-width:520px;
    margin:25px auto;

    background:linear-gradient(90deg,#25D366,#1ebe5d);
    color:#fff;
    text-decoration:none;

    border-radius:60px;
    padding:18px 25px;

    box-shadow:0 8px 25px rgba(37,211,102,.35);
    transition:.25s;
}

.whatsapp-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(37,211,102,.5);
}

.whatsapp-btn .icon{
    font-size:48px;
}

.wa-logo{
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.whatsapp-btn .text{
    display:flex;
    flex-direction:column;
}

.whatsapp-btn .small{
    font-size:20px;
    font-weight:500;
}

.whatsapp-btn .big{
    font-size:34px;
    font-weight:800;
    letter-spacing:1px;
}

@media(max-width:768px){
    .whatsapp-btn{
        padding:14px 18px;
        gap:12px;
    }

    .whatsapp-btn .icon{
        font-size:36px;
    }

    .whatsapp-btn .small{
        font-size:15px;
    }

    .whatsapp-btn .big{
        font-size:24px;
    }
}


.wa-btn{
    display:block;
    width:100%;
    max-width:520px;
    margin:25px auto;
}

.wa-btn img{
    width:100%;
    display:block;
    border-radius:30px;
    transition:0.3s;
}

.wa-btn img:hover{
    transform:scale(1.03);
}

.banner-img img{
  width: 100%;
  height: auto;
  display: block;
}


.breadcrumb{
    padding:15px 20px;
    font-size:14px;
    background:#f7f7f7;
    border-bottom:1px solid #ddd;
}

.breadcrumb a{
    color:#0b5ed7;
    text-decoration:none;
    font-weight:600;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

.breadcrumb span{
    color:#555;
    margin:0 5px;
}

.card-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.card-link:hover{
    transform:scale(1.02);
    transition:.2s;
}

.card{
    position:relative;
}

