/*!
Theme Name: Laboix Child theme
Theme URI: https://bracketweb.com/laboixwp/
Template: laboix
Author: Layerdrops
Author URI: https://themeforest.net/user/Layerdrops
Description: This is a Child theme for Laboix WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: laboix-child
*/

/* Root Variables */
:root {
    --laboix-secondary: #0f86ba;
    --laboix-secondary-rgb: 29, 80, 143;
}

/* Global / Header / Footer */
.main-footer__copyright a {
    color: var(--laboix-secondary);
}

.main-footer__copyright a:hover {
    color: var(--laboix-text-gray);
}

.main-header__nav {
    margin-left: auto;
    margin-right: auto;
}

.main-header__right::after {
    left: 100%;
}

.main-header__right__call {
    padding: 20px 0 20px 40px;
}

.header-section .e-con-inner {
    padding-block-end: 0 !important;
    padding-block-start: 0 !important;
}

.main-header__link {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.page-header {
    padding-top: 60px;
    padding-bottom: 50px;
}

.footer-widget--about {
    margin-left: 0;
}

.footer-widget__info__item__text {
    max-width: 100%;
}

.footer-widget__newsletter {
    display: none;
}

.footer-widget__text {
    max-width: 415px;
}

.footer-widget__text b {
    color:  var(--laboix-text-gray, #97A5B7);
}

.main-footer .e-con.e-flex div.e-con-inner {
    padding-top: 80px;
    padding-bottom: 30px;
}

.main-footer__bottom__inner {
    padding: 20px 0;
}

/* Theme Sections */
.about-two {
    padding: 0 0 60px;
}

.about-two__thumb::after {
    left: 0;
}

.about-two__thumb__item {
    margin-left: 50px;
}

.about-two__thumb__item.about-two__thumb__item--two {
    margin-left: 0;
    position: fixed;
}

.about-two__top {
    margin-bottom: 20px;
}

.about-two__top__text {
    margin-bottom: 0 !important;
}

.about-two__top p {
    margin-bottom: 0.5em;
}

.about-two__feature {
    margin-bottom: 0;
}

.about-two__feature__item {
    padding: 20px 30px;
}

.about-two__feature__icon {
    display: none;
}

.funfact-one {
    padding-bottom: 80px;
}

.funfact-one__inner {
    background: transparent;
}

.funfact-one__item::after {
    opacity: 1;
    background-color: var(--laboix-secondary);
}

.funfact-one__count {
    display: none;
}

.faq-two {
    padding-top: 48px;
}

.faq-two__inner {
    padding: 40px 30px;
    margin-right: 0;
    margin-left: 0;
}

.choose-us-two__top {
    margin-bottom: 0;
}

.choose-us-two__right {
    padding-top: 50px;
}

.choose-us-two__text {
    max-width: 100%;
}

.choose-us-two__list {
    margin-bottom: 0;
}

.choose-us-two__list__item {
    padding: 30px 20px;
}

.contact-one {
    padding: 80px 0;
}

.contact-two {
    padding: 60px 0;
}

.contact-two::after {
    background-color: #f8f8f8;
}

.contact-two .sec-title--two .sec-title__title {
    color: var(--laboix-base, #021936);
}

.service-page {
    padding: 50px 0;
}

.service-two {
    padding: 0;
}

.product-list section.service-page {
    padding: 0;
}

.product-section {
    background: #f8f8f8;
}

.product-section h3 strong {
    color: var(--laboix-base);
}

.service-card__title {
    font-size: 22px;
}

.client-carousel-one .client-carousel__one {
    padding: 0;
}

.client-carousel-one .client-carousel__one__item {
    min-height: 80px;
}

.laboix-owl__carousel--basic-nav.owl-carousel .owl-dots {
    margin-top: 35px;
}

.main-slider-one__sub-title {
    margin: 0 0 10px;
}

/* Product Listing */
.product-filter-form {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.product-filter-form input,
.product-filter-form select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 120px;
}

.product-filter-form button,
.product-filter-form .reset-btn {
    padding: 12px 25px;
    background: #001a35;
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 15px;
}

.product-card {
    background: #02142c;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.product-contents {
    padding: 18px 20px;
}

.product-contents h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.product-contents p {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.5;
}

/* Single Product Details Page */
.single-product-page {
    padding: 70px 0;
    background: #fff;
}

.product-top-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 50px;
    padding: 35px;
    background: #fff;
    border: 1px solid #e7e7e7;
}

.product-top-image img {
    width: 100%;
    height: 240px;
    object-fit: contain;
}

.product-top-content h1 {
    margin-bottom: 15px;
    color: var(--laboix-black);
    font-size: 36px;
    font-weight: 700;
}

.product-top-content p {
    margin-bottom: 20px;
    color: var(--laboix-text);
    font-size: 17px;
    line-height: 1.7;
}

.product-details-box {
    background: #fff;
    border: 1px solid #e7e7e7;
}

.product-details-tab {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--laboix-secondary, #0f86ba);
    color: #fff;
    font-weight: 700;
}

.product-details-content {
    padding: 35px;
}

.product-details-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

.product-details-table th,
.product-details-table td {
    padding: 16px 20px;
    border: 1px solid #e7e7e7;
    font-size: 17px;
    text-align: left;
}

.product-details-table th {
    width: 35%;
    color: var(--laboix-black);
    font-weight: 600;
}

.product-details-table td {
    color: var(--laboix-text);
}

.product-description p {
    margin-bottom: 0;
}

/* Product Quotation Popup */
.product-enquiry-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.product-enquiry-popup.active {
    display: block;
}

.product-enquiry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 35, 0.72);
    backdrop-filter: blur(3px);
}

