/*
 * RCG Manager site-global presentation helpers.
 *
 * These rules are intentionally limited to reusable RCG/Astra/WooCommerce
 * patterns that are safe to keep with the manager plugin. The heavier
 * .rcg-refresh page system stays in rcg-refresh-global.css.
 */
.body-wrapper{
    padding:60px var(--rcg-gutter-right) 80px var(--rcg-gutter-left);
}

.header-title-wrapper{
    min-height:clamp(500px,30vw,900px);
    border-radius:0 0 14px 14px;
    opacity:.98;
    position:relative;
}

.hero-title{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    box-shadow:0 0 10px 8px rgba(0,0,0,.35);
    opacity:.98;
    background:var(--rcg-red,#c74235);
    background-clip:padding-box;
    border-radius:0 0 14px 14px;
    padding:10px 0!important;
}

.hero-title :is(h2){
    font-size:clamp(1.2rem,4vw,2.25rem);
    font-weight:800!important;
    letter-spacing:.1rem;
    text-transform:uppercase;
    text-align:center;
    color:#fff!important;
}

.body-header :is(h2,
h4){
    color:var(--rcg-red,#c74235)!important;
}

.body-subheader :is(h3){
    color:#616161!important;
}

.body-header h2{
    font-size:2.25rem;
}

.body-header h4{
    font-size:1.6rem;
}

.body-img img,
.body-desc-image img{
    border-radius:8px;
}

.body-desc{
    margin:20px 0;
}

.body-desc-image img{
    width:1140px;
    max-width:50%;
    border-radius:3px;
}

.body-desc-image.full-image img{
    max-width:100%;
}

.body-text p{
    font-family:Roboto, Arial, sans-serif;
    font-size:1rem;
    color:#7a7a7a;
    line-height:1.75rem;
}

.body-classic-button > a{
    background-color:#54595f!important;
    transition:all .35s ease;
    text-transform:capitalize;
}

.body-classic-button > a:hover{
    background-color:#54595fcc!important;
    transform:translateY(-2px);
}

.body-classic-button.light-bg > a{
    background-color:#e9e9e9e6!important;
    border-radius:10px;
    color:var(--rcg-red,#c74235)!important;
}

.body-classic-button.light-bg > a:hover{
    background-color:#e9e9e9!important;
    color:rgba(199,66,53,.52)!important;
}

.form-wrapper{
    border:2px solid #ccc;
    border-radius:8px;
    box-shadow:0 0 10px 10px rgba(0,0,0,.1) inset,0 0 12px 2px rgba(0,0,0,.2)!important;
}

.box-card{
    box-shadow:0 0 20px 8px rgba(200,200,200,.8) inset,0 0 3px 3px rgba(0,0,0,.08);
}

.box-card,
.box-card img{
    border-radius:12px;
}

.box-card img{
    box-shadow:1px 1px 8px 2px rgba(0,0,0,.2);
}

.ccm-cat-grid{
    display:grid;
    grid-template-columns:repeat(var(--ccm-cols), minmax(0,1fr));
    gap:16px;
}

.ccm-cat-item{
    margin:0;
}

.ccm-cat-inner{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    min-height:54px;
    padding:0;
    border:1px solid rgba(0,0,0,.12);
    border-radius:8px;
    background:#fff;
    text-decoration:none!important;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

.ccm-cat-title{
    margin:0!important;
    font-size:16px;
    width:100%;
    line-height:1.2;
}

.ccm-cat-inner:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.10);
    border-color:rgba(0,0,0,.22);
}

.woocommerce-message,
.woocommerce-info{
    border-top-color:var(--rcg-red,#c74235);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-message a.restore-item{
    color:var(--rcg-red,#c74235);
}

.woocommerce-message a.restore-item:hover{
    color:var(--rcg-red-hover,#b3362a);
}

.sale-carousel .sale-product__atc-btn a.button,
.rcg-original-filter-group:is(.rcg-original-status-filter,
.rcg-original-letter-filter) a{
    text-decoration:none;
}

.astra-shop-summary-wrap a.button.product_type_simple.ncm-cfp-see-artwork,
.single_add_to_cart_button.button.alt,
.single_add_to_cart_button.button.alt:is(:active,
:visited),
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:is(:active,
:visited){
    background-color:var(--rcg-red,#c74235);
}

.astra-shop-summary-wrap a.button.product_type_simple.ncm-cfp-see-artwork:hover,
.single_add_to_cart_button.button.alt:is(:hover,
:focus),
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:is(:hover,
:focus){
    background-color:var(--rcg-red-hover,#b3362a);
}

.single-product-category a,
.single-product-category a:is(:active,
:visited),
.product_meta a,
.product_meta a:is(:active,
:visited){
    color:var(--rcg-red,#c74235);
}

.single-product-category a:is(:hover,
:focus),
.product_meta a:is(:hover,
:focus){
    color:var(--rcg-red-hover,#b3362a);
}

@media(max-width:1024px){
    .header-title-wrapper{
        min-height:clamp(280px,60vw,500px);
    }
    .hero-title{
        box-shadow:0 0 8px 6px rgba(0,0,0,.35);
    }
    .body-wrapper{
        padding:50px var(--rcg-gutter-right) 50px var(--rcg-gutter-left);
    }
    .ccm-cat-grid{
        grid-template-columns:repeat(var(--ccm-cols-tablet), minmax(0,1fr));
    }
}

@media(max-width:767px){
    .hero-title{
        box-shadow:0 0 6px 4px rgba(0,0,0,.35);
    }
    .body-wrapper{
        padding:35px var(--rcg-gutter-right) 35px var(--rcg-gutter-left);
    }
    .body-header h2{
        font-size:1.75rem!important;
    }
    .ccm-cat-grid{
        grid-template-columns:repeat(var(--ccm-cols-mobile), minmax(0,1fr));
    }
    .ccm-cat-inner{
        min-height:92px;
    }
}

/* -------------------------------------------------------------------------
   Editorial cohesion pass
   Shared geometry, motion, and accents for the RCG refresh design language.
   The extra section-class specificity intentionally wins over the legacy
   WPCode global CSS while sites transition to this plugin-owned stylesheet.
   ------------------------------------------------------------------------- */
:root{
    --rcg-radius-control:10px;
    --rcg-radius-card:20px;
    --rcg-radius-feature:24px;
    --rcg-surface-warm:#fffaf7;
    --rcg-accent-gradient:linear-gradient(90deg,#ad3027 0%,#c74235 54%,#e59a90 100%);
    --rcg-shadow-rest:0 12px 30px rgba(35,48,68,.055);
    --rcg-shadow-hover:0 22px 52px rgba(35,48,68,.105);
    --rcg-ease-out:cubic-bezier(.22,1,.36,1);
}

.rcg-refresh :is(h1,
h2,
h3){
    text-wrap:balance;
}

.rcg-refresh :is(a,
button,
input,
select,
textarea):focus-visible{
    outline:3px solid rgba(199,66,53,.34);
    outline-offset:3px;
}

.rcg-refresh :is(.rcg-card,
.rcg-prose,
.rcg-image-card,
.rcg-form-wrap){
    border-color:rgba(35,48,68,.13);
}

/* Generic three-card grids: apply the newer editorial card language to most
   reusable .rcg-grid--3 sections. Purpose-built card systems remain excluded
   so their numbering, labels, or specialized layouts are preserved.

   Add .rcg-section--classic-cards to a section or .rcg-card--classic to an
   individual card when the legacy card treatment is intentionally required. */
.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3{
    gap:clamp(20px,2.4vw,30px);
    align-items:stretch;
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic){
    isolation:isolate;
    display:flex;
    flex-direction:column;
    min-height:230px;
    padding:clamp(30px,2.9vw,40px) clamp(25px,2.8vw,38px) clamp(29px,2.8vw,38px);
    border:1px solid rgba(35,48,68,.13);
    border-radius:var(--rcg-radius-feature);
    background:
        radial-gradient(circle at 92% 104%,rgba(199,66,53,.12) 0 24%,rgba(199,66,53,.045) 25% 39%,transparent 40%),
        linear-gradient(145deg,#fff 0%,#fff 58%,#fff8f5 100%);
    box-shadow:var(--rcg-shadow-rest);
    transition:transform .26s var(--rcg-ease-out),box-shadow .26s var(--rcg-ease-out),border-color .24s ease,background .24s ease;
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic)::before{
    content:"";
    position:absolute;
    z-index:1;
    top:-1px;
    left:clamp(25px,2.8vw,38px);
    display:block;
    width:64px;
    height:5px;
    border-radius:0 0 999px 999px;
    background:var(--rcg-accent-gradient);
    box-shadow:0 3px 10px rgba(199,66,53,.14);
    opacity:1;
    transition:width .3s var(--rcg-ease-out);
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic):hover,
.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic):focus-within{
    transform:translateY(-4px);
    border-color:rgba(199,66,53,.29);
    background:
        radial-gradient(circle at 92% 104%,rgba(199,66,53,.16) 0 24%,rgba(199,66,53,.06) 25% 39%,transparent 40%),
        linear-gradient(145deg,#fff 0%,#fff 48%,#fff4f1 100%);
    box-shadow:var(--rcg-shadow-hover);
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic):hover::before,
.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic):focus-within::before{
    width:100px;
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic) h3{
    position:relative;
    z-index:1;
    max-width:20ch;
    margin:0 0 15px;
    color:var(--rcg-ink,#233044);
    font-size:clamp(1.45rem,1.8vw,1.95rem);
    line-height:1.13;
    letter-spacing:-.032em;
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic) :is(p,
li){
    position:relative;
    z-index:1;
    color:#586576;
    font-size:clamp(.97rem,1vw,1.05rem);
    line-height:1.68;
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic) > p:first-of-type{
    margin-top:0;
}

.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic) .rcg-actions{
    margin-top:auto;
    padding-top:22px;
}

/* Artwork path cards: a stronger, numbered editorial treatment for the three
   primary ways visitors can enter the catalog. */
.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3{
    counter-reset:rcg-artwork-path;
    gap:clamp(18px,2.2vw,28px);
    align-items:stretch;
}

.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card{
    counter-increment:rcg-artwork-path;
    isolation:isolate;
    display:flex;
    flex-direction:column;
    min-height:clamp(245px,22vw,315px);
    padding:clamp(34px,3.2vw,46px) clamp(27px,3vw,40px) clamp(30px,3vw,40px);
    border:1px solid rgba(35,48,68,.13);
    border-radius:var(--rcg-radius-feature);
    background:linear-gradient(145deg,#fff 0%,#fff 58%,#fff8f5 100%);
    box-shadow:var(--rcg-shadow-rest);
    transition:transform .26s var(--rcg-ease-out),box-shadow .26s var(--rcg-ease-out),border-color .24s ease,background .24s ease;
}

.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card::before{
    content:counter(rcg-artwork-path,decimal-leading-zero);
    position:absolute;
    z-index:-1;
    top:20px;
    right:24px;
    width:auto;
    height:auto;
    background:none;
    color:rgba(199,66,53,.085);
    font-family:"Libre Baskerville",Georgia,serif;
    font-size:clamp(4rem,6vw,6.5rem);
    font-weight:700;
    line-height:1;
    letter-spacing:-.08em;
    opacity:1;
    pointer-events:none;
}

.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card::after{
    content:"";
    position:absolute;
    top:-1px;
    left:clamp(27px,3vw,40px);
    width:58px;
    height:5px;
    border-radius:0 0 999px 999px;
    background:var(--rcg-accent-gradient);
    box-shadow:0 3px 10px rgba(199,66,53,.14);
    transition:width .3s var(--rcg-ease-out);
}

.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card:hover,
.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card:focus-within{
    transform:translateY(-5px);
    border-color:rgba(199,66,53,.3);
    background:linear-gradient(145deg,#fff 0%,#fff 48%,#fff4f1 100%);
    box-shadow:0 24px 54px rgba(35,48,68,.115);
}

.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card:hover::after,
.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card:focus-within::after{
    width:96px;
}

.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card h3{
    position:relative;
    z-index:1;
    max-width:12ch;
    margin:0 0 15px;
    color:var(--rcg-ink,#233044);
    font-size:clamp(1.52rem,2vw,2.12rem);
    line-height:1.12;
    letter-spacing:-.035em;
}

.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card p{
    position:relative;
    z-index:1;
    max-width:34rem;
    margin:0;
    color:#586576;
    font-size:clamp(.97rem,1vw,1.05rem);
    line-height:1.68;
}

/* Medium guide cards: a softer, more compact reference-card treatment so
   they remain related to, but visibly different from, Artwork Paths. */
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2{
    gap:clamp(20px,2.4vw,30px);
    align-items:stretch;
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card{
    isolation:isolate;
    display:flex;
    flex-direction:column;
    min-height:190px;
    padding:clamp(30px,3vw,42px) clamp(27px,3.4vw,46px) clamp(31px,3.2vw,43px);
    border:1px solid rgba(35,48,68,.13);
    border-radius:28px;
    background:linear-gradient(135deg,#fff 0%,#fff 54%,#fcf5ec 100%);
    box-shadow:var(--rcg-shadow-rest);
    transition:transform .24s var(--rcg-ease-out),box-shadow .24s var(--rcg-ease-out),border-color .24s ease,background .24s ease;
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card::before{
    content:"";
    position:absolute;
    z-index:1;
    top:-1px;
    left:clamp(27px,3.4vw,46px);
    display:block;
    width:76px;
    height:4px;
    border-radius:0 0 999px 999px;
    background:var(--rcg-accent-gradient);
    opacity:1;
    transition:width .28s var(--rcg-ease-out);
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card::after{
    content:"";
    position:absolute;
    z-index:-1;
    right:-68px;
    bottom:-86px;
    width:210px;
    height:210px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(199,66,53,.13) 0%,rgba(199,66,53,.055) 48%,rgba(199,66,53,0) 70%);
    pointer-events:none;
    transition:transform .32s var(--rcg-ease-out),opacity .24s ease;
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card:nth-child(even)::after{
    right:auto;
    left:-74px;
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card:hover,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card:focus-within{
    transform:translateY(-3px);
    border-color:rgba(199,66,53,.28);
    background:linear-gradient(135deg,#fff 0%,#fff 46%,#fbf1e6 100%);
    box-shadow:var(--rcg-shadow-hover);
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card:hover::before,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card:focus-within::before{
    width:112px;
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card:hover::after,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card:focus-within::after{
    transform:scale(1.1);
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card h3{
    position:relative;
    z-index:1;
    max-width:19ch;
    margin:10px 0 14px;
    color:var(--rcg-ink,#233044);
    font-size:clamp(1.45rem,1.85vw,2rem);
    line-height:1.13;
    letter-spacing:-.032em;
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card h3::before{
    display:none;
}

.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card p{
    position:relative;
    z-index:1;
    max-width:42rem;
    margin:0;
    color:#586576;
    font-size:clamp(.97rem,1.03vw,1.06rem);
    line-height:1.68;
}

@media(max-width:1024px){
    .rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic){
        min-height:0;
    }
}

@media(max-width:1024px){
    .rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card{
        min-height:210px;
    }

    .rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card h3{
        max-width:18ch;
    }
}

@media(max-width:767px){
    .rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic){
        padding:30px 24px 29px;
        border-radius:22px;
    }

    .rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic)::before{
        left:24px;
    }

    .rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic) h3{
        max-width:100%;
        font-size:clamp(1.5rem,6.8vw,1.9rem);
    }
}

@media(max-width:767px){
    .rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card{
        min-height:0;
        padding:30px 24px 29px;
        border-radius:22px;
    }

    .rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card::before{
        top:16px;
        right:20px;
        font-size:4.25rem;
    }

    .rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card::after,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card::before{
        left:24px;
    }

    .rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card h3{
        max-width:15ch;
        font-size:clamp(1.5rem,7vw,1.9rem);
    }

    .rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card h3{
        margin-top:8px;
        font-size:clamp(1.45rem,6.4vw,1.85rem);
    }
}

/* Featured cards: replace the hairline border with a crafted accent stroke. */
.rcg-refresh .rcg-featured-showcase--compact .rcg-featured-item{
    position:relative;
    border-radius:var(--rcg-radius-card)!important;
}

.rcg-refresh .rcg-featured-showcase--compact .rcg-featured-item::before{
    content:"";
    position:absolute;
    z-index:2;
    top:-1px;
    left:clamp(20px,2.2vw,30px);
    display:block;
    width:78px;
    height:4px;
    border-radius:0 0 999px 999px;
    background:var(--rcg-accent-gradient);
    box-shadow:0 2px 8px rgba(199,66,53,.14);
    pointer-events:none;
    transition:width .28s var(--rcg-ease-out);
}

.rcg-refresh .rcg-featured-showcase--compact .rcg-featured-item:hover::before,
.rcg-refresh .rcg-featured-showcase--compact .rcg-featured-item:focus-within::before{
    width:118px;
}

@media(prefers-reduced-motion:reduce){
    .rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic),
.rcg-refresh .rcg-section:not(.rcg-section--classic-cards):not(.rcg-section--artwork-paths):not(.rcg-section--framing-matters):not(.rcg-section--collector-docs):not(.rcg-section--framing-decisions):not(.rcg-section--news-overview) .rcg-grid.rcg-grid--3 > .rcg-card:not(.rcg-card--classic)::before,
.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card,
.rcg-refresh .rcg-section.rcg-section--artwork-paths .rcg-grid--3 > .rcg-card::after,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card::before,
.rcg-refresh .rcg-section.rcg-section--medium-guide-cards .rcg-grid--2 > .rcg-card::after,
.rcg-refresh .rcg-featured-showcase--compact .rcg-featured-item::before{
        transition:none!important;
    }
}

/* RCG virtual Gallery sublinks: render as direct, slightly indented rows under Gallery. */
.main-header-menu .menu-item.rcgsm-gallery-subnav-item > a,
.ast-builder-menu .menu-item.rcgsm-gallery-subnav-item > a,
.ast-mobile-popup-content .menu-item.rcgsm-gallery-subnav-item > a,
.ast-mobile-header-content .menu-item.rcgsm-gallery-subnav-item > a{
    padding-left:calc(1em + 18px)!important;
    font-size:.92em;
    letter-spacing:.02em;
    color:var(--rcg-ink,#233044);
}

.main-header-menu .menu-item.rcgsm-gallery-subnav-item > a::before,
.ast-builder-menu .menu-item.rcgsm-gallery-subnav-item > a::before,
.ast-mobile-popup-content .menu-item.rcgsm-gallery-subnav-item > a::before,
.ast-mobile-header-content .menu-item.rcgsm-gallery-subnav-item > a::before{
    content:"";
    display:inline-block;
    width:6px;
    height:6px;
    margin-right:10px;
    border-radius:999px;
    background:var(--rcg-red,#c74235);
    vertical-align:middle;
    opacity:.8;
}

.ast-mobile-popup-content .menu-item.rcgsm-gallery-subnav-item,
.ast-mobile-header-content .menu-item.rcgsm-gallery-subnav-item{
    border-top:0;
}

/* v0.3.23: link-only hidden collection cards and Nudes archive polish. */
.rcg-nudes-collection-card{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 30px 0 0;
  padding: clamp(22px, 3vw, 34px);
  background: #fff7f5;
  border: 1px solid rgba(199, 66, 53, 0.18);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(36, 50, 74, 0.055);
}

.rcg-nudes-collection-card h2{
  margin: 0;
  color: var(--rcg-red, #c74235);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -0.035em;
}

.rcg-nudes-collection-card p:not(.rcg-eyebrow){
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--rcg-text, #4b5563);
  line-height: 1.72;
}

.rcg-nudes-collection-card__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.rcg-nudes-collection-card__count{
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--rcg-ink, #233044);
  border: 1px solid rgba(36, 50, 74, 0.12);
  font-weight: 800;
  font-size: 0.9rem;
}

@media (max-width: 767px){
  .rcg-nudes-collection-card{
    grid-template-columns: 1fr;
  }

  .rcg-nudes-collection-card__actions{
    justify-content: flex-start;
  }
}

/* v0.3.39: Nudes & Foods artist-story section. */
.rcg-nudes-foods-section .rcg-nudes-foods{
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.rcg-nudes-foods__collection{
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid rgba(199, 66, 53, 0.16);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(36, 50, 74, 0.07);
}

.rcg-nudes-foods__preview-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.rcg-nudes-foods-card{
  overflow: hidden;
  border: 1px solid rgba(36, 50, 74, 0.10);
  border-radius: 18px;
  background: #fffaf8;
}

.rcg-nudes-foods-card__media{
  display: block;
  aspect-ratio: 4 / 5;
  background: #f6ece8;
}

.rcg-nudes-foods-card__image,
.rcg-nudes-foods-card__media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rcg-nudes-foods-card__title{
  margin: 0;
  padding: 12px 13px 14px;
  color: var(--rcg-ink, #233044);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1rem;
  line-height: 1.35;
}

.rcg-nudes-foods-card__title a{
  color: inherit;
  text-decoration: none;
}

.rcg-nudes-foods-card__title a:hover,
.rcg-nudes-foods-card__title a:focus{
  color: var(--rcg-red, #c74235);
}

.rcg-nudes-foods__empty{
  margin: 0 0 18px;
  padding: 18px;
  border-radius: 18px;
  background: #fff7f5;
  color: var(--rcg-text, #4b5563);
}

.rcg-nudes-foods__empty p{
  margin: 0;
}

.rcg-nudes-foods__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px){
  .rcg-nudes-foods-section .rcg-nudes-foods{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .rcg-nudes-foods__preview-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rcg-nudes-foods__actions{
    justify-content: flex-start;
  }
}

@media (max-width: 420px){
  .rcg-nudes-foods__preview-grid{
    grid-template-columns: 1fr;
  }
}

/* WooCommerce system pages: Cart, Checkout, and My Account refresh shell. */
body.rcgsm-woo-refresh-page{
    overflow-x:hidden;
    background:#fff;
}

body.rcgsm-woo-refresh-page .entry-title,
body.rcgsm-woo-refresh-page .page-title,
body.rcgsm-woo-refresh-page .ast-single-post .entry-title,
body.rcgsm-woo-refresh-page .ast-single-post-order,
body.rcgsm-woo-refresh-page header.entry-header{
    display:none!important;
}

body.rcgsm-woo-refresh-page.ast-separate-container .ast-article-single,
body.rcgsm-woo-refresh-page.ast-separate-container .ast-article-post,
body.rcgsm-woo-refresh-page.ast-page-builder-template .site-content,
body.rcgsm-woo-refresh-page .site-content,
body.rcgsm-woo-refresh-page .entry-content{
    background:#fff;
}

body.rcgsm-woo-refresh-page .entry-content > .rcg-woo-page{
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
}

.rcg-refresh.rcg-woo-page{
    background:#fff;
}

.rcg-refresh .rcg-woo-hero{
    min-height:clamp(230px,25vw,340px);
    background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 58%,rgba(251,244,239,.82) 100%), radial-gradient(circle at 88% 12%,rgba(199,66,53,.10),transparent 34%), linear-gradient(135deg,#fff 0%,#f5f5f5 100%);
}

.rcg-refresh .rcg-woo-helper-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.rcg-refresh .rcg-card-kicker{
    display:inline-flex;
    margin:0 0 12px;
    color:var(--rcg-red,#c74235);
    font-weight:800;
    font-size:.72rem;
    line-height:1;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.rcg-refresh .rcg-woo-stage .rcg-container{
    max-width:1180px;
}

.rcg-refresh .rcg-woo-content{
    background:#fff;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:22px;
    padding:clamp(18px,3vw,34px);
    box-shadow:var(--rcg-soft-shadow,0 8px 20px rgba(35,48,68,.045));
}

.rcg-refresh .rcg-woo-content .woocommerce,
.rcg-refresh .rcg-woo-content .woocommerce-page,
.rcg-refresh .rcg-woo-content .wc-block-cart,
.rcg-refresh .rcg-woo-content .wc-block-checkout,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content{
    color:var(--rcg-text,#4b5563);
    font-family:Roboto, Arial, sans-serif;
}

.rcg-refresh .rcg-woo-content h2,
.rcg-refresh .rcg-woo-content h3,
.rcg-refresh .rcg-woo-content .cart_totals h2,
.rcg-refresh .rcg-woo-content #order_review_heading,
.rcg-refresh .rcg-woo-content .woocommerce-billing-fields h3,
.rcg-refresh .rcg-woo-content .woocommerce-shipping-fields h3,
.rcg-refresh .rcg-woo-content .woocommerce-additional-fields h3,
.rcg-refresh .rcg-woo-content .woocommerce-Address-title h3{
    color:var(--rcg-ink,#233044);
    font-family:"Libre Baskerville", Georgia, serif;
    line-height:1.18;
}

.rcg-refresh .rcg-woo-content a{
    color:var(--rcg-red,#c74235);
    text-underline-offset:3px;
}

.rcg-refresh .rcg-woo-content a:hover,
.rcg-refresh .rcg-woo-content a:focus{
    color:var(--rcg-red-hover,#b3362a);
}

.rcg-refresh .rcg-woo-content .woocommerce-message,
.rcg-refresh .rcg-woo-content .woocommerce-info,
.rcg-refresh .rcg-woo-content .woocommerce-error,
.rcg-refresh .rcg-woo-content .woocommerce-noreviews,
.rcg-refresh .rcg-woo-content p.no-comments{
    border-top:0;
    border-left:4px solid var(--rcg-red,#c74235);
    border-radius:16px;
    background:#fff7f5;
    color:var(--rcg-ink,#233044);
    box-shadow:none;
    padding:1rem 1.25rem 1rem 3rem;
}

.rcg-refresh .rcg-woo-content .woocommerce-message::before,
.rcg-refresh .rcg-woo-content .woocommerce-info::before,
.rcg-refresh .rcg-woo-content .woocommerce-error::before{
    color:var(--rcg-red,#c74235);
    top:1.05rem;
}

.rcg-refresh .rcg-woo-content table.shop_table,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table,
.rcg-refresh .rcg-woo-content .shop_table,
.rcg-refresh .rcg-woo-content .wc-block-cart-items,
.rcg-refresh .rcg-woo-content .wc-block-components-totals-wrapper,
.rcg-refresh .rcg-woo-content .wc-block-components-sidebar-layout .wc-block-components-main,
.rcg-refresh .rcg-woo-content .wc-block-components-sidebar{
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 20px rgba(35,48,68,.035);
    overflow:hidden;
}

.rcg-refresh .rcg-woo-content table.shop_table th,
.rcg-refresh .rcg-woo-content table.shop_table td,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table th,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table td{
    border-color:var(--rcg-line,rgba(35,48,68,.12));
    color:var(--rcg-text,#4b5563);
    padding:16px;
}

.rcg-refresh .rcg-woo-content table.shop_table th,
.rcg-refresh .rcg-woo-content .woocommerce table.shop_table th{
    background:var(--rcg-soft,#f4f4f4);
    color:var(--rcg-ink,#233044);
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
    font-size:.78rem;
}

.rcg-refresh .rcg-woo-content table.shop_table td.product-name,
.rcg-refresh .rcg-woo-content table.shop_table td.product-name a,
.rcg-refresh .rcg-woo-content table.shop_table td.product-price,
.rcg-refresh .rcg-woo-content table.shop_table td.product-subtotal,
.rcg-refresh .rcg-woo-content .woocommerce-Price-amount{
    color:var(--rcg-ink,#233044);
    font-weight:700;
}

.rcg-refresh .rcg-woo-content .product-thumbnail img,
.rcg-refresh .rcg-woo-content .woocommerce-cart-form__cart-item img,
.rcg-refresh .rcg-woo-content .wc-block-cart-items__row img{
    border-radius:12px;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    background:#fff;
}

.rcg-refresh .rcg-woo-content .cart_totals,
.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order,
.rcg-refresh .rcg-woo-content #order_review,
.rcg-refresh .rcg-woo-content .woocommerce-order,
.rcg-refresh .rcg-woo-content .woocommerce-customer-details,
.rcg-refresh .rcg-woo-content .woocommerce-order-details,
.rcg-refresh .rcg-woo-content .woocommerce-Addresses .woocommerce-Address,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content,
.rcg-refresh .rcg-woo-content form.checkout_coupon,
.rcg-refresh .rcg-woo-content form.login,
.rcg-refresh .rcg-woo-content form.register,
.rcg-refresh .rcg-woo-content form.woocommerce-form-login,
.rcg-refresh .rcg-woo-content form.woocommerce-ResetPassword,
.rcg-refresh .rcg-woo-content form.edit-account,
.rcg-refresh .rcg-woo-content form.woocommerce-address-fields{
    background:#fff;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:18px;
    padding:clamp(18px,2.6vw,28px);
    box-shadow:0 8px 20px rgba(35,48,68,.035);
}

.rcg-refresh .rcg-woo-content .cart_totals{
    width:100%;
}

.rcg-refresh .rcg-woo-content .cart-collaterals{
    margin-top:28px;
}

.rcg-refresh .rcg-woo-content .woocommerce-cart-form,
.rcg-refresh .rcg-woo-content .woocommerce-checkout,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content{
    margin-top:0;
}

.rcg-refresh .rcg-woo-content .woocommerce form .form-row label,
.rcg-refresh .rcg-woo-content .woocommerce-form-row label,
.rcg-refresh .rcg-woo-content .form-row label,
.rcg-refresh .rcg-woo-content .wc-block-components-text-input label,
.rcg-refresh .rcg-woo-content .wc-block-components-checkbox label{
    color:var(--rcg-ink,#233044);
    font-weight:800;
}

.rcg-refresh .rcg-woo-content .woocommerce form .form-row input.input-text,
.rcg-refresh .rcg-woo-content .woocommerce form .form-row textarea,
.rcg-refresh .rcg-woo-content .woocommerce form .form-row select,
.rcg-refresh .rcg-woo-content input[type="text"],
.rcg-refresh .rcg-woo-content input[type="email"],
.rcg-refresh .rcg-woo-content input[type="tel"],
.rcg-refresh .rcg-woo-content input[type="password"],
.rcg-refresh .rcg-woo-content input[type="number"],
.rcg-refresh .rcg-woo-content textarea,
.rcg-refresh .rcg-woo-content select,
.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single,
.rcg-refresh .rcg-woo-content .wc-block-components-text-input input,
.rcg-refresh .rcg-woo-content .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.rcg-refresh .rcg-woo-content .wc-block-components-form .wc-block-components-text-input input[type="text"],
.rcg-refresh .rcg-woo-content .wc-block-components-form .wc-block-components-text-input input[type="email"],
.rcg-refresh .rcg-woo-content .wc-block-components-form .wc-block-components-text-input input[type="tel"]{
    min-height:46px;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:12px;
    background:#fff;
    color:var(--rcg-ink,#233044);
    box-shadow:none;
    padding:10px 13px;
}

.rcg-refresh .rcg-woo-content textarea,
.rcg-refresh .rcg-woo-content .woocommerce form .form-row textarea{
    min-height:120px;
}

.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height:44px;
    color:var(--rcg-ink,#233044);
    padding-left:0;
}

.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single .select2-selection__arrow{
    height:44px;
}

.rcg-refresh .rcg-woo-content input:focus,
.rcg-refresh .rcg-woo-content textarea:focus,
.rcg-refresh .rcg-woo-content select:focus,
.rcg-refresh .rcg-woo-content .select2-container--default.select2-container--open .select2-selection--single,
.rcg-refresh .rcg-woo-content .select2-container--default .select2-selection--single:focus{
    border-color:var(--rcg-red,#c74235);
    outline:0;
    box-shadow:0 0 0 3px rgba(199,66,53,.10);
}

.rcg-refresh .rcg-woo-content .button,
.rcg-refresh .rcg-woo-content button.button,
.rcg-refresh .rcg-woo-content input.button,
.rcg-refresh .rcg-woo-content #respond input#submit,
.rcg-refresh .rcg-woo-content a.button,
.rcg-refresh .rcg-woo-content .wc-block-components-button,
.rcg-refresh .rcg-woo-content .wc-block-cart__submit-button,
.rcg-refresh .rcg-woo-content .wc-block-components-checkout-place-order-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    border-radius:8px!important;
    border:1px solid var(--rcg-red,#c74235)!important;
    background:var(--rcg-red,#c74235)!important;
    color:#fff!important;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
    text-decoration:none!important;
    padding:12px 20px!important;
    box-shadow:0 7px 14px rgba(199,66,53,.14);
    transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rcg-refresh .rcg-woo-content .button:hover,
.rcg-refresh .rcg-woo-content .button:focus,
.rcg-refresh .rcg-woo-content button.button:hover,
.rcg-refresh .rcg-woo-content button.button:focus,
.rcg-refresh .rcg-woo-content input.button:hover,
.rcg-refresh .rcg-woo-content input.button:focus,
.rcg-refresh .rcg-woo-content a.button:hover,
.rcg-refresh .rcg-woo-content a.button:focus,
.rcg-refresh .rcg-woo-content .wc-block-components-button:hover,
.rcg-refresh .rcg-woo-content .wc-block-components-button:focus{
    background:var(--rcg-red-hover,#b3362a)!important;
    border-color:var(--rcg-red-hover,#b3362a)!important;
    color:#fff!important;
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(179,54,42,.16);
}

.rcg-refresh .rcg-woo-content .button:disabled,
.rcg-refresh .rcg-woo-content .button:disabled[disabled],
.rcg-refresh .rcg-woo-content button.button:disabled,
.rcg-refresh .rcg-woo-content button.button:disabled[disabled]{
    opacity:.55;
    transform:none;
}

.rcg-refresh .rcg-woo-content .coupon{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
}

.rcg-refresh .rcg-woo-content .coupon input.input-text{
    min-width:220px;
}

.rcg-refresh .rcg-woo-content .woocommerce-checkout .col2-set,
.rcg-refresh .rcg-woo-content .woocommerce-checkout .woocommerce-checkout-review-order,
.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table{
    margin-bottom:24px;
}

.rcg-refresh .rcg-woo-content #customer_details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}

.rcg-refresh .rcg-woo-content #customer_details::before,
.rcg-refresh .rcg-woo-content #customer_details::after{
    display:none;
}

.rcg-refresh .rcg-woo-content #customer_details .col-1,
.rcg-refresh .rcg-woo-content #customer_details .col-2{
    float:none;
    width:auto;
    background:#fff;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:18px;
    padding:clamp(18px,2.6vw,28px);
    box-shadow:0 8px 20px rgba(35,48,68,.035);
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation{
    float:none;
    width:100%;
    margin-bottom:24px;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation ul{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation li{
    margin:0;
    padding:0;
    list-style:none;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation a{
    display:flex;
    align-items:center;
    min-height:48px;
    padding:12px 14px;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:14px;
    background:#fff;
    color:var(--rcg-ink,#233044);
    font-weight:800;
    text-decoration:none!important;
    box-shadow:0 8px 20px rgba(35,48,68,.035);
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation li.is-active a,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation a:hover,
.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-navigation a:focus{
    background:var(--rcg-red,#c74235);
    border-color:var(--rcg-red,#c74235);
    color:#fff!important;
}

.rcg-refresh .rcg-woo-content .woocommerce-MyAccount-content{
    float:none;
    width:100%;
}

.rcg-refresh .rcg-woo-content mark,
.rcg-refresh .rcg-woo-content .woocommerce-order-overview mark{
    border-radius:999px;
    background:#fff7f5;
    color:var(--rcg-red,#c74235);
    padding:2px 8px;
}

.rcg-refresh .rcg-woo-content .woocommerce-order-overview{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:12px;
    margin:0 0 24px;
    padding:0;
}

.rcg-refresh .rcg-woo-content .woocommerce-order-overview li{
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:14px;
    padding:14px 16px;
    margin:0;
    background:#fff;
    color:var(--rcg-muted,#747b85);
}

.rcg-refresh .rcg-woo-content .woocommerce-order-overview li strong{
    color:var(--rcg-ink,#233044);
    margin-top:4px;
}

.rcg-refresh .rcg-woo-content .woocommerce-privacy-policy-text,
.rcg-refresh .rcg-woo-content .woocommerce-terms-and-conditions-wrapper,
.rcg-refresh .rcg-woo-content .woocommerce-form__label-for-checkbox{
    color:var(--rcg-muted,#747b85);
    line-height:1.65;
}

.rcg-refresh .rcg-woo-content .wc_payment_methods,
.rcg-refresh .rcg-woo-content #payment{
    border-radius:18px;
    background:var(--rcg-soft-2,#fafafa)!important;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
}

.rcg-refresh .rcg-woo-content #payment div.payment_box{
    border-radius:14px;
    background:#fff!important;
    color:var(--rcg-text,#4b5563);
}

.rcg-refresh .rcg-woo-content #payment div.payment_box::before{
    border-bottom-color:#fff!important;
}

.rcg-refresh .rcg-woo-content .wc-block-components-panel,
.rcg-refresh .rcg-woo-content .wc-block-components-checkout-step,
.rcg-refresh .rcg-woo-content .wc-block-components-order-summary,
.rcg-refresh .rcg-woo-content .wc-block-components-order-summary-item,
.rcg-refresh .rcg-woo-content .wc-block-components-totals-item{
    color:var(--rcg-text,#4b5563);
}

.rcg-refresh .rcg-woo-content .wc-block-components-title,
.rcg-refresh .rcg-woo-content .wc-block-cart__totals-title,
.rcg-refresh .rcg-woo-content .wc-block-components-checkout-step__title{
    color:var(--rcg-ink,#233044);
    font-family:"Libre Baskerville", Georgia, serif;
}

@media(max-width:1024px){
    .rcg-refresh .rcg-woo-helper-grid,
.rcg-refresh .rcg-woo-content #customer_details{
        grid-template-columns:1fr;
    }
}

@media(max-width:767px){
    .rcg-refresh .rcg-woo-content{
        border-radius:16px;
        padding:16px;
    }
    .rcg-refresh .rcg-woo-content table.shop_table_responsive tr,
.rcg-refresh .rcg-woo-content .woocommerce-page table.shop_table_responsive tr{
        border:1px solid var(--rcg-line,rgba(35,48,68,.12));
        border-radius:14px;
        margin-bottom:12px;
        overflow:hidden;
    }
    .rcg-refresh .rcg-woo-content table.shop_table_responsive tr td,
.rcg-refresh .rcg-woo-content .woocommerce-page table.shop_table_responsive tr td{
        background:#fff;
        border-bottom:1px solid var(--rcg-line,rgba(35,48,68,.12));
    }
    .rcg-refresh .rcg-woo-content .coupon{
        display:grid;
        grid-template-columns:1fr;
    }
    .rcg-refresh .rcg-woo-content .coupon input.input-text,
.rcg-refresh .rcg-woo-content .coupon .button,
.rcg-refresh .rcg-woo-content .actions .button{
        width:100%!important;
    }
}

/* v0.3.49: Mobile sticky header account link and below-header icon alignment. */
#masthead .ast-header-account-link[data-rcgsm-account-link="1"],
.site-header .ast-header-account-link[data-rcgsm-account-link="1"]{
    cursor:pointer;
}

#masthead .ast-header-account-link[data-rcgsm-account-link="1"]:focus-visible,
.site-header .ast-header-account-link[data-rcgsm-account-link="1"]:focus-visible{
    outline:2px solid var(--rcg-red,#c74235);
    outline-offset:4px;
    border-radius:8px;
}

@media(max-width:921px){
    body.rcgsm-sticky-header-enabled #masthead .ast-below-header-wrap,
body.rcgsm-sticky-header-enabled #masthead .site-below-header-wrap{
        min-height:56px!important;
        background:rgba(255,255,255,.96);
        border-top:1px solid rgba(35,48,68,.08);
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-below-header-bar,
body.rcgsm-sticky-header-enabled #masthead .site-below-header-wrap,
body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center{
        padding-top:0!important;
        padding-bottom:0!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-below-header-bar,
body.rcgsm-sticky-header-enabled #masthead .ast-below-header-bar .ast-builder-grid-row,
body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center{
        min-height:56px!important;
        align-items:center!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center{
        display:flex!important;
        justify-content:center!important;
        gap:24px;
    }

    body.rcgsm-sticky-header-enabled #masthead .site-header-below-section-center > .ast-builder-layout-element,
body.rcgsm-sticky-header-enabled #masthead .ast-header-account,
body.rcgsm-sticky-header-enabled #masthead .ast-header-woo-cart,
body.rcgsm-sticky-header-enabled #masthead .ast-header-search{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-height:56px!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-header-account-wrap,
body.rcgsm-sticky-header-enabled #masthead .ast-header-account-inner-wrap,
body.rcgsm-sticky-header-enabled #masthead .ast-header-account-link,
body.rcgsm-sticky-header-enabled #masthead .cart-container,
body.rcgsm-sticky-header-enabled #masthead .ast-addon-cart-wrap,
body.rcgsm-sticky-header-enabled #masthead .ast-search-icon .astra-search-icon{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        width:44px!important;
        height:44px!important;
        min-height:44px!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-search-menu-icon,
body.rcgsm-sticky-header-enabled #masthead .ast-search-icon{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        min-height:44px!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-header-account-link svg,
body.rcgsm-sticky-header-enabled #masthead .ast-header-woo-cart svg,
body.rcgsm-sticky-header-enabled #masthead .ast-search-icon svg{
        display:block!important;
        width:26px!important;
        height:26px!important;
        margin:0!important;
    }

    body.rcgsm-sticky-header-enabled #masthead .ast-icon-shopping-cart,
body.rcgsm-sticky-header-enabled #masthead .ast-icon-shopping-cart .ast-icon,
body.rcgsm-sticky-header-enabled #masthead .ast-icon-shopping-cart .icon-cart,
body.rcgsm-sticky-header-enabled #masthead .ast-search-icon .ast-icon,
body.rcgsm-sticky-header-enabled #masthead .ast-header-account-link .ahfb-svg-iconset{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        margin:0!important;
        padding:0!important;
        line-height:1!important;
    }

    body.rcgsm-sticky-header-enabled.rcgsm-sticky-header-compact-active #masthead .ast-below-header-wrap{
        max-height:56px!important;
        min-height:56px!important;
        overflow:visible!important;
    }
}

/* v0.3.70: Utility WooCommerce pages use a compact content-first layout. */
.rcg-refresh.rcg-woo-page .rcg-woo-stage--utility{
    padding-top:clamp(48px,7vw,88px);
}

.rcg-refresh.rcg-woo-page .rcg-woo-utility-head{
    margin-bottom:24px;
}

.rcg-refresh.rcg-woo-page .rcg-woo-utility-head h1{
    margin:0 0 14px;
    color:var(--rcg-red,#c74235);
    font-family:"Libre Baskerville", Georgia, serif;
    font-size:clamp(2.25rem,5vw,4rem);
    line-height:1.05;
}

.rcg-refresh.rcg-woo-page .rcg-woo-utility-head p{
    max-width:720px;
}

body.rcgsm-woo-refresh-page .rcg-refresh .rcg-woo-hero,
body.rcgsm-woo-refresh-page .rcg-refresh .rcg-actions,
body.rcgsm-woo-refresh-page .rcg-refresh .rcg-woo-helper-grid,
body.rcgsm-woo-refresh-page .rcg-refresh .rcg-woo-utility-head .rcg-eyebrow{
    display:none!important;
}

@media(max-width:767px){
    .rcg-refresh.rcg-woo-page .rcg-woo-stage--utility{
        padding-top:36px;
    }
}

/* v0.3.71: Keep checkout billing details from splitting into a cramped two-column card. */
.rcg-refresh .rcg-woo-content #customer_details{
    display:block;
}

.rcg-refresh .rcg-woo-content #customer_details .col-1,
.rcg-refresh .rcg-woo-content #customer_details .col-2{
    float:none!important;
    width:100%!important;
    max-width:100%;
    margin:0 0 24px!important;
}

.rcg-refresh .rcg-woo-content #customer_details .col-2:empty{
    display:none!important;
}

.rcg-refresh .rcg-woo-content #customer_details .woocommerce-shipping-fields:empty,
.rcg-refresh .rcg-woo-content #customer_details .woocommerce-additional-fields:empty{
    display:none!important;
}

.rcg-refresh .rcg-woo-content #customer_details .form-row-first,
.rcg-refresh .rcg-woo-content #customer_details .form-row-last{
    width:calc(50% - 10px);
}

@media(max-width:767px){
    .rcg-refresh .rcg-woo-content #customer_details .form-row-first,
.rcg-refresh .rcg-woo-content #customer_details .form-row-last{
        float:none!important;
        width:100%!important;
    }
}

/* Utility Woo checkout refinement: keep the order summary heading and table from inheriting Astra/Woo boxed heading chrome. */
.rcg-refresh .rcg-woo-content #order_review_heading,
body.rcgsm-woo-page-refresh .rcg-refresh .rcg-woo-content #order_review_heading{
    display:block;
    width:auto;
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order,
.rcg-refresh .rcg-woo-content #order_review{
    margin-top:0!important;
}

.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table,
.rcg-refresh .rcg-woo-content .woocommerce table.woocommerce-checkout-review-order-table{
    width:100%;
    margin:0 0 24px!important;
    border-collapse:separate;
    border-spacing:0;
    table-layout:auto;
}

.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table th,
.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table td{
    vertical-align:top;
}

.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name{
    width:68%;
}

.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-total,
.rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table tfoot td{
    width:32%;
    text-align:right;
    white-space:nowrap;
}

/* v0.3.87: Product-first search results use product cards, not blog metadata. */
body.search.rcgsm-product-search-page #content > .ast-container{
    padding-left: var(--rcg-gutter-left, 50px) !important;
    padding-right: var(--rcg-gutter-right, 50px) !important;
    box-sizing: border-box;
}

body.search.rcgsm-product-search-page #primary{
    width: min(var(--rcg-content-max, 1180px), 100%);
    max-width: var(--rcg-content-max, 1180px);
    margin-right: auto !important;
    margin-left: auto !important;
    padding-top: clamp(44px, 6vw, 72px);
    padding-bottom: clamp(56px, 7vw, 92px);
}

body.search.rcgsm-product-search-page .site-main > .ast-row{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: clamp(22px, 2.5vw, 34px);
    align-items: stretch;
    margin: 0 !important;
}

body.search.rcgsm-product-search-page article.product,
body.search.rcgsm-product-search-page #primary.ast-grid-3 article.product,
body.search.rcgsm-product-search-page #primary.ast-grid-2 article.product,
body.search.rcgsm-product-search-page #primary.ast-grid-4 article.product{
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.search.rcgsm-product-search-page article.product .ast-article-inner{
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--rcg-line, rgba(35, 48, 68, .12));
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--rcg-soft-shadow, 0 8px 20px rgba(35, 48, 68, .045));
}

body.search.rcgsm-product-search-page article.product .post-content{
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.search.rcgsm-product-search-page article.product .ast-blog-featured-section,
body.search.rcgsm-product-search-page article.product .post-thumb,
body.search.rcgsm-product-search-page article.product .post-thumb-img-content,
body.search.rcgsm-product-search-page article.product .post-thumb-img-content a{
    display: block;
    width: 100%;
}

body.search.rcgsm-product-search-page article.product .post-thumb-img-content img{
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    object-fit: cover;
}

body.search.rcgsm-product-search-page article.product .entry-title{
    margin: 0 !important;
    padding: 22px 22px 0;
    color: var(--rcg-ink, #233044);
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(1.18rem, 1.6vw, 1.48rem);
    line-height: 1.2;
}

body.search.rcgsm-product-search-page article.product .entry-title a{
    color: inherit;
    text-decoration: none;
}

body.search.rcgsm-product-search-page article.product .entry-title a:hover{
    color: var(--rcg-red, #c74235);
}

body.search.rcgsm-product-search-page article.product .entry-header.ast-blog-meta-container,
body.search.rcgsm-product-search-page article.product .entry-meta,
body.search.rcgsm-product-search-page article.product .posted-by,
body.search.rcgsm-product-search-page article.product .posted-on{
    display: none !important;
}

body.search.rcgsm-product-search-page article.product .ast-excerpt-container{
    flex: 1 1 auto;
    padding: 12px 22px 24px;
}

body.search.rcgsm-product-search-page article.product .ast-excerpt-container p{
    margin: 0;
    color: var(--rcg-text, #4b5563);
    font-size: 1rem;
    line-height: 1.65;
}

body.search.rcgsm-product-search-page .ast-pagination{
    width: min(var(--rcg-content-max, 1180px), 100%);
    max-width: var(--rcg-content-max, 1180px);
    margin: 36px auto 0 !important;
}

@media (max-width: 767px){
    body.search.rcgsm-product-search-page #content > .ast-container{
        padding-left: var(--rcg-gutter-left, 36px) !important;
        padding-right: var(--rcg-gutter-right, 36px) !important;
    }

    body.search.rcgsm-product-search-page #primary{
        padding-top: 36px;
        padding-bottom: 56px;
    }

    body.search.rcgsm-product-search-page .site-main > .ast-row{
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* v0.3.87: Mobile WooCommerce archive product grid gutter. */
@media (max-width: 767px){
    body.woocommerce.archive #primary ul.products,
body.post-type-archive-product #primary ul.products,
body.tax-product_cat #primary ul.products,
body.rcg-seasonal-sales-archive.woocommerce ul.products,
body.rcg-giclee-virtual-archive ul.products,
body.rcg-seasonal-sales-virtual-archive ul.products,
.rcg-refresh .woocommerce.rcg-gallery-grid ul.products{
        padding-left: var(--rcg-gutter-left, 36px) !important;
        padding-right: var(--rcg-gutter-right, 36px) !important;
        box-sizing: border-box;
    }
}

/* v0.4.10: Utility checkout order summary cleanup.
   The order review wrapper should not create a second box around the "Your order" heading/details. */
body.rcgsm-woo-page-refresh.woocommerce-checkout .rcg-refresh .rcg-woo-content #order_review_heading,
body.rcgsm-woo-refresh-page.woocommerce-checkout .rcg-refresh .rcg-woo-content #order_review_heading,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content #order_review_heading{
    display:block!important;
    width:auto!important;
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    outline:0!important;
}

body.rcgsm-woo-page-refresh.woocommerce-checkout .rcg-refresh .rcg-woo-content #order_review,
body.rcgsm-woo-refresh-page.woocommerce-checkout .rcg-refresh .rcg-woo-content #order_review,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content #order_review,
body.rcgsm-woo-page-refresh.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order,
body.rcgsm-woo-refresh-page.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order{
    margin-top:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content #order_review table.shop_table,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content table.woocommerce-checkout-review-order-table,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table{
    width:100%!important;
    margin:0 0 24px!important;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12))!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(35,48,68,.035)!important;
    table-layout:auto!important;
    overflow:hidden!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table td{
    vertical-align:top!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name{
    display:table-cell!important;
    width:80%!important;
}

/* v0.6.86: Restore the selected source artwork thumbnail in the classic
 * checkout order review for Giclee line items. WooCommerce normally omits
 * the cart thumbnail column on checkout, so the image is injected before
 * the item name and kept compact beside the item details. */
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .rcg-checkout-artwork-thumb{
    display:block;
    float:left;
    width:92px;
    aspect-ratio:1 / 1;
    margin:0 16px 12px 0;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12));
    border-radius:12px;
    background:#fff;
    overflow:hidden;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .rcg-checkout-artwork-thumb__image{
    display:block;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    object-fit:contain;
    background:#fff;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table td.product-name::after{
    content:"";
    display:block;
    clear:both;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table tfoot td{
    width:20%!important;
    text-align:right!important;
    white-space:nowrap!important;
}

/* v0.6.88: Let Giclee checkout metadata use the full product cell instead of
 * reading as a narrow vertical column. Each label/value pair shares one row. */
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name .variation,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name dl.variation{
    clear:both;
    display:grid!important;
    grid-template-columns:minmax(118px,145px) minmax(0,1fr);
    column-gap:16px;
    row-gap:6px;
    width:100%!important;
    margin:.75rem 0 0!important;
    color:var(--rcg-ink,#233044);
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name .variation dt,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name .variation dd{
    display:block!important;
    float:none!important;
    min-width:0;
    margin:0!important;
    padding:0!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name .variation dt{
    font-weight:800!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name .variation dd p{
    margin:0!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name .variation dd + dt::before,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name .variation dt:not(:first-child)::before{
    content:none!important;
    display:none!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content #payment,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-payment{
    margin-top:18px!important;
    border:1px solid var(--rcg-line,rgba(35,48,68,.12))!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(35,48,68,.035)!important;
    overflow:hidden!important;
}

body.woocommerce-checkout .rcg-refresh .rcg-woo-content #payment ul.payment_methods,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-payment ul.payment_methods{
    border-bottom:1px solid var(--rcg-line,rgba(35,48,68,.12))!important;
}

@media(max-width:767px){
    body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-name,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table tfoot td{
        width:auto!important;
        white-space:normal!important;
    }

    body.woocommerce-checkout .rcg-refresh .rcg-woo-content .woocommerce-checkout-review-order-table .rcg-checkout-artwork-thumb{
        width:76px;
        margin-right:12px;
        margin-bottom:10px;
        border-radius:10px;
    }
}

/* Cart, Checkout, and My Account are utility pages with a normal-flow header.
 * WordPress already offsets the frontend for the admin bar; forcing a sticky
 * top offset here creates an extra 32px/46px gap for logged-in administrators. */
body.rcgsm-utility-static-header #masthead,
body.rcgsm-utility-static-header .site-header{
    position: relative !important;
    inset-block-start: auto !important;
    top: auto !important;
    margin-top: 0 !important;
    transform: none !important;
}

body.rcgsm-utility-static-header #masthead.is-fixed,
body.rcgsm-utility-static-header #masthead.ast-header-sticked,
body.rcgsm-utility-static-header .site-header.is-fixed,
body.rcgsm-utility-static-header .site-header.ast-header-sticked{
    position: relative !important;
    inset-block-start: auto !important;
    top: auto !important;
}

/* RCGSM v0.4.20: keep unavailable variation buttons on-brand. */
.single-product form.cart .single_add_to_cart_button.disabled,
.single-product form.cart .single_add_to_cart_button:disabled,
.single-product form.cart .single_add_to_cart_button[disabled],
.single-product form.cart .single_add_to_cart_button.wc-variation-selection-needed,
.single-product form.cart .single_add_to_cart_button.disabled:hover,
.single-product form.cart .single_add_to_cart_button:disabled:hover,
.single-product form.cart .single_add_to_cart_button[disabled]:hover,
.single-product form.cart .single_add_to_cart_button.wc-variation-selection-needed:hover,
.single-product form.cart .single_add_to_cart_button.disabled:focus,
.single-product form.cart .single_add_to_cart_button:disabled:focus,
.single-product form.cart .single_add_to_cart_button[disabled]:focus,
.single-product form.cart .single_add_to_cart_button.wc-variation-selection-needed:focus{
    background-color:var(--rcg-red,#c74235) !important;
    border-color:var(--rcg-red,#c74235) !important;
    color:#fff !important;
    opacity:1 !important;
    cursor:not-allowed;
    box-shadow:none !important;
}

/* v0.6.6: Compact, horizontally scrollable My Account navigation on phones. */
@media(max-width:767px){
    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .rcg-woo-content,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .rcg-woo-content{
        padding:12px;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation{
        width:auto!important;
        margin:0 -2px 18px!important;
        padding:0 2px!important;
        overflow:hidden;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation ul,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation ul{
        display:flex!important;
        grid-template-columns:none!important;
        gap:8px!important;
        width:100%;
        margin:0!important;
        padding:2px 0 10px!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        scroll-snap-type:x proximity;
        scroll-padding-inline:2px;
        overscroll-behavior-x:contain;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation ul::-webkit-scrollbar,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{
        display:none;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation li,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation li{
        flex:0 0 auto!important;
        width:auto!important;
        scroll-snap-align:start;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation a,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation a{
        width:auto!important;
        min-height:42px!important;
        padding:9px 14px!important;
        border-radius:999px!important;
        font-size:13px!important;
        font-weight:600!important;
        line-height:1.15!important;
        white-space:nowrap!important;
        box-shadow:none!important;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation li.is-active a,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation li.is-active a{
        background:var(--rcg-red,#c74235)!important;
        border-color:var(--rcg-red,#c74235)!important;
        color:#fff!important;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation a:hover,
body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation a:focus-visible,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation a:hover,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation a:focus-visible{
        background:#fff7f5!important;
        border-color:var(--rcg-red,#c74235)!important;
        color:var(--rcg-red,#c74235)!important;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation li.is-active a:hover,
body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation li.is-active a:focus-visible,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation li.is-active a:hover,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation li.is-active a:focus-visible{
        background:var(--rcg-red-hover,#b3362a)!important;
        border-color:var(--rcg-red-hover,#b3362a)!important;
        color:#fff!important;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-navigation-link--customer-logout a,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-navigation-link--customer-logout a{
        color:var(--rcg-red,#c74235)!important;
        border-color:rgba(199,66,53,.34)!important;
    }

    body.rcgsm-woo-refresh-page-my-account .rcg-refresh .woocommerce-MyAccount-content,
body.rcgsm-woo-page-refresh-my-account .rcg-refresh .woocommerce-MyAccount-content{
        padding:18px!important;
        border-radius:14px!important;
    }
}

/* v0.6.40 "Did you mean" prompt on empty product search results. */
.rcgsm-search-suggestion{
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid var(--rcg-line-warm, rgba(36, 50, 74, 0.14));
  border-left: 3px solid var(--rcg-red, #c74235);
  border-radius: 10px;
  background: var(--rcg-warm, #fbf4ef);
  color: var(--rcg-ink, #24324a);
  font-size: 1.05rem;
  line-height: 1.5;
}
.rcgsm-search-suggestion a{
  color: var(--rcg-red, #c74235);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rcgsm-search-suggestion a:hover,
.rcgsm-search-suggestion a:focus{
  color: var(--rcg-red-hover, #a9342a);
}
/* End v0.6.40 "Did you mean" prompt. */

/* v0.6.52 Unified card surface for the 2-up and 3-up grids.
 *
 * !important is required here, not stylistic. The per-section card rules above
 * carry long :not() exclusion chains — around a dozen classes of specificity —
 * so a plain `.rcg-refresh .rcg-grid--2 > .rcg-card` selector loses to every one
 * of them. Rather than reproduce those chains for each section, the shared
 * surface is asserted once. */
.rcg-refresh .rcg-grid--2 > .rcg-card,
.rcg-refresh .rcg-grid--3 > .rcg-card,
.rcg-refresh .rcg-prose{
  background:
    radial-gradient(circle at 88% 96%, rgba(180, 180, 180, .06) 0 28%, transparent 29%),
    radial-gradient(circle at 88% 20%, rgba(240, 75, 75, .08) 0 0%, transparent 35%),
    linear-gradient(135deg, #fff 0%, #f9f9f9 100%) !important;
}
/* End v0.6.52 card surface. */

/* v0.6.76: Artist page mobile preface headline. The Elementor block already
   renders the heading as two spans; keep those two intentional lines intact
   and scale the type to the viewport instead of allowing each span to wrap. */
@media (max-width: 700px) {
    .rcg-artist-preface .rcg-artist-preface__heading h2 {
        max-width: none !important;
        font-size: clamp(1.2rem, 6vw, 1.9rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.04em !important;
    }

    .rcg-artist-preface .rcg-artist-preface__heading h2 > span {
        display: block !important;
        white-space: nowrap !important;
    }
}

/* v0.6.79: News landing page cleanup.
   Keep the requested card-kicker removal, but restore the News hero to its
   original responsive presentation (no injected standalone mobile image). */
body.rcgsm-news-overview-page .rcg-refresh .rcg-card > .rcg-card-kicker,
body.rcgsm-news-overview-page .rcg-refresh .rcg-card > .rcg-eyebrow,
.rcg-refresh .rcg-section--news-overview .rcg-card > .rcg-card-kicker,
.rcg-refresh .rcg-section--news-overview .rcg-card > .rcg-eyebrow {
    display: none !important;
}
/* End v0.6.79 News landing page cleanup. */


/* v0.7.17: WooCommerce notice buttons + Add-to-Cart focus on brand.
   Astra derives every button fill from --ast-global-color-0 (#046bd2), so the
   "View Cart" button WooCommerce prints inside the added-to-cart notice and
   the "View Cart" link appended to product cards after AJAX add-to-cart both
   render theme blue. The focus highlight seen after clicking Add to Cart is
   the browser's native focus ring (which follows the machine's OS accent
   color — green here), because no stylesheet claims button focus states.
   Scope to WooCommerce buttons so unrelated theme forms are untouched. */
.woocommerce-message a.button,
.woocommerce-message a.wc-forward,
.woocommerce-message a.added_to_cart,
.woocommerce-info a.button,
.woocommerce-info a.wc-forward,
ul.products li.product a.added_to_cart {
    background: var(--rcg-red, #c74235) !important;
    border: 1px solid var(--rcg-red, #c74235) !important;
    border-radius: var(--rcg-radius-control, 8px) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-message a.button:hover,
.woocommerce-message a.wc-forward:hover,
.woocommerce-message a.added_to_cart:hover,
.woocommerce-info a.button:hover,
.woocommerce-info a.wc-forward:hover,
ul.products li.product a.added_to_cart:hover {
    background: var(--rcg-red-hover, #b3362a) !important;
    border-color: var(--rcg-red-hover, #b3362a) !important;
    color: #fff !important;
}

/* Compact pill on product cards; the notice keeps the standard button look. */
ul.products li.product a.added_to_cart {
    display: inline-block;
    margin-top: .45em;
    padding: 9px 16px !important;
    font-size: .78rem !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Replace the native focus ring on shop buttons: nothing on mouse clicks,
   brick accent for keyboard focus. */
.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus,
.woocommerce #respond input#submit:focus,
.woocommerce a.added_to_cart:focus,
.woocommerce button.single_add_to_cart_button:focus,
.woocommerce a.add_to_cart_button:focus,
.woocommerce-message a.button:focus,
.woocommerce-info a.button:focus {
    outline: none !important;
}

.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible,
.woocommerce #respond input#submit:focus-visible,
.woocommerce a.added_to_cart:focus-visible,
.woocommerce button.single_add_to_cart_button:focus-visible,
.woocommerce a.add_to_cart_button:focus-visible,
.woocommerce-message a.button:focus-visible,
.woocommerce-info a.button:focus-visible {
    outline: 3px solid rgba(199, 66, 53, .45) !important;
    outline-offset: 2px !important;
}
/* End v0.7.17 shop button focus layer. */

/* SOUND ART — HIDDEN-COLLECTION CATCH-ALL
=============================================
 * The plugin removes its own Sound Art mentions when the collection is
 * switched off in RCG Manager > Sound Art (both navigation menus, the two
 * shortcodes, and the landing page's post status). Mentions authored directly
 * into page content — the "Something for everyone" card on Browse by Artwork,
 * for instance — belong to Elementor/the block editor, so the toggle marks the
 * document with .rcgsm-sound-art-hidden and the rules below hide whatever
 * links to the collection.
 *
 * :has() is what lets this remove the whole card rather than just the link
 * inside it. Where it is unsupported the page still renders correctly; the
 * container simply stays visible, and the direct-link rule below still hides
 * bare links. Kept to a short, explicit list of container classes so an
 * unrelated ancestor can never collapse a whole section.
 */
body.rcgsm-sound-art-hidden a[href*="/sound-art"] {
  display: none !important;
}

body.rcgsm-sound-art-hidden .elementor-widget:has(> .elementor-widget-container a[href*="/sound-art"]),
body.rcgsm-sound-art-hidden .e-con-inner:has(> .elementor-widget a[href*="/sound-art"]),
body.rcgsm-sound-art-hidden .wp-block-column:has(a[href*="/sound-art"]),
body.rcgsm-sound-art-hidden .rcg-category-nav__entry:has(a[href*="/sound-art"]),
body.rcgsm-sound-art-hidden li:has(> a[href*="/sound-art"]) {
  display: none !important;
}

/*
 * Design-system cards. The "Something for everyone" grid is editor content
 * built from .rcg-grid / .rcg-card, so hiding only the <a> left a headless
 * card: heading gone, body copy still sitting in an empty box. Remove the
 * whole tile instead.
 *
 * The grid-child rule is the general form — any direct child of an .rcg-grid
 * that links to the collection is that grid's tile, whatever element it uses.
 * Removing one leaves the remaining tiles to reflow; the wrapper's column
 * count is authored per page, so a 4-up row becomes a 3-up row and a 2x2
 * becomes 2 + 1.
 */
body.rcgsm-sound-art-hidden .rcg-grid > *:has(a[href*="/sound-art"]),
body.rcgsm-sound-art-hidden .rcg-card:has(a[href*="/sound-art"]) {
  display: none !important;
}
