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

/*************** ADD CUSTOM CSS HERE.   ***************/
#yith-wcwl-icon-heart, .widget_shopping_cart .wcpa_cart_meta img{
	display: none;
}
ul.product_list_widget li{
	min-height: unset !important;
}
.sales-booster-safe-checkout span.subtitle{
	font-size: 14px;
}
.sales-booster-safe-checkout fieldset{
	margin-bottom: 0 !important;
}
.absolute-footer{
	position: relative;
}
.footer-primary.pull-left{
    float: left;
    position: absolute;
    top: 30%;
}
.woocommerce-Price-currencySymbol{
	font-size: 1em !important;
	color: var(--primary-color) !important;
}
.woocommerce-Price-amount{
	color: #ff5b22 !important;
}
.qua-tang-box{
	display:none !important;
}
.estimated-delivery-date {
    font-size: 14px;
    color: #333;
    padding: 10px 0;
    margin-bottom: 20px !important;
}
.sales-booster-safe-checkout{
    background-color: #F5F5F6;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.sales-booster-safe-checkout fieldset img {
    display: inline-block;
    max-width: 50px;
    border: 1px solid var(--et_border-color);
    border-radius: 4px;
    margin: 0 calc(var(--image-spacing, 4px) / 2) var(--image-spacing, 4px);
}
.wishlist-popup.dark{
	display:none;
}
/* Đảm bảo 3 reviews/slide */
.testimonial-slider-wrapper {
    padding: 0 30px; /* Khoảng cách 2 bên */
}

.testimonial-slide {
    padding: 15px;
    width: 33.33%;
    flex: 0 0 33.33%;
}

/* Ẩn slide bị tràn màn hình (tùy chọn) */
.flickity-viewport {
    overflow: hidden;
}

.testimonial-slider-wrapper {
    padding: 0 15px;
}

.testimonial-slide {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 0 10px;
}

.testimonial-rating {
    color: #FFA800;
    margin: 10px 0;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 15px;
    color: var(--primary-color);
}


.comment-form-phone{
    display:none;
}
button#devvn_cmt_submit{
    height: 40px !important;
}
.irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single{
    background-color: #f48021 !important;
}
.irs--round .irs-handle{
    border: 4px solid #f48021 !important;
}
.html_topbar_left{
    width: 100%;
}
.irs--round .irs-bar{
    background-color: #f48021 !important;
}
label.woof_checkbox_label, legend.woof_checkbox_label  {
    font-weight: 500 !important;
}
.woof_products_top_panel{
    z-index: 0 !important;
}
.product-tabs-wrapper{
	display: flex;
    flex-direction: column-reverse;
}
.woocommerce-product-gallery__image img, .option-slide img{
	height: 600px;
	object-fit: cover;
}
.product-video-container{
	height: 600px;
}
.col.vertical-thumbnails {
    
}
.option-slide, .tab-content#tab-video{
	margin-bottom: 0;
    padding: 0 9.8px 19.6px !important;
}
.woocommerce-Reviews .woocommerce-product-rating{
	align-items: center !important;
	gap: 5px;
}
.yith-wfbt-submit-block .yith-wfbt-submit-button{
	border-radius: 5px;
}
figure.image{
    text-align: center;
}
.sticky-add-to-cart--active .single_add_to_cart_button:before{
		content: "";
    width: 40px;
    height: 40px;
    top: 0px;
    position: inherit;
}
.sticky-add-to-cart--active .single_add_to_cart_button {
    hanging-punctuation: 55px;
    background: #000 !important;
    border: 1px solid black !important;
    text-transform: none;
    font-weight: normal;
    letter-spacing: 0;
    padding: 5px 50px;
    border-radius: 45px;
    display: flex;
    align-items: center;
}
.header-cart-icon:after{
	    top: -5px !important;
}
/* contact form 7 */
/* Contact Form 7 Custom Styling */

/* Form container */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Style all input fields, textareas and selects */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    background-color: #E9E8F7; /* Light purple background */
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

/* Style for labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #4B4B4B;
}

/* Date input styling */
.wpcf7-form input[type="date"] {
    padding-right: 10px;
}

/* Calendar icon for date inputs */
.wpcf7-form .date-field {
    position: relative;
}

.wpcf7-form .date-field:after {
    content: '';
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-repeat: no-repeat;
    background-size: 20px;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Submit button styling */
.wpcf7-submit {
    grid-column: 1 / -1;
    width: 150px;
    padding: 12px 30px;
    background-color: #3B3F9E; /* Dark blue button */
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: #2d2f7a; /* Darker blue on hover */
}

/* For full-width fields (like messages or fields that should span both columns) */
.full-width-field {
    grid-column: 1 / -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wpcf7-form {
        grid-template-columns: 1fr;
    }
    
    .wpcf7-submit {
        width: 100%;
    }
}

/* Fix for date input fields to match design */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

/* Add focus styles */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 63, 158, 0.3);
}

/* For the specific layout in the image */
.name-field, .company-field, 
.email-field, .phone-field, 
.quantity-field, .date-field {
    width: 100%;
}

/* Center the submit button */
.submit-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}
@media(max-width: 490px){
    .testimonial-slide{
  width: 100% !important;
  }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}