/* RENNiS STEP155: only approved pages, homepage category chips, related products & favorites. */
:root { --rn155-orange:#ff6500; --rn155-ink:#262e33; --rn155-line:#d3d9dd; }

/* Five existing public information pages. Their actual content is preserved verbatim. */
body.rn155-info-page .entry-content,
body.rn155-info-page .entry-content > :is(div,section,article),
body.rn155-info-page .ct-content > article { min-width:0; }
body.rn155-info-page .entry-content { font:400 17px/1.75 Roboto,Arial,sans-serif!important; color:var(--rn155-ink)!important; overflow-wrap:break-word; }
body.rn155-info-page .entry-content :is(p,li,dd,dt,address) { font-size:inherit!important; line-height:1.7!important; }
body.rn155-info-page .entry-content :is(p,ul,ol,dl,address) { margin-block:0 16px; }
body.rn155-info-page .entry-content :is(ul,ol) { padding-inline-start:1.45em; }
body.rn155-info-page .entry-content :is(h1,h2,h3,h4) { color:var(--rn155-ink)!important; line-height:1.32!important; margin:20px 0 12px!important; letter-spacing:0; }
body.rn155-info-page .entry-content h2 { font-size:clamp(23px,2vw,28px)!important; }
body.rn155-info-page .entry-content h3 { font-size:clamp(19px,1.6vw,23px)!important; }
body.rn155-info-page .entry-content a:not(.button):not(.wp-element-button) { color:#cf5200!important; text-decoration:underline!important; text-underline-offset:3px; overflow-wrap:anywhere; }
body.rn155-info-page .entry-content a:not(.button):hover { color:#a83f00!important; }
body.rn155-info-page .entry-content a:focus-visible { outline:2px solid var(--rn155-orange)!important; outline-offset:3px!important; }
body.rn155-info-page .entry-content img { max-width:100%; height:auto; }

/* Product page: description uses readable typography; active tab follows approved orange. */
body.single-product div.product .woocommerce-tabs .panel,
body.single-product div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel { font:400 17px/1.72 Roboto,Arial,sans-serif!important; color:var(--rn155-ink)!important; overflow-wrap:break-word; }
body.single-product div.product .woocommerce-tabs .panel :is(p,li,span:not([class]),dd) { font-size:inherit!important; line-height:inherit!important; }
body.single-product div.product .woocommerce-tabs ul.tabs li.active a { color:#d85200!important; border-bottom-color:var(--rn155-orange)!important; }
body.single-product div.product .woocommerce-tabs ul.tabs li.active a::after,
body.single-product div.product .woocommerce-tabs ul.tabs li.active::after { background:var(--rn155-orange)!important; border-color:var(--rn155-orange)!important; }
body.single-product div.product .woocommerce-tabs a:focus-visible { outline:2px solid var(--rn155-orange)!important; }

/* Related products: same white tile, compact green stock badge, orange pictogram CTA. */
body.single-product .related.products ul.products { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px!important; margin:0!important; align-items:stretch; }
body.single-product .related.products ul.products > li.product { box-sizing:border-box!important; display:flex!important; flex-direction:column!important; width:100%!important; max-width:none!important; min-width:0!important; float:none!important; clear:none!important; margin:0!important; padding:12px!important; background:#fff!important; border:1px solid var(--rn155-line)!important; border-radius:9px!important; position:relative!important; overflow:visible!important; }
body.single-product .related.products ul.products > li.product > a.woocommerce-LoopProduct-link { display:flex!important; flex-direction:column!important; min-width:0; flex:1 1 auto; text-decoration:none!important; }
body.single-product .related.products ul.products > li.product img { display:block; width:100%!important; height:auto!important; max-height:185px; aspect-ratio:1.44; object-fit:contain!important; margin:4px auto 10px!important; border-radius:4px; }
body.single-product .related.products ul.products > li.product .rn054-card-stock { display:inline-flex!important; align-items:center; align-self:flex-start; width:auto!important; max-width:calc(100% - 45px)!important; min-height:24px; margin:0 0 7px!important; padding:4px 9px!important; background:#079746!important; border-radius:5px!important; font:500 12px/17px Roboto,Arial,sans-serif!important; color:#fff!important; }
body.single-product .related.products ul.products > li.product .rn054-stock-backorder { background:#eab84d!important; color:#232323!important; }
body.single-product .related.products ul.products > li.product .rn054-stock-outofstock { background:#707b80!important; }
body.single-product .related.products ul.products > li.product .woocommerce-loop-product__title { font:500 15px/1.38 Roboto,Arial,sans-serif!important; margin:4px 0 8px!important; color:var(--rn155-ink)!important; overflow-wrap:anywhere; }
body.single-product .related.products ul.products > li.product .price { display:block!important; font:700 20px/1.3 Roboto,Arial,sans-serif!important; margin:8px 0!important; color:var(--rn155-ink)!important; }
body.single-product .related.products ul.products > li.product .rn054-card-part { color:#61707b!important; font-size:12px!important; line-height:1.45!important; overflow-wrap:anywhere; }
body.single-product .related.products ul.products > li.product > a.button,
body.single-product .related.products ul.products > li.product > a.add_to_cart_button { display:inline-flex!important; align-items:center; justify-content:center; align-self:flex-start; margin-top:auto!important; padding:0!important; height:43px; min-height:43px; width:46px; min-width:46px; font-size:0!important; line-height:0!important; color:transparent!important; background-color:var(--rn155-orange)!important; background-image:url('../rennis-desktop-144/cart-white.svg')!important; background-position:center!important; background-repeat:no-repeat!important; background-size:22px 22px!important; border:0!important; border-radius:7px!important; box-shadow:none!important; }
body.single-product .related.products ul.products > li.product > a:is(.product_type_variable,.product_type_grouped,.product_type_external) { background-image:url('../rennis-desktop-144/arrow-white.svg')!important; }
body.single-product .related.products ul.products > li.product > a.button:hover { background-color:#e75500!important; }
body.single-product .related.products ul.products > li.product > a.added_to_cart { color:#cf5200!important; font-size:13px; line-height:1.3; margin-top:8px; }
body.single-product .related.products ul.products > li.product :is(a,button):focus-visible { outline:2px solid var(--rn155-orange)!important; outline-offset:3px!important; }

/* One real favorites model for homepage, catalog, related items, and single product. */
.rn155-fav-toggle { display:inline-flex!important; align-items:center; justify-content:center; gap:5px; background:#fff!important; border:1px solid #d6dadd!important; border-radius:7px; cursor:pointer; color:#d95700!important; font:500 13px/1.25 Roboto,Arial,sans-serif; padding:5px 9px; min-height:38px; text-decoration:none!important; box-shadow:none!important; }
.rn155-fav-toggle .rn155-heart { font-size:23px; line-height:1; color:var(--rn155-orange); }
.rn155-fav-toggle :is(.rn-icon-heart,.rn137-heart) { display:none!important; }
.rn155-fav-toggle.rn155-is-favorite { color:#bf4d00!important; border-color:#ffae6d!important; background:#fff4e9!important; }
.rn155-fav-toggle:focus-visible,.rn155-fav-remove:focus-visible,.rn155-mobile-fav-open:focus-visible { outline:2px solid var(--rn155-orange)!important; outline-offset:2px!important; }
.rn155-fav-toggle .rn137-label { display:none!important; }
.rn-product .rn-product-favorite.rn155-fav-toggle,
body.single-product .related.products li.product .rn155-fav-toggle { width:36px!important; height:36px!important; min-width:36px!important; min-height:36px!important; padding:0!important; border:0!important; background:transparent!important; }
body.single-product .related.products li.product .rn155-fav-toggle { position:absolute!important; top:7px!important; right:7px!important; z-index:3!important; }
.rn-product .rn-product-favorite.rn155-fav-toggle .rn155-heart { font-size:24px; }
.rn155-single-fav { margin:14px 0; }
.rn155-fav-list { list-style:none; margin:12px 0; padding:0; display:grid; gap:10px; max-height:min(360px,50vh); overflow-y:auto; }
.rn155-fav-list li { display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid #e1e5e8; padding:7px 0; }
.rn155-fav-list a { color:#d45100!important; font-size:14px; overflow-wrap:anywhere; }
.rn155-fav-remove { background:#fff; border:1px solid #d6dadd; border-radius:6px; padding:8px 10px; cursor:pointer; }
.rn155-mobile-fav-open { display:none; }

/* Desktop category filters fill the full product-shelf width and never truncate names. */
@media(min-width:1200px){
 body.home .rn-home-layout .rn-home-products .rn-products-filters { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:9px!important; width:100%!important; max-width:100%!important; min-width:0!important; flex:1 1 100%!important; order:3!important; overflow:visible!important; }
 body.home .rn-home-layout .rn-home-products .rn-products-filters a { display:flex!important; justify-content:center; align-items:center; min-width:0!important; max-width:none!important; width:100%!important; height:auto!important; min-height:44px!important; padding:8px 11px!important; font:500 13px/1.35 Roboto,Arial,sans-serif!important; text-align:center!important; white-space:normal!important; overflow:visible!important; text-overflow:clip!important; overflow-wrap:anywhere!important; }
}
@media(min-width:1640px){ body.home .rn-home-layout .rn-home-products .rn-products-filters { grid-template-columns:repeat(6,minmax(0,1fr))!important; } }
@media(max-width:1199px){
 body.home .rn-home-products .rn-products-filters { display:flex!important; flex:1 1 100%; order:3; gap:8px; width:100%; max-width:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; padding:0 0 5px; }
 body.home .rn-home-products .rn-products-filters a { flex:0 0 auto; max-width:220px!important; min-width:98px; min-height:44px; white-space:normal!important; overflow:visible!important; text-overflow:clip!important; font-size:13px!important; line-height:1.35; text-align:center; }
 body.single-product .related.products ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.rn155-info-page .entry-content { font-size:16px!important; line-height:1.7!important; }
 body.single-product .woocommerce-tabs .panel { font-size:16px!important; }
 .rn155-mobile-fav-open { display:block; padding:12px 15px; margin:12px 0; width:100%; text-align:left; color:#d45100; background:#fff; border:1px solid #d1d7db; border-radius:7px; font:500 15px/1.3 Roboto,Arial,sans-serif; }
}
@media(max-width:530px){ body.single-product .related.products ul.products { grid-template-columns:1fr!important; } body.single-product .related.products ul.products > li.product { padding:13px!important; } }


/* RENNiS STEP156 — exact corrections after the 30 October Desktop video. */
/* Keep accepted homepage tiles unchanged. Only the native Woo archive and related-product tiles. */
@media (min-width:1200px) {
 body.rn052-archive ul.products > li.product { min-height:320px!important; padding:12px!important; border-radius:8px!important; position:relative!important; overflow:visible!important; }
 body.rn052-archive ul.products > li.product > a.woocommerce-LoopProduct-link,
 body.rn052-archive ul.products > li.product > a.woocommerce-loop-product__link { display:flex!important; flex-direction:column!important; flex:1 1 auto!important; min-width:0!important; text-decoration:none!important; }
 body.rn052-archive ul.products > li.product :is(img,.ct-image-container) {height:156px!important;aspect-ratio:228/128!important;object-fit:contain!important;max-width:100%!important;background:#fff!important;}
 body.rn052-archive ul.products > li.product :is(h2,.woocommerce-loop-product__title) {font:500 15px/1.38 Roboto,Arial,sans-serif!important;min-height:42px!important;max-height:none!important;color:#262e33!important;}
 body.rn052-archive ul.products > li.product .price {font:700 20px/1.3 Roboto,Arial,sans-serif!important;color:#262e33!important;margin:auto 0 0!important;padding:10px 51px 0 0!important;}
 body.rn052-archive ul.products > li.product :is(.rn054-card-part,.rn052-card-sku) {font-size:12px!important;line-height:1.4!important;color:#66737f!important;}
}
/* Stock badges in the top-left corner, consistently across native catalog and related cards. */
body.rn052-archive ul.products > li.product .rn054-card-stock,
body.single-product .related.products ul.products > li.product .rn054-card-stock {
 position:absolute!important;top:10px!important;left:11px!important;z-index:2!important;
 display:inline-flex!important;width:auto!important;max-width:calc(100% - 58px)!important;
 align-items:center!important;padding:4px 8px!important;min-height:24px!important;
 border-radius:5px!important;margin:0!important;font:500 12px/16px Roboto,Arial,sans-serif!important;
 background:#079746!important;color:#fff!important;letter-spacing:0!important;
}
body.rn052-archive ul.products > li.product .rn054-stock-backorder,
body.single-product .related.products ul.products > li.product .rn054-stock-backorder {background:#e7b64d!important;color:#232323!important;}
body.rn052-archive ul.products > li.product .rn054-stock-outofstock,
body.single-product .related.products ul.products > li.product .rn054-stock-outofstock {background:#6b7881!important;color:#fff!important;}
/* Same compact orange native Woo button, no changed href, cart action or type. */
body.rn052-archive ul.products > li.product > a.button,
body.rn052-archive ul.products > li.product > a.add_to_cart_button {
 position:absolute!important;right:12px!important;bottom:12px!important;z-index:2!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:none!important;width:46px!important;height:43px!important;min-width:46px!important;min-height:43px!important;
 padding:0!important;margin:0!important;font-size:0!important;line-height:0!important;color:transparent!important;
 background-color:#ff6500!important;background-image:url('../rennis-desktop-144/cart-white.svg')!important;
 background-repeat:no-repeat!important;background-position:center!important;background-size:22px 22px!important;
 border:0!important;border-radius:7px!important;box-shadow:none!important;
}
body.rn052-archive ul.products > li.product > a:is(.product_type_variable,.product_type_grouped,.product_type_external) {
 background-image:url('../rennis-desktop-144/arrow-white.svg')!important;
}
body.rn052-archive ul.products > li.product > a.button:hover {background-color:#e75500!important;}
body.rn052-archive ul.products > li.product > a.added_to_cart {font-size:12px!important;color:#cf5200!important;line-height:1.35!important;align-self:flex-start;}
/* Heart belongs to the upper-right corner, not to a full-width bottom bar. */
body.rn052-archive ul.products > li.product .rn155-fav-toggle,
body.single-product .related.products ul.products > li.product .rn155-fav-toggle {
 position:absolute!important;top:7px!important;right:7px!important;left:auto!important;bottom:auto!important;z-index:3!important;
 width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;
 padding:0!important;margin:0!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;
 border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;
}
body.rn052-archive ul.products > li.product .rn155-fav-toggle .rn155-heart,
body.single-product .related.products ul.products > li.product .rn155-fav-toggle .rn155-heart {font-size:24px!important;line-height:1!important;}
body.rn052-archive ul.products > li.product .rn155-fav-toggle.rn155-is-favorite,
body.single-product .related.products ul.products > li.product .rn155-fav-toggle.rn155-is-favorite {background:#fff4e9!important;}
.rn-actions a[data-rn-dialog="rn-favorites"] {position:relative;}
.rn-actions .rn156-fav-count:not([hidden]) {display:inline-grid;place-items:center;position:absolute;top:-4px;right:6px;
 min-width:17px;height:17px;padding:0 3px;box-sizing:border-box;background:#ff6500;color:#fff;border-radius:9px;
 font:700 10px/1 Roboto,Arial,sans-serif;}
/* A single readable page column. The contents and hrefs are never rewritten. */
body.rn155-info-page .rn156-info-body {
 box-sizing:border-box!important;position:relative!important;display:flow-root!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:18px 26px 24px!important;
 background:#fff;border:1px solid #e0e5e9;border-radius:10px;
 overflow-wrap:break-word;word-break:normal;color:#262e33;
}
body.rn155-info-page .rn156-info-body :is(h1,h2,h3,h4,h5,h6) {
 box-sizing:border-box!important;display:block!important;position:static!important;
 inset:auto!important;float:none!important;clear:both!important;
 transform:none!important;translate:none!important;left:auto!important;
 width:auto!important;max-width:100%!important;min-width:0!important;
 margin:0 0 14px!important;padding:0!important;text-align:left!important;
 color:#262e33!important;line-height:1.3!important;overflow-wrap:anywhere;
}
body.rn155-info-page .rn156-info-body :is(h1,h2,h3,h4,h5,h6):not(:first-child) {margin-top:22px!important;}
body.rn155-info-page .rn156-info-body :is(p,li,dd,dt,address) {font:400 17px/1.75 Roboto,Arial,sans-serif!important;color:#303c44!important;max-width:100%!important;}
body.rn155-info-page .rn156-info-body :is(p,ul,ol) {margin:0 0 16px!important;}
body.rn155-info-page .rn156-info-body a[href^="tel:"],
body.rn155-info-page .rn156-info-body a[href^="mailto:"] {display:table!important;max-width:100%;width:auto;margin:6px 0!important;
 font-size:17px!important;line-height:1.6!important;color:#c94e00!important;text-decoration:underline!important;text-underline-offset:3px;}
body.rn155-info-page .rn156-info-body a:focus-visible {outline:2px solid #ff6500!important;outline-offset:3px!important;}
@media(max-width:1199px) {
 body.rn155-info-page .rn156-info-body {padding:18px 19px 22px!important;}
 body.rn155-info-page .rn156-info-body :is(p,li,dd,dt,address) {font-size:16px!important;line-height:1.7!important;}
 body.rn052-archive ul.products > li.product .rn155-fav-toggle {position:absolute!important;top:8px!important;right:8px!important;left:auto!important;bottom:auto!important;z-index:3!important;
  width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
}
@media(max-width:530px) {body.rn155-info-page .rn156-info-body {padding:15px!important;} }
/* Preserve the accepted one-column Mobile catalog while matching its product actions to Desktop. */
@media (max-width:1199px) {
 body.rn052-archive ul.products > li.product {position:relative!important;min-width:0!important;box-sizing:border-box!important;}
 body.rn052-archive ul.products > li.product > a.woocommerce-LoopProduct-link,
 body.rn052-archive ul.products > li.product > a.woocommerce-loop-product__link {display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;}
 body.rn052-archive ul.products > li.product .price {margin-top:auto!important;padding-right:53px!important;}
 body.rn052-archive ul.products > li.product > a.button,
 body.rn052-archive ul.products > li.product > a.add_to_cart_button {
   position:absolute!important;right:12px!important;bottom:12px!important;z-index:2!important;
   display:inline-flex!important;justify-content:center!important;align-items:center!important;
   width:46px!important;min-width:46px!important;height:43px!important;min-height:43px!important;
   margin:0!important;padding:0!important;font-size:0!important;line-height:0!important;color:transparent!important;
   background-color:#ff6500!important;background-image:url('../rennis-desktop-144/cart-white.svg')!important;
   background-repeat:no-repeat!important;background-position:center!important;background-size:22px 22px!important;
   border:0!important;border-radius:7px!important;box-shadow:none!important;
 }
 body.rn052-archive ul.products > li.product > a:is(.product_type_variable,.product_type_grouped,.product_type_external) {background-image:url('../rennis-desktop-144/arrow-white.svg')!important;}
}
