/* pureessencesalon client overrides (Run 66). Agent-authored additions only.
 *
 * Full-width "large gap" masonry: live keeps the 15px gutter on the gallery wrapper and sizes
 * the strip at Enfold's own 100.4% (captured rule `.av-masonry-container{width:100.4%}`). The
 * shared static grid pads the strip instead, which left every tile ~1px short on a phone
 * (360x288 vs live 361.44x289.15: 6px and 17px over the two home galleries). Same box model
 * the shared template already uses for the in-column case, and the same fix as strandz Run 63.
 * Phone widths only (the single-column layout): at 1440 the shared grid is within 1px of live. */
@media only screen and (max-width: 480px) {
#top .av-masonry.av-large-gap { padding: 15px 0 0 15px !important; box-sizing: border-box; }
#top .av-masonry.av-large-gap .av-masonry-container { padding: 0; width: 100.4%; float: left; clear: both; }
}

/* Load more bar: on live the gallery wrapper carries the 15px left gutter, so the bar starts
 * 15px in and ends at the last tile (15 / 1395 at 1440). The shared grid started it at 0. */
@media only screen and (min-width: 481px) {
#top .av-masonry.av-large-gap .av-masonry-load-more { margin-left: 15px; width: calc(100% - 30px) !important; box-sizing: border-box; }
}

/* Scrolled header: live's fixed header background is 95% opaque at desktop (the page shows
 * faintly through it). The shared rule forces 100% for glassy headers; this header is not
 * glassy. Same specificity plus #top so it wins. On a phone the header is not fixed and live
 * is 100%, so this is desktop only. */
@media only screen and (min-width: 990px) {
#top #header:not(.av_header_transparency) .header_bg { opacity: 0.95 !important; }
}
