/* =====================================================
   HiGi Fashion House
   Responsive Design
===================================================== */
/* =====================================================
   HIGI FEATURED DESIGNS
   AUTOMATIC CAROUSEL — NO MANUAL DRAGGING
===================================================== */

.shop-scroll-container {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;

    cursor: default;

    /* Allow normal vertical page scrolling on mobile */
    touch-action: pan-y;
}


/* Prevent images from being dragged */

.shop-scroll-container img {
    pointer-events: none;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;

    -webkit-user-drag: none;
}


/* Prevent links/cards from behaving like draggable elements */

.shop-scroll-container a {
    user-select: none;
    -webkit-user-select: none;

    -webkit-user-drag: none;
}


/* =====================================================
   EXPLORE GALLERY BUTTON
===================================================== */

.collection-gallery-button {
    text-align: center;
    margin-top: 35px;
    padding: 20px;
}


.collection-gallery-button p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
}


/* =====================================================
   GALLERY MODAL
===================================================== */

.gallery-modal {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.gallery-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


/* =====================================================
   WHEN GALLERY IS OPEN
===================================================== */

body.gallery-open {
    overflow: hidden;
}

/* ================= TABLETS ================= */
@media (max-width: 1100px){

    .nav{
        display:none;
    }

    #menuBtn{
        display:block;
    }

    .products{
        grid-template-columns:repeat(2,1fr);
    }

    .stats{
        grid-template-columns:repeat(2,1fr);
        gap:40px;
    }

    .craft-container,
    .about{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .review-grid{
        grid-template-columns:1fr 1fr;
    }

    .footer-container{
        grid-template-columns:repeat(2,1fr);
    }

    .header{
        padding:0 20px;
    }

    .logo h1{
        font-size:2rem;
    }

    .logo span{
        font-size:.9rem;
    }
}
/* =====================================================
   HiGi Fashion House
   Luxury Boutique Mobile Menu
===================================================== */

.mobile-menu{
    position:fixed;
    top:0;
    right:-480px;

    width:420px;
    max-width:90%;

    height:100vh;

    background:
    linear-gradient(
        145deg,
        #fffaf3,
        #ffffff
    );

    display:flex;
    flex-direction:column;
    align-items:center;

    padding-top:120px;

    gap:35px;

    transition:
    .7s cubic-bezier(.77,0,.18,1);

    z-index:3000;

    box-shadow:
    -30px 0 80px rgba(0,0,0,.25);

    overflow:hidden;
}


/* gold luxury border */

.mobile-menu::before{

    content:"";

    position:absolute;

    left:20px;
    right:20px;
    top:20px;
    bottom:20px;

    border:
    1px solid rgba(212,175,55,.35);

    pointer-events:none;

}


/* Brand name */

.mobile-menu::after{

    content:
    "HiGi Fashion House\A
    Heritage • Tailored • Luxury";

    white-space:pre;

    position:absolute;

    top:45px;

    text-align:center;

    font-family:'Fraunces',serif;

    font-size:1.25rem;

    line-height:1.8;

    letter-spacing:2px;

    color:#8C4B2D;

}



/* Open menu */

.mobile-menu.active{

    right:0;

}



/* links */

.mobile-menu a{

    position:relative;

    font-family:'Fraunces',serif;

    font-size:2rem;

    font-weight:600;

    color:#2B211C;

    letter-spacing:1px;

    opacity:0;

    transform:
    translateX(50px);

    transition:
    .5s ease;

}



/* animate links */

.mobile-menu.active a{

    opacity:1;

    transform:
    translateX(0);

}



/* delay animation */

.mobile-menu.active a:nth-child(1){
    transition-delay:.15s;
}

.mobile-menu.active a:nth-child(2){
    transition-delay:.25s;
}

.mobile-menu.active a:nth-child(3){
    transition-delay:.35s;
}

.mobile-menu.active a:nth-child(4){
    transition-delay:.45s;
}



/* hover */

.mobile-menu a:hover{

    color:#8C4B2D;

    transform:
    translateX(-12px);

}



/* gold underline */

.mobile-menu a::after{

    content:"";

    position:absolute;

    bottom:-10px;

    left:50%;

    width:0;

    height:3px;

    background:
    linear-gradient(
    90deg,
    #8C4B2D,
    #D4AF37
    );

    transform:
    translateX(-50%);

    border-radius:20px;

    transition:.4s;

}


.mobile-menu a:hover::after{

    width:100%;

}



/* small diamond */

.mobile-menu a::before{

    content:"✦";

    position:absolute;

    left:-35px;

    color:#D4AF37;

    opacity:0;

    transition:.3s;

}


.mobile-menu a:hover::before{

    opacity:1;

    left:-25px;

}



/* menu button inside */

.menu-close{

    position:absolute;

    top:35px;

    right:35px;

    width:45px;

    height:45px;

    border-radius:50%;

    background:

    linear-gradient(
    135deg,
    #8C4B2D,
    #D4AF37
    );

    color:white;

    font-size:1.8rem;

    display:flex;

    align-items:center;

    justify-content:center;

}



/* bottom button */

.mobile-book{

    margin-top:20px;

    padding:15px 35px;

    border-radius:40px;

    background:
    linear-gradient(
    135deg,
    #8C4B2D,
    #D4AF37
    );

    color:white;

    font-family:'Work Sans',sans-serif;

    font-weight:600;

    box-shadow:
    0 15px 35px rgba(140,75,45,.35);

}



/* overlay */

.menu-overlay{

    position:fixed;

    inset:0;

    background:
    rgba(0,0,0,.55);

    backdrop-filter:
    blur(5px);

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:2500;

}



.menu-overlay.active{

    opacity:1;

    visibility:visible;

}



/* mobile */

@media(max-width:600px){

    .mobile-menu{

        width:100%;

        right:-100%;

    }


    .mobile-menu a{

        font-size:1.7rem;

    }

}

@media(max-width:700px){

    .mobile-menu{
        width:85%;
        right:-85%;
    }


    .mobile-menu a{
        font-size:1.7rem;
    }

}
/* ================= PHONES ================= */

@media (max-width:700px){

    section{
        padding:60px 5%;
    }

    .header{
        padding:15px 5%;
    }

    .logo h1{
        font-size:1.8rem;
    }

    .logo span{
        font-size:.75rem;
        letter-spacing:3px;
    }

    .header-icons{
        gap:10px;
    }

    .hero{
        text-align:center;
    }

    .hero-content{
        margin:auto;
    }

    .hero h2{
        font-size:3rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-buttons .btn{
        width:100%;
    }

    .stats,
    .products,
    .gallery-grid,
    .review-grid,
    .custom-form,
    .footer-container{
        grid-template-columns:1fr;
    }

    .product-card img{
        height:320px;
    }

    .section-title h2{
        font-size:2rem;
    }

    .craft-card{
        flex-direction:column;
    }

    .newsletter form{
        flex-direction:column;
    }

    .newsletter input{
        border-radius:40px;
    }

    .newsletter button{
        margin-top:15px;
        height:55px;
        border-radius:40px;
    }

    .cart-drawer,
    .wishlist-drawer{
        width:100%;
    }

    .account-box{
        width:90%;
    }

    .footer-bottom{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }
}