/*==================================================
HOME COLLECTIONS
==================================================*/

.home-collections{
    padding:100px 0;
    background:#fff;
}

.home-collections .container{
    width:min(1400px,92%);
    margin:auto;
}

/*==================================================
HEADER
==================================================*/

.home-collections .section-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:50px;
    gap:20px;
}

.home-collections h2{
    font-family:"Newsreader",serif;
    font-size:48px;
    color:#12266B;
    margin-bottom:12px;
}

.home-collections p{
    color:#666;
    font-size:18px;
    line-height:1.7;
}

.home-collections .view-all{
    color:#12266B;
    font-weight:700;
    text-decoration:none;
    transition:.3s;
}

.home-collections .view-all:hover{
    color:#DBA47D;
}

/*==================================================
SLIDER & NAV
==================================================*/

.collections-slider-container {
    position: relative;
    width: 100%;
}

.collectionsSwiper {
    width: 100%;
    overflow: hidden;
}

.collectionsSwiper .swiper-slide {
    height: auto;
}

.collections-nav {
    display: flex;
    gap: 12px;
}

.collections-nav button {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 1.5px solid #12266B !important;
    background: transparent !important;
    color: #12266B !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 20px !important;
    font-weight: bold !important;
    transition: 0.3s !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.collections-nav button:hover {
    background: #12266B !important;
    color: #fff !important;
}

/*==================================================
CARD
==================================================*/

.collection-wrapper{
    display: flex;
    flex-wrap: wrap;
}

.collection-card{
    position:relative;
    display:block;
    overflow:hidden;
    
    text-decoration:none;
    /* background:#000; */
    transition:.35s;
}

.collection-card img{
    width:100%;
    height:450px;
    object-fit:cover;
    display:block;
    transition:.45s;
    border-radius:16px;
}

.collection-card::before{
    content:"";
    position:absolute;
    inset:0;
    /* background:linear-gradient(
        to top,
        rgba(0,0,0,.75),
        rgba(0,0,0,.15),
        transparent
    ); */
    z-index:1;
}

.collection-content{
    /* position:absolute; */
    left:25px;
    right:25px;
    bottom:25px;
    z-index:2;
}

.collection-content h3{
    color:#12266B;
    font-family:"Newsreader",serif;
    font-size:24px;
    margin-bottom:10px;
}

.collection-content p{
    color:#fff;
    opacity:.9;
    margin-bottom:18px;
    line-height:1.6;
    font-size:15px;
}

.collection-content span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#12266B;
    font-weight:700;
    transition:.3s;
}

.collection-card:hover img{
    /* transform:scale(1.08); */
}

.collection-card:hover{
    /* transform:translateY(-8px); */
    /* box-shadow:0 20px 45px rgba(0,0,0,.18); */
}

.collection-card:hover span{
    color:#0e1f5d;
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px){

.collections-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.home-collections{
    padding:70px 0;
}

.home-collections .section-header{
    flex-direction:column;
    align-items:flex-start;
}

.home-collections h2{
    font-size:38px;
}

.collections-grid{
    grid-template-columns:1fr;
}

.collection-card img{
    height:380px;
}

}

@media(max-width:480px){

.home-collections h2{
    font-size:30px;
}

.collection-card img{
    height:300px;
}

.collection-content{
    left:18px;
    right:18px;
    bottom:18px;
}

.collection-content h3{
    font-size:24px;
}

.collection-content p{
    font-size:14px;
}

}