/* BECKYDARLZ: WordPress-specific additions. beckydarlz.css stays as delivered. */

/* The design toggles elements with `hidden`; several components set display, so enforce it. */
.bd [hidden]{display:none!important}

/* Without JS, collapsed content stays readable. */
.no-js .bd .acc-p[hidden]{display:block!important}
.no-js .bd .more-body[hidden]{display:grid!important}
.no-js .bd .more svg{display:none}

/* Skip link + screen-reader text */
.skip-link{position:absolute;left:12px;top:-100px;z-index:100;background:#141414;color:#fff;padding:12px 18px;font:600 15px/1 Inter,system-ui,sans-serif;border-radius:2px;text-decoration:none}
.skip-link:focus{top:12px;outline:2px solid #E31922;outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#main:focus{outline:0}

/* Sticky offsets with the admin bar (fixed above 600px only). */
.admin-bar .hdr{top:var(--wp-admin--admin-bar--height,0px)}
.admin-bar .fbar{top:calc(81px + var(--wp-admin--admin-bar--height,0px))}
.admin-bar .pd-info{top:calc(112px + var(--wp-admin--admin-bar--height,0px))}
.admin-bar .drawer,.admin-bar .mnav{top:var(--wp-admin--admin-bar--height,0px)}
@media (max-width:600px){.admin-bar .hdr{top:0}.admin-bar .fbar{top:65px}.admin-bar .drawer,.admin-bar .mnav{top:0}}

/* Scroll lock while a dialog is open. */
html.bd-lock,html.bd-lock body{overflow:hidden}

/* Header: optional hairline once scrolled (border already present; keep it crisp). */
.hdr.is-scrolled{border-bottom-color:rgba(20,20,20,.22)}

/* Hero <picture> fills the media column like the design's <img>. */
.hero-media picture{display:block;width:100%;height:100%}

/* Drawer wrappers used for state switching are layout-neutral. */
.dr-wrap{display:contents}
.dr-foot-g{display:contents}

/* Honeypot */
.bd-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Collection/search grids show every card at all widths (the ≤1100 "first 6" rule is for the home spotlight). */
@media (max-width:1100px){.pgrid--all .pcard:nth-child(n+7){display:flex}}

/* Submit button busy state */
.btn .spin{flex:none}
.btn--line .spin{border-color:rgba(20,20,20,.25);border-top-color:#141414}

/* Search results as links */
a.sr-item{color:inherit}
.search-res:empty{display:none}

/* Footer social icons (only rendered when URLs are set) */
.ftr-social{display:flex;gap:4px;margin-top:20px}
.ftr-social a{color:var(--grey-inv)}
.ftr-social a:hover{color:#fff;background:#232323}

/* Contact map once an embed URL is set */
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(.2)}

/* Product gallery thumbnails (only when the product has a gallery) */
.pd-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}
.pd-thumbs .ph{display:block;aspect-ratio:3/4}

/* Generic pages (Privacy Policy) */
.prose{max-width:760px;font-size:17px;line-height:1.7;color:#3A3A3A}
.prose>*+*{margin-top:1.1em}
.prose h2{font-family:var(--display);font-weight:700;font-size:30px;line-height:1.15;letter-spacing:-.025em;color:var(--ink);margin-top:2em}
.prose h3{font-family:var(--display);font-weight:700;font-size:22px;line-height:1.2;color:var(--ink);margin-top:1.6em}
.prose a{color:var(--red-text);text-decoration:underline;text-underline-offset:3px}
.prose ul{list-style:disc;padding-left:1.3em}
.prose ol{list-style:decimal;padding-left:1.3em}

/* WooCommerce notices, if any slip through */
.bd .woocommerce-notices-wrapper:empty{display:none}
.bd .woocommerce-message,.bd .woocommerce-info,.bd .woocommerce-error{list-style:none;margin:16px 0;padding:14px 16px;border:1px solid var(--line);background:var(--ivory);font-size:14px}
