/* Scene layout uses one coordinate unit. Text never defines structural dimensions. */
body.sww-showroom #swwApp{grid-template-rows:auto auto minmax(0,1fr) 58px}
body.sww-showroom #swwApp>.sww-header{min-height:52px;padding:7px 22px;gap:10px}
body.sww-showroom .store-logo{max-height:30px;max-width:180px}
body.sww-showroom #swwApp .hb{font-size:12px;padding:8px 13px;min-height:34px}
body.sww-showroom #swwApp .hb svg{width:16px;height:16px}
body.sww-showroom #catalogControls{padding:9px 22px 8px}
body.sww-showroom .controls-main{gap:12px}
body.sww-showroom .control-search{height:40px;flex:1;min-width:140px}
body.sww-showroom .control-search input{font-size:12px!important;height:40px!important}
body.sww-showroom .category-fields{padding:5px 12px;gap:10px;min-width:0;flex:1.35;height:45px}
body.sww-showroom .category-field>span{font-size:9px;line-height:12px;letter-spacing:.09em}
body.sww-showroom .category-fields select{font-size:12px!important;height:24px!important;padding:0!important;line-height:24px!important;max-width:100%!important}
body.sww-showroom .filter-more{height:40px;min-width:86px;font-size:11px;padding:0 12px}
body.sww-showroom .controls-total b{font-size:15px}
body.sww-showroom .applied-row{margin-top:6px;gap:8px;min-height:22px}
body.sww-showroom .filter-chip{font-size:10px;padding:4px 8px;line-height:14px}
body.sww-showroom .clear-control{font-size:10px;padding:3px 0}
body.sww-showroom #view{scrollbar-width:none;overflow-y:auto;overflow-x:hidden}
body.sww-showroom #view::-webkit-scrollbar{display:none}
body.sww-showroom #world{height:var(--scene-h);min-height:0;bottom:auto;font-size:var(--u)}
body.sww-showroom #world .sec,body.sww-showroom #world .rack,body.sww-showroom #world .bay{font-size:var(--u)!important}
body.sww-showroom #world .rack{top:92px;bottom:50px;height:auto;min-height:340px}
body.sww-showroom #world .bay{height:100%;bottom:0;display:grid;grid-template-rows:minmax(120px,1fr) 148px 44px;gap:8px;padding:12px 12px 8px}
body.sww-showroom #world .bay>.tile{position:relative!important;inset:auto!important;grid-row:1;width:100%!important;height:100%!important;min-height:0;margin:0;border-radius:12px;background:linear-gradient(145deg,#fff,#eef4fb);box-shadow:0 6px 14px #17395317;overflow:hidden}
body.sww-showroom #world .bay>.tile:hover{transform:translateY(-2px);box-shadow:0 8px 16px #17395325}
body.sww-showroom #world .bay>.label{position:relative!important;inset:auto!important;grid-row:2;display:block!important;width:100%!important;height:148px!important;padding:12px!important;border:1px solid #dbe6f4!important;border-top:3px solid #3979e9!important;border-radius:9px!important;box-shadow:0 3px 9px #183c6a12;white-space:normal;text-align:left;overflow:hidden;line-height:normal}
body.sww-showroom #world .label .tx{width:100%;min-width:0}
body.sww-showroom #world .label .nm{font-size:12px!important;font-weight:700;line-height:16px!important;height:48px;min-height:48px;max-height:48px!important;margin:0 0 8px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#24456e;overflow-wrap:anywhere;white-space:normal}
body.sww-showroom #world .label .pr{font-size:19px!important;line-height:1.2!important;padding-right:37px;letter-spacing:0}
body.sww-showroom #world .sww-payment-prices.compact{gap:5px;display:grid}
body.sww-showroom #world .compact>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px;align-items:center;padding:0!important;background:none!important;border:0!important}
body.sww-showroom #world .compact small{font-size:10px!important;line-height:12px!important;max-width:none!important;letter-spacing:0;text-align:left;color:#71839c}
body.sww-showroom #world .compact strong{font-size:16px!important;line-height:20px!important;white-space:nowrap;font-weight:800}
body.sww-showroom #world .label .add{position:absolute;right:9px;bottom:12px;width:30px;height:30px;font-size:14px;border-radius:9px;box-shadow:none}
body.sww-showroom #world .label .add svg{width:17px;height:17px}
body.sww-showroom #world .bay>.cartons{position:relative;inset:auto;grid-row:3;display:flex;gap:8px;height:44px;width:100%;padding:0 6px;align-self:end}
body.sww-showroom #world .cartons .carton{width:auto;flex:1;height:44px;border-radius:3px;font-size:12px}
body.sww-showroom #world .carton span{font-size:9px!important;line-height:11px!important;letter-spacing:0;max-width:90%;max-height:35px;padding:2px 4px;overflow-wrap:normal}
body.sww-showroom #world .rack .up{height:100%;width:8px}
body.sww-showroom #world .rack .bm{height:9px}
body.sww-showroom #world .rack .b0{bottom:0}
body.sww-showroom #world .rack .b1{bottom:57px}
body.sww-showroom #world .rack .b2{top:0;bottom:auto}
body.sww-showroom #world .sww-rack-title{top:-74px;left:0;width:min(600px,100%);max-width:calc(100vw - 64px);height:62px;padding:10px 16px;border-radius:10px;overflow:hidden}
body.sww-showroom #world .sww-rack-title small{font-size:10px!important;line-height:13px!important;letter-spacing:.06em}
body.sww-showroom #world .sww-rack-title h3{font-size:20px!important;line-height:25px!important;max-height:25px;margin:2px 0 0!important;font-weight:750;white-space:nowrap;text-overflow:ellipsis;display:block}
body.sww-showroom #world .sww-board{display:none}
body.sww-showroom #world .aisle>.sign{top:18px!important;left:48px!important;width:min(600px,calc(100vw - 96px));height:62px!important;font-size:var(--u)!important}
body.sww-showroom #world .aisle>.sign .cab{display:none}
body.sww-showroom #world .aisle>.sign .sb{height:62px;padding:10px 16px;gap:14px;border-radius:10px}
body.sww-showroom #swwApp .sign .sb h2{font-size:20px!important;line-height:24px!important;max-height:48px;margin:0!important}
body.sww-showroom #swwApp .sign .sb p{font-size:10px!important;line-height:14px!important;margin:3px 0 0!important}
body.sww-showroom #world .sign-symbol{width:32px;height:32px;min-width:32px;border-radius:7px;font-size:14px}
body.sww-showroom #world .sign-symbol svg{width:23px;height:23px}
body.sww-showroom #world .floortxt{display:none}
body.sww-showroom #world .out-box{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:12px!important}
body.sww-showroom #world .out-box strong{font-size:17px!important;line-height:21px!important}
body.sww-showroom #world .out-box-icon{width:30px;height:30px}
body.sww-showroom #world .out-box-count,body.sww-showroom #world .out-box-link{font-size:11px!important;line-height:16px!important}
body.sww-showroom #world .out-label .pr{font-size:15px!important;padding-right:18px}
body.sww-showroom #world .out-label .nm{font-size:11px!important;min-height:32px;height:32px;max-height:32px!important}
body.sww-showroom #world .view-out{position:absolute;right:10px;bottom:16px;width:16px;height:16px}
body.sww-showroom .walk{top:auto;bottom:9px;margin:0;width:34px;height:34px;box-shadow:0 3px 12px #15365b20}
body.sww-showroom .walk.l{left:16px}.sww-showroom .walk.r{right:16px}
body.sww-showroom #shelfPager{left:50%;right:auto!important;bottom:8px;transform:translateX(-50%);height:36px;padding:3px 8px;border-radius:10px;font-size:11px;box-shadow:0 3px 12px #15365b15}
body.sww-showroom #mapbar{height:58px;padding:7px 82px 7px 18px;gap:7px}
body.sww-showroom #mapbar .mp{padding:6px 10px;min-height:40px;border-radius:9px;font-size:11px;gap:7px;max-width:205px}
body.sww-showroom #mapbar .mp svg{width:19px;height:19px;min-width:19px}
body.sww-showroom #hiwa-root{bottom:8px!important;right:16px;z-index:60!important}
body.sww-showroom #hiwa-root .hiwa-fab{width:42px!important;height:42px!important}
body.sww-showroom #hiwa-root .hiwa-fab-icon svg{width:25px;height:25px}
body.sww-showroom #hiwa-root .hiwa-tooltip,body.sww-showroom #hiwa-advisor-nudge{display:none!important}
/* The reception and checkout use explicit text spacing, independent of scene scale. */
body.sww-showroom #world .rec .welcome{left:44px;top:64px;width:min(440px,43vw)}
body.sww-showroom #world .welcome small{font-size:10px;letter-spacing:.13em;line-height:16px}
body.sww-showroom #world .welcome h1{font-size:42px;line-height:1.1;margin:16px 0 18px}
body.sww-showroom #world .welcome p{font-size:14px;line-height:1.65;margin:0;max-width:420px}
body.sww-showroom #world .perks{left:44px;top:auto;bottom:72px;gap:10px;max-width:45vw}
body.sww-showroom #world .perk{font-size:11px;padding:12px;gap:8px;border-radius:10px}
body.sww-showroom #world .perk svg{width:22px;height:22px}
body.sww-showroom #world .kiosk{left:55vw;top:105px;width:300px;height:auto;padding:22px;font-size:14px}
body.sww-showroom #world .kiosk h3{font-size:20px;line-height:26px;margin:0 0 12px}
body.sww-showroom #world .kiosk p{font-size:13px;line-height:21px;margin:0 0 18px}
body.sww-showroom #world .kiosk .kbtn{font-size:12px;padding:12px;border-radius:10px;line-height:18px;white-space:normal}
body.sww-showroom #world .desk{left:calc(55vw - 20px);width:340px;bottom:55px;height:80px}
body.sww-showroom #world .desk b{font-size:11px;letter-spacing:.12em}
body.sww-showroom #world .fl-hint{display:none}
body.sww-showroom #world .cash-sign{left:32px!important;top:18px;width:450px;height:62px;font-size:var(--u)!important}
body.sww-showroom #world .cash-sign .sb{height:62px;padding:12px 18px;gap:14px}
body.sww-showroom #world .cash-sign .cab{display:none}
body.sww-showroom #world .cinfo{left:360px;top:110px;bottom:auto;width:min(500px,calc(100vw - 48px));padding:24px;border-radius:15px;font-size:14px}
body.sww-showroom #world .cinfo h3{font-size:25px;line-height:30px;margin:0 0 14px}
body.sww-showroom #world .cinfo p{font-size:14px;line-height:23px;margin:0 0 18px}
body.sww-showroom #world .cinfo .row{display:flex;flex-wrap:wrap;gap:10px}
body.sww-showroom #world .cinfo .cb{font-size:13px;line-height:20px;padding:12px 16px;border-radius:10px;margin:0;white-space:normal}
body.sww-showroom #world .cinfo small{display:block;font-size:11px;line-height:18px;margin-top:16px}
body.sww-showroom #world .pallet{left:36px;bottom:65px;width:240px;height:160px;font-size:6px}
@media(max-width:820px){
 body.sww-showroom #swwApp>.sww-header{padding:6px 12px;min-height:44px}
 body.sww-showroom .store-logo{max-width:145px;max-height:27px}
 body.sww-showroom #swwApp .hb{padding:7px 9px;min-height:30px}
 body.sww-showroom #catalogControls{padding:7px 12px}
 body.sww-showroom .controls-main{gap:6px;grid-template-columns:minmax(0,1fr) auto}
 body.sww-showroom .control-search,body.sww-showroom .control-search input{height:34px!important}
 body.sww-showroom .category-fields{height:43px;min-width:0;grid-column:1 / -1;padding:4px 10px}
 body.sww-showroom .filter-more{height:34px}
 body.sww-showroom .applied-row{margin-top:5px;gap:5px}
 body.sww-showroom .filter-chip{font-size:9px;padding:3px 6px}
 body.sww-showroom #world .sww-rack-title{max-width:calc(100vw - 40px)}
 body.sww-showroom #world .sww-rack-title h3{font-size:17px!important}
 body.sww-showroom #world .aisle>.sign{left:48px!important;max-width:calc(100vw - 40px)}
 body.sww-showroom #swwApp .sign .sb h2{font-size:17px!important}
 body.sww-showroom #world .rec .welcome{left:22px;top:62px;width:calc(100vw - 44px)}
 body.sww-showroom #world .welcome h1{font-size:34px;margin:14px 0}
 body.sww-showroom #world .welcome p{font-size:13px;line-height:21px}
 body.sww-showroom #world .perks{left:22px;bottom:60px;max-width:calc(100vw - 44px);flex-wrap:wrap}
 body.sww-showroom #world .kiosk{left:calc(100vw + 60px)}
 body.sww-showroom #world .desk{left:calc(100vw + 40px)}
 body.sww-showroom #world .cash-sign{left:360px!important;width:calc(100vw - 48px)}
 body.sww-showroom #mapbar{padding-left:10px}
}
body.sww-showroom #swwApp{grid-template-rows:auto auto minmax(0,1fr) 42px 50px}
body.sww-showroom #swwApp>.sww-header{min-height:44px;padding:5px 18px}
body.sww-showroom .store-logo{max-height:26px}
body.sww-showroom #swwApp .hb{min-height:30px;padding:6px 11px}
body.sww-showroom #catalogControls{padding:6px 18px}
body.sww-showroom .control-search,body.sww-showroom .control-search input{height:36px!important}
body.sww-showroom .category-fields{height:36px;padding:2px 10px}
body.sww-showroom .category-field>span{font-size:8px;line-height:9px}
body.sww-showroom .category-fields select{height:21px!important;line-height:21px!important}
body.sww-showroom .filter-more{height:34px}
body.sww-showroom .applied-row{min-height:18px;margin-top:4px}
body.sww-showroom .filter-chip{font-size:9px;line-height:12px;padding:2px 7px}
body.sww-showroom #world .rack{bottom:12px;min-height:348px}
body.sww-showroom #sceneNav{height:42px;position:relative;background:#edf3fa;border-top:1px solid #d4e0ee;border-bottom:1px solid #e1e9f3;z-index:25}
body.sww-showroom #sceneNav .walk{bottom:4px}
body.sww-showroom #sceneNav #shelfPager{bottom:3px;box-shadow:none;background:#fff}
body.sww-showroom #mapbar{height:50px;padding-top:5px;padding-bottom:5px}
body.sww-showroom #mapbar .mp{min-height:36px}
body.sww-showroom #hiwa-root{bottom:5px!important}
body.sww-showroom #hiwa-root .hiwa-fab{height:40px!important;width:40px!important}
@media(max-width:820px){body.sww-showroom #catalogControls{padding:6px 12px}body.sww-showroom .category-fields{height:41px}body.sww-showroom .control-search,body.sww-showroom .control-search input{height:32px!important}}
body.sww-showroom #world .rec .welcome{top:92px}
body.sww-showroom #world .kiosk{top:auto!important;bottom:145px!important;height:auto!important;display:flex;flex-direction:column;gap:0;border-radius:14px;box-shadow:0 14px 26px #12345b28,0 0 0 5px #173457}
body.sww-showroom #world .kiosk::after{width:24px;height:44px;bottom:-44px}
body.sww-showroom #world .cinfo .cb svg{width:18px;height:18px;flex:none}
body.sww-showroom #swwApp{background:#fff}
body.sww-showroom #mapbar{padding-right:18px}
body.sww-showroom:has(#hiwa-root) #mapbar{width:calc(100% - 68px);max-width:calc(100% - 68px);padding-right:10px}
body.sww-showroom #world.scene-refresh .bay{animation:sww-card-enter .18s ease-out both;animation-delay:0s}
@keyframes sww-card-enter{from{opacity:.85;translate:0 3px}to{opacity:1;translate:0 0}}
body.sww-showroom #world .out-box{gap:4px;padding:8px!important}
body.sww-showroom #world .out-box strong{font-size:14px!important;line-height:17px!important}
body.sww-showroom #world .out-box-icon,body.sww-showroom #world .out-box-icon svg{width:24px;height:24px;min-height:24px;flex:none}
body.sww-showroom #world .out-box-count,body.sww-showroom #world .out-box-link{font-size:10px!important;line-height:13px!important}
body.sww-showroom #world .desk b{position:absolute;top:auto!important;bottom:14px;left:0;right:0;text-align:center;line-height:14px}

/* Warehouse scenes */
body.sww-showroom #world .rec,
body.sww-showroom #world .cash {
    display: grid;
    grid-template-columns: minmax(230px, 28%) minmax(0, 1fr);
    width: var(--scene-width, 100vw);
    background: #142941;
    color: #fff;
    overflow: hidden;
}

.sww-reception-photo,
.sww-loading-dock {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-width: 0;
    min-height: 0;
    background-position: 63% center;
    background-size: cover;
}

.sww-reception-photo {
    container-type: size;
    overflow: hidden;
}

/* Position the sign on the photo itself so it follows the wall when cropped. */
.sww-reception-backdrop {
    position: absolute;
    inset: 50% auto auto 50%;
    width: max(100cqw, 301.255cqh);
    aspect-ratio: 1440 / 478;
    transform: translate(-50%, -50%);
    background: url('reception.webp') center / 100% 100% no-repeat;
}

.sww-wall-brand {
    position: absolute;
    top: 33.7%;
    left: 50.5%;
    width: min(16%, calc(100cqw - 28px));
    height: 12.5%;
    box-sizing: border-box;
    padding: 0.65% 1.1%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    overflow: hidden;
    border: 1px solid #fff9;
    border-radius: 3px;
    background: linear-gradient(145deg, #f7f6f1, #e4e2db);
    box-shadow: 0 2px 3px #352c2460, 0 5px 12px #33261b55;
    color: #133653;
    text-align: center;
    font-size: clamp(10px, 1.3cqw, 18px);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.sww-wall-brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.sww-showroom #swwApp .sww-enter-aisle {
    position: absolute;
    right: clamp(12px, 2.6vw, 36px);
    bottom: clamp(12px, 2.6vw, 33px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 6px 9px 6px 15px;
    border: 1px solid #bdd4ef75;
    border-radius: 999px;
    background: #122844f5;
    box-shadow: 0 4px 18px #10203160;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.sww-enter-aisle svg {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: sww-aisle-cue 2.5s ease-in-out infinite;
}

@keyframes sww-aisle-cue {
    0%, 65%, 100% { transform: translateX(0); }
    72%, 86% { transform: translateX(2px); }
    79% { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
    .sww-enter-aisle svg { animation: none; }
}

.sww-reception-copy,
.sww-dispatch-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: clamp(20px, 3vw, 54px);
    color: #fff;
}

.sww-reception-copy small {
    display: block;
    margin: 0 0 13px;
    color: #bad5f2;
    font-size: 13px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.sww-reception-copy h1,
.sww-dispatch-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(25px, 3vw, 50px);
    line-height: 1.08;
    font-weight: 750;
    letter-spacing: -.035em;
}

.sww-reception-copy p,
.sww-dispatch-copy p {
    margin: 0 0 21px;
    color: #d5e2ef;
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.55;
}

.sww-dispatch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.sww-dispatch-total {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #38546e;
    border-radius: 9px;
    background: #1b344d;
    color: #e0ebf6;
    font-size: 13px;
    line-height: 1.5;
}

.sww-dispatch-total > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 3px 8px;
}

.sww-dispatch-total strong {
    color: #fff;
    font-size: clamp(14px, 1.15vw, 19px);
    white-space: nowrap;
}

.sww-dispatch-total .sww-dispatch-transfer strong { color: #9ee2bf; }
.sww-dispatch-total small { color: #bfcfe0; font-size: 11px; }

body.sww-showroom:has(#mapbar .checkout-map.on) #hiwa-root {
    bottom: 104px !important;
}

body.sww-showroom #hiwa-root.hiwa-panel-open {
    z-index: 999999 !important;
}

body.sww-showroom #swwApp .sww-scene-primary,
body.sww-showroom #swwApp .sww-scene-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

body.sww-showroom #swwApp .sww-scene-primary:hover,
body.sww-showroom #swwApp .sww-scene-secondary:hover {
    filter: brightness(1.12);
}

body.sww-showroom #swwApp .sww-scene-secondary {
    background: #203b59;
    border-color: #45617d;
}

.sww-scene-primary svg,
.sww-scene-secondary svg,
.sww-dock-label svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.sww-loading-dock {
    background: #0b1220;
    overflow: hidden;
}

.sww-dock-label {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border: 1px solid #bccde450;
    border-radius: 8px;
    background: #122a43ed;
    color: #fff;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
}

.sww-dock-label {
    top: 12px;
    left: 12px;
}

.sww-dock-activity {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sww-dock-activity canvas {
    display: block;
    width: 100%;
    height: 100%;
}
/* Powder-coated steel uprights, decking and fastening plates. */
body.sww-showroom #world .rack .up {
    width: 12px;
    z-index: 2;
    border-left: 1px solid #6389a4;
    border-right: 2px solid #102942;
    background:
        radial-gradient(ellipse 1.6px 2.5px at 46% 8px, #091b2b 78%, #6b98b2 92%, transparent) 0 0 / 100% 18px repeat-y,
        linear-gradient(90deg,#2e5c7e,#447a9c 46%,#1e4567 70%,#163550);
    box-shadow: 3px 3px 5px #152a4238;
}

body.sww-showroom #world .rack .bm {
    z-index: 1;
    height: 10px;
    border-top: 2px solid #8aa1b5;
    background: linear-gradient(#50748f,#2c506f 42%,#183752 46%,#244563);
    box-shadow: 0 4px 8px #14294040;
}

body.sww-showroom #world .rack .bm::before {
    content: none;
}

body.sww-showroom #world .rack .back {
    border: 1px solid #92a9bd70;
    background:
        repeating-linear-gradient(90deg, transparent 0 69px, #4b607220 70px, transparent 72px),
        linear-gradient(105deg, #a4b7c5b0, #becdd9b0 59%, #8fa2b4a6);
}

body.sww-showroom #world .rack .b1 {
    bottom: 55px;
}

body.sww-showroom #world .rack .up::after {
    content: '';
    position: absolute;
    inset: auto -3px -1px;
    height: 4px;
    background: #2b3d4e;
    border: 1px solid #698292;
}

body.sww-showroom #world .aisle.is-empty {
    width: var(--scene-width, 100vw) !important;
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 24px;
}

body.sww-showroom #world .sww-empty-display {
    display: flex;
    gap: 19px;
    align-items: flex-start;
    width: min(100%, 520px);
    padding: clamp(19px, 4vw, 38px);
    background: #fff;
    border: 1px solid #d8e3ef;
    border-radius: 17px;
    box-shadow: 0 14px 42px #152a4326;
}

