/* PRODUCTS ARCHIVE */

.cw-products-page{
    background:#f4f5f3;
    color:#101214;
}

/* HERO */

.cw-products-hero{
    position:relative;
    min-height:460px;
    padding:130px 48px 78px;
    background:
        linear-gradient(90deg,rgba(2,10,12,.94) 0%,rgba(2,10,12,.72) 48%,rgba(1,149,130,.35) 100%),
        url('https://cation.fidetay.net/wp-content/uploads/2026/06/about-hero-back-1.webp');
    background-size:cover;
    background-position:center;
    color:#fff;
    overflow:hidden;
}

.cw-products-hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        repeating-linear-gradient(0deg,transparent,transparent 79px,rgba(255,255,255,.025) 80px),
        repeating-linear-gradient(90deg,transparent,transparent 79px,rgba(255,255,255,.025) 80px);
    pointer-events:none;
}

.cw-products-hero::after{
    content:'';
    position:absolute;
    right:5%;
    top:-20%;
    width:280px;
    height:140%;
    background:rgba(1,149,130,.35);
    transform:skewX(-18deg);
}

.cw-products-hero-inner{
    position:relative;
    z-index:2;
    max-width:800px;
}

.cw-products-breadcrumb{
    margin-bottom:36px;
    color:rgba(255,255,255,.7);
    font-size:12px;
}

.cw-products-breadcrumb span{
    margin:0 8px;
    color:var(--cw-teal);
}

.cw-products-hero h1{
    margin:0 0 22px;
    font-family:var(--cw-font-head);
    font-size:clamp(48px,6vw,84px);
    font-weight:800;
    line-height:.92;
    text-transform:uppercase;
}

.cw-products-hero-inner > p:last-child{
    max-width:620px;
    color:#d8dcde;
    font-size:16px;
    line-height:1.7;
}

/* LAYOUT */

.cw-products-layout{
    max-width:1500px;
    margin:0 auto;
    padding:72px 48px 96px;
    display:grid;
    grid-template-columns:280px 1fr;
    gap:40px;
}

.cw-products-sidebar{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.cw-sidebar-box{
    position:sticky;
    top:100px;
    background:#fff;
    padding:28px 26px;
    box-shadow:0 18px 50px rgba(0,0,0,.07);
}

.cw-sidebar-box + .cw-sidebar-box{
    position:static;
}

.cw-sidebar-box h3{
    margin:0 0 22px;
    font-family:var(--cw-font-head);
    font-size:23px;
    font-weight:800;
    text-transform:uppercase;
}

.cw-category-list{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.cw-category-list a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 14px;
    color:#4d5559;
    font-size:14px;
    font-weight:700;
    transition:var(--cw-transition);
}

.cw-category-list a:hover,
.cw-category-list a.active{
    background:#eef8f6;
    color:var(--cw-teal);
}

.cw-category-list span{
    color:#8d969a;
    font-size:12px;
}

.cw-sidebar-quote{
    background:#081114;
    color:#fff;
}

.cw-sidebar-quote > i{
    color:var(--cw-teal);
    font-size:34px;
    margin-bottom:18px;
}

.cw-sidebar-quote p{
    margin:0 0 22px;
    color:#aeb6b9;
    font-size:14px;
    line-height:1.65;
}

.cw-sidebar-quote a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 18px;
    background:var(--cw-teal);
    color:#fff;
    font-size:12px;
    font-weight:800;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* CONTENT */

.cw-products-topbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:34px;
}

.cw-products-topbar h2{
    margin:0;
    font-family:var(--cw-font-head);
    font-size:clamp(34px,4vw,54px);
    font-weight:800;
    line-height:1;
    text-transform:uppercase;
}

.cw-products-count,
.woocommerce-result-count{
    margin:0;
    color:#6a7276;
    font-size:14px;
}

/* WOO GRID RESET */

.cw-products-content ul.products{
    display:grid !important;
    grid-template-columns:repeat(3,1fr);
    gap:26px !important;
    margin:0 !important;
    padding:0 !important;
}

.cw-products-content ul.products::before,
.cw-products-content ul.products::after{
    display:none !important;
}

.cw-products-content ul.products li.product{
    width:auto !important;
    margin:0 !important;
    float:none !important;
}

/* PRODUCT CARD */

.cw-product-archive-card{
    background:#fff;
    box-shadow:0 18px 50px rgba(0,0,0,.08);
    overflow:hidden;
    transition:var(--cw-transition);
}

.cw-product-archive-card:hover{
    transform:translateY(-7px);
    box-shadow:0 24px 64px rgba(0,0,0,.12);
}

.cw-product-card-link{
    display:block;
    height:100%;
}

