/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.zalo2 {
    position: fixed;
    right: 20px;
    bottom: 150px;
    z-index: 99999999;
}

#fab-scroll-top {
    top: -65px;
}

.bd_1 {
    border: 1px solid #c0c0c0;
    border-radius: 10px;
    font-size: 17.6px;
}

.bd_1 a {
    padding: 0 10px;
    align-items: center;
}

.woocommerce-customer-details {
    display: none !important;
}

.bd_1 a:hover {
    background: #ededed;
}

.bd_1 .ux-menu-link:first-child a:hover {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.bd_1 .ux-menu-link:last-child a:hover {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.block-promotion {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.heading-promo {
    background: #d32f2f;
    color: #fff;
    font-weight: 700;
    padding: 10px 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #c62828
}

.heading-promo::before {
    content: "🎁";
    margin-right: 8px;
    font-size: 18px
}

.promo-content {
    padding: 5px 11px;
    font-size: 15px;
    line-height: 1.4;
    color: #333
}

.promo-content b,
.promo-content strong {
    color: #d32f2f
}

#product-sidebar {
    padding-left: 20px;
    padding-right: 20px;
}


.block-policy {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.heading-policy {
    background: #000;
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333
}

.heading-policy::before {
    content: "✔️";
    margin-right: 8px;
    font-size: 16px
}

.policy-content {
    padding: 10px 16px
}

.policy-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 5px 25px
}

.policy-item .icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
    flex-shrink: 0
}

.policy-item .icon img {
    width: 100%;
    height: auto
}

.policy-item .info {
    font-size: 14px;
    color: #333;
    line-height: 1.1
}

.policy-item .info strong {
    display: block;
    font-weight: 700;
    margin-bottom: 3px
}

.product_sale_bg_white .product-small {
    background: white;
    border-radius: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.8), inset 0 0 10px rgba(255, 204, 0, 0.5);
    height: 395px;
}

.product_sale_bg_white .product-small .box-text {
    border-bottom: unset;
    padding: 10px;

}

.product_sale_bg_white .woocommerce-Price-amount.amount {
    color: #6E1315;
}


.product-small .box-text {
    border-bottom: unset !important;
}

.product_sale_bg_white .product-small .add-to-cart-button a {
    right: 10px;
    bottom: 15px;
}

.product-small.box:hover:after {
    content: unset !important;
}


.nav-dropdown-full li a {
    font-size: 15px !important;
    line-height: 1.6;
    text-align: left;

}

.nav-dropdown>li.image-column,
.nav-dropdown>li.nav-dropdown-col {
    width: 248px !important;
    min-width: 248px !important;
}

.nav .nav-dropdown {
    border: 1px solid #CDCDCD !important;
}

.nav-dropdown-bold .nav-column li>a:hover,
.nav-dropdown-bold.dark .nav-column li>a:hover,
.nav-dropdown.nav-dropdown-bold.dark>li>a:hover,
.nav-dropdown.nav-dropdown-bold>li>a:hover {
    background-color: #443f65;
}
li.current-dropdown>.nav-dropdown-full, li.has-dropdown:hover>.nav-dropdown-full{
	max-width: 994px !important;
}

.menu-item-1146 {
    border: unset !important;
}

.menu-item-1759{
	 border: unset !important;
}

#popup_template .popup-item a {
    display: flex;
    gap: 10px;
}

#salertWrapper .popup-item {
    padding-right: 0 !important;
}

.bold_n {
    color: #5100c0;
    font-weight: bold;
}

.widget-upsell {
    display: none !important;
}

/* ===== Box nổi bật cho mô tả ngắn ===== */
/* ===== UPGRADE: box mô tả ngắn nổi bật hơn ===== */
.product-short-description {
    position: relative;
    background: linear-gradient(180deg, #fff7e6 0%, #ffffff 100%);
    border: 2px solid rgba(255, 170, 64, .55);
    border-radius: 18px;
    padding: 22px 18px 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .10);
    margin: 16px 0 22px;
    font-size: 16px;
    line-height: 1.65;
    overflow: hidden;
}

/* viền sáng kiểu "glow" */
.product-short-description::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, rgba(255, 165, 0, .35), rgba(59, 130, 246, .25), rgba(255, 165, 0, .35));
    filter: blur(14px);
    opacity: .65;
    z-index: 0;
}

/* header mini */
.product-short-description::after {
    content: "⚡ Cam kết & Hỗ trợ nhanh";
    position: absolute;
    top: 10px;
    left: 12px;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .3px;
    color: #7c2d12;
    background: #fff;
    border: 1px solid rgba(255, 170, 64, .6);
    padding: 6px 10px;
    border-radius: 999px;
    z-index: 1;
}

