/* WEFLY WooCommerce Product Display - scoped component styles */
.wefly-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.wefly-product-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #ececec;overflow:hidden;transition:background-color .25s ease,box-shadow .25s ease,transform .25s ease}
.wefly-product-card:hover{box-shadow:0 12px 30px rgba(20,30,50,.12);transform:translateY(-3px)}
.wefly-product-card__image{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;padding:22px;background:#fff;overflow:hidden;border-bottom:1px solid #ededed}
.wefly-product-card__image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .35s ease}
.wefly-product-card:hover .wefly-product-card__image img{transform:scale(1.035)}
.wefly-product-card__body{display:flex;flex:1;flex-direction:column;padding:25px 26px 28px;gap:18px}
.wefly-product-card__title{margin:0;font-size:20px;line-height:1.35;font-weight:700;color:#252525}
.wefly-product-card__title a{color:inherit;text-decoration:none;transition:color .2s ease}
.wefly-product-card__price{font-size:16px;color:#555}
.wefly-product-card__actions{display:flex;gap:6px;margin-top:auto}
.wefly-product-card__button{display:flex;flex:1;min-height:43px;align-items:center;justify-content:center;padding:10px 12px;background:#f5f5f5;color:#c91620;text-align:center;text-decoration:none;font-size:14px;line-height:1.2;font-weight:500;transition:background-color .2s ease,color .2s ease}
.wefly-product-card__button:hover,.wefly-product-card:hover .wefly-product-card__button{background:#fff;color:#c91620}
.wefly-product-card__button--inquiry{color:#c91620}
.wefly-product-grid__empty{grid-column:1/-1;padding:20px;background:#f7f7f7;color:#555}

/* Product category navigation: inherit the active theme's typography and fill its sidebar column. */
.wefly-category-nav,
.wefly-category-nav *{box-sizing:border-box;font-family:inherit!important}
.wefly-category-nav{display:block;width:100%!important;max-width:none!important;min-width:0;background:#fff;border:1px solid #e8e8e8;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(20,30,50,.07);color:inherit}
.wefly-category-nav__header{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:88px;padding:24px 28px;background:#c91620;color:#fff}
.wefly-category-nav__heading{display:block;margin:0;color:#fff;font-size:24px;line-height:1.25;font-weight:700;letter-spacing:.01em;text-transform:uppercase}
.wefly-category-nav__list{list-style:none!important;margin:0!important;padding:0!important;width:100%}
.wefly-category-nav__item{list-style:none!important;margin:0!important;padding:0!important;width:100%}
.wefly-category-nav__row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:72px;margin:0;padding:0 26px;border:0;border-bottom:1px solid #ececec;background:#fff;transition:background-color .2s ease,border-color .2s ease}
.wefly-category-nav__link{display:flex;flex:1 1 auto;align-items:center;gap:10px;min-width:0;margin:0;padding:20px 0;color:#555d66;text-decoration:none!important;font-size:19px;line-height:1.4;font-weight:400;transition:color .2s ease}
.wefly-category-nav__link:hover{color:#c91620}
.wefly-category-nav__count{flex:0 0 auto;margin-left:auto;color:#8a929a;font-size:13px}
.wefly-category-nav__toggle{display:flex;flex:0 0 34px;width:34px;height:42px;align-items:center;justify-content:center;margin:0;padding:0;border:0!important;background:transparent!important;color:#c91620;cursor:pointer;box-shadow:none!important}
.wefly-category-nav__toggle span{display:block;width:10px;height:10px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);transition:transform .2s ease}
.wefly-category-nav__toggle[aria-expanded="true"] span{transform:rotate(135deg)}
.wefly-category-nav__item.is-active>.wefly-category-nav__row{background:#fff0f0;border-left:5px solid #c91620;padding-left:21px}
.wefly-category-nav__item.is-active>.wefly-category-nav__row .wefly-category-nav__link{color:#c91620;font-weight:700}
.wefly-category-nav__children{width:100%;background:#fafafa}
.wefly-category-nav__list--level-1 .wefly-category-nav__row{min-height:56px;padding-left:46px;border-bottom:1px solid #f0f0f0}
.wefly-category-nav__list--level-1 .wefly-category-nav__link{padding:16px 0;font-size:16px;color:#66717d}
.wefly-category-nav__list--level-2 .wefly-category-nav__row{min-height:50px;padding-left:66px}
.wefly-category-nav__list--level-2 .wefly-category-nav__link{font-size:15px}
.wefly-category-nav__all .wefly-category-nav__link{font-weight:600}
.wefly-category-nav [hidden]{display:none!important}
@media(max-width:1024px){.wefly-category-nav__header{min-height:78px;padding:22px 24px}}
@media(max-width:767px){.wefly-category-nav{width:100%!important;border-radius:14px}.wefly-category-nav__header{min-height:72px;padding:20px}.wefly-category-nav__heading{font-size:21px}.wefly-category-nav__row{min-height:62px;padding:0 20px}.wefly-category-nav__link{font-size:17px}.wefly-category-nav__list--level-1 .wefly-category-nav__row{padding-left:38px}}


/* WEFLY Product Grid: pagination and Products Center CTA */
.wefly-product-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 34px 0 22px;
    clear: both;
}
.wefly-product-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.wefly-product-pagination ul.page-numbers li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wefly-product-pagination .page-numbers a,
.wefly-product-pagination .page-numbers span {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #343a40;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.wefly-product-pagination .page-numbers a:hover,
.wefly-product-pagination .page-numbers .current {
    border-color: #c91620;
    background: #c91620;
    color: #fff;
}
.wefly-products-center-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto 0;
    padding: 0;
}
.wefly-products-center-button {
    display: inline-flex;
    min-width: 190px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 26px;
    border: 1px solid #c91620;
    border-radius: 2px;
    background: #c91620;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.wefly-products-center-button:hover {
    border-color: #a90f18;
    background: #a90f18;
    color: #fff !important;
}
.wefly-products-center-button span {
    font-size: 19px;
    line-height: 1;
}

/* Homepage: keep only 50px below the WEFLY product section.
   This targets the exact Elementor container supplied for this page. */
body.home .elementor-element-c5341a1 {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 50px !important;
    padding-block-end: 50px !important;
    --padding-block-end: 50px;
}
body.home .elementor-element-c5341a1 > .elementor-widget-wefly_woo_product_grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
@media (max-width: 767px) {
    .wefly-product-pagination {
        margin: 26px 0 18px;
    }
    .wefly-product-pagination ul.page-numbers {
        gap: 5px;
    }
    .wefly-product-pagination .page-numbers a,
    .wefly-product-pagination .page-numbers span {
        min-width: 36px;
        min-height: 36px;
        padding: 7px 9px;
    }
    .wefly-products-center-button {
        min-width: 170px;
        min-height: 44px;
    }
}
