/* Layered category artwork: Adobe-cut product, room backdrop and live bilingual copy. */
#landing-page[hidden],#category-return[hidden]{display:none}
#landing-page{max-width:1040px;margin:0 auto}
.landing .nav,.landing .intro,.landing .category-section,.landing .products-section{display:none}
.landing .workspace{display:block;height:calc(100dvh - 148px)}
.landing #catalog{height:100%;padding:25px 38px 28px;background:#f3f5f8}
.landing .selection{display:none}
.landing .selection.mobile-open{display:flex;position:fixed;inset:0 0 52px auto;width:min(410px,100%);z-index:12;box-shadow:0 0 0 100vmax #10274065;padding:26px;background:white}
.landing .selection.mobile-open .mobile-only{display:inline-flex}
.landing .session-bar .mobile-list{display:flex;align-items:center;gap:8px;background:var(--navy);color:white;border-radius:6px;padding:0 15px;min-height:38px}
.landing .header{border-bottom:1px solid #e1e6ee}
.landing-intro{text-align:center;margin:0 0 22px}
.landing-intro h1{font-size:29px;line-height:1.4;margin:6px 0;color:#15386b;font-weight:800;outline:none}
.landing-intro p{margin:0;font-size:14px;line-height:1.7;color:#748398}
.landing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.department-tile{container-type:inline-size;padding:0;position:relative;overflow:hidden;isolation:isolate;border-radius:13px;aspect-ratio:1.12;text-align:start;background:#aebaca;color:white;box-shadow:0 2px 7px #172f4f12;transition:box-shadow .2s}
.department-tile:hover{box-shadow:0 7px 24px #15386b30}
.department-tile:focus-visible{outline:4px solid #668de0;outline-offset:4px}
.tile-wide{grid-column:1/-1;aspect-ratio:3.1}
.tile-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;z-index:0;transition:transform .45s ease;filter:saturate(.78)}
.department-tile:hover .tile-scene{transform:scale(1.025)}
.tile-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#13365b04 20%,#1649901a 40%,#164b9d9e 66%,#123d96f5 100%)}
.tile-product{position:absolute;z-index:2;right:3%;bottom:5%;width:45%;height:64%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 15px 12px #071b593e);transform:rotate(-7deg);transition:transform .3s ease}
.tile-copy{position:absolute;z-index:3;left:5%;right:50%;bottom:7%;display:grid;gap:8px;text-align:right;text-shadow:0 2px 5px #0b2c6445}
.tile-copy strong{font-size:clamp(23px,6.1cqw,33px);line-height:1.3;font-weight:800}
.tile-copy>span{font-size:clamp(12px,3.2cqw,16px);line-height:1.65;font-weight:700;color:#eff5ff}
.tile-wide .tile-copy{left:5%;right:43%;bottom:13%;gap:7px}
.tile-wide .tile-copy strong{font-size:clamp(27px,3.8cqw,39px)}
.tile-wide .tile-copy>span{font-size:clamp(13px,1.7cqw,17px)}
.tile-wide .tile-product{right:5%;bottom:5%;width:32%;height:85%}
.tile-wide .tile-scene{object-position:center 35%}
.tile-wide .tile-shade{background:linear-gradient(180deg,#112e5020,#163d8566 30%,#123d96e8 100%)}
.tile-faucets .tile-scene{object-position:65% center}
.tile-faucets .tile-product{height:70%;bottom:4%;transform:rotate(8deg)}
.tile-sinks .tile-product{height:60%;bottom:4%;transform:rotate(-5deg)}
.tile-switches .tile-product{height:53%;bottom:5%;transform:rotate(-12deg)}
.tile-switches .tile-scene{object-position:left center}
.tile-electrical .tile-product{height:63%;transform:rotate(5deg)}
.tile-plumbing .tile-product{height:59%;transform:rotate(-7deg)}
.tile-ventilation .tile-product{height:60%;transform:rotate(10deg)}
.tile-ventilation .tile-scene{object-position:right center}
.tile-chandeliers .tile-product{width:43%;height:95%;right:1%;bottom:3%;transform:none}
.tile-chandeliers .tile-copy{right:49%}
.tile-chandeliers .tile-scene{object-position:center 65%}
[dir=ltr] .tile-copy{text-align:left}
[dir=ltr] .tile-copy strong{font-size:clamp(21px,5.1cqw,29px)}
[dir=ltr] .tile-copy>span{font-size:clamp(12px,2.8cqw,14px);font-weight:500}
[dir=ltr] .tile-wide .tile-copy strong{font-size:clamp(26px,3.4cqw,36px)}
[dir=ltr] .tile-wide .tile-copy>span{font-size:clamp(13px,1.6cqw,16px)}
.landing-status{background:#fff2d9;color:#815c24;padding:14px;border-radius:7px;font-size:14px;line-height:1.7}.landing-status button{text-decoration:underline;min-height:44px;padding-inline:12px}
.landing-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 0 18px;margin-top:10px;border-bottom:1px solid #dce2e9}
.landing-bottom>div{display:flex;gap:15px;align-items:center}
.landing-bottom>div>svg{width:30px;height:30px;color:#4c6d9b}
.landing-bottom p{margin:0;display:grid;gap:6px;line-height:1.6}
.landing-bottom strong{font-size:17px}
.landing-bottom p>span{font-size:13px;color:#7b8791}
.landing-art-note{font-size:11px;line-height:1.7;text-align:center;color:#8a9298;margin:16px 0 0}
.landing-empty{text-align:center;padding:40px}
#category-return{margin-bottom:18px}
#category-return button{display:inline-flex;align-items:center;gap:9px;min-height:44px;border:1px solid #d9e1e9;border-radius:7px;background:#fff;padding:9px 16px;font-size:14px;font-weight:700;color:var(--navy)}
body:not(.landing) .intro{display:none}
@media(min-width:801px) and (max-height:820px){.landing .workspace{height:calc(100dvh - 132px)}.landing #catalog{padding-top:19px}.landing-intro{margin-bottom:18px}.landing-intro h1{font-size:27px}}
@media(max-width:1000px){.landing #catalog{padding-inline:24px}.landing-bottom{align-items:flex-start}}
@media(max-width:800px){.landing .workspace{height:calc(100dvh - 187px)}.landing #catalog{padding:22px 18px}.landing-grid{gap:12px}.landing-intro h1{font-size:26px}.landing-intro p{font-size:13px}.department-tile{aspect-ratio:1}.tile-wide{aspect-ratio:2.45}.landing-bottom{flex-direction:column;gap:16px}.landing .selection.mobile-open{inset:0 0 52px;width:100%}.tile-copy{gap:4px}.tile-copy>span{line-height:1.5}}
@media(max-width:520px){.landing #catalog{padding:20px 14px}.landing-grid{grid-template-columns:1fr;gap:14px}.department-tile{aspect-ratio:1.12}.tile-wide{aspect-ratio:1.65}.tile-wide .tile-product{width:39%;right:1%;height:85%}.tile-wide .tile-copy{right:44%;bottom:10%}.tile-chandeliers .tile-product{width:47%;height:94%}.tile-chandeliers .tile-copy{right:50%}.landing-intro h1{font-size:25px}.landing-intro p{font-size:12px}.tile-wide .tile-copy strong{font-size:28px}.tile-wide .tile-copy>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.department-tile,.tile-scene,.tile-product{transition:none}}
/* Keep tilted silhouettes clear of the text column. */
.tile-sinks .tile-product{width:43%;right:2%}
.tile-faucets .tile-product{width:43%;right:2%}
.tile-switches .tile-product{width:40%;right:3%}
.tile-electrical .tile-product{width:42%;right:2%}
.tile-plumbing .tile-product{width:41%;right:3%}
.tile-ventilation .tile-product{width:40%;right:2%}
.tile-door-hardware .tile-product{width:46%;height:65%;right:1%;bottom:4%;transform:rotate(-6deg)}
.tile-tools-fixings .tile-product{width:43%;height:64%;right:2%;bottom:5%;transform:rotate(5deg)}
.tile-building-painting .tile-product{width:32%;height:86%;right:4%;bottom:5%;transform:rotate(-4deg)}
@media(max-width:520px){.tile-building-painting .tile-product{width:39%;height:83%;right:1%}.tile-tools-fixings .tile-copy strong{font-size:clamp(23px,6.1cqw,30px)}}
/* Staff-uploaded department photos keep their proportions without a fabricated scene. */
.tile-managed{background:#fff;color:#15386b;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:16px;padding:6%}
.tile-managed .tile-product{position:static;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;transform:none;filter:none}
.tile-managed .tile-copy{position:static;text-shadow:none;gap:6px;min-width:0}
.tile-managed .tile-copy strong{font-size:clamp(23px,5.8cqw,31px);overflow-wrap:anywhere}
.tile-managed .tile-copy>span{color:#506987}
.tile-managed.tile-wide{grid-template-columns:36% minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;padding:4%;gap:5%}
.tile-managed.tile-wide .tile-product{width:100%;height:100%;min-height:0}
.tile-placeholder{display:grid;place-items:center;color:#8193a9;height:100%;min-height:0}
.tile-placeholder svg{width:clamp(50px,12cqw,90px);height:auto}

/* Direct product-family shortcuts sit before the full department range. */
.essentials-section{margin:28px 0 44px;color:var(--navy)}
.essentials-section h2,.landing-departments-title{font-size:1.5rem;line-height:1.4;margin:0 0 8px;font-weight:800}
.essentials-section>p{font-size:1rem;line-height:1.6;color:#50627a;margin:0 0 20px}
.essentials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.essential-tile{min-width:0;aspect-ratio:1.45}
.essential-tile .tile-scene{object-position:center 35%}
.essential-tile .tile-product{top:auto;right:2%;bottom:0;width:49%;height:84%;object-position:right bottom;transform:none;filter:drop-shadow(0 12px 10px #071b593e)}
.essential-tile[data-enter-essential="extension-cords"] .tile-product{bottom:-7%}
.essential-tile[data-enter-essential="light-bulbs"] .tile-product{bottom:-10%}
.essential-tile[data-enter-essential="water-hoses"] .tile-product{bottom:-6%}
.essential-tile[data-enter-essential="screws-fixings"] .tile-product{bottom:-4%}
.essential-tile[data-enter-essential="adhesives-tapes"] .tile-product{bottom:2%}
.essential-tile[data-enter-essential="door-locks"] .tile-product{bottom:3%}
.essential-tile .tile-copy{left:6%;right:53%;bottom:9%;gap:0;min-height:0;font-size:clamp(18px,5.4cqw,29px)}
.essential-tile .tile-copy strong,[dir=ltr] .essential-tile .tile-copy strong{font-size:inherit;line-height:1.3;text-wrap:balance}
.landing-departments-title{margin-bottom:20px}
.essentials-browsing .category-section{display:none}
@media(max-width:700px){.essentials-grid{grid-template-columns:1fr;gap:14px}.essential-tile{aspect-ratio:1.3}.essentials-section{margin:26px 0 36px}}
