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

/* Setup Section layouts */
.section-1,
.section-2,
.section-3 {
    padding: 40px 0 !important;
}

/* Modern Minimalist Titles */
.section-1 .container .section-title,
.section-2 .container .section-title,
.section-3 .container .section-title {
    margin-bottom: 30px !important;
}

/* Premium Minimal Product Cards */
.section-1 .col,
.section-2 .col,
.section-3 .col {
    padding-bottom: 20px !important;
}

.section-1 .col-inner,
.section-2 .col-inner,
.section-3 .col-inner {
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    overflow: hidden !important;
}

/* Hover Effect on Cards */
.section-1 .col-inner:hover,
.section-2 .col-inner:hover,
.section-3 .col-inner:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
}

/* Image zoom on hover */
.section-1 .box-image,
.section-2 .box-image,
.section-3 .box-image {
    overflow: hidden !important;
    background-color: #fafafa !important;
}

.section-1 .box-image img,
.section-2 .box-image img,
.section-3 .box-image img {
    transition: transform 0.4s ease !important;
}

.section-1 .col-inner:hover .box-image img,
.section-2 .col-inner:hover .box-image img,
.section-3 .col-inner:hover .box-image img {
    transform: scale(1.03) !important;
}

/* Modern Product Text/Content Layout */
.section-1 .box-text,
.section-2 .box-text,
.section-3 .box-text {
    padding: 12px 10px 16px !important;
    text-align: center !important;
    background: #ffffff !important;
}

.section-1 .box-text p.name,
.section-2 .box-text p.name,
.section-3 .box-text p.name {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #333333 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
    height: 38px !important;
    overflow: hidden !important;
}

.section-1 .box-text .price,
.section-2 .box-text .price,
.section-3 .box-text .price {
    font-weight: 600 !important;
    color: #dc2626 !important;
    font-size: 0.95rem !important;
}

.section-1 .box-text .price del,
.section-2 .box-text .price del,
.section-3 .box-text .price del {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    font-size: 0.8rem !important;
}

.section-1 .box-text .price ins,
.section-2 .box-text .price ins,
.section-3 .box-text .price ins {
    text-decoration: none !important;
    color: #dc2626 !important;
}

/* Modern minimal sale badge */
.badge-inner.on-sale {
    background-color: #dc2626 !important;
    font-weight: 500 !important;
    font-size: 0.68rem !important;
    border-radius: 3px !important;
    padding: 2px 5px !important;
}

/* Custom styling for Header border and call button */
#header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: relative;
    z-index: 999;
}

/* Make Header Call Button Beautiful - clean weight, normal size */
.header-button a,
.header-button-1 a,
.html.header-button-1 a {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    border-radius: 99px !important;
    padding: 6px 18px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.header-button a:hover,
.header-button-1 a:hover,
.html.header-button-1 a:hover {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2) !important;
}

.header-button a span,
.header-button-1 a span,
.html.header-button-1 a span {
    font-weight: 600 !important;
    color: #ffffff !important;
}

.section-title-bold-center span {
    border: none !important;
}
/* Footer font size optimization */
#footer p,
#footer a,
.footer-wrapper p,
.footer-wrapper a {
    font-size: 14px !important;
}

.header-button a span::before,
.header-button-1 a span::before,
.html.header-button-1 a span::before {
    content: "\f095" !important;
    font-family: "FontAwesome" !important;
    margin-right: 8px !important;
    font-size: 0.85rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Contact Page Styling */
.section-contact-page {
    background-color: #fafafa !important;
}

.section-contact-page h2 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 25px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.contact-info-box {
    margin-bottom: 25px !important;
    padding-left: 15px !important;
    border-left: 2px solid #10b981 !important; /* Elegant green vertical line */
}

.contact-info-box h3 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 6px !important;
}

.contact-info-box p {
    font-size: 0.92rem !important;
    color: #666666 !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

.contact-info-box p a {
    color: #4a5568 !important;
    transition: color 0.2s ease !important;
}

.contact-info-box p a:hover {
    color: #10b981 !important;
}

/* Style Contact Form 7 on Contact Page */
.section-contact-page .wpcf7-form {
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.section-contact-page .wpcf7-form-control-wrap {
    margin-bottom: 15px !important;
    display: block !important;
}

.section-contact-page input[type="text"],
.section-contact-page input[type="email"],
.section-contact-page input[type="tel"],
.section-contact-page textarea {
    width: 100% !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    color: #334155 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.section-contact-page input[type="text"]:focus,
.section-contact-page input[type="email"]:focus,
.section-contact-page input[type="tel"]:focus,
.section-contact-page textarea:focus {
    border-color: #10b981 !important;
    background-color: #ffffff !important;
}

.section-contact-page input[type="submit"] {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
}

.section-contact-page input[type="submit"]:hover {
    background-color: #b91c1c !important;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .section-1,
    .section-2,
    .section-3 {
        padding: 30px 0 !important;
    }
    
    .section-1 h2,
    .section-2 h2,
    .section-3 h2 {
        font-size: 1.25rem !important;
    }
}