/* Single authoritative customer storefront. Replaces both superseded design sheets. */
/* Approved BAYA storefront direction: ivory, burgundy and generous photography. */
body{background:#fcf9f4}
header{background:#fcf9f4}
main{max-width:1440px}
.storefront-search{display:flex;align-items:center;gap:15px;max-width:680px;margin:22px auto 0;padding:5px 16px;background:#fff;border:1px solid #e3d8d4;border-radius:12px;color:#72656a}
.storefront-search span{font-size:14px;white-space:nowrap}
.storefront-search input{border:0;background:transparent;min-width:0;padding-inline:0}
@media(max-width:620px){.storefront-search{gap:8px}.storefront-search span{font-size:12px}.storefront-search input{min-height:40px}}
#shop .campaign{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:420px;margin-top:24px;overflow:hidden;border-radius:20px;background:#eadccd}
#shop .campaign .brand-art{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}
#shop .campaign:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(35,13,20,.78),rgba(35,13,20,.22) 45%,transparent 85%)}
html[dir=ltr] #shop .campaign:after{transform:scaleX(-1)}
#shop .campaign-heading{text-align:start;padding:40px;grid-column:1;max-width:510px}
#shop .campaign .eyebrow{color:#fff;font-size:11px;letter-spacing:.15em}
#shop .campaign h1{color:#fff;font-size:clamp(30px,3.3vw,46px);line-height:1.55;margin:16px 0}
#shop .campaign p{font-size:16px;color:#fff;max-width:30ch}
#shop .campaign-bottom{grid-column:1;border:0;padding:0 40px 38px;display:block}
#shop .campaign-bottom>span{display:none}
#shop .campaign-bottom a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 26px;background:#fcf9f4;border:0;border-radius:999px;color:#64162e;box-shadow:0 5px 20px #1d081d26}
#shop .browse-categories{padding-top:32px}
#abaya-categories{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:4px 2px 12px}
#shop .filters{padding:18px;background:#f4eee8;border:1px solid #eadfd7;border-radius:16px;gap:12px}
#shop .filters input,#shop .filters select{border-radius:9px;background:white}
#shop .filters .button{border-radius:9px}
#shop .section-heading{margin-top:32px}
.catalog{gap:26px 18px}
.catalog .product-card h3,.catalog .product-card>small,.catalog .product-card>strong,.catalog .product-card>.product-tailoring-link{margin-inline:12px}
.catalog .product-card h3{line-height:1.65;margin-top:12px;margin-bottom:5px}
.catalog .product-card>strong{display:block;margin-top:8px;font-weight:700}
.catalog .product-card img{border-radius:0;transition:none}
.catalog .product-card:hover img{transform:none}
.catalog .tailoring-card-actions{margin-inline:12px}
#merchant-browser{padding:28px 0;border:0;background:transparent;margin:24px 0}
#merchant-browser .store-section-heading{margin-bottom:18px}
.customer-store-grid .store-preview{height:230px;aspect-ratio:3/4;width:100%;border-radius:0;display:block;margin:0 0 14px;overflow:hidden}
.customer-store-grid .store-preview img{width:100%;height:100%;object-fit:cover}
.customer-store-grid strong,.customer-store-grid small{margin-inline:12px}
.boutique-benefit{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px;padding:26px 30px;border-radius:16px;background:#64162e;color:#fff}
.boutique-benefit h2{color:inherit;font-size:26px;margin:0 0 7px}
.boutique-benefit p{color:#fff;margin:0;font-size:14px}
.boutique-benefit a{border:1px solid #ffffff80;border-radius:9px;padding:12px 20px;white-space:nowrap}
footer{background:#64162e;color:#fff;border:0;padding:44px 24px 32px}
footer .brand,footer p,footer small,footer .social-links a{color:#fff}
footer .footer-links{max-width:840px;gap:0;border-block:1px solid #ffffff30;padding:14px 0;line-height:2.8}
footer .footer-links a{padding:0 16px}
footer .social-links a{min-width:44px;min-height:44px;justify-content:center}
@media(min-width:1000px){#shop .catalog{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){
 header{padding-top:14px;padding-bottom:14px}header nav{padding-top:12px}
 main{padding-inline:18px}
 #shop .campaign{min-height:360px;margin-top:18px;border-radius:16px;grid-template-columns:1fr 22%}
 #shop .campaign .brand-art{object-position:58% center}
 #shop .campaign-heading{padding:25px 22px 10px}
 #shop .campaign h1{color:#fff;font-size:29px;line-height:1.6;margin:12px 0}
 #shop .campaign p{font-size:14px;max-width:24ch}
 #shop .campaign-bottom{padding:8px 22px 25px;font-size:14px}
 #shop .campaign-bottom a{padding:13px 20px}
 #shop .filters{padding:14px;gap:10px;margin-top:20px}
 .catalog{gap:18px 12px}.catalog .product-card h3{font-size:14px}.catalog .product-card>small{font-size:11px}
 .customer-store-grid .store-preview{height:205px}
 .boutique-benefit{padding:24px 20px;display:block}.boutique-benefit h2{font-size:23px}.boutique-benefit a{display:inline-block;margin-top:17px}
 footer .footer-links{display:grid;grid-template-columns:1fr 1fr;text-align:start}footer .footer-links a{padding:6px 8px;line-height:1.8}
}
@media(prefers-reduced-motion:no-preference){.catalog .product-card{transition:box-shadow .2s}.catalog .product-card:hover{box-shadow:0 8px 24px #64162e16}}
/* Photo circles, boutique medallions and motion from the approved reference. */
#shop #abaya-categories{gap:20px;padding:10px 3px 18px;align-items:start;scroll-snap-type:x proximity}
#shop #abaya-categories .photo-category{display:flex;flex:0 0 96px;flex-direction:column;align-items:center;gap:10px;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;color:#64162e!important;white-space:normal;scroll-snap-align:center}
.category-photo{display:grid;place-items:center;position:relative;isolation:isolate;width:88px;height:88px;border-radius:50%;overflow:hidden;background:#e9dfd3;outline:1px solid transparent;outline-offset:4px}
#shop #abaya-categories .category-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 15%;border-radius:0}
/* Paired trial photos contain a model in their left half. Preserve the source aspect
   ratio and leave headroom instead of vertically cropping it into a 2:1 box. */
#shop #abaya-categories .paired-category-photo{background:#eee9df}
#shop #abaya-categories .paired-category-photo img{position:absolute;inset:0 auto auto -12.5%;width:250%;height:auto;max-width:none;object-fit:contain;object-position:left top}
.category-caption{font-size:13px;line-height:1.6;min-height:2.8em;text-align:center}
#shop #abaya-categories .photo-category[aria-pressed=true] .category-photo{outline:2px solid #64162e;box-shadow:0 0 0 6px #fcf9f4}
#shop #abaya-categories .photo-category[aria-pressed=true] .category-caption{font-weight:700}
.catalog .tailoring-card-shell,.catalog .design-product-shell{position:relative;background:transparent;border:0;box-shadow:none;padding:0 0 10px;overflow:visible}
.catalog .product-card,.catalog .tailoring-card-shell>.product-card{border:0;box-shadow:none;background:transparent;border-radius:0;padding:0;overflow:visible}
.catalog .tailoring-product-media,.catalog .trial-media{border-radius:10px!important;overflow:hidden}
.catalog .catalog-heart{position:absolute;inset:6px auto auto 6px;z-index:4;width:38px;height:38px;padding:9px;border:0;border-radius:50%;background:#fffcf6ed;color:#30242a;box-shadow:0 2px 10px #30242a12}
.catalog-heart svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5}
.catalog-heart[aria-pressed=true]{color:#64162e}.catalog-heart[aria-pressed=true] svg{fill:currentColor}
.catalog-swatches{display:flex;justify-content:center;gap:7px;margin:8px 0}
.catalog-swatch{display:grid;place-items:center;width:12px;height:12px;border-radius:50%;background:var(--swatch,#fcf9f4);border:2px solid #fcf9f4;outline:1px solid #c7b9ad;font-size:7px;color:#64162e}
.catalog .catalog-inset{position:absolute!important;inset:auto 7px 7px auto!important;width:24%!important;height:29%!important;aspect-ratio:3/4!important;border:2px solid #fffaf4;border-radius:7px!important;object-fit:contain!important;background:#f4eee5;z-index:2;transform:none!important}
.catalog .paired-catalog-cover>img{position:absolute;inset:0 auto 0 0;width:200%;max-width:none;height:100%;object-fit:cover;object-position:left top}
.catalog-paired-inset{position:absolute;inset:auto 7px 7px auto;width:24%;height:29%;border:2px solid #fffaf4;border-radius:7px;overflow:hidden;background:#f4eee5;z-index:2}
.catalog .catalog-paired-inset img{position:absolute;inset:0 0 0 auto;width:200%;max-width:none;height:100%;object-fit:cover;object-position:right top;transform:none!important}
.catalog .tailoring-card-shell .tailoring-stock{inset-inline-start:50px;inset-inline-end:auto;max-width:calc(100% - 62px);font-size:10px;padding:5px 7px}
.customer-store-grid .store-preview{margin-bottom:0;border-radius:12px!important}
.customer-store-grid button{position:relative;border:0;background:transparent;box-shadow:none;overflow:visible;text-align:center;padding-bottom:4px}
.boutique-initial{display:grid;place-items:center;position:relative;z-index:1;width:46px;height:46px;margin:-23px auto 8px;border:1px solid #bda382;border-radius:50%;background:#fcf9f4;color:#64162e;font:24px Georgia,'El Messiri',serif;box-shadow:0 2px 8px #30242a10}
.customer-store-grid button[aria-pressed=true] .boutique-initial{background:#64162e;color:white}
.customer-store-grid strong{font-size:14px;font-weight:500}.customer-store-grid small{font-size:11px}
.boutique-dots{display:flex;justify-content:center;gap:2px;margin:8px 0}.boutique-dots button{display:grid;place-items:center;width:28px;height:28px;padding:9px;border:0;background:transparent;border-radius:50%}.boutique-dots button:after{content:"";display:block;width:7px;height:7px;background:#c8bdb5;border-radius:50%}.boutique-dots button[aria-current=true]:after{background:#64162e}
#merchant-browser .store-rail-controls{display:none}
.customer-store-grid{scroll-snap-type:x mandatory;scroll-padding-inline:8px}.customer-store-grid button{scroll-snap-align:center}
.baya-mobile-nav{display:none}
.boutique-benefit{border-radius:0;padding-block:30px;margin-inline:-18px;padding-inline:24px}
@media(min-width:621px){.boutique-benefit{margin-inline:0;border-radius:12px}}
@media(max-width:620px){
 body{padding-bottom:100px}header nav{display:none}header{padding-block:13px}header .brand{font-size:35px}header .brand small{font-size:8px}
 .baya-mobile-nav{display:flex;position:fixed;inset:auto 12px max(9px,env(safe-area-inset-bottom));z-index:25;justify-content:space-around;align-items:center;gap:4px;background:#fffcf8f7;border:1px solid #e9e0d9;border-radius:24px;padding:7px 9px;box-shadow:0 4px 18px #30242a20;backdrop-filter:blur(12px)}
 .baya-mobile-nav a{display:flex;flex:1;flex-direction:column;align-items:center;gap:5px;min-height:53px;padding:6px 4px;border-radius:18px;font-size:11px;color:#30242a}
 .baya-mobile-nav a[aria-current=page]{color:#64162e;background:#f0e7e3;font-weight:700}.baya-mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 #baya-floating-bag{bottom:94px!important}
 #shop #abaya-categories{gap:13px}#shop #abaya-categories .photo-category{flex-basis:76px}.category-photo{width:70px;height:70px}.category-caption{font-size:12px}
 #shop .browse-categories{padding-top:20px}#shop .browse-categories>h2{font-family:Tajawal,sans-serif;font-size:15px;font-weight:700;margin:0 0 12px}
 #shop #abaya-categories{padding-block:6px 8px}.category-caption{min-height:22px}#shop .section-heading{margin-top:24px}
 #shop .catalog .product-card h3{font-size:13px;line-height:1.5;margin-top:9px}.catalog .product-card>small{font-size:11px}.catalog .product-card>strong{font-size:14px;font-weight:500}
 .catalog{gap:24px 12px}.catalog .tailoring-card-actions{margin:10px 0 0}.catalog .tailoring-card-button{font-size:12px;padding:8px 5px}
 .catalog .catalog-heart{width:34px;height:34px;padding:8px}
 .customer-store-grid .store-preview{height:190px}.boutique-initial{width:42px;height:42px;margin-top:-21px}
}
@media(prefers-reduced-motion:no-preference){
 html{scroll-behavior:smooth}
 .category-photo{transition:transform .25s cubic-bezier(.2,.8,.2,1),outline-color .2s,box-shadow .2s}
 .photo-category:hover .category-photo{transform:translateY(-4px)}.photo-category:active .category-photo{transform:scale(.93)}
 .photo-category[aria-pressed=true] .category-photo{animation:baya-circle-select .4s ease-out}
 .catalog .tailoring-card-shell,.catalog .design-product-shell{animation:baya-photo-appear .45s ease-out}
 .catalog .tailoring-product-media>img:not(.catalog-inset){transition:transform .45s ease}.catalog .product-card:hover .tailoring-product-media>img:not(.catalog-inset){transform:scale(1.035)}
 .catalog-heart{transition:transform .2s,background .2s}.catalog-heart:active{transform:scale(.86)}.catalog-heart[aria-pressed=true]{animation:baya-circle-select .35s}
 .customer-store-grid .store-preview{transition:transform .35s}.customer-store-grid button:hover .store-preview{transform:translateY(-4px)}.boutique-dots button:after{transition:transform .25s,background .25s}.boutique-dots button[aria-current=true]:after{transform:scale(1.25)}
 @keyframes baya-circle-select{0%{transform:scale(.9)}65%{transform:scale(1.05)}100%{transform:scale(1)}}
 @keyframes baya-photo-appear{from{opacity:.3}to{opacity:1}}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.photo-category,.category-photo,.catalog-heart{animation:none!important;transition:none!important}}

/* Stable, non-interactive placeholders while the current catalogue is fetched. */
#shop #abaya-categories{min-height:136px}
.category-skeleton{display:flex;min-height:134px;flex:0 0 96px;align-items:center;flex-direction:column;gap:10px}
.category-skeleton>span{width:88px;height:88px;border-radius:50%;background:#e9e2da}
.category-skeleton i{display:block;width:52px;height:12px;margin-top:5px;background:#e9e2da;border-radius:6px}
.catalog-skeleton>span{display:block;width:100%;aspect-ratio:3/4;border-radius:10px;background:#e9e2da}
.catalog-skeleton i{display:block;width:75%;height:13px;margin:14px auto;background:#e9e2da;border-radius:6px}
.catalog-skeleton i:last-child{width:40%;height:11px}
@media(max-width:620px){#shop #abaya-categories{min-height:112px}.category-skeleton{flex-basis:76px;min-height:102px}.category-skeleton>span{width:70px;height:70px}}

.storefront-load-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
