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

/* ==========================================================================
   LocalGadget Category Showcase - Matching User Reference UI
   ========================================================================== */

.lg-cat-section-container {
    width: 100%;
    margin: 15px 0 35px 0;
    box-sizing: border-box;
}

/* Header */
.lg-cat-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 20px;
}

.lg-cat-header-left {
    flex: 1;
}

.lg-cat-main-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.6px;
    font-family: inherit;
}

.lg-cat-title-blue {
    color: #3b82f6 !important;
}

.lg-cat-title-bar {
    width: 52px;
    height: 4.5px;
    background-color: #3b82f6;
    border-radius: 99px;
    margin-top: 6px;
    margin-bottom: 12px;
}

.lg-cat-sub-text {
    font-size: 16px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    font-weight: 400;
}

.lg-cat-header-right {
    display: flex;
    align-items: center;
    padding-bottom: 6px;
}

.lg-cat-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lg-cat-view-all-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6 !important;
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
    transform: translateX(3px);
}

/* 4x2 Grid */
.lg-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Card */
.lg-cat-card {
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    border-radius: 22px;
    padding: 34px 18px 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.lg-cat-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(59, 130, 246, 0.05);
}

/* Inner Squircle */
.lg-cat-icon-squircle {
    width: 72px;
    height: 72px;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.lg-cat-card:hover .lg-cat-icon-squircle {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
}

.lg-cat-icon-squircle svg {
    transition: transform 0.3s ease;
}

.lg-cat-card-title {
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
    transition: color 0.25s ease;
    max-width: 140px;
}

.lg-cat-card:hover .lg-cat-card-title {
    color: #3b82f6 !important;
}

/* Featured Category Tabs */
.wd-products-tabs .products-tabs-title {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.wd-products-tabs .products-tabs-title li a {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    transition: all 0.25s ease !important;
    background: #f1f5f9;
    color: #475569 !important;
}

.wd-products-tabs .products-tabs-title li.wd-active a,
.wd-products-tabs .products-tabs-title li a:hover {
    background: #2e6bc6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(46, 107, 198, 0.25);
}

/* Product Card Polish */
.wd-product {
    border-radius: 12px !important;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 1px solid rgba(0,0,0,0.04);
}

.wd-product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.09) !important;
}

.wd-product .product-element-top {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .lg-cat-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .lg-cat-card {
        padding: 24px 12px 20px 12px;
        border-radius: 18px;
    }
    .lg-cat-icon-squircle {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        margin-bottom: 12px;
    }
    .lg-cat-main-title {
        font-size: 30px !important;
    }
}

@media (max-width: 640px) {
    .lg-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .lg-cat-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .lg-cat-main-title {
        font-size: 26px !important;
    }
    .lg-cat-card {
        padding: 22px 10px 18px 10px;
        border-radius: 16px;
    }
}
