@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Playfair+Display&display=swap');

html {
   scroll-behavior: smooth;
}

header {
  background-color: #f4f4f4;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  background-color: #f4f4f4;
}

header nav img.logo {
  max-height: 60px;
  width: auto;
}

header nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Icono hamburguesa oculto en escritorio */
.menu-toggle {
  display: none;
  font-size: 20px;
  color: #b3b3b5;
  background: none;
  border: none;
  cursor: pointer;
}

/* RESPONSIVE: para pantallas pequeñas */
@media (max-width: 768px) {
  header nav {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    padding: 10px 20px;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    margin-left: auto;
    font-size: 28px;
    cursor: pointer;
  }
    
   header nav img. logo {
    max-height: 30px;
  } 


  header nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background-color: #f4f4f4;
  }

  header nav ul.active {
    display: flex;
  }

  header nav ul li {
    padding: 10px 0;
    text-align: center;
  }
    body {
        padding-top: 80px;
    }
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #b3b3b5;
  font-weight: 100;
}

nav a:hover {
  text-decoration: underline;
} 

:root{
    --gold:gray;
    --black:#111111;
    --gray:#666666;
    --light:#fafafa;
    --border:#e5e5e5;
}

*{
    margin:25;
    padding:0;
    box-sizing:border-box;
}

    .edition-badge{
    display:inline-block;
    padding:30px 18px;
    border:1px solid gray;
    color:#c6a86b;
    font-weight:600;
    margin-bottom:20px;
    letter-spacing:1px;
}
    
body{
    font-family: "Century gothic", helvetica, sans-serif;
    color: grey;
    background:#fff;
    line-height:1.2;
    padding-top: 10px;
}

.container{
    max-width:900px;
    margin:auto;
    padding-top:120px;
    padding-left: 20px;
    padding-right: 20px;
    
}

.product-grid{
    display:block;
    margin-top:35px;
    
    
}

.gallery{
    display:flex;
    margin-top:35px;
    gap:15px;
}

.thumbnails{
    width:90px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

    .info{
    max-width:900px;
    margin:auto;
}

.art-title{
    text-align:center;
}

.price{
    text-align:center;
}
    
.thumb{
    cursor:pointer;
    border:0px solid var(--border);
    overflow:hidden;
    margin-top: 35px;
}

.thumb img{
    width:100%;
    display:block;
    margin-top: 35px;
}

    .edition-info{
    margin:15px 0 25px;
    padding:12px;
    background:#fafafa;
    border-left:3px solid #c6a86b;
    font-size:15px;
}

.edition-info strong{
    color:#111;
}

.edition-info span{
    color:#c6a86b;
    font-weight:bold;
}
.main-image{
    flex:1;
    overflow:hidden;
    width:100%;
    margin-top: 35px;
}

.main-image img{
    width:100%;
    display:block;
    height:auto;
    transition:transform .5s ease;
    margin-top: 35px;
}

.main-image:hover img{
    transform:scale(1.15);
    margin-top: 35px;
}

.art-title{
    font-size:42px;
    font-weight:300;
    margin-bottom:10px;
    max-width:900px;
}

.art-code{
    color:var(--gray);
    margin-bottom:25px;
    max-width:900px;
}

.price{
    font-size:20px;
    color:var(--gold);
    font-weight:600;
    margin-bottom:25px;
    max-width:750px;
}

.details{
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    padding:25px 0;
    margin-bottom:25px;
}

.details p{
    margin-bottom:10px;
    line-height: 1;
}

.details strong{
    display:inline-block;
    width:120px;
}

select{
    width:100%;
    padding:15px;
    border:1px solid var(--border);
    font-size:16px;
    margin-bottom:20px;
}

.shipping-info{
    margin-top:5px;
    margin-bottom: 10px;
    font-size: 14px;
    color:#555555;
    line-height:1.8;
}
button{
    width:300px;
    border:none;
    padding:16px;
    cursor:pointer;
    font-size:15px;
    transition:.3s;
}

.cart-btn{
    background:#111;
    color:#fff;
    margin-bottom:12px;
}

.cart-btn:hover{
    background:#333;
}

.paypal-btn{
    background:#0070ba;
    color:white;
    margin-bottom:12px;
    max-width:300px;
}

.mp-btn{
    background:#009ee3;
    color:white;
    max-width:300px;
}

.description{
    margin-top:80px;
}

.description h2{
    margin-bottom:20px;
    font-weight:300;
}

.description p{
    max-width:750px;
}

.shipping{
    margin-top:25px;
    margin-bottom: 40px;
    color:#666;
    font-size:16px;
    
}

    .mp-btn{
    display:block;
    width:100%;
    text-align:center;
    background:#009EE3;
    color:white;
    text-decoration:none;
    padding:16px;
    border-radius:4px;
    margin-bottom:12px;
    transition:.3s;
}

.mp-btn:hover{
    opacity:.9;
}

@media(max-width:768px){
    p{
        line-height: 1;
    }

.container{
    padding:80px;
}

.product-grid{
    grid-template-columns:1fr;
    gap:30px;
}

.gallery{
    flex-direction:column-reverse;
}

.thumbnails{
    width:100%;
    flex-direction:row;
}

.thumb{
    width:80px;
}

.art-title{
    font-size:30px;
}

.price{
    font-size:28px;
}

}

footer {
  background-color: #f4f4f4;
  color: #7e7e7e;
  text-align: center;
  padding: 1rem;
}


header,
header nav,
header nav ul {
  height: auto !important;
  min-height: 0 !important;
}