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

/*************** ADD CUSTOM CSS HERE.   ***************/
.showinfo {
    position: absolute;
    top: 0px;
    width:100%;
    height:100%;
    z-index:22;
    display:block;
    background: #fff; 
}
.product-small:hover .showinfo{
    display:block;
    cursor:pointer;
    opaticy: 0.5;
}

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


}
.simple-contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    color: #495057;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-row {
    margin-top: 40px;
}

.contact-info {
    padding-right: 30px;
}

.email-box {
    background: #ffffff;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.primary-contact {
    font-size: 18px;
}

.primary-contact strong {
    color: #007bff;
    font-size: 20px;
}

.services-list {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #28a745;
}

.services-list h3 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 18px;
}

.services-list ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.services-list li {
    margin: 10px 0;
    color: #495057;
    font-size: 15px;
}

.quick-info {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

.quick-info strong {
    display: block;
    margin-bottom: 5px;
}

.form-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-section h2 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 22px;
}

.form-section p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.why-choose-china {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.why-choose-china h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 16px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    margin: 8px 0;
    color: #495057;
    font-size: 14px;
}

.bottom-cta {
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.bottom-cta p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.bottom-cta strong {
    color: #ffc107;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .contact-intro {
        font-size: 16px;
    }
    
    .bottom-cta {
        padding: 25px 20px;
    }
    
    .bottom-cta p {
        font-size: 16px;
    }
}
//phần thêm của contact from 7 của id = 482c7c0
/* Simple Contact Form Styling */
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 16px;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #007bff;
    outline: none;
}

.wpcf7-form textarea {
    height: 120px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
    background: #0056b3;
}
//code thêm phần Footer của website
/* China Dental Design Footer Styling */
.china-dental-footer {
    position: relative;
    background: linear-gradient(135deg, rgb(34, 40, 49) 0%, rgb(25, 30, 38) 100%);
}

.china-dental-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, #28a745, #ffc107);
}

.china-dental-footer h4 {
    color: white !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.china-dental-footer a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.china-dental-footer a:hover {
    color: #4fc3f7;
    padding-left: 5px;
}

.china-dental-footer a:hover::before {
    content: '→';
    position: absolute;
    left: -15px;
    color: #4fc3f7;
}

.china-dental-footer .featured_box {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* FIX COPYRIGHT CENTERING - ĐÂY LÀ PHẦN QUAN TRỌNG */
.china-dental-footer .row:last-child {
    background: rgba(0,0,0,0.3);
    margin: 30px auto 0 auto !important;  /* FIXED: Loại bỏ negative margin */
    padding: 25px 20px !important;
    border-radius: 8px;
    width: 100% !important;
    max-width: 1200px !important;
    text-align: center !important;
}

.china-dental-footer .row:last-child .col {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.china-dental-footer .row:last-child div,
.china-dental-footer .row:last-child p,
.china-dental-footer .row:last-child span {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .china-dental-footer .col {
        margin-bottom: 30px;
        border-bottom: 1px solid #555;
        padding-bottom: 20px;
    }
    
    .china-dental-footer .col:last-child {
        border-bottom: none;
    }
    
    .china-dental-footer h4 {
        font-size: 15px;
    }
    
    .china-dental-footer ul li {
        font-size: 13px;
    }
    
    /* Mobile copyright fix */
    .china-dental-footer .row:last-child {
        margin: 20px auto 0 auto !important;
        padding: 20px 15px !important;
    }
}

/* Hover Effects - Không áp dụng cho copyright row */
.china-dental-footer .row:not(:last-child) .col:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}
//css của phần Product-sidebar
/* Professional Sidebar for China Dental Design */
.product-sidebar .featured_box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.product-sidebar .featured_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #4fc3f7);
    transition: width 0.3s ease;
}

.product-sidebar .featured_box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,123,255,0.15);
    border-color: #007bff;
}

.product-sidebar .featured_box:hover::before {
    width: 6px;
}

.product-sidebar .featured_box strong {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
}

.product-sidebar .featured_box span {
    color: #6c757d;
    font-style: italic;
    line-height: 1.4;
}

/* Special highlighting for key boxes */
.product-sidebar .highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-color: #2196f3;
}

.product-sidebar .highlight-box strong {
    color: #1565c0;
}

.product-sidebar .cta-box {
    background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
    border-color: #28a745;
}

.product-sidebar .cta-box strong {
    color: #155724;
}

.product-sidebar .cta-box:hover {
    background: linear-gradient(135deg, #d4edda 0%, #f8f9fa 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(40,167,69,0.2);
}

/* Icon styling */
.product-sidebar .featured_box img {
    filter: hue-rotate(200deg) brightness(1.1);
    transition: transform 0.3s ease;
}

.product-sidebar .featured_box:hover img {
    transform: scale(1.1);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .product-sidebar .featured_box {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .product-sidebar .featured_box strong {
        font-size: 14px;
    }
    
    .product-sidebar .featured_box span {
        font-size: 12px;
    }
}

/* Pulse animation for CTA box */
.product-sidebar .cta-box {
    animation: subtle-pulse 3s infinite;
}

@keyframes subtle-pulse {
    0%, 100% { 
        box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    }
    50% { 
        box-shadow: 0 6px 12px rgba(40,167,69,0.15);
    }
}
//Css form liên hệ ở trang chủ
/* Contact Form 7 - Using Tag Generator */
.wpcf7 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    padding: 40px 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #dee2e6 !important;
}

.wpcf7 .form-header h3 {
    color: #2c3e50 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
}

.wpcf7 .form-header p {
    color: #6c757d !important;
    font-size: 14px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}

.wpcf7 .form-row {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.wpcf7 .form-row > span {
    flex: 1 !important;
}

.wpcf7 .form-field {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.wpcf7 .form-field:focus {
    outline: none !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1) !important;
}

.wpcf7 .submit-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.wpcf7 .privacy-note {
    font-size: 12px !important;
    color: #6c757d !important;
    text-align: center !important;
    margin-top: 15px !important;
}

@media (max-width: 767px) {
    .wpcf7 .form-row {
        flex-direction: column !important;
    }
}