.sww-empty-display > svg {
    flex: none;
    width: 32px;
    height: 32px;
    color: #32629a;
}

body.sww-showroom .sww-empty-display h2 {
    margin: 0 0 10px;
    font-size: clamp(19px, 2.4vw, 28px);
    line-height: 1.16;
    font-weight: 750;
    color: #153554;
}

.sww-empty-display p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b657d;
}

@media (max-width: 820px) {
    body.sww-showroom #world .rec,
    body.sww-showroom #world .cash {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
    }
    .sww-reception-copy, .sww-dispatch-copy {
        grid-area: 1 / 1;
        padding: 20px;
    }
    .sww-reception-copy small { margin-bottom: 7px; }
    .sww-reception-copy h1, .sww-dispatch-copy h2 { margin-bottom: 9px; }
    .sww-reception-copy p, .sww-dispatch-copy p { margin-bottom: 12px; }
    .sww-reception-photo, .sww-loading-dock { grid-area: 2 / 1; }
    .sww-dock-label { top: 7px; }
}

body.sww-showroom #world .sww-rack-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: min(calc(100vw - 34px), 600px);
}

body.sww-showroom #world .sww-rack-heading {
    flex: 1;
    min-width: 0;
}

body.sww-showroom #world .sww-rack-heading h3 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 18px !important;
    max-height: 36px;
}

