/*
Theme Name: Revitalise Store Migration
Version: 0.2.0
Description: Staging reconstruction using the existing Revitalise design assets.
*/
.rv-wp-content{padding-top:40px;padding-bottom:70px;min-height:60vh}.woocommerce button.button,.woocommerce a.button{background:#008b83;color:white;border-radius:24px;padding:14px 24px}.woocommerce ul.products li.product{border:1px solid #dfe8eb;border-radius:18px;padding:18px}.rv-wp-content h1{margin-bottom:28px}

.rv-nav{flex-wrap:wrap}.rv-header-actions{margin-left:auto}.rv-links{gap:18px}.rv-wp-content img{max-width:100%;height:auto}

.rv-nav{flex-wrap:wrap}.rv-header-actions{margin-left:auto}.rv-links{gap:18px}.rv-wp-content img{max-width:100%;height:auto}

@media(min-width:1051px) and (max-width:1320px){.rv-header .rv-social-links{display:none}}.shopify-policy__container{max-width:900px;margin:40px auto;padding:0 24px;line-height:1.7}

.rv-nav-item.is-open>.rv-dropdown{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}

/* Revitalise site-wide presentation polish, 27 September 2026. */
:root{--rv-ink:#15394b;--rv-muted:#526976;--rv-line:#dce6eb;--rv-teal:#216c70;--rv-surface:#f3f7f8}
body{color:var(--rv-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body main :is(h1,h2,h3){text-wrap:balance;letter-spacing:-.025em}
body main p{line-height:1.7}body main :is(input,select,textarea){font:inherit}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #287b87!important;outline-offset:3px}
body :is(.rh-button,.pen-shop,.button.primary,.rpf__submit,.rv-contact-form button,.woocommerce button.button,.woocommerce a.button){border-radius:6px!important;min-height:46px;font-weight:600;line-height:1.4;box-shadow:none;transition:background .18s ease,box-shadow .18s ease}
body :is(.rh-button,.pen-shop,.button.primary,.woocommerce button.button,.woocommerce a.button):hover{background:#22566b;color:#fff;box-shadow:0 4px 12px #15394b16}
body .rv-header{border-bottom:1px solid #e6edf0}body .rv-header .rv-nav{max-width:1320px;margin:auto;padding-top:16px;padding-bottom:16px}
body .rv-header .rv-cart{min-height:42px;display:inline-flex;align-items:center;font-weight:600}
body .rh-section{padding-top:48px!important;padding-bottom:48px!important}
body .rh-heading{gap:20px;align-items:flex-end;margin-bottom:24px}
body .rh-heading h2,body .rh-section>h2{font-size:clamp(26px,3vw,38px);line-height:1.2}
body :is(.rh-kicker,.eyebrow,.rv-research-library__eyebrow){letter-spacing:.12em;line-height:1.5}
body .rh-product,body .cat-card{border:1px solid var(--rv-line);border-radius:10px;overflow:hidden;background:#fff;box-shadow:none}
body .rh-product-copy,body .cat-card-copy{padding:22px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
body .cat-card-copy>*,body .rh-product-copy>*{margin-top:0;margin-bottom:0}
body .cat-card-copy h3,body .rh-product-copy h3{font-size:19px;line-height:1.35}
body .cat-card-copy .button{margin-top:auto;width:100%;text-align:center;box-sizing:border-box}
body .cat-report,body .rh-report{font-size:13px;min-height:32px;display:inline-flex;align-items:center;text-underline-offset:4px}
body .cat-price,body .rh-price{font-size:20px;font-weight:650}body .cat-price ins{text-decoration:none}body .cat-price del{font-size:14px;color:#667d89;font-weight:400}
body .cat-grid{gap:24px}body .cat-photo{aspect-ratio:1;overflow:hidden;background:#f3f5f4}body .cat-photo img{width:100%;height:100%;object-fit:contain}
body .cat-hero{border-radius:12px;padding:32px;gap:32px}body .cat-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.12}body .cat-hero p:not(.eyebrow){max-width:66ch;color:var(--rv-muted)}
body .cat-hero>img{max-height:360px;width:100%;object-fit:contain;border-radius:8px}
body .cat-toolbar{gap:16px;padding:20px 0}body .cat-filters{gap:8px}body .cat-filters a{border-radius:6px;padding:10px 14px;line-height:1.4;min-height:42px;box-sizing:border-box}
body .cat-toolbar select{min-height:44px;border:1px solid var(--rv-line);border-radius:6px;padding:8px 34px 8px 12px;background-color:#fff}
body .crumbs{line-height:1.5;flex-wrap:wrap;padding-top:18px;padding-bottom:18px;margin:0;font-size:12px;color:var(--rv-muted)}
body .product-layout{gap:36px}body .product-photo{border-radius:12px;overflow:hidden;background:#f3f5f4}body .product-photo img{max-height:560px;width:100%;object-fit:contain}
body .purchase h1{font-size:clamp(30px,3.5vw,46px);line-height:1.14}body .purchase .summary{color:var(--rv-muted);font-size:15px}
body .pen-choice{border-radius:8px;padding:16px;gap:12px}body .pen-choice:has(input:checked){border-color:var(--rv-teal);background:#f0f7f7;box-shadow:0 0 0 1px var(--rv-teal)}
body .pen-choice__title{line-height:1.4}body .buy-row{gap:12px}body .rv-thumbnails button{border-radius:6px}
body .rv-research-library{padding-top:48px!important;padding-bottom:48px!important}body .rv-research-library__card{border-radius:10px;border:1px solid var(--rv-line);overflow:hidden;box-shadow:none}body .rv-research-library__image{aspect-ratio:16/10;overflow:hidden}body .rv-research-library__image img{width:100%;height:100%;object-fit:cover}body .rv-research-library__copy{padding:22px}body .rv-research-library__copy h3{font-size:22px;line-height:1.3}
body .rh-media-section figure img{max-height:480px;object-fit:contain}body .rvt{padding-top:48px!important;padding-bottom:48px!important}
body .rv-footer{border-top:1px solid var(--rv-line)}body .rv-footer a{text-underline-offset:4px}body .rv-footer :is(h2,h3){letter-spacing:.1em;font-size:12px}body .rv-footer p{line-height:1.7}
body .rv-wp-content{max-width:1180px;margin:auto;padding:36px 24px 64px;box-sizing:border-box}body .woocommerce :is(input.input-text,select,textarea){min-height:46px;border:1px solid #c8d8df;border-radius:6px;padding:10px 12px;background:#fff}body .woocommerce table.shop_table{border-color:var(--rv-line);border-radius:10px}body .woocommerce :is(.woocommerce-info,.woocommerce-message){border-top-color:var(--rv-teal);background:var(--rv-surface)}
body .shopify-policy__body{color:#314e5e}body .shopify-policy__body h3{color:var(--rv-ink)}body .shopify-policy__body a{text-underline-offset:3px}
@media(min-width:1000px){body .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .rv-research-library__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}body .rv-research-library__card{display:flex;flex-direction:column}body .rv-research-library__image{width:100%;flex:none}}
@media(max-width:749px){body .rv-header .rv-nav{padding:12px 20px;gap:10px;flex-wrap:nowrap}body .rh-section{padding-top:32px!important;padding-bottom:32px!important}body .rh-hero-media,body .rh-hero>figure{max-height:360px}body .rh-hero-media img{max-height:360px;object-fit:cover}body .rh-hero-copy{padding:28px 24px 32px!important}body .rh-hero h1{font-size:clamp(32px,6vw,42px)!important;line-height:1.12!important}body .pen-discover-art{height:440px!important;max-height:440px;overflow:hidden}body .pen-discover-art>img{height:440px!important;max-height:440px;width:100%;object-fit:contain!important;background:#f1f4f4}body .pen-mobile-overlay{position:static!important;padding:0!important;display:none!important}body .pen-discover-copy{padding:28px 24px 32px!important;display:flex!important;gap:16px}body .pen-discover-copy>:is(.pen-eyebrow,h2,.pen-discover-lead){display:block!important}body .pen-discover-copy h2{font-size:32px;line-height:1.15;margin:0}body .pen-discover-copy .pen-discover-lead{margin:0;line-height:1.7}body .pen-discover-copy .pen-details{margin:0}body .pen-discover-copy .pen-shop,body .pen-discover-copy .pen-refills{display:inline-flex!important}body .pen-discover-foot{display:none}body .cat-hero{padding:24px;gap:24px}body .cat-hero>img{max-height:280px}body .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body .cat-card-copy{padding:16px;gap:10px}body .cat-card-copy h3{font-size:17px}body .cat-card-copy .button{font-size:13px;padding:12px 10px}body .cat-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;max-width:100%}body .cat-filters a{flex:0 0 auto;white-space:nowrap}body .cat-toolbar{display:flex;flex-direction:column;align-items:stretch}body .product-photo img{max-height:400px}body .product-layout{gap:24px}body .rv-research-library{padding-top:32px!important;padding-bottom:32px!important}body .rv-research-library__grid{gap:20px}body .rv-research-library__image{max-height:260px}body .rh-media-section figure img{max-height:320px}body .rvt{padding-top:32px!important;padding-bottom:32px!important}}
@media(max-width:480px){body .cat-grid{grid-template-columns:1fr}body .cat-photo{max-height:320px}body .rh-heading{align-items:flex-start;flex-direction:column;gap:12px}body .pen-discover-art,body .pen-discover-art>img{height:340px!important;max-height:340px}body .rv-header .rv-nav{padding-inline:14px;gap:6px}body .rv-header .rv-logo{max-width:112px}body .product-photo img{max-height:320px}body .pen-choice{padding:12px}body .rv-wp-content{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){body *,body *:before,body *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Balanced pen feature at larger breakpoints. */
@media(min-width:750px){body .pen-discover{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;max-width:1180px;margin:40px auto;border:1px solid var(--rv-line);border-radius:12px;overflow:hidden;background:#f4f7f8}body .pen-discover-art{height:560px!important;margin:0;overflow:hidden}body .pen-discover-art>img{height:560px!important;width:100%;object-fit:contain!important;background:#f1f4f4}body .pen-mobile-overlay{display:none!important}body .pen-discover-copy{display:flex!important;flex-direction:column!important;justify-content:center;padding:36px!important;gap:14px}body .pen-discover-copy>:is(.pen-eyebrow,h2,.pen-discover-lead){display:block!important;margin:0}body .pen-discover-copy h2{font-size:clamp(28px,3vw,38px);line-height:1.15}body .pen-discover-copy .pen-details{margin:0}body .pen-discover-copy :is(.pen-shop,.pen-refills){display:inline-flex!important;width:fit-content}body .pen-discover-foot{display:none}}

body .rp-studio .purchase p.dispatch{display:none}body .rv-product-delivery{font-size:13px;line-height:1.7;padding:16px 18px;background:#f0f6f7;border:1px solid #dce6eb;border-radius:8px;color:#365865}body .rv-product-delivery a{display:inline-block;color:#175c67;font-weight:600;text-underline-offset:3px}

/* Pen collection: soft ivory and sage presentation. */
body .rh-home .rh-featured{background:linear-gradient(145deg,#f8f7f2 0%,#edf4f2 100%);border-top:1px solid #e4ece7;border-bottom:1px solid #e4ece7}
body .rh-home .rh-product,body .cat-card:has(.cat-photo[href*="pen-set"]),body .cat-card:has(.cat-photo[href*="pen-kit"]){border-color:#dce6df;border-radius:14px;box-shadow:0 5px 18px #15394b08;background:#fffefb}
body .rh-home .rh-product-image,body .cat-card .cat-photo:is([href*="pen-set"],[href*="pen-kit"]){background:radial-gradient(ellipse at 50% 38%,#fffdf8 0%,#f3eee4 52%,#e6efeb 100%)!important;border-bottom:1px solid #e2e9e1;box-sizing:border-box;padding:18px!important;isolation:isolate}
body .rh-home .rh-product-image img,body .cat-card .cat-photo:is([href*="pen-set"],[href*="pen-kit"]) img{mix-blend-mode:multiply;border-radius:8px}
body .cat-card:has(.cat-photo[href*="pen-set"]) .cat-card-copy,body .cat-card:has(.cat-photo[href*="pen-kit"]) .cat-card-copy,body .rh-home .rh-product-copy{background:linear-gradient(180deg,#fffefb,#f7faf7)}
body.term-pen-kits .cat-hero{background:linear-gradient(120deg,#f8f5ec,#e8f2ee);border:1px solid #dce7df}
@media(max-width:749px){body .rh-home .rh-product-image{height:220px!important}body .rh-home .rh-product-image img{height:184px!important;max-height:184px!important;width:100%!important;object-fit:contain!important}}

/* Matching marble kit photography: full square, true colours. */
body .cat-card .cat-photo:has(img[src*="-marble"]){padding:0!important;aspect-ratio:1;height:auto!important;max-height:none!important;display:block;background:#f4f1ec!important;overflow:hidden}
body .cat-card .cat-photo img[src*="-marble"]{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;mix-blend-mode:normal!important;border-radius:0}

@media(max-width:480px){body .cat-grid{grid-template-columns:minmax(0,1fr)!important}}


/* Restored illustrated research-focus layout, 31 October 2026. */
.pen-factors{color:#15364d;min-width:0}
.pen-factors__intro{font-size:14px;line-height:1.75;color:#526b7b;margin:17px 0 20px}
.pen-factors .pen-factors__label{font-size:10px;font-weight:600;line-height:1.5;letter-spacing:.13em;text-transform:uppercase;color:#607c88;margin:0 0 10px}
.pen-factors .pen-factors__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pen-factors__list li{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:15px 12px;background:#f3f7f8;border:1px solid #e1eaee;border-radius:9px;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.pen-factors__icon{width:34px;height:34px;background:#fff;border:1px solid #dfe9ed;border-radius:50%;display:grid;place-items:center;color:#487e86}
.pen-factors .pen-factors__note{font-size:11px;line-height:1.6;color:#647989;margin:12px 0 0}
.pen-factors__context{margin:10px 0 20px;font-size:11px;line-height:1.65;color:#647989}
.pen-factors__context summary{width:fit-content;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.pen-factors__context p{margin:8px 0}
.pen-factors__context a{color:#234e6a;text-decoration:underline;text-underline-offset:3px}
.pen-factors__source{display:inline-block;margin:0 14px 5px 0}
.pen-factors--card{margin:17px 0 0}
.pen-factors--card .pen-factors__label{font-size:9px;margin-bottom:8px}
.pen-factors--card .pen-factors__list{display:flex;flex-wrap:wrap;gap:5px}
.pen-factors--card .pen-factors__list li{padding:5px 7px;display:block;font-size:10px;line-height:1.5;border-radius:5px;font-weight:400;background:#f5f8f9;border-color:#e1e9ed}
.pen-factor-category{display:block;margin:0 0 10px;color:#3d707d;font-size:9px;line-height:1.6;letter-spacing:.065em;text-transform:uppercase}
.pen-factors a:focus-visible,.pen-factors summary:focus-visible{outline:2px solid #487e86;outline-offset:4px}
.pen-factors--product{margin-bottom:22px}
@media(max-width:749px){.pen-factors__list li{padding:12px 9px;font-size:11px}.pen-factors--card .pen-factors__list{display:grid;grid-template-columns:1fr;gap:5px}.pen-factors--card .pen-factors__list li{font-size:10px;padding:5px 7px}.pen-factors__intro{font-size:13px}}



/* Shopify-matched research offer layout */
.rv-research-offer{display:grid;grid-template-columns:minmax(340px,.8fr) minmax(0,1.2fr);align-items:stretch;margin:0 0 72px;background:#fff}.rv-research-offer__copy{display:flex;flex-direction:column;justify-content:center;padding:56px 46px;background:#dce9ee;color:#0a2458}.rv-research-offer__eyebrow{margin:0 0 12px;font-size:12px;letter-spacing:.18em;font-weight:800}.rv-research-offer #research-offer-title{margin:0 0 14px;font-size:clamp(38px,4.5vw,68px);line-height:.98;letter-spacing:-.04em}.rv-research-offer__copy p{margin:0 0 22px;font-size:16px;line-height:1.7}.rv-research-offer__cta{display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;min-height:48px;padding:0 22px;background:#0a2458;color:#fff;text-decoration:none;font-size:12px;letter-spacing:.12em;font-weight:650}.rv-research-offer__image{display:flex;align-items:center;justify-content:center;margin:0;background:#eaf0f3;overflow:hidden}.rv-research-offer__image img{display:block;width:100%;height:auto;object-fit:contain;max-width:100%}@media(max-width:900px){.rv-research-offer{grid-template-columns:1fr}.rv-research-offer__image img{width:100%;height:auto}}@media(max-width:749px){.rv-research-offer{margin-bottom:48px}.rv-research-offer__copy{padding:34px 22px}.rv-research-offer #research-offer-title{font-size:34px}}


/* Launch repair: consistent carousel media and compact cards. */
.rh-home .rv-vials__grid{align-items:stretch}
.rh-home .rv-vials__card{display:flex;flex-direction:column;height:auto!important;min-height:0!important;overflow:hidden;background:#fff}
.rh-home .rv-vials__image{display:flex;align-items:center;justify-content:center;width:100%;height:260px;overflow:hidden;background:#f3f6f8}
.rh-home .rv-vials__image img{display:block;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important}
.rh-home .rv-vials__body{display:flex;flex:1;flex-direction:column}
.rh-home .rv-vials__buy{margin-top:auto}
.rv-account-offer{margin:24px 0;padding:22px;border:1px solid #d7e2ea;border-radius:12px;background:#f5faf8}
@media(max-width:749px){.rh-home .rv-vials__image{height:230px}}


/* Final collection image and desktop hero alignment repair, 2 November 2026. */
body .cat-card,
body .rh-home .rh-product,
body .rh-home .rv-vials__card{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}
body .cat-card .cat-photo,
body .rh-home .rh-product-image,
body .rh-home .rv-vials__image{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  overflow:hidden;
}
body .cat-card .cat-photo img,
body .rh-home .rh-product-image img,
body .rh-home .rv-vials__image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  mix-blend-mode:normal!important;
  border-radius:0!important;
}
body .cat-card-copy,
body .rh-home .rh-product-copy,
body .rh-home .rv-vials__body{
  background:#fff!important;
}
@media(min-width:750px){
 body .rh-home .rh-hero{
   grid-template-columns:42% 58%!important;
   min-height:600px!important;
   align-items:stretch;
 }
 body .rh-home .rh-hero-copy{
   max-width:none!important;
   left:0!important;
   width:auto!important;
   padding:48px clamp(34px,4vw,56px)!important;
   box-sizing:border-box;
   min-width:0;
 }
 body .rh-home .rh-hero-copy h1{
   font-size:clamp(36px,3.2vw,46px)!important;
   line-height:1.08!important;
 }
 body .rh-home .rh-hero-image{
   padding:0!important;
   min-width:0;
   display:flex;
   align-items:center;
   justify-content:center;
 }
 body .rh-home .rh-hero-image img{
   width:100%!important;
   height:100%!important;
   max-height:none!important;
   object-fit:contain!important;
   box-shadow:none!important;
 }
}

/* Ensure pen-set collection images remain edge-to-edge after legacy pen selectors. */
body .cat-card .cat-photo:is([href*="pen-set"],[href*="pen-kit"]),
body .cat-card .cat-photo[href*="pen-set"],
body .cat-card .cat-photo[href*="pen-kit"]{
 padding:0!important;border:0!important;background:#fff!important;border-radius:0!important;
}
body .cat-card .cat-photo:is([href*="pen-set"],[href*="pen-kit"]) img,
body .cat-card .cat-photo[href*="pen-set"] img,
body .cat-card .cat-photo[href*="pen-kit"] img{
 width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;mix-blend-mode:normal!important;border-radius:0!important;
}


/* Distinct blue product-view actions, 2 November 2026. */
.rc-studio .cat-card-copy > a.button.primary[href*="/products/"],
body a.button.primary[href*="/products/"],
body .rh-product-copy a.rh-button[href*="/products/"],
body a.rv-vials__buy[href*="/products/"]{background:#0a4f7a!important;border-color:#0a4f7a!important;color:#fff!important}
.rc-studio .cat-card-copy > a.button.primary[href*="/products/"]:hover,
body a.button.primary[href*="/products/"]:hover,
body .rh-product-copy a.rh-button[href*="/products/"]:hover,
body a.rv-vials__buy[href*="/products/"]:hover{background:#073b5c!important;border-color:#073b5c!important;color:#fff!important}


/* Desktop collection search alignment — 2 November 2026. */
@media (min-width:1000px){
 .cat-grid>.rv-peptide-search--collection{grid-column:1/-1!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;margin:20px 0 24px!important;padding:17px 20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important}
 .cat-grid>.rv-peptide-search--collection>div{flex:0 0 auto!important;min-width:190px!important}
 .cat-grid>.rv-peptide-search--collection form{flex:1 1 620px!important;width:auto!important;max-width:720px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;margin-left:auto!important}
 .cat-grid>.rv-peptide-search--collection input[type="search"]{width:100%!important;min-width:0!important}
 .cat-grid>.rv-peptide-search--collection button{white-space:nowrap!important}
}
