/* =========================================================
   PERSIB COMMUNITY ZONE — MERCHANDISE
   WooCommerce shop styling only. Product/order engine unchanged.
   ========================================================= */

.pcz-merchandise-page{padding-top:0}

.pcz-merchandise-hero{
    position:relative;
    overflow:hidden;
    margin:0 0 28px;
    min-height:360px;
    background:linear-gradient(118deg,#071a52 0%,#0b2f86 55%,#1457b8 100%);
    color:#fff;
}
.pcz-merchandise-hero::before{
    content:"";
    position:absolute;
    width:520px;height:520px;
    right:-180px;top:-210px;
    border:70px solid rgba(255,255,255,.08);
    border-radius:50%;
}
.pcz-merchandise-hero::after{
    content:"";
    position:absolute;
    left:42%;bottom:-120px;
    width:430px;height:240px;
    background:rgba(255,210,0,.08);
    transform:skewX(-28deg);
}
.pcz-merchandise-hero-inner{
    position:relative;
    z-index:1;
    min-height:360px;
    max-width:1440px;
    margin:0 auto;
    padding:58px 6%;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.pcz-merchandise-hero-copy{max-width:650px}
.pcz-merchandise-kicker{
    display:inline-block;
    margin-bottom:12px;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.18em;
    color:#f6cf27;
}
.pcz-merchandise-hero h1{
    margin:0 0 16px;
    font-size:clamp(2.6rem,5vw,5rem);
    line-height:.92;
    letter-spacing:-.045em;
    color:#fff;
}
.pcz-merchandise-hero h1 strong{color:#f6cf27}
.pcz-merchandise-hero p{
    max-width:560px;
    margin:0 0 26px;
    color:rgba(255,255,255,.86);
    font-size:1rem;
}
.pcz-merchandise-hero-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:13px 20px;
    background:#f6cf27;
    color:#071a52 !important;
    font-weight:800;
    letter-spacing:.06em;
    transition:.25s ease;
}
.pcz-merchandise-hero-btn:hover{transform:translateY(-2px);background:#fff;color:#071a52 !important}
.pcz-merchandise-hero-mark{
    font-size:clamp(3rem,8vw,8rem);
    font-weight:900;
    letter-spacing:-.08em;
    color:rgba(255,255,255,.09);
    transform:rotate(-8deg);
    user-select:none;
}

.pcz-merchandise-page>.section-header{display:none}
.pcz-merchandise-categories{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin:0 0 18px;
    padding:4px 0;
}
.pcz-merch-cat{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:8px 15px;
    border:1px solid #dbe2ef;
    background:#fff;
    color:#17356f !important;
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.05em;
    transition:.2s ease;
}
.pcz-merch-cat:hover,.pcz-merch-cat.is-active{
    background:#0b2f86;
    border-color:#0b2f86;
    color:#fff !important;
}
.pcz-merchandise-page .fashionstore-shop-filter-bar{margin-top:10px}
.pcz-merchandise-page .fashionstore-shop-products{width:100%}
.pcz-merchandise-page .pcz-merchandise-grid{margin-top:12px !important;gap:22px !important}
.pcz-merchandise-page .product-card{
    position:relative;
    overflow:hidden;
    border:1px solid #e1e6ef;
    background:#fff;
    box-shadow:0 6px 22px rgba(8,35,88,.07);
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.pcz-merchandise-page .product-card:hover{
    transform:translateY(-5px);
    border-color:#b9c8e5;
    box-shadow:0 14px 32px rgba(8,35,88,.13);
}
.pcz-merchandise-page .product-img-wrap{background:#f5f7fb}
.pcz-merchandise-page .product-img-wrap img{transition:transform .35s ease}
.pcz-merchandise-page .product-card:hover .product-img-wrap img{transform:scale(1.025)}
.pcz-merchandise-page .product-info{padding:15px 16px 18px}
.pcz-merchandise-page .product-category{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:#71809d}
.pcz-merchandise-page .product-title{font-size:1rem;line-height:1.35;margin:5px 0 9px}
.pcz-merchandise-page .product-title a:hover{color:#0b2f86}
.pcz-merchandise-page .product-price{color:#0b2f86;font-weight:800}
.pcz-merchandise-page .badge{background:#0b2f86 !important;color:#fff !important}
.pcz-merchandise-page .product-actions .btn-primary,
.pcz-merchandise-page .product-actions .btn.btn-primary{
    background:#0b2f86 !important;
    border-color:#0b2f86 !important;
    color:#fff !important;
}
.pcz-merchandise-page .product-actions .btn-primary:hover,
.pcz-merchandise-page .product-actions .btn.btn-primary:hover{
    background:#f6cf27 !important;
    border-color:#f6cf27 !important;
    color:#071a52 !important;
}

@media(max-width:900px){
    .pcz-merchandise-hero-inner{min-height:320px;padding:48px 6%}
    .pcz-merchandise-hero-mark{font-size:5rem}
}
@media(max-width:600px){
    .pcz-merchandise-hero{min-height:330px}
    .pcz-merchandise-hero-inner{min-height:330px;padding:42px 22px}
    .pcz-merchandise-hero-mark{display:none}
    .pcz-merchandise-hero h1{font-size:2.9rem}
    .pcz-merchandise-hero p{font-size:.92rem}
    .pcz-merchandise-categories{gap:7px}
    .pcz-merch-cat{padding:7px 11px;font-size:.68rem}
    .pcz-merchandise-page .pcz-merchandise-grid{grid-template-columns:repeat(2,1fr) !important;gap:12px !important}
    .pcz-merchandise-page .product-info{padding:11px 10px 14px}
    .pcz-merchandise-page .product-title{font-size:.86rem}
}
@media(max-width:420px){
    .pcz-merchandise-page .pcz-merchandise-grid{grid-template-columns:1fr !important}
}

/* Remove the legacy FashionStore promo canvas when no promo images are configured. */
.pcz-merchandise-page .fashionstore-shop-promos:empty{
    display:none !important;
    margin:0 !important;
    aspect-ratio:auto !important;
}

/* v1.3 — Disable the legacy FashionStore promotion area on the Persib merchandise archive.
   The section wrapper exists even when it contains no promo images, and the legacy
   theme gives it a large reserved height. */
.pcz-merchandise-page .fashionstore-shop-promos{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}

/* =========================================================
   v1.4 — CLEAN MERCHANDISE CATALOG LAYOUT
   Remove legacy WooCommerce/FashionStore spacing from the
   archive and keep the catalog immediately below the hero.
   ========================================================= */
.pcz-merchandise-page .pcz-merchandise-results-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:24px !important;
    width:100% !important;
    margin:26px 0 14px !important;
    padding:0 !important;
    min-height:40px !important;
    clear:both !important;
}
.pcz-merchandise-page .pcz-merchandise-result-count{
    margin:0 !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:40px !important;
    color:#667085 !important;
}
.pcz-merchandise-page .pcz-merchandise-result-count .woocommerce-result-count{
    margin:0 !important;
    padding:0 !important;
    float:none !important;
}
.pcz-merchandise-page .pcz-merchandise-ordering{
    margin:0 !important;
    padding:0 !important;
}
.pcz-merchandise-page .pcz-merchandise-ordering .woocommerce-ordering{
    float:none !important;
    margin:0 !important;
    padding:0 !important;
}
.pcz-merchandise-page .pcz-merchandise-ordering .woocommerce-ordering select{
    min-width:180px !important;
    height:40px !important;
    margin:0 !important;
}
.pcz-merchandise-page .fashionstore-shop-filter-bar{
    margin:0 0 16px !important;
    padding:0 !important;
    clear:both !important;
}
.pcz-merchandise-page .fashionstore-shop-layout{
    margin:0 !important;
    padding:0 !important;
}
.pcz-merchandise-page .pcz-merchandise-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:22px !important;
    margin:0 !important;
    padding:0 !important;
}
.pcz-merchandise-page .pcz-merchandise-grid .product-card{
    width:100% !important;
    min-width:0 !important;
}
.pcz-merchandise-page .woocommerce-pagination{
    margin:34px 0 0 !important;
    clear:both !important;
}
@media(max-width:900px){
    .pcz-merchandise-page .pcz-merchandise-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:650px){
    .pcz-merchandise-page .pcz-merchandise-results-head{flex-direction:column !important;align-items:stretch !important;gap:10px !important}
    .pcz-merchandise-page .pcz-merchandise-result-count{line-height:1.4 !important}
    .pcz-merchandise-page .pcz-merchandise-ordering .woocommerce-ordering select{width:100% !important}
    .pcz-merchandise-page .pcz-merchandise-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
}

/* =========================================================
   v1.5 — PERSIB MERCHANDISE PRODUCT CARDS
   Larger catalog cards, consistent product imagery and
   stronger Zone Persib shopping hierarchy.
   ========================================================= */
.pcz-merchandise-page .pcz-merchandise-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:28px !important;
    align-items:start !important;
}
.pcz-merchandise-page .pcz-merchandise-grid .product-card{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    border:1px solid #e2e8f0 !important;
    border-radius:2px !important;
    background:#fff !important;
    overflow:hidden !important;
    box-shadow:0 8px 24px rgba(7,31,76,.08) !important;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
}
.pcz-merchandise-page .pcz-merchandise-grid .product-card:hover{
    transform:translateY(-6px) !important;
    border-color:#c6d3ea !important;
    box-shadow:0 18px 36px rgba(7,31,76,.14) !important;
}
.pcz-merchandise-page .product-img-wrap{
    position:relative !important;
    aspect-ratio:1/1 !important;
    width:100% !important;
    overflow:hidden !important;
    background:#f4f7fb !important;
}
.pcz-merchandise-page .product-img-wrap .product-img-link,
.pcz-merchandise-page .product-img-wrap .product-img-link img{
    display:block !important;
    width:100% !important;
    height:100% !important;
}
.pcz-merchandise-page .product-img-wrap .product-img-link img{
    object-fit:cover !important;
    object-position:center !important;
    transition:transform .35s ease !important;
}
.pcz-merchandise-page .product-card:hover .product-img-wrap .product-img-link img{
    transform:scale(1.045) !important;
}
.pcz-merchandise-page .product-wishlist{
    width:38px !important;
    height:38px !important;
    border-radius:50% !important;
    background:#fff !important;
    color:#0b2f86 !important;
    box-shadow:0 5px 14px rgba(0,0,0,.12) !important;
    top:14px !important;
    right:14px !important;
    z-index:4 !important;
}
.pcz-merchandise-page .product-info{
    padding:18px 18px 20px !important;
    background:#fff !important;
}
.pcz-merchandise-page .product-category{
    min-height:18px !important;
    margin-bottom:5px !important;
    color:#7b879c !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.1em !important;
    text-transform:uppercase !important;
}
.pcz-merchandise-page .product-title{
    min-height:46px !important;
    margin:4px 0 10px !important;
    font-size:17px !important;
    line-height:1.35 !important;
    font-weight:800 !important;
}
.pcz-merchandise-page .product-title a{
    color:#101828 !important;
    text-decoration:none !important;
}
.pcz-merchandise-page .product-title a:hover{color:#0b2f86 !important}
.pcz-merchandise-page .product-price{
    min-height:27px !important;
    margin:0 0 14px !important;
    color:#0b2f86 !important;
    font-size:18px !important;
    font-weight:900 !important;
}
.pcz-merchandise-page .product-price del{
    color:#98a2b3 !important;
    font-size:13px !important;
    font-weight:600 !important;
    margin-right:5px !important;
}
.pcz-merchandise-page .product-add-cart{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:44px !important;
    box-sizing:border-box !important;
    padding:11px 14px !important;
    border:1px solid #0b2f86 !important;
    border-radius:0 !important;
    background:#0b2f86 !important;
    color:#fff !important;
    font-size:10px !important;
    font-weight:900 !important;
    letter-spacing:.1em !important;
    text-transform:uppercase !important;
    text-decoration:none !important;
    transition:.2s ease !important;
}
.pcz-merchandise-page .product-add-cart:hover{
    background:#f6cf27 !important;
    border-color:#f6cf27 !important;
    color:#071a52 !important;
}
.pcz-merchandise-page .product-actions{
    gap:8px !important;
}
.pcz-merchandise-page .product-actions .btn{
    border-radius:0 !important;
    font-size:9px !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
}
.pcz-merchandise-page .badge{
    top:14px !important;
    left:14px !important;
    z-index:5 !important;
    padding:7px 10px !important;
    background:#f6cf27 !important;
    color:#071a52 !important;
    font-size:9px !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
}
.pcz-merchandise-page .product-rating{
    margin:0 0 9px !important;
}
@media(max-width:1000px){
    .pcz-merchandise-page .pcz-merchandise-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:20px !important;
    }
}
@media(max-width:600px){
    .pcz-merchandise-page .pcz-merchandise-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }
    .pcz-merchandise-page .product-info{padding:12px 11px 14px !important}
    .pcz-merchandise-page .product-title{
        min-height:40px !important;
        font-size:13px !important;
    }
    .pcz-merchandise-page .product-price{font-size:15px !important;margin-bottom:10px !important}
    .pcz-merchandise-page .product-add-cart{min-height:40px !important;font-size:8px !important;padding:9px 7px !important}
    .pcz-merchandise-page .product-wishlist{width:32px !important;height:32px !important;top:9px !important;right:9px !important}
}

/* =========================================================
   PCZ MERCHANDISE v1.6 — SINGLE PRODUCT
   ========================================================= */

.fashionstore-single-product.fashionstore-product-detail-page{
    max-width:1180px !important;
    margin:0 auto !important;
    padding:42px 24px 80px !important;
}

.fashionstore-single-product .breadcrumb{
    margin:0 0 28px !important;
    font-size:12px !important;
    color:#687385 !important;
}

.fashionstore-single-product .breadcrumb a{
    color:#0757b8 !important;
    text-decoration:none !important;
}

.fashionstore-single-product .product-grid-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr) !important;
    gap:54px !important;
    align-items:start !important;
}

.fashionstore-single-product .product-gallery{
    min-width:0 !important;
}

.fashionstore-single-product .woocommerce-product-gallery{
    width:100% !important;
    margin:0 !important;
}

.fashionstore-single-product .woocommerce-product-gallery__wrapper{
    margin:0 !important;
}

.fashionstore-single-product .woocommerce-product-gallery__image{
    background:#f5f8fc !important;
    border:1px solid #e2e9f2 !important;
    overflow:hidden !important;
}

.fashionstore-single-product .woocommerce-product-gallery__image img{
    width:100% !important;
    aspect-ratio:1/1 !important;
    object-fit:contain !important;
    display:block !important;
}

.fashionstore-single-product .flex-control-thumbs{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:10px !important;
    margin:12px 0 0 !important;
    padding:0 !important;
}

.fashionstore-single-product .flex-control-thumbs li{
    width:auto !important;
    margin:0 !important;
    list-style:none !important;
}

.fashionstore-single-product .flex-control-thumbs img{
    width:100% !important;
    aspect-ratio:1/1 !important;
    object-fit:cover !important;
    border:1px solid #e2e9f2 !important;
    cursor:pointer !important;
}

.fashionstore-single-product .product-info-section{
    position:relative !important;
    min-width:0 !important;
}

.fashionstore-single-product .product-info-section .product_title,
.fashionstore-single-product .product-info-section h1{
    font-size:38px !important;
    line-height:1.08 !important;
    letter-spacing:-.8px !important;
    color:#081c3a !important;
    margin:0 0 14px !important;
    font-weight:800 !important;
}

.fashionstore-single-product .product-info-section .price{
    color:#0757b8 !important;
    font-size:28px !important;
    font-weight:800 !important;
    margin:0 0 22px !important;
}

.fashionstore-single-product .product-info-section .woocommerce-product-details__short-description{
    color:#59677a !important;
    font-size:15px !important;
    line-height:1.75 !important;
    margin-bottom:24px !important;
}

.fashionstore-single-product .product-info-section form.cart{
    margin:26px 0 !important;
    padding:22px !important;
    background:#f6f9fd !important;
    border:1px solid #e0e8f2 !important;
}

.fashionstore-single-product .product-info-section form.cart .variations{
    width:100% !important;
    border:0 !important;
    margin:0 0 18px !important;
}

.fashionstore-single-product .product-info-section form.cart .variations td,
.fashionstore-single-product .product-info-section form.cart .variations th{
    background:transparent !important;
    border:0 !important;
    padding:7px 0 !important;
    vertical-align:middle !important;
}

.fashionstore-single-product .product-info-section form.cart .variations label{
    color:#081c3a !important;
    font-size:13px !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
    letter-spacing:.4px !important;
}

.fashionstore-single-product .product-info-section form.cart .variations select{
    width:100% !important;
    min-height:44px !important;
    border:1px solid #ccd8e7 !important;
    background:#fff !important;
    padding:0 12px !important;
    color:#14243a !important;
}

.fashionstore-single-product .product-info-section form.cart .single_variation_wrap{
    margin-top:8px !important;
}

.fashionstore-single-product .product-info-section form.cart .quantity{
    margin-right:10px !important;
}

.fashionstore-single-product .product-info-section form.cart .quantity .qty{
    min-height:48px !important;
    width:82px !important;
    border:1px solid #ccd8e7 !important;
    text-align:center !important;
    background:#fff !important;
}

.fashionstore-single-product .product-info-section form.cart .single_add_to_cart_button,
.fashionstore-single-product .product-info-section form.cart button.single_add_to_cart_button{
    min-height:48px !important;
    padding:0 28px !important;
    background:#0757b8 !important;
    color:#fff !important;
    border:0 !important;
    border-radius:2px !important;
    font-weight:800 !important;
    letter-spacing:.5px !important;
    text-transform:uppercase !important;
}

.fashionstore-single-product .product-info-section form.cart .single_add_to_cart_button:hover{
    background:#f4c400 !important;
    color:#081c3a !important;
}

.fashionstore-single-product .fashionstore-product-trust{
    display:grid !important;
    gap:12px !important;
    margin-top:28px !important;
    padding-top:24px !important;
    border-top:1px solid #e3e9f1 !important;
}

.fashionstore-single-product .fashionstore-product-trust-item{
    display:flex !important;
    gap:13px !important;
    align-items:flex-start !important;
    padding:12px 0 !important;
}

.fashionstore-single-product .fashionstore-product-trust-icon{
    color:#0757b8 !important;
    font-size:18px !important;
    width:24px !important;
    flex:0 0 24px !important;
}

.fashionstore-single-product .fashionstore-product-trust-title{
    color:#081c3a !important;
    font-size:13px !important;
    font-weight:800 !important;
}

.fashionstore-single-product .fashionstore-product-trust-description{
    color:#6c7787 !important;
    font-size:12px !important;
    margin-top:3px !important;
    line-height:1.5 !important;
}

.fashionstore-single-product .product-extra-content{
    margin-top:70px !important;
}

.fashionstore-single-product .woocommerce-tabs{
    border-top:1px solid #e2e8f0 !important;
    padding-top:32px !important;
}

.fashionstore-single-product .woocommerce-tabs ul.tabs{
    padding:0 !important;
    margin:0 0 22px !important;
}

.fashionstore-single-product .woocommerce-tabs ul.tabs li{
    border:0 !important;
    background:transparent !important;
}

.fashionstore-single-product .woocommerce-tabs ul.tabs li a{
    color:#081c3a !important;
    font-weight:800 !important;
}

.fashionstore-single-product .fashionstore-related-products{
    margin-top:62px !important;
}

.fashionstore-single-product .fashionstore-related-head{
    display:flex !important;
    justify-content:space-between !important;
    align-items:end !important;
    gap:20px !important;
    margin-bottom:24px !important;
}

.fashionstore-single-product .fashionstore-related-head h2{
    color:#081c3a !important;
    margin:5px 0 0 !important;
    font-size:26px !important;
    font-weight:800 !important;
}

@media(max-width:900px){
    .fashionstore-single-product .product-grid-layout{
        grid-template-columns:1fr !important;
        gap:34px !important;
    }
    .fashionstore-single-product .product-info-section .product_title,
    .fashionstore-single-product .product-info-section h1{
        font-size:31px !important;
    }
}

@media(max-width:560px){
    .fashionstore-single-product.fashionstore-product-detail-page{
        padding:26px 15px 55px !important;
    }
    .fashionstore-single-product .product-info-section .product_title,
    .fashionstore-single-product .product-info-section h1{
        font-size:27px !important;
    }
    .fashionstore-single-product .product-info-section .price{
        font-size:23px !important;
    }
    .fashionstore-single-product .product-info-section form.cart{
        padding:16px !important;
    }
    .fashionstore-single-product .product-info-section form.cart .quantity{
        margin:0 0 10px !important;
    }
    .fashionstore-single-product .product-info-section form.cart .single_add_to_cart_button{
        width:100% !important;
    }
    .fashionstore-single-product .fashionstore-related-head{
        align-items:flex-start !important;
        flex-direction:column !important;
    }
}


/* =========================================================
   v1.7 — FASHIONSTORE-STYLE FILTER DRAWER
   Closed by default. When opened, the sidebar appears on the
   left and the product grid shifts to the right.
   ========================================================= */
.pcz-merchandise-page .fashionstore-shop-filter-bar{
    clear:both !important;
    display:flex !important;
    align-items:center !important;
    margin:0 0 18px !important;
    padding:0 !important;
}
.pcz-merchandise-page .fashionstore-filter-toggle{
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#111 !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.12em !important;
    text-transform:uppercase !important;
    cursor:pointer !important;
}
.pcz-merchandise-page .fashionstore-filter-toggle-icon{
    font-size:14px !important;
    line-height:1 !important;
    transform:rotate(90deg);
}
.pcz-merchandise-page .fashionstore-filter-toggle-arrow{
    font-size:17px !important;
    line-height:1 !important;
    transition:transform .25s ease !important;
}
.pcz-merchandise-page .fashionstore-filter-toggle[aria-expanded="true"] .fashionstore-filter-toggle-arrow{
    transform:rotate(90deg) !important;
}
.pcz-merchandise-page .fashionstore-shop-layout{
    display:grid !important;
    grid-template-columns:0fr minmax(0,1fr) !important;
    gap:0 !important;
    align-items:start !important;
    margin:0 !important;
    padding:0 !important;
    transition:grid-template-columns .28s ease,gap .28s ease !important;
}
.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
    grid-template-columns:220px minmax(0,1fr) !important;
    gap:32px !important;
}
.pcz-merchandise-page .fashionstore-shop-filter-panel{
    min-width:0 !important;
    width:auto !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
    transition:opacity .2s ease !important;
}
.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-filter-panel{
    opacity:1 !important;
    pointer-events:auto !important;
}
.pcz-merchandise-page .fashionstore-shop-products{
    min-width:0 !important;
    width:auto !important;
}
.pcz-merchandise-page .fashionstore-shop-products .pcz-merchandise-grid{
    margin:0 !important;
}
.pcz-merchandise-page .fashionstore-filter-group{
    border-top:1px solid #e7e7e7 !important;
}
.pcz-merchandise-page .fashionstore-filter-group:last-of-type{
    border-bottom:1px solid #e7e7e7 !important;
}
.pcz-merchandise-page .fashionstore-filter-group details summary{
    list-style:none !important;
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:12px !important;
    padding:15px 0 !important;
    cursor:pointer !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.11em !important;
}
.pcz-merchandise-page .fashionstore-filter-group details summary::-webkit-details-marker{display:none !important}
.pcz-merchandise-page .fashionstore-filter-content{
    padding:0 0 15px !important;
}
.pcz-merchandise-page .fashionstore-filter-content select,
.pcz-merchandise-page .fashionstore-filter-content input{
    width:100% !important;
    height:38px !important;
    box-sizing:border-box !important;
    border:1px solid #d9dee8 !important;
    border-radius:0 !important;
    background:#fff !important;
    color:#222 !important;
    padding:0 9px !important;
    font-size:11px !important;
    outline:none !important;
}
.pcz-merchandise-page .fashionstore-filter-content select:focus,
.pcz-merchandise-page .fashionstore-filter-content input:focus{
    border-color:#0b2f86 !important;
}
.pcz-merchandise-page .fashionstore-price-fields{
    display:grid !important;
    grid-template-columns:1fr auto 1fr !important;
    align-items:center !important;
    gap:6px !important;
}
.pcz-merchandise-page .fashionstore-price-fields span{font-size:11px;color:#777}
.pcz-merchandise-page .fashionstore-filter-actions{
    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;
    padding-top:18px !important;
}
.pcz-merchandise-page .fashionstore-filter-apply{
    width:100% !important;
    height:40px !important;
    border:1px solid #0b2f86 !important;
    background:#0b2f86 !important;
    color:#fff !important;
    font-size:9px !important;
    font-weight:700 !important;
    letter-spacing:.1em !important;
    cursor:pointer !important;
}
.pcz-merchandise-page .fashionstore-filter-reset{
    text-align:center !important;
    color:#111 !important;
    font-size:9px !important;
    font-weight:700 !important;
    letter-spacing:.1em !important;
    text-decoration:underline !important;
}
@media(max-width:1100px) and (min-width:651px){
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
        grid-template-columns:200px minmax(0,1fr) !important;
        gap:24px !important;
    }
    .pcz-merchandise-page .fashionstore-shop-products .pcz-merchandise-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}
@media(max-width:650px){
    .pcz-merchandise-page .fashionstore-shop-layout,
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
        display:block !important;
    }
    .pcz-merchandise-page .fashionstore-shop-filter-panel{
        display:none !important;
        opacity:1 !important;
        overflow:visible !important;
        margin:0 0 24px !important;
    }
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-filter-panel{
        display:block !important;
    }
}

/* =========================================================
   v1.8 — MERCHANDISE FILTER POLISH
   FashionStore-style filter behavior, refined for Zone Persib.
   Filter closed by default; when opened the catalog shifts right.
   ========================================================= */
.pcz-merchandise-page .pcz-merchandise-results-head{
    margin:24px 0 8px !important;
    min-height:36px !important;
}
.pcz-merchandise-page .pcz-merchandise-result-count{
    font-size:11px !important;
    color:#6b7280 !important;
    line-height:36px !important;
}
.pcz-merchandise-page .pcz-merchandise-ordering .woocommerce-ordering select{
    height:38px !important;
    min-width:190px !important;
    padding:0 12px !important;
    border:1px solid #d9dee8 !important;
    background:#fff !important;
    color:#303846 !important;
    font-size:11px !important;
}

.pcz-merchandise-page .fashionstore-shop-filter-bar{
    margin:0 0 12px !important;
    min-height:26px !important;
}
.pcz-merchandise-page .fashionstore-filter-toggle{
    min-height:26px !important;
    color:#182235 !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.13em !important;
}
.pcz-merchandise-page .fashionstore-filter-toggle-icon{
    font-size:13px !important;
}
.pcz-merchandise-page .fashionstore-filter-toggle-arrow{
    font-size:14px !important;
}
.pcz-merchandise-page .fashionstore-filter-toggle[aria-expanded="true"]{
    color:#0b3fa8 !important;
}

/* Closed: no reserved sidebar width. Open: clean left sidebar + catalog. */
.pcz-merchandise-page .fashionstore-shop-layout{
    grid-template-columns:0fr minmax(0,1fr) !important;
    gap:0 !important;
}
.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
    grid-template-columns:250px minmax(0,1fr) !important;
    gap:34px !important;
}
.pcz-merchandise-page .fashionstore-shop-filter-panel{
    width:250px !important;
    max-width:250px !important;
    box-sizing:border-box !important;
}
.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-filter-panel{
    opacity:1 !important;
}