body.sww-showroom #world .sww-rack-title button {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #aac9e572;
    border-radius: 7px;
    min-height: 34px;
    padding: 6px 9px;
    background: #17385b;
    color: white;
    font-weight: 650;
    font-size: 12px;
    line-height: 15px;
    white-space: nowrap;
}

.sww-rack-title button svg { width: 14px; height: 14px; }
body.sww-showroom #world .out-box > svg { width: 34px; height: 34px; }

.sww-cart-flight {
    position: fixed;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: -33px 0 0 -33px;
    pointer-events: none;
    z-index: 151;
    background: linear-gradient(145deg,#fff5df,#e3ba80);
    color: #664524;
    border: 2px solid #fff9eb;
    border-radius: 17px;
    box-shadow: 0 8px 20px #14284265;
}
.sww-cart-flight svg { width: 43px; height: 43px; }

body.sww-showroom.admin-bar #cartDrawer { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 782px) {
    body.sww-showroom.admin-bar #cartDrawer { top: var(--wp-admin--admin-bar--height, 46px); }
}
body.sww-showroom #cartDrawer .dh, body.sww-showroom #cartDrawer .df { flex: none; }
body.sww-showroom #cartDrawer .df { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.sww-cart-actions { display: grid; gap: 8px; }
body.sww-showroom #cartDrawer .sww-cart-actions .bt {
    min-height: 46px;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    line-height: 1.25;
    text-align: center;
}
body.sww-showroom #cartDrawer .sww-cart-actions .sec { background: #fff; }
@media (max-height: 500px) {
    body.sww-showroom #cartDrawer .dh { padding-block: 8px; }
    body.sww-showroom #cartDrawer .df { padding-top: 8px; }
    body.sww-showroom #cartDrawer .df .tot { margin-bottom: 6px; }
}

