/* Agreed compact storefront geometry, restored from the verified square-card release. */
/* compact-frozen-mobile */

@media(max-width:700px){
.products:has(.frozen-card){grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:22px}
.products>.frozen-card{height:auto}
.products>.frozen-card>.atelier-image{aspect-ratio:auto;height:auto;flex:none}
.products>.frozen-card>.atelier-image>a{height:auto;padding:0}
.products>.frozen-card>.atelier-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
.products .frozen-card .atelier-body{padding:14px 16px 16px}
.products .frozen-card .product-title{display:block;height:auto;min-height:0;font-size:23px;line-height:1.2;margin:8px 0;overflow:visible}
.products .frozen-card .product-subtitle{display:block;height:auto;min-height:0;font-size:12px;line-height:1.5;margin:0 0 10px;overflow:visible}
.products .frozen-card .atelier-category{height:auto;min-height:0;line-height:1.4}
.products .frozen-card .atelier-body>.atelier-markers{min-height:0;margin-bottom:8px;padding-bottom:8px;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}
.products .frozen-card .atelier-body>.atelier-markers .atelier-marker{font-size:10px}
.products .frozen-card .atelier-body>.atelier-markers svg{width:25px;height:25px}
.products .frozen-card .product-buy{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,1fr);align-items:start;gap:12px;padding-top:12px}
.products .frozen-card .price{min-height:44px;height:auto;font-size:20px}
.products .frozen-card .product-actions{min-height:0;width:100%}
.products .frozen-card .preorder-minimum{font-size:11px}
.products .frozen-card .availability{min-height:36px}
}

/* frozen-screen-fit */

@media(max-width:700px){
.products .frozen-card .availability{min-height:30px;padding:6px 10px}
.products .frozen-card .atelier-body{padding:6px 12px 10px}
.products .frozen-card .atelier-category,.products .frozen-card .product-subtitle{display:none}
.products .frozen-card .product-title{display:block;height:22px;min-height:22px;font-size:17px;line-height:22px;margin:4px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.products .frozen-card .atelier-body>.atelier-markers{min-height:0;margin:0;padding:0 0 4px;gap:4px}
.products .frozen-card .atelier-body>.atelier-markers .atelier-marker{font-size:8px;line-height:1.2;gap:2px}
.products .frozen-card .atelier-body>.atelier-markers svg{width:18px;height:18px}
.products .frozen-card .product-buy{padding-top:6px;gap:8px}
.products .frozen-card .price{font-size:18px;min-height:40px}
.products .frozen-card .product-actions{gap:4px}
.products .frozen-card .product-actions>button{min-height:40px;padding:8px 6px;font-size:12px}
.products .frozen-card .preorder-minimum{font-size:10px;line-height:1.2}
}

/* frozen-uncropped */

@media(max-width:700px){
.products>.frozen-card>.atelier-image{height:auto;min-height:0;max-height:none;aspect-ratio:auto;overflow:hidden;flex:none}
.products>.frozen-card>.atelier-image>a{display:block;height:auto;padding:0;margin:0;line-height:0}
.products>.frozen-card>.atelier-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;transform:none}
.products>.frozen-card>.availability{position:static;flex:none;margin:0;min-height:30px;padding:6px 10px;line-height:1.3;z-index:auto}
.products .frozen-card .atelier-body{padding:4px 10px 6px}
.products .frozen-card .atelier-body>.atelier-markers{display:flex;justify-content:space-between;align-items:center;min-height:0;height:auto;margin:0;padding:0 0 3px;border:0;gap:4px}
.products .frozen-card .atelier-body>.atelier-markers .atelier-marker{display:inline-flex;flex-direction:row;align-items:center;gap:3px;white-space:nowrap;font-size:8px;line-height:1.2}
.products .frozen-card .atelier-body>.atelier-markers svg{display:block;width:16px;height:16px;flex:none}
.products .frozen-card .product-title{height:19px;min-height:19px;font-size:16px;line-height:19px;margin:3px 0 4px}
.products .frozen-card .product-buy{padding-top:4px;gap:8px}
.products .frozen-card .product-actions{min-height:0;gap:3px;margin:0}
.products .frozen-card .preorder-minimum{margin:0;padding:0;font-size:10px;line-height:1.2}
.products .frozen-card .price{min-height:40px;font-size:17px}
}

/* frozen-short-screen */
@media(max-width:380px){.products .frozen-card .atelier-body{padding:2px 10px}.products .frozen-card .product-title{height:16px;min-height:16px;line-height:16px;font-size:14px;margin:0}}
/* frozen-natural-proportions */

#products>.frozen-card{width:100%;max-width:none;justify-self:stretch}
#products>.frozen-card>.product-image{height:auto;min-height:0;max-height:none;aspect-ratio:auto;flex:none}
#products>.frozen-card>.product-image>a{display:block;width:100%;height:auto;padding:0;line-height:0}
#products>.frozen-card>.product-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;transform:none}

/* frozen-desktop-compact */

