:root{--ink:#302b28;--muted:#766e68;--bg:#faf7f2;--accent:#6c534c;--line:#e8dfd5}*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,Segoe UI,sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.bar{background:#443832;color:#fff;text-align:center;padding:9px;font-size:12px}.header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px max(18px,calc((100vw - 1160px)/2));border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:3}.brand{font:27px Georgia,serif;letter-spacing:.16em;text-decoration:none;line-height:1}.brand small{font:10px system-ui;display:block;letter-spacing:.2em;margin-top:7px}.btn{background:var(--accent);color:white;border:1px solid var(--accent);border-radius:3px;padding:11px 17px}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.alt{background:white;color:var(--ink);border-color:var(--line)}.hero{text-align:center;background:linear-gradient(120deg,#e9dfd5,#faf6f1);padding:72px 20px}.eyebrow{text-transform:uppercase;letter-spacing:.23em;font-size:11px;color:var(--accent)}h1,h2,h3{font-family:Georgia,serif;font-weight:400}h1{font-size:clamp(38px,5vw,65px);margin:10px 0}h2{font-size:33px}.hero p{max-width:560px;margin:0 auto 25px;color:var(--muted)}.container{max-width:1160px;margin:auto;padding:34px 18px}.tools{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin:24px 0}.tools input{min-width:230px}.filters{display:flex;flex-wrap:wrap;gap:7px}.filters button{border:1px solid var(--line);background:#fff;border-radius:25px;padding:8px 14px}.filters button.selected{background:var(--ink);color:#fff}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 17px}.photo{aspect-ratio:3/4;background:#eee7df;display:grid;place-items:center;overflow:hidden}.photo img{height:100%;width:100%;object-fit:cover}.photo span{font:22px Georgia,serif;color:#b4a59a}.item h3{font-size:18px;margin:12px 0 4px}.muted{color:var(--muted)}.item select{width:100%;margin:10px 0;padding:10px;border:1px solid var(--line);background:white}.item button{width:100%}.price{font-weight:600;margin-top:5px}.footer{background:var(--bg);text-align:center;padding:40px 20px;margin-top:55px}.panel{position:fixed;right:0;top:0;height:100vh;width:min(490px,100vw);background:#fff;box-shadow:-10px 0 50px #0003;z-index:11;display:none;flex-direction:column}.panel.open{display:flex}.shade{position:fixed;inset:0;background:#0008;z-index:10;display:none}.shade.open{display:block}.panelhead{padding:20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panelhead h2{margin:0}.panelbody{padding:20px;overflow-y:auto;flex:1}.panelbottom{padding:20px;border-top:1px solid var(--line)}.line{border-bottom:1px solid var(--line);padding:13px 0;display:flex;justify-content:space-between;gap:10px}.line button{border:1px solid var(--line);background:white;padding:4px 10px}.total{display:flex;justify-content:space-between;font-weight:bold;font-size:18px;margin:12px 0}.field{display:block;margin:12px 0;font-weight:600;font-size:13px}.field input,.field textarea,.field select,.tools input{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:2px;margin-top:5px;background:#fff}.field textarea{min-height:70px}.error{color:#9c2e2e}.success{color:#226b3b}.note{font-size:12px;color:var(--muted)}.hidden{display:none!important}.admin{max-width:1040px;margin:30px auto;padding:0 20px}.admin table{width:100%;border-collapse:collapse}.admin th,.admin td{padding:10px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.admin .scroll{overflow:auto}.admin input,.admin textarea,.admin select{padding:10px;border:1px solid var(--line);max-width:100%}.admin textarea{width:100%;min-height:100px}.admin .fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin .fields label{display:flex;flex-direction:column;gap:5px}.admin .actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}@media(max-width:850px){.grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 11px}.hero{padding:48px 20px}.item h3{font-size:16px}.tools input{min-width:0}.admin .fields{grid-template-columns:1fr}.header{padding:14px}}

/* Unverified stock remains selectable; only confirmed zero stock is disabled. */
.item select{color:var(--ink);cursor:pointer}
.item select option{color:var(--ink)}
.item select option:disabled{color:#999}

.image-upload{padding:14px;border:1px solid #ddd;border-radius:10px;margin:12px 0}.image-upload input{display:block;margin:10px 0}.image-preview{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.image-preview img{width:90px;height:110px;object-fit:cover;border:1px solid #ddd;border-radius:6px}

.photo{display:grid;text-decoration:none}.item h3 a{text-decoration:none}.detail-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:42px;margin-top:24px}.detail-main{width:100%;border:0;background:#f1ece5;aspect-ratio:3/4;display:grid;place-items:center;padding:0;overflow:hidden}.detail-main img{width:100%;height:100%;object-fit:contain}.detail-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.detail-thumbs button{width:80px;height:100px;padding:0;border:2px solid transparent;background:#f5f0e9}.detail-thumbs button.current{border-color:#6c534c}.detail-thumbs img{width:100%;height:100%;object-fit:cover}.detail-title{font-size:clamp(30px,4vw,46px)}.detail-description{margin-top:25px;white-space:pre-wrap;color:var(--muted);line-height:1.8}.lightbox{position:fixed;inset:0;background:#000e;z-index:20;display:flex;align-items:center;justify-content:center;padding:65px 20px 20px}.lightbox img{max-width:100%;max-height:100%;object-fit:contain}.lightbox button{position:absolute;top:15px;right:20px}.image-preview .image-tile{width:170px;border:1px solid var(--line);border-radius:8px;padding:8px;background:white}.image-preview .image-tile img{width:100%;height:150px;object-fit:contain}.image-tile label{display:block;font-size:12px}.image-tile select{width:100%;margin:5px 0}.tile-actions{display:flex;flex-wrap:wrap;gap:5px}.tile-actions button{font-size:11px;padding:5px 7px}@media(max-width:700px){.detail-layout{grid-template-columns:1fr;gap:15px}.detail-thumbs button{width:62px;height:80px}}

/* Product-detail refinements: balanced images and prominent prices */
.detail-layout{grid-template-columns:minmax(0,0.95fr) minmax(0,1fr);gap:34px;align-items:start}
.detail-main{height:min(66vh,590px);min-height:340px;aspect-ratio:auto;background:#f8f6f3}
.detail-main img{width:100%;height:100%;object-fit:contain}
.detail-title{font-size:clamp(29px,3.4vw,43px);line-height:1.2;margin:16px 0}
.detail-layout .price{font-size:30px;line-height:1.25;font-weight:650;color:#76534b;letter-spacing:.01em;margin:16px 0 24px}
.detail-thumbs button{width:74px;height:90px}
@media(max-width:700px){.detail-layout{grid-template-columns:1fr;gap:18px}.detail-main{height:min(65vh,520px);min-height:280px}.detail-layout .price{font-size:28px}.detail-thumbs button{width:62px;height:78px}}

/* Show the entire garment without cropping at any screen size. */
.detail-main{height:min(70vh,620px);min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:12px;cursor:zoom-in}
.detail-main img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}
.detail-layout .price .currency-code{font-size:.48em;font-weight:600;letter-spacing:.04em;color:#766e68;vertical-align:baseline;margin-left:7px}
@media(max-width:700px){.detail-main{height:min(70vh,570px);min-height:0;padding:8px}}


/* An Noor luxury boutique homepage — storefront only. */
html{scroll-behavior:smooth}
body{background:#fffdfb}
.bar{background:#44372f;letter-spacing:.13em;font-size:11px;padding:9px 12px}
.header{max-width:none;padding:18px clamp(18px,5vw,90px);gap:24px;background:#fffdfa}
.header .brand{white-space:nowrap;font-size:29px;color:#342820}
.main-nav{display:flex;gap:clamp(12px,2.4vw,36px);align-items:center;justify-content:center;flex:1}
.main-nav a{font-size:11px;letter-spacing:.15em;text-transform:uppercase;text-decoration:none;white-space:nowrap;color:#514138}
.main-nav a:hover,.main-nav a:focus-visible{color:#9b765a;text-decoration:underline;text-underline-offset:5px}
.cart-button{white-space:nowrap}
.hero{padding:0;background:#29221c;position:relative;line-height:0;text-align:left}
.hero-image{display:block;width:100%;height:auto;max-height:740px;object-fit:cover;object-position:center}
.hero-shop{position:absolute;left:5.2%;bottom:6%;background:#e7cba5;color:#3f2e24;border-color:#e7cba5;text-decoration:none;letter-spacing:.14em;font-size:12px;font-weight:600;padding:15px 23px;line-height:1.2;box-shadow:0 3px 12px #0002}
.hero-shop:hover{background:#f5dfbf}
.hero-shop span{padding-left:15px}
.boutique-intro{text-align:center;padding:66px 18px 44px;background:#fffdfa}
.boutique-intro h2,.section-heading h2,.about-section h2{font-size:clamp(30px,3.3vw,48px);margin:8px 0 10px;color:#46382f}
.boutique-intro p,.about-section p{color:#817267;max-width:630px;margin:auto}
.category-section{max-width:1320px;margin:0 auto;padding:12px 22px 65px}
.section-heading{text-align:center;margin-bottom:28px}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.category-card{display:block;text-decoration:none;background:#f4eee8;overflow:hidden}
.category-visual{height:clamp(210px,27vw,360px);background:linear-gradient(145deg,#d8c4b4,#f2e7dd);overflow:hidden}
.category-hijabs .category-visual{background:linear-gradient(145deg,#d9c6c5,#f8eceb)}
.category-essentials .category-visual{background:linear-gradient(145deg,#c9c2b6,#efece6)}
.category-visual img{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block;transition:transform .3s}
.category-card:hover img{transform:scale(1.035)}
.category-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:19px 20px;color:#43352d}
.category-caption strong{font:26px Georgia,serif;font-weight:400}
.category-caption span{font-size:11px;letter-spacing:.04em}
.boutique-promise{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#f7f1ea;border-top:1px solid #eadfd3;border-bottom:1px solid #eadfd3;padding:27px max(20px,calc((100vw - 1260px)/2));text-align:center}
.boutique-promise>div{padding:8px 16px;border-right:1px solid #e3d7ca}
.boutique-promise>div:last-child{border-right:0}
.boutique-promise strong{display:block;font:18px Georgia,serif;color:#4c3b30}
.boutique-promise span{display:block;font-size:12px;color:#86776b;margin-top:5px}
#shop{padding-top:65px;scroll-margin-top:110px}
#shop>h2{color:#46382f}
.about-section{text-align:center;background:#f9f5f0;padding:65px 20px;margin-top:50px;scroll-margin-top:100px}
.footer{margin-top:0;background:#40332c;color:#f6eee6}
.footer .note{color:#d3c3b4}
.footer a{color:#f6eee6}
@media(max-width:1000px){.main-nav{gap:13px}.main-nav a{font-size:10px}.header .brand{font-size:24px}}
@media(max-width:720px){
 .header{padding:13px 15px;flex-wrap:wrap;gap:10px}
 .header .brand{font-size:23px}
 .main-nav{order:3;flex-basis:100%;justify-content:space-around;overflow-x:auto;padding:7px 0 1px}
 .main-nav a{font-size:10px}
 .hero-image{max-height:none;object-fit:contain}
 .hero-shop{position:static;display:block;text-align:center;border-radius:0;box-shadow:none;padding:15px}
 .boutique-intro{padding:43px 18px 27px}
 .category-grid{grid-template-columns:1fr;gap:16px}
 .category-visual{height:260px}
 .category-caption{padding:15px 18px}
 .boutique-promise{grid-template-columns:1fr;padding:15px}
 .boutique-promise>div{border-right:0;border-bottom:1px solid #e3d7ca;padding:16px}
 .boutique-promise>div:last-child{border-bottom:0}
 #shop{padding-top:35px;scroll-margin-top:145px}
}

/* Homepage layout matching approved luxury boutique reference. */
.luxury-category-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px 14px;background:#fffdfa}
.luxury-category-strip a{display:block;overflow:hidden;min-width:0;background:#e8d8cb}
.luxury-category-strip img{display:block;width:100%;height:clamp(95px,9vw,155px);object-fit:fill;transition:transform .2s}
.luxury-category-strip a:hover img{transform:scale(1.02)}
.boutique-promise{grid-template-columns:repeat(4,minmax(0,1fr));padding:17px 15px;background:#f9f5ef}
.boutique-promise strong{font:12px Georgia,serif;letter-spacing:.11em}
.boutique-promise span{font-size:11px}
.featured-section{max-width:1320px;margin:0 auto;padding:45px 22px 16px;text-align:center}
.featured-title h2{font:32px Georgia,serif;letter-spacing:.19em;margin:5px 0;color:#4a382d}
.featured-title p{color:#88786d;font-size:13px;margin:0 0 24px}
.featured-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.featured-item{display:flex;flex-direction:column;text-decoration:none;color:#49392f;text-align:left;gap:7px;min-width:0}
.featured-item img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#f8f5f2}
.featured-item span{font-size:14px;line-height:1.4}
.featured-item strong{font-size:15px;color:#76534b}
.featured-all{display:inline-block;border:1px solid #d4c2b0;color:#4a382d;text-decoration:none;letter-spacing:.1em;font-size:12px;padding:12px 24px;margin-top:24px}
#shop{padding-top:40px}
@media(max-width:760px){.luxury-category-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px}.luxury-category-strip img{height:clamp(90px,23vw,145px)}.boutique-promise{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.boutique-promise>div{border-bottom:1px solid #e3d7ca}.boutique-promise>div:nth-child(2){border-right:0}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-item:nth-child(n+5){display:none}.featured-title h2{font-size:25px}}

/* Crisp typography and customer-provided logo — replaces lettering baked into photographs. */
.logo-brand{display:flex;align-items:center;gap:13px;text-decoration:none;min-width:max-content}
.logo-brand .brand-mark{width:104px;height:auto;display:block;object-fit:contain;border:1px solid #ead3d1}
.logo-brand .brand-wordmark{display:block;font:27px Georgia,serif;letter-spacing:.14em;color:#352821;line-height:1.15}
.logo-brand .brand-wordmark small{display:block;font:9px Arial,sans-serif;letter-spacing:.24em;margin-top:7px}
.hero{height:clamp(410px,39vw,650px);overflow:hidden;position:relative;background:#241e18;line-height:normal}
.hero-photo{position:absolute;inset:0;background:url('/an-noor-hero.jpg') center 43%/cover no-repeat;transform:scale(1.005)}
/* Cover the baked-in text on the left with a dark opaque fade, leaving the model visible on the right. */
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#201b15 0%,#201b15 38%,rgba(32,27,21,.97) 44%,rgba(32,27,21,.78) 52%,rgba(32,27,21,.15) 69%,transparent 82%)}
.hero-copy{position:relative;z-index:1;max-width:min(48%,730px);padding:clamp(45px,5.5vw,94px) 0 25px clamp(24px,5.5vw,105px);color:#fffaf4}
.hero-eyebrow{font:11px Arial,sans-serif;letter-spacing:.27em;color:#e8d4b7;margin-bottom:20px}
.hero-copy h1{font:normal clamp(46px,5.4vw,98px)/.99 Georgia,serif;letter-spacing:-.025em;margin:0 0 21px;color:#fffaf4;text-wrap:balance}
.hero-rule{height:1px;max-width:390px;background:#cfb99c;margin-bottom:20px}
.hero-copy p{font:clamp(17px,1.65vw,26px)/1.4 Georgia,serif;color:#fff5e7;margin:0 0 25px}
.hero-copy .hero-shop{position:static;display:inline-flex;align-items:center;width:auto;box-shadow:none}
.luxury-category-strip{gap:10px;padding:10px 14px}
.luxury-category-strip .category-tile{height:clamp(118px,10.5vw,176px);position:relative;display:block;isolation:isolate;background:#e9d8ca}
.category-tile .tile-art{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.01)}
.tile-abayas .tile-art{background-image:url('/category-abayas.jpg');background-size:auto 165%;background-position:left center}
.tile-hijabs .tile-art{background-image:url('/category-hijabs.jpg');background-size:auto 155%;background-position:right center}
.tile-undercaps .tile-art{background-image:url('/category-undercaps.jpg');background-size:auto 150%;background-position:right center}
.tile-accessories .tile-art{background-image:url('/category-accessories.jpg');background-size:auto 160%;background-position:right center}
.category-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(249,240,229,.98) 0%,rgba(249,240,229,.96) 50%,rgba(249,240,229,.15) 100%);z-index:0}
.tile-abayas:after{background:linear-gradient(90deg,rgba(249,240,229,.98) 0%,rgba(249,240,229,.96) 60%,rgba(249,240,229,.25) 100%)}
.category-tile .tile-label{position:absolute;z-index:1;left:17px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px;color:#352820}
.tile-label strong{font:normal clamp(17px,1.6vw,25px) Georgia,serif;letter-spacing:.03em}
.tile-label small{font:10px Arial,sans-serif;letter-spacing:.1em;white-space:nowrap}
.tile-label .tile-arrow{font-size:19px;line-height:1}
.category-tile:hover .tile-arrow{transform:translateX(4px)}
@media(max-width:1050px){.logo-brand .brand-mark{width:72px}.logo-brand .brand-wordmark{font-size:21px}.hero-copy{max-width:54%}.hero-copy h1{font-size:clamp(43px,5.3vw,65px)}}
@media(max-width:720px){
.logo-brand .brand-mark{width:65px}.logo-brand .brand-wordmark{font-size:20px}.logo-brand .brand-wordmark small{font-size:8px}
.hero{height:480px}.hero-photo{background-position:62% center}.hero-shade{background:linear-gradient(90deg,rgba(30,25,20,.98) 0%,rgba(30,25,20,.94) 48%,rgba(30,25,20,.35) 100%)}
.hero-copy{max-width:82%;padding:75px 16px 24px 24px}.hero-copy h1{font-size:clamp(43px,9vw,65px)}.hero-copy p{font-size:17px}.hero-eyebrow{font-size:9px}
.luxury-category-strip .category-tile{height:130px}.tile-label strong{font-size:19px}.tile-label small{font-size:9px}.category-tile .tile-label{left:12px}
}

/* Clear hero, prominent supplied logo, and bright category photography. */
.logo-brand{gap:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:216px}
.logo-brand .brand-mark{width:216px;max-width:100%;height:auto;min-height:26px;object-fit:contain;border:0;display:block;filter:none}
.logo-brand .brand-wordmark{font-size:0;line-height:1;margin-top:5px}
.logo-brand .brand-wordmark small{font-size:10px;letter-spacing:.22em;margin:0;color:#4c352c}
.hero-photo{background-position:center 43%;transform:none}
.hero-shade{background:linear-gradient(90deg,rgba(24,20,17,.42) 0%,rgba(24,20,17,.22) 33%,transparent 62%)}
.hero-copy{text-shadow:0 2px 9px rgba(0,0,0,.45)}
.hero-copy .hero-shop{text-shadow:none}
.category-tile:after{background:linear-gradient(90deg,rgba(249,240,229,.83) 0%,rgba(249,240,229,.72) 34%,rgba(249,240,229,.06) 66%,transparent 85%)}
.tile-abayas:after{background:linear-gradient(90deg,rgba(249,240,229,.82) 0%,rgba(249,240,229,.65) 34%,rgba(249,240,229,.04) 66%,transparent 85%)}
.tile-abayas .tile-art,.tile-hijabs .tile-art,.tile-undercaps .tile-art,.tile-accessories .tile-art{background-size:cover;background-position:center}
.tile-label strong,.tile-label small,.tile-label .tile-arrow{color:#2c241f;text-shadow:0 1px 3px rgba(255,250,245,.6)}
@media(max-width:1050px){.logo-brand{min-width:175px}.logo-brand .brand-mark{width:175px}}
@media(max-width:720px){.logo-brand{min-width:145px}.logo-brand .brand-mark{width:145px}.logo-brand .brand-wordmark small{font-size:8px}.hero-shade{background:linear-gradient(90deg,rgba(24,20,17,.55) 0%,rgba(24,20,17,.3) 60%,rgba(24,20,17,.06) 100%)}.hero-photo{background-position:63% center}.hero-copy{max-width:78%}}

/* Category cards: photographic backgrounds with exactly one layer of live text. */
.luxury-category-strip .category-tile{background:#f3e7da;isolation:isolate}
.category-tile .tile-art{background-size:cover!important;background-position:center!important;transform:none!important}
.category-tile:after,.tile-abayas:after{display:none!important}
.category-tile .tile-label{left:18px!important;right:auto;top:50%;transform:translateY(-50%);gap:5px;max-width:50%;text-shadow:none}
.tile-abayas .tile-label{left:53%!important}
.category-tile .tile-label strong{font-size:clamp(16px,1.45vw,24px);line-height:1.1;text-shadow:none}
.category-tile .tile-label small{font-size:clamp(8px,.67vw,11px);letter-spacing:.04em;white-space:normal;line-height:1.25;text-shadow:none}
.category-tile .tile-arrow{text-shadow:none}
@media(max-width:760px){
 .category-tile .tile-label{left:11px!important}
 .tile-abayas .tile-label{left:53%!important}
 .category-tile .tile-label strong{font-size:clamp(14px,3.2vw,20px)}
 .category-tile .tile-label small{font-size:9px}
}


/* Full An Noor logo: supplied transparent artwork cropped to its visible strip.
   No additional tagline is shown beneath the logo. */
.logo-brand{min-width:0;display:flex;align-items:center;justify-content:center}
.logo-brand .brand-mark{display:block;width:270px;max-width:100%;height:auto;min-height:0;object-fit:contain;border:0}
@media(max-width:950px){.logo-brand .brand-mark{width:225px}}
@media(max-width:720px){.logo-brand .brand-mark{width:175px}}

/* Family boutique story and checkout explanation */
.about-section .story-copy{max-width:760px;margin:25px auto 0}.about-section .story-copy p{max-width:760px;margin:0 auto 18px;line-height:1.85}.about-section .story-copy p:last-child{margin-top:25px;margin-bottom:0;color:#46382f}.checkout-explainer{line-height:1.6;color:#817267;margin:10px 0 22px;font-size:14px}

/* Full original An Noor floral logo — preserve the entire artwork and its aspect ratio. */
.header .logo-brand{flex:0 0 auto;min-width:0;max-width:100%;display:flex;align-items:center}
.header .logo-brand .brand-mark{width:235px;height:auto;min-height:0;max-width:100%;aspect-ratio:7/4;object-fit:contain;border:0;display:block}
@media(max-width:1050px){.header .logo-brand .brand-mark{width:190px;height:auto}}
@media(max-width:720px){.header .logo-brand .brand-mark{width:165px;height:auto}}

/* Transparent original monogram on the cream header */
.header .logo-brand .brand-mark{width:235px;aspect-ratio:auto;height:auto;object-fit:contain}
@media(max-width:1050px){.header .logo-brand .brand-mark{width:190px}}
@media(max-width:720px){.header .logo-brand .brand-mark{width:165px}}

/* Balanced compact header: preserve the complete transparent logo. */
.header{padding-top:12px;padding-bottom:12px}
.header .logo-brand .brand-mark{width:165px;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain}
@media(max-width:1050px){.header .logo-brand .brand-mark{width:145px}}
@media(max-width:720px){.header .logo-brand .brand-mark{width:125px}}

/* Larger, more readable header navigation while preserving compact logo */
@media(min-width:1001px){.main-nav a{font-size:14px;letter-spacing:.11em}}
@media(min-width:721px) and (max-width:1000px){.main-nav a{font-size:12px;letter-spacing:.07em}}
@media(max-width:720px){.main-nav a{font-size:12px;letter-spacing:.05em}}

/* Boutique collection pages and new arrivals */
.new-arrivals-section{padding:62px max(5%,24px) 45px;background:#fffdfb;text-align:center}
.new-arrivals-section .featured-grid{margin-top:30px}
.collection-page{padding-top:55px;padding-bottom:65px}
.collection-intro{text-align:center;margin:0 auto 38px;max-width:650px}
.collection-intro h1{font-family:Georgia,serif;font-size:clamp(32px,4vw,53px);font-weight:400;color:#46382f;margin:13px 0}
.collection-intro p{color:#8a786b;line-height:1.6}
.load-more-wrap{text-align:center;margin:36px 0 12px}
.load-more-wrap .btn{min-width:190px}
@media(max-width:700px){.new-arrivals-section{padding:45px 18px}.collection-page{padding-top:35px}}

.new-arrival-toggle{display:flex;align-items:center;gap:10px;justify-content:flex-start}.new-arrival-toggle input{width:18px;height:18px;flex-shrink:0}.new-arrivals-empty{grid-column:1/-1;text-align:center;padding:28px;color:#806c60;font-size:16px}

/* Approved space between banner and category tiles */
.luxury-category-strip{padding-top:40px;padding-bottom:24px;background:#fffdfa}
@media(max-width:760px){.luxury-category-strip{padding-top:24px;padding-bottom:20px}}

/* Boutique editorial New Arrivals, approved layout. The decorative imagery is
   cropped from the approved preview so no baked-in placeholder text appears. */
.new-arrivals-section{padding:42px max(3%,18px) 55px;background:#fffdfb;text-align:center}
.new-arrivals-banner{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1.55fr) minmax(0,1fr);align-items:stretch;min-height:310px;overflow:hidden;background:radial-gradient(ellipse at center,#fffdf9 15%,#f7eee5 72%,#e9d8ca 100%);border:1px solid #eee1d5}
.arrival-side{background-repeat:no-repeat;background-size:cover;min-width:0}
.arrival-side-left{background-image:url('/arrival-left.jpg');background-position:center}
.arrival-side-right{background-image:url('/arrival-right.jpg');background-position:center}
.arrival-banner-content{z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px 8px;color:#533326}
.arrival-banner-content .eyebrow{font-size:12px;letter-spacing:.32em;color:#9b7b6c}
.arrival-banner-content h2{font-family:Georgia,serif;font-weight:400;letter-spacing:.015em;font-size:clamp(44px,5.1vw,86px);line-height:1.06;margin:0;color:#54301e}
.arrival-ornament{font-size:24px;color:#ad8b7b;line-height:1}
.arrival-banner-content p{margin:0;font-size:clamp(15px,1.35vw,20px);color:#765c4d}
.arrival-subline{font-size:11px;letter-spacing:.17em;color:#9a7866}
.new-arrivals-section .featured-grid{margin:0 auto;max-width:1400px}
.new-arrivals-section .featured-grid.has-arrivals{margin-top:30px}
.new-arrivals-section .featured-grid:empty{display:none}
@media(max-width:800px){.new-arrivals-section{padding:28px 15px 38px}.new-arrivals-banner{grid-template-columns:minmax(0,.5fr) minmax(230px,2fr) minmax(0,.5fr);min-height:250px}.arrival-banner-content{padding:24px 5px;gap:9px}.arrival-subline{font-size:9px;letter-spacing:.08em}.arrival-banner-content h2{font-size:clamp(36px,6vw,58px)}}
@media(max-width:480px){.new-arrivals-banner{grid-template-columns:18% 64% 18%;min-height:230px}.arrival-side{opacity:.5}.arrival-banner-content{background:rgba(255,251,245,.75);padding:15px 2px}.arrival-banner-content h2{font-size:36px}.arrival-banner-content p{font-size:13px}.arrival-subline{font-size:8px;line-height:1.6}.arrival-banner-content .eyebrow{font-size:10px}}

.updated-footer{background:#403028;color:#f7eee5;text-align:left;padding:50px 24px 20px}.footer-grid{max-width:1150px;margin:auto;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:35px}.updated-footer h2{font:26px Georgia,serif;margin:0 0 14px}.updated-footer h3{font:19px Georgia,serif;margin:0 0 17px}.updated-footer p,.updated-footer a{font-size:13px;color:#dfcec0;line-height:1.8}.updated-footer a{display:block;text-decoration:none;margin-bottom:10px;overflow-wrap:anywhere}.updated-footer a:hover{text-decoration:underline}.footer-bottom{max-width:1150px;margin:30px auto 0;border-top:1px solid #6c5548;padding-top:18px;text-align:center;color:#d1beaf;font-size:12px}.policy-main{background:#faf7f2;padding:55px 18px 75px}.policy-article{max-width:790px;background:white;border:1px solid #e8dfd5;margin:auto;padding:clamp(24px,5vw,55px)}.policy-article h1{font-size:clamp(34px,5vw,48px)}.policy-article h2{font-size:25px;margin-top:30px}.policy-article p,.policy-article li{line-height:1.85;color:#5b5048}.policy-article li{margin-bottom:8px}.policy-article a{color:#6c534c}@media(max-width:750px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}}@media(max-width:430px){.footer-grid{grid-template-columns:1fr}}

.variant-editor{border:1px solid #e3d6cb;border-radius:12px;padding:22px;margin:25px 0;background:#fffaf6}.variant-editor h3{font:25px Georgia,serif;margin:0 0 10px}.variant-editor .actions{margin:15px 0}.variant-table{width:100%;border-collapse:collapse}.variant-table td,.variant-table th{padding:9px;text-align:left;border-bottom:1px solid #eee3da}.variant-qty{width:105px;max-width:100%;padding:9px;border:1px solid #e1d4c9}.variant-table .btn{padding:8px 10px}@media(max-width:550px){.variant-editor{padding:12px}.variant-table td,.variant-table th{padding:5px;font-size:12px}.variant-qty{width:70px}}

/* AN NOOR — coordinated editorial headings; mobile-first 2026-10-20.
   Scoped to the storefront sections; admin, product cards and checkout untouched. */
.featured-section{padding-top:25px}
.boutique-heading{text-align:center;position:relative;color:#402c29}
.boutique-heading .boutique-kicker{display:block;color:#9d7a68;font-size:10px;letter-spacing:.22em;line-height:1.5;font-weight:600}
.boutique-heading h1,.boutique-heading h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#402c29;letter-spacing:.015em;text-transform:none;line-height:1.12;margin:12px auto 13px;overflow-wrap:break-word}
.featured-title.boutique-heading h2,.collection-explore.boutique-heading h2{font-size:clamp(34px,4vw,54px);letter-spacing:.015em}
.collection-intro.boutique-heading h1{font-size:clamp(40px,5vw,62px);margin-top:12px;margin-bottom:13px}
.boutique-heading .boutique-divider{display:block;width:68px;height:2px;margin:0 auto 13px;background:#b58c77;border-radius:2px}
.boutique-heading p,.featured-title.boutique-heading p{font-size:13px;line-height:1.55;color:#806f65;margin:0 auto;max-width:340px}
.featured-title.boutique-heading{padding:25px 16px 23px;background:linear-gradient(115deg,#fffcf8,#f8f2ec,#fffcf8);border-top:1px solid #eee1d6;border-bottom:1px solid #eee1d6;margin:0 auto 22px;max-width:950px}
.collection-intro.boutique-heading{padding:29px 15px 27px;background:linear-gradient(120deg,#f4ebe2,#fbf6f0);border-top:1px solid #eaded2;border-bottom:1px solid #eaded2;max-width:950px;margin-bottom:29px}
.collection-explore.boutique-heading{padding:22px 10px 8px;margin:0 auto 12px}
#shop .tools{margin-top:18px}
@media(max-width:700px){
 .featured-section{padding:15px 15px 14px}
 .featured-title.boutique-heading{padding:23px 13px 20px;margin-bottom:19px}
 .featured-title.boutique-heading h2,.collection-explore.boutique-heading h2{font-size:clamp(33px,9vw,42px)}
 .collection-intro.boutique-heading h1{font-size:clamp(39px,10vw,48px)}
 .collection-page{padding-top:25px}
 .collection-intro.boutique-heading{padding:25px 12px 23px;margin-bottom:23px}
 .collection-explore.boutique-heading{padding:14px 4px 5px;margin-bottom:8px}
 .boutique-heading .boutique-kicker{font-size:9px;letter-spacing:.18em}
 .boutique-heading p,.featured-title.boutique-heading p{font-size:12px}
 #shop .tools{margin-top:16px}
}

/* Mobile category cards: solid text panels keep lettering off photographs. */
@media (max-width:760px) {
  .luxury-category-strip .category-tile {overflow:hidden;background:#f2e7dc}
  .luxury-category-strip .category-tile::before {content:"";position:absolute;z-index:1;inset:0 auto 0 0;width:54%;background:#f2e7dc;pointer-events:none}
  .luxury-category-strip .tile-abayas::before {left:auto;right:0;width:54%}
  .luxury-category-strip .category-tile .tile-label {box-sizing:border-box;z-index:2;left:0!important;width:54%;max-width:none;padding:8px 8px 8px 11px;gap:4px;overflow-wrap:break-word}
  .luxury-category-strip .tile-abayas .tile-label {left:46%!important;padding-left:10px;padding-right:7px}
  .luxury-category-strip .category-tile .tile-label strong {font-size:clamp(11px,3.3vw,17px);letter-spacing:0;line-height:1.15;overflow-wrap:anywhere}
  .luxury-category-strip .category-tile .tile-label small {font-size:clamp(8px,2.2vw,10px);line-height:1.25;letter-spacing:0;overflow-wrap:anywhere}
  .luxury-category-strip .category-tile .tile-arrow {font-size:17px;line-height:1}
}

/* AN NOOR: phone-width category text fit — names never split mid-word. */
@media (max-width:760px) {
 .luxury-category-strip .category-tile::before {width:60%;}
 .luxury-category-strip .category-tile .tile-label {
   width:60%; max-width:none; padding:7px 5px 7px 9px;
   gap:4px; overflow-wrap:normal; word-break:normal;
 }
 .luxury-category-strip .tile-abayas .tile-label {left:40%!important;padding-left:8px;padding-right:4px;}
 .luxury-category-strip .category-tile .tile-label strong {
   font-size:clamp(9px,2.6vw,13px);letter-spacing:-.035em;
   line-height:1.12;white-space:nowrap;overflow-wrap:normal;word-break:normal;
 }
 .luxury-category-strip .category-tile .tile-label small {
   font-size:clamp(7px,1.9vw,9px);letter-spacing:-.015em;
   line-height:1.2;overflow-wrap:normal;word-break:normal;
 }
}

/* Final mobile typography: clearer names, no broken words, photos unchanged. */
@media (max-width:760px) {
  .luxury-category-strip .category-tile::before { width:61%; }
  .luxury-category-strip .category-tile .tile-label {
    width:61%; padding:7px 5px 7px 9px; gap:5px;
  }
  .luxury-category-strip .tile-abayas .tile-label {
    left:39%!important; padding-left:8px; padding-right:4px;
  }
  .luxury-category-strip .category-tile .tile-label strong {
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(10px,2.95vw,13px);font-weight:600;
    letter-spacing:-.055em;line-height:1.2;white-space:nowrap;
  }
  .luxury-category-strip .category-tile .tile-label small {
    font-size:clamp(7.5px,2.15vw,10px);
    letter-spacing:-.03em;line-height:1.25;
    white-space:normal;overflow-wrap:normal;word-break:normal;
  }
}

/* New Arrivals: up to eight products, centered even with incomplete rows. */
.new-arrivals-section #newArrivals.featured-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px 16px}
.new-arrivals-section #newArrivals .featured-item{flex:0 1 calc((100% - 48px) / 4);min-width:0}
@media(max-width:700px){.new-arrivals-section #newArrivals .featured-item{flex-basis:calc((100% - 16px) / 2)}.new-arrivals-section #newArrivals .featured-item:nth-child(n+5){display:flex}}

/* Final New Arrivals layout: four across on desktop, centered partial rows. */
@media (min-width: 701px) {
  .new-arrivals-section #newArrivals.featured-grid {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: center !important;
    align-items: stretch;
    column-gap: 16px;
    row-gap: 24px;
  }
  .new-arrivals-section #newArrivals.featured-grid > .featured-item {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 48px) / 4) !important;
    width: calc((100% - 48px) / 4) !important;
    max-width: calc((100% - 48px) / 4) !important;
    min-width: 0;
  }
}
@media (max-width: 700px) {
  .new-arrivals-section #newArrivals.featured-grid {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: center !important;
    gap: 18px 12px;
  }
  .new-arrivals-section #newArrivals.featured-grid > .featured-item {
    box-sizing: border-box;
    display: flex !important;
    flex: 0 0 calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
    min-width: 0;
  }
}

/* Admin catalogue tools only */
.admin-product-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin:16px 0}
.admin-product-tools .field{margin:0}
.admin-product-tools select,.admin-product-tools input{width:100%;box-sizing:border-box}
@media(max-width:850px){.admin-product-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.admin-product-tools{grid-template-columns:1fr}}

/* An Noor admin: clearly grouped product editor; storefront unaffected. */
#editorSection{max-width:1000px;margin:0 auto}
#editorSection .editor-section{border:1px solid #e7dbd0;background:#fffdfb;border-radius:14px;padding:clamp(16px,3vw,26px);margin:20px 0}
#editorSection .editor-section h3{font:normal 25px Georgia,serif;color:#49332c;margin:0 0 8px}
#editorSection .editor-section>.note{margin:0 0 16px}
#editorSection .new-arrival-toggle{display:flex;align-items:flex-start;gap:12px;grid-column:1/-1;background:#f7ece2;border:1px solid #d9bfae;border-radius:10px;padding:16px;cursor:pointer}
#editorSection .new-arrival-toggle input{width:19px;height:19px;flex:0 0 19px;margin:2px 0 0;accent-color:#795647}
#editorSection .new-arrival-toggle strong{display:block;font-size:15px}
#editorSection .new-arrival-toggle small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#6d5b51}
#editorSection .editor-advanced{border:1px solid #e5d9d0;border-radius:10px;padding:14px 18px;margin:18px 0;background:#faf7f3}
#editorSection .editor-advanced summary{cursor:pointer;font-weight:600}
#editorSection .editor-advanced[open] summary{margin-bottom:14px}
#editorSection .editor-save-actions{border-top:1px solid #e7dbd0;padding-top:20px;margin-top:22px}
@media(max-width:600px){#editorSection .editor-section{padding:15px}#editorSection .editor-section h3{font-size:22px}}

/* Admin-only description editor */
.description-editor{margin-top:18px}
.description-toolbar{display:flex;gap:6px;flex-wrap:wrap;border:1px solid #e5d8cd;border-bottom:0;border-radius:10px 10px 0 0;padding:10px;background:#faf5f0}
.description-toolbar button{background:#fff;border:1px solid #e4d8cd;border-radius:5px;padding:9px 12px;color:#42342e;cursor:pointer;font:inherit}
.description-toolbar button:hover,.description-toolbar button:focus-visible{background:#efe5dc}
.description-editable,.description-preview{border:1px solid #e5d8cd;border-radius:0 0 10px 10px;min-height:190px;padding:18px 20px;background:#fff;color:#322c28;line-height:1.65;overflow-wrap:anywhere}
.description-editable:focus{outline:2px solid #a98c79;outline-offset:-2px}
.description-editable:empty:before{content:attr(data-placeholder);color:#94847b}
.description-editable ul,.description-preview ul{list-style:disc;padding-left:24px}
.description-editable ol,.description-preview ol{list-style:decimal;padding-left:24px}
.description-editable p,.description-preview p{margin:0 0 12px}
.description-editable li,.description-preview li{margin:4px 0}
.description-preview{background:#fffdfb}

/* Photo manager: clean admin layout; all original photo controls remain functional. */
#editorSection .photo-manager{display:flex;flex-direction:column;gap:16px}
#editorSection .photo-manager>.image-upload{width:100%;max-width:none;min-width:0;box-sizing:border-box}
#editorSection .photo-manager .image-preview{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch}
#editorSection .photo-manager .photo-advanced{border:1px solid #e7dbd0;border-radius:10px;background:#faf7f3;padding:14px 16px}
#editorSection .photo-manager .photo-advanced summary{cursor:pointer;font-weight:600;color:#49332c}
#editorSection .photo-manager .photo-advanced[open] summary{margin-bottom:12px}
#editorSection .photo-manager .photo-advanced textarea{width:100%;box-sizing:border-box;min-height:110px;margin-top:8px}

/* Quick Stock Editor — admin only */
.quick-stock-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 22px}
.quick-stock-filters input,.quick-stock-filters select{width:100%;box-sizing:border-box}
.quick-stock-table{width:100%;border-collapse:collapse}
.quick-stock-table th,.quick-stock-table td{text-align:left;padding:12px 14px;border-bottom:1px solid #e9ded5}
.quick-stock-table .quick-stock-qty{width:110px;max-width:100%;box-sizing:border-box;padding:10px}
#stockWorkspace{padding:20px;border:1px solid #e9ded5;border-radius:14px}
#stockFeedback{min-height:1.5em}
@media(max-width:640px){.quick-stock-filters{grid-template-columns:1fr}.quick-stock-table th,.quick-stock-table td{padding:9px 7px}.quick-stock-table .quick-stock-qty{width:75px}}

.admin-product-tools{grid-template-columns:repeat(5,minmax(0,1fr))}
#pStock[readonly]{background:#f6f0ea;color:#55463e;cursor:default}
@media(max-width:1100px){.admin-product-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.admin-product-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.admin-product-tools{grid-template-columns:1fr}}
