/* space between the last tiles and the footer */
:root{--tile-end:0px}   /* no spacing row under the last tiles; a shorter column simply stays blank */

/* the theme leaves an empty pagination block (with its own top margin) under the blog grid */
body.blog .pagination{margin:0;padding:0}
body.blog .pagination:not(:has(a,.page-numbers)){display:none}

/* ---------- Shop and blog: edge-to-edge two-column photo tiles, split down the middle, no page headings ---------- */
body.blog,body.post-type-archive-product{overflow-x:clip}
body.blog .site-content,body.blog #primary,body.blog .site-main,body.blog .inside-article,
body.post-type-archive-product .site-content,body.post-type-archive-product #primary,body.post-type-archive-product .site-main,
body.post-type-archive-product .woocommerce-archive-wrapper,body.post-type-archive-product .inside-article,body.post-type-archive-product .entry-content{
  padding:0!important;margin:0!important;max-width:none}
/* the theme draws a title above and text below the shop grid with ::before / ::after; switch both off */
body.post-type-archive-product .site-main::before,body.post-type-archive-product .site-main::after,
body.post-type-archive-product .woocommerce-products-header::before,body.post-type-archive-product .woocommerce-products-header::after{content:none!important;display:none!important}
body .tile-grid{margin:0 0 var(--tile-end) calc(50% - 50vw);padding:0;width:100vw;display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:start}
.tile-col{list-style:none;margin:0;padding:0;min-width:0}
.tile-col>li{margin:0;padding:0;min-width:0}
.tile{position:relative;display:block;overflow:hidden;background:#d8ceb6;color:#f6f0e1;text-decoration:none}
.tile img{display:block;width:100%;height:auto;transition:transform .7s ease}   /* shop: natural ratio, nothing is cropped */
.tile::after{content:"";position:absolute;inset:0;background:rgba(12,8,4,0);transition:background .3s ease}
.tiles-fixed .tile img{aspect-ratio:var(--ratio);object-fit:cover}   /* blog: every post uses the same ratio */
.tile-title{font-family:"TAY Birdie",inherit;position:absolute;z-index:2;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;
  font-size:clamp(1.05rem,2.2vw,1.9rem);line-height:1.3;letter-spacing:.16em;text-transform:uppercase;color:#f6f0e1;opacity:0;transition:opacity .3s ease;text-wrap:balance}
.tile:hover::after,.tile:focus-visible::after{background:rgba(12,8,4,.58)}
.tile:hover img,.tile:focus-visible img{transform:scale(1.04)}
.tile:hover .tile-title,.tile:focus-visible .tile-title{opacity:1}
.tile:focus-visible{outline:3px solid var(--accent);outline-offset:-6px}
.tile.is-placeholder{cursor:default}
/* touch screens have no hover: show the title quietly along the bottom of each photo */
@media (hover:none){
  .tile::after{background:linear-gradient(0deg,rgba(12,8,4,.65) 0%,transparent 45%)}
  .tile-title{opacity:1;inset:auto 0 0 0;justify-content:flex-start;text-align:left;font-size:.85rem;letter-spacing:.12em;padding:12px}
}

/* ---------- Legal pages (Privacy, Terms) ---------- */
.legal{max-width:720px;margin:0 auto;padding:56px 20px 72px}
.legal-kicker{margin:0 0 8px;font-size:.8rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--contrast-2)}
.legal h1{margin:0 0 .4em}
.legal-updated{margin:0 0 6px;color:var(--contrast-2);font-size:.9rem}
.legal-lede{margin:0 0 28px;font-size:1.15rem}
.legal h2{margin:2em 0 .5em;font-size:1.15rem;letter-spacing:.08em;text-transform:uppercase}
.legal ul{margin:0 0 1em 1.2em;padding:0}
.legal li{margin-bottom:.4em}
