/* Original Royal row treatment. Only the three explicit homepage rows are scoped.
 * Specific selectors intentionally override earlier Woo/Astra multi-row grids. */
body.rhc-experience.home .rhc-product-row h2[id]{scroll-margin-top:110px}
body.rhc-experience.home .rhc-product-row__all{display:inline-flex;align-items:center;min-height:44px;margin:10px 0 0;color:#244879;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
body.rhc-experience.home .rhc-home-main .rhc-product-row{position:relative;isolation:isolate;--rhc-row-arrow-outset:max(0px,calc((100vw - 1320px)/2 - 24px));min-width:0;max-width:100%;padding:32px 0 36px!important;border-top:1px solid #e1e6ee;background:#fff!important;box-sizing:border-box;overflow:visible}
body.rhc-experience.home .rhc-product-row .rhc-product-row__head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;min-width:0;max-width:100%;margin:0 0 18px;padding:0}
body.rhc-experience.home .rhc-product-row .rhc-product-row__head h2{display:flex;align-items:center;gap:12px;margin:0!important;padding:0;color:#142139;font-size:clamp(23px,2.1vw,29px)!important;line-height:1.25!important;letter-spacing:-.6px;font-weight:700}
body.rhc-experience.home .rhc-product-row .rhc-product-row__head h2::before{content:"";flex:0 0 4px;width:4px;height:24px;border-radius:4px;background:#bd963d}
body.rhc-experience.home .rhc-product-row .rhc-product-row__head>div:first-child{min-width:0;flex:1 1 260px}
body.rhc-experience.home .rhc-product-row .rhc-product-row__head p{margin:8px 0 0;color:#536278;font-size:14px;line-height:1.55;max-width:720px}
/* The measured image centre keeps mobile edge buttons away from names/prices.
   The existing controls stay in the DOM; only their visual position changes. */
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls{position:absolute;inset:0;z-index:4;display:block;min-width:0;margin:0;padding:0;pointer-events:none}
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls[hidden]{display:none!important}
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls button{position:absolute;top:var(--rhc-row-controls-y,50%);transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:48px;width:48px;min-height:48px;height:48px;margin:0;padding:10px;border:1px solid #b8c8df;border-radius:50%;background:#fff;color:#193c70;box-shadow:0 5px 16px #12213920;font-size:23px;line-height:1;cursor:pointer;pointer-events:auto;transition:background-color .18s,border-color .18s,color .18s}
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls [data-row-prev]{left:calc(-1 * var(--rhc-row-arrow-outset));right:auto}
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls [data-row-next]{right:calc(-1 * var(--rhc-row-arrow-outset));left:auto}
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls button:disabled{background:#f3f5f8;color:#8792a3;border-color:#e0e5ed;box-shadow:none;cursor:default;opacity:1}
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls :is(img,svg){width:20px;height:20px;flex-shrink:0}
body.rhc-experience.home .rhc-product-row .rhc-product-row__position{position:absolute;top:calc(var(--rhc-row-track-bottom,100%) + 4px);left:50%;transform:translateX(-50%);min-width:70px;margin:0;color:#536278;font-size:12px;line-height:1.4;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
body.rhc-experience.home .rhc-home-main .rhc-product-row .woocommerce{min-width:0;max-width:100%;width:100%;overflow:visible}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track{display:grid!important;grid-template-columns:none!important;grid-template-rows:auto!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 54px)/4)!important;align-items:stretch;gap:18px!important;min-width:0;max-width:100%!important;width:100%;box-sizing:border-box;list-style:none;float:none!important;clear:both;margin:0!important;padding:8px 4px 18px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:4px;scroll-behavior:auto;overscroll-behavior-x:contain;touch-action:auto;scrollbar-width:thin;scrollbar-color:#aebed5 #edf1f6;-webkit-overflow-scrolling:touch}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track::before,body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track::after{display:none!important;content:none!important}
body.rhc-experience.home .rhc-home-main .rhc-product-row--scrollable ul.products.rhc-product-row__track{margin-bottom:22px!important}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track.is-dragging{cursor:grabbing!important;user-select:none;-webkit-user-select:none;scroll-snap-type:none!important;scroll-behavior:auto!important}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track.is-dragging *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product{grid-row:1!important;grid-column:auto!important;display:flex!important;flex-direction:column;align-self:stretch;float:none!important;clear:none!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0 0 16px!important;box-sizing:border-box;scroll-snap-align:start;scroll-margin-inline:4px;border:1px solid #dce3ed!important;border-radius:15px!important;background:#fff!important;box-shadow:0 3px 10px #14213905!important;overflow:hidden}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .astra-shop-thumbnail-wrap{position:relative;flex-shrink:0;overflow:hidden;border:0;border-radius:14px 14px 0 0;background:#f6f8fb}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product :is(a img,img.attachment-woocommerce_thumbnail){display:block;width:100%!important;height:auto!important;max-width:100%!important;aspect-ratio:1;object-fit:contain!important;margin:0!important;padding:20px!important;box-sizing:border-box;background:#f6f8fb;border-radius:14px 14px 0 0}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .astra-shop-summary-wrap{display:flex;flex-direction:column;flex:1;min-width:0;padding:16px 16px 0!important}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .ast-woo-product-category{color:#536278;font-size:12px;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.45!important;font-weight:600;color:#142139;margin:0 0 12px!important;min-height:44px;overflow:visible!important;display:block!important;-webkit-line-clamp:unset!important;white-space:normal;overflow-wrap:anywhere}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .price{font-size:21px!important;line-height:1.4;color:#142139!important;margin-top:auto!important;margin-bottom:12px!important}
body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product :is(.button,.added_to_cart){min-height:44px;padding:11px 12px!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important;border-radius:9px!important}
body.rhc-experience.home .rhc-product-row .rhc-product-row__empty{margin:0;padding:24px 26px;border:1px solid #dfe6ef;border-radius:14px;background:#f7f9fc;color:#536278;font-size:15px;line-height:1.65}
body.rhc-experience.home .rhc-product-row .rhc-product-row__empty p:last-child{margin-bottom:0}
body.rhc-experience.home .rhc-product-row .rhc-product-row__controls button:focus-visible,body.rhc-experience.home .rhc-product-row .rhc-product-row__track:focus-visible{outline:3px solid #246ada!important;outline-offset:3px!important}
body.rhc-experience.home .rhc-product-row li.product :is(a,button):focus-visible{outline:3px solid #246ada!important;outline-offset:-3px!important}
@media(min-width:768px) and (max-width:1100px){body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track{grid-auto-columns:calc((100% - 36px)/3)!important}}
@media(max-width:767px){
  body.rhc-experience.home .rhc-home-main .rhc-product-row{--rhc-row-arrow-outset:12px;padding:26px 0 30px!important}
  body.rhc-experience.home .rhc-product-row .rhc-product-row__head{gap:12px;margin-bottom:12px;align-items:flex-start}
  body.rhc-experience.home .rhc-product-row .rhc-product-row__head h2{font-size:24px!important;letter-spacing:-.45px;gap:10px}
  body.rhc-experience.home .rhc-product-row .rhc-product-row__head p{font-size:13px;margin-top:7px}
  body.rhc-experience.home .rhc-product-row .rhc-product-row__head>div:first-child{flex-basis:100%}
  body.rhc-experience.home .rhc-product-row .rhc-product-row__controls button{min-width:44px;width:44px;min-height:44px;height:44px;font-size:21px;box-shadow:0 4px 14px #12213928}
  body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track{grid-auto-columns:82%!important;gap:14px!important;padding:6px 4px 14px!important}
  body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .astra-shop-summary-wrap{padding:15px 15px 0!important}
  body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .woocommerce-loop-product__title{font-size:15px!important;min-height:44px}
  body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product .price{font-size:21px!important}
  body.rhc-experience.home .rhc-product-row .rhc-product-row__empty{padding:20px;font-size:14px}
}
@media(hover:hover) and (pointer:fine){body.rhc-experience.home .rhc-home-main .rhc-product-row--scrollable ul.products.rhc-product-row__track{cursor:grab}body.rhc-experience.home .rhc-product-row .rhc-product-row__controls button:not(:disabled):hover{background:#173b70;border-color:#173b70;color:#fff}body.rhc-experience.home .rhc-product-row .rhc-product-row__controls button:not(:disabled):hover img{filter:brightness(0) invert(1)}body.rhc-experience.home .rhc-home-main .rhc-product-row ul.products.rhc-product-row__track>li.product:hover{border-color:#b8cbe7!important;box-shadow:0 6px 18px #1421390d!important}}
@media(prefers-reduced-motion:reduce){body.rhc-experience.home .rhc-product-row,body.rhc-experience.home .rhc-product-row *{scroll-behavior:auto!important;animation:none!important;transition:none!important}body.rhc-experience.home .rhc-product-row li.product:hover{transform:none!important;translate:none!important}}
