
/* WCDA 1.5.0 — align archive with the full header content area */
body.wcda-product-archive .woocommerce{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    box-sizing:border-box!important;
}
body.wcda-product-archive .woocommerce > *{
    box-sizing:border-box;
}
body.wcda-product-archive .woocommerce-breadcrumb,
body.wcda-product-archive .woocommerce-products-header,
body.wcda-product-archive .wcda-archive-intro,
body.wcda-product-archive .wcda-category-banner,
body.wcda-product-archive .wcda-toolbar,
body.wcda-product-archive ul.products,
body.wcda-product-archive nav.woocommerce-pagination{
    width:calc(100% - 32px)!important;
    max-width:var(--wcda-max-width)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
}
body.wcda-product-archive .woocommerce-products-header,
body.wcda-product-archive .wcda-archive-intro{
    padding-left:0!important;
    padding-right:0!important;
}
body.wcda-product-archive .wcda-category-banner{
    padding-left:0!important;
    padding-right:0!important;
}
body.wcda-product-archive .wcda-toolbar{
    padding-left:0!important;
    padding-right:0!important;
}
body.wcda-product-archive ul.products{
    padding-left:0!important;
    padding-right:0!important;
}
@media(max-width:767px){
    body.wcda-product-archive .woocommerce{
        width:100%!important;
        max-width:100%!important;
        margin-left:0!important;
        margin-right:0!important;
    }
    body.wcda-product-archive .woocommerce-breadcrumb,
    body.wcda-product-archive .woocommerce-products-header,
    body.wcda-product-archive .wcda-archive-intro,
    body.wcda-product-archive .wcda-category-banner,
    body.wcda-product-archive .wcda-toolbar,
    body.wcda-product-archive ul.products,
    body.wcda-product-archive nav.woocommerce-pagination{
        width:calc(100% - 28px)!important;
    }
}

