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

/*************** ADD CUSTOM CSS HERE.   ***************/
input#woocommerce-product-search-field-0 {
    border-radius: 5px;
    height: 47px;
    background: #fff;
    border: 1px solid #ce3f39;
}

.title-khuyenmai p {
    font-weight: 700;
    color: #fff;
    font-size: 30px;
    line-height: 45px;
    margin-bottom: 25px;
    margin-top: 15px;
}span.amount {
    white-space: nowrap;
    color: #b30001 !important;
}
.product-small .product-small.box {
    background: #fff;
    border-radius: 13px;
}
.product-small.box .box-image{
    overflow: hidden;
}
.product-small.box .box-image img {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    border-radius: 12px 12px 0;
    padding: 0 0 10px 0;
    height: 100%;
    object-fit: contain;
}
.box-text.box-text-products {
    padding: 0 10px 10px 10px;
}
.product-small.box:hover {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.534);
}.product-small.box {
    box-shadow: 0 0 4px rgba(0,0,0,0.12);
}
p.name.product-title.woocommerce-loop-product__title {
    line-height: 27px;
    margin-bottom: 7px;
}
.wrap-combo {
    border-radius: 20px;
    background: #ab362a;
    padding-bottom: 0;
}
a.button.white.lowercase {
    color: #000 !important;
    padding: 3px 35px;
}
.section-title-normal {
    border-bottom: 2px solid #555;
}
.section-title-normal span {
    border-bottom: 2px solid #c6453a;
    margin-bottom: -2px;
    margin-right: 15px;
    padding-bottom: 7.5px;
}
.section-title a {
    font-weight: normal;
}
.post-home .box-blog-post {
    background: #fff;
    border-radius: 15px;
    padding: 10px;
}
.post-home .box-blog-post img {
    border-radius: 10px;
}
a.ux-menu-link__link.flex {
    padding-top: 2px;
    margin-bottom: 0px;
}
.product-small.box .box-image a {
    width: 100%;
    height: 250px;
}
.page-title-inner.flex-row.medium-flex-wrap.container {
    padding-top: 0;
}
.category-page-row {
    padding-top: 0;
}
.no-bottom {
    padding-bottom: 0;
    padding-top: 10px;
}
.row-top-tren {
    background: #fff;
    padding: 15px 15px 0 10px;
    border-radius: 15px;
}
.col-camket .col-inner {
    box-shadow: 0 0 5px #ccc;
    padding: 15px;
    margin-top: 10px;
    border-radius: 10px;
}
.col-inner .icon-box {
    padding: 7px 0;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}
.add-to-cart-container.form-minimal.is-normal button {
    font-weight: normal;
    font-size: 14px;
    border-radius: 10px;
}
.product-short-description {
        font-size: 14px;
    line-height: 25px;
    margin: 6px 0;
    display: inline-block;
}
.product-short-description p {
    margin-bottom: 6px;
}
.contact-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.btn-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 15px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;

    transition: all 0.25s ease;
}

.icon svg {
    display: block;
}

/* Zalo */
.btn-contact.zalo {
    background: linear-gradient(135deg, #0084ff, #00c6ff);
}
.btn-contact.zalo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,132,255,0.4);
}

/* Hotline */
.btn-contact.hotline {
    background: linear-gradient(135deg, #ff4d4d, #ff9900);
}
.btn-contact.hotline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255,77,77,0.4);
}
/* Quantity box */
.quantity input {
    border-radius: 10px !important;
}

/* Nút - + */
.quantity .plus,
.quantity .minus {
    border-radius: 10px !important;
}

/* Add to cart */
.single_add_to_cart_button {
    border-radius: 10px !important;
}

/* Buy now (nút mua ngay custom của Flatsome hoặc plugin) */
button.buy_now,
.button.buy_now,
#buy_now_button {
    border-radius: 10px !important;
}
p.price.product-page-price {
    margin-bottom: 15px;
    margin-top: 10px;
}
button.ux-buy-now-button.button.primary.ml-half {
    width: 37%;
}
.blog-featured-title+#main .post-sidebar {
    padding-top: 0;
    padding: 0;
}
.post-sidebar aside {
    background: #fff;
    padding: 15px;
}
.post-sidebar aside a {
    font-size: 14px;
}
span.post_comments.op-8.block.is-xsmall {
    display: none;
}
.post-sidebar aside span.widget-title {
    color: #A40000;
    text-transform: uppercase;
}
div#customer_details, .checkout-sidebar.sm-touch-scroll, form.woocommerce-cart-form, .cart-sidebar.col-inner {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
}
.woocommerce-checkout .col-inner.has-border {
    border-left: 0;
    padding: 0px 21px 0 8px;
}
.woocommerce-checkout .col-inner.has-border {
    border: 0;
    padding: 0;
}
.woocommerce-billing-fields {
    border-top: 0;
    padding-top: 0;
}
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
    box-shadow: none;
    border-radius: 6px;
}
form.checkout h3 {
    font-size: 1.1em;
    font-weight: bolder;
    overflow: hidden;
    padding-top: 5px;
    text-transform: uppercase;
    border-bottom: 2px solid #92211e;
    margin-bottom: 30px;
}
.wrap-hl span {
    display: block;
    font-weight: 800;
    font-size: 16px;
}
.wrap-hl a.hotline {
    display: inline-block;
    background-image: url(img/phone.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 2px;
    padding: 0 0 0 55px;
}
.home-dmsp h5.uppercase.header-title {
    color: #A50318;
    background: #fff;
    border-radius: 10px;
    padding: 12px 0;
    text-shadow: 0 0 BLACK;
}
.post-sidebar.large-3.col {
    padding-left: 0;
}
p.name.product-title.woocommerce-loop-product__title a {
    color: #111;
    line-height: 23px;
    font-size: 16px;
    word-wrap: break-word;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 16px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.product-small.box .box-image a {
    width: 100%;
    height: 180px;
}
button.ux-buy-now-button.button.primary.ml-half {
    width: 100%;
    padding: 8px 0;
}
.row.category-page-row {
    margin-top: -29px;
}
}

/* container */
.term-description {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* fade mượt hơn (không bị gắt) */
.term-description.collapsed::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, #fff 100%);
    pointer-events: none;
    z-index: 1;
}

/* nút overlay chuẩn đẹp */
.toggle-term-desc {
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid #A50318;
    color: #A50318;
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.25s ease;
}

/* hover feel */
.toggle-term-desc:hover {
    background: #111;
    border: 1px solid #111;
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
}

/* khi mở */
.term-description.expanded .toggle-term-desc {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 12px;
    background: #f5f5f5;
    backdrop-filter: none;
}
.toggle-term-desc span {
    display: inline-block;
    transition: transform 0.3s;
}

.term-description.expanded .toggle-term-desc span {
    transform: rotate(180deg);
}

.tax-product_cat .term-description :is(h1, h2, h3, h4, h5, h6) {
    color: #A50318;
}
.term-description ul {
    padding-left: 30px;
}