


    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body{
    font-family: 'Cormorant Garamond', serif;
    background:#faf9f7;
    color:#222;
    position:relative;
    }
    body::before{
    content:"";
    position:fixed;
    inset:0;

    background:url("../imagenes/pinkfloyd.jfif") center/cover no-repeat;

    opacity:0.16;      /* Ajusta la transparencia */
    z-index:-1;
}

.galeria{

    width:100%;
    padding:50px 0;
}

.galeria h2{

    text-align:center;
    margin-bottom:30px;
}


/*==========================
GALERÍA DE ARTE
==========================*/

.galeria-arte{

    width:100%;
    padding:70px 5%;

}

.titulo-galeria{

    text-align:center;
    font-size:42px;
    margin-bottom:45px;

}


.titulo-tecnicas{

    width:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:50px 0;

}

.titulo-tecnicas h2{

    margin:0;

    font-family:'Cormorant Garamond', serif;

    font-size:90px;

    font-weight:400;

    letter-spacing:8px;

    line-height:.9;

    color:#111;

}

.titulo-tecnicas p{

    margin:0;

    font-family:'Cormorant Garamond', serif;

    font-size:38px;

    letter-spacing:6px;

    color:#b08d57;

}

.carrusel-ventana {
    width: 100%;
    overflow: hidden;
}

.tarjeta-obra img {
    width: 333px;
    height: 417px;
    object-fit: cover;
    border-radius: 15px;
}

.tarjeta-obra img{

    width:100%;

    height:500px;

    object-fit:cover;

    border-radius:18px;

    transition:.4s;

    box-shadow:0 8px 25px rgba(0,0,0,.18);

}

.tarjeta-obra img:hover{

    transform:scale(1.03);

}

.btn-prev,
.btn-next{

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:white;

    font-size:32px;

    cursor:pointer;

    box-shadow:0 5px 20px rgba(0,0,0,.18);

    transition:.3s;

}

.btn-prev,
.btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

.btn-prev {
    left: 10px;
}

.btn-next {
    right: 10px;
}

.carrusel-track {
    display: flex;
    width: max-content;
    gap: 30px;
}
.btn-obra{

    margin-top:18px;

    padding:12px 28px;

    background:transparent;

    border:2px solid #b08d57;

    border-radius:30px;

    color:#222;

    font-size:24px;

    font-family:'Cormorant Garamond', serif;

    cursor:pointer;

    transition:.35s;

}

.btn-obra:hover{

    background:#b08d57;

    color:white;

    transform:translateY(-3px);

    box-shadow:0 8px 18px rgba(0,0,0,.20);

}
.btn{

    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:28px;
    background:#ffffff;
    box-shadow:0 0 10px rgba(0,0,0,.2);
    transition:.3s;
}

.btn:hover{

    transform:scale(1.1);
}
.carrusel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.obra {
    width: 333px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.obra img {
    width: 293px;
    height: 417px;
    object-fit: cover;
    border-radius: 15px;
    transition: .4s;
}

.obra img:hover {
    transform: scale(1.03);
}

.obra h3 {
    margin: 15px 0 5px;
    font-size: 28px;
    font-family: 'Cormorant Garamond', serif;
}

.obra p {
    margin: 5px 0;
    font-size: 22px;
}

.boton-precio{
    margin-top:10px;
}





      .menu-lateral {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 100;
      height: 100%;
    }


    .menu-toggle:hover {
      background: #555;
    }
    .menu-contenido{
    position:fixed;
    top:0;
    left:0;

    width:320px;
    height:100vh;

    padding:100px 25px 30px;

    background:rgba(250,248,243,.96);
    backdrop-filter:blur(12px);

    box-shadow:8px 0 30px rgba(0,0,0,.18);

    transform:translateX(-105%);
    transition:transform .35s ease;

    z-index:999;
}
 .login{
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    transition:.3s;
}

.login svg{
    width:24px;
    height:24px;
    fill:#111;
}

.login:hover{
    background:#b08d57;
}

.login:hover svg{
    fill:#fff;
}
.menu-contenido button{
    display:block;
    width:100%;
    background:transparent;
    border:none;
    border-bottom:1px solid rgba(176,141,87,.25);
    padding:18px 5px;
    text-align:left;
    font-size:26px;
    font-family:'Cormorant Garamond',serif;
}
.menu-contenido button::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:0;
    height:65%;
    background:#b08d57;
    transition:.35s;
}

