/* RCexplained v0.022: the Shop archive only. No styling of individual products or category/Page templates. */
body.rce-shop-layout .site-content .ast-container{max-width:1440px;display:block}
body.rce-shop-layout .site-content .content-area,body.rce-shop-layout .site-content .site-main{width:100%;max-width:100%;float:none;min-width:0}
/* The redesigned main Shop has no breadcrumb; fallback covers theme variants. */
body.rce-shop-layout .woocommerce-breadcrumb{display:none!important}
.rce-shop-archive{--rce-navy:#0b263d;--rce-ink:#13364f;--rce-blue:#087eaf;--rce-sky:#4fbbe1;--rce-line:#dce7ed;--rce-muted:#546c7f;color:var(--rce-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;max-width:1300px;margin:0 auto 54px;padding:0 18px;box-sizing:border-box}
.rce-shop-archive *{box-sizing:border-box}
.rce-shop-archive a{text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}
.rce-shop-archive a:focus-visible{outline:3px solid #45b6e2;outline-offset:4px}
/* Compact introduction: Astra already renders the sitewide RCexplained banner. */
.rce-shop-intro{background:transparent;color:var(--rce-ink);border:0;border-bottom:1px solid var(--rce-line);padding:10px 2px 24px;margin:0 0 18px}
.rce-shop-intro-copy{max-width:940px}
.rce-shop-intro h1{font-family:inherit;color:var(--rce-navy)!important;font-size:clamp(29px,3.1vw,40px);font-weight:850;line-height:1.15;letter-spacing:-.027em;margin:0 0 9px}
.rce-shop-intro p{font-family:inherit;font-size:clamp(15px,1.15vw,17px);line-height:1.55;color:var(--rce-muted);margin:0;max-width:800px}
.rce-shop-quick-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 42px}
.rce-shop-quick-link{display:flex;flex-direction:column;justify-content:space-between;min-height:101px;padding:19px;border:1px solid var(--rce-line);border-top:4px solid #1699cc;border-radius:11px;color:var(--rce-ink);background:#fff;box-shadow:0 5px 20px rgba(8,56,87,.045)}
.rce-shop-quick-link:nth-child(2){border-top-color:#0b658f}.rce-shop-quick-link:nth-child(3){border-top-color:#3772b0}.rce-shop-quick-link:nth-child(4){border-top-color:#223d57}
.rce-shop-quick-link>span{font-size:15px;font-weight:800;line-height:1.35}
.rce-shop-quick-link small{font-size:12px;color:var(--rce-muted);display:flex;justify-content:space-between;margin-top:11px}
.rce-shop-quick-link:hover{border-color:#8ebfda;transform:translateY(-2px);background:#f9fcfe}
.rce-shop-collection{scroll-margin-top:95px;margin:0 0 66px}
.rce-shop-collection-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:23px}
.rce-shop-collection-kicker{color:#087eaf;font-size:11px;font-weight:850;letter-spacing:.15em;margin:0 0 8px}
.rce-shop-collection-head h2{font-family:inherit;color:var(--rce-navy)!important;font-size:clamp(24px,2.7vw,33px);letter-spacing:-.035em;line-height:1.22;font-weight:850;margin:0 0 8px}
.rce-shop-collection-head p:not(.rce-shop-collection-kicker){color:var(--rce-muted);font-size:15px;line-height:1.6;margin:0}
.rce-shop-view-collection{flex:none;font-size:13px;font-weight:750;color:#0a709f;border-bottom:1px solid #c3dbe7;padding-bottom:4px;white-space:nowrap}
.rce-shop-view-collection:hover{color:#073b5a}
.rce-shop-speed-feature{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);border:1px solid var(--rce-line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 12px 38px rgba(13,51,82,.065)}
.rce-shop-speed-photo{background:linear-gradient(140deg,#f3f7fa,#eef5f9);display:flex;align-items:center;justify-content:center;min-height:350px;aspect-ratio:1.25/1;overflow:hidden}
.rce-shop-speed-photo img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:480px;padding:18px}
.rce-shop-placeholder{width:100%;height:100%;min-height:280px;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(135deg,#edf4f8 0,#edf4f8 20px,#e5f0f6 20px,#e5f0f6 40px);color:#4b738a;font-size:18px;font-weight:800;letter-spacing:-.05em}
.rce-shop-speed-details{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(21px,3.5vw,45px)}
.rce-shop-choose-label{font-size:12px;letter-spacing:.13em;color:#4d6d84;font-weight:850;margin:0 0 18px}
.rce-shop-speed-links{display:grid;grid-template-columns:repeat(3,minmax(85px,1fr));gap:11px;width:100%}
.rce-shop-speed-chip{border:1.5px solid #c5dfea;border-radius:11px;min-height:100px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:26px;font-weight:850;line-height:1;color:#0d527a;background:#f4fafc;font-variant-numeric:tabular-nums}
.rce-shop-speed-chip small{display:block;letter-spacing:.18em;font-size:10px;font-weight:850;margin-top:6px;color:#386985}
.rce-shop-speed-price{font-style:normal;color:#426d83;font-size:11px;font-weight:700;line-height:1.4;margin-top:9px;white-space:nowrap}
.rce-shop-speed-price .amount{font-weight:800}
.rce-shop-speed-custom{position:absolute;top:5px;right:7px;color:#1785b0;font-size:13px;line-height:1}
a.rce-shop-speed-chip:hover{border-color:#078ec6;color:#fff;background:#0b79a6;transform:translateY(-2px)}
a.rce-shop-speed-chip:hover small,a.rce-shop-speed-chip:hover .rce-shop-speed-price,a.rce-shop-speed-chip:hover .rce-shop-speed-custom{color:#e7f7ff}
.rce-shop-speed-chip.is-unavailable{opacity:.43;background:#f5f7f8;border-style:dashed;cursor:default}
.rce-shop-speed-note{font-size:13px;color:#647e90;line-height:1.65;margin:22px 0 0}
.rce-shop-personal-note{font-size:13px;color:#176887;background:#e8f5fa;border-radius:7px;padding:10px 12px;margin:16px 0 0}
.rce-shop-extra-products{margin-top:20px}
.rce-shop-extra-products h3{font-size:18px!important;color:var(--rce-navy);margin:10px 0 16px}
.rce-shop-extra-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.rce-shop-lifestyle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.rce-shop-product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--rce-line);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(9,38,63,.045)}
.rce-shop-product-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1.16/1;background:#f4f8fb;overflow:hidden}
.rce-shop-product-photo img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;padding:12px;transition:transform .25s ease}
.rce-shop-product-photo:hover img{transform:scale(1.035)}
.rce-shop-product-info{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:10px;padding:19px 19px 20px}
.rce-shop-customizable{font-size:10px;letter-spacing:.075em;font-weight:850;text-transform:uppercase;color:#0e6f97;background:#e4f3fa;padding:6px 9px;border-radius:5px}
.rce-shop-product-info h3,.rce-shop-product-info h4{font-size:clamp(16px,1.5vw,20px);line-height:1.32;letter-spacing:-.02em;font-weight:800;color:var(--rce-navy);margin:1px 0 8px;font-family:inherit}
.rce-shop-product-info h3 a,.rce-shop-product-info h4 a{color:inherit}
.rce-shop-product-info h3 a:hover,.rce-shop-product-info h4 a:hover{color:#0a85b7}
.rce-shop-product-bottom{width:100%;margin-top:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.rce-shop-product-price{font-weight:800;font-size:17px;color:#0d547b;font-variant-numeric:tabular-nums}
.rce-shop-product-price del{font-size:12px;color:#718b9a;margin-right:5px}
.rce-shop-product-action{display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:12px;color:#0a719c}
.rce-shop-product-action:hover{color:#084d73}
.rce-shop-empty{border:1px dashed #cadde7;border-radius:10px;padding:25px;color:var(--rce-muted);font-size:14px}
.rce-shop-footnote{margin:17px 0 0;padding:15px 0;border-top:1px solid var(--rce-line);text-align:center;font-size:13px;color:var(--rce-muted)}
@media(max-width:1050px){.rce-shop-quick-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.rce-shop-speed-links{grid-template-columns:repeat(3,minmax(70px,1fr));gap:8px}.rce-shop-speed-chip{min-height:92px;font-size:22px}.rce-shop-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.rce-shop-archive{padding:0 12px;margin-bottom:32px}.rce-shop-intro{padding:8px 0 17px;margin-bottom:15px}.rce-shop-intro h1{font-size:31px}.rce-shop-intro p{font-size:15px}.rce-shop-quick-nav{gap:9px;margin:16px 0 40px}.rce-shop-quick-link{padding:13px 14px;min-height:91px}.rce-shop-quick-link>span{font-size:13px}.rce-shop-collection{margin-bottom:48px}.rce-shop-collection-head{display:block}.rce-shop-view-collection{display:inline-block;margin-top:10px}.rce-shop-speed-feature{grid-template-columns:1fr}.rce-shop-speed-photo{min-height:260px;aspect-ratio:1.35}.rce-shop-speed-photo img{max-height:360px}.rce-shop-speed-details{padding:23px}.rce-shop-lifestyle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.rce-shop-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rce-shop-product-info{padding:14px}.rce-shop-product-info h3,.rce-shop-product-info h4{font-size:16px}.rce-shop-product-price{font-size:14px}}
@media(max-width:420px){.rce-shop-quick-link{padding:12px}.rce-shop-intro h1{font-size:28px}.rce-shop-intro p{font-size:14px}.rce-shop-speed-links{grid-template-columns:repeat(3,minmax(0,1fr))}.rce-shop-speed-chip{font-size:21px;min-height:90px}.rce-shop-speed-chip small{font-size:9px}.rce-shop-product-photo{aspect-ratio:1/1}.rce-shop-product-info h3,.rce-shop-product-info h4{font-size:15px}.rce-shop-product-bottom{align-items:flex-start}.rce-shop-product-price{font-size:14px}}
@media(prefers-reduced-motion:reduce){.rce-shop-archive a,.rce-shop-product-photo img{transition:none}}

/* v0.024: align main Shop with the site's page content immediately below Astra navigation. */
body.rce-shop-layout #primary{margin-top:0!important;padding-top:0!important}
body.rce-shop-layout .site-content .ast-container{padding-top:0!important}

body.rce-shop-layout .rce-shop-archive{padding-top:0!important}
/* Navigation option: compact links instead of four large cards. */
.rce-shop-quick-nav.rce-shop-nav-links{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:28px}
.rce-shop-nav-links .rce-shop-quick-link{width:auto;min-height:0;display:inline-flex;flex-direction:row;align-items:center;gap:10px;padding:11px 15px;border:1px solid var(--rce-line);border-radius:999px;box-shadow:none}
.rce-shop-nav-links .rce-shop-quick-link>span{font-size:13px}
.rce-shop-nav-links .rce-shop-quick-link small{margin:0;font-size:11px}
/* Speed Club layout options */
.rce-shop-view-compact .rce-shop-speed-feature{grid-template-columns:minmax(0,32%) minmax(0,68%);border-radius:13px}
.rce-shop-view-compact .rce-shop-speed-photo{min-height:240px;aspect-ratio:1/1}
.rce-shop-view-compact .rce-shop-speed-photo img{max-height:315px;padding:12px}
.rce-shop-view-compact .rce-shop-speed-details{padding:22px}
.rce-shop-view-compact .rce-shop-speed-links{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.rce-shop-view-compact .rce-shop-speed-chip{font-size:20px;min-height:85px}
.rce-shop-view-grid .rce-shop-speed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.rce-shop-view-grid .rce-shop-product-card{min-width:0}
/* Lifestyle layout options */
.rce-shop-view-compact .rce-shop-lifestyle-grid{gap:12px}
.rce-shop-view-compact .rce-shop-product-photo{aspect-ratio:1.55/1}
.rce-shop-view-compact .rce-shop-product-photo img{padding:6px}
.rce-shop-view-compact .rce-shop-product-info{padding:12px 14px}
.rce-shop-view-spotlight .rce-shop-lifestyle-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.rce-shop-view-spotlight .rce-shop-lifestyle-grid .rce-shop-product-card:first-child{grid-column:span 2;grid-row:span 2}
.rce-shop-view-spotlight .rce-shop-lifestyle-grid .rce-shop-product-card:not(:first-child){grid-column:span 2}
.rce-shop-view-spotlight .rce-shop-lifestyle-grid .rce-shop-product-card:first-child .rce-shop-product-photo{aspect-ratio:1.15/1}
@media(max-width:1050px){
 .rce-shop-view-compact .rce-shop-speed-links{grid-template-columns:repeat(3,minmax(0,1fr))}
 .rce-shop-view-grid .rce-shop-speed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 
 .rce-shop-view-compact .rce-shop-speed-feature{grid-template-columns:1fr}
 .rce-shop-view-compact .rce-shop-speed-photo{min-height:210px;aspect-ratio:1.5/1}
 .rce-shop-view-spotlight .rce-shop-lifestyle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rce-shop-view-spotlight .rce-shop-lifestyle-grid .rce-shop-product-card:first-child{grid-column:span 2;grid-row:auto}
 .rce-shop-view-spotlight .rce-shop-lifestyle-grid .rce-shop-product-card:not(:first-child){grid-column:span 1}
 .rce-shop-view-grid .rce-shop-speed-grid{gap:10px}
}
@media(max-width:420px){.rce-shop-view-compact .rce-shop-speed-links{grid-template-columns:repeat(3,minmax(0,1fr))}.rce-shop-nav-links .rce-shop-quick-link{padding:9px 11px}}


/* v0.025 Shop polish: compact image-backed navigation and consistent Lifestyle CTAs. */
.rce-shop-quick-nav.rce-shop-nav-cards .rce-shop-quick-link{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;min-height:94px}
.rce-shop-nav-thumb{display:flex;align-items:center;justify-content:center;width:68px;height:68px;overflow:hidden;border-radius:8px;background:#f0f6fa;flex:none}
.rce-shop-nav-thumb img{display:block;width:100%;height:100%;object-fit:contain;padding:3px}
.rce-shop-nav-fallback{font-size:14px;letter-spacing:.04em;color:#326782;font-weight:800}
.rce-shop-quick-text{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px}
.rce-shop-quick-text strong{font-size:14px;line-height:1.3;color:var(--rce-ink)}
.rce-shop-quick-text small{margin-top:0;display:flex;justify-content:space-between;gap:8px}
.rce-shop-nav-links .rce-shop-nav-thumb{width:36px;height:36px}
.rce-shop-nav-links .rce-shop-quick-link{gap:9px}
.rce-shop-nav-links .rce-shop-quick-text{gap:1px}
.rce-shop-nav-links .rce-shop-quick-text strong{font-size:13px}
.rce-shop-nav-links .rce-shop-quick-text small{font-size:10px}
.rce-shop-collection-lifestyle .rce-shop-product-info{align-items:stretch}
.rce-shop-collection-lifestyle .rce-shop-product-info>h3{min-height:2.75em;margin:0}
.rce-shop-collection-lifestyle .rce-shop-product-bottom{align-items:flex-end}
.rce-shop-collection-lifestyle .rce-shop-product-action{display:inline-flex;align-items:center;justify-content:center;padding:8px 9px;background:#e9f5fa;border:1px solid #c5e2ef;border-radius:7px;line-height:1.3;white-space:nowrap}
@media(max-width:1050px){.rce-shop-quick-nav.rce-shop-nav-cards .rce-shop-quick-link{grid-template-columns:60px minmax(0,1fr)}.rce-shop-quick-nav.rce-shop-nav-cards .rce-shop-nav-thumb{width:60px;height:60px}}
@media(max-width:767px){.rce-shop-quick-nav.rce-shop-nav-cards .rce-shop-quick-link{grid-template-columns:46px minmax(0,1fr);gap:9px;padding:10px;min-height:73px}.rce-shop-quick-nav.rce-shop-nav-cards .rce-shop-nav-thumb{width:46px;height:46px}.rce-shop-quick-text strong{font-size:12px}.rce-shop-quick-text small{font-size:10px}.rce-shop-collection-lifestyle .rce-shop-product-action{font-size:11px}}
@media(max-width:420px){.rce-shop-quick-nav.rce-shop-nav-cards .rce-shop-quick-link{grid-template-columns:1fr;justify-items:start;gap:6px;min-height:109px}.rce-shop-quick-nav.rce-shop-nav-cards .rce-shop-nav-thumb{width:54px;height:48px}.rce-shop-quick-text strong{font-size:12px}.rce-shop-quick-text small{font-size:10px}}

/* Admin-only diagnostic, shown only when ?rce_perf=1 */
.rce-shop-perf-debug{margin:15px 0;padding:12px;border:1px solid #c4dfea;background:#f2f9fc;color:#19445e;font-size:13px}

/* v0.039: editorial SEO content. No pale panel, no JS, within Shop grid width. */
.rce-shop-seo-footer{
  width:100%;min-width:0;margin:10px auto 0;padding:29px 2px 6px;
  display:grid;grid-template-columns:minmax(190px, .72fr) minmax(0, 1.65fr);
  column-gap:clamp(25px,4.2vw,78px);align-items:start;
  border:0;border-top:1px solid var(--rce-line);border-radius:0;
  background:transparent;box-shadow:none;color:#334e62;
}
.rce-shop-seo-footer>h2{
  margin:0;color:var(--rce-navy);
  font:800 clamp(22px,2.25vw,30px)/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:-.025em;
}
.rce-shop-seo-copy{min-width:0;max-width:76ch}
.rce-shop-seo-copy p{margin:0 0 12px;font:400 15px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}
.rce-shop-seo-copy p:last-of-type{margin-bottom:0}
.rce-shop-seo-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:18px 0 0}
.rce-shop-seo-links a{
  display:inline-flex;align-items:center;min-height:28px;max-width:100%;
  padding:3px 0;border:0;border-bottom:1px solid #b6d9e8;border-radius:0;
  background:transparent;color:#08618d;font-size:13px;font-weight:700;
  line-height:1.4;text-decoration:none;overflow-wrap:anywhere;
}
.rce-shop-seo-links a:hover{color:#075379;border-bottom-color:#075379;background:transparent}
@media(max-width:767px){
 .rce-shop-seo-footer{grid-template-columns:minmax(0,1fr);row-gap:13px;padding:21px 0 4px;margin-top:4px}
 .rce-shop-seo-footer>h2{font-size:23px}
 .rce-shop-seo-copy{max-width:none}
 .rce-shop-seo-copy p{font-size:14px;line-height:1.66;margin-bottom:11px}
 .rce-shop-seo-links{gap:5px 13px;margin-top:14px}
 .rce-shop-seo-links a{font-size:12px}
}
