/*
==========================================================
RAIN SPREE — WELLNESS ESSENTIALS ARCHIVE
==========================================================
*/

.rs-wellness-archive{
    --wellness-green:#246b35;
    --wellness-green-dark:#174f2b;
    --wellness-green-soft:#edf6e8;
    --wellness-cream:#f8f7ef;
    --wellness-text:#24372b;
    --wellness-muted:#66736b;
    --wellness-border:rgba(36,107,53,.12);

    background:
        linear-gradient(
            180deg,
            #f5f8f2 0%,
            #fbfcfa 40%,
            #f3f7f1 100%
        );
    color:var(--wellness-text);
}

/* ==========================================================
   BREADCRUMB
========================================================== */

.rs-wellness-breadcrumb-wrap{
    padding:16px 0 8px;
}

.rs-wellness-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    color:#69756d;
    font-size:11px;
}

.rs-wellness-breadcrumb a{
    color:#5f6b63;
    text-decoration:none;
}

.rs-wellness-breadcrumb a:hover{
    color:var(--wellness-green);
}

.rs-wellness-breadcrumb i{
    font-size:10px;
}

/* ==========================================================
   HERO
========================================================== */

.rs-wellness-hero{
    padding:10px 0 18px;
}

.rs-wellness-hero-card{
    position:relative;
    min-height:390px;
    display:grid;
    grid-template-columns:1fr 1fr;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.9);
    border-radius:18px;
    background:
        linear-gradient(
            105deg,
            rgba(251,249,235,.97) 0%,
            rgba(239,246,226,.92) 52%,
            rgba(228,240,218,.78) 100%
        );
    box-shadow:0 15px 40px rgba(37,78,46,.08);
}

.rs-wellness-hero-content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:42px 42px 38px;
}

.rs-wellness-eyebrow{
    display:inline-block;
    margin-bottom:12px;
    color:var(--wellness-green);
    font-size:10px;
    font-weight:800;
    letter-spacing:1.4px;
}

.rs-wellness-hero h1{
    margin:0 0 15px;
    color:var(--wellness-green-dark);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:56px;
    line-height:.92;
    font-weight:700;
}

.rs-wellness-hero h1 span{
    display:inline-block;
}

.rs-wellness-hero h1 i{
    display:inline-flex;
    margin-left:10px;
    color:var(--wellness-green);
    font-family:inherit;
    font-size:34px;
    transform:rotate(-8deg);
}

.rs-wellness-hero-content > p{
    max-width:540px;
    margin:0 0 25px;
    color:#526159;
    font-size:14px;
    line-height:1.7;
}

.rs-wellness-benefits{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    max-width:650px;
}

.rs-wellness-benefit{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}

.rs-wellness-benefit-icon{
    flex:0 0 36px;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(36,107,53,.20);
    border-radius:50%;
    background:rgba(255,255,255,.66);
    color:var(--wellness-green);
}

.rs-wellness-benefit-icon i{
    font-size:13px;
}

.rs-wellness-benefit strong,
.rs-wellness-benefit small{
    display:block;
}

.rs-wellness-benefit strong{
    margin-bottom:2px;
    color:#304738;
    font-size:10px;
    line-height:1.2;
}

.rs-wellness-benefit small{
    color:#6c776f;
    font-size:8px;
    line-height:1.3;
}

.rs-wellness-hero-image{
    position:relative;
    min-height:390px;
    overflow:hidden;
}

.rs-wellness-hero-image::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle at 55% 50%,
            rgba(255,255,255,.35),
            transparent 58%
        );
    z-index:1;
    pointer-events:none;
}

.rs-wellness-hero-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.rs-wellness-image-placeholder{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    color:var(--wellness-green);
    background:
        radial-gradient(
            circle,
            #edf6e6 0%,
            #dfeeda 100%
        );
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:26px;
}

.rs-wellness-image-placeholder i{
    font-size:50px;
}

/* ==========================================================
   CATEGORY PILLS
========================================================== */

.rs-wellness-categories{
    padding:0 0 14px;
}

.rs-wellness-category-scroll{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px;
    overflow-x:auto;
    border:1px solid rgba(255,255,255,.85);
    border-radius:16px;
    background:rgba(255,255,255,.72);
    box-shadow:0 7px 25px rgba(34,72,42,.05);
    scrollbar-width:none;
}

.rs-wellness-category-scroll::-webkit-scrollbar{
    display:none;
}