.sww-cart-status:not([hidden]) {
    position: absolute;
    top: 7px;
    right: 4px;
    display: block;
    z-index: 2;
    max-width: calc(100% - 8px);
    padding: 3px 7px;
    border: 1px solid #9edab8;
    border-radius: 999px;
    background: #f0fcf4;
    color: #16604a;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.25;
}
.sww-cart-status[data-sww-pending] { border-color: #b9d1f6; background: #eff5ff; color: #1e4d83; }
body.sww-showroom [data-add][data-sww-pending] { cursor: wait; opacity: 1; }
body.sww-showroom [data-add][data-sww-pending] svg { display: none; }
body.sww-showroom [data-add][data-sww-pending]::before {
    content: '';
    display: inline-block;
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    border: 2px solid #ffffff65;
    border-top-color: #fff;
    border-radius: 50%;
    animation: sww-add-wait .64s linear infinite;
}
@keyframes sww-add-wait { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    body.sww-showroom [data-add][data-sww-pending]::before { animation: none; }
}

body.sww-showroom #world .sww-shelf-display img.product-image[data-sww-placeholder] {
    width: min(100%, 110px) !important;
    height: min(100%, 88px) !important;
}

body.sww-showroom #productPanel .p-hero img[data-sww-placeholder] {
    width: min(80%, 176px) !important;
    height: min(100%, 140px) !important;
}

