/* Shared boutique archive refinements. No single-product or global header rules. */
body.tax-product_cat.rs-commerce-surface{--rc-ivory:#faf9f6;--rc-plum:var(--rashean-plum);--rc-gold:var(--rashean-gold)}
body.tax-product_cat.rs-commerce-surface .product-archive-hero-section .entry-hero-container-inner{background:linear-gradient(110deg,var(--rashean-cream),#faf9f6);border-bottom:1px solid color-mix(in srgb,var(--rc-gold) 45%,transparent)}
body.tax-product_cat.rs-commerce-surface .product-archive-hero-section .hero-section-overlay{background:none;opacity:0}
body.tax-product_cat.rs-commerce-surface .product-archive-hero-section .hero-container{min-height:170px;padding-top:28px;padding-bottom:30px}
body.tax-product_cat.rs-commerce-surface .archive-title{color:var(--rc-plum);margin:0 0 12px;font-weight:400}
body.tax-product_cat.rs-commerce-surface .archive-description{font:400 21px/1.5 'Josefin Slab',Georgia,serif;max-width:760px}
body.tax-product_cat.rs-commerce-surface #primary>.content-container{row-gap:24px;column-gap:28px;grid-template-columns:minmax(230px,1fr) minmax(0,3fr)}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel,body.tax-product_cat.rs-commerce-surface .rc-free-resources{background:linear-gradient(135deg,#faf9f6,#f6f0e6);border:1px solid var(--rc-gold);border-radius:10px;box-shadow:0 3px 10px #26101e0a;padding:22px}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel h3,body.tax-product_cat.rs-commerce-surface .rc-free-resources h3{color:var(--rc-plum);font-size:22px;line-height:1.3}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel .wc-block-product-filters__overlay-content>h3{padding-bottom:14px;border-bottom:1px solid var(--rc-gold);margin-bottom:18px}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel :is(.wp-block-woocommerce-product-filter-price,.wp-block-woocommerce-product-filter-status,.wp-block-woocommerce-product-filter-attribute){border-color:var(--rc-gold);padding-top:16px;margin-top:18px}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel :is(input,button,label,span){font-family:'Josefin Slab',Georgia,serif;font-size:18px}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel input[type=checkbox]{accent-color:var(--rc-plum)}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel .wc-block-product-filters__overlay-dialog{background:#faf9f6;color:var(--rc-plum)}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel .wc-block-product-filter-price-slider{--wc-product-filter-price-slider-slider-color:var(--rc-plum);--wc-product-filter-price-slider-handle-color:var(--rc-plum)}
/* Empty collections have no decorative or nonfunctional filter panel. */
body.tax-product_cat.rs-commerce-surface #secondary .widget:has(>.rc-filter-panel):not(:has(.wp-block-woocommerce-product-filter-price:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-status:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-attribute:not(.wc-block-product-filter--hidden))){display:none}
body.tax-product_cat.rs-commerce-surface .rc-free-resources h3{display:flex;gap:12px;align-items:center}
body.tax-product_cat.rs-commerce-surface .rc-free-resources h3 svg{width:34px;height:34px;flex-shrink:0}
body.tax-product_cat.rs-commerce-surface .rc-free-resources p{font-size:19px;line-height:1.45;margin-bottom:18px}
body.tax-product_cat.rs-commerce-surface #inner-wrap :is(.wp-block-button__link,.wc-block-product-filters__open-overlay,.wc-block-product-filters__apply){background:var(--rc-plum);border-color:var(--rc-gold);color:var(--rc-ivory);font-size:16px;min-height:44px}
body.tax-product_cat.rs-commerce-surface #inner-wrap :is(.wp-block-button__link,.wc-block-product-filters__open-overlay,.wc-block-product-filters__apply):hover{background:var(--rc-gold);color:var(--rc-plum)}
body.tax-product_cat.rs-commerce-surface .rc-browse-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
body.tax-product_cat.rs-commerce-surface #main .rc-browse-heading h2{font:600 26px/1.3 'Josefin Slab',Georgia,serif!important;color:var(--rc-plum);margin:0}
body.tax-product_cat.rs-commerce-surface .rc-wishlist-link{font:600 18px/1.4 'Josefin Slab',Georgia,serif;color:var(--rc-plum);text-underline-offset:4px}
body.tax-product_cat.rs-commerce-surface .kadence-shop-top-row{margin-bottom:22px;gap:16px;align-items:center}
body.tax-product_cat.rs-commerce-surface .woocommerce-result-count{font-size:19px;margin:0}
body.tax-product_cat.rs-commerce-surface .woocommerce-ordering select{background:var(--rc-ivory);border:1px solid var(--rc-gold);font-size:17px;min-height:44px;border-radius:6px}
body.tax-product_cat.rs-commerce-surface #main ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px 22px;margin-top:0;align-items:stretch}
body.tax-product_cat.rs-commerce-surface #main ul.products li.product{position:relative;background:transparent;box-shadow:none;border:0;border-radius:12px;display:flex;flex-direction:column;align-self:stretch;overflow:visible}
body.tax-product_cat.rs-commerce-surface #main ul.products .woocommerce-loop-image-link{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;width:100%;border:1px solid #b89b633d;border-radius:12px;overflow:hidden;background:var(--rc-ivory);box-shadow:none}
body.tax-product_cat.rs-commerce-surface #main ul.products .woocommerce-loop-image-link img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:0;background:transparent;box-shadow:none}
body.tax-product_cat.rs-commerce-surface #main ul.products .product-details{background:transparent;text-align:center;padding:14px 3px 0;display:flex;flex-direction:column;flex:1}
body.tax-product_cat.rs-commerce-surface #main ul.products .woocommerce-loop-product__title,body.tax-product_cat.rs-commerce-surface #main ul.products .woocommerce-loop-product__title a{font:600 21px/1.35 'Josefin Slab',Georgia,serif!important;color:var(--rc-plum);margin:0 0 8px}
body.tax-product_cat.rs-commerce-surface #main ul.products .price{font:700 21px/1.4 'Josefin Slab',Georgia,serif;color:var(--rc-plum);margin:0}
body.tax-product_cat.rs-commerce-surface #main ul.products .product-action-wrap{position:static;opacity:1;transform:none;margin-top:auto;padding-top:12px}
body.tax-product_cat.rs-commerce-surface #main ul.products .product-action-wrap a{font:600 16px/1.4 'Josefin Slab',Georgia,serif;border:1px solid var(--rc-gold);border-radius:999px;background:var(--rc-plum);color:var(--rc-ivory);padding:10px 17px;min-height:44px}
body.tax-product_cat.rs-commerce-surface #main ul.products .product-action-wrap a:hover{background:var(--rc-gold);color:var(--rc-plum)}
body.tax-product_cat.rs-commerce-surface .rc-brand-placeholder{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;color:var(--rc-plum);background:#f6f0e6}
body.tax-product_cat.rs-commerce-surface .rc-brand-placeholder>span{font:400 23px/1.3 Cinzel,serif;letter-spacing:.08em}
body.tax-product_cat.rs-commerce-surface .rc-brand-placeholder small{font:400 17px/1.45 'Josefin Slab',serif;max-width:150px}
body.tax-product_cat.rs-commerce-surface .rc-more h2{color:var(--rc-plum);margin-bottom:24px}
body.tax-product_cat.rs-commerce-surface .rc-education-grid{gap:20px}
body.tax-product_cat.rs-commerce-surface .rc-education-card{background:#faf7f1;border:1px solid #b89b6370;border-radius:10px;box-shadow:0 3px 10px #26101e0a}
body.tax-product_cat.rs-commerce-surface .rc-education-card>.wp-block-group__inner-container{display:grid;grid-template-columns:42% minmax(0,1fr);height:100%}
body.tax-product_cat.rs-commerce-surface .rc-education-card figure{height:100%;min-height:240px}
body.tax-product_cat.rs-commerce-surface .rc-education-card img{height:100%;width:100%;aspect-ratio:auto;object-fit:cover;border-radius:0;box-shadow:none}
body.tax-product_cat.rs-commerce-surface .rc-education-copy{padding:20px 15px;display:flex;flex-direction:column;justify-content:center}
body.tax-product_cat.rs-commerce-surface .rc-education-copy>.wp-block-group__inner-container{display:contents}
body.tax-product_cat.rs-commerce-surface .rc-education-copy h3{font-size:21px;color:var(--rc-plum);margin:0 0 10px}
body.tax-product_cat.rs-commerce-surface .rc-education-copy p{min-height:0;font-size:18px;line-height:1.4;margin:0 0 16px}
body.tax-product_cat.rs-commerce-surface .rc-education-copy .wp-block-button__link{font-size:13px!important;min-height:40px!important;padding:9px 10px!important;white-space:normal}
@media(min-width:783px) and (max-width:1100px){body.tax-product_cat.rs-commerce-surface #primary>.content-container{grid-template-columns:220px minmax(0,1fr);gap:22px}body.tax-product_cat.rs-commerce-surface #main ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.tax-product_cat.rs-commerce-surface .rc-education-grid{grid-template-columns:1fr}body.tax-product_cat.rs-commerce-surface .rc-education-card>.wp-block-group__inner-container{grid-template-columns:32% 1fr}body.tax-product_cat.rs-commerce-surface .rc-education-card figure{min-height:180px}}
@media(max-width:782px){body.tax-product_cat.rs-commerce-surface #primary>.content-container{grid-template-columns:minmax(0,1fr);gap:22px}body.tax-product_cat.rs-commerce-surface .product-archive-hero-section .hero-container{padding-top:24px;padding-bottom:24px;min-height:0}body.tax-product_cat.rs-commerce-surface .archive-title{font-size:36px}body.tax-product_cat.rs-commerce-surface .archive-description{font-size:19px}body.tax-product_cat.rs-commerce-surface .rc-filter-panel{padding:0;border:0;background:transparent;box-shadow:none}body.tax-product_cat.rs-commerce-surface .rc-filter-panel .wc-block-product-filters__overlay-content{padding:22px}body.tax-product_cat.rs-commerce-surface #main ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 16px}body.tax-product_cat.rs-commerce-surface #main ul.products .woocommerce-loop-product__title,body.tax-product_cat.rs-commerce-surface #main ul.products .woocommerce-loop-product__title a{font-size:19px!important}body.tax-product_cat.rs-commerce-surface #main ul.products .price{font-size:20px}body.tax-product_cat.rs-commerce-surface #main .rc-browse-heading h2{font-size:24px!important}body.tax-product_cat.rs-commerce-surface .rc-browse-heading{align-items:flex-start}body.tax-product_cat.rs-commerce-surface .kadence-shop-top-row{display:flex;flex-wrap:wrap}body.tax-product_cat.rs-commerce-surface .rc-education-grid{grid-template-columns:1fr;gap:18px}body.tax-product_cat.rs-commerce-surface .rc-education-card figure{min-height:220px}body.tax-product_cat.rs-commerce-surface .rc-education-copy{padding:20px 16px}}
@media(max-width:359px){body.tax-product_cat.rs-commerce-surface #main ul.products{grid-template-columns:minmax(0,1fr)!important}}

body.tax-product_cat.rs-commerce-surface .product-archive-hero-section .entry-header{text-align:left}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel h3{font:600 22px/1.3 'Josefin Slab',Georgia,serif}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel .wc-block-product-filters__overlay-content>div{margin-top:0}
body.tax-product_cat.rs-commerce-surface .rc-filter-panel .wc-block-product-filters__overlay-content>div:not(.wc-block-product-filter--hidden):not([hidden]){margin-top:16px}
body.tax-product_cat.rs-commerce-surface #primary>.content-container:not(:has(.wp-block-woocommerce-product-filter-price:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-status:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-attribute:not(.wc-block-product-filter--hidden))) .widget:has(>.rc-free-resources){grid-row:1}
@media(max-width:782px){body.tax-product_cat.rs-commerce-surface #primary>.content-container:not(:has(.wp-block-woocommerce-product-filter-price:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-status:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-attribute:not(.wc-block-product-filter--hidden))) #main{grid-row:1}body.tax-product_cat.rs-commerce-surface #primary>.content-container:not(:has(.wp-block-woocommerce-product-filter-price:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-status:not(.wc-block-product-filter--hidden),.wp-block-woocommerce-product-filter-attribute:not(.wc-block-product-filter--hidden))) .widget:has(>.rc-free-resources){grid-row:2}}

/* Prevent intrinsic image height from stretching the educational card grid. */
body.tax-product_cat.rs-commerce-surface .rc-education-card>.wp-block-group__inner-container{height:auto;min-height:250px}
body.tax-product_cat.rs-commerce-surface .rc-education-card figure{position:relative;height:auto;min-height:0;align-self:stretch;overflow:hidden}
body.tax-product_cat.rs-commerce-surface .rc-education-card figure img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}
body.tax-product_cat.rs-commerce-surface .product-archive-hero-section .entry-header{align-items:flex-start}
body.tax-product_cat.rs-commerce-surface #inner-wrap .rc-filter-panel h3{font:600 22px/1.3 'Josefin Slab',Georgia,serif}
@media(min-width:783px){body.tax-product_cat.rs-commerce-surface .rc-filter-panel .wc-block-product-filters__overlay-dialog{background:transparent}}

body.tax-product_cat.rs-commerce-surface #main ul.products .product-action-wrap a{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;white-space:nowrap;gap:6px}
@media(max-width:782px){body.tax-product_cat.rs-commerce-surface #main ul.products .product-action-wrap a{font-size:14px;padding:10px 12px}}

/* TI Wishlist retains all persistence, requests and keyboard behavior. */
body.tax-product_cat.rs-commerce-surface #main li.product>.tinvwl-loop-button-wrapper{position:absolute;right:10px;top:10px;z-index:5;margin:0;padding:0;width:44px;height:44px}
body.tax-product_cat.rs-commerce-surface #main .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist_button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:1px solid var(--rashean-gold);border-radius:50%;background:#faf9f6;color:var(--rashean-plum);box-shadow:0 2px 5px #26101e10;line-height:1;text-decoration:none}
body.tax-product_cat.rs-commerce-surface #main .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist_button:before{content:'\2661'!important;font-family:Arial,sans-serif!important;font-size:29px!important;line-height:1!important;width:auto!important;margin:0!important;display:block!important}
body.tax-product_cat.rs-commerce-surface #main .tinvwl-loop-button-wrapper .tinvwl-product-in-list:before{content:'\2665'!important;color:var(--rashean-plum)}
body.tax-product_cat.rs-commerce-surface #main .tinvwl-loop-button-wrapper a:focus-visible{outline:3px solid var(--rashean-plum);outline-offset:3px}
body.tax-product_cat.rs-commerce-surface #main .tinvwl-loop-button-wrapper .tinvwl-tooltip{display:none}
body.rs-wishlist-page #inner-wrap{background:var(--rashean-cream);color:var(--rashean-plum);font:400 19px/1.5 'Josefin Slab',Georgia,serif}
body.rs-wishlist-page #main{background:transparent}
body.rs-wishlist-page #main h2{font-family:Cinzel,Georgia,serif;color:var(--rashean-plum);font-weight:400}
body.rs-wishlist-page .tinv-wishlist table{background:#faf9f6;border:1px solid var(--rashean-gold);border-radius:10px;overflow:hidden}
body.rs-wishlist-page .tinv-wishlist table :is(th,td){border-color:#b89b6340;font-family:'Josefin Slab',Georgia,serif;font-size:18px}
body.rs-wishlist-page .tinv-wishlist .product-thumbnail img{max-height:150px;width:auto;object-fit:contain;border-radius:8px;box-shadow:none}
body.rs-wishlist-page .tinv-wishlist button[name=tinvwl-remove]{min-width:44px;min-height:44px;border:1px solid var(--rashean-gold);color:var(--rashean-plum);background:#faf9f6;border-radius:50%}

body.tax-product_cat.rs-commerce-surface .rc-wishlist-link a{font:600 18px/1.4 'Josefin Slab',Georgia,serif;color:var(--rashean-plum);text-decoration:underline;text-underline-offset:4px}
body.tax-product_cat.rs-commerce-surface .rc-wishlist-link .wishlist_products_counter:before{display:none}
