/* Shared button geometry; avoid padding + min-height leaving the caption at the top. */
.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-block-button__link{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;text-align:center;line-height:1.35;
}
.header nav{margin-left:auto}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.header-actions .cart-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;text-decoration:none;font-size:14px;white-space:nowrap}
.cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 5px;background:#f5e1df;border-radius:50%;font-size:12px;font-weight:650}
.header .tagline,.handwritten,.heart{font-family:inherit;font-style:normal;transform:none}
.header .tagline{font-size:13px;line-height:1.4}
.woocommerce ul.products li.product .added_to_cart{display:none!important}
.woocommerce ul.products li.product .button.added::after{display:none}
.woocommerce ul.products li.product a img,.catalog-results ul.products li.product a img,.featured-concept .woocommerce ul.products li.product a img,.cart-recommendations ul.products li.product a img{
  display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#f7f3ed;
}
.catalog-results .woocommerce-pagination ul{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px}
.catalog-results .woocommerce-pagination ul li{margin:0;border:0;overflow:visible}
.catalog-results .woocommerce-pagination ul li a,.catalog-results .woocommerce-pagination ul li span{
  display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0!important;line-height:1;border-radius:50%;
}
.lavlu-load-more{display:flex;flex-direction:column;align-items:center;gap:10px;margin:24px 0 12px}
.lavlu-load-more .button{min-width:180px;min-height:48px;font-size:16px}
.lavlu-load-more .button[hidden]{display:none}
.lavlu-load-more p{margin:0;text-align:center;color:var(--muted);font-size:14px}
.lavlu-cart-feedback{position:fixed;z-index:1100;top:100px;right:16px;max-width:calc(100% - 32px);background:#fffdfa;border:1px solid #d6cac1;box-shadow:0 4px 20px #352e2a22;border-radius:12px;padding:14px 18px;font-size:15px}
.lavlu-cart-feedback[hidden]{display:none}
.lavlu-cart-feedback a{margin-left:10px;color:#914f49;font-weight:600}
@media(max-width:1050px){.header{gap:14px}.header nav{gap:14px}.header .tagline{display:none}}
@media(max-width:760px){
  .header{align-items:center;gap:10px}
  .header-actions{margin-left:auto;gap:8px}
  .header .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:10px 12px;font:14px/1.35 system-ui}
  .header.has-mobile-menu.menu-open nav{order:3;flex-basis:100%;width:100%;margin:0}
  .header-actions .cart-link{font-size:14px;padding:8px 10px}
  .catalog-results ul.products li.product .button,.featured-concept .woocommerce ul.products li.product .button,.cart-recommendations ul.products li.product .button{
    min-height:46px;padding:10px 8px;font-size:15px;line-height:1.35;
  }
  .catalog-results ul.products li.product .button{margin:auto 8px 0}
  .hero-handwriting,.catalog-banner .handwritten{display:none}
}
@media(prefers-reduced-motion:reduce){.lavlu-cart-feedback{scroll-behavior:auto}}

/* Compose these square previews around the product, rather than the photo midpoint.
   Original image/alt text stays in the link; the gallery and its sources are untouched. */
.woocommerce ul.products li.product:is(.post-30,.post-136,.post-56,.post-27,.post-40) .woocommerce-loop-product__link{position:relative;display:block}
.woocommerce ul.products li.product:is(.post-30,.post-136,.post-56,.post-27,.post-40) .woocommerce-loop-product__link::before{
  content:"";position:absolute;top:0;left:0;width:100%;aspect-ratio:1;
  background-image:var(--lavlu-preview-image);background-size:var(--lavlu-preview-size);
  background-position:var(--lavlu-preview-position);background-repeat:no-repeat;
  border-radius:8px 8px 0 0;pointer-events:none;
}
.woocommerce ul.products li.product:is(.post-30,.post-136,.post-56,.post-27,.post-40) .woocommerce-loop-product__link>img{opacity:0}
.woocommerce ul.products li.product.post-30{
  --lavlu-preview-image:url('/wp-content/uploads/2026/10/ornament.jpg');
  --lavlu-preview-size:140% auto;--lavlu-preview-position:84% 66%;
}
.woocommerce ul.products li.product.post-136{
  --lavlu-preview-image:url('/wp-content/uploads/2026/10/p078.jpg');
  --lavlu-preview-size:175% auto;--lavlu-preview-position:52% 91%;
}
.woocommerce ul.products li.product.post-56{
  --lavlu-preview-image:url('/wp-content/uploads/2026/10/p019.jpg');
  --lavlu-preview-size:150% auto;--lavlu-preview-position:87% 79%;
}
.woocommerce ul.products li.product:is(.post-63,.post-46) a img{object-position:50% 100%}
.woocommerce ul.products li.product.post-110 a img{object-position:50% 93%}
.woocommerce ul.products li.product.post-142 a img{object-position:56% 50%}
.woocommerce ul.products li.product.post-196 a img{object-fit:contain;background:#e4e5e8}

.woocommerce ul.products li.product:is(.post-184,.post-120) a img{object-position:50% 100%}
.woocommerce ul.products li.product:is(.post-105,.post-102) a img{object-position:50% 90%}
.woocommerce ul.products li.product.post-27{
  --lavlu-preview-image:url('/wp-content/uploads/2026/10/feeder-768x679.jpg');
  --lavlu-preview-size:200% auto;--lavlu-preview-position:53% 98%;
}

.woocommerce ul.products li.product.post-40{
  --lavlu-preview-image:url('/wp-content/uploads/2026/10/decor-768x512.jpg');
  --lavlu-preview-size:200% auto;--lavlu-preview-position:35% 94%;
}