body.wcda-product-archive{background:var(--wcda-bg)!important}
body.wcda-product-archive .site-main,
body.wcda-product-archive #primary,
body.wcda-product-archive .content-area{color:var(--wcda-text)}
body.wcda-product-archive .woocommerce-breadcrumb{max-width:var(--wcda-max-width);margin:0 auto 18px!important;padding:0 24px!important;color:var(--wcda-muted)!important;font-size:13px}
body.wcda-product-archive .woocommerce-breadcrumb a{color:var(--wcda-muted)!important}
body.wcda-product-archive .woocommerce-products-header{max-width:var(--wcda-max-width);margin:0 auto!important;padding:0 24px!important}
body.wcda-product-archive .woocommerce-products-header h1{font-size:40px!important;line-height:1.1!important;margin:8px 0 8px!important;color:var(--wcda-text)!important;font-weight:700!important}
body.wcda-product-archive .woocommerce-products-header p{color:var(--wcda-muted)}
body.wcda-product-archive .wcda-archive-intro{max-width:var(--wcda-max-width);margin:0 auto;padding:0 24px}
body.wcda-product-archive .wcda-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--wcda-accent);margin:5px 0}
body.wcda-product-archive .woocommerce-result-count{color:var(--wcda-muted)!important;font-size:13px;margin:0!important}
body.wcda-product-archive .woocommerce-ordering{margin:0!important}
body.wcda-product-archive .woocommerce-ordering select{min-width:190px;border:1px solid var(--wcda-border)!important;border-radius:11px!important;background:var(--wcda-card)!important;color:var(--wcda-text)!important;padding:11px 14px!important}
body.wcda-product-archive .wcda-toolbar{max-width:var(--wcda-max-width);margin:22px auto 22px;padding:0 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}
body.wcda-product-archive ul.products{max-width:var(--wcda-max-width)!important;margin:0 auto!important;padding:0 24px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px!important;clear:both}
body.wcda-product-archive ul.products::before,body.wcda-product-archive ul.products::after{display:none!important}
body.wcda-product-archive ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:0!important;background:var(--wcda-card)!important;border:1px solid var(--wcda-border)!important;border-radius:20px!important;overflow:hidden;box-shadow:0 10px 28px rgba(25,28,35,.06);display:flex;flex-direction:column;position:relative;transition:transform .2s ease,box-shadow .2s ease}
body.wcda-product-archive ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 35px rgba(25,28,35,.11)}
body.wcda-product-archive ul.products li.product a.woocommerce-LoopProduct-link{display:block;color:var(--wcda-text)!important;text-decoration:none!important}
body.wcda-product-archive ul.products li.product a img{width:100%!important;height:235px!important;object-fit:contain!important;margin:0!important;padding:20px!important;background:var(--wcda-image-bg)!important}
body.wcda-product-archive ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.35!important;color:var(--wcda-text)!important;padding:18px 18px 3px!important;margin:0!important;font-weight:700!important}
body.wcda-product-archive ul.products li.product .price{padding:0 18px!important;margin:8px 0 15px!important;color:var(--wcda-price)!important;font-size:15px!important;font-weight:800!important}
body.wcda-product-archive ul.products li.product .price del{opacity:.55;color:var(--wcda-muted)!important}
body.wcda-product-archive ul.products li.product .button{margin:0 18px 18px!important;border:0!important;border-radius:11px!important;background:var(--wcda-button)!important;color:var(--wcda-button-text)!important;padding:11px 15px!important;text-align:center!important;font-weight:700!important;line-height:1.2!important;transition:.2s ease}
body.wcda-product-archive ul.products li.product .button:hover{filter:brightness(.93);transform:translateY(-1px)}
body.wcda-product-archive ul.products li.product .added_to_cart{display:block;margin:-10px 18px 18px;color:var(--wcda-accent)!important;font-size:12px;text-align:center}
body.wcda-product-archive ul.products li.product .onsale{position:absolute!important;z-index:3;top:14px!important;left:14px!important;right:auto!important;margin:0!important;min-width:auto!important;min-height:auto!important;border-radius:999px!important;background:var(--wcda-accent)!important;color:#fff!important;padding:7px 10px!important;font-size:10px!important;font-weight:800!important;line-height:1!important}
body.wcda-product-archive .wcda-sale-badge{position:absolute;top:14px;left:14px;z-index:4;border-radius:999px;background:var(--wcda-accent);color:#fff;padding:7px 10px;font-size:10px;font-weight:800}
body.wcda-product-archive .wcda-card-accent{position:absolute;left:18px;right:18px;bottom:0;height:3px;background:var(--wcda-accent);border-radius:3px 3px 0 0;opacity:.15}
body.wcda-product-archive nav.woocommerce-pagination{max-width:var(--wcda-max-width);margin:35px auto 60px;padding:0 24px}
body.wcda-product-archive nav.woocommerce-pagination ul{border:0!important;display:flex;justify-content:center;gap:7px}
body.wcda-product-archive nav.woocommerce-pagination ul li{border:0!important}
body.wcda-product-archive nav.woocommerce-pagination a,
body.wcda-product-archive nav.woocommerce-pagination span{border:1px solid var(--wcda-border)!important;background:var(--wcda-card)!important;color:var(--wcda-text)!important;border-radius:9px!important;padding:9px 13px!important}
body.wcda-product-archive nav.woocommerce-pagination span.current{background:var(--wcda-accent)!important;color:#fff!important;border-color:var(--wcda-accent)!important}
@media(max-width:1050px){body.wcda-product-archive ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body.wcda-product-archive .woocommerce-products-header h1{font-size:32px!important}body.wcda-product-archive .wcda-toolbar{align-items:stretch;flex-direction:column;margin-top:18px}body.wcda-product-archive .woocommerce-ordering{width:100%}body.wcda-product-archive .woocommerce-ordering select{width:100%}body.wcda-product-archive ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;padding:0 14px!important}body.wcda-product-archive .woocommerce-breadcrumb,body.wcda-product-archive .woocommerce-products-header,body.wcda-product-archive .wcda-archive-intro{padding-left:14px!important;padding-right:14px!important}body.wcda-product-archive ul.products li.product a img{height:175px!important;padding:12px!important}body.wcda-product-archive ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;padding:13px 12px 2px!important}body.wcda-product-archive ul.products li.product .price{padding:0 12px!important;font-size:13px!important}body.wcda-product-archive ul.products li.product .button{margin:0 12px 13px!important;font-size:12px!important;padding:10px 8px!important}}
@media(max-width:430px){body.wcda-product-archive ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.wcda-product-archive ul.products li.product a img{height:145px!important}}

body.wcda-product-archive .wcda-category-banner{max-width:var(--wcda-max-width);margin:22px auto 30px;padding:0 24px}
body.wcda-product-archive .wcda-category-banner img{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:22px;border:1px solid var(--wcda-border);box-shadow:0 12px 30px rgba(25,28,35,.08)}
body.wcda-product-archive .wcda-toolbar{margin-bottom:34px!important}
body.wcda-product-archive ul.products{align-items:stretch!important}
body.wcda-product-archive ul.products li.product{min-height:100%}
body.wcda-product-archive ul.products li.product a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column;flex:1 1 auto}
body.wcda-product-archive ul.products li.product .woocommerce-loop-product__title{min-height:2.75em}
body.wcda-product-archive ul.products li.product .price{margin-top:auto!important}
body.wcda-product-archive ul.products li.product .button{margin-top:0!important}
@media(max-width:760px){
body.wcda-product-archive .wcda-category-banner{margin:16px auto 22px;padding:0 14px}
body.wcda-product-archive .wcda-category-banner img{max-height:180px;border-radius:16px}
body.wcda-product-archive .wcda-toolbar{margin-bottom:24px!important}
}

