/* Shared controls inspired by the teal and metallic gold logo. */
html body :is(#brand-button,button:not(.thumbnail),input[type="submit"],input[type="button"],a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.top-basket-button,.shop-home-button,.shop-header>a:not(.brand),.book-home-return a,.window-action,.theme-toggle){
box-sizing:border-box!important;background:linear-gradient(145deg,#147178 0%,#075459 46%,#033e43 100%)!important;color:#fff0c4!important;border:3px solid #c49642!important;border-top-color:#f3d58c!important;border-left-color:#e7c16d!important;border-right-color:#9b6826!important;border-bottom-color:#946222!important;border-radius:14px 4px 14px 4px!important;box-shadow:inset 0 0 0 1px #ffe4a0,inset 0 2px 4px #ffffff1c,0 2px 3px #31200c36!important;text-shadow:0 1px 1px #002e33!important;font-family:Arial,sans-serif!important;font-weight:normal!important;text-decoration:none!important;min-height:40px; padding:8px 16px!important;line-height:1.25!important;cursor:pointer;transition:filter .15s,box-shadow .15s;
}
html body :is(#brand-button,button:not(.thumbnail),input[type="submit"],input[type="button"],a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.book-home-return a,.window-action):hover{filter:brightness(1.12);}
html body :is(button,a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.window-action):focus-visible{outline:3px solid #e7b858!important;outline-offset:3px!important;}
html body :is(button,input[type="submit"]):disabled{opacity:.5!important;cursor:not-allowed!important;filter:none!important;}
html body :is(button[aria-pressed="true"],nav a[aria-current="page"],.filters button.active){background:linear-gradient(135deg,#fff1be,#d7a947 52%,#b57b2c)!important;color:#073e42!important;text-shadow:none!important;}
html body button.thumbnail{border:2px solid #c49642!important;border-radius:10px!important;overflow:hidden;}
html body :is(button,.window-action,nav a) svg{color:inherit!important;}
@media(max-width:600px){html body :is(button:not(.thumbnail),a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.window-action){padding:8px 12px!important;}}

/* Shop controls use the shop's forest green and gold palette. */
html body:is([data-room="collection"],[data-room="basket"]) :is(#shop-control,button:not(.thumbnail),a.category-link,nav a,.top-basket-button,.shop-header>a:not(.brand),.back,.button){background:linear-gradient(145deg,#345e4f,#1e493d 48%,#14372e)!important;color:#fff1d6!important;text-shadow:0 1px 1px #102c24!important;}
html body :is(#shop-control,.top-basket-button,.shop-header>a:not(.brand)){box-sizing:border-box!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff1d6!important;opacity:1!important;}
html body :is(#shop-control,.top-basket-button,.shop-header>a:not(.brand)) svg{color:#fff1d6!important;stroke:currentColor!important;}
html body :is(#shop-control,.top-basket-button,.shop-header>a:not(.brand)) span{color:#fff1d6!important;}

/* Keep touch, pressed and selected states consistent with the logo. */
html body :is(#brand-pressed,button:not(.thumbnail),input[type="submit"],input[type="button"],a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.top-basket-button,.shop-header>a:not(.brand),.window-action){-webkit-tap-highlight-color:transparent!important;}
html body :is(#brand-pressed,button:not(.thumbnail),a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.top-basket-button,.shop-header>a:not(.brand),.window-action):is(:active,:focus, :hover,[aria-pressed="true"],[aria-current="page"],.active){background:linear-gradient(145deg,#147178,#075459 46%,#033e43)!important;color:#fff0c4!important;text-shadow:0 1px 1px #002e33!important;transform:none!important;filter:none!important;}
html body:is([data-room="collection"],[data-room="basket"]) :is(#brand-pressed,button:not(.thumbnail),a.category-link,nav a,.top-basket-button,.shop-header>a:not(.brand),.back,.button):is(:active,:focus,:hover,[aria-pressed="true"],[aria-current="page"],.active){background:linear-gradient(145deg,#345e4f,#1e493d 48%,#14372e)!important;color:#fff1d6!important;}
html body :is(#brand-pressed,button,a.button,a.category-link,nav a,.top-basket-button,.window-action):active{box-shadow:inset 0 0 0 1px #ffe4a0,inset 0 2px 5px #001f244d,0 1px 2px #31200c26!important;}
html body :is(#brand-pressed,button[aria-pressed="true"],.filters button.active){box-shadow:inset 0 0 0 2px #f3d58c,inset 0 2px 4px #001f244d,0 2px 3px #31200c36!important;}
html body :is(#brand-pressed,button,a.button,a.category-link,nav a,.top-basket-button,.window-action):focus:not(:focus-visible){outline:none!important;}

/* A soft gold light beneath available controls. */
html body :is(#brand-glow,button:not(.thumbnail):not(:disabled),input[type="submit"]:not(:disabled),input[type="button"]:not(:disabled),a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.top-basket-button,.shop-header>a:not(.brand),.book-home-return a,.window-action){box-shadow:inset 0 0 0 1px #ffe4a0,inset 0 2px 4px #ffffff1c,0 2px 3px #31200c36,0 6px 10px -4px #f2c76888,0 9px 18px -7px #dfaa4055!important;}
html body :is(#brand-glow,button:not(:disabled),a.button,a.category-link,nav a,.top-basket-button,.window-action):active{box-shadow:inset 0 0 0 1px #ffe4a0,inset 0 2px 5px #001f244d,0 3px 7px -3px #e4b94d55!important;}
html body :is(#brand-glow,button[aria-pressed="true"],.filters button.active){box-shadow:inset 0 0 0 2px #f3d58c,inset 0 2px 4px #001f244d,0 6px 10px -4px #f2c76888,0 9px 18px -7px #dfaa4055!important;}
html body :is(#brand-glow,button:disabled,input:disabled){box-shadow:inset 0 0 0 1px #c49642!important;}

/* Visible warm underlighting, independent of legacy button shadows. */
html body :is(#visible-button-glow,button:not(.thumbnail):not(:disabled),input[type="submit"]:not(:disabled),a.button,a.browse-shelves,a.back,a.description-return,a.category-link,nav a,.top-basket-button,.shop-header>a:not(.brand),.window-action):is(:not(:active),:hover,:focus){filter:drop-shadow(0 5px 4px #ffd36baa) drop-shadow(0 8px 9px #eab34d88)!important;}
html body :is(#visible-button-glow,button:not(:disabled),a.button,a.category-link,nav a,.top-basket-button,.window-action):active{filter:drop-shadow(0 2px 3px #eab34d66)!important;}

/* A brighter gold pulse travels left to right across the shop categories. */
@keyframes shop-category-pulse{0%,33.333%,100%{opacity:0}16.667%{opacity:1}}
html body[data-room="collection"] #products .product a.thumbnail{position:relative;outline:none;border-radius:14px;animation:none!important;filter:drop-shadow(0 4px 5px #b7802944)}
html body[data-room="collection"] #products .product a.thumbnail::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;border:3px solid #e8b647;box-shadow:inset 0 0 18px #ffe19b99;opacity:0;animation:shop-category-pulse 9s ease-in-out infinite;will-change:opacity}
html body[data-room="collection"] #products .product:nth-child(2) a.thumbnail::after{animation-delay:-6s}
html body[data-room="collection"] #products .product:nth-child(3) a.thumbnail::after{animation-delay:-3s}
@media(prefers-reduced-motion:reduce){html body[data-room="collection"] #products .product a.thumbnail::after{animation:none;will-change:auto}}


html body button.wishlist-open{width:100%!important;height:auto!important;min-height:58px!important;font-size:20px!important;padding:14px!important;}html body .wishlist-save{margin:12px 0!important;height:auto!important;min-height:42px!important;}html body .wishlist-dialog{width:min(90vw,650px);max-height:85dvh;box-sizing:border-box;padding:24px;background:#fbf3e5;color:#493e30;border:3px double #c49c50;border-radius:16px;}.wishlist-dialog::backdrop{background:#052b27b3}.wishlist-row{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 0;border-bottom:1px solid #ccb98f}.wishlist-row img{width:70px;height:90px;object-fit:contain}.wishlist-row a{flex:1;min-width:120px;color:#174d40;font:20px Arial,sans-serif}.wishlist-dialog h2{font:30px Arial,sans-serif}.wishlist-dialog p{line-height:1.6}

/* Wish list cards: comfortable photo-led layout, with room for long titles. */
html body dialog.wishlist-dialog{padding:0!important;width:min(92vw,680px)!important;border:3px double #c9a252!important;border-radius:20px!important;background:linear-gradient(135deg,#fff9ed,#f4e6ca)!important;box-shadow:0 18px 60px #001e2666!important;overflow:auto;}
html body .wishlist-dialog>h2{margin:0!important;padding:25px 22px 20px!important;background:linear-gradient(135deg,#17574b,#073c36)!important;color:#fff0c9!important;border-bottom:3px double #d2ad61;font:normal clamp(26px,5vw,36px)/1.2 Arial,sans-serif!important;text-align:center!important;}
html body .wishlist-dialog>button{display:block!important;margin:15px auto!important;font-size:15px!important;}
html body .wishlist-dialog>div{padding:0 18px 20px;}
html body .wishlist-dialog .wishlist-row{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:12px 18px!important;align-items:center!important;padding:16px!important;margin:16px 0 0!important;background:linear-gradient(145deg,#fffcf5,#f1e1bf)!important;border:1px solid #c5a366!important;border-radius:14px!important;box-shadow:inset 0 0 0 3px #fff5df,0 5px 12px #6c4b1614!important;}
html body .wishlist-dialog .wishlist-row img{width:110px!important;height:145px!important;object-fit:contain!important;grid-row:1 / span 3;background:#e9dcc3;border:2px solid #c9a464;border-radius:9px;box-sizing:border-box;}
html body .wishlist-dialog .wishlist-row a{display:block!important;min-width:0!important;font:normal 19px/1.35 Arial,sans-serif!important;text-decoration:none!important;color:#164a3d!important;overflow-wrap:break-word;grid-column:2;}
html body .wishlist-dialog .wishlist-row a:hover{color:#926316!important;text-decoration:underline!important;}
html body .wishlist-dialog .wishlist-row button{grid-column:2;justify-self:start;height:auto!important;min-height:34px!important;font-size:13px!important;padding:7px 12px!important;filter:none!important;}
html body .wishlist-dialog .wishlist-row>span{grid-column:2;color:#803827;font:14px Arial,sans-serif;}
html body .wishlist-dialog>div>p{text-align:center!important;padding:24px 12px!important;font:18px/1.6 Arial,sans-serif!important;}
@media(max-width:380px){html body .wishlist-dialog .wishlist-row{grid-template-columns:85px minmax(0,1fr)!important;padding:12px!important;gap:10px!important;}html body .wishlist-dialog .wishlist-row img{width:85px!important;height:125px!important;}html body .wishlist-dialog .wishlist-row a{font-size:17px!important;}}

html body .wishlist-dialog .wishlist-row>span{grid-column:1!important;text-align:center;}

html body[data-room="collection"] #products.products .product a.thumbnail>span{background:linear-gradient(145deg,#17574b,#0a463b 50%,#06382f)!important;color:#edc66e!important;text-shadow:0 1px 1px #032d25!important;border-color:#c49b4c!important;border-top-color:#f4d791!important;box-shadow:inset 0 1px 0 #ffe9a444,inset 0 0 0 1px #e5bd65,0 3px 0 #94703c!important;}

html body :is(#roomier-wishlist,button.wishlist-save[data-wishlist-item]){box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:58px!important;max-height:none!important;padding:12px 10px!important;line-height:1.35!important;white-space:normal!important;}

/* Basket status changes the label while retaining the normal button appearance. */
html body :is(#basket-status-button,.paypal-payment button:disabled){opacity:1!important;filter:drop-shadow(0 5px 4px #ffd36baa) drop-shadow(0 8px 9px #eab34d88)!important;cursor:default!important;color:#fff0c4!important;}

html body button.wishlist-add-basket:is(:not(:active),:hover,:focus,:disabled){opacity:1!important;transform:none!important;filter:drop-shadow(0 5px 4px #ffd36baa) drop-shadow(0 8px 9px #eab34d88)!important;}