.menu-contenido button:hover{
    color:#b08d57;
    padding-left:30px;
}

.menu-contenido button:hover::before{
    width:4px;
}
.menu-toggle{
    position: fixed;
    top: 20px;
    left: 20px;

    width: 60px;
    height: 60px;

    border: none;
    border-radius: 12px;

    background: #111;
    color: #fff;

    font-size: 32px;
    cursor: pointer;

    z-index: 9999;   /* Muy importante */
}

.menu-toggle:hover{
    background:#b08d57;
}
   .menu-lateral.abierto .menu-contenido{
    transform:translateX(0);
}

  .menu-contenido button{
    width:100%;
    background:none;
    border:none;
    border-bottom:1px solid rgba(176,141,87,.25);
    padding:18px 15px;
    text-align:left;
    font-size:26px;
    font-family:'Cormorant Garamond',serif;
    color:#2b2b2b;
    cursor:pointer;
    transition:.35s;
    position:relative;
}

    .menu-contenido button:hover {
      background: #666;
    }

    .menu-contenido button:last-child {
      margin-bottom: 0;
    }

  .encabezado{
    width:100%;
    overflow:hidden;
}

    .encabezado img{
    display:block;
    width:100%;
    height:auto;
}

    .redes-sociales a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #f0f0f0;
      transition: transform 0.2s ease, background 0.2s ease;
    }
    .redes-sociales {
    position: absolute;
    top: 20px;
    right: 20px;

    display: flex;
    flex-direction: row;
    gap: 10px;
    }

    .redes-sociales a:hover {
      transform: scale(1.1);
    }

    .redes-sociales svg {
      width: 22px;
      height: 22px;
      fill: #333;
    }

    .redes-sociales a.whatsapp:hover {
      background: #25d366;
    }

    .redes-sociales a.whatsapp:hover svg {
      fill: #fff;
    }

    .redes-sociales a.instagram:hover {
      background: #e4405f;
    }

    .redes-sociales a.instagram:hover svg {
      fill: #fff;
    }

    .redes-sociales a.facebook:hover {
      background: #1877f2;
    }

    .redes-sociales a.facebook:hover svg {
      fill: #fff;
    }

    main {
      padding: 2rem;
    }

    h1 {
      text-align: center;
    }