/* Filter groups — clean FashionStore-like hierarchy. */
.pcz-merchandise-page .fashionstore-filter-group{
    border-top:1px solid #e4e8ef !important;
}
.pcz-merchandise-page .fashionstore-filter-group:last-of-type{
    border-bottom:1px solid #e4e8ef !important;
}
.pcz-merchandise-page .fashionstore-filter-group details summary{
    min-height:48px !important;
    box-sizing:border-box !important;
    padding:14px 0 !important;
    color:#263246 !important;
    font-size:10px !important;
    font-weight:700 !important;
    letter-spacing:.12em !important;
}
.pcz-merchandise-page .fashionstore-filter-group details summary span:last-child{
    color:#718096 !important;
    font-size:12px !important;
}
.pcz-merchandise-page .fashionstore-filter-content{
    padding:0 0 15px !important;
}
.pcz-merchandise-page .fashionstore-filter-content select,
.pcz-merchandise-page .fashionstore-filter-content input{
    height:40px !important;
    border:1px solid #d9dee8 !important;
    background:#fff !important;
    color:#303846 !important;
    padding:0 11px !important;
    font-size:11px !important;
}
.pcz-merchandise-page .fashionstore-filter-content select:focus,
.pcz-merchandise-page .fashionstore-filter-content input:focus{
    border-color:#0b3fa8 !important;
    box-shadow:0 0 0 1px #0b3fa8 !important;
}
.pcz-merchandise-page .fashionstore-price-fields{
    gap:7px !important;
}
.pcz-merchandise-page .fashionstore-price-fields span{
    color:#98a2b3 !important;
}
.pcz-merchandise-page .fashionstore-filter-actions{
    padding-top:18px !important;
    gap:9px !important;
}
.pcz-merchandise-page .fashionstore-filter-apply{
    height:42px !important;
    border:1px solid #0b3fa8 !important;
    background:#0b3fa8 !important;
    color:#fff !important;
    font-size:9px !important;
    font-weight:800 !important;
    letter-spacing:.13em !important;
    transition:.2s ease !important;
}
.pcz-merchandise-page .fashionstore-filter-apply:hover{
    background:#f6cf27 !important;
    border-color:#f6cf27 !important;
    color:#071a52 !important;
}
.pcz-merchandise-page .fashionstore-filter-reset{
    color:#526071 !important;
    font-size:9px !important;
    letter-spacing:.12em !important;
}

