/* AMR Shop Blueprint V1 — presentation scoped to body.route-shop #commerce-section.
   Existing storefront product/cart/wishlist/filters use their original IDs and event handlers.
   Do not present invented catalog items, ratings, stock counts or payment assurances. */
@supports selector(html:has(body.route-shop)){html:has(body.route-shop){overflow-x:clip!important}}
body.route-shop main#main{max-width:1670px!important;padding:8px 25px 0!important;margin:0 auto!important;min-width:0!important}
body.route-shop #commerce-section.commerce-layout{
 --sh-gold:#f5ca78;--sh-teal:#033f7a;--sh-deep:#001d29;--sh-cream:#ffe9b0;
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,310px)!important;
 grid-template-rows:auto auto!important;gap:13px!important;align-items:start!important;
 width:100%!important;max-width:1550px!important;margin:0 auto 30px!important;
 padding:0!important;min-width:0!important;
}
body.route-shop #commerce-section *{box-sizing:border-box}
body.route-shop #commerce-section>.amr-shop-banner{
 grid-column:1/-1!important;grid-row:1!important;position:relative!important;isolation:isolate!important;
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 min-height:205px!important;margin:0!important;padding:22px 39px!important;
 overflow:hidden!important;
 background:linear-gradient(90deg,rgba(2,13,39,.98),rgba(2,14,43,.88) 30%,rgba(2,16,44,.3) 72%,rgba(0,18,28,.24)),url('/assets/sarawak-scene.webp') center 54%/cover no-repeat!important;
 border:2px solid #f1c56e!important;border-radius:17px!important;
 box-shadow:inset 0 0 0 2px rgba(16,196,255,.27),inset 0 0 32px rgba(255,209,96,.13),0 0 17px rgba(251,186,68,.35)!important;
}
body.route-shop #commerce-section>.amr-shop-banner::before{
 content:'';position:absolute;inset:4px;pointer-events:none;z-index:2;
 border:1px solid rgba(255,211,113,.65);border-radius:12px;
 background:url('/assets/categories-frame-v1.svg') center/100% 100% no-repeat!important;
 filter:drop-shadow(0 0 5px rgba(250,189,67,.5));
}
body.route-shop .amr-shop-hero-copy{position:relative;z-index:4;max-width:900px!important}
body.route-shop .amr-shop-kicker{font-size:11px!important;letter-spacing:.13em!important;font-weight:760!important;color:#f4dc9b!important;margin:0 0 4px!important}
body.route-shop .amr-shop-hero-copy h1{
 font:900 clamp(50px,4.5vw,75px)/.99 Georgia,'Times New Roman',serif!important;
 letter-spacing:.045em!important;color:#ffe097!important;margin:0!important;
 text-shadow:0 2px 4px #020f23,0 0 18px rgba(255,176,37,.61);
}
body.route-shop .amr-shop-hero-copy h2{
 font:750 clamp(18px,1.48vw,25px)/1.2 Georgia,'Times New Roman',serif!important;
 margin:1px 0 6px!important;color:#fff1d5!important
}
body.route-shop .amr-shop-hero-copy>p:not(.amr-shop-kicker){font-size:12px!important;color:#f7e7ce!important;margin:0 0 17px!important;line-height:1.35!important}
body.route-shop .amr-shop-hero-perks{display:flex!important;align-items:center!important;gap:clamp(15px,2.2vw,40px)!important;flex-wrap:wrap!important}
body.route-shop .amr-shop-hero-perks>span{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
body.route-shop .amr-shop-hero-perks svg{width:28px!important;height:28px!important;flex:0 0 28px;color:#ffda82;filter:drop-shadow(0 0 6px rgba(253,182,39,.4))}
body.route-shop .amr-shop-hero-perks strong{display:block;font-size:11px;color:#ffe3a3;line-height:1.28}
body.route-shop .amr-shop-hero-perks small{display:block;font-size:10px;color:#dfdfd3;line-height:1.3}
body.route-shop #commerce-section>.collection{
 min-width:0!important;width:100%!important;margin:0!important;
 grid-column:1!important;grid-row:2!important;position:relative!important;
}
body.route-shop #commerce-section>#filters{
 grid-column:2!important;grid-row:2!important;min-width:0!important;width:100%!important;
 display:flex!important;flex-direction:column!important;gap:0!important;
 margin:0!important;padding:17px 15px 15px!important;
 border:2px solid rgba(247,199,88,.88)!important;border-radius:15px!important;
 background:linear-gradient(165deg,rgba(3,46,87,.99),rgba(0,23,32,.99) 56%,rgba(2,19,49,.98))!important;
 box-shadow:inset 0 0 0 2px rgba(14,182,240,.19),0 0 18px rgba(250,187,75,.24)!important;
}
body.route-shop #commerce-section>.amr-live-panel{display:none!important}
body.route-shop #filters .filter-heading{display:flex!important;align-items:center!important;gap:8px!important;justify-content:space-between!important;min-width:0!important;padding:0 0 11px!important;border-bottom:1px solid rgba(238,187,79,.65)!important}
body.route-shop #filters .filter-heading h2{display:flex!important;gap:9px!important;align-items:center!important;color:#fff0c8!important;font-size:20px!important;line-height:1.2!important;margin:0!important;font-family:Georgia,'Times New Roman',serif!important;white-space:nowrap!important}
body.route-shop #filters .filter-heading h2 .icon{color:#fada83!important;width:22px!important;height:22px!important}
body.route-shop #filters #clear-filters{font-size:10px!important;color:#ffe29e!important;background:none!important;border:0!important;padding:8px 0!important;text-decoration:none!important;cursor:pointer!important;white-space:nowrap!important}
body.route-shop #filters .sidebar-search{order:1!important;margin:13px 0 5px!important;display:block!important;width:100%!important;position:relative!important}
body.route-shop #filters .sidebar-search .icon{position:absolute!important;top:10px!important;left:10px!important;color:#ffd580!important;width:19px!important;height:19px!important;z-index:2}
body.route-shop #filters .sidebar-search input,body.route-shop #filters #brand-search{
 display:block!important;width:100%!important;min-height:39px!important;min-width:0!important;
 border:1px solid #dfb75f!important;border-radius:7px!important;
 background:#021134!important;color:#ffefcf!important;
 font-size:11px!important;margin:0!important;padding:9px 9px 9px 33px!important;
 box-shadow:inset 0 0 10px rgba(3,116,229,.09)!important;
}
body.route-shop #filters .sidebar-search input::placeholder,body.route-shop #filters #brand-search::placeholder{color:#a3c0d6!important}
body.route-shop #filters #brand-search{padding-left:11px!important;margin:7px 0 11px!important}
body.route-shop #filters details{
 border:0!important;border-top:1px solid rgba(244,196,99,.35)!important;
 border-radius:0!important;padding:12px 0!important;margin:0!important;
 background:none!important;min-width:0!important;
}
body.route-shop #filters details:nth-of-type(1){order:2!important;border-top:0!important}
body.route-shop #filters details:nth-of-type(4){order:3!important}
body.route-shop #filters details:nth-of-type(2){order:4!important}
body.route-shop #filters details:nth-of-type(3){order:5!important}
body.route-shop #filters details:nth-of-type(5){order:6!important}
body.route-shop #filters summary{
 font-size:12px!important;line-height:1.3!important;font-weight:800!important;
 color:#f5d184!important;cursor:pointer!important;
 padding:0 3px 10px!important;letter-spacing:.01em!important;
}
body.route-shop #filters summary::marker{color:#f4cd7c!important}
body.route-shop #filters .filter-options{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important}
body.route-shop #filters .check-row{display:flex!important;align-items:center!important;gap:9px!important;padding:4px 2px!important;color:#e7e5d9!important;line-height:1.3!important;font-size:11px!important;min-width:0!important;cursor:pointer!important}
body.route-shop #filters .check-row input{width:15px!important;height:15px!important;flex:0 0 15px!important;accent-color:#f1cb69!important;margin:0!important}
body.route-shop #filters .check-row small{margin-left:auto!important;color:#e1cea3!important;font-size:10px!important}
body.route-shop #filters .filter-options .muted{font-size:11px!important;color:#d8cfb7!important}
body.route-shop #filters #price-range{width:100%!important;accent-color:#f2c963!important;margin:6px 0 9px!important;cursor:pointer!important}
body.route-shop #filters .price-inputs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.route-shop #filters .price-inputs label{font-size:10px!important;color:#dccaa0!important;min-width:0!important}
body.route-shop #filters .price-inputs input{
 width:100%!important;min-width:0!important;max-width:none!important;
 background:#021134!important;color:#fff1d3!important;border:1px solid #c6a661!important;
 border-radius:7px!important;padding:8px 7px!important;min-height:36px!important;
 font-size:11px!important;
}
body.route-shop #filters #apply-price{display:none!important}
body.route-shop #filters .amr-shop-unavailable{font-size:10px!important;line-height:1.55!important;margin:0!important;color:#a6c2d9!important}
body.route-shop #filters .amr-shop-filter-actions{order:7!important;display:grid!important;gap:9px!important;margin-top:9px!important}
body.route-shop #filters #amr-shop-apply-filters{
 width:100%!important;min-height:42px!important;padding:9px 13px!important;
 font-size:12px!important;font-weight:850!important;border-radius:9px!important;
 background:linear-gradient(155deg,#fff0a3,#f0bb40 64%,#c89025)!important;
 border:1px solid #ffe5a1!important;color:#091e36!important;
 box-shadow:inset 0 1px 0 rgba(255,255,202,.66),0 0 10px rgba(255,181,65,.26)!important;
 cursor:pointer!important
}
body.route-shop #filters #amr-shop-reset-all{
 width:100%!important;min-height:39px!important;border:1px solid rgba(230,186,84,.8)!important;
 border-radius:9px!important;background:#021337!important;color:#efc775!important;
 font-size:11px!important;cursor:pointer!important
}
body.route-shop #filters .filter-note{order:8!important;margin-top:13px!important;padding:9px!important;border-radius:8px!important;background:rgba(3,35,65,.54)!important}
body.route-shop #filters .filter-note p{font-size:10px!important;line-height:1.4!important;margin:0!important;color:#d5d6ba!important}
body.route-shop #commerce-section .collection-top{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 min-width:0!important;gap:11px!important;margin:0 0 12px!important;
 padding:11px 12px!important;min-height:57px!important;
 border:1.5px solid #e8b962!important;border-radius:10px!important;
 background:linear-gradient(110deg,#032a54,#001e29)!important;
 box-shadow:inset 0 0 0 1px rgba(13,191,252,.18)!important
}
body.route-shop #commerce-section .amr-shop-results{min-width:0!important}
body.route-shop #commerce-section .collection-top .eyebrow,body.route-shop #commerce-section .collection-top h2{display:none!important}
body.route-shop #commerce-section #result-count{margin:0!important;font-size:12px!important;color:#efe4d0!important;line-height:1.4!important}
body.route-shop #commerce-section .collection-controls{display:flex!important;align-items:center!important;gap:8px!important;flex:none!important;margin-left:auto!important}
body.route-shop #commerce-section .sort-label select{
 min-height:38px!important;min-width:134px!important;width:auto!important;
 border:1px solid #ddb96a!important;border-radius:8px!important;
 padding:8px 10px!important;font-size:11px!important;color:#fff1d2!important;background:#032048!important
}
body.route-shop #commerce-section .view-switch{display:flex!important;gap:5px!important}
body.route-shop #commerce-section .view-switch button{
 width:37px!important;height:37px!important;display:grid!important;place-items:center!important;
 border-radius:8px!important;border:1px solid #e7b861!important;
 background:#032047!important;color:#f6cf7c!important;cursor:pointer!important
}
body.route-shop #commerce-section .view-switch button[aria-pressed="true"]{background:linear-gradient(145deg,#ffeb9a,#e9b541)!important;color:#032247!important}
body.route-shop #commerce-section .mobile-filter{display:none!important}
body.route-shop #commerce-section .amr-shop-active-filters:not([hidden]){
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;
 padding:0 2px 10px!important;margin:-4px 0 1px!important;
}
body.route-shop .amr-shop-chip{display:inline-flex!important;gap:7px!important;align-items:center!important;border:1px solid rgba(227,180,82,.74)!important;border-radius:6px!important;background:rgba(3,40,77,.96)!important;color:#f4e0ab!important;font-size:10px!important;padding:6px 8px!important;cursor:pointer!important}
body.route-shop #product-grid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 align-items:stretch!important;min-width:0!important;gap:12px!important;
}
body.route-shop #product-grid.list-layout{grid-template-columns:minmax(0,1fr)!important}
body.route-shop #product-grid>.product-card{
 min-width:0!important;position:relative!important;display:flex!important;flex-direction:column!important;
 padding:5px!important;background:linear-gradient(155deg,#03386d,#001d29 85%)!important;
 border:2px solid #e8bb60!important;border-radius:11px!important;
 box-shadow:inset 0 0 0 1px rgba(14,184,242,.38),0 0 12px rgba(253,188,62,.26)!important;
 overflow:hidden!important;transition:transform .22s ease,box-shadow .22s ease!important;
}
body.route-shop #product-grid>.product-card::after{content:'';position:absolute;inset:3px;pointer-events:none;border:1px solid rgba(255,215,127,.26);border-radius:7px}
body.route-shop #product-grid .product-image{
 position:relative!important;min-height:0!important;aspect-ratio:1.21!important;
 border-radius:7px!important;overflow:hidden!important;background:#032247!important;
 border:1px solid rgba(230,187,88,.38)!important
}
body.route-shop #product-grid .product-image img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
body.route-shop #product-grid .image-placeholder{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;color:#f2d080!important}
body.route-shop #product-grid .save-product{position:absolute!important;right:6px!important;top:6px!important;width:31px!important;height:31px!important;border-radius:50%!important;border:1.5px solid #f6d286!important;color:#ffe39d!important;background:rgba(2,19,52,.93)!important;box-shadow:0 0 7px rgba(252,188,71,.22)!important}
body.route-shop #product-grid .save-product[aria-pressed="true"]{color:#ffa6a6!important;background:#5f151b!important}
body.route-shop #product-grid .quick-button{position:absolute!important;bottom:6px!important;right:6px!important;background:rgba(3,29,57,.95)!important;color:#ffdf97!important;border:1px solid rgba(245,204,118,.86)!important;border-radius:6px!important;padding:4px 7px!important;font-size:10px!important}
body.route-shop #product-grid .product-info{display:flex!important;flex:1!important;flex-direction:column!important;min-width:0!important;padding:10px 7px 7px!important}
body.route-shop #product-grid .product-category{font-size:9px!important;letter-spacing:.08em!important;color:#d3ac68!important;line-height:1.3!important;margin:0 0 4px!important}
body.route-shop #product-grid .product-title{font-size:clamp(12px,.97vw,16px)!important;font-weight:770!important;color:#fff2d1!important;text-decoration:none!important;line-height:1.22!important;overflow-wrap:anywhere!important;min-height:2.35em!important}
body.route-shop #product-grid .product-price{font-size:clamp(14px,1.12vw,17px)!important;font-weight:830!important;margin:7px 0 5px!important;color:#ffe088!important}
body.route-shop #product-grid .product-bottom{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;margin-top:auto!important}
body.route-shop #product-grid .stock-label{font-size:10px!important;line-height:1.3!important;color:#9be0fa!important}
body.route-shop #product-grid .stock-label.unavailable{color:#ffb1a2!important}
body.route-shop #product-grid .product-bottom .button{
 width:100%!important;min-height:36px!important;line-height:1.2!important;
 padding:7px 8px!important;border-radius:7px!important;
 background:linear-gradient(160deg,#fff1a1,#edbd42 66%,#d19d2e)!important;
 border:1px solid #ffe8aa!important;color:#091b30!important;
 font-size:11px!important;font-weight:800!important;box-shadow:inset 0 1px 1px rgba(255,248,209,.64)!important;
 cursor:pointer!important;margin:0!important
}
body.route-shop #product-grid .product-bottom .button:disabled{opacity:.56!important;cursor:not-allowed!important;filter:grayscale(.25)!important}
body.route-shop #product-grid.list-layout>.product-card{display:grid!important;grid-template-columns:minmax(150px,28%) minmax(0,1fr)!important;gap:12px!important;min-height:145px!important}
body.route-shop #product-grid.list-layout .product-image{aspect-ratio:1.22!important}
body.route-shop #product-grid.list-layout .product-info{padding:12px!important}
body.route-shop #product-grid.list-layout .product-title{min-height:0!important}
body.route-shop #commerce-section #pagination{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex-wrap:wrap!important;margin:13px 0 0!important}
body.route-shop #commerce-section #pagination button{width:35px!important;height:35px!important;border:1px solid #e5b964!important;border-radius:7px!important;color:#f7d483!important;background:#001f2c!important;cursor:pointer!important}
body.route-shop #commerce-section #pagination button[aria-current="page"]{background:linear-gradient(130deg,#ffeb9f,#eabb41)!important;color:#021334!important;font-weight:800!important}
body.route-shop #commerce-section .amr-shop-info-rail{
 display:flex!important;justify-content:space-between!important;align-items:center!important;
 flex-wrap:wrap!important;gap:10px!important;padding:9px 11px!important;margin-top:13px!important;
 border:1px solid #d7aa56!important;border-radius:7px!important;
 background:rgba(3,34,64,.9)!important;color:#d7e0ce!important;font-size:10px!important;line-height:1.35!important;
}
body.route-shop #commerce-section .collection-empty{border-radius:11px!important;background:linear-gradient(135deg,#032f5a,#001e29)!important;border-color:#e2b968!important}
body.route-shop #commerce-section a:focus-visible,body.route-shop #commerce-section button:focus-visible,body.route-shop #commerce-section input:focus-visible,body.route-shop #commerce-section select:focus-visible,body.route-shop #commerce-section summary:focus-visible{outline:2px solid #ffe49d!important;outline-offset:3px!important}
@media(hover:hover) and (pointer:fine){
 body.route-shop #product-grid>.product-card:hover{transform:translateY(-3px)!important;box-shadow:inset 0 0 0 1px #f4d38b,0 7px 22px rgba(0,0,0,.38),0 0 18px rgba(255,198,70,.52)!important}
 body.route-shop #filters #amr-shop-apply-filters:hover,body.route-shop #product-grid .button:not(:disabled):hover{filter:brightness(1.10)!important}
}
@media(min-width:901px) and (max-width:1330px){
 body.route-shop main#main{padding:6px 20px!important}
 body.route-shop #commerce-section.commerce-layout{grid-template-columns:minmax(0,1fr) 272px!important;gap:12px!important}
 body.route-shop #product-grid{gap:10px!important}
 body.route-shop #product-grid .product-info{padding:8px 6px 6px!important}
 body.route-shop #product-grid .product-title{font-size:12px!important}
 body.route-shop #commerce-section>.amr-shop-banner{min-height:188px!important;padding:20px 29px!important}
 body.route-shop #commerce-section .amr-shop-hero-copy h1{font-size:55px!important}
 body.route-shop #filters{padding:14px 11px!important}
}
@media(max-width:900px){
 body.route-shop main#main{padding:7px 16px!important}
 body.route-shop #commerce-section.commerce-layout{display:block!important;width:100%!important}
 body.route-shop #commerce-section>.amr-shop-banner{min-height:178px!important;padding:20px!important;margin:0 0 12px!important}
 body.route-shop .amr-shop-hero-copy h1{font-size:52px!important}
 body.route-shop .amr-shop-hero-perks{gap:13px!important}
 body.route-shop #commerce-section>.collection{width:100%!important}
 body.route-shop #commerce-section #product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.route-shop #commerce-section #product-grid.list-layout{grid-template-columns:minmax(0,1fr)!important}
 body.route-shop #commerce-section .mobile-filter{display:inline-flex!important;align-items:center!important}
 body.route-shop #commerce-section>#filters{display:none!important;margin:8px 0!important}
 body.route-shop #commerce-section>#filters.mobile-open{display:flex!important}
}
@media(max-width:520px){
 body.route-shop main#main{padding:4px 12px!important}
 body.route-shop #commerce-section>.amr-shop-banner{padding:19px 14px!important;min-height:196px!important}
 body.route-shop .amr-shop-hero-copy h1{font-size:44px!important}
 body.route-shop .amr-shop-hero-copy h2{font-size:16px!important}
 body.route-shop .amr-shop-kicker{font-size:9px!important}
 body.route-shop .amr-shop-hero-copy>p:not(.amr-shop-kicker){font-size:10px!important;margin-bottom:14px!important}
 body.route-shop .amr-shop-hero-perks{gap:8px 11px!important;max-width:350px!important}
 body.route-shop .amr-shop-hero-perks svg{width:20px!important;height:20px!important;flex-basis:20px!important}
 body.route-shop .amr-shop-hero-perks strong{font-size:9px!important}
 body.route-shop .amr-shop-hero-perks small{font-size:8px!important}
 body.route-shop #commerce-section .collection-top{padding:9px!important;gap:8px!important;flex-wrap:wrap!important}
 body.route-shop #commerce-section #result-count{font-size:11px!important}
 body.route-shop #commerce-section .collection-controls{width:100%!important;justify-content:flex-end!important}
 body.route-shop #commerce-section .sort-label select{min-width:114px!important;font-size:10px!important}
 body.route-shop #commerce-section #product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.route-shop #commerce-section #product-grid .product-image{aspect-ratio:1.04!important}
 body.route-shop #commerce-section #product-grid .product-title{font-size:12px!important;min-height:2.3em!important}
 body.route-shop #commerce-section #product-grid .product-bottom .button{font-size:10px!important;padding:6px!important;min-height:34px!important}
 body.route-shop #commerce-section #product-grid.list-layout{grid-template-columns:minmax(0,1fr)!important}
 body.route-shop #commerce-section #product-grid.list-layout>.product-card{grid-template-columns:minmax(115px,38%) minmax(0,1fr)!important}
 body.route-shop #commerce-section .amr-shop-info-rail{font-size:9px!important}
 body.route-shop #filters{padding:13px!important}
}
@media(prefers-reduced-motion:reduce){body.route-shop #product-grid>.product-card,body.route-shop #filters .button{transition:none!important}}

/* Shop V1b — repair desktop hero copy clipping while preserving compact layout. */
@media (min-width:901px){
 body.route-shop #commerce-section>.amr-shop-banner{
   min-height:246px!important;height:auto!important;
   padding:17px 36px!important;
 }
 body.route-shop #commerce-section .amr-shop-hero-copy{
   width:min(880px,100%)!important;
   max-width:880px!important;min-width:0!important;
   flex:0 1 880px!important;
 }
 body.route-shop #commerce-section .amr-shop-hero-copy h2{
   font-size:23px!important;line-height:1.2!important;
 }
}
@media (min-width:901px) and (max-width:1330px){
 body.route-shop #commerce-section>.amr-shop-banner{
   min-height:230px!important;height:auto!important;
   padding:17px 27px!important;
 }
 body.route-shop #commerce-section .amr-shop-hero-copy{
   width:min(760px,100%)!important;max-width:760px!important;
 }
 body.route-shop #commerce-section .amr-shop-hero-copy h2{font-size:21px!important;}
}

/* Shop V1c: legacy banner child is square-aspect; prevent 880px tall hero. */
body.route-shop #commerce-section .amr-shop-hero-copy{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
}

/* Shop V1d — tested fixed desktop content height; mobile remains fluid. */
@media (min-width:901px) {
 body.route-shop #commerce-section .amr-shop-hero-copy{
   height:190px!important;max-height:190px!important;
   min-height:0!important;aspect-ratio:auto!important;
 }
}
