/* Native ShopXO integration: retain the approved card shapes and layout. */
.commerce40-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.commerce40-empty{padding:30px;line-height:1.8;color:#715744;min-width:240px}
body:has(.atelier-home){margin:0}
.atelier-home *{box-sizing:border-box}
.atelier-home a{text-decoration:none}
.atelier-home button{font:inherit}
.atelier-home .module-goods-grid-base>ul{margin:0;padding:0;list-style:none}
.atelier-home .at-products .item>.price-content .price{font-size:inherit;line-height:inherit}
.atelier-home .at-products .item .goods-info{display:block}
.atelier-home .at-products .item .goods-images{border-radius:0}
.atelier-home .at-products .item .goods-title{font-weight:400}
.atelier-home .at-products .module-goods-grid-base{width:100%;margin:0;padding:0}
.atelier-home .at-products .module-goods-grid-base>ul{width:100%;margin:0!important;padding:0}
.atelier-home .at-products .module-goods-grid-base .item{margin:0!important}
.atelier-home .at-products .module-goods-grid-base .item .goods-info{padding:0!important}
.atelier-home .at-products .module-goods-grid-base .item .price strong{font-weight:600}
.atelier-home .at-products ul>.commerce40-empty{flex:1 0 100%;width:100%!important;min-width:0;padding:24px!important;white-space:normal}
.atelier-home .at-products ul>.commerce40-empty:before{display:none!important}
.atelier-home .at-search input{min-width:0}
.atelier-home .at-floor-nav{right:auto;left:max(8px,calc((100vw - 1200px)/2 - 88px));width:72px}
.atelier-home .at-floor-nav a:hover{transform:translateX(2px)}
/* Keep the rail outside the cards; narrow screens retain the existing in-page links. */
@media(max-width:1399px){.atelier-home .at-floor-nav{display:none}}
.atelier-home a:focus-visible,.atelier-home button:focus-visible{outline:2px solid #8c3533;outline-offset:3px}
@media(max-width:600px){.atelier-home .at-search input,.atelier-home .at-search select{font-size:16px}}
/* 44: aligned brand lockup and a search submit flush with the right edge. */
.atelier-home .at-brand.commerce44-brand{align-items:center;gap:10px}
.atelier-home .commerce44-brand .at-original-logo{width:43px;height:43px;display:flex;align-items:center}
.atelier-home .commerce44-brand .at-original-logo img{top:0;height:43px!important;object-fit:cover;object-position:left center}
.atelier-home .commerce44-brand b{line-height:1.35}
.atelier-home .commerce44-brand small{margin-top:3px;line-height:1.3}
.atelier-home .at-search{display:flex;gap:0;padding:0;align-items:stretch}
.atelier-home .at-search input{flex:1 1 0;width:0;max-width:none;margin:0}
.atelier-home .at-search button{flex:0 0 76px;margin:0;border:0;border-radius:0;height:auto;align-self:stretch}
.atelier-home .at-header-inner .jx-header-service{grid-template-columns:34px auto 34px auto;gap:10px}
.atelier-home .jx-header-service svg{width:32px;height:32px}
.atelier-home .jx-header-service svg:nth-of-type(2){padding:0;margin-left:0;border:0;box-sizing:border-box}
.atelier-home .at-directory #at-categories{height:100%;display:flex;flex-direction:column}
.atelier-home .at-category{flex:1 1 0;min-height:0;height:auto;padding:10px 12px;border-bottom:1px solid #e8e2da}
.atelier-home .at-category>a{padding:0;display:block;height:auto}
.atelier-home .at-category>a b{display:block;font-size:13px;font-weight:500}
.atelier-home .at-category>a small{display:block;margin-top:5px;color:#8e8174;font-size:11px}
.atelier-home .commerce44-subcats{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:6px;font-size:11px;line-height:1.6}
.atelier-home .commerce44-subcats a{color:#8e8174}
.atelier-home .commerce44-subcats a:hover{color:#a21122}
.atelier-home .at-floor .at-promo-scene:has(.commerce44-hall-image){background-image:none}
.atelier-home .commerce44-hall-image{width:100%;height:100%;object-fit:cover;object-position:center 65%;display:block}
.atelier-home .brands36-tile img{width:104px;height:44px;object-fit:contain;filter:none;mix-blend-mode:multiply}
@media(max-width:600px){.atelier-home .at-search button{flex-basis:60px}.atelier-home .at-directory #at-categories{height:auto;display:none}.atelier-home .at-directory.is-open #at-categories{display:flex}.atelier-home .at-category{flex:none;padding:10px 12px}.atelier-home .brands36-tile img{width:92px;height:40px}}
/* One compact control group, clear of conflicting legacy direct-button positioning. */
.atelier-home .carousel47-nav{position:absolute;right:12px;bottom:12px;display:flex;gap:4px;padding:3px;border:1px solid #d6b87980;border-radius:8px;background:#302217e6;box-shadow:0 3px 8px #160c0826;pointer-events:auto}
.atelier-home .at-carousel-controls .carousel47-nav button{position:static;display:grid;place-items:center;width:26px;height:26px;min-width:0;padding:0;margin:0;border:0;border-radius:5px;background:transparent;color:#fff3db;transform:none;line-height:1;cursor:pointer}
.atelier-home .carousel47-nav button svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.atelier-home .at-carousel-controls .carousel47-nav button:hover{background:#785a35}
.atelier-home .carousel47-nav button:focus-visible{outline:2px solid #f0d8a4;outline-offset:1px}
/* 48: real category disclosure, independent links, and unclipped flyouts. */
.atelier-home .jx-nav-wrap{position:relative;z-index:40}
.atelier-home .category48-disclosure{position:relative;flex:none;width:174px;height:40px}
.atelier-home .category48-trigger{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;padding:0 10px;border:0;border-radius:8px;background:#a21122;color:#fff8ee;font-size:13px;font-weight:600;cursor:pointer}
.atelier-home .category48-trigger svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;flex:none}
.atelier-home .category48-menu{position:absolute;top:100%;left:0;width:min(850px,calc(100vw - 48px));max-height:70vh;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;padding:22px;margin-top:6px;border:1px solid #dbcab7;border-radius:12px;background:#fffdf9;box-shadow:0 14px 32px #39261726;color:#5d4534;z-index:50}
.atelier-home .category48-menu[hidden]{display:none!important}
.atelier-home .category48-menu h3{margin:0 0 8px;font-size:14px;line-height:1.5;color:#792b2b}
.atelier-home .category48-menu section>div{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;line-height:1.7}
.atelier-home .category48-menu a:hover,.atelier-home .category48-flyout a:hover{color:#a21122;text-decoration:underline;text-underline-offset:3px}
.atelier-home .category48-all{grid-column:1/-1;padding-top:12px;border-top:1px solid #e9dfd3;font-size:12px}
.atelier-home .at-directory{z-index:15;position:relative;pointer-events:auto}
.atelier-home .at-directory #at-categories{overflow:visible}
.atelier-home .at-category{position:relative;padding:8px 12px}
.atelier-home .at-category .commerce44-subcats{margin-top:3px;gap:2px 9px;line-height:1.5}
.atelier-home .category48-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;line-height:1.6}
.atelier-home .category48-heading>a{flex:1}
.atelier-home .category48-subtoggle{width:24px;height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:#8a6650;font:18px/1 serif;cursor:pointer}
.atelier-home .category48-subtoggle:hover{background:#f3ebe0}
.atelier-home .category48-flyout{display:none;position:absolute;left:100%;top:0;width:min(660px,calc(100vw - 240px));max-height:430px;overflow:auto;padding:20px;border:1px solid #ddcbb7;border-radius:10px;background:#fffdf9;box-shadow:0 10px 26px #39261724;color:#5c4736;z-index:25}
.atelier-home .at-category:hover>.category48-flyout,.atelier-home .at-category:focus-within>.category48-flyout,.atelier-home .at-category.is-expanded>.category48-flyout{display:block}
.atelier-home .category48-panel-title{display:block;margin-bottom:16px;font-size:15px;color:#792b2b}
.atelier-home .category48-flyout section{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid #ede4d8;font-size:12px;line-height:1.8}
.atelier-home .category48-flyout section>div{display:flex;flex-wrap:wrap;gap:5px 14px}
.atelier-home .at-category:last-child>.category48-flyout,.atelier-home .at-category:nth-last-child(2)>.category48-flyout{top:auto;bottom:0}
@media(max-width:900px){.atelier-home .category48-disclosure{width:151px}.atelier-home .category48-flyout{width:min(500px,calc(100vw - 200px))}}
@media(max-width:600px){.atelier-home .category48-disclosure{width:112px;height:38px}.atelier-home .category48-trigger{font-size:11px;gap:7px}.atelier-home .category48-menu{width:calc(100vw - 48px);grid-template-columns:1fr;max-height:65vh;padding:16px;gap:18px}.atelier-home .at-category>.category48-flyout{position:static;width:100%;max-height:280px;margin-top:8px;box-shadow:none;padding:12px}.atelier-home .at-category:hover>.category48-flyout,.atelier-home .at-category:focus-within>.category48-flyout{display:none}.atelier-home .at-category.is-expanded>.category48-flyout{display:block}.atelier-home .category48-flyout section{grid-template-columns:1fr;gap:5px}}