/* Closed catalog: four columns. Open catalog: three useful columns beside sidebar. */
.pcz-merchandise-page .fashionstore-shop-products .pcz-merchandise-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:22px !important;
}
.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px !important;
}
.pcz-merchandise-page .fashionstore-shop-products{
    min-width:0 !important;
}

@media(max-width:1100px){
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
        grid-template-columns:220px minmax(0,1fr) !important;
        gap:24px !important;
    }
    .pcz-merchandise-page .fashionstore-shop-filter-panel{
        width:220px !important;
        max-width:220px !important;
    }
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}
@media(max-width:768px){
    .pcz-merchandise-page .pcz-merchandise-results-head{
        align-items:flex-start !important;
        gap:12px !important;
    }
    .pcz-merchandise-page .pcz-merchandise-ordering .woocommerce-ordering select{
        min-width:150px !important;
    }
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
        display:block !important;
    }
    .pcz-merchandise-page .fashionstore-shop-filter-panel{
        width:100% !important;
        max-width:none !important;
        margin-bottom:24px !important;
    }
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}
@media(max-width:480px){
    .pcz-merchandise-page .pcz-merchandise-results-head{
        flex-direction:column !important;
        align-items:stretch !important;
    }
    .pcz-merchandise-page .pcz-merchandise-ordering .woocommerce-ordering select{
        width:100% !important;
    }
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid,
    .pcz-merchandise-page .fashionstore-shop-products .pcz-merchandise-grid{
        grid-template-columns:1fr !important;
    }
}


