/* RN Peptides — Semaglutide product page */
html{scroll-behavior:smooth}
#how-it-works,#rx-safety,#rx-references,.rn-sg-refs li{scroll-margin-top:110px}
.rn-sg .elementor-widget-text-editor p{margin:0 0 .9em}
.rn-sg .elementor-widget-text-editor p:last-child{margin-bottom:0}
.rn-sg-clip{overflow:hidden}
.rn-sg-mtauto{margin-top:auto!important}
.rn-sg-mlauto{margin-left:auto!important}

/* photos */
.rn-sg .rn-sg-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;display:block}
.rn-sg .rn-sg-photo-tall img{aspect-ratio:4/5}
.rn-sg-article .rn-sg-photo img{border-radius:0;aspect-ratio:16/10}
.rn-sg-coverwrap{position:relative}
.rn-sg-coverwrap > .rn-sg-cover{position:absolute!important;inset:0;width:100%!important;height:100%}
.rn-sg-cover .elementor-widget-container,.rn-sg-cover img{height:100%!important;width:100%;object-fit:cover;display:block}
.rn-sg-vial img{height:200px;object-fit:contain}

/* chips */
.rn-sg-chip .elementor-heading-title{display:inline-block;background:rgba(255,255,255,.88);border-radius:999px;padding:7px 13px}
.rn-sg-gallery > .rn-sg-chip{position:absolute!important;top:22px;left:22px;z-index:5;width:auto}
.rn-sg-chip-abs{position:absolute!important;top:14px;left:14px;z-index:2;width:auto}
.rn-sg-photowrap{position:relative}
.rn-sg-caption{margin-top:16px}

/* gallery */
.rn-sg-images .woocommerce-product-gallery{margin:0!important;width:100%!important;float:none!important}
.rn-sg-images .woocommerce-product-gallery__trigger{display:none!important}
.rn-sg-images .flex-viewport,.rn-sg-images .woocommerce-product-gallery__wrapper{border-radius:18px;overflow:hidden}\n.rn-sg-images .woocommerce-product-gallery__image img{width:100%!important;max-width:none!important;height:440px!important;object-fit:contain;background:#fff;border-radius:18px;display:block}
.rn-sg-images .woocommerce-product-gallery__image + .woocommerce-product-gallery__image img{object-fit:cover}
.rn-sg-images .flex-control-thumbs{display:flex!important;gap:10px;margin:16px 0 0!important;padding:0!important}
.rn-sg-images .flex-control-thumbs li{width:76px!important;margin:0!important;float:none!important;list-style:none}
.rn-sg-images .flex-control-thumbs img{aspect-ratio:1;object-fit:cover;border-radius:12px;border:2px solid rgba(255,255,255,.6);background:#fff;opacity:.7;transition:opacity .2s,border-color .2s;cursor:pointer}
.rn-sg-images .flex-control-thumbs img.flex-active,.rn-sg-images .flex-control-thumbs img:hover{border-color:#328C82;opacity:1}
@media(max-width:767px){.rn-sg-images .woocommerce-product-gallery__image img{height:300px!important}}

/* buy box + add to cart */
.rn-sg-buybox .elementor-widget-woocommerce-product-price{text-align:right}
.rn-sg-mainatc,.rn-sg-mainatc form.cart,.rn-sg-mainatc .single_add_to_cart_button{width:100%!important}
.rn-sg-mainatc form.cart{margin:4px 0 0!important}
.rn-sg-mainatc .single_add_to_cart_button{justify-content:center}
.rn-sg-mainatc .single_add_to_cart_button:after{content:"→";margin-left:10px}
.rn-sg-atc .elementor-button{border-radius:999px}

/* feature + article cards */
.rn-sg-feature{height:100%}
.rn-sg-article > .e-con:last-child{flex-grow:1}
.rn-sg-article .elementor-widget-button,.rn-sg-article .elementor-widget-button .elementor-button{width:auto!important}
.rn-sg-article .elementor-widget-button .elementor-button{justify-content:flex-start;padding-left:0!important;padding-right:0!important}

/* timeline */
.rn-sg-timeline{position:relative}
.rn-sg-timeline:before{content:"";position:absolute;top:40px;left:10%;right:10%;height:1px;background:#AFC5BC}
.rn-sg-month{position:relative;z-index:1}
.rn-sg-month .elementor-heading-title{width:80px;height:80px;margin:0 auto;border-radius:50%;background:#1B5650;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 0 0 7px #EEF4F0}
.rn-sg-month strong{font-family:"Instrument Serif",serif;font-size:32px;font-weight:400;line-height:1}
.rn-sg-month span{font-family:"Instrument Sans",sans-serif;font-size:9px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;margin-top:2px}
.rn-sg-tlcard{flex-grow:1}
.rn-sg-cite{color:#328C82;font-size:12px;font-weight:600;white-space:nowrap}
@media(max-width:1024px){.rn-sg-timeline:before{display:none}}
.rn-sg-refs{margin:0;padding-left:20px}
.rn-sg-refs li{margin:0 0 18px;padding-left:4px;color:#61726C}
.rn-sg-refs li:last-child{margin-bottom:0}
.rn-sg-refs a{color:#1B5650;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.rn-sg-refs p{margin:6px 0 0!important;font-size:14px;color:#61726C}

/* toggles */
.rn-sg-toggle .elementor-toggle-item{border:0!important;margin:0!important}
.rn-sg-toggle .elementor-tab-title{border-bottom:1px solid #DCE3DD!important;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:16px}
.rn-sg-toggle .elementor-tab-title a{color:inherit}
.rn-sg-toggle .elementor-tab-content{border:0!important;padding-top:12px!important}
.rn-sg-toggle .elementor-toggle-icon{font-size:13px;width:auto!important}
.rn-sg-toggle-light .elementor-tab-title{border-bottom-color:rgba(255,255,255,.16)!important}
.rn-sg-hero .rn-sg-toggle .elementor-tab-title{padding:14px 0!important}

/* dark zone */
.rn-sg-sticky{position:sticky!important;top:120px}
.rn-sg-darkzone .rnx-eyebrow .elementor-heading-title{background:transparent;border:0;padding:0}
@media(max-width:767px){.rn-sg-sticky{position:static!important}}
