/* =========================================================
   THANH 4 GIÁ TRỊ NGAY DƯỚI BANNER
========================================================= */

.msk-home-values {
    position: relative;
    z-index: 5;
    margin: 0 !important;
    padding: 58px 0 70px !important;
    overflow: visible !important;
    background: #fbf6ed !important;
}

/* Khung chứa 4 giá trị */
.msk-home-values .msk-home-values-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
    min-height: 160px;
    margin: 0 auto !important;
    padding: 27px 20px !important;
    overflow: hidden;
    border: 1px solid rgba(170, 120, 37, 0.22);
    border-radius: 22px;
    background: rgba(255, 251, 244, 0.98);
    box-shadow: 0 18px 45px rgba(75, 53, 28, 0.12);
}

/* Mỗi cột */
.msk-home-values .msk-home-values-row > .col {
    position: relative;
    display: flex !important;
    align-items: center;
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    margin: 0 !important;
    padding: 0 25px !important;
}

/* Đường phân cách */
.msk-home-values .msk-home-values-row > .col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    bottom: 10px;
    width: 1px;
    background: rgba(153, 119, 67, 0.2);
}

/* Col inner */
.msk-home-values .col-inner {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Icon Box */
.msk-home-values .icon-box {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    margin: 0 !important;
}

/* Khung icon */
.msk-home-values .icon-box-img {
    flex: 0 0 62px !important;
    width: 62px !important;
    max-width: 62px !important;
    margin: 0 17px 0 0 !important;
}

.msk-home-values .icon-box-img .icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 !important;
    padding: 14px;
    border: 1px solid rgba(170, 120, 37, 0.32);
    border-radius: 50%;
    color: #a97825;
    background: #fff9ef;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Ảnh icon */
.msk-home-values .icon-box-img img {
    display: block;
    width: 31px !important;
    height: 31px !important;
    object-fit: contain;
}

/* Trường hợp sử dụng icon font hoặc SVG */
.msk-home-values .icon-box-img svg,
.msk-home-values .icon-box-img i {
    display: block;
    width: 31px;
    height: 31px;
    color: #a97825;
    fill: none;
    stroke: currentColor;
}

/* Nội dung */
.msk-home-values .icon-box-text {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 !important;
}

.msk-home-values .icon-box-text h3,
.msk-home-values .icon-box-text h4,
.msk-home-values .icon-box-text .icon-box-title {
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #3f3328 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
}

.msk-home-values .icon-box-text p {
    margin: 0 !important;
    padding: 0 !important;
    color: #74695e !important;
    font-size: 13.5px !important;
    font-weight: 400;
    line-height: 1.55 !important;
}

/* Hiệu ứng hover */
.msk-home-values .icon-box:hover .icon-inner {
    color: #ffffff;
    border-color: #c49337;
    background: #c49337;
    box-shadow: 0 10px 23px rgba(170, 120, 37, 0.25);
    transform: translateY(-4px);
}

.msk-home-values .icon-box:hover .icon-inner svg,
.msk-home-values .icon-box:hover .icon-inner i {
    color: #ffffff;
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 550px) and (max-width: 1024px) {
    .msk-home-values {
        padding: 45px 0 58px !important;
    }

    .msk-home-values .msk-home-values-row {
        flex-wrap: wrap !important;
        width: calc(100% - 34px) !important;
        padding: 20px !important;
    }

    .msk-home-values .msk-home-values-row > .col {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        min-height: 135px;
        padding: 22px !important;
    }

    .msk-home-values .msk-home-values-row > .col:nth-child(2)::after {
        display: none;
    }

    .msk-home-values .msk-home-values-row > .col:nth-child(1),
    .msk-home-values .msk-home-values-row > .col:nth-child(2) {
        border-bottom: 1px solid rgba(153, 119, 67, 0.2);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 549px) {
    .msk-home-values {
        padding: 30px 0 45px !important;
    }

    .msk-home-values .msk-home-values-row {
        display: block !important;
        width: calc(100% - 26px) !important;
        padding: 8px 18px !important;
        border-radius: 18px;
    }

    .msk-home-values .msk-home-values-row > .col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto;
        padding: 21px 0 !important;
        border-bottom: 1px solid rgba(153, 119, 67, 0.18);
    }

    .msk-home-values .msk-home-values-row > .col:last-child {
        border-bottom: 0;
    }

    .msk-home-values .msk-home-values-row > .col::after {
        display: none !important;
    }

    .msk-home-values .icon-box-img {
        flex-basis: 56px !important;
        width: 56px !important;
        max-width: 56px !important;
        margin-right: 15px !important;
    }

    .msk-home-values .icon-box-img .icon-inner {
        width: 56px;
        height: 56px;
        padding: 13px;
    }

    .msk-home-values .icon-box-img img,
    .msk-home-values .icon-box-img svg {
        width: 28px !important;
        height: 28px !important;
    }

    .msk-home-values .icon-box-text h3,
    .msk-home-values .icon-box-text h4,
    .msk-home-values .icon-box-text .icon-box-title {
        margin-bottom: 5px !important;
        font-size: 15.5px !important;
    }

    .msk-home-values .icon-box-text p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
}

/* Giữ nguyên khung tròn 62px */
.msk-home-values .icon-box-img {
    flex: 0 0 62px !important;
    width: 62px !important;
    max-width: 62px !important;
    margin: 0 17px 0 0 !important;
}

.msk-home-values .icon-box-img .icon-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 62px !important;
    height: 62px !important;
    margin: 0 !important;
    padding: 3px !important;
    overflow: hidden !important;
    border: 1px solid rgba(170, 120, 37, 0.32);
    border-radius: 50% !important;
    background: #fff9ef;
    box-sizing: border-box;
}