.product-enquiry-box {
    position: relative;
    z-index: 2;
    max-width: 620px;
    width: calc(100% - 30px);
    max-height: calc(100vh - 70px);
    margin: 35px auto;
    padding: 0;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.product-enquiry-box h3 {
    margin: 0;
    padding: 24px 34px;
    background: var(--laboix-base, #003b49);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.product-popup-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    line-height: 30px;
    cursor: pointer;
}

.product-popup-close:hover {
    background: var(--laboix-primary, #f15b43);
    border-color: var(--laboix-primary, #f15b43);
}

.product-enquiry-box .wpcf7 {
    padding: 30px 34px 34px;
}

body.popup-open {
    overflow: hidden;
}

/* Product Popup Contact Form Grid */
.custom-product-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.custom-product-form .half-field {
    grid-column: span 1;
}

.custom-product-form .full-field {
    grid-column: 1 / -1;
}

.custom-product-form input,
.custom-product-form textarea {
    width: 100%;
    height: 52px;
    padding: 12px 16px;
    border: 1px solid #e5e8ec;
    background: #fff;
    border-radius: 6px;
    color: var(--laboix-black, #003b49);
    font-size: 15px;
    outline: none;
}

.contact-one__content__thumb img {
    margin-bottom: 20px;
    max-width: stretch;
    width: 300px;
}

.about-two__items {
    position: static;
}

.contact-one__form textarea {
    height: 200px;
    resize: vertical;
}

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

.custom-product-form input[readonly] {
    background: #f3f7f8;
    border-color: #dce5e8;
    color: var(--laboix-black, #003b49);
    font-weight: 600;
}

.custom-product-form input:focus,
.custom-product-form textarea:focus {
    border-color: var(--laboix-base, #003b49);
}

.custom-product-form .laboix-btn,
.custom-product-form input[type="submit"] {
    width: 100%;
    border: none;
    text-align: center;
    justify-content: center;
    cursor: pointer;
}

/* Responsive */
@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }

    .main-slider-one__bg {
        height: 750px;
    }

    .main-slider-one__title {
        font-size: 48px;
    }

    .contact-two__content {
        margin-left: 60px;
        margin-right: 80px;
        padding: 40px;
    }

    .about-two__thumb__item.about-two__thumb__item--two img {
        height: 280px;
    }

    .join-us-tow {
        padding-top: 80px;
    }

    .about-two .row .col-lg-6 {
        display: flex;
        align-items: center;
    }

    .funfact-one__inner {
        padding: 0 30px;
    }

    .main-menu .main-menu__list li ul {
        min-width: 250px;
    }

    #menu-item-2878 > a::after {
        content: "\f078";
        margin-left: 5px;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
    }
}

@media (max-width: 1300px) {
    .main-header__inner {
        padding: 0;
    }

    .faq-page__accordion .accrodion-title {
        padding-right: 50px;
    }

    .faq-page__accordion .accrodion-content .inner {
        padding: 0 30px 20px;
    }

    .contact-two__content {
        padding: 30px;
    }

    .faq-two__inner {
        padding: 30px 20px;
    }

    .contact-two {
        padding: 50px 0;
    }

    .choose-us-two {
        padding-top: 30px;
    }

    .service-page {
        padding: 50px 0;
    }

    .funfact-one {
        padding-bottom: 40px;
    }
}

@media (min-width: 992px) {
    .faq-two__image img {
        height: 100%;
    }
}

@media (max-width: 991px) {
    .join-us-tow {
        padding-top: 60px;
    }

    .contact-one {
        padding: 60px 0;
    }

    .contact-one__content {
        max-width: 100%;
    }

    .contact-one__content__social {
        margin-bottom: 0;
    }

    .main-slider-one__item {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .main-slider-one__title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .contact-two__content__text {
        font-size: 14px;
    }

    .join-us-tow {
        padding-top: 50px;
    }

    .contact-one {
        padding: 50px 0;
    }

    .main-slider-one__title {
        font-size: 28px;
    }

    .product-top-card {
        grid-template-columns: 1fr;
    }

    .product-top-content h1 {
        font-size: 28px;
    }

    .product-details-content {
        padding: 24px 18px;
    }

    .product-details-table th,
    .product-details-table td {
        display: block;
        width: 100%;
    }

    .product-enquiry-box {
        margin: 20px auto;
        max-height: calc(100vh - 40px);
    }

    .product-enquiry-box h3 {
        padding: 22px;
        font-size: 24px;
    }

    .product-enquiry-box .wpcf7 {
        padding: 24px 22px;
    }

    .custom-product-form {
        grid-template-columns: 1fr;
    }

    .custom-product-form .half-field,
    .custom-product-form .full-field {
        grid-column: 1 / -1;
    }
}

/* Responsive only for product filter form */
@media (max-width: 768px) {
    .product-filter-form {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 15px;
    }

    .product-filter-form select,
    .product-filter-form input {
        width: 100%;
        min-width: 100%;
    }

    .product-filter-form button,
    .product-filter-form .reset-btn {
        width: 100%;
        padding: 12px 18px;
        background: #001a35;
        color: #fff;
        border-radius: 6px;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: normal;
        border: none;
        text-decoration: none;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .product-filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .product-filter-form button,
    .product-filter-form .reset-btn {
        padding: 10px 16px;
        font-size: 15px;
    }
}