/* One photographic card hierarchy across the homepage and native WooCommerce loops. */
.sot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sot-space-6);list-style:none;padding:0;margin:0;}
.sot-card{min-width:0;}
.sot-card-image{position:relative;display:block;overflow:hidden;background:var(--sot-surface);aspect-ratio:4/5;}
.sot-card-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .3s var(--sot-ease);}
.sot-card-image .sot-secondary{opacity:0;}
@media(hover:hover){.sot-card-image:hover .sot-secondary{opacity:1}.sot-card-image.sot-has-secondary:hover .sot-primary{opacity:0}}
.sot-card-caption{display:flex;justify-content:space-between;align-items:baseline;gap:var(--sot-space-4);padding-top:var(--sot-space-4);}
.sot-card-caption h3{font-size:var(--sot-small);font-weight:500;letter-spacing:.02em;text-transform:uppercase;line-height:1.4;margin:0;}
.sot-card-caption .price{font-size:var(--sot-small);white-space:nowrap;font-weight:400;}
.sot-archive-heading{padding:var(--sot-space-6) 0 var(--sot-space-8);}
.sot-archive-heading h1{max-width:1000px;margin-block:var(--sot-space-5);text-transform:uppercase;font-size:clamp(2.5rem,5vw,5rem);overflow-wrap:anywhere;}
.sot-archive-heading>div{display:flex;justify-content:space-between;align-items:end;gap:var(--sot-space-7);}
.sot-archive-heading>div p{font-size:var(--sot-small);max-width:410px;margin:0;}
.woocommerce .woo-listing-top:empty{display:none;}
body.woocommerce main>.ct-container,body.woocommerce main>.ct-container-full,body.search main>.ct-container{width:100%;max-width:var(--sot-container);padding-inline:var(--sot-gutter);}
body.woocommerce main>.ct-container-full{--theme-container-width:100%;}
.sot-page .woocommerce-notices-wrapper{width:100%;max-width:none;}
body .products{--grid-columns:repeat(3,minmax(0,1fr));--grid-columns-gap:var(--sot-space-6);--grid-rows-gap:var(--sot-space-8);}
body .products .product{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--sot-space-4);align-content:start;align-items:baseline;background:none;border:0;border-radius:0;box-shadow:none;padding:0;min-width:0;}
body .products .product figure{grid-column:1/-1;width:100%;margin:0;}
body .products .product .ct-media-container{background:var(--sot-surface);aspect-ratio:4/5;}
body .products .product .ct-media-container img{object-fit:contain;}
body .products .woocommerce-loop-product__title{font-size:var(--sot-small);letter-spacing:.02em;text-transform:uppercase;font-weight:500;line-height:1.4;margin:0;}
body .products .product .price{font-size:var(--sot-small);font-weight:400;line-height:1.4;margin:0;color:var(--sot-ink);white-space:nowrap;text-align:end;}
/* Notices retain native roles/validation, without overlapping stock alert icons or boxes. */
body .woocommerce-info,body .woocommerce-message,body .woocommerce-error{background:transparent;color:var(--sot-ink);border:0;border-block:var(--sot-border);border-radius:0;box-shadow:none;padding:var(--sot-space-5) 0;font-size:var(--sot-small);list-style:none;}
body .woocommerce-message a,body .woocommerce-error a{text-decoration:underline;text-underline-offset:3px;}
body .woocommerce-message::before,body .woocommerce-info::before,body .woocommerce-error::before{display:none;}
body .woocommerce-message .button,body .woocommerce-message .restore-item,body .woocommerce-info .button,body .woocommerce-info .showlogin{background:transparent;color:var(--sot-ink);border:0;padding:0;min-height:44px;font-size:var(--sot-label);text-decoration:underline;text-underline-offset:4px;}
body .woocommerce-pagination a,body .woocommerce-pagination span{border-radius:0;box-shadow:none;min-width:44px;min-height:44px;}
/* General site search uses Blocksy's native list with the blog metadata removed. */
body.search .entries{grid-template-columns:minmax(0,1fr);max-width:var(--sot-reading);gap:0;}
body.search .entries .entry-card{background:none;border:0;border-bottom:var(--sot-border);border-radius:0;box-shadow:none;padding:var(--sot-space-6) 0;}
body.search .entries .entry-title{font-size:1.5rem;text-transform:uppercase;margin:0 0 var(--sot-space-3);}
body.search .entries .entry-excerpt{font-size:var(--sot-small);line-height:1.7;margin:0;}
@media(max-width:999px){.sot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sot-space-6) var(--sot-space-4)}body.woocommerce main>.ct-container-full{--theme-container-width:100%;}
.sot-page .woocommerce-notices-wrapper{width:100%;max-width:none;}
body .products{--grid-columns:repeat(2,minmax(0,1fr));--grid-columns-gap:var(--sot-space-4)}.sot-archive-heading>div{align-items:start;flex-direction:column;gap:var(--sot-space-5)}}
@media(max-width:479px){.sot-grid{grid-template-columns:1fr;gap:var(--sot-space-7)}body.woocommerce main>.ct-container-full{--theme-container-width:100%;}
.sot-page .woocommerce-notices-wrapper{width:100%;max-width:none;}
body .products{--grid-columns:1fr;--grid-rows-gap:var(--sot-space-7)}.sot-card-image{aspect-ratio:1/1.12}body .products .product .ct-media-container{aspect-ratio:1/1.12}.sot-archive-heading{padding-block:var(--sot-space-4) var(--sot-space-7)}}

/* Optional collection links use the same restrained text navigation. */
.sot-drop-navigation{display:flex;flex-wrap:wrap;gap:var(--sot-space-5);margin-top:var(--sot-space-6);font-size:var(--sot-label);text-transform:uppercase;letter-spacing:.04em}.sot-drop-navigation a{display:inline-flex;align-items:center;min-height:44px}.sot-drop-navigation [aria-current]{text-decoration:underline;text-underline-offset:5px}.sot-card-caption h3,.products .woocommerce-loop-product__title{overflow-wrap:anywhere}