@media(min-width:701px){
#products>.frozen-card>.availability{min-height:34px;padding:7px 12px}
#products .frozen-card .atelier-body{padding:8px 12px 12px}
#products .frozen-card .atelier-category,#products .frozen-card .product-subtitle{display:none}
#products .frozen-card .atelier-body>.atelier-markers{display:flex;justify-content:space-between;align-items:center;gap:5px;min-height:0;margin:0;padding:0 0 4px;border:0}
#products .frozen-card .atelier-body>.atelier-markers .atelier-marker{display:inline-flex;flex-direction:row;align-items:center;gap:4px;font-size:9px;line-height:1.3}
#products .frozen-card .atelier-body>.atelier-markers svg{width:20px;height:20px;flex:none}
#products .frozen-card .product-title{font-size:20px;line-height:1.2;min-height:48px;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#products .frozen-card .product-buy{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,1fr);align-items:start;gap:8px;padding-top:8px;margin-top:auto}
#products .frozen-card .price{font-size:20px;min-height:44px;display:flex;align-items:center}
#products .frozen-card .product-actions{min-height:0;gap:4px}
#products .frozen-card .product-actions>button{min-height:44px;min-width:0;padding:10px 8px;font-size:12px}
#products .frozen-card .preorder-minimum{margin:0;padding:0;font-size:11px;line-height:1.3}
}

/* frozen-square-cards */

#products>.frozen-card{scroll-margin-top:68px}
#products>.frozen-card>.product-image img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
@media(max-width:700px){#products>.frozen-card .product-title{height:auto;min-height:0;max-height:38px;font-size:16px;line-height:19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0}#products>.frozen-card .atelier-body{padding:5px 10px 7px}}

/* readable-product-status */

#products>.product-card>.availability{font-size:16px;line-height:1.35;font-weight:600;min-height:44px;padding:8px 12px;color:#30452b}
#products>.product-card>.availability.made-to-order{color:#60451f;background:#f1e9db}
#products .frozen-card .atelier-body>.atelier-markers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;align-items:start;margin:0;padding:0 0 3px;min-height:0;border:0}
#products .frozen-card .atelier-body>.atelier-markers:has(.atelier-marker:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
#products .frozen-card .atelier-body>.atelier-markers .atelier-marker{display:flex;flex-direction:column;gap:2px;font-size:12px;line-height:1.2;white-space:normal;text-align:center}
#products .frozen-card .atelier-body>.atelier-markers svg{width:24px;height:24px;flex:none}
#products .frozen-card .product-actions>button{font-size:15px;min-height:44px;padding:9px 8px}
#products .frozen-card .preorder-minimum{font-size:13px;line-height:1.35}
#products .frozen-card .cart-icon{width:20px;height:20px}
@media(max-width:700px){#products>.frozen-card .product-title{font-size:17px;line-height:20px;max-height:40px;white-space:normal}#products .frozen-card .product-buy{gap:8px;padding-top:4px}#products .frozen-card .price{font-size:19px}}

/* frozen-readable-fit */

@media(max-width:700px){
#products .frozen-card .atelier-body{padding:4px 10px 5px}
#products .frozen-card .product-title{margin:2px 0}
#products .frozen-card .atelier-body>.atelier-markers{padding-bottom:1px}
#products .frozen-card .atelier-body>.atelier-markers:not(:has(.atelier-marker:nth-child(4))) .atelier-marker{flex-direction:row;justify-content:center;gap:3px;align-items:center}
#products .frozen-card .product-buy{grid-template-columns:minmax(0,1fr) minmax(130px,1fr);row-gap:3px;column-gap:8px}
#products .frozen-card .product-actions{display:contents}
#products .frozen-card .product-actions>button{grid-column:2;grid-row:1}
#products .frozen-card .price{grid-column:1;grid-row:1;min-height:44px}
#products .frozen-card .preorder-minimum{grid-column:1/-1;grid-row:2;margin:0;white-space:normal}
}

/* frozen-marker-contrast */
#products .frozen-card .atelier-markers{color:#60492f}#products .frozen-card .preorder-minimum{color:#60492f}#products .frozen-card .preorder-button{color:#713c2d;border-color:#9a775e}
/* Reserve image space before download, and keep the image proportions unchanged. */
#products>.frozen-card>.product-image{aspect-ratio:1/1;height:auto;min-height:0;max-height:none;flex:none}
#products>.frozen-card>.product-image>a{display:block;height:100%;width:100%}
#products>.frozen-card>.product-image img{display:block;width:100%;height:100%;object-fit:contain;transform:none}
#products>.product-card:not(.frozen-card)>.product-image{aspect-ratio:1/1;min-height:0;flex:none}
#products>.product-card:not(.frozen-card)>.availability{font-size:14px;min-height:44px;line-height:1.35}
#products>.product-card:not(.frozen-card) .product-actions>button{font-size:14px;min-height:44px}
#products>.product-card:not(.frozen-card) .preorder-minimum{font-size:12px}
#products>.product-card{scroll-margin-top:68px}
