/* Only the storefront: account, checkout and inventory retain their layout. */
.storefront [hidden]{display:none!important}
.storefront .container{max-width:1320px;width:calc(100% - 64px)}
.storefront .header{min-height:80px;gap:22px}
.storefront .header .logo{font-size:34px}
.storefront .header-actions{gap:10px}
.storefront .search{height:46px}
.storefront .category-strip{border-block:1px solid var(--border);background:#fff}
.storefront .category-nav{justify-content:flex-start;gap:6px;min-height:62px;padding-block:8px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ddd transparent}
.storefront .category-nav button{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;min-height:44px;border:1px solid transparent;border-radius:9px;font-size:13px;font-weight:500;color:#5a5e68;white-space:nowrap;flex-shrink:0}
.storefront .category-nav svg{width:19px;height:19px;flex-shrink:0}
.storefront .category-nav button:hover{background:var(--soft)}
.storefront .category-nav button.active{color:var(--red);background:var(--blush);border-color:#ffd9df}
.storefront .category-nav.expanded{flex-wrap:wrap}
.storefront .category-nav .category-retry{font-size:12px;color:var(--red)}
.storefront .section-heading{margin:26px 0 18px}
.storefront .section-heading h1,.storefront .section-heading h2,.storefront .startup-catalog h1{font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.8px;margin:0}
.storefront .text-link{min-height:44px;font-size:14px;font-weight:500}
.storefront .catalog-section{scroll-margin-top:16px}
.storefront .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.storefront .product-card{display:flex;flex-direction:column;padding:16px;border-radius:12px;gap:14px}
.storefront .product-open{display:flex;flex-direction:column;flex:1;text-align:left}
.storefront .product-open .product-photo{width:100%;height:auto;aspect-ratio:1;margin:0 0 14px;object-fit:contain;align-self:stretch;max-height:240px}
.storefront .product-open h3{font-size:15px;line-height:1.4;font-weight:500;min-height:42px;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.storefront .product-meta{display:block;min-height:18px;font-size:12px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.storefront .product-bottom{margin-top:auto;gap:6px;align-items:flex-end}
.storefront .product-bottom>div{min-width:0}
.storefront .availability{font-size:11px;line-height:1.3;color:#8a8d97;margin-bottom:6px}
.storefront .availability.in-stock{color:#53725c}
.storefront .product-bottom strong{font-size:22px;font-weight:700;white-space:nowrap;letter-spacing:-.5px}
.storefront .add{width:44px;height:44px;border-radius:9px}
.storefront .add svg{width:21px;height:21px}
.storefront .favorite{right:7px;top:7px;min-width:40px;min-height:40px;background:#fffe;border-radius:50%;padding:9px}
.storefront .favorite svg{width:20px;height:20px}
.storefront .photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f8f8fa;color:#999da7;border-radius:8px}
.storefront .photo-placeholder svg{width:44px;height:44px}
.storefront .photo-placeholder small{font-size:12px}
.storefront .more-products{margin-top:36px}
.storefront .catalog-status:not(:empty){display:flex;align-items:center;gap:14px;font-size:13px;color:#8d5822;background:#fff8ed;padding:10px 14px;border-radius:8px;margin-bottom:16px}
.storefront .catalog-error{grid-column:1/-1;padding:42px 16px;text-align:center}
.storefront .catalog-error h2,.storefront .empty h2{font-size:23px;letter-spacing:-.4px}
.storefront .catalog-error p{color:var(--muted);font-size:14px}
.storefront .category-breadcrumb{margin-bottom:10px}
.storefront .catalog-subcategories{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}
.storefront .catalog-subcategories button{display:flex;align-items:center;gap:10px;padding:9px 12px;min-height:44px;border-radius:8px;background:var(--soft);border-color:transparent;font-size:13px}
.storefront .catalog-subcategories strong{font-weight:500}
.storefront .catalog-subcategories small{font-size:11px;white-space:nowrap}
.storefront .catalog-subcategories svg{width:14px;height:14px;flex-shrink:0}
.storefront .filter-row{font-size:13px}
.storefront .services{border-top:1px solid var(--border);margin-top:36px;padding-block:28px}
.storefront .services svg{width:30px;height:30px;color:var(--red)}
.storefront .services strong{font-size:14px}
.storefront .services small{font-size:12px;margin-top:4px}
.storefront .startup-header{display:flex;align-items:center;gap:20px;min-height:92px;font-size:13px}
.storefront .startup-header .logo{margin-right:auto}
.storefront .startup-catalog h1{margin:24px 0 16px}
.storefront .startup-catalog>p,.storefront .catalog-loading{color:var(--muted);font-size:13px}
.storefront .catalog-skeleton{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;grid-column:1/-1}
.storefront .skeleton-card{padding:16px;border:1px solid var(--border);border-radius:12px;min-width:0}
.storefront .skeleton-card span{display:block;aspect-ratio:1;background:#f6f6f7;border-radius:8px;margin-bottom:18px}
.storefront .skeleton-card i,.storefront .skeleton-card b{display:block;height:11px;background:#f0f0f2;border-radius:4px;margin-top:9px}
.storefront .skeleton-card i:nth-child(3){width:65%}
.storefront .skeleton-card b{width:45%;height:20px;margin-top:20px}
.storefront .catalog-loading{grid-column:1/-1;margin:0}
@media(max-width:1100px){
 .storefront .container{width:calc(100% - 40px)}
 .storefront .header{gap:14px}
 .storefront .header .logo{font-size:30px}
 .storefront .product-grid{gap:12px}
 .storefront .product-card{padding:12px}
 .storefront .product-bottom strong{font-size:20px}
}
@media(max-width:760px){
 .storefront .container{width:calc(100% - 28px)}
 .storefront .header{grid-template-columns:36px 1fr 108px;gap:8px 6px;padding:12px 0 10px;min-height:0}
 .storefront .header .logo{font-size:28px}
 .storefront .header-actions{gap:0}
 .storefront .header .search{height:44px}
 .storefront .header .search input{font-size:16px}
 .storefront .category-nav{display:flex;flex-wrap:nowrap;gap:4px;min-height:55px;margin-bottom:0;padding:5px 0;scrollbar-width:none}
 .storefront .category-nav::-webkit-scrollbar{display:none}
 .storefront .category-nav button{gap:6px;padding:8px 10px;font-size:12px;min-height:44px}
 .storefront .category-nav svg{width:17px;height:17px}
 .storefront .category-nav.expanded{flex-wrap:wrap}
 .storefront .section-heading{margin:18px 0 12px;gap:8px}
 .storefront .section-heading h1,.storefront .section-heading h2,.storefront .startup-catalog h1{font-size:23px;letter-spacing:-.6px}
 .storefront .text-link{font-size:12px;gap:4px;min-height:44px;flex-shrink:0}
 .storefront .product-grid,.storefront .catalog-skeleton{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .storefront .product-card{display:flex;padding:10px;gap:12px;border-radius:10px}
 .storefront .product-open{display:flex}
 .storefront .product-open .product-photo{width:100%;height:auto;aspect-ratio:1;max-height:none;margin:0 0 10px;align-self:stretch}
 .storefront .product-open h3{font-size:13px;line-height:1.4;min-height:55px;margin:0;padding-right:0}
 .storefront .product-meta{font-size:11px;min-height:16px;margin-top:4px}
 .storefront .product-bottom{display:flex;grid-column:auto;flex-wrap:wrap;gap:8px}
 .storefront .product-bottom>div{flex:1;min-width:82px}
 .storefront .product-bottom strong{font-size:18px;letter-spacing:-.5px}
 .storefront .availability{font-size:10px;min-height:13px;margin-bottom:5px}
 .storefront .add{width:40px;min-height:44px;height:44px;border-radius:8px}
 .storefront .favorite{right:3px;top:3px;min-width:40px;min-height:40px;padding:10px}
 .storefront .favorite svg{width:18px;height:18px}
 .storefront .more-products{margin-top:26px}
 .storefront .filter-row{gap:8px;font-size:12px;margin-bottom:14px}
 .storefront .filter-row select{max-width:100%;font-size:13px;min-height:44px}
 .storefront .filter-row .secondary{min-height:44px}
 .storefront .catalog-subcategories{gap:6px;max-height:144px;overflow-y:auto}
 .storefront .catalog-subcategories button{padding:8px 10px;font-size:12px}
 .storefront .catalog-subcategories small{font-size:10px}
 .storefront .services{padding:12px 0;margin-top:28px}
 .storefront .services button,.storefront .services button:first-child{padding:15px 4px;gap:16px}
 .storefront .services strong{font-size:13px}
 .storefront .services small{font-size:12px}
 .storefront .catalog-status:not(:empty){display:block;font-size:12px;padding:10px 12px}
 .storefront .startup-header{min-height:76px;gap:12px;font-size:12px}
 .storefront .startup-header .logo{font-size:28px}
 .storefront .skeleton-card{padding:10px;border-radius:10px}
}