.sww-photo-note { display: none; }
.sww-shelf-photo:has([data-sww-placeholder]),
body.sww-showroom #productPanel .p-hero:has([data-sww-placeholder]) { grid-template-rows: minmax(0, 1fr) auto; }
[data-sww-placeholder] + .sww-photo-note {
    display: block;
    justify-self: center;
    margin: 0 0 4px;
    color: #52677b;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
}

body.sww-showroom #productPanel .p-hero .sww-photo-note { margin-bottom: 12px; }

body.sww-showroom #world .sww-shelf-display {
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 6px 6px 2px 2px;
    border: 1px solid #9fb1bf;
    background: #e9eef2;
    box-shadow: inset 0 0 0 1px #ffffff9c, 0 2px 5px #21394e30;
}

body.sww-showroom #world .sww-shelf-display .tile {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    padding: 9px 10px 0;
    border-radius: 0;
    background: linear-gradient(150deg, #fafbfc, #e9f0f5);
    box-shadow: none;
    transform: none;
    transition: none;
}

.sww-shelf-brand {
    align-self: start;
    justify-self: stretch;
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    gap: 7px;
    text-align: left;
}

body.sww-showroom #world .sww-shelf-brand .brandtag {
    position: static;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .05em;
}

body.sww-showroom #world .sww-shelf-brand .sww-brand-image {
    position: static;
    flex: none;
    width: 66px;
    height: 27px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border-radius: 3px;
    mix-blend-mode: normal;
    filter: none;
    transform: none;
    transition: none;
}