/* Icon vừa sát khung nhưng vẫn hiển thị đầy đủ */
.msk-home-values .icon-box-img .icon-inner img {
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

/* Trường hợp icon SVG */
.msk-home-values .icon-box-img .icon-inner svg {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    transform: none !important;
}


/* =====================================================
   CARD SẢN PHẨM NỔI BẬT – MACCA SKY
===================================================== */

.msk-featured-products {
    padding: 70px 0 85px !important;
}

/* Khoảng cách giữa các sản phẩm */
.msk-featured-products .products,
.msk-featured-products .row-small {
    margin-right: -12px !important;
    margin-left: -12px !important;
}

.msk-featured-products .product-small {
    padding: 12px !important;
}

/* Card sản phẩm */
.msk-featured-products .product-small .col-inner {
    height: 100%;
}

.msk-featured-products .product-small .box {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(63, 51, 40, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(63, 51, 40, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Hover card */
.msk-featured-products .product-small:hover .box {
    border-color: rgba(196, 147, 55, 0.35);
    box-shadow: 0 20px 42px rgba(63, 51, 40, 0.14);
    transform: translateY(-7px);
}

/* =====================================================
   PHẦN ẢNH
===================================================== */

.msk-featured-products .box-image {
    width: 100%;
    height: 315px;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #f0f2ef;
}

/* Gỡ kiểu padding ảnh mặc định của Flatsome */
.msk-featured-products .box-image .image-fade_in_back,
.msk-featured-products .box-image .image-cover,
.msk-featured-products .box-image .image-none,
.msk-featured-products .box-image > div {
    width: 100%;
    height: 100% !important;
    padding-top: 0 !important;
    background: transparent !important;
}

/* Ảnh sản phẩm đồng đều */
.msk-featured-products .box-image img {
    position: static !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 18px;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.4s ease;
}

.msk-featured-products .product-small:hover .box-image img {
    transform: scale(1.04);
}

/* =====================================================
   PHẦN NỘI DUNG
===================================================== */

.msk-featured-products .box-text {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 125px;
    padding: 22px 20px 25px !important;
    text-align: left !important;
    background: #ffffff;
}

/* Nhãn nhỏ phía trên tên sản phẩm */
.msk-featured-products .box-text::before {
    content: "SẢN PHẨM NỔI BẬT";
    display: block;
    margin: 0 0 9px;
    color: #5d7c50;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.2px;
    text-align: left;
    text-transform: uppercase;
}

/* Ẩn danh mục mặc định */
.msk-featured-products .category,
.msk-featured-products .product-cat {
    display: none !important;
}

/* Tên sản phẩm */
.msk-featured-products .product-title,
.msk-featured-products .product-title a,
.msk-featured-products .name,
.msk-featured-products .name a {
    display: -webkit-box;
    margin: 0 !important;
    overflow: hidden;
    color: #3f3328 !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.msk-featured-products .product-title a:hover,
.msk-featured-products .name a:hover {
    color: #aa7825 !important;
}

/* =====================================================
   ẨN TOÀN BỘ THÔNG TIN KHÔNG CẦN THIẾT
===================================================== */

.msk-featured-products .price-wrapper,
.msk-featured-products .price,
.msk-featured-products .amount,
.msk-featured-products .lien-he-price,
.msk-featured-products .star-rating,
.msk-featured-products .add-to-cart-button,
.msk-featured-products .quick-view,
.msk-featured-products .wishlist-button,
.msk-featured-products .badge-container {
    display: none !important;
}

/* Không để khoảng trống do các phần đã ẩn */
.msk-featured-products .box-text-products {
    padding-bottom: 0 !important;
}

/* =====================================================
   TABLET
===================================================== */

@media (min-width: 550px) and (max-width: 1024px) {
    .msk-featured-products {
        padding: 60px 0 70px !important;
    }

    .msk-featured-products .box-image {
        height: 270px;
    }

    .msk-featured-products .box-text {
        min-height: 115px;
        padding: 19px 17px 22px !important;
    }

    .msk-featured-products .product-title,
    .msk-featured-products .product-title a,
    .msk-featured-products .name,
    .msk-featured-products .name a {
        font-size: 16px !important;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 549px) {
    .msk-featured-products {
        padding: 48px 0 58px !important;
    }

    .msk-featured-products .product-small {
        padding: 7px !important;
    }

    .msk-featured-products .product-small .box {
        border-radius: 16px;
    }

    .msk-featured-products .box-image {
        height: 210px;
        border-radius: 16px 16px 0 0;
    }

    .msk-featured-products .box-image img {
        padding: 10px;
    }

    .msk-featured-products .box-text {
        min-height: 105px;
        padding: 17px 14px 20px !important;
    }

    .msk-featured-products .box-text::before {
        margin-bottom: 7px;
        font-size: 9.5px;
        letter-spacing: 0.9px;
    }

    .msk-featured-products .product-title,
    .msk-featured-products .product-title a,
    .msk-featured-products .name,
    .msk-featured-products .name a {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }
}

/* =====================================================
   SỬA CARD SẢN PHẨM NỔI BẬT
===================================================== */

/* Card ngắn hơn và bo góc đầy đủ */
.msk-featured-products .product-small .box {
    height: auto !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #ffffff !important;
}

/* Khung ảnh ngắn lại */
.msk-featured-products .box-image {
    position: relative !important;
    width: 100% !important;
    height: 245px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 18px 18px 0 0 !important;
    background: #f1f2ef !important;
}

/* Cho toàn bộ lớp bên trong phủ kín khung ảnh */
.msk-featured-products .box-image .image-fade_in_back,
.msk-featured-products .box-image .image-cover,
.msk-featured-products .box-image .image-none,
.msk-featured-products .box-image > div,
.msk-featured-products .box-image a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ảnh phủ kín toàn bộ khu vực phía trên */
.msk-featured-products .box-image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Nội dung phía dưới ngắn gọn hơn */
.msk-featured-products .box-text,
.msk-featured-products .box-text-products {
    min-height: 105px !important;
    margin: 0 !important;
    padding: 16px 18px 18px !important;
    border-radius: 0 0 18px 18px !important;
    background: #ffffff !important;
    text-align: left !important;
}

/* Nhãn nhỏ */
.msk-featured-products .box-text::before {
    margin-bottom: 6px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    letter-spacing: 1.1px !important;
}

/* Tên sản phẩm */
.msk-featured-products .product-title,
.msk-featured-products .product-title a,
.msk-featured-products .name,
.msk-featured-products .name a {
    margin: 0 !important;
    color: #3f3328 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* Mobile */
@media (max-width: 549px) {
    .msk-featured-products .product-small .box {
        border-radius: 15px !important;
    }

    .msk-featured-products .box-image {
        height: 190px !important;
        border-radius: 15px 15px 0 0 !important;
    }

    .msk-featured-products .box-text,
    .msk-featured-products .box-text-products {
        min-height: 92px !important;
        padding: 14px 13px 16px !important;
        border-radius: 0 0 15px 15px !important;
    }

    .msk-featured-products .product-title,
    .msk-featured-products .product-title a,
    .msk-featured-products .name,
    .msk-featured-products .name a {
        font-size: 14px !important;
    }
}




/* =====================================================
   3 THẺ CAM KẾT MACCA SKY
===================================================== */

.msk-commitment-cards {
    display: flex !important;
    align-items: stretch !important;
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: 1240px !important;
    margin: 42px auto 0 !important;
}

/* Ba cột cao bằng nhau */
.msk-commitment-cards > .col {
    display: flex !important;
    padding: 12px !important;
}

.msk-commitment-cards > .col > .col-inner {
    display: flex !important;
    width: 100%;
    height: 100%;
}

/* Toàn bộ thẻ */
.msk-commitment-cards .icon-box {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    min-height: 325px;
    margin: 0 !important;
    padding: 30px 28px 32px !important;
    overflow: hidden;
    border: 1px solid rgba(196, 147, 55, 0.28);
    border-radius: 20px;
    background: rgba(255, 252, 246, 0.94);
    box-shadow: 0 14px 36px rgba(63, 51, 40, 0.09);
    text-align: center !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Họa tiết tròn nhẹ ở góc */
.msk-commitment-cards .icon-box::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(196, 147, 55, 0.06);
    pointer-events: none;
}

/* Hiệu ứng hover */
.msk-commitment-cards .icon-box:hover {
    border-color: rgba(196, 147, 55, 0.55);
    box-shadow: 0 22px 48px rgba(63, 51, 40, 0.15);
    transform: translateY(-7px);
}

/* Khu vực icon */
.msk-commitment-cards .icon-box-img {
    position: relative;
    z-index: 2;
    flex: 0 0 auto !important;
    width: 82px !important;
    max-width: 82px !important;
    margin: 0 auto 23px !important;
}

/* Khung tròn icon */
.msk-commitment-cards .icon-box-img .icon-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 82px !important;
    height: 82px !important;
    margin: 0 auto !important;
    padding: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(196, 147, 55, 0.35);
    border-radius: 50%;
    background: #fff8ec;
    box-shadow: 0 8px 20px rgba(170, 120, 37, 0.12);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

/* Ảnh icon */
.msk-commitment-cards .icon-box-img img {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

/* SVG hoặc icon font */
.msk-commitment-cards .icon-box-img svg,
.msk-commitment-cards .icon-box-img i {
    width: 48px !important;
    height: 48px !important;
    color: #aa7825 !important;
    font-size: 48px !important;
}

/* Hover icon */
.msk-commitment-cards .icon-box:hover .icon-inner {
    border-color: #c49337;
    background: #f8ebd1;
    transform: scale(1.05);
}

/* Nội dung */
.msk-commitment-cards .icon-box-text {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 !important;
    text-align: center !important;
}

/* Tiêu đề thẻ */
.msk-commitment-cards .icon-box-text h3,
.msk-commitment-cards .icon-box-text h4,
.msk-commitment-cards .icon-box-title {
    margin: 0 0 15px !important;
    color: #0d1b3d !important;
    font-family: inherit !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-transform: none !important;
}

/* Gạch trang trí */
.msk-commitment-cards .icon-box-text h3::after,
.msk-commitment-cards .icon-box-text h4::after,
.msk-commitment-cards .icon-box-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin: 13px auto 0;
    background: #c49337;
}

/* Mô tả */
.msk-commitment-cards .icon-box-text p {
    max-width: 330px;
    margin: 0 auto !important;
    color: #665f56 !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.7 !important;
    text-align: center !important;
}

/* =====================================================
   TABLET
===================================================== */

@media (min-width: 550px) and (max-width: 849px) {
    .msk-commitment-cards {
        flex-wrap: wrap !important;
        width: calc(100% - 32px) !important;
    }

    .msk-commitment-cards > .col {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .msk-commitment-cards .icon-box {
        min-height: auto;
        padding: 28px 25px 30px !important;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 549px) {
    .msk-commitment-cards {
        display: block !important;
        width: calc(100% - 24px) !important;
        margin-top: 30px !important;
    }

    .msk-commitment-cards > .col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 0 !important;
    }

    .msk-commitment-cards .icon-box {
        min-height: auto;
        padding: 25px 20px 27px !important;
        border-radius: 17px;
    }

    .msk-commitment-cards .icon-box-img {
        width: 72px !important;
        max-width: 72px !important;
        margin-bottom: 19px !important;
    }

    .msk-commitment-cards .icon-box-img .icon-inner {
        width: 72px !important;
        height: 72px !important;
    }

    .msk-commitment-cards .icon-box-img img {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }

    .msk-commitment-cards .icon-box-text h3,
    .msk-commitment-cards .icon-box-text h4,
    .msk-commitment-cards .icon-box-title {
        margin-bottom: 13px !important;
        font-size: 20px !important;
    }

    .msk-commitment-cards .icon-box-text p {
        font-size: 14.5px !important;
        line-height: 1.65 !important;
    }
}


/* =========================================================
   FORM LIÊN HỆ MACCA SKY
========================================================= */

.msk-contact-form {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

/* Hai trường trên cùng một hàng */
.msk-contact-form .msk-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

/* Mỗi trường */
.msk-contact-form .msk-form-field {
    min-width: 0;
    margin: 0;
}

/* Nhãn */
.msk-contact-form .msk-form-field > label {
    display: block;
    margin: 0 0 8px;
    color: #3f3328;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* Dấu sao bắt buộc */
.msk-contact-form .msk-form-field > label span {
    color: #c49337;
}

/* CF7 wrapper */
.msk-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Input, select, textarea */
.msk-contact-form input[type="text"],
.msk-contact-form input[type="email"],
.msk-contact-form input[type="tel"],
.msk-contact-form select,
.msk-contact-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    border: 1px solid rgba(145, 115, 70, 0.25) !important;
    border-radius: 12px !important;
    color: #3f3328 !important;
    background-color: #fffdf8 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 400;
    line-height: 1.5;
    outline: none !important;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Chiều cao input và select */
.msk-contact-form input[type="text"],
.msk-contact-form input[type="email"],
.msk-contact-form input[type="tel"],
.msk-contact-form select {
    height: 52px !important;
    padding: 0 16px !important;
}

/* Select */
.msk-contact-form select {
    cursor: pointer;
    appearance: auto;
}

/* Nội dung liên hệ */
.msk-contact-form .msk-form-message {
    margin: 0 0 20px;
}

.msk-contact-form textarea {
    min-height: 135px !important;
    max-height: 240px;
    padding: 14px 16px !important;
    resize: vertical;
}

/* Placeholder */
.msk-contact-form input::placeholder,
.msk-contact-form textarea::placeholder {
    color: #9a9085 !important;
    opacity: 1;
}

/* Focus */
.msk-contact-form input[type="text"]:focus,
.msk-contact-form input[type="email"]:focus,
.msk-contact-form input[type="tel"]:focus,
.msk-contact-form select:focus,
.msk-contact-form textarea:focus {
    border-color: #c49337 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(196, 147, 55, 0.12) !important;
}

/* Khu vực nút gửi */
.msk-contact-form .msk-form-submit {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}

/* Nút gửi */
.msk-contact-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 50px;
    margin: 0 !important;
    padding: 13px 28px !important;
    border: 1px solid #c49337 !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background-color: #c49337 !important;
    box-shadow: 0 10px 24px rgba(170, 120, 37, 0.2);
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: 0.7px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.msk-contact-form input[type="submit"]:hover {
    border-color: #aa7825 !important;
    background-color: #aa7825 !important;
    box-shadow: 0 14px 28px rgba(170, 120, 37, 0.28);
    transform: translateY(-2px);
}

/* Trạng thái đang gửi */
.msk-contact-form input[type="submit"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Spinner của Contact Form 7 */
.msk-contact-form .wpcf7-spinner {
    align-self: center;
    margin: 0 0 0 12px;
}

/* Thông báo lỗi dưới trường */
.msk-contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.4;
}

/* Trường bị lỗi */
.msk-contact-form .wpcf7-not-valid {
    border-color: #d65c50 !important;
}

/* Thông báo cuối form */
.wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 16px !important;
    border-width: 1px !important;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.55;
}

/* Gửi thành công */
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #6f895e !important;
    color: #415439;
    background-color: #f2f6ef;
}

/* Gửi lỗi */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #d7a33c !important;
    color: #765517;
    background-color: #fff8e9;
}

/* =========================================================
   TABLET VÀ MOBILE
========================================================= */

@media (max-width: 849px) {
    .msk-contact-form .msk-form-row {
        gap: 14px;
        margin-bottom: 15px;
    }

    .msk-contact-form input[type="text"],
    .msk-contact-form input[type="email"],
    .msk-contact-form input[type="tel"],
    .msk-contact-form select {
        height: 50px !important;
    }
}

@media (max-width: 549px) {
    .msk-contact-form .msk-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .msk-contact-form .msk-form-field > label {
        margin-bottom: 7px;
        font-size: 13.5px;
    }

    .msk-contact-form input[type="text"],
    .msk-contact-form input[type="email"],
    .msk-contact-form input[type="tel"],
    .msk-contact-form select {
        height: 48px !important;
        padding: 0 14px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
    }

    .msk-contact-form textarea {
        min-height: 120px !important;
        padding: 13px 14px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
    }

    .msk-contact-form input[type="submit"] {
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }
}

/* =========================================================
   DROPDOWN FORM MACCA SKY — CHỈ HIỂN THỊ 1 MŨI TÊN
========================================================= */

/* Không cho các field thông thường xuất hiện icon giả */
.msk-contact-form .msk-form-field:not(.msk-select-field)::before,
.msk-contact-form .msk-form-field:not(.msk-select-field)::after,
.msk-contact-form .msk-form-field:not(.msk-select-field)
.wpcf7-form-control-wrap::before,
.msk-contact-form .msk-form-field:not(.msk-select-field)
.wpcf7-form-control-wrap::after {
    display: none !important;
    content: none !important;
}

/* Wrapper của select */
.msk-contact-form .msk-select-field
.wpcf7-form-control-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

/* Tắt mọi pseudo-element cũ của theme hoặc CSS trước */
.msk-contact-form .msk-select-field
.wpcf7-form-control-wrap::before,
.msk-contact-form .msk-select-field
.wpcf7-form-control-wrap::after {
    display: none !important;
    content: none !important;
}

/* Select */
.msk-contact-form .msk-select-field select {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 46px 0 16px !important;

    border: 1px solid rgba(145, 115, 70, 0.25) !important;
    border-radius: 12px !important;

    color: #3f3328 !important;
    background-color: #fffdf8 !important;

    /* Một mũi tên duy nhất bằng SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%233f3328' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 8px !important;

    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    cursor: pointer !important;
    outline: none !important;

    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Tắt mũi tên mặc định trên Edge/IE cũ */
.msk-contact-form .msk-select-field select::-ms-expand {
    display: none !important;
}

/* Khi chọn hoặc focus */
.msk-contact-form .msk-select-field select:focus {
    border-color: #c49337 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(196, 147, 55, 0.12) !important;
}

/* Option bên trong dropdown */
.msk-contact-form .msk-select-field select option {
    color: #3f3328;
    background: #ffffff;
}

/* Mobile */
@media (max-width: 549px) {
    .msk-contact-form .msk-select-field select {
        height: 48px !important;
        padding-right: 42px !important;
        padding-left: 14px !important;
        border-radius: 10px !important;
        background-position: right 14px center !important;
        font-size: 14px !important;
    }
}


/* =========================================================
   THANH LỌC DANH MỤC TRANG SẢN PHẨM
========================================================= */

.msk-shop-category-filter {
    width: 100%;
    margin: 0 0 32px;
    padding: 25px 25px 22px;
    border: 1px solid rgba(196, 147, 55, 0.2);
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.96);
    box-shadow: 0 12px 32px rgba(63, 51, 40, 0.08);
}

/* Tiêu đề */
.msk-shop-category-title {
    margin: 0 0 19px !important;
    color: #0d1b3d !important;
    font-family: inherit !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-transform: none !important;
}

/* Danh sách nút */
.msk-shop-category-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* Từng nút danh mục */
.msk-shop-category-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    padding: 9px 19px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #51463c !important;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

/* Hover */
.msk-shop-category-tab:hover {
    border-color: rgba(196, 147, 55, 0.38);
    color: #aa7825 !important;
    background: #fff8eb;
    transform: translateY(-1px);
}

/* Danh mục đang được chọn */
.msk-shop-category-tab.is-active {
    border-color: #c49337;
    color: #ffffff !important;
    background: #c49337;
    box-shadow: 0 7px 17px rgba(170, 120, 37, 0.2);
}

/* Điều chỉnh thanh kết quả và sắp xếp bên dưới */
.msk-shop-category-filter + .woocommerce-notices-wrapper + .woocommerce-result-count,
.msk-shop-category-filter ~ .woocommerce-result-count {
    margin-top: 4px;
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 550px) and (max-width: 849px) {
    .msk-shop-category-filter {
        margin-bottom: 25px;
        padding: 22px 18px 20px;
        border-radius: 16px;
    }

    .msk-shop-category-title {
        margin-bottom: 16px !important;
        font-size: 26px !important;
    }

    .msk-shop-category-tab {
        min-height: 38px;
        padding: 8px 15px;
        font-size: 13.5px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 549px) {
    .msk-shop-category-filter {
        margin-bottom: 22px;
        padding: 19px 14px 17px;
        border-radius: 14px;
    }

    .msk-shop-category-title {
        margin-bottom: 14px !important;
        font-size: 23px !important;
    }

    .msk-shop-category-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .msk-shop-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .msk-shop-category-tab {
        flex: 0 0 auto;
        min-height: 37px;
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* =========================================================
   THẺ SẢN PHẨM WOOCOMMERCE – PHONG CÁCH MACCA SKY
========================================================= */

/* Khoảng cách giữa các sản phẩm */
.shop-container .products {
    margin-right: -10px !important;
    margin-left: -10px !important;
}

.shop-container .product-small {
    display: flex !important;
    padding: 10px !important;
}

.shop-container .product-small > .col-inner {
    display: flex !important;
    width: 100%;
    height: 100%;
}

/* Toàn bộ card */
.shop-container .product-small .box {
    position: relative;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(196, 147, 55, 0.2);
    border-radius: 15px !important;
    background: #fffaf2 !important;
    box-shadow: 0 8px 24px rgba(63, 51, 40, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover card */
.shop-container .product-small:hover .box {
    border-color: rgba(196, 147, 55, 0.5);
    box-shadow: 0 16px 34px rgba(63, 51, 40, 0.14);
    transform: translateY(-6px);
}

/* =========================================================
   PHẦN ẢNH SẢN PHẨM
========================================================= */

.shop-container .product-small .box-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 15px 15px 0 0 !important;
    background: #f5efe4 !important;
}

/* Các lớp ảnh mặc định của Flatsome */
.shop-container .product-small .box-image > div,
.shop-container .product-small .box-image > a,
.shop-container .product-small .box-image .image-fade_in_back,
.shop-container .product-small .box-image .image-cover,
.shop-container .product-small .box-image .image-none {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ảnh phủ kín khung */
.shop-container .product-small .box-image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.45s ease;
}

/* Zoom nhẹ */
.shop-container .product-small:hover .box-image img {
    transform: scale(1.04);
}

/* =========================================================
   PHẦN NỘI DUNG
========================================================= */

.shop-container .product-small .box-text {
    position: relative;
    display: flex !important;
    flex: 1;
    flex-direction: column;
    min-height: 145px;
    padding: 17px 16px 16px !important;
    border-radius: 0 0 15px 15px !important;
    background: #fffaf2 !important;
    text-align: left !important;
}

/* Ẩn danh mục mặc định */
.shop-container .product-small .category,
.shop-container .product-small .product-cat {
    display: none !important;
}

/* Tên sản phẩm */
.shop-container .product-small .product-title,
.shop-container .product-small .product-title a,
.shop-container .product-small .name,
.shop-container .product-small .name a {
    display: -webkit-box;
    min-height: 46px;
    margin: 0 !important;
    overflow: hidden;
    color: #3f3328 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shop-container .product-small .product-title a:hover,
.shop-container .product-small .name a:hover {
    color: #aa7825 !important;
}

/* Giá hoặc chữ Liên hệ */
.shop-container .product-small .price-wrapper {
    margin: 7px 0 0 !important;
    padding: 0 !important;
}

.shop-container .product-small .price,
.shop-container .product-small .amount,
.shop-container .product-small .lien-he-price {
    margin: 0 !important;
    color: #aa7825 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* Dòng Xem chi tiết */
.shop-container .product-small .box-text::after {
    content: "XEM CHI TIẾT  ›";
    display: block;
    margin-top: auto;
    padding-top: 13px;
    color: #aa7825;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-align: left;
    text-transform: uppercase;
}

/* Ẩn các thành phần không cần thiết */
.shop-container .product-small .star-rating,
.shop-container .product-small .add-to-cart-button,
.shop-container .product-small .quick-view,
.shop-container .product-small .wishlist-button {
    display: none !important;
}

/* Nhãn giảm giá */
.shop-container .product-small .badge-container {
    top: 12px !important;
    left: 12px !important;
    margin: 0 !important;
}

.shop-container .product-small .badge-inner,
.shop-container .product-small .onsale {
    min-width: auto !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: #c49337 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 550px) and (max-width: 1024px) {
    .shop-container .product-small {
        padding: 8px !important;
    }

    .shop-container .product-small .box-text {
        min-height: 135px;
        padding: 15px 14px !important;
    }

    .shop-container .product-small .product-title,
    .shop-container .product-small .product-title a,
    .shop-container .product-small .name,
    .shop-container .product-small .name a {
        min-height: 43px;
        font-size: 15px !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 549px) {
    .shop-container .products {
        margin-right: -5px !important;
        margin-left: -5px !important;
    }

    .shop-container .product-small {
        padding: 5px !important;
    }

    .shop-container .product-small .box {
        border-radius: 12px !important;
    }

    .shop-container .product-small .box-image {
        border-radius: 12px 12px 0 0 !important;
    }

    .shop-container .product-small .box-text {
        min-height: 124px;
        padding: 13px 11px 13px !important;
        border-radius: 0 0 12px 12px !important;
    }

    .shop-container .product-small .product-title,
    .shop-container .product-small .product-title a,
    .shop-container .product-small .name,
    .shop-container .product-small .name a {
        min-height: 40px;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }

    .shop-container .product-small .price,
    .shop-container .product-small .amount,
    .shop-container .product-small .lien-he-price {
        font-size: 12.5px !important;
    }

    .shop-container .product-small .box-text::after {
        padding-top: 10px;
        font-size: 9.5px;
    }
}

/* =========================================================
   KHUNG TRẮNG BO TRÒN CHO CỘT FORM LIÊN HỆ
========================================================= */

.msk-contact-form-column > .col-inner {
    width: 100%;
    padding: 34px 32px 30px !important;
    overflow: hidden;
    border: 1px solid rgba(196, 147, 55, 0.2);
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 45px rgba(63, 51, 40, 0.12);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Form chiếm toàn bộ chiều rộng khung */
.msk-contact-form-column .wpcf7,
.msk-contact-form-column .wpcf7-form,
.msk-contact-form-column .msk-contact-form {
    width: 100%;
    margin: 0 !important;
}

/* Không để đoạn p mặc định của CF7 tạo khoảng cách thừa */
.msk-contact-form-column .wpcf7-form > p {
    margin: 0 !important;
}

/* Hiệu ứng nhẹ khi rê chuột */
.msk-contact-form-column > .col-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.msk-contact-form-column > .col-inner:hover {
    border-color: rgba(196, 147, 55, 0.38);
    box-shadow: 0 22px 52px rgba(63, 51, 40, 0.16);
    transform: translateY(-3px);
}

/* Tablet */
@media (min-width: 550px) and (max-width: 849px) {
    .msk-contact-form-column > .col-inner {
        padding: 28px 24px 26px !important;
        border-radius: 19px !important;
    }
}

/* Mobile */
@media (max-width: 549px) {
    .msk-contact-form-column > .col-inner {
        padding: 23px 17px 21px !important;
        border-radius: 17px !important;
        background: rgba(255, 255, 255, 0.96) !important;
    }

    .msk-contact-form-column > .col-inner:hover {
        transform: none;
    }
}

