/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* === TRUST BOX STYLE ONLY === */
.dfh-trust-box {
    border:1px solid #e5e5e5;
    padding:18px 20px;
    border-radius:8px;
    margin-top:18px;
    background:#fff;
    font-family:inherit;
}

.dfh-trust-box ul {
    list-style:none;
    margin:0;
    padding:0;
}

.dfh-trust-box li {
    display:flex;
    align-items:flex-start;
    margin-bottom:14px;
    font-size:15px;
}

.dfh-trust-box li svg {
    width:22px;
    height:22px;
    min-width:22px;
    margin-right:12px;
    color:#111;
    margin-top:2px;
}

.dfh-trust-box p {
    margin:2px 0 0;
    color:#666;
    font-size:14px;
}

.dfh-rating-title {
    margin-top:18px;
    font-size:16px;
    font-weight:600;
    text-align:center;
}

.dfh-rating-line {
    height:1px;
    background:#dadada;
    margin:6px auto 12px;
    border-radius:2px;
}

.dfh-rating-img {
    margin-top:10px;
    text-align:center;
}

.dfh-rating-img img {
    width:100%;
    max-width:420px;
}
/* === TRUST BOX STYLE ONLY === */

/*  Price Plan css  */
.plan-buttons-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.plan-btn {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

/* Button Colors */
.plan1 { background: #007bff; }
.plan2 { background: #28a745; }
.plan3 { background: #ff9800; }

/* Hover */
.plan-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-3px);
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .plan-btn {
        flex: 100%;
    }
}
/*  Price Plan css  */

/*  Guarantee Badge to Featured Product Image */
.woocommerce-product-gallery__image img.fxbundle-badge {
    
    height: auto !important;
    border-radius: 0 !important;
}

/* Badge main styling */
.fxbundle-badge {
    position: absolute !important;
    bottom: -15px !important;
    right: -10px !important;
    width: 180px !important;   /* Desktop size */
    height: auto !important;
    z-index: 999 !important;
    transition: .3s ease-in-out;
    pointer-events: none;       /* Prevents click blocking */
}

/* Hover zoom effect */
.fxbundle-badge:hover {
    transform: scale(1.05);
}

/* Responsive mobile view */
@media (max-width: 768px) {
    .fxbundle-badge {
        width: 130px !important; 
        bottom: -22px !important;
        right: -1px !important;
    }
}
/*  Guarantee Badge to Featured Product Image */

/* Hide Perfecty default popup */
/* ---------- GP PUSH POPUP ---------- */
#gp-push-popup-wrap {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.4);
}

#gp-push-popup {
    background: #fff;
    border-radius: 12px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 250ms ease;
    position: relative;
    overflow: hidden;
}

#gp-push-popup.gp-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gp-content {
    display: flex;
    gap: 15px;
    padding: 20px;
}

.gp-left { width: 60px; display:flex; align-items:center; justify-content:center; }
.gp-icon { font-size: 32px; }

.gp-right { flex:1; }
.gp-title { font-size: 18px; font-weight:700; margin:0 0 8px; color:#111; }
.gp-desc { font-size: 14px; margin:0 0 12px; color:#555; }
.gp-actions { display:flex; gap:8px; margin-bottom:8px; }
.gp-btn { border-radius:8px; border:none; padding:10px 14px; cursor:pointer; font-weight:600; }
.gp-allow { background:#2ecc71; color:#fff; flex:1; }
.gp-later { background:transparent; border:1px solid #ddd; flex:1; color:#333; }
.gp-small { font-size:12px; color:#777; margin:0; }

.gp-close { position:absolute; top:10px; right:10px; font-size:16px; cursor:pointer; border:none; background:transparent; color:#555; }

@media(max-width:480px){
    #gp-push-popup { width: 95%; border-radius:12px 12px 0 0; }
    .gp-content { flex-direction: column; gap:12px; }
    .gp-left { width: 100%; }
    .gp-icon { font-size:28px; }
    .gp-title { font-size:16px; }
    .gp-desc { font-size:13px; }
}

/* Dark mode */
@media(prefers-color-scheme: dark){
    #gp-push-popup { background:#111; color:#e6eef8; box-shadow:0 20px 50px rgba(0,0,0,0.6); }
    .gp-desc { color:#cbd5e1; }
    .gp-later { border-color:rgba(255,255,255,0.15); color:#e6eef8; }
}

@media(max-width:480px){
    #gp-push-popup { width: 95%; border-radius:12px 12px 0 0; }
    .gp-content { flex-direction: column; gap:12px; } /* buttons ke liye flex column avoid kiya */
    .gp-left { width: 100%; display:flex; justify-content:center; }
    .gp-icon { font-size:28px; }
    .gp-right { width: 100%; text-align: center; } /* TEXT CENTER ALIGN */
    .gp-title { font-size:16px; margin-bottom:6px; }
    .gp-desc { font-size:13px; margin-bottom:12px; }
    .gp-small { text-align: center; width: 100%; margin-top:6px; }

    .gp-actions { flex-direction: row; gap:8px; width: 100%; justify-content:center; } /* buttons side by side */
    .gp-allow, .gp-later { width: auto; text-align: center; flex: 1; }
}
/* Hide Perfecty default popup */


/* =====================================================
   WOODMART – SAFE MODERN CONTENT TABLES
   ONLY for Blog Posts & Single Product Description
   NO impact on Cart / Checkout / Woo tables
===================================================== */

/* Blog post tables */
.single-post .entry-content table:not(.shop_table),
.single-post .entry-content table:not([class*="woocommerce"]),

/* Single product description tables only */
.single-product .woocommerce-Tabs-panel--description table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

/* Table Head */
.single-post .entry-content table thead th,
.single-product .woocommerce-Tabs-panel--description table thead th {
    background: #111111;
    color: #ffffff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

/* Table Body */
.single-post .entry-content table tbody td,
.single-product .woocommerce-Tabs-panel--description table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eaeaea;
    color: #333333;
}

/* Zebra Rows */
.single-post .entry-content table tbody tr:nth-child(even),
.single-product .woocommerce-Tabs-panel--description table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

/* Hover */
.single-post .entry-content table tbody tr:hover,
.single-product .woocommerce-Tabs-panel--description table tbody tr:hover {
    background: #f1f1f1;
}

/* ================= MOBILE SCROLL ================= */
@media (max-width: 768px) {

    .single-post .entry-content table,
    .single-product .woocommerce-Tabs-panel--description table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .single-post .entry-content table::-webkit-scrollbar,
    .single-product .woocommerce-Tabs-panel--description table::-webkit-scrollbar {
        height: 6px;
    }

    .single-post .entry-content table::-webkit-scrollbar-thumb,
    .single-product .woocommerce-Tabs-panel--description table::-webkit-scrollbar-thumb {
        background: #cccccc;
        border-radius: 10px;
    }
}