/* 1.2.0 — shared archive alignment */
body.wcda-product-archive .wcda-archive-intro,
body.wcda-product-archive .wcda-category-banner,
body.wcda-product-archive .wcda-toolbar,
body.wcda-product-archive ul.products,
body.wcda-product-archive nav.woocommerce-pagination{
    width:100%;
    max-width:var(--wcda-max-width)!important;
    box-sizing:border-box;
}
body.wcda-product-archive .wcda-archive-intro{
    margin-left:auto!important;
    margin-right:auto!important;
}
body.wcda-product-archive .wcda-toolbar{
    margin:24px auto 36px!important;
    padding:0 24px!important;
    min-height:52px;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:28px!important;
    box-sizing:border-box;
}
body.wcda-product-archive .wcda-toolbar .woocommerce-result-count{
    float:none!important;
    margin:0!important;
}
body.wcda-product-archive .wcda-toolbar .woocommerce-ordering{
    float:none!important;
    margin:0!important;
    padding:0!important;
}
body.wcda-product-archive .wcda-toolbar .woocommerce-ordering select{
    display:block;
}
body.wcda-product-archive ul.products{
    margin-left:auto!important;
    margin-right:auto!important;
}
body.wcda-product-archive .wcda-category-banner{
    margin-left:auto!important;
    margin-right:auto!important;
}
@media(max-width:760px){
    body.wcda-product-archive .wcda-toolbar{
        margin:18px auto 28px!important;
        padding:0 14px!important;
        gap:14px!important;
    }
    body.wcda-product-archive .wcda-toolbar .woocommerce-result-count{
        line-height:1.25;
    }
    body.wcda-product-archive .wcda-toolbar .woocommerce-ordering{
        width:100%;
    }
    body.wcda-product-archive .wcda-toolbar .woocommerce-ordering select{
        width:100%;
    }
}

