/* RENNiS STEP022: only the homepage product shelf. Existing logo/hero/header styles are reused. */
.rn-home-layout{grid-template-areas:"catalog hero" "catalog promos" "products products"}
.rn-home-products{grid-area:products;min-width:0;width:100%;margin-top:12px;scroll-margin-top:20px}
.rn-products-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.rn-home .rn-products-heading h2{font:700 30px/38px "Roboto Condensed",Roboto,Arial,sans-serif;color:var(--rn-ink);letter-spacing:0;margin:0;flex:1 1 auto}
.rn-products-all{display:flex;align-items:center;gap:8px;min-height:44px;color:#c74600!important;font-size:14px;font-weight:500;white-space:nowrap}
.rn-products-all .rn-icon{width:20px;height:20px}
.rn-products-filters{display:flex;gap:8px;align-items:center;flex:0 1 auto;max-width:100%;overflow:auto;scrollbar-width:thin}
.rn-products-filters a{display:flex;align-items:center;justify-content:center;white-space:nowrap;min-height:36px;padding:8px 14px;border-radius:6px;background:var(--rn-panel);color:var(--rn-graphite)!important;font-size:13px;line-height:20px;font-weight:500}
.rn-products-filters a[aria-current="true"]{background:var(--rn-orange);color:#fff!important}
.rn-products-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;min-width:0;align-items:stretch}
.rn-product{display:flex;flex-direction:column;min-width:0;min-height:314px;padding:12px 15px;background:#fff;border:1px solid var(--rn-border);border-radius:8px;box-shadow:none}
.rn-product-top{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:28px;margin-bottom:10px}
.rn-product-stock{display:inline-flex;gap:6px;align-items:center;padding:4px 8px;min-height:24px;border-radius:5px;font-size:12px;line-height:16px;font-weight:500;color:#fff;white-space:normal}
.rn-product-check{display:block;flex:0 0 12px;width:12px;height:12px;background:currentColor;mask:url('check.svg') center/contain no-repeat;-webkit-mask:url('check.svg') center/contain no-repeat}
.rn-product-stock-in{background:#079746}.rn-product-stock-order{background:#cd1141}.rn-product-stock-out{background:#66737f}
.rn-product-favorite{display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;color:#66737f!important}.rn-product-favorite .rn-icon{width:21px;height:21px}
.rn-product-photo{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:228/128;margin:0 0 10px;min-width:0;color:#66737f;background:#fff;overflow:hidden}
.rn-product-photo img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;margin:0;border:0;border-radius:0}
.rn-product-no-photo{display:block;text-align:center;font-size:13px;line-height:20px;padding:12px;background:var(--rn-panel);width:100%}
.rn-home .rn-product-name{font:500 16px/21px Roboto,Arial,sans-serif;letter-spacing:0;margin:0;overflow-wrap:anywhere;color:var(--rn-ink);min-height:42px}
.rn-product-name a{color:inherit!important}.rn-product-name a:hover{color:#c74600!important}
.rn-home .rn-product-sku{font-size:13px;line-height:19px;margin:2px 0 0;color:#66737f;overflow-wrap:anywhere}
.rn-home .rn-product-brand{font-size:14px;line-height:19px;margin:5px 0 0;color:#66737f;overflow-wrap:anywhere}
.rn-product-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:8px;margin-top:auto;padding-top:14px}
.rn-product-price{flex:1 1 135px;min-width:0;font-size:26px;line-height:33px;font-weight:700;color:var(--rn-ink);overflow-wrap:anywhere}
.rn-product-price del{font-size:15px;font-weight:400;color:#66737f}.rn-product-price ins{text-decoration:none;background:none}.rn-price-missing{font-size:16px;line-height:22px;font-weight:500}
.rn-product-cart{flex:0 0 auto;display:flex;align-items:center;gap:6px;max-width:100%}
.rn-home .rn-product-cart .rn-product-add{display:flex;align-items:center;justify-content:center;width:48px;height:44px;min-height:44px;min-width:48px;padding:10px 13px;margin:0;background:var(--rn-orange);color:#fff;border:0;border-radius:7px;font-size:0;line-height:0;box-shadow:none;text-indent:0}
.rn-product-add::before{content:"";display:block;flex:0 0 22px;width:22px;height:22px;background:currentColor;mask: url('../rennis-header/icons/cart.svg') center / contain no-repeat;-webkit-mask: url('../rennis-header/icons/cart.svg') center / contain no-repeat}
.rn-product-add.rn-product-add-detail::before{mask-image:url('../rennis-header/icons/arrow.svg');-webkit-mask-image:url('../rennis-header/icons/arrow.svg')}
.rn-product-add.loading{opacity:.6;pointer-events:none}.rn-home .rn-product-cart .rn-product-add:hover{background:#e75500;color:#fff}
.rn-product-cart .added_to_cart{font-size:12px;line-height:16px;max-width:80px;color:#c74600;overflow-wrap:anywhere}
.rn-product-add::after{display:none!important}
.rn-products-empty{border:1px solid var(--rn-border);border-radius:8px;background:#fff;min-height:154px;padding:24px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.rn-home .rn-products-empty p{margin:0;font-size:20px;line-height:26px;font-weight:500;color:var(--rn-ink)}
.rn-products-empty>span{font-size:15px;line-height:22px;color:#66737f}
.rn-products-empty>a{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#c74600;font-size:15px;font-weight:500}
.rn-products-dots{display:none}.rn-home-products [hidden]{display:none!important}
.rn-home-products a:focus-visible,.rn-home-products button:focus-visible{outline:2px solid #c74600;outline-offset:3px}
@media(min-width:1200px) and (max-width:1399px){.rn-products-filters{order:3;flex-basis:100%}.rn-product-price{font-size:23px;line-height:30px}.rn-product{padding:10px 12px}.rn-products-track{gap:12px}.rn-product-bottom{gap:5px}.rn-product-price{flex-basis:105px}}
@media(max-width:1199px){
 .rn-home .rn-hero{order:1}.rn-home .rn-home-products{order:2;margin:0 4px;width:calc(100% - 8px)}.rn-home .rn-home-promos{order:3}
 .rn-products-heading{gap:6px 12px;margin-bottom:14px}.rn-home .rn-products-heading h2{font-size:25px;line-height:32px;min-width:0;flex:1 1 200px}
 .rn-products-filters{order:3;flex-basis:100%}.rn-products-filters a{min-height:40px}.rn-products-all{min-height:38px}
 .rn-products-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;align-items:stretch;padding:0 0 4px}
 .rn-product{flex:0 0 100%;min-width:0;min-height:370px;scroll-snap-align:start;padding:14px 17px}
 .rn-product-photo{aspect-ratio:306/171;margin-bottom:12px}.rn-home .rn-product-name{font-size:18px;line-height:24px;min-height:48px}.rn-home .rn-product-sku{font-size:14px;line-height:20px}
 .rn-home .rn-product-brand{font-size:15px;line-height:20px}.rn-product-price{font-size:29px;line-height:37px;flex-basis:190px}
 .rn-home .rn-product-cart .rn-product-add{width:52px;min-width:52px}.rn-product-favorite{min-width:44px;min-height:44px}.rn-product-top{margin-bottom:6px}
 .rn-products-dots:not([hidden]){display:flex;justify-content:center;gap:0;margin:4px 0 0}.rn-products-dots button{background:none;border:0;width:32px;min-width:32px;height:40px;min-height:40px;padding:0;display:flex;justify-content:center;align-items:center;box-shadow:none}
 .rn-products-dots button span{width:9px;height:9px;border-radius:50%;background:#b7bfc5}.rn-products-dots button[aria-current="true"] span{background:var(--rn-orange)}
 .rn-products-empty{padding:20px}.rn-home .rn-products-empty p{font-size:18px;line-height:24px}
}
@media(max-width:359px){.rn-home .rn-products-heading h2{font-size:24px;flex-basis:180px}.rn-product-price{flex-basis:145px}}
@media(prefers-reduced-motion:reduce){.rn-products-track{scroll-behavior:auto}}
