/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.gpc-category-widget {
    --gpc-primary: #ff653f;
    --gpc-primary-light: #ffc85c;
    --gpc-dark: #1e104e;
    --gpc-secondary: #452e5a;
    --gpc-white: #ffffff;
    --gpc-muted: #666666;
    --gpc-border: #eeeeee;
    --gpc-soft-orange: #fff3ee;
    --gpc-shadow: 0 10px 30px rgba(30, 16, 78, 0.08);
    --gpc-shadow-strong: 0 18px 50px rgba(30, 16, 78, 0.16);

    position: relative;
    width: 100%;
    max-width: 1080px;
    z-index: 1000;
}

.gpc-category-widget *,
.gpc-category-widget *::before,
.gpc-category-widget *::after {
    box-sizing: border-box;
}

.gpc-category-widget a {
    text-decoration: none;
}

.gpc-category-toggle {
    width: 290px;
    height: 52px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gpc-primary), var(--gpc-primary-light));
    color: var(--gpc-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    font-weight: 900;
    font-size: 15px;
    padding: 0 16px;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(255, 101, 63, 0.28);
    transition: 0.2s ease;
}

.gpc-category-toggle:hover {
    transform: translateY(-2px);
}

.gpc-toggle-text {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gpc-toggle-chevron {
    transition: 0.2s ease;
}

.gpc-category-widget.is-open .gpc-toggle-chevron {
    transform: rotate(180deg);
}

.gpc-dropdown {
    position: absolute;
    top: calc(100% + 30px);
    right: 0;
    display: none;
    align-items: flex-start;
    gap: 20px;
    z-index: 2000;
}

.gpc-category-widget.is-open .gpc-dropdown {
    display: flex;
}

.gpc-category-card {
    width: 290px;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    background: var(--gpc-white);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--gpc-shadow);
    flex: 0 0 290px;
}

.gpc-category-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    color: var(--gpc-dark);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gpc-border);
}

.gpc-category-heading i {
    color: var(--gpc-primary);
}

.gpc-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gpc-category-item + .gpc-category-item {
    border-top: 1px solid #f1f1f1;
}

.gpc-category-link {
    width: 100%;
    min-height: 50px;
    padding: 0 6px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333333;
    font-size: 14px;
    transition: 0.2s ease;
}

.gpc-category-link:hover,
.gpc-category-item.is-active .gpc-category-link {
    color: var(--gpc-primary);
    background: var(--gpc-soft-orange);
    padding-right: 12px;
    padding-left: 12px;
}

.gpc-category-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gpc-category-info i {
    color: var(--gpc-secondary);
}

.gpc-category-item.is-active .gpc-category-info i,
.gpc-category-link:hover .gpc-category-info i {
    color: var(--gpc-primary);
}

.gpc-mega-panel {
    width: 760px;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    background: var(--gpc-white);
    border-radius: 22px;
    padding: 24px;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    box-shadow: var(--gpc-shadow-strong);
    border: 1px solid rgba(255, 101, 63, 0.12);
    flex: 0 0 760px;
}

.gpc-mega-panel.is-open {
    display: grid;
}

.gpc-mega-col h3 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gpc-border);
    color: var(--gpc-dark);
    font-size: 15px;
    line-height: 1.8;
}

.gpc-mega-col h3 a {
    color: var(--gpc-dark);
}

.gpc-mega-col > a {
    display: block;
    padding: 8px 0;
    color: var(--gpc-muted);
    font-size: 14px;
    line-height: 1.8;
    transition: 0.2s ease;
}

.gpc-mega-col > a:hover {
    color: var(--gpc-primary);
    transform: translateX(-4px);
}

.gpc-mega-banner {
    grid-column: span 3;
    margin-top: 6px;
    border-radius: 18px;
    padding: 18px;
    background:
            radial-gradient(circle at left, rgba(255, 200, 92, 0.6), transparent 35%),
            linear-gradient(135deg, var(--gpc-soft-orange), #fff9e9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 101, 63, 0.12);
}

.gpc-mega-banner strong {
    display: block;
    color: var(--gpc-dark);
    margin-bottom: 6px;
    font-size: 15px;
}

.gpc-mega-banner span {
    color: var(--gpc-muted);
    font-size: 13px;
    line-height: 1.9;
}

.gpc-mega-banner a {
    background: var(--gpc-primary);
    color: var(--gpc-white);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.gpc-mega-banner a:hover {
    background: var(--gpc-dark);
}

.gpc-mobile-mega {
    display: none;
}

@media (max-width: 1100px) {
    .gpc-mega-panel {
        width: 620px;
        flex-basis: 620px;
    }
}

@media (max-width: 992px) {
    .gpc-category-toggle {
        width: 100%;
    }

    .gpc-dropdown {
        position: static;
        margin-top: 12px;
        display: none;
        width: 100%;
    }

    .gpc-category-widget.is-open .gpc-dropdown {
        display: block;
    }

    .gpc-category-card {
        width: 100%;
        height: auto;
        max-height: none;
        overflow: visible;
        flex: none;
    }

    .gpc-mega-panel {
        display: none !important;
    }

    .gpc-mobile-mega {
        display: none;
        margin: 8px 0 12px;
        padding: 14px;
        border-radius: 16px;
        background: #fafafa;
        border: 1px solid var(--gpc-border);
    }

    .gpc-category-item.is-open .gpc-mobile-mega {
        display: block;
    }

    .gpc-mobile-group {
        margin-bottom: 12px;
    }

    .gpc-mobile-group h3 {
        margin: 0 0 8px;
        font-size: 14px;
        line-height: 1.8;
    }

    .gpc-mobile-group h3 a {
        color: var(--gpc-dark);
    }

    .gpc-mobile-group > a {
        display: block;
        color: var(--gpc-muted);
        font-size: 13px;
        padding: 7px 0;
    }
}
.wd-page-content .wd-content-layout{
    padding: 0!important;
}

.gpc-category-widget-static {
    position: relative;
    width: 100%;
    max-width: none;
    z-index: 100;
}

.gpc-category-widget-static .gpc-dropdown {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.gpc-category-widget-static .gpc-category-card {
    height: 500px;
    max-height: 500px;
    overflow: hidden;
}
.gpc-category-widget-static .gpc-mega-panel {
    height: 500px;
    max-height: 500px;
}
.searchform  {
    max-width: 600px;
    margin: 0 auto;
}

ul>* , a , p , b , strong , span{
    font-family: 'body-font'!important;
}