/*
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.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/



}
.box.box-bounce.box-text-bottom.box-blog-post.has-hover {
    border-radius: 10px !important;
    overflow: hidden;
}
.blog-archive .post-item .col-inner {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}
.blog-single .large-3 #secondary, .blog-archive .large-3 #secondary, .page-right-sidebar .large-3 #secondary {
    border-radius: 10px;
    background: white;
    padding: 15px;
}
.post-sidebar.large-3.col {
    padding: 0;
}
.product-small.box {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}
.box-text.box-text-products {
    padding: 10px;
}
.row-divided>.col+.col:not(.large-12) {
        border-left: 0;
    }
.article-inner {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}
.home-2 .box-image {
    border-radius: 15px;
}
.home-3 img {
    border-radius: 15px;
}
.home-1 img {
    border-radius: 15px;
}
.nav-line-bottom>li>a:before {
    background-color: #ffffff !important;	
	height: 2px !important;
}
/* ===== WRAPPER ===== */
.wedding-form {
    background: #e5e5e5;
    padding: 35px 40px;   /* giảm mạnh padding */
    border-radius: 26px;
    max-width: 820px;
    margin: auto;
}

/* ===== ROW ===== */

/* ===== TWO COLUMN (CÂN ĐỀU) ===== */
.wedding-form .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* chia đều tuyệt đối */
	gap: 10px;
}

/* ===== LABEL ===== */
.wedding-form label {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d2d2d;
}

/* ===== INPUT ===== */
.wedding-form input,
.wedding-form select {
    width: 100%;
    height: 46px;   /* nhỏ gọn hơn */
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #dadada;
    background: #f6f6f6;
    font-size: 14px;
    transition: 0.2s ease;
}

.wedding-form input:focus,
.wedding-form select:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}

/* ===== TEXTAREA ===== */
.wedding-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid #dadada;
    background: #f6f6f6;
    min-height: 110px;
    font-size: 14px;
}

/* ===== RADIO ===== */
.radio-group {
    display: flex;
    gap: 14px;
    margin-top: 4px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group .wpcf7-list-item {
    margin: 0;
}

.radio-group .wpcf7-list-item-label {
    padding: 10px 22px;
    background: #f0f0f0;
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}

.radio-group input[type="radio"]:checked + .wpcf7-list-item-label {
    background: #000;
    color: #fff;
}

/* ===== SELECT ===== */
.wedding-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
    background: #000;          /* đổi sang đen */
    color: #fff;
    padding: 13px 40px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.2s ease;
}
.submit-btn {
    background-color: #000 !important;
}
.submit-btn:hover {
    background: #5d5d5d;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .wedding-form {
        padding: 20px 30px 0px 30px;
    }

    .wedding-form .two-col {
        grid-template-columns: 1fr;
    }

    .wedding-form .row {
        margin-bottom: 18px;
    }
	.wpcf7 span.wpcf7-list-item {
    margin-right: 10px;
}
}
.contact-img img {
    border-radius: 20px;
}
/* Ẩn overlay mặc định nếu có */
.wedding-hover .overlay {
    opacity: 0 !important;
}

/* Tạo lớp phủ màu bằng before */
.wedding-hover {
    position: relative;
    overflow: hidden;
}

.wedding-hover:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(240, 230, 220, 0.85); /* màu be */
    opacity: 0;
    transition: 0.4s ease;
    z-index: 1;
}

/* Hiện overlay khi hover */
.wedding-hover:hover:before {
    opacity: 1;
}

/* Đảm bảo text nằm trên lớp phủ */
.wedding-hover .box-text {
    position: relative;
    z-index: 2;
}
.accordion span {
    text-transform: uppercase;
}
