@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

.header-top-ptb-1 #news-flash,
.header-area #news-flash-2,
.header-info {
  font-family: "Rubik", sans-serif;
  width: 100%;
  font-size: 16px;
  line-height: 25px;
  font-weight: normal;
}
.header-style-1 .search-style-2 form {
  max-width: 800px;
}
.header-style-1
  .search-location
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  font-weight: bold;
  line-height: 40px;
}
.categories-dropdown-active-large {
  min-width: 350px;
}
.main-categori-wrap .categori-dropdown-inner {
  min-width: 1000px;
}

.main-menu > nav > ul > li > a {
  font-size: 20px;
}
.card-2 {
  min-height: 220px;
}
.card-2 h6 {
  padding: 0 10px;
  font-size: 14px;
}
.card-2 figure img {
  max-width: 100px;
}

#news-flash-2 {
  text-align: center;
  padding: 0 10px;
}
.header-top-ptb-1 #news-flash,
.header-area #news-flash-2 {
  color: #000;
}
.header-style-1 .main-categori-wrap > a {
  color: #fff;
  background: #b0112d;
}
.header-style-1 .search-style-2 form {
  border: 2px solid #e3bcbc;
  background-color: #fff;
}
.header-style-1
  .search-location
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #b0112d;
}
.header-style-1
  .search-location
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered:before {
  color: #e3bcbc;
}
.header-action-2 .header-action-icon-2 > a span.pro-count.blue {
  background-color: #f73600;
}
.header-style-1 .main-categori-wrap > a:hover {
  background-color: #228ce2;
}
.close-style-wrap .close-style {
  background-color: #e3bcbc;
}
.mobile-header-wrapper-style
  .mobile-header-wrapper-inner
  .mobile-header-content-area
  .mobile-header-info-wrap
  .single-mobile-header-info
  a
  i {
  color: #b0112d;
}
.mobile-social-icon a {
  background: #b0112d;
}
.mobile-header-wrapper-style
  .mobile-header-wrapper-inner
  .mobile-header-content-area
  .site-copyright {
  color: #000;
}
.header-bottom .header-action-right a span.pro-count {
  background-color: #b0112d;
}
button.submit,
button[type="submit"] {
  color: #ffffff;
  background-color: #b0112d;
  border: 1px solid #b0112d;
}
.dot-style-1 ul li.slick-active button {
  background: #ffffff;
  border-color: #ffffff;
}
.header-middle {
  background-color: #ebc357;
}
.header-action-2 .header-action-icon-2 > a span {
  color: #000;
}
.header-style-1 .hotline p {
  color: #b0112d !important;
}
.hotline p span {
  color: #000;
}
.card-2 h6 a {
  color: #000;
}

.text-wineRed {
  color: #b0112d;
}
.text-white {
  color: #fff;
}
.text-yellow {
  color: #d6a829;
}

#scart {
  position: relative;
}

#scart .badge {
  display: inline-block;
  position: absolute;
  top: -2px;
  right: 7px;
  padding: 0.35em 0.55em !important;
  border-radius: 50%;
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  width: 20px; /* Adjust as needed */
  height: 20px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

a.scolor {
  color: #ffc107 !important;
}

.nav-tabs {
  border: 0;
  margin-bottom: 10px;
}

.checkout-hidden {
  display: none !important;
}

/* ===============================
   Minimum Order Card
================================ */

.minimum-order-card {
  display: flex;

  gap: 15px;

  padding: 18px;

  margin-bottom: 20px;

  background: #fff8e8;

  border: 1px solid #ffe2a8;

  border-left: 5px solid #f59e0b;

  border-radius: 10px;
}

.minimum-order-header {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 15px;

  font-size: 18px;

  font-weight: 600;

  color: #9a6700;
}

.minimum-order-header i {
  font-size: 24px;
}

.minimum-order-body {
  width: 100%;
}

.minimum-order-row {
  display: flex;

  justify-content: space-between;

  padding: 6px 0;

  border-bottom: 1px dashed #e7d6a6;
}

.minimum-order-row:last-child {
  border-bottom: none;
}

.minimum-order-note {
  margin-top: 12px;

  font-size: 13px;

  color: #666;
}

