/* Shared controls, storefront editorial layout and the complete owner shell. */
body .demo-banner{background:var(--cream);color:var(--muted)}
body .flash:not(.alert){background:var(--gold-soft);border-left-color:var(--accent);color:var(--ink)}
.ui-icon{width:21px;height:21px;flex:none;display:block}
body .button.button{min-height:48px;padding:12px 22px;gap:10px;font-size:14px;font-weight:600;letter-spacing:0;line-height:1.4;border:1px solid var(--action);border-radius:var(--button-radius,5px);box-shadow:0 2px 3px #241f1710;transition:background .15s,box-shadow .15s,transform .15s}
body .button.button:hover{box-shadow:0 4px 10px #241f1718;transform:translateY(-1px)}
body .button.button:active{transform:translateY(0);box-shadow:none}
body .button.secondary{background:var(--white);color:var(--action);border-color:var(--line);box-shadow:0 1px 2px #241f1708}
body .button.secondary:hover{background:var(--cream);border-color:var(--control-border);color:var(--action)}
body .button.small{min-height:44px;padding:10px 16px;font-size:13px}
body .button .ui-icon{width:18px;height:18px}
body .button:disabled{box-shadow:none;transform:none}
.store-body .wrap{width:min(1360px,calc(100% - 96px))}
.store-body .top-note{font-size:11px;padding:9px;background:var(--gold-soft);color:var(--gold-text);letter-spacing:.2px}
.store-body .store-header{height:104px;gap:30px}
.store-body .wordmark{font-size:45px;letter-spacing:-2.5px}
.store-body .store-header nav{gap:30px;font-size:13px}
.store-body .store-menu a{padding:12px 0;position:relative}
.store-body .store-menu a[aria-current=page]::after{content:'';position:absolute;left:0;right:0;bottom:6px;height:2px;background:var(--accent)}
.header-tools{display:flex;align-items:center;gap:25px}
.header-search{display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.store-body .bag-link{font-size:12px;gap:8px;min-height:44px}
.bag-link>svg{width:21px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
.store-body .editorial-hero{grid-template-columns:43% 57%;min-height:565px;background:var(--cream);overflow:hidden}
.store-body .editorial-hero .hero-copy{padding:65px 48px 35px;justify-content:center;min-width:0}
.store-body .editorial-hero .eyebrow{font-size:10px;letter-spacing:1.8px;margin-bottom:26px}
.store-body .editorial-hero .eyebrow::before{display:none}
.store-body .editorial-hero h1{font-size:clamp(42px,4.1vw,62px);line-height:1.08;letter-spacing:-2.4px;margin-bottom:24px}
.store-body .editorial-hero h1 em{color:var(--gold-text);font-style:italic}
.store-body .editorial-hero p{font-size:14px;line-height:1.8;margin-bottom:28px;max-width:330px}
.hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.hero-about{font-size:12px;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:5px;min-height:44px;display:flex;align-items:center}
.hero-location{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted);margin-top:42px}
.hero-location .ui-icon{width:16px;height:16px;color:var(--gold-text)}
.store-body .editorial-hero .hero-image{min-height:565px}
.editorial-hero .hero-image>img{object-position:48% 42%}
.editorial-hero .hero-image:has(>img)::after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#17130f80);pointer-events:none}
.hero-caption{position:absolute;bottom:28px;left:30px;color:white;text-shadow:0 1px 8px #0008}
.hero-caption{z-index:1}
.hero-caption span{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:5px}
.hero-caption strong{font-size:28px;font-family:var(--heading-font);font-weight:400}
.hero-image:has(>.hero-empty) .hero-caption{display:none}
.store-body .benefit-strip{padding:24px 0;font-size:12px;gap:20px;color:var(--muted)}
.store-body .benefit-strip span{display:flex;align-items:center;gap:10px}
.store-body .benefit-strip span::before{display:none}
.benefit-strip .ui-icon{color:var(--gold-text);width:19px;height:19px}
.store-body .collection{padding-top:62px}
.store-body .section-heading h2{font-size:38px;letter-spacing:-1.1px}
.store-body .section-heading .eyebrow{margin-bottom:10px}
.collection-all{font-size:12px;color:var(--muted);border-bottom:1px solid var(--accent);padding-bottom:4px}
.store-body .collection-tools{display:flex;gap:25px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:0}
.store-body .collection-tools .chips{gap:26px;padding-bottom:0;min-width:0;max-width:70%}
.store-body .collection-tools .chip{border:0;border-radius:0;background:transparent;box-shadow:none;padding:16px 0;font-size:12px;border-bottom:2px solid transparent;min-height:50px}
.store-body .collection-tools .chip.selected{border-bottom-color:var(--accent);color:var(--ink)}
.store-body .search-form{max-width:290px;margin:0 0 10px;flex:none}
.store-body .search-form input[type=search]{font-size:12px;min-height:44px;padding:10px 13px}
.collection-filter-disclosure{margin:0 0 25px}
.collection-filter-disclosure summary{border:0;display:flex;gap:8px;align-items:center;font-size:12px;font-weight:400;color:var(--muted);padding:13px 0;list-style:none;min-height:44px}
.collection-filter-disclosure summary::-webkit-details-marker{display:none}
.collection-filter-disclosure summary>.ui-icon{width:15px;height:15px}
.collection-filter-disclosure summary>span{margin-left:auto;font-size:20px}
.collection-filter-disclosure[open] summary>span{transform:rotate(45deg)}
.store-body .catalog-filters{margin-bottom:0;padding:12px 0 20px;border-bottom:1px solid var(--line)}
.store-body .product-grid{gap:38px 24px}
.store-body .product-image{border-radius:3px}
.store-body .product-badge{background:#fffef8eb;font-size:10px;padding:6px 10px;border-radius:2px}
.store-body .card-meta{font-size:10px;margin-top:16px;letter-spacing:.2px}
.store-body .card-title h3{font-size:15px;font-weight:500;line-height:1.45}
.store-body .card-title strong{font-size:14px;font-weight:500}
.store-body .sizes{font-size:11px;margin-top:5px}
.store-body .boutique-note{border:0;background:var(--cream);margin-top:40px;padding:58px 32px}
.store-body .boutique-note h2{font-size:38px}
.store-body .boutique-note p{font-size:14px;max-width:510px}
.store-body .boutique-note .text-link{font-size:13px}
.admin-body .sidebar{width:252px;padding:30px 16px 16px;background:var(--white);border-color:var(--line);overflow-y:auto}
.panel-brand{padding:0 16px 29px}
.panel-brand .wordmark{font-size:43px;margin-bottom:8px;display:block}
.panel-brand>span{font-size:11px;color:var(--muted)}
.sidebar nav{gap:0}
.panel-nav-group{margin-bottom:18px}
.nav-group-title{font-size:9px;letter-spacing:1.5px;color:var(--muted);display:block;padding:0 14px;margin-bottom:7px;font-weight:600}
.admin-body .sidebar nav .panel-nav-link{display:flex;align-items:center;gap:12px;font-size:13px;padding:11px 14px;min-height:44px;border-radius:7px;margin:2px 0;color:var(--muted);font-weight:400;position:relative}
.sidebar .panel-nav-link .ui-icon{width:20px;height:20px;color:var(--muted)}
.admin-body .sidebar nav .panel-nav-link:hover{background:var(--paper);color:var(--ink)}
.admin-body .sidebar nav .panel-nav-link.active{background:var(--gold-soft);color:var(--ink);font-weight:600;box-shadow:none}
.sidebar .panel-nav-link.active .ui-icon{color:var(--gold-text)}
.sidebar .panel-nav-link.active::after{content:'';width:5px;height:5px;border-radius:50%;background:var(--gold-text);margin-left:auto}
.admin-body .sidebar-bottom{padding-top:15px;gap:13px}
.panel-store-link{display:flex;gap:12px;align-items:center;border:1px solid var(--line);padding:12px 14px;border-radius:7px;font-size:12px;min-height:44px}
.panel-store-link .ui-icon{width:17px;height:17px;color:var(--gold-text)}
.panel-account{border-top:1px solid var(--line);padding:16px 4px 0;display:flex;gap:10px;align-items:center}
.account-avatar{display:flex;align-items:center;justify-content:center;background:var(--cream);color:var(--gold-text);width:32px;height:32px;flex:none;border-radius:8px;font-family:Georgia,serif;font-size:18px}
.panel-account strong{font-size:11px;display:block}.panel-account small{font-size:9px}.panel-account>form{margin-left:auto}
.logout-button{min-width:34px;min-height:44px;background:transparent;border:0;color:var(--muted);display:flex;align-items:center;justify-content:center}.logout-button .ui-icon{width:17px;height:17px}
.admin-body .admin-main{margin-left:252px}
.admin-body .admin-top{height:80px;padding:0 40px;background:var(--paper)}
.panel-breadcrumb{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:14px}.panel-breadcrumb>span{color:var(--control-border)}.panel-breadcrumb strong{color:var(--ink);font-weight:500}
.admin-body .demo-banner{background:var(--cream);font-size:10px;color:var(--muted);padding:5px 15px}
.admin-body .admin-content{padding:38px 40px 65px;max-width:1300px}
.admin-body .page-heading h1{font-size:36px;letter-spacing:-1px;line-height:1.15}
.admin-body .page-heading .eyebrow{font-size:9px;letter-spacing:1.7px}
.admin-body .panel{border-radius:10px;border-color:var(--line);box-shadow:0 2px 4px #241f1703}
.admin-body .stat{border-radius:10px;gap:14px}.admin-body .stat>span{font-size:12px}.admin-body .stat small{font-size:11px}
.admin-body .quick-actions>a{border-top:1px solid var(--line);border-radius:10px;box-shadow:0 2px 4px #241f1703}
.admin-body .action-symbol{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:9px;background:var(--gold-soft);font-size:26px;flex:none}
.admin-body .quick-actions p{font-size:12px}
.admin-body .badge{background:var(--cream);color:var(--muted);font-size:11px;border-radius:5px}
.admin-body .badge.ai-active{background:var(--gold-soft);color:var(--gold-text)}
.ai-settings-entry{display:flex;gap:24px;align-items:flex-start;margin-top:22px}.ai-settings-entry p{color:var(--muted);max-width:570px;font-size:14px}.ai-settings-entry .eyebrow{margin-bottom:10px}.ai-settings-entry h2{font-size:24px}
.settings-entry-icon{background:var(--gold-soft);padding:15px;border-radius:12px;color:var(--gold-text)}.settings-entry-icon .ui-icon{width:28px;height:28px}
.ai-task-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 14px}.ai-task-heading h2{font-size:22px;font-family:var(--heading-font);margin:0}.ai-task-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}
.ai-connections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ai-connection{padding:23px;margin:0;display:flex;flex-direction:column;gap:16px}.ai-connection-header{display:flex;align-items:center;gap:12px}.provider-mark{width:42px;height:42px;border-radius:9px;background:var(--cream);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;color:var(--gold-text);flex:none}.ai-connection-header .badge{margin-left:auto}
.ai-connection h3{font-size:16px;font-weight:600}.ai-connection small{font-size:11px}.connection-model{font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere;background:var(--paper);border-radius:6px;padding:12px;margin:0}.connection-key-note{font-size:12px;color:var(--muted);margin:0}.connection-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:auto}.connection-actions form{margin:0}.connection-actions .text-button{font-size:12px}
.ai-security-note{display:flex;align-items:flex-start;gap:12px;color:var(--muted);font-size:12px;padding:24px 0}.ai-security-note>.ui-icon{color:var(--gold-text);width:18px;height:18px}.ai-security-note p{margin:0;max-width:650px}
.connection-editor{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.connection-form{padding:28px}.connection-form small{font-size:12px;line-height:1.6;margin-top:8px}.connection-form .checkbox{font-size:13px;margin:22px 0}.connection-context{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--line);font-size:13px}.connection-context span{color:var(--muted)}.connection-save{display:flex;gap:22px;align-items:center;margin-top:28px}.connection-save .text-link{font-size:12px;margin:0}
.connection-help{background:var(--cream)}.connection-help .eyebrow{margin-bottom:14px}.connection-help p{font-size:13px;color:var(--muted)}.connection-help h2{font-family:var(--heading-font);font-size:25px}.connection-test{max-width:760px}.connection-test p{color:var(--muted);font-size:13px}.connection-test details{margin-top:20px}.connection-test summary{font-size:12px}.connection-test .danger{font-size:13px}
@media(max-width:800px){.admin-body input:not([type=checkbox]):not([type=radio]):not([type=submit]),.admin-body select,.admin-body textarea{font-size:16px}.store-body .search-form input[type=search]{font-size:16px}}
@media(max-width:1150px){.store-body .wrap{width:calc(100% - 56px)}.store-body .editorial-hero .hero-copy{padding:45px 30px 30px}.store-body .editorial-hero,.store-body .editorial-hero .hero-image{min-height:510px}.store-body .store-header nav{gap:20px}.store-body .editorial-hero h1{font-size:46px}.hero-actions{gap:8px}.hero-location{margin-top:24px}.admin-body .sidebar{width:230px;padding-inline:12px}.admin-body .admin-main{margin-left:230px}.admin-body .admin-content{padding-inline:28px}.admin-body .admin-top{padding-inline:28px}.connection-editor{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.ai-connections{grid-template-columns:1fr}.panel-account small{font-size:8px}}
@media(max-width:800px){.admin-body .sidebar{display:none}.admin-body .admin-main{margin-left:0}.admin-body .admin-content{padding:30px 22px 110px}.admin-body .admin-top{height:68px;padding:0 22px}.admin-body .mobile-nav{padding:7px 8px max(7px,env(safe-area-inset-bottom));gap:4px;box-shadow:0 -3px 15px #241f1705}.admin-body .mobile-nav .panel-nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:1;font-size:9px;line-height:1.2;padding:7px 1px;min-height:53px;border-radius:7px;color:var(--muted)}.admin-body .mobile-nav .panel-nav-link .ui-icon{width:20px;height:20px}.admin-body .mobile-nav .panel-nav-link.active{background:var(--gold-soft);color:var(--gold-text);box-shadow:none;font-weight:600}.connection-editor{grid-template-columns:1fr}.connection-help{margin:0}.store-body .store-header{height:auto;min-height:90px;flex-wrap:wrap;gap:5px;padding:20px 0 0}.store-body .store-header .wordmark{font-size:37px}.store-body .store-menu{order:3;width:100%;overflow-x:auto;white-space:nowrap;justify-content:center;gap:23px;font-size:12px;padding:4px 0 8px}.header-tools{gap:10px}.store-body .editorial-hero{grid-template-columns:45% 55%}.store-body .editorial-hero h1{font-size:38px;letter-spacing:-1.4px}.store-body .editorial-hero .eyebrow{font-size:8px;letter-spacing:1px}.store-body .editorial-hero p{font-size:12px}.store-body .editorial-hero .hero-copy{padding:35px 24px}.store-body .editorial-hero,.store-body .editorial-hero .hero-image{min-height:440px}.hero-caption{left:20px;bottom:20px}.hero-caption strong{font-size:22px}.store-body .benefit-strip{font-size:10px;gap:15px}.store-body .benefit-strip span{gap:7px}.store-body .collection-tools{display:block}.store-body .collection-tools .chips{max-width:100%;gap:25px}.store-body .search-form{max-width:none;margin:12px 0}.store-body .search-form input[type=search]{flex:1}.store-body .section-heading h2{font-size:30px}}
@media(max-width:540px){.store-body .wrap{width:calc(100% - 32px)}.store-body .top-note{font-size:10px;padding:9px 12px}.store-body .store-header{padding-top:15px;gap:4px}.store-body .store-header .wordmark{font-size:35px}.store-body .store-menu{gap:22px;justify-content:flex-start;font-size:12px;scrollbar-width:none}.store-body .store-menu::-webkit-scrollbar{display:none}.store-body .bag-link{font-size:11px}.store-body .editorial-hero{grid-template-columns:1fr}.store-body .editorial-hero .hero-copy{padding:30px 24px 24px}.store-body .editorial-hero .eyebrow{margin-bottom:16px;font-size:8px;letter-spacing:1.4px}.store-body .editorial-hero h1{font-size:42px;line-height:1.08;letter-spacing:-1.6px;margin-bottom:17px}.store-body .editorial-hero p{font-size:13px;line-height:1.7;margin-bottom:21px}.store-body .editorial-hero .hero-image{min-height:280px}.hero-location{display:none}.hero-actions{gap:8px 15px}.store-body .editorial-hero .hero-actions .button{font-size:13px;min-height:46px;padding:12px 16px}.hero-about{font-size:11px}.hero-caption strong{font-size:23px}.hero-caption span{font-size:8px}.store-body .benefit-strip{font-size:9px;gap:10px;padding:19px 0;align-items:flex-start}.store-body .benefit-strip span{max-width:108px;flex-direction:column;gap:7px;align-items:flex-start;line-height:1.5}.benefit-strip .ui-icon{width:18px;height:18px}.store-body .collection{padding-top:37px}.store-body .section-heading h2{font-size:29px}.collection-all{display:none}.store-body .collection-tools .chip{font-size:12px;min-height:46px;padding:12px 0}.store-body .product-grid{gap:26px 12px}.store-body .product-badge{font-size:8px;padding:5px 7px}.store-body .card-meta{font-size:9px;margin-top:11px}.store-body .card-title h3{font-size:13px;margin-bottom:4px}.store-body .card-title strong{font-size:13px}.store-body .sizes{font-size:10px}.store-body .boutique-note{padding:36px 24px;margin:28px auto 45px}.store-body .boutique-note h2{font-size:30px}.store-body .boutique-note p{font-size:13px}.admin-body .admin-content{padding:25px 16px 110px}.admin-body .admin-top{padding:0 16px}.panel-breadcrumb{gap:8px;font-size:11px}.panel-breadcrumb>span:first-child{display:inline}.admin-top .button.small{font-size:12px;padding:10px 12px;gap:7px}.admin-top .button .ui-icon{width:15px;height:15px}.admin-body .page-heading h1{font-size:32px}.admin-body .stat>span{font-size:10px}.admin-body .stat small{font-size:9px}.ai-task-heading{align-items:flex-start;gap:12px}.ai-task-heading h2{font-size:20px}.ai-task-heading p{font-size:11px}.ai-task-heading .button.small{font-size:11px;padding:9px 12px;white-space:nowrap}.ai-connection{padding:20px}.ai-connection-header{gap:10px}.ai-connection h3{font-size:15px}.ai-connection-header .badge{font-size:9px;padding:4px 7px}.connection-actions .button.small{font-size:12px}.connection-form{padding:22px 18px}.connection-save{gap:16px;flex-wrap:wrap}.connection-save .button{width:100%}.connection-form .two-columns{gap:0}.ai-settings-entry{gap:14px;padding:22px 18px}.settings-entry-icon{padding:10px}.settings-entry-icon .ui-icon{width:20px;height:20px}.ai-settings-entry p{font-size:13px}.ai-settings-entry .eyebrow{font-size:8px;letter-spacing:1px}}