.cw-product-archive-image{
    position:relative;
    aspect-ratio:2 / 3;
    background:#f7f7f7;
    border-bottom:1px solid rgba(16,18,20,.06);
    overflow:hidden;
}

.cw-product-archive-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    padding:8px;
    transition:transform .6s ease;
}

.cw-product-archive-card:hover .cw-product-archive-image img{
    transform:scale(1.04);
}

.cw-product-archive-image::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 72%,rgba(0,0,0,.05) 100%);
    pointer-events:none;
}

.cw-product-card-arrow{
    position:absolute;
    right:18px;
    top:18px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    color:#101214;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 24px rgba(0,0,0,.12);
    transition:var(--cw-transition);
}

.cw-product-archive-card:hover .cw-product-card-arrow{
    background:var(--cw-teal);
    color:#fff;
}

.cw-product-no-image{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#b9c0c3;
    font-size:52px;
}

.cw-product-archive-body{
    padding:24px 22px 26px;
}

.cw-product-category{
    display:block;
    margin-bottom:10px;
    color:var(--cw-teal);
    font-size:11px;
    font-weight:800;
    letter-spacing:1.4px;
    text-transform:uppercase;
}

.cw-product-archive-body h3{
    margin:0 0 12px;
    font-family:var(--cw-font-head);
    font-size:25px;
    font-weight:800;
    line-height:1;
    text-transform:uppercase;
    color:#101214;
}

.cw-product-archive-body p{
    margin:0 0 20px;
    color:#5f676b;
    font-size:14px;
    line-height:1.6;
}

.cw-product-quote-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#101214;
    font-size:12px;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
    transition:var(--cw-transition);
}

.cw-product-quote-btn i{
    color:var(--cw-teal);
}

.cw-product-archive-card:hover .cw-product-quote-btn{
    color:var(--cw-teal);
}

/* PAGINATION */

.cw-products-pagination{
    margin-top:50px;
}

.woocommerce nav.woocommerce-pagination ul{
    border:0;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.woocommerce nav.woocommerce-pagination ul li{
    border:0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
    min-width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    color:#101214;
    font-weight:800;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover{
    background:var(--cw-teal);
    color:#fff;
}

/* NO PRODUCTS */

.cw-no-products{
    background:#fff;
    padding:60px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

/* RESPONSIVE */

@media(max-width:1280px){
    .cw-products-layout{
        grid-template-columns:260px 1fr;
        gap:34px;
    }

    .cw-products-content ul.products{
        grid-template-columns:repeat(3,1fr);
        gap:22px !important;
    }

    .cw-product-archive-body h3{
        font-size:23px;
    }
}

@media(max-width:1100px){
    .cw-products-layout{
        grid-template-columns:1fr;
        padding:64px 34px 86px;
    }

    .cw-products-sidebar{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:20px;
    }

    .cw-sidebar-box{
        position:static;
    }

    .cw-products-content ul.products{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .cw-products-hero{
        min-height:auto;
        padding:112px 22px 64px;
    }

    .cw-products-hero::after{
        display:none;
    }

    .cw-products-breadcrumb{
        margin-bottom:28px;
        font-size:11px;
        line-height:1.5;
    }

    .cw-products-hero h1{
        font-size:40px;
        line-height:.95;
    }

    .cw-products-hero-inner > p:last-child{
        font-size:15px;
        line-height:1.65;
    }

    .cw-products-layout{
        padding:48px 22px 68px;
        gap:30px;
    }

    .cw-products-sidebar{
        grid-template-columns:1fr;
    }

    .cw-sidebar-box{
        padding:24px 22px;
    }

    .cw-sidebar-box h3{
        font-size:22px;
    }

    .cw-products-topbar{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
        margin-bottom:26px;
    }

    .cw-products-topbar h2{
        font-size:34px;
    }

    .cw-products-content ul.products{
        grid-template-columns:1fr;
        gap:24px !important;
    }

    .cw-product-archive-card:hover{
        transform:none;
    }

    .cw-product-card-arrow{
        right:14px;
        top:14px;
        width:38px;
        height:38px;
    }

    .cw-product-archive-body{
        padding:22px 20px 24px;
    }

    .cw-product-archive-body h3{
        font-size:24px;
    }

    .cw-product-archive-body p{
        font-size:14px;
    }

    .cw-products-pagination{
        margin-top:36px;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span{
        min-width:38px;
        height:38px;
    }

    .cw-no-products{
        padding:34px 24px;
    }
}

@media(max-width:480px){
    .cw-products-hero h1{
        font-size:34px;
    }

    .cw-products-layout{
        padding-left:18px;
        padding-right:18px;
    }

    .cw-product-archive-body h3{
        font-size:22px;
    }

    .cw-category-list a{
        padding:12px;
        font-size:13px;
    }
}