.modal {
  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  z-index: 99999;

  align-items: center;

  justify-content: center;
}

.modal--show {
  display: flex;
}

.home-slider .single-hero-slider {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: none !important;
}

.home-slider .single-hero-slider img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-slider .slick-list,
.home-slider .slick-track,
.home-slider .slick-slide {
  height: auto !important;
}

.newsletter .newsletter-inner {
    background: url(/public/images/banner/diwali-celebration-bg.webp) no-repeat ;
    /* background-size: cover; */
    /* padding: 84px 78px; */
    clear: both;
    display: table;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    min-height: 230px;
}

.banner-left-icon {
    background: #f0f2e5 !important;
}

footer .hotline {
    min-width: 300px;
}

.breadcrumb > a + a::before {
    content: "\f111";
    font-family: "uicons-regular-straight" !important;
    display: inline-block;
    font-size: 9px;
    color: #000;
    
}

.breadcrumb span {
    position: relative;
    text-align: center;
    padding: 0px !important;
}

/** TYPO **/
p {
    font-size: 1.1rem;
    color: #000;
}

h1.page-heading-1 { font-size: 38px; }

a.highlight { color: #b0112d; }

/* =========================================================
   Product Card - Full Image / Equal Image Area
   ========================================================= */

.product-cart-wrap .product-img-action-wrap {
    height: 320px;
    max-height: none;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-cart-wrap .product-img-action-wrap .product-img {
    width: 100%;
    height: 100%;
}

.product-cart-wrap .product-img-action-wrap .product-img a {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-cart-wrap .product-img-action-wrap .product-img a img.default-img {
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;
}


@media (max-width: 767px) {
  .page-header.breadcrumb-wrap {
    display: none !important;
  }

  .home-slider .hero-slider-1 {
    height: auto;
  }

  .section-padding {
    padding: 10px 0;
  }

  #popular-category-lists {
    display: none;
  }

  .banners.mb-25 { margin-bottom: 0px !important; }

  ul#myTab { display: none; }
}

@media only screen and (max-width: 480px) {
  .mobile-promotion {
    display: block;
    padding: 7px 0;
    text-align: center;
    background: #ebbb1d;
  }

  .section-title h3 {
      margin-bottom: 20px;
      font-size: 22px;
  }

  .home-slider.mb-30 { margin-bottom: 15px !important; }
}

#quickViewModal.custom-modal .modal-content { background-color: #FFF !important; }
#quickViewModal.custom-modal .modal-content h3 { font-size: 25px; }

/* Quick View thumbnail */
#quick-view-thumbnails > div {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

#quick-view-thumbnails > div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.detail-info .product-price .current-price {
    font-size: 40px !important;
}

.detail-info .product-price .old-price {
    color: #000;
    font-size: 20px;
}

/* =========================================================
   Quick View - Horizontal Quantity Control
   ========================================================= */

.detail-extralink .detail-qty {
    margin: 0 6px 15px 0;
    padding: 0;
    width: 90px;
    max-width: 90px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #fff;
    border: 2px solid #3bb77e !important;
    border-radius: 5px;

    font-size: 16px;
    font-weight: 700;
    color: #3bb77e;
}

.detail-extralink .detail-qty .qty-val {
    position: static;
    flex: 1;
    text-align: center;
    line-height: 46px;
    color: #3bb77e;
}

.detail-extralink .detail-qty .qty-up,
.detail-extralink .detail-qty .qty-down {
    position: static;

    width: 28px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;
    color: #3bb77e;
    text-decoration: none;
}

.detail-extralink .detail-qty .qty-up:hover,
.detail-extralink .detail-qty .qty-down:hover {
    color: #29a56c;
}

/* ==========================================================
   BUY CRACKERS ONLINE STRIP
   ========================================================== */

.buy-crackers-strip {
    --red: #c91d27;
    --dark-red: #b81720;
    --gold: #e8b52b;
    --cream: #fffaf0;
    --text: #26344d;

    position: relative;
    width: 100%;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 45%,
            rgba(255, 192, 65, .13) 0,
            transparent 18%
        ),
        radial-gradient(
            circle at 85% 45%,
            rgba(255, 192, 65, .13) 0,
            transparent 18%
        ),
        linear-gradient(
            180deg,
            #fffdf8 0%,
            var(--cream) 100%
        );
}


