/* =========================================================
   KAILASH KOONDAN JEWELLERS
   MOBILE + TABLET RESPONSIVE SYSTEM
========================================================= */

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

.mobile-header {
    display: none;
}


/* =========================================================
   MOBILE SIDE MENU
========================================================= */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
}

.mobile-menu-overlay.show {
    display: block;
}


.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -310px;
    width: 290px;
    max-width: 82vw;
    height: 100vh;

    background: #57000b;

    z-index: 9999;

    transition: left 0.35s ease;

    overflow-y: auto;

    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25);
}


.mobile-sidebar.open {
    left: 0;
}


/* =========================================================
   SIDEBAR HEADER
========================================================= */

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 20px;

    border-bottom: 1px solid rgba(232, 199, 123, 0.25);
}


.mobile-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}


.mobile-sidebar-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}


.mobile-sidebar-brand-text h2 {
    margin: 0;

    color: #e8c77b;

    font-family: "Cormorant Garamond", serif;

    font-size: 24px;
    line-height: 1;
}


.mobile-sidebar-brand-text span {
    display: block;

    margin-top: 3px;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.mobile-sidebar-close {
    width: 38px;
    height: 38px;

    border: 1px solid rgba(232, 199, 123, 0.4);

    background: transparent;

    color: #e8c77b;

    border-radius: 50%;

    cursor: pointer;

    font-size: 18px;
}


/* =========================================================
   SIDEBAR USER
========================================================= */

.mobile-account-box {
    margin: 20px;

    padding: 16px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(232, 199, 123, 0.18);

    border-radius: 12px;

    display: flex;
    align-items: center;
    gap: 12px;
}


.mobile-account-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8c77b;

    color: #57000b;

    flex-shrink: 0;
}


.mobile-account-details {
    min-width: 0;
}


.mobile-account-details strong {
    display: block;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.mobile-account-details span {
    display: block;

    color: #d0c5c5;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    margin-top: 3px;
}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.mobile-sidebar-nav {
    padding: 8px 15px 25px;
}


.mobile-sidebar-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 15px;

    min-height: 52px;

    padding: 0 15px;

    margin-bottom: 5px;

    color: #fff;

    text-decoration: none;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    border-radius: 9px;

    transition: 0.25s ease;
}


.mobile-sidebar-nav a i {
    width: 22px;

    color: #e8c77b;

    text-align: center;

    font-size: 16px;
}


.mobile-sidebar-nav a:hover,
.mobile-sidebar-nav a:active {
    background: rgba(232, 199, 123, 0.13);

    color: #e8c77b;
}


/* =========================================================
   SIDEBAR DIVIDER
========================================================= */

.mobile-sidebar-divider {
    height: 1px;

    margin: 10px 20px 18px;

    background: rgba(232, 199, 123, 0.18);
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

@media (min-width: 769px) {

    .mobile-header,
    .mobile-sidebar,
    .mobile-menu-overlay {
        display: none !important;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .navbar {
        padding-left: 25px;
        padding-right: 25px;
    }

    .brand img {
        width: 55px;
    }

    .brand-text h1 {
        font-size: 30px;
    }

    #navMenu {
        gap: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* Hide old desktop navbar */

    .navbar {
        display: none !important;
    }

     .mobile-sidebar-nav {
        display: block;
        width: 100%;
    }

    .mobile-sidebar-nav a {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        align-items: center;
        gap: 5px;
        margin: 0 0 0% 0;
        padding: 10px 0px;
        text-decoration: none;
    }

    .mobile-sidebar-nav a i {
        width: 22px;
        flex-shrink: 0;
        text-align: center;
    }


    /* -----------------------------------------------------
       MOBILE HEADER
    ----------------------------------------------------- */

    .mobile-header {
        position: relative;

        display: flex;

        align-items: center;

        justify-content: space-between;

        width: 100%;

        min-height: 68px;

        padding: 8px 14px;

        background: #fffaf4;

        z-index: 5000;

        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    }


    /* -----------------------------------------------------
       HAMBURGER
    ----------------------------------------------------- */

    .mobile-menu-button {
        width: 43px;
        height: 43px;

        display: flex;

        align-items: center;
        justify-content: center;

        border: none;

        background: transparent;

        color: #57000b;

        cursor: pointer;

        font-size: 22px;

        flex-shrink: 0;
    }


    /* -----------------------------------------------------
       MOBILE BRAND
    ----------------------------------------------------- */

    .mobile-brand {
        display: flex;

        align-items: center;

        gap: 8px;

        text-decoration: none;

        margin-right: auto;

        margin-left: 6px;
    }


    .mobile-brand img {
        width: 42px;
        height: 42px;

        object-fit: contain;
    }


    .mobile-brand-text h1 {
        margin: 0;

        color: #57000b;

        font-family: "Cormorant Garamond", serif;

        font-size: 25px;

        line-height: 0.95;
    }


    .mobile-brand-text span {
        display: block;

        color: #000000;

        font-family: "Poppins", sans-serif;

        font-size: 7px;

        letter-spacing: 0.9px;

        margin-top: 4px;
    }


    /* -----------------------------------------------------
       MOBILE LOGIN
    ----------------------------------------------------- */

    .mobile-login {
        position: relative;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        min-width: 55px;

        color: #57000b;

        cursor: pointer;

        background: transparent;

        border: none;
    }


    .mobile-login-icon {
        width: 30px;
        height: 30px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 50%;

        border: 1px solid #e8c77b;

        color: #e8c77b;

        font-size: 13px;
    }


    .mobile-login-name {
        width: 65px;

        margin-top: 2px;

        color: #000000;

        font-family: "Poppins", sans-serif;

        font-size: 8px;

        text-align: center;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* -----------------------------------------------------
       OFFER BAR
    ----------------------------------------------------- */

    .offer-bar {
        min-height: 35px;

        padding: 5px 10px;

        font-size: 10px;

        text-align: center;
    }


    .offer-bar button {
        width: 25px;
        height: 25px;
    }


    /* -----------------------------------------------------
       GENERAL CONTAINERS
    ----------------------------------------------------- */

    .container,
    .collection-container {
        width: calc(100% - 28px);

        max-width: 100%;

        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------------------
       HERO SLIDER
    ----------------------------------------------------- */

    .slider {
        width: 100%;

        height: auto;

        min-height: 230px;
    }


    .slider .slide img {
        width: 100%;

        height: auto;

        min-height: 230px;

        max-height: 430px;

        object-fit: cover;
    }


    .slider .prev,
    .slider .next {
        width: 34px;
        height: 34px;

        font-size: 13px;
    }


    .dots {
        bottom: 12px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .mobile-header {
        min-height: 64px;

        padding-left: 10px;
        padding-right: 10px;
    }


    .mobile-brand img {
        width: 37px;
        height: 37px;
    }


    .mobile-brand-text h1 {
        font-size: 22px;
    }


    .mobile-brand-text span {
        font-size: 6px;
    }


    .mobile-login {
        min-width: 48px;
    }


    .mobile-login-icon {
        width: 28px;
        height: 28px;
    }


    .mobile-login-name {
        width: 55px;

        font-size: 7px;
    }


}
/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .mobile-brand-text h1 {
        font-size: 20px;
    }


    .mobile-brand-text span {
        display: none;
    }


    .product-image-box {
        height: 165px;
    }


    .product-details h3 {
        font-size: 10px;
    }


    .add-cart {
        font-size: 8px;
    }

}