/* Coastal decoration from the Total Nutrition design pack (tn-design/), adapted to this site.
   Loaded after site.css. Everything here is namespaced tn- and decorative only:
   art sits in an absolute, clipped, non-interactive layer below the section content, so it
   never adds height, never takes clicks, and never clips focus rings or the sticky filter bar
   (the section itself is not clipped, only the art layer is). Motion: none.
   Art selectors are two classes deep so they outrank site.css's `.shop-body img`. */

.tn-coastal-frame { position: relative; isolation: isolate; }
.tn-coastal-frame > .wrap { position: relative; z-index: 1; }
.tn-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.tn-art .tn-edge-art, .tn-foot-edge .tn-edge-art { position: absolute; display: block; max-width: none; height: auto; pointer-events: none; user-select: none; }

/* Stores: twin gulf palms behind the top-left corner, mirrored to lean in toward the cards. */
.tn-art .tn-edge-art--twins { width: clamp(240px, 22vw, 320px); left: -120px; top: 28px; opacity: 0.1; transform: scaleX(-1); }

/* Footer boundary: the pack's Gulf wave as a seamless tile running the full width. */
.tn-foot-edge { position: absolute; left: 0; right: 0; top: 14px; height: 64px; pointer-events: none; opacity: 0.6;
  background: url("/tn-design/accents/ocean-edge-gulf-tile.svg") 0 50% / auto 64px repeat-x; }

/* Edge palms from the owner's marked-up screenshots, drawn for their spots (tools/make-palms.js):
   each one already grows in from the edge it sits on, so nothing is rotated. Mirrored copies face
   the other way. */
.tn-art .tn-p { --w: 260px; width: var(--w); }

/* Reviews: canopy dropping in from the top-right corner. */
.tn-art .tn-p--rev-canopy { --w: clamp(300px, 24vw, 440px); right: calc(var(--w) * -0.3); top: 0; opacity: 0.1; }

/* Must-haves: palm rising out of the lower-left edge, leaning in. */
.tn-art .tn-p--musts { --w: clamp(260px, 21vw, 380px); left: 0; bottom: 0; opacity: 0.1; }

/* Owners: canopy from the top-left corner, sun in the top-right corner, palm out of the right edge. */
.tn-art .tn-p--own-canopy { --w: clamp(280px, 22vw, 420px); left: calc(var(--w) * -0.3); top: 0; opacity: 0.13; }
.tn-art .tn-sun { width: clamp(170px, 13vw, 250px); right: -60px; top: -60px; opacity: 0.32; }
.tn-art .tn-p--own-edge { --w: clamp(240px, 19vw, 340px); right: 0; bottom: 4%; opacity: 0.13; transform: scaleX(-1); }

/* Fit Fam: a full cream palm on the right, crown in the top-right corner and trunk to the floor,
   plus one rising from the bottom-left and leaning out past the left edge. */
.tn-art .tn-p--ff-right { width: auto; height: 104%; right: 1%; bottom: 0; opacity: 0.2; }
.tn-art .tn-p--ff-left { width: auto; height: 104%; left: calc(13vw - 420px); bottom: 0; opacity: 0.16; transform: scaleX(-1); }
@media (max-width: 1600px) { .tn-art .tn-p--ff-left { left: calc(11vw - 500px); } }   /* narrower margins: keep the trunk clear of the heading */

/* Local store badges: full color, full opacity, beside the matching store name. */
.tn-local-badge { display: block; flex: 0 0 auto; width: 168px; max-width: 100%; height: auto; }

@media (max-width: 760px) {
  .tn-art .tn-p--rev-canopy, .tn-art .tn-p--musts, .tn-art .tn-p--own-edge, .tn-art .tn-p--ff-left { display: none; }
  .tn-art .tn-p--own-canopy { --w: 240px; left: -70px; opacity: 0.1; }
  .tn-art .tn-sun { width: 140px; right: -50px; top: -50px; }
  .tn-art .tn-p--ff-right { height: 72%; right: -60px; opacity: 0.14; }
  .tn-art .tn-edge-art--twins { display: none; }   /* no outer margin on phones */
  .tn-foot-edge { height: 48px; background-size: auto 48px; }
  .tn-local-badge { width: 150px; }
}