/* ==========================================================
   CONTENT AREA
   ========================================================== */

.buy-crackers-strip__content {
    position: relative;

    min-height: 205px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px 150px 52px;
}


/* ==========================================================
   CENTER
   ========================================================== */

.buy-crackers-strip__center {
    position: relative;
    z-index: 10;

    width: 100%;
    max-width: 900px;

    text-align: center;
}


/* ==========================================================
   H1
   ========================================================== */

.buy-crackers-strip h1 {
    margin: 4px 0 8px;

    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;

    font-weight: 800;
    letter-spacing: -1.5px;

    color: var(--red);

    text-shadow:
        0 1px 0 rgba(255,255,255,.8);
}


/* ==========================================================
   SUBTITLE
   ========================================================== */

.buy-crackers-strip p {
    margin: 0;

    font-size: clamp(16px, 1.8vw, 23px);
    line-height: 1.4;

    font-weight: 500;

    color: var(--text);
}


/* ==========================================================
   TOP DECORATION
   ========================================================== */

.strip-top-decoration {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    height: 25px;
}

.strip-top-decoration span {
    display: block;

    width: 45px;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--red)
    );
}

.strip-top-decoration span:nth-of-type(2),
.strip-top-decoration span:nth-of-type(3) {
    background: linear-gradient(
        90deg,
        var(--red),
        transparent
    );
}

.strip-top-decoration b {
    color: var(--red);
    font-size: 13px;
}

.strip-top-decoration strong {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: var(--red);

    font-size: 27px;
    font-weight: 400;

    transform: rotate(10deg);
}


/* ==========================================================
   BOTTOM DECORATION
   ========================================================== */

.strip-bottom-decoration {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 14px;
}

.strip-bottom-decoration span {
    width: 85px;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--red)
    );
}

.strip-bottom-decoration span:last-child {
    background: linear-gradient(
        90deg,
        var(--red),
        transparent
    );
}

.strip-bottom-decoration b {
    color: var(--red);
}


/* ==========================================================
   MINI ROCKET
   ========================================================== */

.mini-rocket {
    position: relative;

    display: block;

    width: 18px;
    height: 8px;

    font-size: 0;

    background: linear-gradient(
        90deg,
        #2877b8,
        #efbd29,
        #d92732
    );

    border-radius: 60% 20% 20% 60%;

    transform: rotate(-35deg);
}

.mini-rocket::after {
    content: "";

    position: absolute;

    left: -7px;
    top: 2px;

    width: 8px;
    height: 4px;

    background: #e9502e;

    clip-path: polygon(
        100% 50%,
        0 0,
        0 100%
    );
}


/* ==========================================================
   DECORATION CONTAINERS
   ========================================================== */

.buy-crackers-strip__left,
.buy-crackers-strip__right {
    position: absolute;

    top: 0;
    bottom: 0;

    width: 300px;

    pointer-events: none;

    z-index: 2;
}

.buy-crackers-strip__left {
    left: 0;
}

.buy-crackers-strip__right {
    right: 0;
}


/* ==========================================================
   CSS FIREWORK
   ========================================================== */

.css-firework {
    position: absolute;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #f2b52b;

    box-shadow:
        0 -38px 0 -3px #f2b52b,
        0 38px 0 -3px #f2b52b,
        38px 0 0 -3px #f2b52b,
        -38px 0 0 -3px #f2b52b,

        27px 27px 0 -3px #df3a2d,
        -27px -27px 0 -3px #df3a2d,
        27px -27px 0 -3px #df3a2d,
        -27px 27px 0 -3px #df3a2d;
}

.css-firework::before,
.css-firework::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 90px;
    height: 2px;

    transform-origin: center;

    background: linear-gradient(
        90deg,
        transparent,
        #efb72c 40%,
        transparent
    );
}

.css-firework::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.css-firework::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.css-firework--left {
    left: 68px;
    top: 75px;
    transform: scale(.7);
}