/* 1.3.0 — clean category hero, shared 2000px content system and footer breathing room */
body.wcda-product-archive .woocommerce-breadcrumb,
body.wcda-product-archive .woocommerce-products-header{
    display:none!important;
}
body.wcda-product-archive .wcda-archive-intro,
body.wcda-product-archive .wcda-category-banner,
body.wcda-product-archive .wcda-toolbar,
body.wcda-product-archive ul.products,
body.wcda-product-archive nav.woocommerce-pagination{
    width:calc(100% - 160px)!important;
    max-width:2000px!important;
    box-sizing:border-box!important;
}
body.wcda-product-archive .wcda-archive-intro{
    display:none!important;
}
body.wcda-product-archive .wcda-category-banner{
    position:relative;
    margin:26px auto 30px!important;
    padding:0!important;
    overflow:hidden;
    border-radius:22px;
    min-height:260px;
    background:var(--wcda-image-bg);
}
body.wcda-product-archive .wcda-category-banner img{
    display:block;
    width:100%;
    height:300px;
    max-height:none;
    object-fit:cover;
    border:0;
    border-radius:22px;
    box-shadow:0 12px 30px rgba(25,28,35,.08);
}
body.wcda-product-archive .wcda-category-banner::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.48) 24%,rgba(0,0,0,.16) 52%,rgba(0,0,0,0) 78%);
}
body.wcda-product-archive .wcda-category-overlay{
    position:absolute;
    z-index:2;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:min(48%,620px);
    padding:30px 46px;
    color:#fff;
}
body.wcda-product-archive .wcda-category-label{
    display:inline-block;
    margin-bottom:8px;
    font-size:11px;
    font-weight:800;
    letter-spacing:.18em;
    color:#fff;
    opacity:.92;
}
body.wcda-product-archive .wcda-category-overlay h1{
    margin:0!important;
    color:#fff!important;
    font-size:clamp(34px,4vw,62px)!important;
    line-height:1.02!important;
    font-weight:800!important;
    text-shadow:0 3px 16px rgba(0,0,0,.28);
}
body.wcda-product-archive .wcda-toolbar{
    margin:0 auto 38px!important;
    padding:0!important;
    min-height:54px;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:30px!important;
}
body.wcda-product-archive .wcda-toolbar .woocommerce-result-count{
    margin:0!important;
    text-align:left!important;
}
body.wcda-product-archive .wcda-toolbar .woocommerce-ordering{
    margin:0!important;
}
body.wcda-product-archive ul.products{
    margin-left:auto!important;
    margin-right:auto!important;
    margin-bottom:100px!important;
    padding-left:0!important;
    padding-right:0!important;
}
body.wcda-product-archive nav.woocommerce-pagination{
    margin-bottom:100px!important;
}
@media(max-width:760px){
    body.wcda-product-archive .wcda-archive-intro,
    body.wcda-product-archive .wcda-category-banner,
    body.wcda-product-archive .wcda-toolbar,
    body.wcda-product-archive ul.products,
    body.wcda-product-archive nav.woocommerce-pagination{
        width:calc(100% - 28px)!important;
        max-width:2000px!important;
    }
    body.wcda-product-archive .wcda-category-banner{
        margin:16px auto 24px!important;
        min-height:150px;
        border-radius:16px;
    }
    body.wcda-product-archive .wcda-category-banner img{
        height:180px!important;
        border-radius:16px;
    }
    body.wcda-product-archive .wcda-category-banner::after{
        background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.35) 62%,rgba(0,0,0,0) 100%);
    }
    body.wcda-product-archive .wcda-category-overlay{
        width:78%;
        padding:18px 22px;
    }
    body.wcda-product-archive .wcda-category-label{
        font-size:8px;
        margin-bottom:5px;
    }
    body.wcda-product-archive .wcda-category-overlay h1{
        font-size:clamp(25px,7vw,38px)!important;
    }
    body.wcda-product-archive .wcda-toolbar{
        margin:0 auto 26px!important;
        padding:0!important;
        gap:12px!important;
    }
    body.wcda-product-archive .wcda-toolbar .woocommerce-result-count{
        width:100%;
        order:1;
    }
    body.wcda-product-archive .wcda-toolbar .woocommerce-ordering{
        width:100%;
        order:2;
    }
    body.wcda-product-archive .wcda-toolbar .woocommerce-ordering select{
        width:100%;
    }
    body.wcda-product-archive ul.products{
        margin-bottom:70px!important;
    }
}

/* ============================================================
   WCDA 1.6.0 — HEADER-EDGE ALIGNMENT
   The archive content uses the same viewport-centered maximum
   width as the ecommerce header, even when the theme/WooCommerce
   wrapper is narrower.
   ============================================================ */
@media (min-width:761px){
    body.wcda-product-archive .wcda-archive-intro,
    body.wcda-product-archive .wcda-category-banner,
    body.wcda-product-archive .wcda-toolbar,
    body.wcda-product-archive ul.products,
    body.wcda-product-archive nav.woocommerce-pagination{
        width: min(var(--wcda-max-width), calc(100vw - 40px)) !important;
        max-width: min(var(--wcda-max-width), calc(100vw - 40px)) !important;
        margin-left: 50% !important;
        margin-right: 0 !important;
        transform: translateX(-50%) !important;
        box-sizing: border-box !important;
    }

    body.wcda-product-archive .wcda-archive-intro{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.wcda-product-archive .wcda-category-banner{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.wcda-product-archive .wcda-toolbar{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.wcda-product-archive ul.products{
        padding-left: 0 !important;
        padding-right: 0 !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    body.wcda-product-archive nav.woocommerce-pagination{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width:761px) and (max-width:1050px){
    body.wcda-product-archive ul.products{
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width:760px){
    body.wcda-product-archive .wcda-archive-intro,
    body.wcda-product-archive .wcda-category-banner,
    body.wcda-product-archive .wcda-toolbar,
    body.wcda-product-archive ul.products,
    body.wcda-product-archive nav.woocommerce-pagination{
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
}

/* 1.6.4 — currency converter compatibility */
body.wcda-product-archive ul.products li.product .price .vccc-converted-usd,
body.wcda-product-archive ul.products li.product .price .vccc-variable-usd,
body.wcda-product-archive ul.products li.product .price .vccc-new-usd,
body.wcda-product-archive ul.products li.product .price .vccc-old-usd{
    color:inherit!important;
}
body.wcda-product-archive ul.products li.product .price .vccc-old-usd{opacity:.55!important;color:var(--wcda-muted)!important}

/* WCDA 1.6.5 — price markup is supplied only by Vallarta Concierge Currency Converter. */
body.wcda-product-archive ul.products li.product .price .vccc-converted-usd{display:inline-block}
