.customDrawer {
    /* 100vh is taller than the visible viewport on many mobile browsers (URL bar),
     which clips the bottom CTA; dvh tracks the dynamic viewport. */
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    width: 100%;
    max-width: 670px !important;
    /* border-radius: 16px 16px 0 0; */
    padding: 30px 36px;
    z-index: 9999;
    min-height: 0;
}

.shopLookSliderHeader .btn-close {
    background: none;
    box-shadow: none;
    opacity: 1;
}

.offcanvas-end.customDrawer {
    width: 558px;
}

.offcanvas-start {
    right: 0;
    left: auto;
}

    .offcanvas-start.customDrawer {
        width: 570px !important;
        padding: 42px;
    }

.customDrawer .drawertitleDot {
    width: 4px;
    height: 4px;
    background-color: var(--border-light);
    margin-left: 10px;
    margin-right: 10px;
}

.customDrawer #drawerTitle {
    font-weight: var(--fw-400);
    font-size: var(--fz-18);
    line-height: 130%;
    letter-spacing: 2%;
    color: var(--text-light);
}

.customDrawer #drawerTtitleValue {
    font-family: Manrope;
    font-weight: var(--fw-600);
    font-style: SemiBold;
    font-size: var(--fz-22);
    line-height: 130%;
    letter-spacing: 2%;
    /* margin-left: 20px; */
}

.customDrawer .offcanvas-header {
    padding: 0;
    padding-bottom: 24px;
}

.offcanvas .offcanvas-header button img {
    /* background-color: #fff; */
    margin-top: -7px;
    width: 42px;
    height: 42px;
}

.btn-close {
    filter: none !important;
    opacity: 1;
}

.lookDrawer .offcanvas-header button img {
    /* background-color: #f5f4f0; */
    margin-top: -7px;
}

.offcanvas .offcanvas-header .btn-close:focus {
    box-shadow: none;
}

.customDrawer .offcanvas-body {
    padding: 0;
    /* Allow the scroll region to shrink so .drawerFooter stays in view (flex min-height quirk). */
    flex: 1 1 auto;
    min-height: 0;
}

.customDrawer .drawerBtn {
    width: 100%;
    border: 1px solid var(--text-mega-title);
    padding: 10px 24px;
    background-color: var(--text-mega-title);
    border-radius: var(--br-4);
    font-weight: var(--fw-700);
    font-style: Bold;
    font-size: var(--fz-14);
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
}

    .customDrawer .drawerBtn:hover {
        /* background-color: #f3f4f5; */
        box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.0509803922);
    }

.drawerGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.drawerItem {
    border: 1px solid rgba(204, 204, 204, 0.5019607843);
    border-radius: var(--br-4);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background-color: var(--bg-chip);
    height: 100px;
}

.drawerIcon {
    height: 28px;
    margin-bottom: 14px;
}

.drawerText {
    font-family: Manrope;
    font-weight: var(--fw-700);
    font-style: Bold;
    font-size: var(--fz-14);
    line-height: 130%;
    letter-spacing: 2%;
    color: var(--primary-color);
}

.drawerFooter {
    flex-shrink: 0;
    padding-top: 16px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
}

.applyBtn {
    width: 100%;
    height: 42px;
    border-radius: var(--br-4);
    border: none;
    background: var(--text-mega-title);
    color: #fefefe;
    font-weight: var(--fw-700);
    font-size: var(--fz-16);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.0509803922);
}

    .applyBtn:hover {
        background: #044a59;
    }

/*  */
/* sizeChartDrawer _______________________________________________________________ */
/*  */
.sizeChartDrawer .offcanvas-header button img {
    margin-top: -10px !important;
    margin-left: -8px !important;
}

#sizeChartDrawer {
    height: 100vh;
    width: 100%;
    max-width: 600px;
    /* border-radius: 16px 16px 0 0; */
    padding: 20px;
    z-index: 11111;
}

    #sizeChartDrawer #sizeChartDrawerTitle {
        font-family: Manrope;
        font-weight: var(--fw-400);
        color: var(--text-light);
        font-size: var(--fz-18);
        line-height: 130%;
        letter-spacing: 2%;
    }

    #sizeChartDrawer .offcanvas-header {
        padding: 0;
    }

    #sizeChartDrawer .offcanvas-body {
        padding: 0;
    }

    #sizeChartDrawer hr {
        margin-top: 24px;
        margin-bottom: 24px;
    }

#sizeChartDrawer {
    /* .sizeChartDrawerContent  styles */
}

    #sizeChartDrawer .ringContent {
        margin: auto;
        color: #1d2b2e;
    }

