/*==================================================
 FEATURED PUBLICATION
==================================================*/
.elt-publication{
    width:100%;
    padding:70px 0;
   background:
    radial-gradient(circle at top left,#2cd6f4 0%,transparent 35%),
     radial-gradient(circle at bottom right,#f8efe5 0%,transparent 40%),
      linear-gradient(180deg,#fbfaf8 0%,#f6f1eb 100%),

    radial-gradient(circle at bottom right,#455bef 0%,transparent 75%),
     radial-gradient(circle at bottom right,#f8efe5 0%,transparent 40%),
      linear-gradient(180deg,#fbfaf8 0%,#f6f1eb 100%),

    linear-gradient(
        180deg,
        #fbfaf8,
        #f6f1eb);
    overflow:hidden;
    position:relative;
}
/* subtle decoration */
.elt-publication::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    top:-120px;
    left:-120px;
    background:rgba(109,17,19,.03);
    border-radius:50%;
}
.elt-publication::after{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    bottom:-120px;
    right:-70px;
    background:rgba(200,165,82,.05);
    border-radius:50%;
}
/*==================================================
 CONTAINER
==================================================*/
.elt-publication-container{
    width:88%;
    max-width:1400px;
    margin:auto;
    position:relative;
    z-index:2;
}
/*==================================================
 HEADING
==================================================*/
.elt-publication-heading{
    text-align:center;
    margin-bottom:45px;
}
.elt-small-title{
    display:inline-block;
    color:#6d1113;
    letter-spacing:3px;
    font-size:.78rem;
    text-transform:uppercase;
    font-weight:700;
    margin-bottom:12px;
}
.elt-publication-heading h2{
    font-family:"Cormorant Garamond",serif;
    font-size:3rem;
    color:#222;
    line-height:1.15;
    font-weight:700;
}
/*==================================================
 MAIN GRID
==================================================*/
.elt-publication-content{
    display:grid;
    grid-template-columns:
    280px
    1fr
    260px;
    gap:45px;
    align-items:center;
}
/*==================================================
 BOOK IMAGE
==================================================*/
.elt-book-image{
    display:flex;
    justify-content:center;
}
.elt-book-image img{
    width:100%;
    max-width:260px;
    border-radius:10px;
    box-shadow:
    0 30px 60px rgba(0,0,0,.18);
    transition:.45s;
}
.elt-book-image img:hover{
    transform:
    translateY(-8px)
    rotate(-1deg);
}
/*==================================================
 DETAILS
==================================================*/
.elt-book-details h1{
    font-family:"Cormorant Garamond",serif;
    color:#6d1113;
    font-size:4rem;
    margin-bottom:10px;
    line-height:1;
}
.elt-book-details h3{
    font-family:"Cormorant Garamond",serif;
    color:#555;
    font-style:italic;
    font-size:2rem;
    margin-bottom:15px;
}
.elt-book-details h4{
    color:#6d1113;
    font-size:1.15rem;
    margin-bottom:25px;
}
.elt-book-details p{
    color:#555;
    line-height:1.9;
    font-size:1rem;
    margin-bottom:25px;
}
/*==================================================
 RATING
==================================================*/
.elt-rating{
    color:#6d1113;
    font-size:1.2rem;
    margin-bottom:30px;
}
.elt-rating span{
    color:#777;
    font-size:.9rem;
    margin-left:10px;
}
/*==================================================
 BUTTONS
==================================================*/
.elt-buttons{
    display:flex;
    gap:15px;
}
.elt-buttons a,
.elt-buttons button{
    height:50px;
    padding:0 28px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.35s;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
}
.elt-buttons a{
    border:2px solid #6d1113;
    color:#6d1113;
    background:#fff;
}
.elt-buttons a:hover{
    background:#6d1113;
    color:#fff;
}
.elt-buttons button{
    border:none;
    background:#6d1113;
    color:#fff;
}
.elt-buttons button:hover{
    background:#84181b;
}
/*==================================================
 INSIDE BOOK
==================================================*/
.elt-book-inside{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:
    0 15px 40px rgba(0,0,0,.06);
}
.elt-book-inside h3{
    font-family:"Cormorant Garamond",serif;
    color:#6d1113;
    text-align:center;
    margin-bottom:25px;
    font-size:25px;
}
.elt-book-inside ul{
    list-style:none;
    padding:0;
    margin:0;
    text-align:center;
}
.elt-book-inside li{
    padding:12px 0;
    border-bottom:1px solid #eee;
    color:#444;
    display:flex;
    font-size:1rem;
    justify-content:center;
    align-items:center;
}
.elt-book-inside li:last-child{
    border-bottom:none;
}
/*==================================================
 RESPONSIVE
==================================================*/
/* =========================
   TABLETS
========================= */
@media (max-width:1024px){
    .elt-publication{
        padding:60px 0;
    }
    .elt-publication-content{
        grid-template-columns:1fr;
        gap:35px;
        text-align:center;
    }
    .elt-book-image{
        order:1;
    }
    .elt-book-details{
        order:2;
    }
    .elt-book-inside{
        order:3;
        max-width:500px;
        margin:auto;
    }
    .elt-book-image img{
        max-width:260px;
    }
    .elt-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }
}
/* =========================
   MOBILE
========================= */
@media only screen and (max-width: 769px){
    .elt-publication{
        padding:50px 0;
    }
    .elt-publication-container{
        width:92%;
    }
    .elt-publication-heading{
        margin-bottom:30px;
    }
    .elt-small-title{
        font-size:.75rem;
    }
    .elt-publication-heading h2{
        font-size:2.2rem;
        line-height:1.2;
    }
    .elt-book-image img{
        max-width:220px;
    }
    .elt-book-details h1{
        font-size:3rem;
    }
    .elt-book-details h3{
        font-size:1.6rem;
    }
    .elt-book-details h4{
        font-size:1rem;
    }
    .elt-book-details p{
        font-size:.95rem;
        line-height:1.8;
    }
    .elt-rating{
        font-size:1rem;
    }
    .elt-buttons{
        flex-direction:column;
        align-items:center;
    }
    .elt-buttons a,
    .elt-buttons button{
        width:100%;
        max-width:300px;
    }
    .elt-book-inside{
        padding:25px;
    }
    .elt-book-inside h3{
        font-size:1.7rem;
    }
}
/* =========================
   SMALL PHONES
========================= */
@media (max-width:480px){
    .elt-publication{
        padding:40px 0;
    }
    .elt-publication-container{
        width:94%;
    }
    .elt-publication-heading h2{
        font-size:1.8rem;
    }
    .elt-book-image img{
        max-width:180px;
    }
    .elt-book-details h1{
        font-size:2.4rem;
    }

    .elt-book-details h3{
        font-size:1.3rem;
    }

    .elt-book-details h4{
        font-size:.95rem;
    }
    .elt-book-details p{
        font-size:.92rem;
    }
    .elt-rating{
        font-size:.95rem;
    }
    .elt-rating span{
        display:block;
        margin-top:8px;
        margin-left:0;
    }
    .elt-buttons a,
    .elt-buttons button{
        height:48px;
        font-size:.9rem;
    }
    .elt-book-inside{
        padding:20px;
    }
    .elt-book-inside li{
        font-size:.95rem;
    }

}

/* Second Part */

/*==================================================
 ORDER OVERLAY
==================================================*/

.elt-order-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(4px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9998;

}

.elt-order-overlay.elt-active{

    opacity:1;

    visibility:visible;

}
/*==================================================
 ORDER PANEL
==================================================*/
.elt-order-panel{
    position:fixed;
    top:100px;
    right:-460px;
    width:420px;
    max-width:100%;
    height:80vh;
    background:#fcfbf9;
    box-shadow:-10px 0 40px rgba(0,0,0,.15);
    transition:.45s ease;
    z-index:9999;
    overflow-y:auto;
    padding:35px;
}

.elt-order-panel.elt-active{
    right:0;
}
/*==================================================
 CLOSE BUTTON
==================================================*/
.elt-close{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border:none;
    background:none;
    font-size:34px;
    color:#555;
    cursor:pointer;
    transition:.3s;
}
.elt-close:hover{
    color:#6d1113;
    transform:rotate(90deg);
}
/*==================================================
 TITLE
==================================================*/

.elt-order-panel h2{
    font-family:"Cormorant Garamond",serif;
    color:#6d1113;
    font-size:2.5rem;
    margin-top:20px;
    margin-bottom:10px;
}
.elt-order-panel p{
    color:#666;
    line-height:1.8;
    margin-bottom:30px;
}
/*==================================================
 FORM
==================================================*/
.elt-order-panel form{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.elt-order-panel form button {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    background: linear-gradient(135deg, #073b8c, #0b4fa3);
    color: #ffffff;
    border: 1px solid #f5c400;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(7, 59, 140, 0.15);
}
.elt-order-panel form button:hover {
    background: linear-gradient(135deg, #f5c400, #ffd52a);
    color: #073b8c;
    box-shadow: 0 6px 14px rgba(245, 196, 0, 0.25);
    transform: translateY(-2px);
}
.elt-order-panel form button:active {
    transform: translateY(0);
}

/*==================================================
 INPUTS
==================================================*/
.elt-order-panel input,
.elt-order-panel select,
.elt-order-panel textarea{
    width:100%;
    padding:15px 18px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    font-size:15px;
    outline:none;
    transition:.3s;
    font-family:inherit;
}

.elt-order-panel textarea{
    resize:vertical;
    min-height:120px;
}
.elt-order-panel input:focus,
.elt-order-panel select:focus,
.elt-order-panel textarea:focus{
    border-color:#6d1113;
    box-shadow:0 0 0 3px rgba(109,17,19,.08);
}
/*==================================================
 BUTTON
==================================================*/
.elt-order-panel button[type="submit"]{
    height:52px;
    border:none;
    background:#057aef;
    color:#fff;
    font-size:1rem;
    font-weight:600;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}
.elt-order-panel button[type="submit"]:hover{

    background:#84181b;
    color:#fff;

}
/*==================================================
 SCROLLBAR
==================================================*/
.elt-order-panel::-webkit-scrollbar{
    width:8px;
}
.elt-order-panel::-webkit-scrollbar-thumb{
    background:#d0d0d0;
    border-radius:20px;
}
/*==================================================
 MOBILE
==================================================*/
@media only screen and (max-width:768px){
    .elt-order-panel{
        width:100%;
        right:-100%;
        padding:30px 25px;
    }
    .elt-order-panel button[type="submit"]:hover{
    background:#84181b;
    color:#fff;
    }
}