/* 1.1.1 — compact shopping, attached notices and inset password controls. */
/* 1.1.2 — near edge-to-edge responsive layout, with safe-area protection. */
@media(max-width:1023px){
 html body{margin-inline:0;padding-inline:0;width:100%;max-width:100%}
 html body .wrap{width:100%;max-width:none;margin-inline:0;padding-inline:max(16px,env(safe-area-inset-left,0px)) max(16px,env(safe-area-inset-right,0px))}
 html body .studio-header{width:calc(100% - 16px);max-width:none;margin-inline:8px}
 html body .studio-header .header-inner{padding-inline:12px}
 html body .artisan-app-page{max-width:none;padding-inline:16px}
}
@media(max-width:599px){
 html body .wrap{padding-inline:max(10px,env(safe-area-inset-left,0px)) max(10px,env(safe-area-inset-right,0px))}
 html body .artisan-app-page{padding-inline:10px}
 html body .wrap .wrap{padding-inline:0}
 html body .woocommerce ul.products,html body ul.products{column-gap:10px}
}
.studio-header{border-radius:22px;box-shadow:var(--shadow-sm)}
.studio-header>:first-child{border-start-start-radius:inherit;border-start-end-radius:inherit}
.studio-header .woocommerce-store-notice,.studio-header p.demo_store,.studio-header .promo{position:static!important;inset:auto!important;width:auto!important;margin:0!important;padding:10px 24px!important;min-height:0;background:var(--color-primary)!important;color:var(--color-primary-contrast)!important;border:0;box-shadow:none;font-size:.8rem;text-align:center;line-height:1.5;z-index:auto}
.studio-header .woocommerce-store-notice a,.studio-header .promo a{color:var(--color-primary-contrast)!important;text-decoration:underline}
.studio-header .woocommerce-store-notice__dismiss-link{margin-inline-start:16px;font-weight:650}
.studio-header .category-bar{border-radius:0 0 22px 22px}
html body .studio-password{position:relative!important;display:block!important;width:100%;padding:0!important;margin:0!important;line-height:0}
html body .studio-password input{display:block!important;float:none!important;margin:0!important;padding-inline-end:56px!important;width:100%;line-height:1.5}
html body .show-password-input{display:none!important}
html body .studio-password-toggle{position:absolute!important;inset-inline-end:6px!important;inset-inline-start:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:8px;background:var(--color-clear);color:var(--color-text-muted);box-shadow:none;display:inline-flex;align-items:center;justify-content:center;z-index:2;line-height:1}
html body .studio-password-toggle::before,html body .studio-password-toggle::after{content:none!important;display:none!important}
html body .studio-password-toggle:hover{background:var(--color-surface-alt);color:var(--color-primary)}
.studio-password-toggle svg{width:22px;height:22px;pointer-events:none}
.studio-password-toggle .password-slash{display:none}.studio-password-toggle.is-visible .password-slash{display:block}
@media(max-width:1023px){.studio-header{border-radius:18px}.studio-header .header-inner{min-height:68px;padding-block:8px}}
@media(max-width:599px){
 .woocommerce ul.products,ul.products{gap:12px}
 .woocommerce ul.products li.product,ul.products li.product{border-radius:14px}
 .product-body{padding:12px;display:flex;gap:0}
 .product-body .eyebrow{font-size:.5rem;line-height:1.3;letter-spacing:.07em;margin:0 0 6px}
 .woocommerce-loop-product__title{font-size:.8rem;line-height:1.3;margin:0 0 8px;overflow-wrap:anywhere}
 .product-body .price{font-size:.9rem;line-height:1.3;margin:4px 0 10px}
 .product-body .lead-time{font-size:.65rem;line-height:1.35;margin:0 0 8px}
 .product-body .star-rating{font-size:.7rem;margin-bottom:4px}
 .product-body .button{min-height:44px;padding:8px;font-size:.65rem;line-height:1.2;border-radius:9px;white-space:normal}
 .product-media .wishlist-toggle{top:8px;right:8px;min-width:36px;min-height:36px;width:36px;height:36px;padding:8px}
 .product-media .wishlist-toggle svg{width:20px;height:20px}
 .badges{top:8px;left:8px;max-width:calc(100% - 52px)}
}