#sizeChartDrawer {
    /* Instructions */
}

    #sizeChartDrawer .instructionsWrap {
        display: flex;
        justify-content: space-between;
        gap: 44px;
        align-items: center;
    }

    #sizeChartDrawer .instructionsText h3 {
        font-weight: var(--fw-600);
        font-size: var(--fz-18);
        line-height: 130%;
        letter-spacing: 2%;
        color: var(--text-mega-title);
        margin-bottom: 16px;
    }

    #sizeChartDrawer .instructionsText ol {
        margin: 0;
        padding-left: 20px;
        line-height: 1.6;
        font-size: var(--fz-18);
    }

        #sizeChartDrawer .instructionsText ol li {
            font-weight: var(--fw-400);
            font-size: var(--fz-16);
            line-height: 160%;
            letter-spacing: 0%;
            color: var(--primary-color);
        }

    #sizeChartDrawer .instructionsIcon img {
        width: 114px;
    }

#sizeChartDrawer {
    /* .divider {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #ddd;
  } */
    /* Chart */
}

    #sizeChartDrawer .chartTitle {
        font-weight: var(--fw-500);
        font-size: var(--fz-16);
        line-height: 160%;
        letter-spacing: 0%;
        color: var(--text-color);
        margin-bottom: 29px;
    }

    #sizeChartDrawer .sizeChart table {
        width: 100%;
        border-collapse: collapse;
        font-size: var(--fz-18);
    }

    #sizeChartDrawer .sizeChart th {
        text-align: left;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(51, 51, 51, 0.1490196078);
        color: var(--text-color);
        font-weight: var(--fw-600);
        font-size: var(--fz-14);
        line-height: 160%;
        letter-spacing: 0%;
        text-align: center;
    }

        #sizeChartDrawer .sizeChart th:nth-child(1) {
            width: 200px;
        }

    #sizeChartDrawer .sizeChart td {
        padding-top: 16px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        color: #555;
        font-weight: var(--fw-600);
        font-size: var(--fz-14);
        line-height: 160%;
        letter-spacing: 0%;
        text-align: center;
    }

#sizeChartDrawer {
    /* Help Box */
}

    #sizeChartDrawer .helpBox {
        margin-top: 30px;
        background: var(--bg-chip);
        padding: 12px 16px;
        border-radius: var(--br-2);
    }

    #sizeChartDrawer .helpTitle {
        margin-bottom: 20px;
        color: var(--text-color);
        font-weight: var(--fw-500);
        font-size: var(--fz-16);
        line-height: 160%;
        letter-spacing: 0%;
    }

    #sizeChartDrawer .helpInner {
        display: flex;
        align-items: center;
        gap: 16px;
        color: var(--text-color);
        font-weight: var(--fw-700);
        font-size: var(--fz-16);
        line-height: 130%;
        letter-spacing: 2%;
    }

    #sizeChartDrawer .mailIcon {
        width: 52px;
        height: 52px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--br-2);
        font-size: var(--fz-22);
    }

.sizeChartTableScroll {
    max-height: clamp(200px, 40vh, 350px);
    overflow-y: auto;
}

    .sizeChartTableScroll::-webkit-scrollbar {
        display: none;
    }

.sizeChartTableScroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#sizeChartDrawer .offcanvas-body {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    #sizeChartDrawer .offcanvas-body::-webkit-scrollbar {
        display: none;
    }

@media screen and (max-width: 600px) {
    .offcanvas-bottom.customDrawer {
        height: 100vh;
        padding: 30px 26px;
    }

    .offcanvas-start.customDrawer {
        width: 100% !important;
        padding: 20px;
    }

    .sizeChartTableScroll {
        max-height: 319px;
        overflow-y: auto;
    }

    .drawerGrid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    #sizeChartDrawer .instructionsWrap {
        gap: 0;
    }

    #sizeChartDrawer .instructionsText ol li {
        font-size: var(--fz-14);
    }

    #sizeChartDrawer .chartTitle {
        font-size: var(--fz-14);
    }

    #sizeChartDrawer .sizeChart th:nth-child(1) {
        width: 160px;
    }

    #sizeChartDrawer .helpTitle {
        font-size: var(--fz-14);
    }

    #sizeChartDrawer .helpInner {
        font-size: var(--fz-14);
    }

    .drawerItem {
        border: 1px solid rgba(204, 204, 204, 0.5019607843);
        padding: 16px;
        text-align: center;
        cursor: pointer;
        background-color: var(--bg-chip);
        height: 82px;
        border-radius: var(--br-4);
    }

    .drawerIcon {
        margin-bottom: 4px;
    }
}
/*  */
/* Shop the Look Drawer Styles ______________________________________________________  */
/*  */
#lookDrawer {
    height: 80vh;
    width: 100%;
    max-width: 600px;
    /* border-radius: 16px 16px 0 0; */
    padding: 20px;
    padding-right: 0;
    z-index: 11111;
}

    #lookDrawer #lookDrawerTitle {
        font-family: Manrope;
        font-weight: var(--fw-400);
        font-style: Regular;
        font-size: var(--fz-18);
        line-height: 130%;
        letter-spacing: 2%;
    }

    #lookDrawer .offcanvas-header {
        padding: 0;
    }

    #lookDrawer .offcanvas-body {
        padding: 0;
    }