.rs-wellness-category-pill{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:48px;
    padding:7px 14px;
    border:1px solid rgba(36,107,53,.08);
    border-radius:999px;
    background:#fff;
    color:#435349;
    text-decoration:none;
    font-size:10px;
    font-weight:600;
    white-space:nowrap;
    transition:.25s ease;
}

.rs-wellness-category-pill:hover{
    border-color:rgba(36,107,53,.25);
    color:var(--wellness-green);
    transform:translateY(-1px);
}

.rs-wellness-category-pill.is-active{
    background:var(--wellness-green);
    border-color:var(--wellness-green);
    color:#fff;
}

.rs-wellness-category-icon{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--wellness-green-soft);
    color:var(--wellness-green);
}

.rs-wellness-category-pill.is-active .rs-wellness-category-icon{
    background:rgba(255,255,255,.17);
    color:#fff;
}

/* ==========================================================
   CONTROLS
========================================================== */

.rs-wellness-controls{
    padding:0 0 15px;
}

.rs-wellness-controls-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:9px 12px;
    border:1px solid rgba(255,255,255,.9);
    border-radius:14px;
    background:rgba(255,255,255,.78);
    box-shadow:0 6px 20px rgba(34,72,42,.04);
}

.rs-wellness-filter-group,
.rs-wellness-sort{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

.rs-wellness-filter-label,
.rs-wellness-filter-clear,
.rs-wellness-filter-dropdown summary,
.rs-wellness-sort > span{
    color:#59675e;
    font-size:10px;
    font-weight:600;
}

.rs-wellness-filter-label{
    display:flex;
    align-items:center;
    gap:6px;
    padding:9px 11px;
    color:var(--wellness-green);
}

.rs-wellness-filter-dropdown{
    position:relative;
}

.rs-wellness-filter-dropdown summary{
    display:flex;
    align-items:center;
    gap:12px;
    padding:8px 12px;
    border:1px solid var(--wellness-border);
    border-radius:9px;
    background:#fff;
    cursor:pointer;
    list-style:none;
}

.rs-wellness-filter-dropdown summary::-webkit-details-marker{
    display:none;
}

.rs-wellness-filter-dropdown summary i{
    font-size:8px;
}

.rs-wellness-dropdown-menu{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    z-index:30;
    min-width:190px;
    padding:7px;
    border:1px solid rgba(36,107,53,.12);
    border-radius:12px;
    background:#fff;
    box-shadow:0 15px 35px rgba(25,55,34,.13);
}

.rs-wellness-dropdown-menu a{
    display:block;
    padding:8px 10px;
    border-radius:7px;
    color:#526058;
    text-decoration:none;
    font-size:10px;
}

.rs-wellness-dropdown-menu a:hover{
    background:var(--wellness-green-soft);
    color:var(--wellness-green);
}

.rs-wellness-filter-clear{
    padding:8px 10px;
    color:var(--wellness-green);
    text-decoration:none;
}

.rs-wellness-sort{
    justify-content:flex-end;
}

.rs-wellness-sort .woocommerce-ordering{
    margin:0;
}

.rs-wellness-sort .woocommerce-ordering select{
    min-height:34px;
    padding:0 28px 0 11px;
    border:1px solid var(--wellness-border);
    border-radius:9px;
    background:#fff;
    color:#46534b;
    font-size:10px;
}

/* ==========================================================
   PRODUCTS
========================================================== */

.rs-wellness-products{
    padding:4px 0 30px;
}

.rs-wellness-products .woocommerce-result-count{
    margin:0 0 10px;
    color:#6a756e;
    font-size:10px;
}

.rs-wellness-products .woocommerce-ordering{
    display:none;
}

.rs-wellness-product-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.rs-wellness-product-card{
    position:relative;
    overflow:hidden;
    margin:0 !important;
    border:1px solid rgba(36,107,53,.08);
    border-radius:14px;
    background:rgba(255,255,255,.92);
    box-shadow:0 8px 22px rgba(28,63,38,.06);
    transition:transform .25s ease,box-shadow .25s ease;
}

.rs-wellness-product-card:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(28,63,38,.10);
}

.rs-wellness-product-media{
    position:relative;
    overflow:hidden;
    background:#f4f5ed;
}

.rs-wellness-product-image{
    display:block;
    aspect-ratio:1 / 1;
}