.css-firework--right {
    right: 68px;
    top: 75px;
    transform: scale(.7);
}


/* ==========================================================
   CSS ROCKET
   ========================================================== */

.css-rocket {
    position: absolute;

    width: 20px;
    height: 65px;

    border-radius: 50% 50% 35% 35%;

    background:
        repeating-linear-gradient(
            0deg,
            #d72a31 0 10px,
            #f0bd2b 10px 20px,
            #2675b1 20px 30px
        );

    box-shadow:
        inset 2px 0 3px rgba(255,255,255,.4),
        inset -2px 0 3px rgba(0,0,0,.15);

    transform-origin: center bottom;
}


/* Rocket nose */

.css-rocket::before {
    content: "";

    position: absolute;

    left: 1px;
    top: -21px;

    width: 18px;
    height: 25px;

    background: #df2932;

    clip-path: polygon(
        50% 0,
        100% 100%,
        0 100%
    );
}


/* Rocket flame */

.css-rocket::after {
    content: "";

    position: absolute;

    left: 5px;
    bottom: -35px;

    width: 10px;
    height: 40px;

    background: linear-gradient(
        180deg,
        #f6d43a,
        #f36d2d 40%,
        transparent
    );

    clip-path: polygon(
        50% 100%,
        0 0,
        100% 0
    );
}


/* Rocket fins */

.css-rocket i::before,
.css-rocket i::after {
    content: "";

    position: absolute;

    bottom: 2px;

    width: 17px;
    height: 24px;

    background: #c9252d;
}

.css-rocket i::before {
    left: -13px;

    clip-path: polygon(
        100% 0,
        100% 100%,
        0 100%
    );
}

.css-rocket i::after {
    right: -13px;

    clip-path: polygon(
        0 0,
        100% 100%,
        0 100%
    );
}


/* Large left rocket */

.css-rocket--large-left {
    left: 105px;
    top: 75px;

    transform: rotate(-25deg) scale(1.05);
}


/* Small left rocket */

.css-rocket--small-left {
    left: 185px;
    top: 105px;

    transform:
        rotate(-12deg)
        scale(.55);
}


/* Large right rocket */

.css-rocket--large-right {
    right: 105px;
    top: 75px;

    transform: rotate(25deg) scale(1.05);
}


/* Small right rocket */

.css-rocket--small-right {
    right: 185px;
    top: 105px;

    transform:
        rotate(12deg)
        scale(.55);
}


/* ==========================================================
   SMALL FOUNTAIN / CONE
   ========================================================== */

.css-fountain {
    position: absolute;

    width: 32px;
    height: 27px;

    border-radius: 4px 4px 12px 12px;

    background:
        linear-gradient(
            90deg,
            #1f69a5,
            #efbd2a 50%,
            #d92732
        );

    clip-path: polygon(
        50% 0,
        100% 100%,
        0 100%
    );
}

.css-fountain::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -38px;

    width: 3px;
    height: 45px;

    transform: translateX(-50%);

    background: linear-gradient(
        to top,
        #efb52b,
        transparent
    );

    box-shadow:
        -10px -8px 0 -1px #efb52b,
        10px -12px 0 -1px #efb52b;
}

.css-fountain--left {
    left: 215px;
    bottom: 45px;
}

.css-fountain--right {
    right: 215px;
    bottom: 45px;
}


/* ==========================================================
   CURVED RED / GOLD BOTTOM
   ========================================================== */

