/* Part 6: loaded after legacy public CSS; never loaded by Admin or Partner layouts. */
.storefront:has(.marketplace-home),.storefront:has(.market-detail){--market-purple:#6d28d9;--market-dark:#4c1d95;--market-ink:#20202a;--market-muted:#606071;--market-line:#e9e7ef;color:var(--market-ink)}
.storefront:has(.marketplace-home) .shell{width:calc(100% - 48px);max-width:1320px}
.storefront:has(.marketplace-home) .announcement{display:none}
.storefront:has(.marketplace-home) .skip-link:focus{background:white;color:#4c1d95;outline:3px solid #4c1d95}
.storefront:has(.marketplace-home) .site-header{background:#6d28d9;border:0;color:white}
.storefront:has(.marketplace-home) .header-row{min-height:76px;gap:32px}
.storefront:has(.marketplace-home) .brand{color:white;font-size:27px;white-space:nowrap}
.storefront:has(.marketplace-home) .brand-mark{background:white;color:#6d28d9;border-radius:6px}
.storefront:has(.marketplace-home) .header-search{height:44px;flex:1;border-radius:6px;overflow:hidden;border:1px solid #d8c9f8;background:white}
.storefront:has(.marketplace-home) .header-search input{font-size:14px;color:#262334;background:white}
.storefront:has(.marketplace-home) .header-search button{background:#5420b3;width:54px;color:white}
.storefront:has(.marketplace-home) .header-actions{gap:20px}
.storefront:has(.marketplace-home) .icon-link{color:white;font-size:14px;min-height:44px}
.storefront:has(.marketplace-home) .action-icon{display:inline-grid;color:white;width:23px;height:23px;flex:0 0 23px}
.storefront:has(.marketplace-home) .action-icon svg{display:block;width:100%;height:100%}
.storefront:has(.marketplace-home) .header-actions .icon-link{min-width:44px}
.storefront:has(.marketplace-home) .header-actions .icon-link .action-icon:first-child{color:white}
.storefront:has(.marketplace-home) .header-actions a.icon-link:not(.orders-link){display:flex}
@media(max-width:991px){.storefront:has(.marketplace-home) .header-actions .icon-link .action-label{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
.storefront:has(.marketplace-home) .count{background:white;color:#5420b3}
.storefront:has(.marketplace-home) .store-nav{background:white;border-bottom:1px solid #ece8f5}
.storefront:has(.marketplace-home) .store-nav .shell{min-height:46px;gap:30px}
.storefront:has(.marketplace-home) .store-nav a{font-size:14px;color:#3e354f;min-height:46px;display:inline-flex;align-items:center}
.storefront:has(.marketplace-home) .store-nav a:nth-child(2){color:#6d28d9;border-bottom:2px solid #6d28d9}
.marketplace-home{font-size:16px;background:white}
.marketplace-home .spotlight{padding:22px 0;background:#f6f2fc}
.marketplace-home .spotlight-shell{grid-template-columns:minmax(0,3fr) minmax(210px,1fr);gap:16px}
.marketplace-home .spotlight-shell:not(:has(.spotlight-tabs)){grid-template-columns:1fr}
.marketplace-home .spotlight-stage{box-shadow:none;border-radius:12px;background:#f0eafa}
.marketplace-home .spotlight-panel{height:340px;min-height:340px;grid-template-columns:1.1fr 1fr}
.marketplace-home .spotlight-copy{padding:28px 32px;color:#241b36}
.marketplace-home .spotlight-kicker{color:#6d28d9;font-size:12px;letter-spacing:.1em;margin-bottom:12px}
.marketplace-home .spotlight-copy h1{font-size:clamp(30px,3.1vw,46px);line-height:1.08;letter-spacing:-.035em}
.marketplace-home .spotlight-copy>p:not(.spotlight-kicker){font-size:16px;color:#5c526c;margin-top:16px;line-height:1.45}
.marketplace-home .spotlight-cta{background:#6d28d9;color:white;border-radius:6px;margin-top:22px;font-size:14px;padding:13px 20px}
.marketplace-home .spotlight-cta:hover{background:#4c1d95}
.marketplace-home .spotlight-art{background:#e6daf7}
.marketplace-home .spotlight-art:after{display:none}
.marketplace-home .spotlight-monogram{color:#6d28d9}
.marketplace-home .spotlight-monogram span{color:#6d28d9;font-size:96px}
.marketplace-home .spotlight-tabs button{border-radius:8px;font-size:14px;padding:16px;box-shadow:none}
.marketplace-home .spotlight-tabs button[aria-selected=true]{background:#6d28d9}
.marketplace-home .spotlight-tabs button[aria-selected=true] span{color:white}
.market-section{padding:30px 0;border-bottom:1px solid #eeeaf3}
.market-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.market-heading h2{font-size:22px;line-height:1.25;letter-spacing:-.025em;margin:0;font-weight:750}
.market-heading p{font-size:14px;color:#606071;margin:5px 0 0}
.market-heading>a{font-size:14px;color:#6d28d9;text-decoration:none;flex-shrink:0;min-height:44px;display:flex;align-items:center;gap:8px}
.market-categories{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:18px}
.market-categories>a{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;text-decoration:none;color:#292230;font-size:14px;line-height:1.3}
.market-category-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#f6f2fc;color:#6d28d9;border:1px solid #eee8f8}
.market-category-icon svg{width:30px;height:30px}
.market-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;align-items:stretch}
.market-card{min-width:0;border:1px solid #e8e5ef;border-radius:8px;overflow:hidden;background:white;display:flex;flex-direction:column;transition:border-color .15s}
.market-card:hover{border-color:#ab8ce3}
.market-card-image{position:relative;display:block;aspect-ratio:1;background:#faf9fc;overflow:hidden;text-decoration:none}
.market-card-image img{display:block;width:100%;height:100%;object-fit:contain;padding:10px}
.market-image-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:14px;font-weight:700;color:#8a70af;background:#f6f2fb;letter-spacing:.05em}
.market-badge{position:absolute;top:9px;left:9px;background:#b51e45;color:white;border-radius:4px;font-weight:700;padding:4px 6px;font-size:12px}
.market-card-body{padding:12px;display:flex;flex:1;flex-direction:column;gap:7px;min-width:0}
.market-card h3{font-size:14px;line-height:1.4;height:2.8em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-weight:650}
.market-card h3 a{text-decoration:none;color:#211a2b}
.market-card-category{color:#606071;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-height:17px}
.market-price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;line-height:1.3}
.market-price strong{font-size:18px;color:#6d28d9}
.market-price del{font-size:12px;color:#767080}
.market-saving{margin:0;color:#b51e45;font-size:12px}
.market-display-note{display:block;color:#675d70;font-size:11px;line-height:1.35}
.market-location{margin:0;color:#606071;font-size:12px}
.market-countdown{font-size:12px;color:#5a425c;display:block}
.market-countdown time{font-variant-numeric:tabular-nums;font-weight:700;color:#a41b3d}
.market-stock{font-size:12px;color:#187248;margin:auto 0 0;padding-top:7px}
.market-stock.is-out{color:#786f7c}
.market-cart-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:9px 5px;background:#6d28d9;color:white;border:1px solid #6d28d9;border-radius:5px;text-decoration:none;font-weight:650;font-size:14px;cursor:pointer}
.market-cart-button:hover{background:#4c1d95;color:white}
.market-cart-button:disabled{background:#efecf3;color:#786f83;border-color:#efecf3;cursor:default}
.market-option-price{font-size:14px;color:#6d28d9;margin:0}
.market-card form{margin:0}
.market-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;background:#f5f1fc;padding:22px 28px;margin-top:34px;margin-bottom:40px;border-radius:8px}
.market-services article{display:flex;gap:14px;align-items:flex-start}
.market-services article>span{font-size:28px;color:#6d28d9;line-height:1.4}
.market-services h2{font-size:14px;color:#5420b3;margin:0 0 5px}
.market-services p{font-size:14px;line-height:1.45;color:#606071;margin:0}
.market-services a{color:inherit}
.storefront:has(.marketplace-home) .site-footer{background:#5420b3;color:white;padding-top:34px}
.storefront:has(.marketplace-home) .site-footer a,.storefront:has(.marketplace-home) .site-footer p,.storefront:has(.marketplace-home) .footer-bottom{color:#eee5fd;font-size:14px}
.storefront:has(.marketplace-home) .footer-bottom{border-color:#8260bb}
.market-detail{margin:12px 0}
.market-detail .market-price strong{font-size:28px}
.market-detail .market-saving{font-size:14px;margin:8px 0}
.marketplace-home :focus-visible{outline:3px solid #a17be8;outline-offset:3px}
.market-empty{font-size:16px;margin:0 0 16px}
@media(max-width:1439px){.market-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.market-categories{gap:10px}.market-category-icon{width:68px;height:68px}}
@media(max-width:1199px){.market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.market-categories{grid-template-columns:repeat(8,minmax(0,1fr))}.market-categories>a:nth-child(n+9){display:none}.storefront:has(.marketplace-home) .header-row{gap:18px}.marketplace-home .spotlight-panel{grid-template-columns:1.15fr 1fr}.marketplace-home .spotlight-copy{padding:24px}.marketplace-home .spotlight-copy h1{font-size:32px}}
@media(max-width:991px){.market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.marketplace-home .spotlight-shell{grid-template-columns:1fr}.marketplace-home .spotlight-tabs{display:flex;overflow-x:auto}.marketplace-home .spotlight-tabs button{flex:0 0 220px;min-height:64px}.market-categories{display:flex;overflow-x:auto;padding:2px 2px 12px;gap:18px}.market-categories>a{flex:0 0 90px}.market-categories>a:nth-child(n+9){display:flex}.market-services{grid-template-columns:repeat(2,minmax(0,1fr))}.storefront:has(.marketplace-home) .action-label{display:none}.storefront:has(.marketplace-home) .header-actions{gap:14px}}
@media(max-width:767px){.storefront:has(.marketplace-home) .shell{width:calc(100% - 28px)}.storefront:has(.marketplace-home) .header-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;min-height:112px;padding:12px 0}.storefront:has(.marketplace-home) .brand{font-size:21px}.storefront:has(.marketplace-home) .brand-mark{width:30px;height:34px}.storefront:has(.marketplace-home) .mobile-menu-button{display:flex;color:white;min-height:44px}.storefront:has(.marketplace-home) .mobile-menu-button span{background:white}.storefront:has(.marketplace-home) .header-search{display:flex;grid-row:2;grid-column:1/-1;width:100%;height:44px}.storefront:has(.marketplace-home) .store-nav{display:none}.storefront:has(.marketplace-home) .orders-link{display:none}.marketplace-home .spotlight{padding:14px 0}.marketplace-home .spotlight-panel{height:auto;min-height:320px;grid-template-columns:1.2fr .8fr;grid-template-rows:1fr}.marketplace-home .spotlight-art{grid-row:auto}.marketplace-home .spotlight-copy{padding:20px}.marketplace-home .spotlight-copy h1{font-size:30px}.marketplace-home .spotlight-copy>p:not(.spotlight-kicker){font-size:14px}.marketplace-home .spotlight-monogram span{font-size:60px}.marketplace-home .spotlight-monogram b{font-size:12px;letter-spacing:.06em}.market-section{padding:22px 0}.market-heading{margin-bottom:14px;gap:8px}.market-heading h2{font-size:20px}.market-heading>a{font-size:12px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.market-card-body{padding:10px}.market-price strong{font-size:17px}.market-services{padding:20px 16px;gap:22px 16px;margin-top:24px;margin-bottom:28px}.market-services article{gap:8px}.market-services article>span{font-size:22px}.market-services p{font-size:12px}.market-services h2{font-size:14px}.storefront:has(.marketplace-home) .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.storefront:has(.marketplace-home) .footer-grid>div:first-child{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.marketplace-home *{animation:none;transition:none;scroll-behavior:auto}}
/* Part 7 extends the same public design layer. */
.detail-main-image img[hidden]{display:none}.detail-thumbnails .market-image-fallback{font-size:10px;letter-spacing:0}.catalog-toolbar button,.catalog-dialog-heading button{border:1px solid #dcd6e7;background:#f6f2fc;color:#5420b3;border-radius:6px;padding:8px 12px;font:inherit}
.storefront:has(.catalog-page) .store-nav a:nth-child(2){color:#3e354f;border-bottom:0}.storefront:has(.catalog-page) .store-nav a:nth-child(3){color:#6d28d9;border-bottom:2px solid #6d28d9}
.product-detail .detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}.detail-main-image{aspect-ratio:1;background:#faf9fc;border:1px solid #e8e3ed;border-radius:12px;overflow:hidden;display:grid;place-items:center}.detail-main-image img{width:100%;height:100%;object-fit:contain}.detail-thumbnails{display:flex;gap:12px;overflow:auto;margin-top:16px}.detail-thumbnails button{width:88px;height:88px;flex-shrink:0;border:1px solid #ddd7e8;background:white;border-radius:6px;padding:4px}.detail-thumbnails img{width:100%;height:100%;object-fit:contain}.detail-thumbnails [aria-pressed=true]{border:2px solid #6d28d9}.detail-info h1{font-size:32px;line-height:1.2;margin:12px 0 24px}.detail-category,.detail-sku{font-size:14px;color:#606071}.detail-purchase{display:grid;gap:16px}.detail-purchase label{display:grid;gap:8px;font-size:16px}.detail-purchase select{min-height:48px;background:white;border:1px solid #dcd6e7;border-radius:6px;padding:10px;max-width:100%;font:inherit}.detail-stock{color:#187248;margin:0}.detail-fulfillment{background:#f6f2fc;padding:12px 16px;border-radius:8px;font-size:14px}.detail-fulfillment p{margin:6px 0}.detail-quantity{display:flex;max-width:180px}.detail-quantity button,.detail-quantity input{width:60px;height:44px;text-align:center;border:1px solid #dcd6e7;background:white;color:#292230;font:inherit}.detail-actions{display:flex;gap:12px}.detail-actions .market-cart-button{min-height:48px}.detail-actions .detail-buy:not(:disabled){background:white;color:#5420b3}.detail-description{padding:32px 0;border-bottom:1px solid #e8e3ed;line-height:1.6}.detail-description h2{font-size:24px}.detail-description>div{max-width:80ch;overflow-wrap:anywhere}
@media(max-width:767px){.product-detail .detail-layout{grid-template-columns:1fr;gap:24px}.detail-info h1{font-size:26px}.detail-actions{padding-bottom:env(safe-area-inset-bottom)}.detail-main-image{max-height:440px}.detail-thumbnails button{width:68px;height:68px}}
.catalog-shell{padding-top:24px;padding-bottom:48px}.catalog-breadcrumbs{font-size:14px;margin-bottom:24px;color:#606071}.catalog-breadcrumbs a{color:#5420b3}.catalog-title h1{font-size:32px;margin:0 0 14px}.catalog-title p{max-width:70ch;line-height:1.5}.catalog-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;margin-top:24px}.catalog-layout .market-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.catalog-filter-form{display:grid;gap:18px}.catalog-filter-form h2{font-size:20px;margin:0}.catalog-filter-form label{display:grid;gap:7px;font-size:14px}.catalog-filter-form input,.catalog-filter-form select,.catalog-toolbar select{width:100%;min-height:44px;border:1px solid #ddd7e8;border-radius:5px;padding:8px;background:white;color:#252031;font:inherit}.catalog-filter-form fieldset{margin:0;padding:12px;border:1px solid #e8e3ed;display:grid;gap:12px}.catalog-filter-form small{font-size:12px;color:#606071}.catalog-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:14px;flex-wrap:wrap}.catalog-toolbar form{display:flex;gap:8px;align-items:end}.catalog-toolbar label{display:flex;gap:8px;align-items:center}.catalog-toolbar button{min-height:44px}.catalog-chips,.catalog-subcategories{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.catalog-chips a,.catalog-subcategories a{padding:8px 12px;background:#f6f2fc;border-radius:20px;color:#5420b3;font-size:14px;text-decoration:none}.catalog-pagination{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:32px}.catalog-pagination a{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;color:#5420b3;border:1px solid #e8e3ed;border-radius:5px;text-decoration:none}.catalog-pagination [aria-current]{background:#6d28d9;color:white}.catalog-filter-open{display:none}.catalog-filter-dialog{max-height:90dvh;width:min(440px,calc(100% - 24px));border:0;border-radius:12px;padding:24px;overflow:auto}.catalog-filter-dialog::backdrop{background:#211a2b80}.catalog-dialog-heading{display:flex;justify-content:space-between;align-items:center}.catalog-dialog-heading button{width:44px;height:44px}.catalog-nojs-filters{display:none}.catalog-page .market-empty{padding:40px 20px;background:#faf9fc;border:1px solid #eee8f3}.catalog-page .market-empty h2{font-size:22px}.catalog-page .market-empty a{color:#5420b3}
@media(max-width:1439px){.catalog-layout .market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1199px){.catalog-layout .market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}}
@media(max-width:991px){.catalog-layout{display:block}.catalog-sidebar{display:none}.catalog-filter-open{display:block}.catalog-nojs-filters{display:block;margin-top:24px}.catalog-enhanced .catalog-nojs-filters{display:none}}
@media(max-width:767px){.catalog-layout .market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-title h1{font-size:26px}.catalog-toolbar form{width:100%}.catalog-toolbar label{flex:1}.catalog-toolbar select{flex:1}.catalog-shell{padding-top:18px}.catalog-breadcrumbs{margin-bottom:18px}}
