/* MicroStore-only layout. The catalog, builder, checkout and shared shell stay unchanged. */
body.microstore-refined.bhc-shell .ms-wrap{width:100%;max-width:1480px;margin-inline:auto;padding:0 26px;box-sizing:border-box}
body.microstore-refined .ms-eyebrow{font-size:9px;line-height:1.4;letter-spacing:.13em;color:#b7cbea;margin:0 0 7px}
body.microstore-refined .ms-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px 24px;padding:22px 0 18px}
body.microstore-refined .ms-intro>div:first-child{min-width:0}
body.microstore-refined .ms-intro h1{font-size:clamp(22px,2.25vw,33px);line-height:1.16;letter-spacing:-.035em;margin:0;color:#f1f7ff}
body.microstore-refined .ms-intro .ms-intro-tagline{max-width:650px;font-size:clamp(15px,1.5vw,19px);font-weight:650;line-height:1.4;color:#c4d3e8;margin:7px 0 0}
body.microstore-refined .ms-intro-offer{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:100%;margin:0;text-align:right}
body.microstore-refined .ms-intro-offer>p{font-size:11px;line-height:1.5;margin:0;color:#c4d3e8}
body.microstore-refined .ms-intro-offer strong{font-size:15px;line-height:1.4;font-weight:650;letter-spacing:-.015em;color:#edf5ff}
body.microstore-refined .ms-intro-offer nav{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap}
body.microstore-refined :is(.ms-intro-offer nav,.ms-experience-footer nav,.ms-detail-footer nav){display:flex;align-items:center;gap:14px;flex-wrap:wrap}
body.microstore-refined :is(.ms-intro-offer nav,.ms-experience-footer nav,.ms-detail-footer nav) a,body.microstore-refined .ms-manager-details{display:inline-flex;align-items:center;gap:5px;min-height:26px;font-size:11px;line-height:1.35;font-weight:650;color:#edf5ff;text-decoration:none}
body.microstore-refined :is(.ms-intro-offer nav,.ms-experience-footer nav,.ms-detail-footer nav) a:hover,body.microstore-refined .ms-manager-details:hover{text-decoration:underline;text-underline-offset:3px}
body.microstore-refined :is(.ms-intro-offer,.ms-experience-footer,.ms-manager-details,.ms-detail-footer) svg{width:13px;height:13px;flex:none}
body.microstore-refined .ms-experiences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.microstore-refined .ms-experience{min-width:0;display:flex;flex-direction:column}
body.microstore-refined .ms-experience-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 8px}
body.microstore-refined .ms-experience-heading h2{margin:0;font-size:15px;line-height:1.3;font-weight:700;letter-spacing:.01em;color:#f1f7ff}
body.microstore-refined .ms-experience-heading h2 a{color:inherit;text-decoration:none}
body.microstore-refined .ms-experience-heading>span{font-size:10px;line-height:1.4;color:#c4d3e8;text-align:right}
body.microstore-refined .ms-experience-card{display:flex;flex:1;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #91aed34d;border-radius:14px;background:#071522b8;box-shadow:inset 0 1px #d8edff14,0 10px 30px #01061638;backdrop-filter:blur(3px)}
/* Both complete landscape captures share the taller native-ratio slot. No crop or enlarged background. */
body.microstore-refined .ms-experience-image{display:grid;place-items:center;width:calc(100% - 16px);min-width:0;aspect-ratio:1652/933;margin:8px;overflow:hidden;background:transparent;border-radius:7px}
body.microstore-refined .ms-experience-image img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;transition:filter .18s}
body.microstore-refined .ms-experience-image:hover img{filter:brightness(1.08)}
body.microstore-refined .ms-experience-footer{display:flex;flex-direction:column;gap:4px;margin-top:auto;padding:9px 13px 10px;background:#09172780}
body.microstore-refined .ms-experience-footer p{margin:0;font-size:11px;line-height:1.6;color:#c7d6e9;overflow-wrap:anywhere}
body.microstore-refined.bhc-shell .ms-section{padding:26px 0}
body.microstore-refined.bhc-shell .ms-section-head{margin-bottom:12px;gap:20px}
body.microstore-refined.bhc-shell .ms-section-head h2,body.microstore-refined .ms-manager-heading h2{font-size:23px;line-height:1.2;letter-spacing:-.03em;margin:0;color:#eef5ff}
body.microstore-refined.bhc-shell .ms-section-head>p,body.microstore-refined .ms-manager-heading>p{font-size:10px;line-height:1.6;color:#c3d1e5;margin:0}
body.microstore-refined .ms-pricing{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.microstore-refined.bhc-shell[data-storefront-shell] .ms-plan{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"badge badge" "name monthly" "description setup" "features features" "total action";grid-template-rows:auto auto auto 1fr auto;gap:4px 12px;align-items:start;padding:14px;border:1px solid #91aed34d;border-radius:13px;background:#071522b8;background-image:none;box-shadow:inset 0 1px #d8edff14;backdrop-filter:blur(3px)}
body.microstore-refined.bhc-shell[data-storefront-shell] .ms-plan[data-plan=business]{border-color:#94b6e38c}
body.microstore-refined.bhc-shell .ms-plan-badge{grid-area:badge;font-size:8px;line-height:1.4;color:#b7cbea;margin:0;min-height:0;letter-spacing:.09em}
body.microstore-refined.bhc-shell .ms-plan h3{grid-area:name;align-self:center;font-size:18px;line-height:1.3;color:#fff;margin:0}
body.microstore-refined.bhc-shell .ms-plan>p{grid-area:description;min-height:0;font-size:10px;line-height:1.5;color:#c3d1e5;margin:0}
body.microstore-refined .ms-plan .ms-monthly{grid-area:monthly;justify-self:end;align-self:center;white-space:nowrap;margin:0;gap:3px}
body.microstore-refined .ms-plan .ms-monthly strong{font-size:24px;line-height:1.05;letter-spacing:-.04em;color:#f7faff}
body.microstore-refined .ms-plan .ms-monthly span,body.microstore-refined .ms-plan .ms-setup{font-size:10px;color:#c3d1e5}
body.microstore-refined .ms-plan .ms-setup{grid-area:setup;justify-self:end;text-align:right;line-height:1.5}
body.microstore-refined.bhc-shell .ms-plan ul{grid-area:features;padding:6px 0;margin:0;font-size:10px;line-height:1.5;color:#d3deed}
body.microstore-refined .ms-plan li{padding:2px 0}
body.microstore-refined .ms-plan li:before{color:#a4d5ff;margin-right:7px}
body.microstore-refined.bhc-shell .ms-plan>small.ms-fine{grid-area:total;align-self:center;font-size:9px!important;line-height:1.6;margin:0;color:#c3d1e5}
body.microstore-refined.bhc-shell .ms-plan .ms-button{grid-area:action;justify-self:end;align-self:center;width:auto;min-height:32px;margin-top:0!important;padding:3px 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:11px!important;color:#eff6ff;font-weight:750}
body.microstore-refined .ms-plan .ms-button:hover{text-decoration:underline;text-underline-offset:3px}
/* Same purple-blue heading treatment as flagship-pass5.css. */
body.microstore-refined .ms-intro .ms-intro-tagline,body.microstore-refined.bhc-shell #pricing h2,body.microstore-refined.bhc-shell .ms-plan h3{width:fit-content;max-width:100%;background:linear-gradient(95deg,#b78aff 4%,#8ca2ff 52%,#79dcfb 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
/* Match the intro title, offer and actions without changing their geometry. */
body.microstore-refined .ms-intro h1,body.microstore-refined .ms-intro .ms-intro-offer strong,body.microstore-refined .ms-intro .ms-intro-offer a{background:linear-gradient(95deg,#b78aff 4%,#8ca2ff 52%,#79dcfb 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body.microstore-refined .ms-intro .ms-intro-offer a,body.microstore-refined .ms-intro .ms-intro-offer a:hover{text-decoration-color:#8ca2ff}
body.microstore-refined .ms-intro .ms-intro-offer a svg{color:#79dcfb}
body.microstore-refined .ms-intro .ms-intro-offer a:focus-visible{outline:2px solid #79dcfb;outline-offset:4px}
@media(forced-colors:active){
 body.microstore-refined .ms-intro h1,body.microstore-refined .ms-intro .ms-intro-tagline,body.microstore-refined .ms-intro .ms-intro-offer strong{background:none;color:CanvasText}
 body.microstore-refined .ms-intro .ms-intro-offer a,body.microstore-refined .ms-intro .ms-intro-offer a:hover{background:none;color:LinkText;text-decoration-color:LinkText}
 body.microstore-refined .ms-intro .ms-intro-offer a svg{color:LinkText}
 body.microstore-refined .ms-intro .ms-intro-offer a:focus-visible{outline-color:Highlight}
}
body.microstore-refined #pricing>.ms-fine{color:#c3d1e5;margin:11px 0 0;font-size:10px;line-height:1.65}
body.microstore-refined .ms-manager-showcase{padding:0 0 26px;border-bottom:1px solid #8daaca36}
body.microstore-refined .ms-manager-heading{align-items:end;margin-bottom:12px;gap:20px}
body.microstore-refined .ms-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.microstore-refined.bhc-shell[data-storefront-shell] .ms-manager-card{border:1px solid #91aed34d!important;border-radius:12px!important;background:#071522b8!important;box-shadow:inset 0 1px #d8edff14;backdrop-filter:blur(3px)}
/* The manager captures have wide empty side gutters. Pull their central interface
   forward on the landing card; the popup always retains the entire original image. */
body.microstore-refined .ms-manager-visual{position:relative;width:calc(100% - 16px);margin:8px;border:0;border-radius:7px;background:#f4f6fb;cursor:zoom-in;aspect-ratio:1.65;display:block;overflow:hidden}
body.microstore-refined .ms-manager-visual img{position:absolute;left:-25%;top:-6%;display:block;width:150%;height:auto;max-width:none;aspect-ratio:auto;object-fit:contain;background:transparent}
body.microstore-refined .ms-manager-copy{padding:7px 13px 11px!important}
body.microstore-refined .ms-manager-copy>span{font-size:7px;letter-spacing:.1em;color:#b7cbea}
body.microstore-refined .ms-manager-copy h3{font-size:14px;line-height:1.35;margin:5px 0;color:#edf5ff}
body.microstore-refined .ms-manager-copy p{font-size:10px;line-height:1.6;color:#c3d1e5;margin:0 0 5px}
body.microstore-refined .ms-manager-details{font-size:11px}
body.microstore-refined .ms-after{border-color:#8daaca36}
/* Light PM-2 details mirror Studio. The shared dark PM-1 page is untouched. */
body.microstore-refined .ms-detail{box-sizing:border-box;width:min(1440px,calc(100vw - 48px));max-width:1440px;max-height:calc(100dvh - 48px);margin:auto;padding:18px;border:1px solid #d8edffbd;border-radius:22px;color:#102d45;background:linear-gradient(125deg,#d7eafa24,#5187b61f),url('/assets/flagship/wallpaper/ChatGPT%20Image%20Oct%2010,%202026,%2001_24_02%20PM-2.png') center/cover;box-shadow:inset 0 1px #fff9,0 30px 100px #0109169c;overflow:auto}
body.microstore-refined .ms-detail::backdrop{background:#020913b8;backdrop-filter:blur(3px)}
body.microstore-refined .ms-detail-close{position:absolute;right:18px;top:18px;display:grid;place-items:center;border:1px solid #c8e5faf0;border-radius:50%;width:40px;height:40px;padding:0;background:linear-gradient(145deg,#edf8ffeb,#bedbf2db);color:#173a56;box-shadow:inset 0 1px #fff9,0 5px 16px #123c5826;z-index:2;cursor:pointer}
body.microstore-refined .ms-detail-close svg{width:18px;height:18px}
body.microstore-refined .ms-detail-heading{max-width:calc(100% - 54px);margin:0 54px 14px 0;padding:0;background:none}
body.microstore-refined .ms-detail-heading :is(.ms-eyebrow,h2,p){color:#111;text-shadow:0 1px #edf8ff,1px 0 #edf8ff,0 -1px #edf8ff,-1px 0 #edf8ff,0 0 4px #edf8ff}
body.microstore-refined .ms-detail-heading h2{font-size:clamp(25px,3vw,40px);line-height:1.1;letter-spacing:-.035em;margin:4px 0 0;background:none}
body.microstore-refined .ms-detail-heading [data-ms-description]{font-size:12px;line-height:1.6;margin:8px 0 0}
body.microstore-refined .ms-detail-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(240px,1fr);gap:20px;align-items:start}
body.microstore-refined .ms-detail-media{margin:0;min-width:0;border:1px solid #e5f5ffb8;border-radius:14px;background:linear-gradient(145deg,#d7ebf84f,#a9cce654);box-shadow:inset 0 1px #fff9;backdrop-filter:blur(10px);padding:10px;overflow:hidden}
body.microstore-refined [data-ms-image]{position:relative;height:clamp(260px,34vw,500px);display:grid;place-items:center;min-width:0;overflow:hidden;border-radius:7px;background:#0a1b2a18}
body.microstore-refined [data-ms-image] img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
body.microstore-refined [data-ms-image] p{position:absolute;inset:30% 10%;text-align:center;line-height:1.5;color:#173c56;background:#edf8ffeb;border-radius:8px;padding:12px}
body.microstore-refined .ms-detail-media figcaption{font-size:10px;line-height:1.5;text-align:center;color:#193e59;margin-top:9px}
body.microstore-refined .ms-detail-copy{min-width:0;border:1px solid #d7efff70;border-radius:14px;background:linear-gradient(145deg,#03101d94,#06162499);box-shadow:inset 0 1px #d6efff40,0 8px 26px #10283d26;backdrop-filter:blur(2px);padding:20px;max-height:calc(clamp(260px,34vw,500px) + 45px);overflow:auto}
body.microstore-refined .ms-detail-copy h3{font-size:15px;line-height:1.35;color:#fff;margin:0 0 8px}
body.microstore-refined .ms-detail-copy h3:not(:first-child){padding-top:18px;border-top:1px solid #d7efff40}
body.microstore-refined .ms-detail-copy p{font-size:12px;line-height:1.7;color:#fff;text-shadow:0 1px 2px #06142180;margin:0 0 18px}
body.microstore-refined .ms-detail-copy p:last-child{margin-bottom:0}
body.microstore-refined .ms-detail-footer{display:flex;justify-content:space-between;align-items:center;gap:8px 18px;flex-wrap:wrap;margin-top:14px;background:none;text-shadow:0 1px 2px #edf8ff,0 0 5px #edf8ff}
body.microstore-refined .ms-detail-footer p{font-size:10px;color:#254f6b;line-height:1.6;margin:0}
body.microstore-refined .ms-detail-footer nav a{color:#163b56}
body.microstore-refined .ms-detail :focus-visible{outline:3px solid #1766a4;outline-offset:3px}
body.microstore-refined.ms-modal-open{overflow:hidden}
@media(max-width:1000px){
 body.microstore-refined .ms-pricing{grid-template-columns:1fr}
 body.microstore-refined.bhc-shell .ms-plan ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
 body.microstore-refined .ms-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.microstore-refined .ms-detail-layout{grid-template-columns:1fr}
 body.microstore-refined .ms-detail-copy{max-height:none}
 body.microstore-refined [data-ms-image]{height:clamp(230px,48vw,440px)}
}
@media(max-width:760px){
 body.microstore-refined.bhc-shell .ms-wrap{padding-inline:18px}
 body.microstore-refined .ms-intro{grid-template-columns:1fr;gap:12px;padding:20px 0 18px}
 body.microstore-refined .ms-intro-offer{align-items:flex-start;text-align:left}
 body.microstore-refined .ms-intro-offer nav{justify-content:flex-start}
 body.microstore-refined .ms-experiences{grid-template-columns:1fr;gap:18px}
 body.microstore-refined .ms-manager-grid{grid-template-columns:1fr}
 body.microstore-refined .ms-pricing{grid-template-columns:1fr}
 body.microstore-refined.bhc-shell .ms-plan>p{min-height:0}
 body.microstore-refined.bhc-shell .ms-plan ul{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
 body.microstore-refined .ms-manager-heading{align-items:flex-start;flex-direction:column;gap:10px}
 body.microstore-refined .ms-detail{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:16px;border-radius:16px}
 body.microstore-refined .ms-detail-close{top:14px;right:14px;width:34px;height:34px}
 body.microstore-refined .ms-detail-heading{max-width:calc(100% - 42px);margin-right:42px}
 body.microstore-refined .ms-detail-layout{gap:12px}
 body.microstore-refined [data-ms-image]{height:clamp(170px,52vw,360px)}
 body.microstore-refined .ms-detail-copy{padding:16px}
}
@media(max-width:420px){
 body.microstore-refined.bhc-shell .ms-wrap{padding-inline:12px}
 body.microstore-refined .ms-manager-grid{grid-template-columns:1fr}
 body.microstore-refined.bhc-shell .ms-plan ul{grid-template-columns:1fr}
 body.microstore-refined .ms-experience-heading>span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){body.microstore-refined .ms-experience-image img{transition:none}}