.buy-crackers-strip__wave {
    position: absolute;

    left: -2%;
    right: -2%;
    bottom: -43px;

    height: 85px;

    background: var(--red);

    border-top: 5px solid var(--gold);

    border-radius:
        50% 50% 0 0 /
        45% 45% 0 0;

    z-index: 5;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991px) {

    .buy-crackers-strip__content {
        padding-left: 100px;
        padding-right: 100px;
    }

    .buy-crackers-strip__left,
    .buy-crackers-strip__right {
        width: 190px;
    }

    .css-rocket--large-left {
        left: 55px;
    }

    .css-rocket--small-left {
        left: 120px;
    }

    .css-rocket--large-right {
        right: 55px;
    }

    .css-rocket--small-right {
        right: 120px;
    }

    .css-firework--left {
        left: 35px;
    }

    .css-firework--right {
        right: 35px;
    }

    .css-fountain--left {
        left: 125px;
    }

    .css-fountain--right {
        right: 125px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .buy-crackers-strip__content {
        min-height: 165px;

        padding:
            28px
            45px
            48px;
    }

    .buy-crackers-strip h1 {
        font-size: 31px;
        letter-spacing: -.7px;
    }

    .buy-crackers-strip p {
        font-size: 15px;
    }

    .buy-crackers-strip__left,
    .buy-crackers-strip__right {
        width: 80px;
        opacity: .45;
    }

    .css-rocket--large-left {
        left: 18px;
        top: 80px;

        transform:
            rotate(-25deg)
            scale(.55);
    }

    .css-rocket--large-right {
        right: 18px;
        top: 80px;

        transform:
            rotate(25deg)
            scale(.55);
    }

    .css-rocket--small-left,
    .css-rocket--small-right,
    .css-fountain--left,
    .css-fountain--right {
        display: none;
    }

    .css-firework--left {
        left: 12px;
        top: 48px;
        transform: scale(.45);
    }

    .css-firework--right {
        right: 12px;
        top: 48px;
        transform: scale(.45);
    }

    .strip-top-decoration span {
        width: 25px;
    }

    .strip-bottom-decoration span {
        width: 35px;
    }

    .buy-crackers-strip__wave {
        bottom: -28px;
        height: 55px;
    }
}


div.section-title h2, section.popular-categories h2 {
    font-size: 30px;
}






/* ==========================================================
   AUTH LOGIN — COMMON STEP 1 TO STEP 5 LAYOUT
   UI / UX ONLY
   ========================================================== */

/*
 * The login step itself must fit inside the available
 * viewport. Do not allow individual steps to determine
 * the modal height.
 */
#auth-step-1,
#auth-step-2-login-method,
#auth-step-3-password,
#auth-step-4-otp,
#auth-step-5-register,
#auth-step-6 {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
}


/*
 * Common login card.
 *
 * 100px top + 100px bottom on a normal desktop viewport.
 */
.login-popup {
    width: 100%;
    height: min(640px, calc(100vh - 200px));
    min-height: 0;
    max-height: calc(100vh - 200px);

    display: flex;
    overflow: hidden;

    box-sizing: border-box;
}


/*
 * Bootstrap row must NOT recreate the old 640px
 * minimum height.
 */
.login-popup > .row {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    margin: 0;
}


/*
 * Both columns must respect the fixed popup height.
 */
.login-popup > .row > [class*="col-"] {
    min-height: 0;
    max-height: 100%;
}


/*
 * LEFT FORM AREA
 *
 * This is the only area that is allowed to scroll.
 */
.login-popup > .row > .col-lg-6.order-2 {
    height: 100%;
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
}


/*
 * Existing p-5 wrapper must not force the
 * column to become taller than the popup.
 */
.login-popup > .row > .col-lg-6.order-2 > .p-5 {
    min-height: 100%;
    height: auto;

    box-sizing: border-box;
}


/*
 * RIGHT IMAGE AREA
 *
 * Keep it inside the fixed popup.
 */
.login-popup > .row > .col-lg-6.order-1 {
    height: 100%;
    min-height: 0;
    max-height: 100%;

    overflow: hidden;
}


/*
 * Illustration stays contained.
 */