.rs-wellness-product-image img{
    width:100% !important;
    height:100% !important;
    object-fit:cover;
    margin:0 !important;
    transition:transform .35s ease;
}

.rs-wellness-product-card:hover .rs-wellness-product-image img{
    transform:scale(1.035);
}

.rs-wellness-product-badge{
    position:absolute;
    top:10px;
    left:10px;
    z-index:3;
    padding:5px 8px;
    border-radius:999px;
    background:var(--wellness-green);
    color:#fff;
    font-size:8px;
    font-weight:700;
}

.rs-wellness-wishlist{
    position:absolute;
    top:9px;
    right:9px;
    z-index:4;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(36,107,53,.13);
    border-radius:50%;
    background:rgba(255,255,255,.92);
    color:#59665e;
    cursor:pointer;
}

.rs-wellness-wishlist:hover{
    color:#c45b63;
}

.rs-wellness-product-content{
    padding:12px;
}

.rs-wellness-product-cat{
    display:block;
    margin-bottom:5px;
    overflow:hidden;
    color:#8a948d;
    font-size:7px;
    font-weight:600;
    text-transform:uppercase;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.rs-wellness-product-cat a{
    color:inherit;
    text-decoration:none;
}

.rs-wellness-product-title{
    min-height:38px;
    margin:0 0 6px;
    font-size:13px;
    line-height:1.35;
    font-weight:700;
}

.rs-wellness-product-title a{
    color:#263a2d;
    text-decoration:none;
}

.rs-wellness-product-title a:hover{
    color:var(--wellness-green);
}

.rs-wellness-product-rating{
    display:flex;
    align-items:center;
    gap:5px;
    min-height:17px;
    margin-bottom:7px;
}

.rs-wellness-product-rating .star-rating{
    margin:0 !important;
    font-size:10px;
}

.rs-wellness-product-rating > span{
    color:#738078;
    font-size:8px;
}

.rs-wellness-product-price{
    min-height:25px;
    margin-bottom:9px;
    color:var(--wellness-green-dark);
    font-size:14px;
    font-weight:800;
}

.rs-wellness-product-price del{
    margin-right:5px;
    color:#9aa29d;
    font-size:10px;
    font-weight:500;
}

.rs-wellness-product-price ins{
    color:var(--wellness-green-dark);
    text-decoration:none;
}

.rs-wellness-product-cart .button{
    width:100%;
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:34px;
    margin:0 !important;
    padding:7px 10px !important;
    border:1px solid rgba(36,107,53,.35) !important;
    border-radius:8px !important;
    background:#fff !important;
    color:var(--wellness-green-dark) !important;
    font-size:9px !important;
    font-weight:700 !important;
    text-decoration:none !important;
}

.rs-wellness-product-cart .button:hover{
    border-color:var(--wellness-green) !important;
    background:var(--wellness-green) !important;
    color:#fff !important;
}

.rs-wellness-product-cart .button i{
    font-size:10px;
}

/* Woo pagination */

.rs-wellness-products .woocommerce-pagination{
    margin-top:25px;
}

.rs-wellness-products .woocommerce-pagination ul{
    display:flex !important;
    justify-content:center;
    gap:5px;
    border:0 !important;
}

.rs-wellness-products .woocommerce-pagination ul li{
    border:0 !important;
}

.rs-wellness-products .woocommerce-pagination a,
.rs-wellness-products .woocommerce-pagination span{
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-width:32px;
    height:32px;
    border:1px solid var(--wellness-border);
    border-radius:8px;
    background:#fff;
    color:#58665d;
    font-size:10px;
    text-decoration:none;
}

.rs-wellness-products .woocommerce-pagination .current{
    border-color:var(--wellness-green);
    background:var(--wellness-green);
    color:#fff;
}

.rs-wellness-empty{
    padding:60px 20px;
    text-align:center;
    border-radius:16px;
    background:#fff;
}

.rs-wellness-empty i{
    color:var(--wellness-green);
    font-size:35px;
}

.rs-wellness-empty h2{
    margin:15px 0 6px;
    color:#274334;
    font-family:"Cormorant Garamond",Georgia,serif;
}

.rs-wellness-empty p{
    color:#68746c;
    font-size:13px;
}

.rs-wellness-empty a{
    display:inline-flex;
    margin-top:10px;
    padding:10px 18px;
    border-radius:999px;
    background:var(--wellness-green);
    color:#fff;
    text-decoration:none;
    font-size:10px;
    font-weight:700;
}

/* ==========================================================
   BUNDLE
========================================================== */

.rs-wellness-bundle{
    padding:0 0 20px;
}

.rs-wellness-bundle-card{
    position:relative;
    min-height:190px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    overflow:hidden;
    padding:28px 34px;
    border-radius:16px;
    background:
        linear-gradient(
            100deg,
            #e9f2dc 0%,
            #f5f2df 55%,
            #e4eed9 100%
        );
}

.rs-wellness-bundle-card h2{
    margin:0 0 8px;
    color:#315a35;
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:29px;
    line-height:1.05;
}

.rs-wellness-bundle-card p{
    margin:0 0 16px;
    color:#647068;
    font-size:11px;
}

.rs-wellness-bundle-card a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 17px;
    border-radius:999px;
    background:var(--wellness-green);
    color:#fff;
    font-size:10px;
    font-weight:700;
    text-decoration:none;
}

