/* RP_HOME_SHELVES_V1 — isolated product selections, no changes to catalog cards. */
.rp-shelves,.rp-selection{--rp-ink:#292621;--rp-muted:#787269;--rp-accent:#a64b00;--rp-line:#eae5df;color:var(--rp-ink);box-sizing:border-box}
.rp-shelves.maxwidth-theme{padding-top:12px;padding-bottom:40px}
.rp-shelf{margin:0 0 38px;min-width:0}
.rp-shelf:last-child{margin-bottom:0}
.rp-shelf__header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 20px}
.rp-shelf__header h2,.rp-selection h2{font-size:30px;font-weight:700;line-height:1.2;letter-spacing:-.7px;margin:0;color:var(--rp-ink)}
.rp-shelf__header p{margin:7px 0 0;font-size:13px;line-height:1.4;color:var(--rp-muted)}
.rp-shelf a.rp-shelf__all{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:var(--rp-accent);font-size:14px;font-weight:600;line-height:1.3;text-decoration:none;white-space:nowrap}
.rp-shelf__rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/5);gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:2px;padding:2px 2px 14px;scrollbar-width:thin;scrollbar-color:#d8c4b0 #f7f4f0;-webkit-overflow-scrolling:touch}
.rp-shelf__rail::-webkit-scrollbar{height:4px}.rp-shelf__rail::-webkit-scrollbar-thumb{background:#d8c4b0;border-radius:8px}
.rp-product{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--rp-line);border-radius:18px;background:#fff;scroll-snap-align:start;transition:border-color .18s,box-shadow .18s}
.rp-product:hover{border-color:#d6b591;box-shadow:0 7px 24px rgba(55,37,15,.07)}
.rp-product a{text-decoration:none}
.rp-product__image{position:relative;display:block;aspect-ratio:1.06;background:#f5f4f1;overflow:hidden}
.rp-product__image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .3s}
@media(hover:hover){.rp-product:hover .rp-product__image img{transform:scale(1.035)}}
.rp-product__placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:13px;color:#8d877e}
.rp-product__badge{position:absolute;top:12px;left:12px;padding:6px 10px;border-radius:7px;font-size:11px;font-weight:700;line-height:1.2;letter-spacing:.2px;backdrop-filter:blur(8px)}
.rp-product__badge--new{color:#285643;background:rgba(237,248,241,.94);border:1px solid rgba(91,139,111,.16)}
.rp-product__badge--hit{color:#8f4200;background:rgba(255,239,216,.95);border:1px solid rgba(177,101,22,.16)}
.rp-product__body{display:flex;flex:1;flex-direction:column;padding:15px 15px 14px;min-width:0}
.rp-product__category{display:block;min-height:30px;font-size:11px;line-height:1.35;color:var(--rp-muted);margin-bottom:7px}
.rp-product a.rp-product__name{display:block;color:var(--rp-ink);font-size:14px;font-weight:600;line-height:1.45;letter-spacing:-.1px;overflow-wrap:anywhere;margin-bottom:18px}
.rp-product a.rp-product__name:hover{color:var(--rp-accent)}
.rp-product__bottom{margin-top:auto}
.rp-product__old{display:block;font-size:12px;line-height:1.2;color:#938c83;margin-bottom:4px}
.rp-product__price{line-height:1.3;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 4px}
.rp-product__price strong{font-size:22px;font-weight:700;letter-spacing:-.6px;color:#27231e}
.rp-product__price span{font-size:12px;color:var(--rp-muted);white-space:nowrap}
.rp-product a.rp-product__cta{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:42px;box-sizing:border-box;padding:9px 12px;margin-top:13px;border-radius:10px;background:#f8f3ec;color:#7e430f;font-size:12px;font-weight:600;line-height:1.3;transition:background .18s}
.rp-product a.rp-product__cta:hover{background:#ffe7c7;color:#713500}
.rp-product__cta>span{font-size:18px;font-weight:400}
.rp-shelf a.rp-shelf__end{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:24px;box-sizing:border-box;border:1px solid #e7dbc9;border-radius:18px;background:linear-gradient(135deg,#fbf0df,#f8f5ef);color:#5f4023;scroll-snap-align:start;text-decoration:none}
.rp-shelf__end-arrow{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #dfc8a9;border-radius:50%;font-size:26px;line-height:1}
.rp-shelf__end strong{font-size:23px;line-height:1.2;letter-spacing:-.6px}
.rp-shelf__end>span:last-child{font-size:13px;line-height:1.5;color:#8c7258}
.rp-shelf__footer{display:flex;align-items:center;gap:16px;margin-top:12px;min-height:42px}
.rp-shelf__hint{font-size:12px;color:#8a8177;line-height:1.4;margin-right:auto}
.rp-shelf__position{font-size:12px;color:var(--rp-muted);font-variant-numeric:tabular-nums}
.rp-shelf__controls{display:flex;gap:8px}
.rp-shelf__controls button{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid #e1d7ca;border-radius:50%;background:#fff;color:#44372a;font-size:23px;line-height:1;cursor:pointer;transition:background .18s,border-color .18s}
.rp-shelf__controls button:hover:not(:disabled){background:#fff0dc;border-color:#d8a96d}
.rp-shelf__controls button:disabled{opacity:.3;cursor:default}
.rp-shelves a:focus-visible,.rp-shelves button:focus-visible,.rp-shelf__rail:focus-visible,.rp-selection a:focus-visible{outline:2px solid #b85b08;outline-offset:3px}
.rp-selection{padding:12px 0 42px}
.rp-selection__intro{margin:0 0 20px;font-size:15px;color:var(--rp-muted);line-height:1.5}
.rp-selection__filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.rp-selection__filters a{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid var(--rp-line);border-radius:10px;font-size:13px;line-height:1.3;color:#655b50;text-decoration:none}
.rp-selection__filters a[aria-current=true]{background:#fff0dc;border-color:#dfa868;color:#8a4200}
.rp-selection__filters small{opacity:.7;font-size:11px}
.rp-selection__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.rp-selection__pages{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:30px 0 0}
.rp-selection__pages a,.rp-selection__pages span{display:flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:0 12px;box-sizing:border-box;border:1px solid var(--rp-line);border-radius:10px;color:#655b50;font-size:13px;line-height:1.3;text-decoration:none}
.rp-selection__pages span[aria-current=page]{background:#fff0dc;border-color:#dfa868;color:#8a4200;font-weight:700}
@media(max-width:1199px){.rp-shelf__rail{grid-auto-columns:calc((100% - 48px)/4)}.rp-selection__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991px){.rp-shelf__rail{grid-auto-columns:calc((100% - 32px)/3)}.rp-shelf__header h2{font-size:27px}}
@media(max-width:600px){
 .rp-shelves.maxwidth-theme{padding:8px 16px 24px!important;overflow:hidden}
 .rp-shelf{margin-bottom:28px}
 .rp-shelf__header{gap:10px;margin-bottom:14px;align-items:flex-start}
 .rp-shelf__header h2{font-size:23px;letter-spacing:-.5px}
 .rp-shelf__header p{max-width:205px;font-size:11px;line-height:1.4;margin-top:6px}
 .rp-shelf a.rp-shelf__all{font-size:11px;gap:4px;min-height:30px;margin-top:1px}
 .rp-shelf__rail{grid-auto-columns:clamp(156px,44vw,240px);gap:10px;margin-right:-16px;padding-right:16px;padding-bottom:10px;scroll-padding:2px}
 .rp-product{border-radius:14px}
 .rp-product__body{padding:11px 11px 12px}
 .rp-product__badge{top:8px;left:8px;padding:5px 8px;font-size:10px;border-radius:6px}
 .rp-product__category{font-size:10px;min-height:27px;margin-bottom:6px}
 .rp-product a.rp-product__name{font-size:12px;line-height:1.45;margin-bottom:14px}
 .rp-product__price strong{font-size:19px;letter-spacing:-.4px}
 .rp-product__price span{font-size:10px}
 .rp-product a.rp-product__cta{min-height:40px;margin-top:11px;padding:8px 10px;font-size:11px}
 .rp-shelf a.rp-shelf__end{padding:18px;border-radius:14px;gap:12px}
 .rp-shelf__end strong{font-size:21px}.rp-shelf__end>span:last-child{font-size:12px}
 .rp-shelf__footer{margin-top:8px;gap:10px}.rp-shelf__hint{font-size:10px}.rp-shelf__position{font-size:10px}
 .rp-shelf__controls{gap:6px}.rp-shelf__controls button{width:38px;height:38px;font-size:21px}
 .rp-selection{padding-top:0}.rp-selection__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .rp-selection__intro{font-size:13px;margin-bottom:15px}
 .rp-selection__filters{flex-wrap:nowrap;overflow:auto;margin-bottom:18px;padding-bottom:6px}.rp-selection__filters a{flex:none;white-space:nowrap;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.rp-product,.rp-product img,.rp-product__cta,.rp-shelf__controls button{transition:none!important}}

body:has(.rp-selection) h1{font-size:32px;font-weight:700;line-height:1.25;letter-spacing:-.6px}
@media(max-width:600px){body:has(.rp-selection) h1{font-size:25px;letter-spacing:-.4px}}
