/*
 * Masjid Walls — Editorial 2026
 * A lightweight visual layer over the existing FR/EN shared storefront.
 * No new font download, framework, image request or continuous animation.
 */
:root{--mw-ink:#30251c;--mw-coffee:#59412d;--mw-sand:#fffaf1;--mw-shell:#fbf4e6;--mw-brass:#bb842e;--mw-fine:#e4ceb0;--mw-shadow:0 14px 34px rgba(90,59,29,.09)}
html{scroll-padding-top:94px}
body{background:#fbf6ec;color:var(--mw-ink);font-size:15px;line-height:1.55}
::selection{background:#eaca89;color:#34230f}
.top-shell{position:sticky;top:0;z-index:25;inset:0 0 auto;background:rgba(255,251,243,.96);border-bottom:1px solid #e8d8ba;box-shadow:0 6px 24px rgba(83,50,14,.045)}
@supports(backdrop-filter:blur(9px)){.top-shell{background:rgba(255,250,241,.92);backdrop-filter:blur(9px)}}
.top{height:77px}
.top nav{gap:3px}
.top nav a{border-radius:12px;transition:background .22s,color .22s;padding:10px 13px}
.top nav a:hover{background:#f0e4cf;color:#764f21}
.top nav a.active{background:linear-gradient(140deg,#f4d997,#eac373);color:#432e16;box-shadow:0 4px 12px rgba(174,112,36,.14)}
.icon-button{border-radius:12px;min-height:44px;min-width:44px;transition:background .2s,color .2s}
.icon-button:hover{background:#ecdcbf;color:#694421}
.language{background:#fff9eb;border-color:#d5b97d;min-height:41px;display:inline-flex;align-items:center}
.mw-skip-link{position:fixed;top:0;left:15px;z-index:999;padding:12px 20px;border-radius:0 0 12px 12px;background:#352820;color:#fff;transform:translateY(-125%)}
.mw-skip-link:focus{transform:translateY(0)}
.mw-scroll-progress{position:fixed;top:0;left:0;height:3px;width:100%;z-index:80;background:linear-gradient(90deg,#b27b2c,#e3c074,#9d6727);transform:scaleX(0);transform-origin:left center;pointer-events:none}
.mw-to-top{position:fixed;right:22px;bottom:22px;z-index:24;display:grid;place-items:center;width:49px;height:49px;border-radius:50%;border:1px solid #c9a66b;background:#fff7e8;color:#674217;box-shadow:0 12px 25px rgba(74,49,18,.17);transition:opacity .2s,transform .2s,visibility .2s;opacity:0;visibility:hidden;transform:translateY(12px)}
.mw-to-top.mw-show{opacity:1;visibility:visible;transform:translateY(0)}
.mw-to-top svg{width:21px;height:21px;stroke:currentColor;stroke-width:2}
.hero{isolation:isolate;overflow:hidden;width:min(1440px,calc(100% - 72px));margin:22px auto 0;min-height:575px;padding:72px 0 40px;border:1px solid #e6cfa6;border-radius:32px;box-shadow:0 23px 68px rgba(118,75,25,.13);background-position:center 53%}
.hero-shade{background:linear-gradient(90deg,rgba(255,249,235,.97) 0%,rgba(255,246,227,.91) 32%,rgba(255,246,227,.34) 58%,transparent 81%),linear-gradient(0deg,rgba(55,37,15,.14),transparent 26%)}
.hero-copy{width:calc(100% - 88px);max-width:1330px}
.hero .eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,252,243,.85);color:#915c1c;border-color:#dcad64;letter-spacing:2px;font-size:10px;padding:8px 16px;box-shadow:0 4px 15px rgba(89,55,22,.06)}
.hero h1{max-width:840px;margin:23px 0 15px;color:#30231a;font-family:Georgia,serif;font-size:clamp(48px,5vw,77px);line-height:1.04;letter-spacing:-1.9px;text-wrap:balance;text-shadow:0 2px 24px rgba(255,250,235,.28)}
.hero h1 em{color:#ad7129}
.hero p{max-width:570px;color:#5d4a39;font-size:clamp(15px,1.5vw,18px);line-height:1.68}
.hero .features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:710px;margin:25px 0 23px}
.hero .features>.feature-item{min-width:0;min-height:79px;display:flex;align-items:center;gap:11px;padding:11px 13px;background:rgba(255,252,246,.96);border:1px solid #e6d5b7;border-radius:17px;box-shadow:0 6px 15px rgba(80,53,24,.05)}
.hero .features .feature-icon{flex:0 0 40px;width:40px;height:40px;border:1px solid #d9b575;border-radius:12px;background:#f5ddb0}
.hero .features b{font-size:13px;color:#422e1b}
.hero .features small{font-size:11px;color:#765a3f;line-height:1.35}
.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hero-actions a{border-radius:15px;min-height:51px;padding:13px 23px;font-size:13px}
.hero-actions .primary{background:linear-gradient(125deg,#bd8738,#f5d696 51%,#bc812e);border:1px solid #d4a24f;min-width:257px;box-shadow:0 9px 23px rgba(162,106,27,.18)}
.hero-actions .secondary{background:rgba(255,251,241,.92);color:#84591d;border:1px solid #d9b36f;min-width:196px}
.hero-actions a:hover{transform:translateY(-2px);box-shadow:0 13px 29px rgba(132,81,24,.2)}
.mw-cinema{margin-top:25px;box-shadow:0 22px 49px rgba(36,49,36,.15)}
.collection-section,.portrait-collection,.about,.seo-links,.faq{scroll-margin-top:92px}
.section-heading{gap:22px;margin-bottom:25px}
.section-heading h2,.seo-links h2,.faq h2{font:normal clamp(27px,2.6vw,40px)/1.2 Georgia,serif;letter-spacing:-.65px;color:#38281c;margin:0 0 8px;text-wrap:balance}
.section-heading p,.portrait-head p{font-size:14px;max-width:680px;line-height:1.65;color:#78634d}
.section-icon{flex:0 0 48px;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;border:1px solid #e5cb99;background:#fff8e9;color:#bd8a39;font-size:27px}
.section-link{min-height:46px;background:#fff8e9;border:1px solid #dfc392;color:#79501b;font-size:12px;border-radius:13px;padding:10px 20px}
.section-link:hover{background:#f4e2bd;color:#493218}
.collection-section{padding-top:42px;padding-bottom:14px}
.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.card{border:1px solid #e4d2b7;border-radius:20px;background:linear-gradient(150deg,#fffdfa,#f9efe1);box-shadow:var(--mw-shadow);transition:transform .26s cubic-bezier(.2,.8,.2,1),box-shadow .26s,border-color .26s;overflow:hidden}
.card:hover{transform:translateY(-5px);border-color:#d1ab70;box-shadow:0 19px 40px rgba(96,62,29,.16)}
.visual{aspect-ratio:16/11;background:#e6d9c5;overflow:hidden}
.visual img{transition:transform .45s cubic-bezier(.2,.8,.2,1);filter:saturate(1.04)}
.card:hover .visual img{transform:scale(1.045)}
.visual:after{background:linear-gradient(0deg,rgba(53,34,19,.23),transparent 40%)}
.card .badge{padding:7px 11px;border-radius:0 0 12px 0;top:0;left:0;font-size:10px;letter-spacing:.4px}
.device-icons{top:10px;right:10px;border:1px solid #fff7;background:#241b17b3;padding:7px 8px}
.card-body{padding:13px 15px 17px}
.card h3{font-size:16px;line-height:1.35;font-weight:750;color:#37271c;margin:0 0 10px}
.card .tag{padding:5px 9px;border:1px solid #e4d2b8;color:#795b38;background:#fff6e8;font-size:9px;letter-spacing:.2px}
.card .unavailable,.card-body .unavailable{color:#846d54;line-height:1.6;font-size:12px}
.card .download,.card .wallpaper-install-button{min-height:46px;border-radius:12px;font-size:12px;line-height:1.3;display:flex;align-items:center;justify-content:center;gap:4px;text-align:center}
.wallpaper-install-button{background:#fff9ec;border:1px solid #d0a968;color:#69471f;box-shadow:none;margin-top:9px;font-weight:750;transition:background .2s,border-color .2s,transform .2s}
.wallpaper-install-button:hover{background:#f7e5bf;border-color:#bd872f;transform:translateY(-1px)}
.card .download{background:linear-gradient(126deg,#eac77c,#f5dea6);color:#453014;border:1px solid #dfb567;box-shadow:none}
.card .download:hover{box-shadow:0 7px 18px #ca9a4b29}
.toolbar{align-items:stretch;gap:12px}
.searchbar{min-height:49px;border:1px solid #e0c8a3;background:#fffdfa;color:#4d3923;border-radius:14px}
.searchbar input{color:#4a3522;font-size:14px}
.searchbar input::placeholder{color:#897560}
.filter{align-items:center;gap:8px}
.filter button{min-height:43px;padding:9px 13px;background:#fffaf0;border:1px solid #e5d2b6;border-radius:12px;color:#72512b}
.filter button.active{background:#4c3b29;border-color:#4c3b29;color:#fff7e6}
.portrait-collection{padding-top:64px;padding-bottom:48px}
.portrait-head{margin-bottom:26px;align-items:center}
.portrait-head h2{font:normal clamp(31px,3vw,46px)/1.14 Georgia,serif;letter-spacing:-1px;color:#36271d}
.portrait-count{border-radius:999px;background:#f5e8cb;color:#876020;border:1px solid #dfc58c;padding:9px 13px;font-size:12px}
.portrait-grid{gap:18px}
.portrait-item{border-radius:19px;border:1px solid #e5d3b8;background:#fffaf0;box-shadow:0 12px 28px rgba(86,55,28,.08);transition:transform .24s,box-shadow .24s}
.portrait-item:hover{transform:translateY(-4px);box-shadow:0 19px 37px rgba(86,55,28,.16)}
.portrait-art{background:#ead7c3}
.portrait-item-caption{padding:15px 14px 17px}
.portrait-item-caption h3{font-size:15px;color:#3d2d20}
.portrait-item-caption a{color:#85561a;border-color:#d8b476;background:#fff6e6;min-height:43px;display:flex;align-items:center;justify-content:center}
.portrait-item-caption a:hover{background:#f2dfbc}
.about{gap:clamp(22px,5vw,70px);border-top:1px solid #e6d2b4}
.about h2{font-size:clamp(30px,3.3vw,45px);color:#3a291c}
.seo-grid{gap:18px}
.seo-card{border:1px solid #e7d3b6;border-radius:17px;padding:23px;background:#fffdf9;box-shadow:0 8px 21px rgba(88,55,23,.055);transition:transform .22s,box-shadow .22s,border-color .22s}
.seo-card:hover{transform:translateY(-3px);box-shadow:0 14px 29px rgba(88,55,23,.11);border-color:#d3ae75}
.seo-card b{font-size:15px;color:#81551e}
.seo-card span{font-size:13px}
.faq details{padding:18px 19px;margin:0 0 9px;border:1px solid #e4d1b5;border-radius:14px;background:#fffbf3}
.faq details[open]{background:#fff7e9;border-color:#d8b576}
.faq summary{cursor:pointer;font-size:14px;color:#4b3621;font-weight:700}
.faq details p{margin:13px 0 0;font-size:13px}
.footer{border-color:#e4d1b5;color:#78634a;padding-top:29px;padding-bottom:29px}
.preview-dialog,.wallpaper-setup-dialog{border-radius:22px}
.dialog::backdrop,.wallpaper-setup-dialog::backdrop{background:#140f0bc7}
@media(min-width:1600px){.hero{min-height:615px}.hero h1{font-size:82px}}
@media(max-width:1100px){.top nav a{padding:9px 9px;font-size:11px}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hero{width:calc(100% - 42px)}.hero-copy{width:calc(100% - 52px)}}
@media(max-width:950px){.top nav{top:77px;background:#fff8ec;border-bottom-color:#e5d1b6;box-shadow:0 13px 30px rgba(63,41,19,.1)}.top nav a{color:#4c3625;display:block;width:100%;text-align:center;padding:14px}.top nav a.active{background:#f1ddb7}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hero{margin-top:12px;width:calc(100% - 20px);border-radius:22px;min-height:unset;padding:85px 0 33px;background-position:61% center}.hero-copy{width:calc(100% - 32px)}.hero-shade{background:linear-gradient(90deg,#fff8e9f5 3%,#fff7e6e9 48%,#fff3dfa6 100%)}.hero h1{font-size:clamp(36px,6.7vw,49px);letter-spacing:-1.3px;line-height:1.1;margin:15px 0 13px}.hero p{font-size:15px;line-height:1.6}.hero .features{gap:7px;margin:22px 0 20px}.hero .features>.feature-item{min-height:108px;flex-direction:column;align-items:center;justify-content:center;padding:11px 4px;text-align:center;gap:8px}.hero .features .feature-icon{flex-basis:36px;width:36px;height:36px}.hero .features b{font-size:12px}.hero .features small{font-size:10px}.hero-actions{display:grid;grid-template-columns:1fr;gap:9px}.hero-actions a{width:100%;min-width:0!important;min-height:49px}.collection-section{padding-top:30px}.section-heading{align-items:flex-start}.section-heading h2{font-size:clamp(26px,5vw,32px)}.section-heading p{font-size:13px}.card-body{padding:10px 10px 12px}.card h3{font-size:14px}.card .tag{font-size:8px}.portrait-grid{gap:11px}.portrait-item-caption{padding:11px}.portrait-head h2{font-size:32px}.mw-to-top{bottom:15px;right:15px}}
@media(max-width:480px){.top{height:68px}.top-shell{min-height:68px}.top nav{top:68px}.header-tools{gap:2px}.icon-button{min-width:39px;width:39px}.language{min-height:36px}.hero{padding-top:80px;min-height:unset;padding-bottom:29px}.hero h1{font-size:clamp(33px,9vw,40px)}.hero .eyebrow{font-size:9px;letter-spacing:1px;padding:6px 11px}.hero .features{gap:5px}.hero .features>.feature-item{padding:10px 4px;min-height:108px}.hero .features small{font-size:10px}.hero-actions a{font-size:13px}.section-heading{flex-wrap:wrap;gap:12px}.section-heading .section-link{margin-left:0}.grid{gap:11px}.card h3{font-size:13px}.card .download,.card .wallpaper-install-button{font-size:11px;padding:9px 7px}.card .tag{padding:4px 5px}.portrait-item-caption .wallpaper-install-button{font-size:11px}.mw-to-top{width:43px;height:43px}}
@media(hover:none){.card:hover,.portrait-item:hover,.seo-card:hover{transform:none;box-shadow:var(--mw-shadow)}.visual img,.portrait-art img{transition:none}.card:hover .visual img,.portrait-item:hover .portrait-art img{transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card,.seo-card,.portrait-item,.mw-to-top,.hero-actions a{transition:none!important}.card:hover,.seo-card:hover,.portrait-item:hover,.hero-actions a:hover{transform:none!important}}

@media(prefers-reduced-motion:no-preference){
 .mw-editorial-enter{opacity:.92;transform:translateY(12px);transition:opacity .55s ease,transform .55s cubic-bezier(.2,.8,.2,1)}
 .mw-editorial-enter.mw-in-view{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){.mw-editorial-enter{opacity:1;transform:none;transition:none}}


/* Gallery refinement: preserve vertical wallpaper artwork and improve touch navigation.
   CSS-only: no new assets, JavaScript, or network requests. */
.collection-section .grid,.collection-section .portrait-grid{align-items:stretch}
.collection-section .card{display:flex;flex-direction:column;border-radius:22px;isolation:isolate}
.collection-section .card .visual{aspect-ratio:3/4;min-height:0;background:#eadbc5}
.collection-section .card .visual img{width:100%;height:100%;object-fit:cover;object-position:center}
.collection-section .card .card-body{display:flex;flex:1;flex-direction:column;gap:9px}
.collection-section .card .card-body h3{line-height:1.35;text-wrap:balance}
.collection-section .card .card-body .download,.collection-section .card .card-body .wallpaper-install-button{min-height:44px;display:flex;align-items:center;justify-content:center}
.collection-section .card .card-body .tags{margin-bottom:auto}
.collection-section .toolbar{padding:14px;border:1px solid #e8d5b7;border-radius:18px;background:#fffaf1}
.collection-section #gallerySort{appearance:auto;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #d9bd93;border-radius:11px;background:#fff;color:#483421;font:inherit}
.collection-section #clearGalleryFilters{min-height:44px;align-self:center;border:1px solid #d9bd93;border-radius:11px;padding:10px 14px;background:#fff7e8;color:#654b2f}
.collection-section :is(#gallerySort,#clearGalleryFilters,.download,.wallpaper-install-button):focus-visible{outline:3px solid #906322;outline-offset:3px}
@media(max-width:720px){
 .collection-section .grid{gap:12px}
 .collection-section .card{border-radius:17px}
 .collection-section .card .visual{aspect-ratio:3/4}
 .collection-section .card .card-body{gap:7px;padding:11px}
 .collection-section .card .card-body .download{min-height:45px}
 .collection-section .toolbar{padding:11px}
 .collection-section .filter{max-width:100%;flex-wrap:wrap}
}
@media(max-width:360px){.collection-section .grid{grid-template-columns:1fr 1fr;gap:8px}.collection-section .card .card-body{padding:9px}}
@media(hover:none){.collection-section .card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.collection-section .card,.collection-section .card .visual img{transition:none!important;transform:none!important}}

/* Audit: legible secondary text on ivory, without changing the approved theme. */
:root{--muted:#675642}
.section-heading p,.portrait-head p,.about p,.seo-links>p,.faq p,.seo-card span{color:#675642}
.format-note,.result-title,.unavailable,.selection-note,.card .unavailable,.card-body .unavailable,.portrait-disclaimer,.footer{color:#675642}
.portrait-count{color:#654515}
.eyebrow{color:#78531e}
.hero-copy>p{max-width:min(570px,100%)}
.about a,.footer-brand{color:#76501e}

.preview-dialog .preview-device-phone{width:min(265px,60vw,calc(42svh * 9 / 18.5))}
.preview-dialog .modal-head{position:sticky;top:0;z-index:6;background:#fffaf1}
.preview-dialog .preview-controls{position:sticky;bottom:0;z-index:5}

.collection-section .card[data-single-action] a.download,.collection-section .card[data-single-action] .wallpaper-install-button{display:none}
.collection-section .card[data-single-action] .preview-button{width:100%;min-height:44px;border:1px solid #b48843;border-radius:12px;background:linear-gradient(120deg,#f6dfa7,#d9ac61);color:#4c3219;font-weight:700}

/* Accessible artwork navigation and preview feedback, without changing the approved art. */
.artwork-title-link{color:inherit;text-decoration:none}.artwork-title-link:hover{text-decoration:underline;text-underline-offset:4px}.artwork-title-link:focus-visible{outline:3px solid #866025;outline-offset:4px;border-radius:3px}
.preview-load-status{min-height:1.5em;margin:0;color:#675039;font-size:14px}.preview-load-status:empty{display:none}

.search-suggestions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.search-suggestions button{min-height:44px;padding:8px 14px;border:1px solid #b49a72;border-radius:999px;background:#fffaf2;color:#534028;cursor:pointer}.search-suggestions button:hover{background:#ead6b4}.search-suggestions button:focus-visible{outline:3px solid #866025;outline-offset:3px}.preview-description{max-width:65ch;margin:0 auto 12px;font-size:15px;color:#584832;line-height:1.5}

#portrait-aube-grenat{scroll-margin-top:110px}.portrait-price{font-weight:700;color:#624622;font-size:15px;margin:8px 0}.portrait-item-caption>a[href]{min-height:44px;display:inline-flex;align-items:center}


/* Clear discovery paths: editorial cards link directly to indexable guides.
   Keeps the approved cinema and hero unchanged, with no extra JS or images. */
.mw-discovery{margin-top:clamp(18px,4vw,50px);margin-bottom:clamp(26px,5vw,72px);padding-block:clamp(22px,4vw,44px);border-top:1px solid #d9c6a4;border-bottom:1px solid #d9c6a4}
.mw-discovery-intro{max-width:720px;margin-bottom:22px}
.mw-discovery-intro h2{color:#362a20;margin:10px 0 12px;font-size:clamp(25px,3.7vw,40px);line-height:1.17}
.mw-discovery-intro p,.mw-discovery-note{color:#675642;font-size:15px;line-height:1.65}
.mw-discovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mw-discovery-card{position:relative;display:flex;flex-direction:column;gap:12px;min-height:195px;padding:22px 20px;border:1px solid #e0c9a5;border-radius:18px;background:linear-gradient(150deg,#fffcf6,#f2e5cd);color:#342717;box-shadow:0 8px 22px rgba(79,55,22,.05);text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.mw-discovery-card:hover{transform:translateY(-3px);border-color:#ad8241;box-shadow:0 14px 28px rgba(79,55,22,.12)}
.mw-discovery-card:focus-visible{outline:3px solid #76501e;outline-offset:3px}
.mw-discovery-card strong{font-size:17px;line-height:1.3}
.mw-discovery-card>span:not(.mw-discovery-mark):not(.mw-discovery-arrow){color:#675642;font-size:13px;line-height:1.5;padding-right:12px}
.mw-discovery-mark{font-size:27px;color:#947039;line-height:1}
.mw-discovery-arrow{position:absolute;right:17px;bottom:13px;font-size:21px;color:#83602d}
.mw-discovery-note{margin:18px 0 0;font-size:13px}
@media(max-width:950px){.mw-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.mw-discovery-grid{gap:10px}.mw-discovery-card{min-height:185px;padding:16px 13px;border-radius:14px}.mw-discovery-card strong{font-size:14px}.mw-discovery-card>span:not(.mw-discovery-mark):not(.mw-discovery-arrow){font-size:12px}.mw-discovery-mark{font-size:22px}}
@media(max-width:340px){.mw-discovery-grid{grid-template-columns:1fr}.mw-discovery-card{min-height:145px}}
@media(prefers-reduced-motion:reduce){.mw-discovery-card{transition:none!important}.mw-discovery-card:hover{transform:none!important}}