.login-popup .login-banner {
    height: 100%;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.login-popup .login-banner img {
    max-width: 88%;
    max-height: 90%;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* ==========================================================
   AUTH ERROR / VALIDATION MESSAGE VISIBILITY
   ========================================================== */

/*
 * Keep validation messages above inputs/buttons and
 * above the scrolling content.
 */
.login-popup .invalid-feedback,
.login-popup .text-danger,
.login-popup .auth-error,
.login-popup .error-message {
    position: relative;
    z-index: 20;
}


/*
 * Any error/alert generated inside the login form
 * must remain visible inside the scrolling area.
 */
.login-popup .alert {
    position: relative;
    z-index: 20;
}


/* ==========================================================
   SHORT VIEWPORT
   ========================================================== */

@media (max-height: 800px) {

    .login-popup {
        height: calc(100vh - 40px);
        max-height: calc(100vh - 40px);
    }

}


/* ==========================================================
   TABLET / MOBILE
   ========================================================== */

@media (max-width: 991.98px) {

    .login-popup {
        height: calc(100vh - 40px);
        max-height: calc(100vh - 40px);
        min-height: 0;

        overflow: hidden;
    }

    .login-popup > .row {
        height: 100%;
        min-height: 0;
    }

    /*
     * On smaller screens the image remains part of
     * the same card, but gets its own bounded height.
     */
    .login-popup > .row > .col-lg-6.order-1 {
        height: 260px;
        max-height: 260px;

        flex: 0 0 260px;
    }

    /*
     * Form gets the remaining available height.
     */
    .login-popup > .row > .col-lg-6.order-2 {
        height: auto;
        flex: 1 1 auto;

        min-height: 0;
        overflow-y: auto;
    }

    .login-popup .login-banner {
        height: 100%;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 575.98px) {

    .login-popup {
        height: calc(100vh - 24px);
        max-height: calc(100vh - 24px);

        border-radius: 18px;
    }

    .login-popup > .row > .col-lg-6.order-1 {
        height: 180px;
        max-height: 180px;

        flex: 0 0 180px;
    }

    .login-popup > .row > .col-lg-6.order-2 {
        min-height: 0;
        overflow-y: auto;
    }

}

/* ==========================================================
   LOGIN STEPS — LEFT CONTENT BREATHING SPACE
   ========================================================== */

.login-popup > .row > .col-lg-6.order-2 {
    padding-top: 18px;
    padding-bottom: 18px;
    box-sizing: border-box;
}

/*
 * Keep the actual form content from touching
 * the top/bottom of the scroll area.
 */
.login-popup > .row > .col-lg-6.order-2 > .p-5 {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

/* =========================================================
   AUTH STEPS — FINAL LAYOUT FIX
   UI ONLY — DO NOT MODIFY JS / BUSINESS LOGIC
   ========================================================= */

/*
 * Important:
 * The left side must scroll as one complete panel.
 * Do not vertically center overflowing content.
 */

.login-popup .row {
    min-height: 640px;
}

.login-popup .row > .col-lg-6 {
    min-width: 0;
}

/* LEFT AUTH PANEL */
.login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
    height: 100% !important;
    min-height: 640px;
    overflow-y: auto;
    overflow-x: hidden;

    /*
     * Keep the beginning and end of every step visible.
     */
    padding-top: 34px !important;
    padding-bottom: 34px !important;

    /*
     * Do NOT vertically center long OTP/register content.
     */
    justify-content: flex-start !important;

    box-sizing: border-box;
}

/* =========================================================
   AUTH STEP CONTENT
   ========================================================= */

.auth-step {
    min-height: 0;
}

/*
 * Give every step consistent breathing room.
 */
.auth-step .login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
    gap: 0;
}

/* Back button must always remain visible */
.auth-step .auth-back {
    flex: 0 0 auto;
    position: relative;
    z-index: 20;

    display: inline-flex;
    align-items: center;
    align-self: flex-start;

    min-height: 32px;
}

/* Title/icon must never be clipped */
.auth-step .auth-title {
    position: relative;
    z-index: 5;
    flex: 0 0 auto;

    margin-top: 2px;
}

/* Heading spacing */
.auth-step .auth-title h2 {
    margin-top: 12px;
}

/* =========================================================
   OTP STEP
   ========================================================= */

#auth-step-4-otp .login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

#auth-step-4-otp .auth-title-icon {
    position: relative;
    z-index: 10;
}

#auth-step-4-otp .auth-channel-list,
#auth-step-4-otp .otp-section,
#auth-step-4-otp #btnVerifyOTP,
#auth-step-4-otp .otp-timer,
#auth-step-4-otp .otp-note {
    position: relative;
    z-index: 5;
    flex: 0 0 auto;
}

/*
 * Keep OTP heading away from the top border.
 */