/* nội dung nằm trên lớp glow */
.product-short-description * {
    position: relative;
    z-index: 1;
}

/* bỏ background inline trắng từ editor */
.product-short-description span {
    background: transparent !important;
}

/* xuống dòng có khoảng thở hơn */
.product-short-description br {
    display: block;
    margin: 10px 0;
    content: "";
}

/* ===== làm dòng checklist trông "đã mắt" hơn ===== */
.product-short-description p {
    margin: 0;
}

.product-short-description p {
    padding-top: 26px;
    /* chừa chỗ cho header mini */
}

.product-short-description strong {
    color: #b91c1c;
    font-weight: 900;
}

/* ===== CTA “TẠI ĐÂY” nổi hơn + hiệu ứng nhẹ ===== */
.product-short-description a {
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .35);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.product-short-description a strong {
    color: #fff;
}

.product-short-description a::after {
    content: "→";
    font-weight: 900;
}

.product-short-description a:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 18px 34px rgba(37, 99, 235, .45);
}

/* nhấp nháy nhẹ thu hút (không quá lố) */
/* @keyframes spkPulse {
  0% { box-shadow:0 14px 28px rgba(37,99,235,.30); }
  50%{ box-shadow:0 18px 36px rgba(37,99,235,.48); }
  100%{ box-shadow:0 14px 28px rgba(37,99,235,.30); }
} */
@keyframes btnScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.product-short-description a {
    animation: btnScale 1.8s ease-in-out infinite;
    transform-origin: center;
}

/* ===== Badge cho thời gian: bạn chỉ cần bọc "1-3 giờ" bằng span.time-badge ===== */
.product-short-description .time-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fee2e2;
    border: 1px solid rgba(220, 38, 38, .25);
    color: #b91c1c;
    font-weight: 900;
    margin: 0 6px 0 2px;
}



.spk-wrap {
    display: flex;
    gap: 5px;
    align-items: center;
}

.h2_sp {
    font-size: 25px;
}

.aa_1 .col-inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.spk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*fff7d6*/
    background: #000000;
    border: 1px solid #f2e2a8;
    padding: 12px 16px;
    border-radius: 12px;
}

.spk-title {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
    font-size: 15px;
    color: #ffffff;
}

.spk-viewall {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease-in-out;
}

.spk-viewall:hover {
    text-decoration: underline;
    color: #ffc154;
}

.spk-title img {
    width: 20px;
}

.spk-thumb {
    width: 30%;
}

.spk-info {
    width: 70%;
}

.spk-widget {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 12px;
    margin-top: 10px;
}

.spk-footer {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.spk-buy {
    font-size: 12px;
    background: black;
    border-radius: 4px;
    color: white;
    margin: 0;
}

.spk-variant {
    color: #939393;
    font-size: 10px;
}

.col_l {
    display: flex;
    flex-direction: column;
}

.spk-buy button:disabled {
    background: #ddd;
}

.spk-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spk-card {
    display: flex;
    gap: 10px;
    align-items: center;
}



.equalize-box .col .col-inner {
    box-shadow: 2px 4px 8px 0px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    background: white;
}

.post-item .col-inner {
    box-shadow: 2px 4px 8px 0px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    background: white;
}

.menu-item-has-children.nav-dropdown-col>a {
    position: relative;
}

.menu-item-has-children.nav-dropdown-col>a::before {
    content: "";
    position: absolute;
    left: 21px;
    right: 148px;
    bottom: 5px;
    height: 1px;
    background: #651fff;
}

@media (max-width: 1366px) {

    .product_sale_bg_white .product-small {
        height: 356px;
    }
}

/* Mobile chỉnh lại cho gọn */
@media (max-width: 849px) {
    .cart-item {
        display: none;
    }

    .product-short-description {
        padding: 22px 14px 14px;
    }

    .product-short-description::after {
        font-size: 12px;
    }

    .product-short-description a {
        margin-top: 8px;
        margin-left: 0;
    }

    .product_sale_bg_white .product-small {
        height: 330px;
    }

    .product_sale_bg_white .product-small .add-to-cart-button a {
        right: -4px;
        bottom: 10px;
    }

}

@media (max-width: 768px) {

    .next-prev-thumbs li.has-dropdown:hover>.nav-dropdown,
    .no-js li.has-dropdown:hover>.nav-dropdown,
    li.current-dropdown>.nav-dropdown {
        left: -230px;
    }

    .product_sale_bg_white .product-small {
        height: 300px;
    }
}