/* -------------------------------------------------------------------------
   Layout: stop horizontal page scrollbar (carousel / row negative margins)
   ------------------------------------------------------------------------- */
html {
    max-width: 100%;
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

main.main {
    max-width: 100%;
    overflow-x: hidden;
}

.categories-dropdown-wrap.style-2 {
    border: 1px solid #bce3c9;
    border-radius: 10px;
    /* padding: 12px 5px 5px 5px !important; */
    /* padding: 30px 5px 30px 5px !important; */
    padding: 10px 5px 22px 5px !important;
}

/* .categories-dropdown-wrap.style-2 ul li {
  border-radius: 0;
  border: 0;
  height: 10px !important;
  padding: 0;
  line-height: 10px !important;
  margin-bottom: 18px !important;
}

.categories-dropdown-wrap ul li a img {
  max-width: 30px;
  margin-right: 5px;
} */

.categories-dropdown-active-large {
  list-style-type: none;
  position: absolute;
  top: 177%;
  left: 0;
  z-index: 99;
  margin: 0;
    margin-top: 0px;
  padding: 10px !important;
  background: #fff;
  border: 1px solid #BCE3C9;
  border-radius: 10px;
  font-size: 16px;
  min-width: 270px;
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 0;
  visibility: hidden;
  margin-top: 18px;
}

.categories-dropdown-wrap ul li {
  display: flex;
  align-items: center;
  line-height: 48px;
  border-radius: 5px;
  border: 1px solid #F2F3F4;
  padding: 0px 0px;
  margin: 0 10px 10px 0;
  height: auto;
  transition: 0.3s;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
}

.banner-img .banner-text {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  padding: 0 30px !important;
}

.primary-sidebar .sidebar-widget {
  position: relative;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 15px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-category-2 ul li {
  display: flex;
  align-items: center;
  line-height: 48px;
  border-radius: 5px;
  border: 1px solid #F2F3F4;
  padding: 5px 8px;
  margin: 0 0 10px 0;
  justify-content: space-between;
  transition: 0.3s;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
}

.widget-category-2 ul li a img {
  max-width: 30px;
  margin-right: 0px;
}


.banner-img.style-2 {
    height: 424px;
}

.custom_count {
    display: inline-block;
    background-color: #bce3c9;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 20px;
    margin-left: 5px;
    font-size: 12px;
    color: #253d4e;
}

.main-menu > nav > ul > li > a.active {
    color: #fdc040 !important;
}

.main-menu > nav > ul > li ul.sub-menu li a.active {
    color: #fdc040 !important;
}

.mobile-header-wrapper-style
    .mobile-header-wrapper-inner
    .mobile-header-content-area
    .mobile-menu-wrap
    nav
    .mobile-menu
    li
    a.active {
    color: #3bb77e !important;
}

.search-style-3 form button:hover {
    color: #fff;
}

.add-cart {
    width: 100%;
}

.cart_width_set_scroll {
    width: 335px;
}

.cart_height_set_scroll {
    max-height: 235px;
    overflow-y: auto;
}

.product-card-bottom .add-cart .add {
    width: 100%;
    text-align: center;
}

.search_bar_for_mobile_device_home {
    display: none;
}

.current-price {
    font-size: 40px !important;
    text-decoration: none;
    font-weight: 900;
}

#scrollUp {
    width: 32px;
    height: 32px;
    color: #253d4e;
    right: 28px;
    bottom: 50px;
    border-radius: 30px;
    text-align: center;
    overflow: hidden;
    z-index: 999 !important;
    border: 2px solid #253d4e;
    background-color: #fff;
}

.cart_icon_mright_10 {
    margin-right: 10px;
}

/* .detail-extralink .detail-qty {
    margin: 0 7px -4px 0;
    background: #fff;
    border: 2px solid #3bb77e !important;
    font-size: 16px;
    font-weight: 700;
    color: #3bb77e;
    border-radius: 5px;
    padding: 11px 20px 11px 30px;
    max-width: 90px;
} */

.detail-extralink .detail-qty {
  margin: 0 5px -4px 0;
  background: #fff;
  border: 2px solid #3bb77e !important;
  font-size: 16px;
  font-weight: 700;
  color: #3bb77e;
  border-radius: 5px;
  padding: 6px 7px 11px 11px;
  max-width: 70px;
}

.apply-coupon button {
    min-width: 170px;
    height: 51px;
    border-radius: 0 10px 10px 0;
    background-color: #253d4e;
}

.header-style-1 .header-middle-ptb-1 {
  padding: 20px 0 !important;
}

.search-style-2 form input {
  width: 100%;
  max-width: 683px;
  font-size: 14px;
  background-image: url(../imgs/theme/icons/search.png);
  background-repeat: no-repeat;
  background-position: center right;
  padding-left: 0;
  height: 38px;
  line-height: 38px;
  font-size: 14px;
}

.header-style-1 .header-bottom-bg-color {
  background-color: #fff;
  border-top: 0px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.main-menu.main-menu-lh-2 > nav > ul > li {
  line-height: 50px;
}

.main-menu.main-menu-padding-1 > nav > ul > li {
  padding: 0 10px;
}

.header-style-1 .main-categori-wrap > a.categories-button-active {
  line-height: 35px;
  border-radius: 5px;
  padding: 0 20px;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
}

textarea {
  border: 1px solid #ececec;
  border-radius: 10px;
  height: 50px;
  box-shadow: none;
  padding: 10px 10px 10px 20px;
  font-size: 16px;
  width: 100%;
  min-height: 64px;
}

/* Order Tracking css start */
.my-grayBox {
    background-color: #f8f8f8;
    margin-bottom: 20px;
    padding: 35px;
    margin-top: 20px;
    border-radius: 10px;
}

.pt45 {
    padding-top: 45px;
}

.my-order-tracking {
    text-align: center;
    position: relative;
    display: block;
}

.my-order-tracking .my-is-complete {
    display: block;
    position: relative;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    background-color: #f7be16;
    margin: 0 auto;
    transition: background 0.25s linear;
    z-index: 2;
}

.my-order-tracking .my-is-complete:after {
    display: block;
    position: absolute;
    content: "";
    height: 14px;
    width: 7px;
    top: 8px;
    left: 11px;
    border-width: 0px 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.my-order-tracking.my-completed .my-is-complete {
    background-color: #27aa80;
}

.my-order-tracking.my-completed .my-is-complete:after {
    border-color: #fff;
    border-width: 0px 3px 3px 0;
    opacity: 1;
}

.my-order-tracking p {
    color: #a4a4a4;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 20px;
}

.my-order-tracking p span {
    font-size: 14px;
}

.my-order-tracking.my-completed p {
    color: #000;
}

.my-order-tracking::before {
    content: "";
    display: block;
    height: 3px;
    width: calc(100% - 40px);
    background-color: #f7be16;
    top: 13px;
    position: absolute;
    left: calc(-50% + 20px);
    z-index: 0;
}

.my-order-tracking:first-child::before {
    display: none;
}

.my-order-tracking.my-completed::before {
    background-color: #27aa80;
}

.my-order-details {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
}

.my-order-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.my-order-label {
    font-weight: 600;
    color: #555;
    flex: 1;
    margin: 0;
}

.my-order-value {
    font-weight: 400;
    color: #333;
    flex: 1;
    margin: 0;
    text-align: right;
}

.add_to_cart_flex{
   display: flex;
   gap:0.5rem;
}

/* .product-extra-link2 .button.button-add-to-cart {
  position: relative;
  padding: 0px 15px !important;
  border-radius: 5px;
  border: 0;
  height: 50px;
  line-height: 50px;
  font-weight: 700;
  font-size: 14px !important;
  font-family: "Quicksand", sans-serif;
} */

.product-extra-link2 .button.button-add-to-cart {
  position: relative;
  padding: 1px 8px !important;
  border-radius: 5px;
  border: 0px;
  height: 44px;
  line-height: 44px;
  font-weight: 575;
  font-size: 10px !important;
  font-family: "Quicksand", sans-serif;
}

.newsletter .newsletter-inner .newsletter-content form {
  background-color: #f2f2f2;
  max-width: 450px;
  border-radius: 50px;
  position: relative;
  z-index: 4;
}

.card-2 figure img {
  border-radius: 10px;
  display: inline-block;
  max-width: 48px;
}


/* Responsive adjustments */
@media (min-width: 768px) {
    .my-order-details {
        padding: 30px;
    }

    .my-order-row {
        margin-bottom: 20px;
    }

    .my-order-label,
    .my-order-value {
        font-size: 18px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .my-grayBox .row {
        flex-direction: column;
        align-items: center;
    }

    .my-order-tracking {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
        position: relative;
    }

    .my-order-tracking::before {
        display: none; /* Hide the connecting line */
    }

    .my-order-tracking.my-completed::before {
        display: none; /* Ensure no line for completed stages */
    }

    .my-order-tracking .my-is-complete {
        margin-bottom: 20px; /* Add spacing below the icon */
    }

    .my-order-tracking p {
        margin-top: 10px; /* Adjust spacing for text */
    }
}
.my-order-tracking {
    text-align: center;
    position: relative;
    display: block;
}

.my-order-tracking .my-is-complete {
    display: block;
    position: relative;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    background-color: #f7be16; /* Default color */
    margin: 0 auto;
    transition: background 0.25s linear;
    z-index: 2;
}

.my-order-tracking .my-is-complete:after {
    display: block;
    position: absolute;
    content: "";
    height: 14px;
    width: 7px;
    top: 8px;
    left: 11px;
    border: 2px solid transparent;
    border-top: 2px solid white; /* Check if this color is visible */
    border-right: 2px solid white; /* Check if this color is visible */
    transform: rotate(45deg);
    opacity: 0;
}

.my-order-tracking.my-completed .my-is-complete {
    background-color: #27aa80; /* Completed color */
}

.my-order-tracking.my-completed .my-is-complete:after {
    border-color: #fff;
    opacity: 1;
}

.my-order-tracking p {
    color: #a4a4a4;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 20px;
}

.my-order-tracking.my-completed p {
    color: #000;
}
/* Order Tracking css end */

/* Mobile device bottom bar start */
:root {
    --mobile-footer-clearance: calc(72px + env(safe-area-inset-bottom, 0px));
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none;
    /* Ensure the bottom bar is visible */
    justify-content: space-around;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px 0px 0px 0px;
    /* Adjust height */
    transform: translateY(0);
    /* Ensure the bottom bar is in place */
    border-radius: 24px 24px 0 0;
    /* Rounded corners at the top */
    z-index: 10;
    /* Ensure the bottom bar is on top of the content */
}

.bottom-bar-item {
    flex: 1;
    text-align: center;
}

.bottom-bar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    font-size: 10px;
    /* Smaller text size */
}

.bottom-bar-link i {
    font-size: 15px;
    padding-top: 3px;
    margin-bottom: -3px;
}

.bottom-bar-link.active {
    color: #3bb77e;
}

.mobile-social-icon a {
    text-align: center;
    font-size: 14px;
    margin-right: 5px;
    transition-duration: 0.5s;
    height: 30px;
    width: 30px;
    display: inline-flex;
    background: #fff;
    border-radius: 30px;
    line-height: 1;
    align-content: center;
    justify-content: center;
  }

  .product-cart-wrap .product-content-wrap h2 {
    font-size: 14px !important;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .product-cart-wrap .product-content-wrap .product-price span {
    font-size: 14px !important;
    font-weight: bold;
    color: #3BB77E;
  }

  .product-list-small .product-price {
    color: #3BB77E;
    font-size: 14px !important;
    font-weight: 700;
    margin-top: 10px;
  }

  .hotline p {
    color: #3BB77E;
    font-size: 20px !important;
    font-weight: 700;
    font-family: "Quicksand", sans-serif;
    display: block;
    line-height: 1;
  }

/* Mobile device bottom bar end */

/* mobile responsive css here */
@media only screen and (max-width: 1199px) {
    .search_bar_for_mobile_device_home {
        display: block;
        margin-top: 10px;
        margin-bottom: 0 !important;
    }

    .search_bar_for_mobile_device_home.search-style-3 {
        margin-bottom: 0 !important;
    }

    /* Match gap below mobile search to gap above (~10px); was mt-30 (30px) + search mb */
    .home-slider.home-hero-layout .home-hero-row.mt-30 {
        margin-top: 10px !important;
    }

    .search-style-3 form input {
        border: 1px solid #bce3c9;
    }

    .home-slide-cover {
        margin-top: 0px !important;
    }

    .popular-categories {
        padding: 0px;
    }

    .bottom-bar {
        display: flex;
    }

    footer {
        padding-bottom: var(--mobile-footer-clearance);
    }
}

/* Sticky header + drawer: smaller logo on phones/tablets (overrides theme + inline admin sizes) */
@media only screen and (max-width: 991.98px) {
    .header-bottom.sticky-bar .logo.logo-width-1 a img {
        width: auto !important;
        max-width: 96px !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: 36px !important;
        object-fit: contain !important;
        margin-top: 5px;
    }

    .mobile-header-wrapper-style .mobile-header-top .mobile-header-logo a img {
        width: auto !important;
        max-width: 100px !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: 38px !important;
        object-fit: contain !important;
    }
}

@media only screen and (max-width: 768px) {
    .logo.logo-width-1 {
        margin-right: 0;
        position: absolute;
        /* left: 36%; */
        left: 20%;
        transform: translateX(-50%);
    }

    .detail-info .product-price {
        display: flex;
        align-items: center;
        margin: 15px 0px 30px 0;
        margin-top: 15px;
        margin-left: 0px;
    }
}

@media only screen and (max-width: 480px) {
    .mobile_device_mt_zero {
        margin-top: -10px !important;
    }

    .cart_icon_mright_10 {
        margin-right: 0px;
    }

    .padding_top30 {
        padding-top:30px !important;
    }
    .padding_bottom30 {
        padding-bottom:30px !important;
    }

    .small_device_product > div {
        flex-shrink: 0;
        max-width: 50%;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        margin-top: var(--bs-gutter-y);
    }

    .carausel-4-columns-cover .carausel-4-columns {
        overflow: hidden;
        /* margin: 0 auto; */
        max-width: 424px;
    }

    .btn,
    .button {
        display: inline-block;
        border: 1px solid transparent;
        font-size: 11px;
        font-weight: 700;
        padding: 6px;
        border-radius: 4px;
        color: #fff;
        border: 1px solid transparent;
        background-color: #3bb77e;
        cursor: pointer;
        transition: all 300ms linear 0s;
        letter-spacing: 0.5px;
    }

    .product-cart-wrap .product-card-bottom {
        display: block;
        margin-top: 15px;
    }

    .product-cart-wrap .product-content-wrap > .product-card-bottom:not(:last-child) {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .product-cart-wrap .product-content-wrap > .product-card-bottom:last-child {
        margin-bottom: 0 !important;
    }

    .product-cart-wrap .product-content-wrap .product-price span {
        font-size: 13px;
        font-weight: bold;
        color: #3bb77e;
    }

    .product-cart-wrap .product-content-wrap .product-price span.old-price {
        font-size: 13px;
        color: #adadad;
        margin: 0px;
        text-decoration: line-through;
    }

    .product-cart-wrap .product-badges span {
        display: inline-block;
        font-size: 9px;
        line-height: 1;
        border-radius: 10px 0 15px 0;
        color: #fff;
        padding: 7px;
    }

    .product-cart-wrap .product-card-bottom {
        display: block;
        margin-top: 5px;
    }

    .product-cart-wrap .product-img-action-wrap {
        position: relative;
        background-color: #fff;
        overflow: hidden;
        max-height: 320px;
        padding: 12px 12px 5px 12px;
    }

    .product-cart-wrap .product-content-wrap {
        padding: 12px 12px 5px 12px;
    }

    .product-cart-wrap .product-content-wrap h2 {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .product-cart-wrap .product-content-wrap .product-price {
        padding-top: 0px;
    }

    .mt-10 {
        margin-top: 0px !important;
    }

    .shop-product-fillter .sort-by-product-area .sort-by-product-wrap {
        display: flex;
        align-items: center;
        background: #fff;
        border: 1px solid #f7f8f9;
        color: #777;
        padding: 9px 5px;
        border-radius: 10px;
        transition: all 0.3s ease 0s;
        cursor: pointer;
        border: 1px solid #ececec;
    }

    .shop-product-fillter
        .sort-by-product-area
        .sort-by-product-wrap
        .sort-by-dropdown-wrap
        span
        i {
        font-size: 15px;
        color: #7e7e7e;
        margin-left: 0px;
        position: relative;
        top: 2px;
    }

    .product-cart-wrap .product-card-bottom .add-cart .add {
        position: relative;
        display: inline-block;
        padding: 2px 2px 2px 2px;
        border-radius: 4px;
        background-color: #def9ec;
        font-size: 10px;
        font-weight: 700;
    }

    .product-cart-wrap .product-img-action-wrap .product-action-1 {
        min-width: max-content;
    }

    .custom_d_flex {
        display: block !important;
    }
    .heading_s1 h2{
        font-size: 30px !important;
    }
    button.submit, button[type="submit"] {
        font-size: 16px;
        font-weight: 500;
        padding: 7px 20px;
        color: #ffffff;
        border: none;
        background-color: #3BB77E;
        border: 1px solid #29A56C;
            border-top-color: rgb(41, 165, 108);
            border-right-color: rgb(41, 165, 108);
            border-bottom-color: rgb(41, 165, 108);
            border-left-color: rgb(41, 165, 108);
        border-radius: 10px;
    }

    .table .fixtd {
        width: 50% !important;
        text-align: center;
        float: left;
    }
}

/* -------------------------------------------------------------------------
   Header mini-cart dropdown: stack content vertically + tidy line items
   (fixes accidental flex-row on .cart-dropdown-wrap from header rules)
   ------------------------------------------------------------------------- */
.cart-dropdown-wrap.cart-dropdown-hm2 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}

.cart-dropdown-wrap.cart-dropdown-hm2 .cart_height_set_scroll {
    flex: 0 1 auto;
    min-height: 0;
    width: 100% !important;
    max-width: 100%;
}

.cart-dropdown-wrap ul li.mini-cart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: start;
    margin: 0 0 16px;
    flex-wrap: unset !important;
}

.cart-dropdown-wrap ul li.mini-cart-item .shopping-cart-img {
    flex: unset !important;
    margin-right: 0 !important;
    width: auto;
}

.cart-dropdown-wrap ul li.mini-cart-item .shopping-cart-title {
    margin: 0 !important;
    min-width: 0;
}

.cart-dropdown-wrap ul li.mini-cart-item .mini-cart-item__title {
    margin: 0 0 6px !important;
    line-height: 1.35 !important;
    font-size: 15px !important;
}

.cart-dropdown-wrap ul li.mini-cart-item .mini-cart-item__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-dropdown-wrap ul li.mini-cart-item .mini-cart-item__meta {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 600;
}

.cart-dropdown-wrap ul li.mini-cart-item .shopping-cart-delete {
    flex-grow: 0 !important;
    margin: 0 !important;
    align-self: start;
}

.cart-dropdown-wrap ul li.mini-cart-item .shopping-cart-delete a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.cart-dropdown-wrap ul li.mini-cart-item .shopping-cart-delete a:hover {
    background: #f5f5f5;
}

.cart-dropdown-wrap ul li.mini-cart-empty {
    display: block !important;
    text-align: center;
    padding: 20px 12px 8px;
    margin: 0 !important;
}

.cart-dropdown-wrap ul li.mini-cart-empty .mini-cart-empty__text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.cart-dropdown-wrap .shopping-cart-footer {
    flex-shrink: 0;
    width: 100%;
    padding-top: 4px;
}

.cart-dropdown-wrap .shopping-cart-footer .shopping-cart-total {
    margin: 12px 0 0 !important;
    padding-top: 14px !important;
}

.cart-dropdown-wrap .shopping-cart-footer .shopping-cart-total h4 {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.cart-dropdown-wrap .shopping-cart-footer .shopping-cart-total h4 span {
    float: none !important;
}

.cart-dropdown-wrap .shopping-cart-footer .shopping-cart-button {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-top: 14px !important;
    align-items: stretch !important;
}

.cart-dropdown-wrap .shopping-cart-footer .shopping-cart-button a {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Green header bar cart: was `color:#fff` on wrapper — dropdown inherited white on white (invisible text) */
.hotline .hotline-cart-wrap .mini-cart-icon {
    color: #fff;
}

.hotline .hotline-cart-wrap .mini-cart-icon i {
    color: #fff !important;
}

.hotline .hotline-cart-wrap .cart-dropdown-wrap {
    color: #253d4e;
}

.hotline .hotline-cart-wrap .cart-dropdown-wrap .mini-cart-empty__text.text-danger {
    color: #dc3545 !important;
}

.hotline .hotline-cart-wrap .cart-dropdown-wrap .shopping-cart-title h4 a {
    color: #3bb77e;
}

/* -------------------------------------------------------------------------
   Home hero (slider + categories + right banners): same gap, same height
   ------------------------------------------------------------------------- */
.home-hero-layout {
    --home-hero-gap: clamp(16px, 1.75vw, 22px);
    --home-hero-block-h: clamp(280px, 32vw, 520px);
}

@media (min-width: 992px) {
    /* One gutter value for row margin + col padding (avoids double pull vs Bootstrap .row) */
    .home-hero-layout .home-hero-row {
        --bs-gutter-x: var(--home-hero-gap);
        --bs-gutter-y: 0;
    }

    .home-hero-layout .home-hero-col--sidebar .categories-dropdown-wrap.style-2 {
        height: var(--home-hero-block-h);
        min-height: var(--home-hero-block-h);
        max-height: var(--home-hero-block-h);
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow: hidden;
    }

    .home-hero-layout .home-hero-col--sidebar .categori-dropdown-inner.home-hero-cat-scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .home-hero-layout .home-hero-col--sidebar .home-hero-cat-scroll::-webkit-scrollbar {
        width: 0;
        height: 0;
        background: transparent;
    }

    .home-hero-layout .home-hero-slide-cover,
    .home-hero-layout .home-hero-slide-cover .hero-slider-1,
    .home-hero-layout .home-hero-slide-cover .hero-slider-1 .slick-list,
    .home-hero-layout .home-hero-slide-cover .hero-slider-1 .slick-track {
        height: var(--home-hero-block-h) !important;
    }

    .home-hero-layout .hero-slider-1.style-5 .single-hero-slider {
        height: var(--home-hero-block-h) !important;
        min-height: var(--home-hero-block-h) !important;
        max-height: var(--home-hero-block-h);
        box-sizing: border-box;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
    }

    .home-hero-layout .hero-slider-1 .slick-slide {
        height: var(--home-hero-block-h) !important;
    }

    .home-hero-layout .hero-slider-1 .slick-slide > div {
        height: 100%;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .home-hero-layout .home-hero-banners {
        display: flex;
        flex-direction: column;
        gap: var(--home-hero-gap);
        height: var(--home-hero-block-h);
        min-height: var(--home-hero-block-h);
        max-height: var(--home-hero-block-h);
    }

    .home-hero-layout .home-hero-banner-slot {
        flex: 1 1 0;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .home-hero-layout .home-hero-banner-slot .banner-img {
        position: relative;
        flex: 1 1 0;
        min-height: 0;
        width: 100%;
        overflow: hidden;
        border-radius: 10px;
    }

    .home-hero-layout .home-hero-banner-slot .banner-img > a {
        display: block;
        height: 100%;
        min-height: 0;
    }

    .home-hero-layout .home-hero-banner-slot .banner-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .home-hero-layout .home-hero-banner-slot .banner-text h4 {
        min-height: 0;
    }

    /* Narrower category column: icon + label centered, readable in tight width */
    .home-hero-layout .home-hero-col--sidebar .categories-dropdown-wrap.style-2 ul li {
        height: auto !important;
        min-height: 0;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center;
    }

    .home-hero-layout .home-hero-col--sidebar .categories-dropdown-wrap.style-2 ul li a {
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
        width: 100%;
        font-size: 14px;
    }

    .home-hero-layout .home-hero-col--sidebar .categories-dropdown-wrap.style-2 ul li img {
        flex-shrink: 0;
        max-height: 22px;
        width: auto;
        margin-right: 0 !important;
        max-width: 26px;
    }

    /* Slider copy: centered in hero; title + subtitle stacked line by line */
    .home-hero-layout .hero-slider-1.style-5 .slider-content.home-hero-slider-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 auto;
        max-width: min(96%, 820px);
        width: 100%;
        padding: 12px clamp(12px, 2.5vw, 24px);
        box-sizing: border-box;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .home-hero-layout .hero-slider-1.style-5 .home-hero-slider-content .display-2 {
        font-size: clamp(24px, 2.9vw, 42px) !important;
        line-height: 1.28 !important;
        margin-bottom: 0 !important;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .home-hero-layout .hero-slider-1.style-5 .home-hero-slider-content .display-2 * {
        line-height: inherit;
    }

    .home-hero-layout .hero-slider-1.style-5 .home-hero-slider-content .home-hero-slider-sub {
        font-size: clamp(14px, 1.5vw, 20px) !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
    }

    /* Right column: slightly smaller heading on first promo card */
    .home-hero-layout .home-hero-banner-slot:first-child .banner-img.style-4 .banner-text h4 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 991.98px) {
    .home-hero-layout .home-hero-banners {
        display: flex;
        flex-direction: column;
        gap: var(--home-hero-gap);
        margin-top: 8px;
    }

    .home-hero-layout .home-hero-banner-slot .banner-img img {
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: cover;
    }

    .home-hero-layout .hero-slider-1.style-5 .single-hero-slider {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 260px;
    }

    .home-hero-layout .hero-slider-1 .slick-slide > div {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .home-hero-layout .hero-slider-1.style-5 .slider-content.home-hero-slider-content {
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px;
        max-width: 98%;
        width: 100%;
    }

    .home-hero-layout .home-hero-banner-slot:first-child .banner-img.style-4 .banner-text h4 {
        font-size: 20px !important;
    }
}

/* -------------------------------------------------------------------------
   Product cards (site-wide): equal height in grids, even gaps — title | price | actions
   ------------------------------------------------------------------------- */
.row.product-grid-4,
.row.product-grid,
.our_collections .row.product-grid-4 {
    align-items: stretch;
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 1.5rem;
}

.row.product-grid-4 > [class*="col"],
.row.product-grid > [class*="col"],
.our_collections .row.product-grid-4 > [class*="col"] {
    display: flex;
}

.row.product-grid-4 > [class*="col"] > .product-cart-wrap,
.row.product-grid > [class*="col"] > .product-cart-wrap,
.our_collections .row.product-grid-4 > [class*="col"] > .product-cart-wrap {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

.product-cart-wrap {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.product-cart-wrap .product-img-action-wrap {
    flex: 0 0 auto;
}

/* Wishlist + compare on image hover: one row, theme-sized buttons (fixes hot deal / missing action-btn) */
.product-cart-wrap .product-img-action-wrap .product-action-1 {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}

.product-cart-wrap .product-img-action-wrap .product-action-1 > a.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.product-cart-wrap .product-content-wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.product-cart-wrap .product-content-wrap h2,
.product-cart-wrap .product-content-wrap h2.mt-2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex: 0 0 auto;
    min-height: 0;
    line-height: 1.35em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-cart-wrap .product-content-wrap h2 a {
    display: block;
}

.product-cart-wrap .product-content-wrap .product-price {
    padding-top: 0 !important;
}

.product-cart-wrap .product-content-wrap > .product-card-bottom {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex: 0 0 auto;
}

/* Grids only (Our Collections, shop): trim padding under buttons; pin action row to card bottom */
.row.product-grid-4 .product-cart-wrap .product-content-wrap,
.row.product-grid .product-cart-wrap .product-content-wrap,
.our_collections .product-cart-wrap .product-content-wrap {
    padding-bottom: 10px !important;
}

.row.product-grid-4 .product-cart-wrap .product-content-wrap > .product-card-bottom:last-child,
.row.product-grid .product-cart-wrap .product-content-wrap > .product-card-bottom:last-child,
.our_collections .product-cart-wrap .product-content-wrap > .product-card-bottom:last-child {
    margin-top: auto !important;
}

.row.product-grid-4 .product-cart-wrap.mb-30,
.row.product-grid .product-cart-wrap.mb-30,
.our_collections .product-cart-wrap.mb-30 {
    margin-bottom: 0 !important;
}

/* Featured / related carousels: equal slide height + clear gap between every card */
.carausel-4-columns-cover .carausel-4-columns {
    margin-left: -14px !important;
    margin-right: -14px !important;
}

.carausel-4-columns-cover .carausel-4-columns .slick-track {
    display: flex !important;
    align-items: stretch;
}

.carausel-4-columns-cover .carausel-4-columns .slick-slide {
    float: none !important;
    height: auto !important;
    display: flex !important;
    align-items: stretch;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.carausel-4-columns-cover .carausel-4-columns .slick-slide > * {
    flex: 1 1 auto;
    display: flex !important;
    width: 100%;
    min-width: 0;
}

.carausel-4-columns-cover .carausel-4-columns .product-cart-wrap {
    margin-left: 14px !important;
    margin-right: 14px !important;
    flex: 1 1 auto;
    min-height: 100%;
    height: 100%;
}

/* -------------------------------------------------------------------------
   Mobile drawer: language switcher below nav (not in top header bar)
   ------------------------------------------------------------------------- */
.mobile-header-wrapper-inner .language-switcher-sidebar {
    position: relative;
    padding: 13px 0;
    border-bottom: 1px solid #ececec;
}

.mobile-header-wrapper-inner .language-switcher-sidebar__toggle {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    color: #253d4e;
    text-decoration: none;
    box-sizing: border-box;
}

.mobile-header-wrapper-inner .language-switcher-sidebar__icon {
    flex-shrink: 0;
}

.mobile-header-wrapper-inner .language-switcher-sidebar__label {
    flex-shrink: 0;
    color: #7e7e7e;
    font-weight: 600;
}

.mobile-header-wrapper-inner .language-switcher-sidebar__current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: #253d4e;
}

.mobile-header-wrapper-inner .language-switcher-sidebar__caret {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 14px;
    color: #253d4e;
}

.mobile-header-wrapper-inner .language-switcher-sidebar .language-switcher-dropdown--sidebar {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
    top: calc(100% + 8px);
    padding: 10px 8px !important;
}

.mobile-header-wrapper-inner .language-switcher-sidebar:hover .language-switcher-dropdown--sidebar,
.mobile-header-wrapper-inner .language-switcher-sidebar:focus-within .language-switcher-dropdown--sidebar {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 8px);
}

/* Footer mid: four Bootstrap columns — theme’s margin-right on link widgets breaks the grid */
footer.main .footer-mid .footer-mid-columns .footer-link-widget:not(:last-child) {
    margin-right: 0 !important;
}

/* -------------------------------------------------------------------------
   Mobile footer: tighter vertical rhythm + SSLCommerz strip (scroll, not squashed)
   ------------------------------------------------------------------------- */
@media only screen and (max-width: 991.98px) {
    footer.main .footer-mid > .container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    footer.main .footer-mid .widget-title {
        margin: 8px 0 10px 0 !important;
    }

    footer.main .footer-link-widget .footer-list,
    footer.main ul.footer-list {
        margin-bottom: 10px !important;
    }

    footer.main .widget-about {
        margin-bottom: 14px !important;
    }

    footer.main .footer-mid .logo.mb-30 {
        margin-bottom: 14px !important;
    }

    footer.main .container .row.align-items-center > .col-12.mb-30 {
        margin-bottom: 8px !important;
    }

    footer.main .footer-bottom {
        padding-top: 8px;
        margin-top: 0;
    }

    footer.main .container .row.align-items-center p.font-sm {
        margin-bottom: 0 !important;
        padding-top: 4px;
        line-height: 1.45;
    }

    footer.main {
        padding-bottom: var(--mobile-footer-clearance);
    }

    /* Wide SSL banner: fixed height + horizontal swipe, room above bottom nav */
    .footer-sslcommerz-strip {
        margin: 0;
        background: #f6fbf8;
        border-top: 1px solid #bce3c9;
    }

    .footer-sslcommerz-strip .footer-sslcommerz-link.sslcommerz_footer_padding {
        display: block;
        margin: 0;
        padding: 10px 12px var(--mobile-footer-clearance);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        text-align: center;
        line-height: 0;
    }

    .footer-sslcommerz-strip .footer-sslcommerz-link img {
        width: auto !important;
        height: 42px !important;
        max-height: 48px !important;
        max-width: none !important;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
    }
}

@media only screen and (min-width: 992px) {
    .footer-sslcommerz-strip .footer-sslcommerz-link.sslcommerz_footer_padding {
        display: block;
        padding: 12px 0 16px;
        text-align: center;
        background: #fff;
        border-top: 1px solid #ececec;
    }

    .footer-sslcommerz-strip .footer-sslcommerz-link img {
        width: auto !important;
        max-width: min(100%, 1100px) !important;
        height: auto !important;
        max-height: 64px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
}

/* Product elevateZoom: main.css sets .zoomContainer { display: none } under max-width: 1400px,
   which hides the magnifier on most desktop widths at 100% zoom (browser zoom-out widens the
   viewport in CSS px so it appeared to “work”). Re-show only the plugin’s body-appended container. */
@media only screen and (min-width: 769px) and (max-width: 1400px) {
    body > .zoomContainer {
        display: block !important;
    }
}

/* Toastr: top-right, clear fixed header, match brand */
#toast-container.toast-top-right {
    top: 72px;
    right: 16px;
    z-index: 999999;
}

#toast-container > div {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 1;
}

#toast-container > .toast-success {
    background-image: none !important;
    background-color: #3bb77e;
}

#toast-container > .toast-error {
    background-image: none !important;
    background-color: #d9534f;
}

#toast-container > .toast-warning {
    background-image: none !important;
    background-color: #f0ad4e;
}

#toast-container > .toast-info {
    background-image: none !important;
    background-color: #5bc0de;
}

/* Home "Our collections" → shop link (was .btn + transparent bg = white text on white) */
a.home-our-collection-see-more {
    display: inline-block;
    padding: 10px 8px;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

a.home-our-collection-see-more:hover,
a.home-our-collection-see-more:focus {
    color: #29a56c !important;
    text-decoration: underline;
}
