/*
 Theme Name:   WoodMart Child
 Description:  WoodMart Child Theme
 Author:       XTemos
 Author URI:   https://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* =========================================================
   MST PRODUCT EXTRA
========================================================= */

.mst-product-extra {
    width: 100%;
    margin: 45px 0 60px;
}


/* =========================================================
   TWO COLUMN
========================================================= */

.mst-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}


/* =========================================================
   CARD
========================================================= */

.mst-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
    box-sizing: border-box;
}


.mst-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}


/* =========================================================
   CARD TITLE
========================================================= */

.mst-card-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    position: relative;
}


.mst-card-title:after {
    content: "";
    width: 55px;
    height: 3px;
    background: #e30613;
    display: block;
    margin: 10px auto 0;
    border-radius: 50px;
}


/* =========================================================
   FEATURES
========================================================= */

.mst-features {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
}


.mst-features li {
    position: relative;
    list-style: none !important;
    padding: 12px 15px 12px 45px;
    margin: 0 !important;
    line-height: 1.6;
    border-bottom: 1px solid #ececec;
    box-sizing: border-box;
}


.mst-features li:last-child {
    border-bottom: none;
}


.mst-features li:nth-child(odd) {
    background: #ffffff;
}


.mst-features li:nth-child(even) {
    background: #f7f7f7;
}


/* BLUE CHECK */

.mst-features li:before {
    content: "✓" !important;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0872ba !important;
    background-color: #0872ba !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   COMMON REPAIR USES
   +
   COMPATIBLE DEVICES
========================================================= */

.mst-info-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
}


.mst-info-list li {
    position: relative;
    list-style: none !important;
    padding: 12px 15px 12px 45px;
    margin: 0 !important;
    line-height: 1.6;
    border-bottom: 1px solid #ececec;
    box-sizing: border-box;
}


.mst-info-list li:last-child {
    border-bottom: none;
}


.mst-info-list li:nth-child(odd) {
    background: #ffffff;
}


.mst-info-list li:nth-child(even) {
    background: #f7f7f7;
}


/* BLUE CHECK */

.mst-info-list li:before {
    content: "✓" !important;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0872ba !important;
    background-color: #0872ba !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.mst-spec-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}


.mst-spec-table tr:nth-child(even) {
    background: #fafafa;
}


.mst-spec-table th,
.mst-spec-table td {
    border: 1px solid #ececec !important;
    padding: 12px !important;
    text-align: left !important;
    vertical-align: middle;
}


.mst-spec-table th {
    width: 40%;
    background: #f5f5f5;
    font-weight: 700;
}


/* =========================================================
   FAQ TITLE
========================================================= */

.mst-section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin: 50px 0 30px;
    position: relative;
    color: #222;
}


.mst-section-title:after {
    content: "";
    width: 70px;
    height: 3px;
    background: #e30613;
    display: block;
    margin: 10px auto 0;
    border-radius: 50px;
}


/* =========================================================
   FAQ TWO COLUMN GRID
========================================================= */

.mst-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
    align-items: start;
}


.mst-faq-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}


/* =========================================================
   FAQ ACCORDION
========================================================= */

.mst-accordion {
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    box-sizing: border-box;
}


.mst-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 60px 16px 18px;
    position: relative;
    font-weight: 600;
    line-height: 1.5;
    background: #f7f7f7;
    transition: background .3s ease;
}


.mst-accordion summary::-webkit-details-marker {
    display: none;
}


.mst-accordion summary:hover {
    background: #eeeeee;
}


/* FAQ PLUS */

.mst-accordion summary::after {
    content: "+" !important;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0872ba !important;
    background-color: #0872ba !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 400;
}


/* FAQ MINUS */

.mst-accordion[open] summary::after {
    content: "−" !important;
}


/* FAQ ANSWER */

.mst-answer {
    border-top: 1px solid #e5e5e5;
    padding: 18px;
    line-height: 1.8;
    background: #fff;
}


.mst-answer p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   WOOCOMMERCE PRODUCT TABS
========================================================= */

.woocommerce div.product .woocommerce-tabs {
    width: 100%;
}


.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin-bottom: 30px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .mst-two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .mst-product-extra {
        margin: 30px 0 40px;
    }


    .mst-card {
        padding: 18px;
    }


    .mst-card-title {
        font-size: 21px;
    }


    .mst-section-title {
        font-size: 25px;
        margin: 40px 0 25px;
    }


    /*
     * FAQ becomes one column on mobile.
     */

    .mst-faq-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }


    .mst-spec-table th,
    .mst-spec-table td {
        padding: 10px !important;
        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .mst-card {
        padding: 15px;
        border-radius: 9px;
    }


    .mst-features li,
    .mst-info-list li {
        padding: 11px 10px 11px 40px;
        font-size: 14px;
    }


    .mst-features li:before,
    .mst-info-list li:before {
        left: 10px;
    }


    .mst-section-title {
        font-size: 22px;
    }


    .mst-accordion summary {
        padding: 14px 55px 14px 15px;
        font-size: 14px;
    }


    .mst-answer {
        padding: 15px;
        font-size: 14px;
    }

}