/* ==========================================================================
   Walker World — ShopWP Collections & Catalog-Only Stylesheet
   Enqueued strictly on wps_collections + /brands/, /shop/, /products/, /collections/.
   Zero bytes on /, /blog/, /about/, /contact/, Legal, or PDPs.
   ========================================================================== */

/* Site-width centering container matching Classic Avada #main (1300px centered, prevents full-bleed stretch on Brand/Collection pages) */
.wps_collections-template-default .wps-collections-wrapper.wps-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto 50px auto;
    padding: 0 30px;
    box-sizing: border-box;
}

/* Brands Page (#6665) Read More Styling (migrated from Customizer #6601) */
#brand-page-title .yrm-inner-content-wrapper {
    color: rgb(33, 35, 38);
    font-size: 20px;
    line-height: 32px;
    letter-spacing: normal;
}
#brand-page-title .yrm-btn-wrapper {
    text-align: right !important;
}
#brand-page-title .yrm-toggle-expand {
    width: 130px;
    margin: 20px 0;
    background: #008B85;
    color: #fff;
    padding: 25px 0;
    text-transform: capitalize;
    font-weight: 600 !important;
    text-align: center !important;
    float: none !important;
    vertical-align: middle;
    border-radius: 5px;
    border: none !important;
    transition: color .2s ease-in;
}
#brand-page-title .yrm-toggle-expand:hover,
#seo-category-content .yrm-toggle-expand:focus {
    color: rgb(218, 218, 218);
}

/* CLS guard while ShopWP React catalog hydrates */
.wps_collections-template-default .wps-items-wrapper,
.wps_collections-template-default #wp-main-block {
    min-height: 520px;
}

/* Collection Grid */
.wps_collections-template-default ul.swp-items.wps-items.wps-items-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 0 -15px;
    column-gap: 0 !important;
}
.wps_collections-template-default ul.swp-items.wps-items.wps-items-list li.swp-item {
    width: 25% !important;
    padding: 0 15px !important;
    box-sizing: border-box;
}

/* Category Read More / Read Less Toggle */
div#show-more,
div#show-less {
    text-align: left;
    margin: 20px 0;
}
div#show-more a,
div#show-less a {
    background: #008b85;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
}
div#show-more a:hover,
div#show-less a:hover {
    color: #d7d7d7;
}

@media screen and (max-width: 800px) {
    .wps_collections-template-default ul.swp-items.wps-items.wps-items-list li.swp-item {
        width: 50% !important;
    }
}

@media screen and (max-width: 600px) {
    .product-cat .awb-title .awb-title-heading,
    .product-cat .fusion-title .fusion-title-heading,
    .wps-items .wps-component-collection-title .wps-collection-title {
        font-size: 20px !important;
        line-height: 30px !important;
    }
    .product-cat .awb-title.awb-title-center,
    .product-cat .fusion-title.fusion-title-center,
    .wps-items .wps-component-collection-title {
        padding: 12px 60px 12px 20px !important;
    }
}

@media screen and (max-width: 500px) {
    .wps_collections-template-default ul.swp-items.wps-items.wps-items-list li.swp-item {
        width: 100% !important;
        padding: 0 !important;
    }
    #wp-main-block .extended-content p,
    #wp-main-block .top-content p,
    #wp-main-block .extended-content ul,
    #wp-main-block .extended-content li,
    #wp-main-block .top-content ul,
    #wp-main-block .top-content li {
        font-size: 16px;
        line-height: 1.6;
    }
}