.sww-shelf-display img[data-sww-src] { visibility: hidden; }
.sww-shelf-photo { position: relative; display: grid; place-items: center; min-height: 0; padding: 7px 2px; }

body.sww-showroom #world .sww-shelf-display img.product-image {
    position: static;
    width: min(100%, 246px) !important;
    height: min(100%, 226px) !important;
    min-height: 0;
    margin: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: none;
    transform: none;
    transition: none;
}

body.sww-showroom #swwApp #world .sww-shelf-display .label {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    height: auto;
    min-height: 112px;
    padding: 9px 42px 10px 10px;
    border-radius: 0;
    border: 0;
    border-top: 4px solid #63809a;
    background: #f8fafc;
    box-shadow: inset 0 1px #fff, inset 0 -2px #a9bacb;
}

body.sww-showroom #swwApp #world .sww-shelf-display .nm {
    height: auto;
    min-height: 42px;
    max-height: 42px !important;
    margin-bottom: 4px !important;
    line-height: 14px !important;
}

body.sww-showroom #world .sww-shelf-display .pr { padding-right: 0; }
.sww-shelf-display .compact small span + span { display: none; }

@media (max-width: 820px), (pointer: coarse) and (max-width: 1024px) {
    body.sww-showroom #view { overflow: clip; touch-action: pinch-zoom; overscroll-behavior: none; }
    body.sww-showroom #world .rack { top: 58px; bottom: auto; height: min(calc(100% - 66px), 440px); min-height: 0; }
    body.sww-showroom #world .sww-rack-title { top: -52px; width: 100%; max-width: 100%; height: 46px; padding: 4px 8px; gap: 5px; }
    body.sww-showroom #world .sww-rack-title h3 { font-size: 14px !important; line-height: 14px !important; max-height: 28px; margin: 0 !important; }
    body.sww-showroom #world .sww-rack-title small { font-size: 9px !important; line-height: 10px !important; }
    body.sww-showroom #world .sww-rack-title button { min-height: 31px; padding: 4px 6px; font-size: 11px; }
    body.sww-showroom #world .rack .up { width: 7px; }
    body.sww-showroom #world .rack .bm { height: 7px; }
    body.sww-showroom #world .rack .b1 { bottom: 31px; }
    body.sww-showroom #world .bay { grid-template-rows: minmax(0, 1fr) 57px 24px; gap: 4px; padding: 8px 6px 5px; }
    body.sww-showroom #world .bay.out-bay { width: 88em; }
    body.sww-showroom #world .bay > .out-label { height: 57px !important; padding: 5px 10px !important; }
    body.sww-showroom #world .out-label .nm { min-height: 15px; height: 15px; margin-bottom: 3px !important; }
    body.sww-showroom #world .bay > .cartons { height: 24px; gap: 4px; padding: 0 4px; }
    body.sww-showroom #world .cartons .carton { height: 24px; }
    body.sww-showroom #world .sww-shelf-display .tile { padding: 5px 5px 0; }
    body.sww-showroom #world .sww-shelf-brand .sww-brand-image { width: 43px; height: 21px; }
    body.sww-showroom #world .sww-shelf-brand .brandtag { font-size: 9px; }
    body.sww-showroom #world .sww-shelf-photo { padding: 3px; }
    body.sww-showroom #world .sww-shelf-display img.product-image { height: min(100%, 178px) !important; }
    body.sww-showroom #swwApp #world .sww-shelf-display .label { min-height: 108px; gap: 3px; padding: 5px 5px 4px; }
    body.sww-showroom #swwApp #world .sww-shelf-display .nm { font-size: 10px !important; line-height: 11px !important; min-height: 33px; max-height: 33px !important; }
    body.sww-showroom #world .sww-shelf-display .compact { gap: 1px; }
    body.sww-showroom #world .sww-shelf-display .compact > div { gap: 2px; }
    body.sww-showroom #world .sww-shelf-display .compact small { font-size: 9px !important; line-height: 11px !important; }
    body.sww-showroom #world .sww-shelf-display .compact strong { font-size: clamp(11px, 3vw, 15px) !important; line-height: 15px !important; }
    .sww-shelf-display .compact small span:first-child { display: none; }
    .sww-shelf-display .compact small span + span { display: inline; }
    body.sww-showroom #world .sww-shelf-display .label .add { position: static; height: 28px; width: 100%; border-radius: 4px; }
}