.rs-wellness-bundle-decoration{
    position:relative;
    width:40%;
    height:150px;
    color:rgba(36,107,53,.14);
}

.rs-wellness-bundle-decoration i{
    position:absolute;
}

.rs-wellness-bundle-decoration i:nth-child(1){
    top:10px;
    left:25%;
    font-size:80px;
    transform:rotate(-25deg);
}

.rs-wellness-bundle-decoration i:nth-child(2){
    right:18%;
    bottom:0;
    font-size:100px;
    transform:rotate(25deg);
}

.rs-wellness-bundle-decoration i:nth-child(3){
    right:3%;
    top:20px;
    font-size:45px;
}

/* ==========================================================
   TRUST
========================================================== */

.rs-wellness-trust{
    padding:0 0 35px;
}

.rs-wellness-trust-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    overflow:hidden;
    border:1px solid rgba(36,107,53,.08);
    border-radius:15px;
    background:rgba(255,255,255,.78);
}

.rs-wellness-trust-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:19px 18px;
    border-right:1px solid rgba(36,107,53,.08);
}

.rs-wellness-trust-item:last-child{
    border-right:0;
}

.rs-wellness-trust-item > i{
    flex:0 0 34px;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--wellness-green-soft);
    color:var(--wellness-green);
    font-size:12px;
}

.rs-wellness-trust-item strong,
.rs-wellness-trust-item small{
    display:block;
}

.rs-wellness-trust-item strong{
    margin-bottom:2px;
    color:#31463a;
    font-size:10px;
}

.rs-wellness-trust-item small{
    color:#7a857e;
    font-size:8px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1023px){

    .rs-wellness-hero-card{
        grid-template-columns:1fr;
    }

    .rs-wellness-hero-image{
        min-height:300px;
        max-height:360px;
        order:-1;
    }

    .rs-wellness-hero-content{
        padding:32px 28px;
    }

    .rs-wellness-product-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .rs-wellness-trust-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .rs-wellness-trust-item:nth-child(2){
        border-right:0;
    }

    .rs-wellness-trust-item:nth-child(-n+2){
        border-bottom:1px solid rgba(36,107,53,.08);
    }

}

@media (max-width:767px){

    .rs-wellness-breadcrumb-wrap{
        padding-top:10px;
    }

    .rs-wellness-hero h1{
        font-size:43px;
    }

    .rs-wellness-benefits{
        grid-template-columns:1fr;
        gap:9px;
    }

    .rs-wellness-controls-inner{
        align-items:flex-start;
        flex-direction:column;
    }

    .rs-wellness-sort{
        width:100%;
        justify-content:space-between;
    }

    .rs-wellness-product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .rs-wellness-product-content{
        padding:10px;
    }

    .rs-wellness-product-title{
        font-size:11px;
    }

    .rs-wellness-product-price{
        font-size:12px;
    }

    .rs-wellness-bundle-card{
        padding:25px;
    }

    .rs-wellness-bundle-decoration{
        display:none;
    }

}

@media (max-width:480px){

    .rs-wellness-product-grid{
        grid-template-columns:1fr 1fr;
    }

    .rs-wellness-trust-grid{
        grid-template-columns:1fr;
    }

    .rs-wellness-trust-item,
    .rs-wellness-trust-item:nth-child(2){
        border-right:0;
        border-bottom:1px solid rgba(36,107,53,.08);
    }

    .rs-wellness-trust-item:last-child{
        border-bottom:0;
    }

}
