/*
Theme Name: WP Coupon Pro Child
Template: wp-coupon-pro
Author: Custom
Description: Child theme cho WP Coupon Pro - chen How to apply + FAQ tu sinh
Version: 1.4
Text Domain: wp-coupon-pro-child
*/

/* ============ HOW TO APPLY ============ */
.store-how-to-apply {
    margin-top: 35px;
    padding: 25px 30px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 8px;
}
.store-how-to-apply h2 {
    font-size: 22px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #741fa2;
    color: #2d3538;
}
.store-how-to-apply p {
    margin: 0 0 14px;
    line-height: 1.7;
    color: #444;
}
.store-how-to-apply p:last-child { margin-bottom: 0; }
.store-how-to-apply strong { color: #741fa2; }

/* ============ FAQ ============ */
.store-faq {
    margin-top: 35px;
    padding: 25px 30px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
}
.store-faq h2 {
    font-size: 22px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #741fa2;
    color: #2d3538;
}
.store-faq .faq-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}
.store-faq .faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.store-faq .faq-q { margin: 0 0 8px; color: #2d3538; line-height: 1.5; }
.store-faq .faq-q strong { color: #741fa2; }
.store-faq .faq-a { margin: 0; color: #555; line-height: 1.7; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .store-how-to-apply,
    .store-faq { padding: 18px 20px; }
    .store-how-to-apply h2,
    .store-faq h2 { font-size: 19px; }
}

/* ============ ABOUT US ============ */
.store-about-us {
    margin-top: 35px;
    padding: 25px 30px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
}
.store-about-us h2 {
    font-size: 22px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #741fa2;
    color: #2d3538;
}
.store-about-us p {
    margin: 0 0 14px;
    line-height: 1.7;
    color: #444;
}
.store-about-us p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .store-about-us { padding: 18px 20px; }
    .store-about-us h2 { font-size: 19px; }
}

/* ============ ẨN khối "About [store]" ở sidebar (giữ field, chỉ ẩn hiển thị) ============ */
.store-about-title,
.store-about-title + .inner {
    display: none !important;
}

/* ============ ÉP HIỆN nút Get Code / Get Deal trên MOBILE ============ */
@media (max-width: 782px) {
    .coupon-detail.coupon-button-type {
        display: block !important;
        text-align: center;
        margin-top: 10px;
    }
    .coupon-detail .coupon-button,
    .coupon-detail .coupon-button.coupon-code,
    .coupon-detail .coupon-button.coupon-deal {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