#auth-step-4-otp .auth-title h2 {
    margin-top: 12px;
    margin-bottom: 10px;
}

/*
 * Prevent the OTP inputs/button from being clipped.
 */
#auth-step-4-otp .otp-section {
    margin-top: 24px;
}

#auth-step-4-otp #btnVerifyOTP {
    position: relative;
    z-index: 10;
    margin-bottom: 4px;
}

/* =========================================================
   STEP 5 / ERROR MESSAGES
   ========================================================= */

/*
 * Error/validation elements must stay above the step content.
 */
#auth-step-5,
#auth-step-5 .login-popup,
#auth-step-5 .login-popup .row,
#auth-step-5 .login-popup .row > .col-lg-6,
#auth-step-5 .auth-error,
#auth-step-5 .error,
#auth-step-5 .invalid-feedback,
#auth-step-5 .alert,
#auth-step-5 [role="alert"] {
    position: relative;
}

#auth-step-5 .auth-error,
#auth-step-5 .error,
#auth-step-5 .invalid-feedback,
#auth-step-5 .alert,
#auth-step-5 [role="alert"] {
    z-index: 100;
}

/* =========================================================
   ERROR MESSAGE — GENERAL AUTH STEPS
   ========================================================= */

.auth-step .auth-error,
.auth-step .error,
.auth-step .invalid-feedback,
.auth-step .alert,
.auth-step [role="alert"] {
    position: relative;
    z-index: 100;
}

/* =========================================================
   RIGHT IMAGE
   ========================================================= */

.login-banner {
    position: relative;
    z-index: 1;
    height: 100%;
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
        scrollbar-width: thin;
        scrollbar-color: rgba(100, 100, 100, .35) transparent;
    }

    .login-popup .row > .col-lg-6.order-lg-1 > .p-5::-webkit-scrollbar {
        width: 6px;
    }

    .login-popup .row > .col-lg-6.order-lg-1 > .p-5::-webkit-scrollbar-track {
        background: transparent;
    }

    .login-popup .row > .col-lg-6.order-lg-1 > .p-5::-webkit-scrollbar-thumb {
        background: rgba(100, 100, 100, .35);
        border-radius: 10px;
    }
}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
        min-height: 0;
        height: auto !important;

        padding-top: 30px !important;
        padding-bottom: 30px !important;

        overflow-y: visible;
        overflow-x: hidden;

        justify-content: flex-start !important;
    }

    .auth-step .auth-title h2 {
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {

    .login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    #auth-step-4-otp .login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
}

/* =========================================================
   FINAL FIX — REMOVE OUTER MODAL SCROLLBAR
   Keep ONLY the left authentication panel scrollable.
   ========================================================= */

.login-popup .modal__body {
    overflow: hidden !important;
    min-height: 0;
}

/* Keep left authentication content scrollable */
.login-popup .row > .col-lg-6.order-lg-1 > .p-5 {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 0;
}

/* =========================================================
   STEP 2 — AUTH OPTION CARD CONTENT FIX
   Prevent title/subtitle clipping inside login method cards.
   ========================================================= */

#auth-step-2 .auth-option-card {
    min-height: 76px;
    height: auto !important;

    display: flex;
    align-items: center;

    padding: 12px 16px !important;

    box-sizing: border-box;
    overflow: visible !important;
}

#auth-step-2 .auth-option-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
}

#auth-step-2 .auth-option-content {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: visible !important;
}

#auth-step-2 .auth-option-content h6 {
    margin: 0 0 5px 0 !important;

    font-size: 15px;
    line-height: 1.25;

    white-space: normal;
    overflow: visible;
}

#auth-step-2 .auth-option-content small {
    display: block;

    margin: 0 !important;

    font-size: 12px;
    line-height: 1.4;

    white-space: normal;
    overflow: visible;
}

#auth-step-2 .auth-option-check {
    flex: 0 0 auto;
    margin-left: 10px;
}

/* Email "Coming Soon" card */
#auth-step-2 .auth-option-card.disabled {
    min-height: 76px;
}

/* Keep the three cards separated cleanly */
#auth-step-2 .auth-option-card + .auth-option-card {
    margin-top: 0;
}