.presentacion {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.presentacion img {
    width: 340px;
    border-radius: 15px;
}

.fila {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fila img {
    width: 300px;
    border-radius: 10px;
}

.titulo-obras{
    text-align: center;
    margin-bottom: 40px;
}
.redes-footer{
    text-align:center;
}

.redes-footer h3{
    margin-bottom:15px;
}

.redes-footer a{
    text-decoration:none;
    margin:0 10px;
}

.redes-footer img{
    width:40px;
    height:40px;
    transition:0.3s;
}

.redes-footer img:hover{
    transform:scale(1.2);
}

.pie-pagina{
    width:100%;
    background:#3d3a3a;
    color:#fffdfd;
    padding:60px 8%;
    margin-top:60px;
}

.footer-contenido{
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:50px;
    flex-wrap:wrap;
}

.footer-seccion{
    flex:1;
    min-width:250px;
}

.footer-seccion h2{
    color:#f3efe0;
    margin-bottom:20px;
    font-size:28px;
}

.footer-seccion p{
    color:#d8d8d8;
    line-height:1.8;
    font-size:17px;
}

.footer-seccion i{
    color:#e7e4db;
    margin-right:10px;
}

.redes-socialesPiePagina{
    display:flex;
    gap:18px;
    margin-top:20px;
}

.redes-socialesPiePagina a{
    width:50px;
    height:50px;
    background:#ddd4d4;
    color:#d81010;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:22px;
    transition:.3s;
}

.redes-socialesPiePagina a:hover{
    background:#b8b7b4;
    color:#b3a0a0;
    transform:translateY(-5px) scale(1.1);
}

.pie-pagina hr{
    margin:40px auto 20px;
    border:none;
    border-top:1px solid #7a7272;
}

.copyright{
    text-align:center;
    color:#999;
    font-size:15px;
}

.footer-redes .tiktok svg{
    width:24px;
    height:24px;
    fill:#ffffff;
}

.footer-redes .youtube svg{
    width:24px;
    height:24px;
    fill:#ffffff;
}

.footer-redes .youtube:hover svg{
    fill:#000000;
}
.slider{

    width:300px;
    height:520px;

    overflow:hidden;

    border-radius:15px;

}

.slider-track{

    display:flex;

    flex-direction:column;

    gap:20px;

    animation:subir 18s linear infinite;

}

.slider img{

    width:100%;

    height:230px;

    object-fit:cover;

    border-radius:15px;

    transition:.3s;

}

.slider img:hover{

    transform:scale(1.05);

}

@keyframes subir{

    0%{

        transform:translateY(0);

    }

    100%{

        transform:translateY(-50%);

    }

}
.catalogo{
    display:flex;
    gap:30px;
    margin-top:30px;
    align-items:flex-start;
}

.menu-obras{
    width:250px;
    display:flex;
    flex-direction:column; /* Esto los pone verticales */
    gap:15px;
}

.menu-obras button{
    width:100%;
    padding:15px;
    background:#2c2c2c;
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:18px;
   text-align:left;
    transition:.3s;
}

.menu-obras button:hover{
    background:#8b6a3e;
    padding-left:25px;
}

.panel-obras{
    flex:1;
}

.panel{
    display:none;
}
.panel.activo{
    display:block;
}
.categorias{
    max-width:1200px;
    margin:60px auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.categoria{
    text-decoration:none;
    color:#222;
    text-align:center;
    transition:.3s;
}

.categoria img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
    transition:.3s;
}

.categoria:hover img{
    transform:scale(1.05);
}

.categoria h3{
    margin-top:15px;
    font-size:24px;
}
.menu{
    font-family: "Cormorant Garamond", serif;
    font-size:20px;
    font-weight:500;
    letter-spacing:.4px;
}
.titulo-obra{
    font-family:"Cormorant Garamond", serif;
    font-size:30px;
    font-weight:600;
}
.precio{
    font-family:"Cormorant Garamond", serif;
    font-size:24px;
    font-weight:500;
}
.separador{
    width:80%;
    margin:20px auto;
    border:none;
    border-top:5px solid #6b6161;
}
.boton-precio{
    background: transparent;
    border: 1px solid transparent;
    color: #111110;
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .3s ease;
}
.boton-precio:hover{
    border: 1px solid #b08d57;
    color: #b08d57;
    background: rgba(121, 108, 95, 0.08);
    border-radius: 8px;
}
.titulo-menu{
    text-align:center;
    font-size:34px;
    font-family:'Cormorant Garamond',serif;
    letter-spacing:6px;
    color:#222;
    margin-bottom:25px;
    position:relative;
}

.titulo-menu::after{
    content:"";
    display:block;
    width:70px;
    height:2px;
    background:#b08d57;
    margin:10px auto 0;
}




.presentacion-video{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:80px;          /* Espacio entre columnas */
    width:100%;
    max-width:1600px;
    margin:60px auto;
}

.presentacion-video video{
    width:70%;
    max-width:300px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.titulo-tecnicas{
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centra horizontalmente */
    justify-content: center;  /* Centra verticalmente si el contenedor tiene altura */
    text-align: center;       /* Centra el texto */
    width: 100%;
}

.lado{
    width:220px;       /* Antes 260px */
}

.lado img{
    width:140%;
    height:520px;
    object-fit:cover;
    border-radius:15px;
}
.lado:first-child{
    margin-right:40px;
}

.lado:last-child{
    margin-left:10px;
}
.lado{
    margin:0 20px;
}

.panel-biografia{

    width:90%;
    max-width:1200px;

    margin:60px auto;

    display:flex;
    align-items:center;
    gap:50px;

    background:#ffffff;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.foto-artista{

    flex:1;

    display:flex;
    justify-content:center;

}

.foto-artista img{

    width:100%;
    max-width:350px;

    border-radius:15px;

    object-fit:cover;

}

.info-artista{

    flex:2;

}

.info-artista h2{

    font-size:38px;

    margin-bottom:20px;

    color:#222;

}

.info-artista p{

    font-size:18px;

    line-height:1.8;

    color:#555;

    text-align:justify;

}


.info-artista p{

    text-align:justify;

}

.foto-artista img{

    max-width:280px;

}


.trayectoria{
    width: 90%;
    max-width: 1000px;
    margin: 60px auto;
}

.titulo-seccion{
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    color: #222;
}

.bloque-trayectoria{
    margin-bottom: 60px;
    text-align: center;
}

.bloque-trayectoria h3{
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.separador{
    width: 120px;
    height: 3px;
    background: #b8860b; /* Dorado */
    border: none;
    margin: 20px auto 30px;
    border-radius: 5px;
}

.imagen-trayectoria{
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.bloque-trayectoria p{
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.panel-imagenes{

    width: 90%;
    max-width: 1100px;
    margin: 60px auto;

}

.panel-imagenes h2{

    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;

}

.contenedor-imagenes{

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

    justify-items: center;

}

.contenedor-imagenes img{

    width: 100%;

    max-width: 420px;

    height: auto;

    border-radius: 15px;

    box-shadow: 0 8px 20px rgba(0,0,0,.15);

    transition: .3s;

}

.contenedor-imagenes img:hover{

    transform: scale(1.03);

}


.btn-volver{

    position: absolute;

    top: 20px;
    left: 20px;

    padding: 12px 22px;

    background: rgba(0,0,0,.75);

    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-size: 16px;

    font-weight: bold;

    transition: .3s;

    z-index: 1000;

}

.btn-volver svg{

    width:28px;
    height:28px;
}
.btn-volver:hover{

    background: #c49b3d;

    color: white;

}
/*=========================================
    ENCARGA TU OBRA PERSONALIZADA
=========================================*/

.encargo-personalizado{

    width:90%;
    max-width:900px;

    margin:80px auto;

    background:#ffffff;

    padding:45px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

}

.encargo-personalizado h2{

    text-align:center;

    font-size:38px;

    color:#222;

    margin-bottom:20px;

}

.descripcion{

    text-align:center;

    font-size:18px;

    line-height:1.7;

    color:#666;

    margin-bottom:40px;

}

.grupo{

    display:flex;

    flex-direction:column;

    margin-bottom:25px;

}

.grupo label{

    font-weight:bold;

    color:#333;

    margin-bottom:10px;

    font-size:17px;

}

.grupo input,

.grupo select,

.grupo textarea{

    width:100%;

    padding:15px;

    font-size:16px;

    border:1px solid #d6d6d6;

    border-radius:10px;

    outline:none;

    transition:.3s;

    box-sizing:border-box;

}

.grupo textarea{

    resize:vertical;

    min-height:140px;

}

.grupo input:focus,

.grupo select:focus,

.grupo textarea:focus{

    border-color:#c79b3b;

    box-shadow:0 0 10px rgba(199,155,59,.25);

}

input[type=file]{

    padding:12px;

    background:#fafafa;

    cursor:pointer;

}

#nombreArchivo{

    margin-top:8px;

    color:#666;

    font-size:14px;

    font-style:italic;

}

#btnWhatsapp{

    width:100%;

    padding:18px;

    margin-top:15px;

    border:none;

    border-radius:10px;

    background:#25D366;

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

#btnWhatsapp:hover{

    background:#1ebc59;

    transform:translateY(-2px);

}

#btnWhatsapp:active{

    transform:scale(.98);

}

/*=========================================
        RESPONSIVE
=========================================*/


.modal-login{

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.65);

    justify-content:center;

    align-items:center;

    z-index:9999;

}.modal-contenido{

    background:#fff;

    width:90%;
    max-width:420px;

    padding:35px;

    border-radius:15px;

    position:relative;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

    animation:aparecer .3s ease;

}

.modal-contenido h2{

    text-align:center;

    margin-bottom:10px;

    color:#222;

}

.modal-contenido p{

    text-align:center;

    color:#666;

    margin-bottom:25px;

}

.campo{

    margin-bottom:20px;

}

.campo label{

    display:block;

    margin-bottom:8px;

    font-weight:bold;

}

.campo input{

    width:100%;

    padding:12px;

    border:1px solid #ccc;

    border-radius:8px;

    box-sizing:border-box;

    font-size:16px;

}

.btn-ingresar{

    width:100%;

    padding:14px;

    background:#000;

    color:#fff;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}

.btn-ingresar:hover{

    background:#c49b3d;

}

.cerrar-modal{

    position:absolute;

    top:10px;

    right:15px;

    border:none;

    background:none;

    font-size:28px;

    cursor:pointer;

}

@keyframes aparecer{

    from{

        opacity:0;
        transform:scale(.9);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}
/*=========================================
        GESTIÓN DE OBRAS
=========================================*/

.gestion-obras{

    width:90%;
    max-width:1000px;

    margin:60px auto;

    background:#ffffff;

    padding:45px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

}

.gestion-obras h1{

    text-align:center;

    font-family:'Cormorant Garamond', serif;

    font-size:42px;

    color:#222;

    letter-spacing:3px;

    margin-bottom:40px;

}

.campo{

    display:flex;

    flex-direction:column;

    margin-bottom:28px;

}

.campo label{

    font-size:18px;

    font-weight:bold;

    color:#333;

    margin-bottom:10px;

}

.campo input[type="text"],
.campo select,
.campo textarea{

    width:100%;

    padding:15px;

    font-size:17px;

    border:1px solid #d6d6d6;

    border-radius:10px;

    outline:none;

    transition:.3s;

}

.campo textarea{

    min-height:180px;

    resize:vertical;

}

.campo input:focus,
.campo select:focus,
.campo textarea:focus{

    border-color:#b08d57;

    box-shadow:0 0 10px rgba(176,141,87,.25);

}

/*=========================================
        CARGA DE IMÁGENES
=========================================*/

input[type="file"]{

    width:100%;

    padding:18px;

    border:2px dashed #b08d57;

    border-radius:12px;

    background:#faf9f7;

    cursor:pointer;

    transition:.3s;

}

input[type="file"]:hover{

    background:#f4efe5;

}

small{

    margin-top:8px;

    color:#666;

    font-size:14px;

}

/*=========================================
        VISTA PREVIA
=========================================*/

#vistaPrevia{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));

    gap:20px;

    margin-top:20px;

}

#vistaPrevia img{

    width:100%;

    height:180px;

    object-fit:cover;

    border-radius:12px;

    box-shadow:0 6px 15px rgba(0,0,0,.15);

    transition:.3s;

}

#vistaPrevia img:hover{

    transform:scale(1.04);

}

/*=========================================
            BOTONES
=========================================*/

.botones{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:40px;

}

.botones button{

    padding:14px 35px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:18px;

    font-family:'Cormorant Garamond', serif;

    transition:.3s;

}

.botones button[type="submit"]{

    background:#b08d57;

    color:white;

}

.botones button[type="submit"]:hover{

    background:#9a7848;

}

.botones button[type="reset"]{

    background:#ececec;

    color:#222;

}

.botones button[type="reset"]:hover{

    background:#dcdcdc;

}


body{

    font-family:Arial, Helvetica, sans-serif;

    background:#f4f4f4;

    color:#222;

}

.estadisticas{

    width:90%;
    max-width:1200px;

    margin:50px auto;

}

.estadisticas h1{

    text-align:center;

    margin-bottom:40px;

    font-size:38px;

}

.contenedor-estadisticas{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

.tarjeta{

    background:white;

    border-radius:15px;

    padding:30px;

    text-align:center;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

    transition:.3s;

}

.tarjeta:hover{

    transform:translateY(-5px);

}

.icono{

    font-size:45px;

}

.tarjeta h2{

    font-size:38px;

    margin:15px 0;

    color:#b08d57;

}

.tarjeta p{

    font-size:18px;

}

.grafico{

    margin-top:60px;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

}

.grafico h2{

    text-align:center;

    margin-bottom:40px;

}

.barras{

    height:260px;

    display:flex;

    justify-content:space-around;

    align-items:flex-end;

}

.barra{

    width:55px;

    background:#b08d57;

    border-radius:8px 8px 0 0;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    align-items:center;

    color:white;

    transition:.3s;

}

.barra:hover{

    background:#8c6c3f;

}

.barra span{

    margin-bottom:10px;

    font-weight:bold;

}

.barra p{

    color:#222;

    margin-top:10px;

}



.panel-admin{

    width:90%;
    max-width:900px;
    margin:50px auto;

    background:#fff;

    padding:45px;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

}

.panel-admin h2{

    text-align:center;

    font-size:38px;

    margin-bottom:40px;

    font-family:'Cormorant Garamond',serif;

}

.panel-opciones{

    display:flex;

    justify-content:center;

    gap:40px;

    flex-wrap:wrap;

}

.opcion-panel{

    width:280px;

    height:170px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    font-size:30px;

    font-family:'Cormorant Garamond',serif;

    background:#b08d57;

    color:white;

    transition:.35s;

}

.opcion-panel:hover{

    transform:translateY(-8px);

    box-shadow:0 12px 25px rgba(0,0,0,.25);

}

.eliminar{

    background:#b53a3a;

}

.eliminar:hover{

    background:#982e2e;

}
.btn-cerrar-sesion {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background: #8b0000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-cerrar-sesion:hover {
    background: #b30000;
}
/* =========================================
   DISEÑO PARA CELULARES
   ========================================= */

@media (max-width: 768px) {

    /* ---------- GENERAL ---------- */

    body {
        overflow-x: hidden;
    }

    main {
        padding: 15px;
    }


    /* ---------- ENCABEZADO ---------- */

    .encabezado img {
        width: 100%;
        height: auto;
    }

    .redes-sociales {
        top: 10px;
        right: 10px;
        gap: 5px;
    }

    .redes-sociales a {
        width: 35px;
        height: 35px;
    }

    .redes-sociales svg {
        width: 19px;
        height: 19px;
    }


    /* ---------- BOTÓN DEL MENÚ ---------- */

    .menu-toggle {
        top: 15px;
        left: 15px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .menu-contenido {
        width: 280px;
        padding: 90px 20px 25px;
    }

    .menu-contenido button {
        font-size: 23px;
        padding: 15px;
    }


    /* ---------- TÍTULOS ---------- */

    .titulo-galeria {
        font-size: 38px;
        margin-bottom: 30px;
    }

    .titulo-tecnicas {
        padding: 30px 10px;
    }

    .titulo-tecnicas h2 {
        font-size: 55px;
        letter-spacing: 4px;
    }

    .titulo-tecnicas p {
        font-size: 25px;
        letter-spacing: 3px;
    }


    /* ---------- CARRUSEL ---------- */

     .carrusel {
        width: 100%;
        position: relative;
        padding: 0;
    }

    .carrusel-ventana {
        width: 100%;
        overflow: hidden;
    }

    .carrusel-track {
        display: flex;
        width: 100%;
        gap: 13;
    }
  .tarjeta-obra img {
        width: 333px;
        height: 417px;
        object-fit: cover;
        border-radius: 15px;
    }

    .tarjeta-obra img {
        width: 90%;
        max-width: 360px;
        height: auto;
        object-fit: contain;
        display: block;
        border-radius: 15px;
    }

    .tarjeta-obra h3 {
        font-size: 24px;
        margin: 10px 0 5px;
    }

    .tarjeta-obra p {
        margin: 4px 0;
    }

    .btn-obra {
        width: auto;
        min-width: 150px;
        padding: 8px 18px;
        font-size: 17px;
    }

    .btn-prev,
    .btn-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
        z-index: 10;
    }


    /* ---------- TÉCNICAS ---------- */

    .lado {
        width: 100%;
        max-width: 340px;
        margin: 15px auto;
    }

    .lado img {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

    .lado:first-child,
    .lado:last-child {
        margin: 15px auto;
    }


    /* ---------- PRESENTACIÓN ---------- */

    .presentacion {
        flex-direction: column;
        gap: 25px;
    }

    .presentacion img {
        width: 90%;
        max-width: 340px;
    }

    .presentacion-video {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        margin: 40px auto;
    }

    .presentacion-video video {
        width: 90%;
        max-width: 350px;
    }


    /* ---------- OBRAS DISPONIBLES ---------- */

    .obra {
        width: 100%;
    }

    .obra img {
        width: 100%;
        height: auto;
        max-width: 380px;
    }

    .obra h3 {
        font-size: 26px;
        margin: 15px 0 10px;
    }

    .boton-precio {
        font-size: 25px;
    }


    /* ---------- CATÁLOGO ---------- */

    .catalogo {
        flex-direction: column;
        gap: 25px;
    }

    .menu-obras {
        width: 100%;
    }

    .panel-obras {
        width: 100%;
    }


    /* ---------- CATEGORÍAS ---------- */

    .categorias {
        width: 90%;
        margin: 40px auto;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .categoria img {
        width: 100%;
        height: 260px;
    }

    .categoria h3 {
        font-size: 23px;
    }


    /* ---------- BIOGRAFÍA ---------- */

    .panel-biografia {
        width: 95%;
        margin: 35px auto;
        padding: 25px 18px;
        flex-direction: column;
        gap: 25px;
    }

    .foto-artista img {
        width: 100%;
        max-width: 280px;
    }

    .info-artista {
        width: 100%;
    }

    .info-artista h2 {
        font-size: 30px;
        text-align: center;
    }

    .info-artista p {
        font-size: 17px;
        line-height: 1.7;
    }


    /* ---------- TRAYECTORIA ---------- */

    .trayectoria {
        width: 95%;
        margin: 40px auto;
    }

    .titulo-seccion {
        font-size: 32px;
    }

    .bloque-trayectoria h3 {
        font-size: 25px;
    }

    .bloque-trayectoria p {
        font-size: 17px;
    }

    .imagen-trayectoria {
        width: 100%;
    }


    /* ---------- IMÁGENES DE UNA OBRA ---------- */

    .panel-imagenes {
        width: 95%;
        margin: 40px auto;
    }

    .panel-imagenes h2 {
        font-size: 30px;
    }

    .contenedor-imagenes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contenedor-imagenes img {
        width: 100%;
        max-width: 380px;
    }


    /* ---------- ENCARGO PERSONALIZADO ---------- */

    .encargo-personalizado {
        width: 95%;
        padding: 25px 18px;
        margin: 40px auto;
    }

    .encargo-personalizado h2 {
        font-size: 30px;
    }

    .descripcion {
        font-size: 17px;
    }


    /* ---------- LOGIN ---------- */

    .modal-contenido {
        width: 92%;
        padding: 25px 20px;
    }


    /* ---------- ADMINISTRADOR ---------- */

    .gestion-obras {
        width: 95%;
        padding: 25px 18px;
        margin: 35px auto;
    }

    .gestion-obras h1 {
        font-size: 32px;
    }

    .campo input[type="text"],
    .campo select,
    .campo textarea {
        font-size: 16px;
    }


    /* ---------- VISTA PREVIA ---------- */

    #vistaPrevia {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #vistaPrevia img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }


    /* ---------- BOTONES ---------- */

    .botones {
        flex-direction: column;
        gap: 12px;
    }

    .botones button {
        width: 100%;
    }


    /* ---------- ESTADÍSTICAS ---------- */

    .estadisticas {
        width: 95%;
        margin: 35px auto;
    }

    .estadisticas h1 {
        font-size: 30px;
    }

    .contenedor-estadisticas {
        grid-template-columns: 1fr;
    }

    .tarjeta {
        padding: 25px;
    }


    /* ---------- PANEL ADMIN ---------- */

    .panel-admin {
        width: 95%;
        padding: 25px 18px;
        margin: 35px auto;
    }

    .panel-admin h2 {
        font-size: 30px;
    }

    .panel-opciones {
        flex-direction: column;
        gap: 20px;
    }

    .opcion-panel {
        width: 100%;
        height: 130px;
        font-size: 25px;
    }


    /* ---------- FOOTER ---------- */

    .pie-pagina {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .footer-contenido {
        flex-direction: column;
        gap: 30px;
    }

    .footer-seccion {
        width: 100%;
        min-width: 0;
    }
    .presentacion-video .lado {
        display: none;
    }


}

.obra-vendida {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 15px;

    color: #d62828;
    font-size: 22px;
    font-weight: bold;
    font-family: 'Cormorant Garamond', serif;
}

.icono-vendida {
    color: #d62828;
    font-size: 18px;
}
