.input-group>.wpcf7-form-control-wrap {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.width-qty {
    max-width: 60px !important;
}

.children>.single-comment {
    margin-left: 85px;
}

.comment-area .single-comment {
    margin-bottom: 45px;
}

.form-submit>.submit {
    outline: none;
    background: #cc3333;
    color: #fff;
    padding: 10px 25px;
    transition: 0.3s;
    display: inline-block;
    border: none;
    border-radius: 3px;
}

.ajax_add_to_cart.added {
    display:none !important;
}

a.added_to_cart.wc-forward {
    width: 80px;
    height: 40px;
    display: inline-block;
    background-color: #fff;
    line-height: 40px;
    text-align: center;
    border-radius: 8%;
    margin: 0 3px;
    color: #666;
    transition: 0.3s;
}
a.added_to_cart.wc-forward:hover {
    background-color: #cc3333;
    color: #fff;
}

a.added_to_cart.wc-forward:after {
    content: inherit !important;
}

.error-message>.wpcf7>form>.wpcf7-response-output {
    color: white;
}

.comment {
    width: 100%;
}

.mb-30>.error {
    color: red;
}

.cart-total {
    display: inline-block;
    min-width: 100%;
}

.total-sum {
    width: 100%;
}

/* Chữ dài hơn 2 dòng */
.product-details>.product-sm-des {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-details>.post-des {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 15px 0 0 0;
    border-bottom: 0;
}

.post-details>.date-view {
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

/* Contact form 7 */
.alert{
	z-index: 999999999 !important;
}
.wpcf7-response-output{
	display: none !important;
}

.subscribe_popup .modal-body {
	padding: 0;
}
.subscribe_popup .modal-content {
	border: 0;
	border-radius: 0;
}
.popup_content {
	padding: 50px;
	text-align: center;
}
.alert>.close {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 9;
	opacity: 1;
	text-shadow: none;
	width: 40px;
	height: 40px;
    border: none;
    background: none;
    color: #fff;
    font-size: 40px;
    font-weight: lighter;
}
.mfp-preloader {
	color: #ccc;
	position: absolute;
	top: -25%;
	left: 50%;
	width: 24px;
	height: 24px;
	background: url("../img/loading.gif") center center no-repeat;
	text-align: center;
	margin-top: 50%;
	margin-left: -12px;
	z-index: 1044;
	text-indent: -9999px;
	background-color: #000;
	padding: 25px;
	border-radius: 5px;
}

.woocommerce ul#shipping_method li {
    margin: 0px !important;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: unset !important;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: unset !important;
}

.mc_desc_check p {
    line-height: 15px;
    text-align: justify;
    color: #4F4F4F;
    font-size: 12px;
}

#billing_country_field {
    display: none;
}

.woocommerce form .form-row {
    width: 100%;
}

.form-row .woocommerce-input-wrapper input {
    width: 100%;
    font-size: 16px;
    list-style: 19px;
    padding: 16px;
    padding-right: 36px;
    border: none;
    outline-color: #cc3333;
    outline-width: 0.5;
}

.text_area textarea:focus {
    outline: 1px solid #CC3433 !important;
}

.coupon-form {
    justify-content: unset !important;
}

.form-row .custom-btn {
    outline: none !important;
    background: #cc3333 !important;
    color: #fff !important;
    padding: 10px 25px !important;
    transition: 0.3s !important;
    display: inline-block !important;
    border: none !important;
    line-height: unset !important;
}

.edit-account-custom {
    width: 50%;
    margin: 0px 4% 0px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.1);
    padding: 32px 56px 52px 56px;
}

.edit-account-custom-2 {
    width: 70%;
    margin: 0px -4% 0px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.1);
    padding: 32px 56px 52px 56px;
}

.edit-account-custom fieldset {
    margin-top: 20px;
}

.edit-account-custom input {
    padding: 8px;
}

.edit-account-custom button,
.edit-account-custom-2 button {
    outline: none !important;
    background: #cc3333 !important;
    color: #fff !important;
    padding: 10px 25px !important;
    transition: 0.3s !important;
    display: inline-block !important;
    border: none !important;
    line-height: unset !important;
    margin-top: 16px !important;
}

.woocommerce-MyAccount-content .woocommerce-button {
    outline: none !important;
    background: #cc3333 !important;
    color: #fff !important;
    padding: 10px 25px !important;
    transition: 0.3s !important;
    display: inline-block !important;
    border: none !important;
    line-height: unset !important;
    margin: 4px 0px !important;
}

.edit-account-custom .woocommerce-input-wrapper>input,
.edit-account-custom-2 .woocommerce-input-wrapper>input {
    border: 1px solid #ccc;
}

#ajax-message {
	width: 15%;
	height: 70px;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	padding: 20px 20px;
	background: #ddffdd!important;
	color: #191b1c;
	border-radius: 5px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
	display: none;
}

/* Account */
.account_custom {
    margin: 30px;
    display: flex;
}

.woocommerce-MyAccount-navigation {
    width: 10%;
    margin: 30px auto 0px;
}

.woocommerce-MyAccount-content {
    width: 70%;
    margin-top: 30px;
}

.woocommerce-MyAccount-navigation li a {
    font-size: 15px;
    color: #292929;
    display: block;
    transition: 0.3s;
    padding-bottom: 2px;
    font-weight: 500;
}

.woocommerce-MyAccount-navigation li a:hover {
    color: #cc3333;
}

.woocommerce-orders-table__header span {
    color: #cc3333;
    font-size: 14px;
}

.woocommerce table.my_account_orders td {
    color: #000;
    font-size: 14px;
}

.woocommerce table.my_account_orders td a {
    color: #000;
}
