/* =============================================================================
   Formal Leather · theme.css
   Tiny shim layered on top of fl-styles.css (the design's CSS verbatim, scoped).
   Holds WP-only concerns: brand mark sizing, screen-reader, post/pagination,
   prose, Elementor section helpers, and the cart-count dot transition.
   ============================================================================= */

/* Screen reader / skip link */
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}
.skip-link{position:absolute;left:-9999px;top:auto;}
.skip-link:focus{left:8px;top:8px;background:var(--ink);color:var(--paper);padding:8px 14px;z-index:9999;}

/* WP custom-logo inside the design's .brand block */
body.fl-body .brand .custom-logo,
body.fl-body .brand .brand-logo img{max-height:48px;width:auto;display:block;}
body.fl-body .brand-logo{display:flex;align-items:center;}

/* Cart-count dot animation (drives wc_fragments updates) */
body.fl-body .iconbtn .dot{opacity:0;transform:scale(.5);transition:opacity .18s, transform .18s;}
body.fl-body .iconbtn .dot.on{opacity:1;transform:scale(1);}

/* Mobile nav toggle (used when WP menu collapses) */
body.fl-body .nav-toggle{display:none;background:transparent;border:0;color:var(--ink);cursor:pointer;padding:8px;}
@media(max-width:600px){
	body.fl-body .nav-toggle{display:flex;}
}

/* Prose for blog posts / static pages */
body.fl-body .fl-prose{max-width:72ch;margin:0 auto;font-size:17px;line-height:1.7;color:var(--ink-2);}
body.fl-body .fl-prose p{margin:1em 0;}
body.fl-body .fl-prose h2,
body.fl-body .fl-prose h3{font-family:'Cormorant Garamond';font-weight:600;color:var(--ink);margin-top:1.5em;}

/* Posts list */
body.fl-body .postlist{display:grid;gap:48px;}
body.fl-body .postcard{padding-bottom:48px;border-bottom:1px solid var(--line);}
body.fl-body .postthumb{display:block;margin-bottom:22px;border-radius:5px;overflow:hidden;}
body.fl-body .pager{margin-top:48px;text-align:center;}

/* Woo notices restyle */
body.fl-body .woocommerce-notices-wrapper{margin:16px 0;}

/* Elementor section utilities */
body.fl-body .fl-bg-paper{background:var(--paper);}
body.fl-body .fl-bg-card{background:var(--card);}
body.fl-body .fl-bg-ink{background:var(--ink);color:var(--paper);}

/* Full-bleed util (escape Elementor's container) */
body.fl-body .fl-bleed{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}

/* Elementor product-card link wrapper coherence */
body.fl-body .pcard a{color:inherit;text-decoration:none;}

/* Header sticky behavior already in fl-styles.css — but add a fallback class */
body.fl-body .hdr.scrolled{border-color:var(--line);}

/* Woo on-sale flash inside .pcard */
body.fl-body .pcard .onsale{display:none;} /* design uses .tagline overlay instead */
