body {
    font-family: "Quicksand", sans-serif;
}

.header-style-1 .search-style-2 form input {
    max-width: inherit;
    padding-left: 20px;
    margin-left: 0;
}

.ui-menu .ui-menu-item {
    padding: 10px 5px;
    font-size: 0.838rem;
    font-family: inherit;
}

.ui-menu .ui-menu-item:hover {
    background: #e3e3e3;
}

.ui-menu .ui-menu-item:hover a {
    color: #333;
}

.ui-menu .ui-menu-item>a.ui-state-active {
    border: none;
    background: none;
}

a.hotline {
    margin-right: 30px;
    padding-right: 30px;
    padding-left: 20px;
    border-right: 1px solid #e5e5e5;
}

.product-cart-wrap .product-content-wrap h2 {
    min-height: 38px;
}

h1.title-detail {
    font-size: 28px;
}

.detail-info .product-price .current-price {
    font-size: 38px;
}

.detail-info .product-price .save-price {
    margin-bottom: 2px;
}

.detail-info .product-price .old-price {
    font-size: 21px;
}

.cart-dropdown-wrap ul li {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

.cart-dropdown-wrap ul li .shopping-cart-title {
    flex-direction: column;
    display: flex;
    flex: 1;
}

.cart-dropdown-wrap ul li .shopping-cart-title h4 {
    font-size: 14px;
    line-height: 1.3;
}

.cart-dropdown-wrap ul li .shopping-cart-img {
    flex: 0 0 66px;
    flex-direction: column;
    display: flex;
}

.ui-widget.ui-widget-content {
    border: 1px solid #BCE3C9;
}

a.ui-menu-item-wrapper {
    display: flex;
}

li.ui-menu-item {
    border-bottom: 1px solid #efefef;
}

a.ui-menu-item-wrapper img {
    margin-right: 6px;
}

th.product {
    padding-left: 15px !important;
}

td.product-picture {
    padding-left: 15px !important;
}

.shopping-summery table tbody tr img {
    border-radius: 6px;
}

td.price h4 {
    font-size: 16px;
}

div.cart-action button {
    font-size: 14px;
    padding: 12px 30px;

}

.apply-discount-coupon-code-button {
    font-size: 14px !important;
    min-width: 160px;
    padding: 0 30px !important;
}

.remove-discount-button {
    background: transparent;
    color: #333 !important;
    padding: 0px 10px !important;
    font-size: 12px !important;
    margin-left: 10px;
}

label.error,
span.field-validation-error {
    color: #ef0e5b;
    font-size: 14px;
    font-weight: 500;
}

#checkoutAddress input {
    height: 38px;
    font-size: 14px;
    padding: 22px 15px;
}

.shop-product-fillter-header {
    padding: 30px;
    border: 1px solid #ececec;
    border-radius: 15px;
    -webkit-box-shadow: 5px 5px 15px rgb(0 0 0 / 5%);
    box-shadow: 5px 5px 15px rgb(0 0 0 / 5%);
}

.account .title {
    font-size: 16px;
}

.account .form-group input {
    padding: 10px 15px;
    height: auto;
}

.orderhistory .card {
    border: 1px solid #ececec;
}

.orderhistory .card .infoField {
    line-height: 25px;
}

.message-error {
    color: #ef0e5b;
    margin-bottom: 20px;
}

.message-error ul li {
    font-weight: 500;
}

.frmRegister .form-control {
    height: 38px;
    font-size: 14px;
    padding: 22px 15px;
}

.call-for-price {
    font-size: 1rem;
    background: transparent;
    color: #3BB77E;
    border: 2px solid #3BB77E;
}

.btn-check:active+.btn-primary,
.btn-check:checked+.btn-primary,
.btn-primary.active,
.btn-primary:active,
.show>.btn-primary.dropdown-toggle,
.btn-primary:hover {
    background-color: #3BB77E;
    border-color: #3BB77E;
}

p {
    font-size: .93rem;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 5px;
    color: #323232;
}

#productDescription ul {
    list-style: inside;
}

#productDescription ul {
    list-style: none;
    padding: 0;
}

#productDescription ul li {
    padding-left: 1.3em;
    font-size: 0.95rem;
    color: #323232;
    font-weight: 500;
}

#productDescription ul li:before {
    content: "\f058";
    font-family: 'Font Awesome 6 Free';
    display: inline-block;
    margin-left: -1.3em;
    width: 1.5em;
    color: #3BB77E;
    font-size: 0.95rem;
}