@media (max-width: 820px) and (max-height: 525px), (pointer: coarse) and (max-width: 1024px) and (max-height: 525px) {
    body.sww-showroom #world .rack { top: 46px; height: calc(100% - 48px); }
    body.sww-showroom #world .sww-rack-title { top: -43px; height: 39px; }
    body.sww-showroom #world .bay { grid-template-rows: minmax(0, 1fr) 41px; }
    body.sww-showroom #world .bay > .cartons, body.sww-showroom #world .rack .b1 { display: none; }
    body.sww-showroom #world .bay > .out-label { height: 41px !important; }
    body.sww-showroom #swwApp #world .sww-shelf-display .label { min-height: 46px; padding-right: 37px; }
    body.sww-showroom #swwApp #world .sww-shelf-display .nm { min-height: 11px; max-height: 11px !important; -webkit-line-clamp: 1; }
    body.sww-showroom #world .sww-shelf-display .label .add { position: absolute; width: 28px; right: 4px; bottom: 5px; }
}

@media (max-width: 820px) and (max-height: 525px) and (orientation: landscape), (pointer: coarse) and (max-width: 1024px) and (max-height: 525px) and (orientation: landscape) {
    body.sww-showroom #world .rec, body.sww-showroom #world .cash {
        grid-template-columns: minmax(220px, 43%) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
    }
    .sww-reception-copy, .sww-dispatch-copy {
        grid-area: 1 / 1;
        align-self: stretch;
        overflow-y: auto;
        touch-action: pan-y;
        padding: 10px 16px;
    }
    .sww-reception-photo, .sww-loading-dock { grid-area: 1 / 2; }
}