/* =========================================================
   PCZ FILTER FIX — CLOSED / OPEN GRID BEHAVIOR
   Closed: filter column must consume ZERO width.
   Open: 250px sidebar + product grid.
   ========================================================= */

/* IMPORTANT:
   0fr alone can still retain the intrinsic minimum width of
   the hidden filter content in CSS Grid. Use an explicit
   zero-width track so the catalog really expands when closed.
*/
.pcz-merchandise-page .fashionstore-shop-layout{
    grid-template-columns:minmax(0,0px) minmax(0,1fr) !important;
    gap:0 !important;
}

.pcz-merchandise-page .fashionstore-shop-filter-panel{
    width:0 !important;
    max-width:0 !important;
    min-width:0 !important;
    overflow:hidden !important;
}

.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
    grid-template-columns:250px minmax(0,1fr) !important;
    gap:34px !important;
}

.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-filter-panel{
    width:250px !important;
    max-width:250px !important;
    min-width:0 !important;
    opacity:1 !important;
    pointer-events:auto !important;
}

/* Desktop:
   CLOSED = full-width catalog.
   OPEN   = 3 columns beside the filter.
*/
.pcz-merchandise-page .fashionstore-shop-products .pcz-merchandise-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px !important;
}

.pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px !important;
}

@media(max-width:1100px) and (min-width:769px){
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
        grid-template-columns:220px minmax(0,1fr) !important;
        gap:24px !important;
    }

    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-filter-panel{
        width:220px !important;
        max-width:220px !important;
    }

    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:768px){
    .pcz-merchandise-page .fashionstore-shop-layout,
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open{
        display:block !important;
    }

    .pcz-merchandise-page .fashionstore-shop-filter-panel{
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
    }

    .pcz-merchandise-page .fashionstore-shop-layout:not(.is-filter-open) .fashionstore-shop-filter-panel{
        display:none !important;
    }

    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-filter-panel{
        display:block !important;
        margin-bottom:24px !important;
    }

    .pcz-merchandise-page .fashionstore-shop-products .pcz-merchandise-grid,
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:480px){
    .pcz-merchandise-page .fashionstore-shop-products .pcz-merchandise-grid,
    .pcz-merchandise-page .fashionstore-shop-layout.is-filter-open .fashionstore-shop-products .pcz-merchandise-grid{
        grid-template-columns:1fr !important;
    }
}