#productDescription ul li p {
    display: inline;
}

#productDescription ol {
    list-style: auto;
    padding: 3px 15px;
    font-size: 1rem;
    line-height: 1.8rem;
    font-weight: 600;
}

#productDescription {
    color: #323232;
    font-weight: 500;
}

#productDescription h2 {
    font-size: 20px;
}

.short-desc {
    color: #575757;
    font-weight: 500;
    font-size: .96rem;
}

.product-cart-wrap .product-content-wrap {
    padding: 0 20px 10px 20px;
}

.product-cart-wrap .product-content-wrap h2 {
    min-height: 60px;
}

.product-cart-wrap .product-img-action-wrap {
    padding: 0;
}

/* Sticky header cart icon & hotline - hidden by default, shown when scrolled */
.sticky-cart.header-action-right {
    display: none !important;
}

/* Force-hide hotline on mobile (Bootstrap d-none d-lg-flex unreliable) */

.sticky-bar.stick .hotline {
    display: flex !important;
}


@media (max-width: 991px) {
    .header-middle .hotline {
        display: none !important;
    }

    .sticky-bar.stick .hotline {
        display: none !important;
    }

    /* Mobile header: hamburger(left) - logo(center) - cart(right) */
    .header-wrap {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-hamburger {
        order: 1;
        flex-shrink: 0;
    }

    .logo.d-block.d-lg-none {
        order: 2;
        flex: 1;
        text-align: center;
    }

    .mobile-cart {
        order: 3;
        flex-shrink: 0;
        display: block !important;
    }

    .mobile-cart .cart-dropdown-wrap {
        display: none !important;
    }

    /* Hide sticky-cart on mobile (use mobile-cart instead) */
    .sticky-cart.header-action-right {
        display: none !important;
    }

    /* Product detail thumbnail fix - prevent stretching */
    .product-image-slider .slick-slide img,
    .slider-nav-thumbnails .slick-slide img,
    .product-detail-slider img {
        object-fit: contain !important;
        width: 100%;
        height: auto;
    }

    .slider-nav-thumbnails .slick-slide img {
        height: 80px;
        object-fit: contain !important;
    }

    /* Fix thumbnail border distortion */
    .slider-nav-thumbnails .slick-slide {
        border-radius: 5px !important;
        overflow: hidden;
    }

    .slider-nav-thumbnails .slick-slide.slick-current {
        border-radius: 5px !important;
    }
}



@media (min-width: 992px) {
    .sticky-bar.stick .sticky-cart.header-action-right {
        display: flex !important;
        align-items: center;
        margin-left: 15px;
    }
}

.sticky-cart .header-action-2 {
    display: flex;
    align-items: center;
}

.sticky-cart .header-action-icon-2>a {
    color: #253D4E;
}

.sticky-cart .header-action-icon-2>a span.pro-count {
    background-color: #3BB77E;
}

/* ===== Mobile Bottom Sheet Notification ===== */
.swal-bottom-sheet {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 24px 20px 32px !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
}

/* Ensure SweetAlert overlay is above Zalo/phone floating buttons (iframe) */
.swal2-container {
    z-index: 2147483647 !important;
}

.swal-bottom-sheet .swal2-html-container {
    margin: 0 0 20px !important;
    padding: 0 !important;
    overflow: visible !important;
}

.swal-bottom-sheet .swal2-title {
    font-size: 16px !important;
    padding: 0 0 12px !important;
}

.swal-bottom-sheet .swal2-close {
    position: absolute !important;
    top: -18px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    color: #666 !important;
    font-size: 22px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    line-height: 1;
}

/* Cart notification content */
.cart-notify-content {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.cart-notify-icon {
    flex-shrink: 0;
}

.cart-notify-msg {
    font-size: 15px;
    color: #333;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Bottom sheet buttons */
.swal-actions-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap;
}

.swal-btn-order {
    flex: 1;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 12px !important;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
}

.swal-btn-continue {
    flex: 1;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 12px !important;
    height: 48px;
    background-color: #fff !important;
    color: #3BB77E !important;
    border: 2px solid #3BB77E !important;
    white-space: nowrap;
    min-width: 0;
}

.swal-btn-continue:hover {
    background-color: #f0faf4 !important;
}

/* Slide up animation */
@keyframes swalSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes swalSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.swal-slide-up {
    animation: swalSlideUp 0.3s ease-out !important;
}

.swal-slide-down {
    animation: swalSlideDown 0.25s ease-in !important;
}