/* ############################################################
   BUILD MARKER — style.css — ROUND 412 — 2026-09-22
   If you view-source or check the Network tab on the live site and
   DO NOT see this exact comment at the top of the loaded style.css,
   the browser is serving a cached copy, or the design sync didn't
   actually push this file into the NSF -- the fixes below (footer
   underline, hero ALL CAPS, RTE font/size picker labels) are all in
   this file, so if this marker isn't showing up live, none of them
   will be either, no matter what else got reimported.
   ############################################################ */

/* ===================================================================
   Leah Kate Designs — "Option 3: Modern boutique cards" brand overlay
   on Bootstrap 5.3
   FIX (2026-08, round 8): applied the approved design direction (of the
   5 options shown) sitewide. Same approach as every round before this:
   retheme stock Bootstrap via its CSS variable API, keep a thin overlay
   for the handful of components Bootstrap doesn't provide, touch no
   page structure or data logic.

   FIX (2026-08, round 21): swapped the two-typeface brand pairing
   (Fraunces serif headings / Manrope body) for a single grotesque sans
   stack, matching the font style used on macys.com — confirmed live via
   getComputedStyle() on macys.com/shop/womens/clothing: their body/heading
   font-family resolves to "Macys Sans", "Helvetica Neue", Helvetica,
   Arial, sans-serif. "Macys Sans" is a private/licensed webfont not
   available to us, so this uses their own documented fallback stack
   (Helvetica Neue / Helvetica / Arial), which is effectively identical on
   any Mac and very close everywhere else — no external font file needed,
   nothing to fail to load. Headings are no longer a separate serif family;
   Macy's uses the same sans stack for everything, just heavier weights. */

:root{
  --brand: #8a2846;
  --brand-dark: #6b1c36;
  --brand-rgb: 138, 40, 70;
  --ink: #211c1a;
  --cream: #f6f1ea;
  --site-font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --bs-primary: var(--brand);
  --bs-primary-rgb: var(--brand-rgb);
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: var(--brand-rgb);
  --bs-link-hover-color: var(--brand-dark);
  --bs-link-decoration: none;
  --bs-body-font-family: var(--site-font);
  --bs-body-bg: var(--cream);
  --bs-body-color: var(--ink);
  --bs-border-radius: 1.1rem;
  --bs-border-radius-lg: 1.25rem;
  --bs-border-radius-sm: .6rem;
}
/* FIX (round 411): "remove the underlining from the footer" -- turns out
   the round-142 fix above (setting --bs-link-decoration) never actually
   worked: checked Bootstrap 5.3.3's real compiled CSS and its `a{}` rule
   hardcodes text-decoration:underline, it doesn't read that variable at
   all (that was a wrong assumption in round 142, not a real Bootstrap
   API). That's also why ccFooter.xsp's links were still visibly
   underlined despite that "fix" being in place. Also, none of the old
   `footer ...` rules further down this file (background, link color,
   h5 styling) ever matched anything either -- ccFooter.xsp's markup is a
   plain <div class="bg">, never wrapped in an actual <footer> element, so
   every `footer X{...}` selector was always dead code. This single rule
   is the real fix, same-specificity as Bootstrap's but loads after it, so
   it wins the cascade and actually removes the underline site-wide (any
   spot that still wants one, like mega-menu links on hover, uses a more
   specific selector that still overrides this fine). */
a{ text-decoration: none; }

.btn{ border-radius: 50rem; font-weight: 600; padding: .6rem 1.5rem; letter-spacing: .01em; }
.btn-primary{
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
}
.badge.bg-primary, .badge-success, .product-badge{ background-color: var(--brand) !important; }

body{ font-family: var(--site-font); }
h1, h2, h3, h4, h5, h6, .page-title{
  font-family: var(--site-font);
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ---------- Small brand-specific helpers Bootstrap doesn't provide ---------- */
.eyebrow{ text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; color: var(--brand); }
.divider{ width: 48px; height: 2px; background: var(--brand); margin: 14px auto 0; border-radius: 2px; }
.section{ padding: 5.5rem 0; }
.section-tight{ padding: 3rem 0; }
.section-header{ max-width: 620px; margin: 0 auto 2.75rem; text-align: center; }

/* ---------- Ticker tape (round 140): scrolling stats banner above the ---------- */
/* nav on every page (HeaderControl.xsp) -- two identical copies of the
   same text sit side by side in a flex track; animating the track exactly
   -50% (one copy's width) to the left on an infinite loop is the standard
   seamless CSS marquee technique, no JS needed. */
/* FIX (round 416): "make sure the ticker tape bar and the breadcrumb bar
   have the same color as the navigation bar" -- both used their own fixed
   colors (var(--ink)/var(--cream) here, var(--ink) again on .header below)
   completely independent of the nav bar's color, admin-configurable or
   not. Both now read the same --header-bg-custom/--header-text-custom
   custom properties the nav bar itself reads (see round 415's nav.navbar
   rule) so all three bars always match, whatever color is chosen. */
.site-ticker{
  background: var(--header-bg-custom, #000); color: var(--header-text-custom, #fff); overflow: hidden;
  white-space: nowrap; padding: .5rem 0;
}
.site-ticker-track{
  display: inline-flex; width: max-content;
  animation: site-ticker-scroll 24s linear infinite;
}
.site-ticker-seq{
  display: inline-flex; align-items: center; flex: 0 0 auto;
  padding-right: 3rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--header-text-custom, #fff);
}
@keyframes site-ticker-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .site-ticker-track{ animation: none; }
  .site-ticker-seq:last-child{ display: none; }
}

/* ---------- Nav ---------- */
/* FIX (round 405): "header is a different color on the Portfolio page,
   and hard to see when scrolling" -- the nav markup carried Bootstrap's
   .bg-transparent utility, which sets background-color:transparent with
   !important, completely overriding this rule below regardless of
   specificity. So the header was ALWAYS fully see-through everywhere,
   not just on Portfolio -- it only looked solid cream on Home/About
   because those pages happen to have plain background right behind the
   header. Portfolio's grid images sit right behind it, so they showed
   straight through, and kept showing through the nav text while
   scrolling. Removed .bg-transparent from ccHeader.xsp and made this
   background fully opaque (no more rgba/blur) so the header is always
   the same solid color, on every page, at any scroll position. */
/* FIX (round 414): "make the header black and the text white" -- the nav
   bar used Bootstrap 5.3's CSS-variable driven navbar (no .navbar-dark
   class), so it's re-themed here by overriding those same variables
   (color/hover/active/brand/toggler-icon) rather than fighting them, plus
   the couple of hardcoded colors below (.navbar-brand, .nav-link,
   .mega-toggle) that weren't wired to a variable at all. The default
   logo's screen-blend trick (see round 26 note above) still works
   correctly on a black bar -- screening a pure-black pixel always reveals
   whatever is behind it unchanged, cream or black.

   UPDATE (round 415): "match the logo background, and let me change the
   header/menu colors from the admin" -- background/text now read the
   --header-bg-custom/--header-text-custom custom properties, which
   ccHeader.xsp sets inline per-request from HomeSettings (AdminHomeSettings
   > Header & Footer tab). The #000/#fff fallbacks here are what render if
   that inline style is ever missing, and were picked to match: sampled the
   actual logo PNG's background pixels directly (pure black, rgb(0,0,0)) --
   not var(--ink), which is a slightly lighter near-black used elsewhere on
   the site and was a mismatch. One color drives the whole bar (brand, all
   menu items, toggler icon) per "for the entire header not each item". */
nav.navbar{
  background: var(--header-bg-custom, #000);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: none;
  transition: padding .2s ease;
  --bs-navbar-color: var(--header-text-custom, #fff);
  --bs-navbar-hover-color: #f0c6d4;
  --bs-navbar-active-color: var(--header-text-custom, #fff);
  --bs-navbar-brand-color: var(--header-text-custom, #fff);
  --bs-navbar-brand-hover-color: var(--header-text-custom, #fff);
  --bs-navbar-toggler-border-color: rgba(255,255,255,.25);
  /* round 415: real toggler icon color now comes from the inline
     --bs-navbar-toggler-icon-bg ccHeader.xsp sets (built server-side with
     the chosen color baked into the SVG data-uri); this is just the
     fallback for the rare case that inline style is missing. */
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  /* round 406: giving the navbar its own compositing layer (will-change +
     a null 3D transform) stops the browser from repainting the whole page
     behind it every time the padding transition ticks while the page is
     also scrolling -- that repaint-on-scroll contention is what read as
     "flickering" even when the nav-scrolled class itself wasn't thrashing. */
  will-change: padding;
  transform: translateZ(0);
}
/* round 405/406: "scroll down, keep it pinned to the top but shrink it" --
   leahKateSite.js toggles a "nav-scrolled" class on <body> (not on the
   nav itself: the ticker tape sits BEFORE the nav in the markup, so a
   sibling selector off the nav can never reach it -- body is an
   ancestor of both, so this works regardless of source order) once the
   page has scrolled past the hero. The ticker tape and the header's own
   top/bottom padding shrink so the sticky bar takes up less room, but
   it stays fully opaque (never lets the page scroll through it) and
   never leaves the top.
   round 406: shrunk further -- logo/padding/nav-link sizes below plus the
   ticker collapsing to 0 now take the header from ~185px down to ~70-75px,
   about 40% of its full height (i.e. shrunk by more than half), per request. */
body.nav-scrolled nav.navbar .header-row-top{ padding: .35rem 0; }
body.nav-scrolled nav.navbar .header-row-nav{ padding: .15rem 0 .3rem; }
body.nav-scrolled nav.navbar .navbar-brand .logo,
body.nav-scrolled nav.navbar .navbar-brand img{ height: var(--logo-h-s, 28px); width: var(--logo-w-s, auto); }
body.nav-scrolled nav.navbar .navbar-nav .nav-link{ padding: .1rem 0 !important; font-size: .78rem; }
.site-ticker{
  transition: max-height .2s ease, opacity .2s ease;
  overflow: hidden;
  will-change: max-height, opacity;
  transform: translateZ(0);
}
body.nav-scrolled .site-ticker{ max-height: 0; opacity: 0; padding: 0; }
.navbar-brand{ font-family: var(--site-font); font-weight: 700; font-size: 1.35rem; margin: 0; color: var(--header-text-custom, #fff); }
/* FIX (2026-08, round 26): "the logo is wrong" -- the only logo asset in
   the database is a square badge (woman mark + "LEAH KATE / FOR THE BIG,
   BOLD, & BEAUTIFUL" stacked underneath) on a solid, fully opaque black
   background -- there's no transparent-background version. Squeezed into
   a 46px-tall navbar slot, that whole badge (including the wordmark text)
   shrinks to an illegible smudge sitting inside a plain black tile, which
   reads as "broken" rather than as a logo. Two changes with no new asset
   needed: sized up a bit so the mark itself is recognizable, and added
   mix-blend-mode:screen, a standard CSS trick for a black-background
   image on a light page -- screen-blending a pure-black pixel against
   anything is a no-op, so the black square effectively disappears against
   the site's light header, leaving just the glowing pink linework, which
   looks like a proper transparent-background logo without touching the
   source file. */
/* Header height and logo size are set on Home Page Settings > Header and
   Footer. ccHeader.xsp writes them as custom properties on :root
   (siteHeaderCssVars in homeSettings.jss); the fallbacks here are the
   previous fixed sizes. -s = scrolled, -m = phone/tablet, -ms = both. */
.navbar-brand .logo, .navbar-brand img{ height: var(--logo-h, 62px); width: var(--logo-w, auto); object-fit: var(--logo-fit, contain); transition: height .2s ease, width .2s ease; }
@media (max-width: 991.98px){
  .navbar-brand .logo, .navbar-brand img{ height: var(--logo-h-m, 62px); width: var(--logo-w-m, auto); }
  body.nav-scrolled nav.navbar .navbar-brand .logo,
  body.nav-scrolled nav.navbar .navbar-brand img{ height: var(--logo-h-ms, 28px); width: var(--logo-w-ms, auto); }
}
/* round 407: "add a spot for the logo in admin, put it on the site" -- the
   mix-blend-mode:screen trick above only makes sense for the built-in
   badge asset (a black-background image), so it's scoped to that default
   logo specifically. An admin-uploaded custom logo renders plainly --
   forcing screen-blend on an arbitrary uploaded image (which usually
   already has its own transparent/white background) could wash it out. */
.navbar-brand .logo-default{ mix-blend-mode: screen; }
.navbar-nav .nav-link{ font-size: .84rem; font-weight: 600; color: var(--header-text-custom, #fff) !important; padding: .25rem 0 !important; }
.navbar-nav .nav-link:hover{ color: #f0c6d4 !important; }

/* ---------- Header layout (round 32): "Lane Bryant spacing, Macy's ---------- */
/* order" -- keeps the round-31 two-row order (row 1: logo + wide search;
   row 2: nav, left-justified) but opens up the padding/gaps considerably to
   match how much breathing room lanebryant.com gives its header -- bigger
   top/bottom padding on both rows, a wider gap between the logo and the
   search bar, and real spacing between nav items instead of them sitting
   edge-to-edge. ---------- */
.header-row-top{ padding: var(--header-pad-y, 1.75rem) 0; column-gap: 3rem; row-gap: 1rem; }
.header-row-nav{ padding: var(--header-nav-pad-top, .85rem) 0 var(--header-nav-pad-bottom, 1.4rem); }
.header-toggler{ margin-left: auto; }
.header-nav-list{ margin: 0 !important; justify-content: flex-start; column-gap: 2.25rem; row-gap: .5rem; }
@media (max-width: 991.98px){
  .header-row-nav .header-nav-collapse{ flex: 1 1 100%; }
  .header-nav-list{ column-gap: 1.25rem; }
}

.site-search{
  display: flex; align-items: center; flex: 0 1 340px;
  background: #fff; border: 1px solid #ded7cf; border-radius: 50rem;
  padding: var(--search-pad-y, .4rem) var(--search-pad-y, .4rem) var(--search-pad-y, .4rem) 1.25rem; gap: .5rem;
}
/* Macy's-style: the desktop search bar next to the logo is wide, not a
   small pill -- flex-grows to fill the row up to a generous cap. */
.header-search-desktop{ flex: 1 1 auto; max-width: 620px; border-color: var(--brand); border-width: 2px; }
.site-search-input{
  border: none; outline: none; background: transparent; flex: 1 1 auto;
  font-size: var(--search-font, .85rem); color: var(--ink); min-width: 0;
}
.site-search-input::placeholder{ color: #9a938c; }
.site-search-btn{
  border: none; background: var(--ink); color: #fff; width: var(--search-btn, 2.4rem); height: var(--search-btn, 2.4rem);
  border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
}
.site-search-btn:hover{ background: var(--brand); }
.site-search-mobile{ margin: .5rem 0 1rem; flex: 1 1 auto; }
/* Minimized search (Home Page Settings > Header and Footer > Search Bar):
   the desktop bar shows only its round button, pushed to the right of the
   row, and opens to the full bar when the button is clicked. ccHeader.xsp
   adds .search-collapsible; its script adds/removes .search-open. */
.site-search.search-collapsible{ transition: max-width .25s ease, padding .25s ease; }
.site-search.search-collapsible:not(.search-open){
  flex: 0 0 auto; max-width: none; margin-left: auto; gap: 0;
  padding: var(--search-pad-y, .4rem); background: transparent; border-color: transparent;
}
.site-search.search-collapsible:not(.search-open) .site-search-input{
  flex: 0 0 0; width: 0; padding: 0; opacity: 0; pointer-events: none;
}
.site-search.search-collapsible.search-open{ margin-left: auto; }

/* ---------- Hover mega-menu (round 66: driven by the Top/Mid/Bottom ---------- */
/* category tree now, not just the old "Portfolio" nav item -- any Top with */
/* sub-categories gets one of these, Macy's-style, one column per Mid.      */
.mega-nav-item{ position: relative; }
/* REBUILT (round 76, re-applied round 79 after this whole block reverted
   on its own): wide, centered, multi-column panel via CSS grid, matching
   macys.com's own hover mega-menu, instead of a narrow flex-wrap box that
   could collapse to one cramped column. */
.mega-menu{
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  z-index: 1050; width: max-content; min-width: 0; max-width: min(94vw, 980px);
  background: #fff; border-radius: .75rem;
  box-shadow: 0 1.5rem 3.5rem rgba(33,28,26,.18);
  /* FIX (round 79): "almost impossible to select any of the categories" --
     the previous margin-top:.5rem left a real, unhoverable gap between the
     nav link and this panel; moving the mouse straight down from the link
     to the menu crossed that gap and closed the menu (a classic CSS
     hover-dropdown pitfall) before a category could be clicked. This panel
     now sits flush against the trigger (no margin-top at all -- its
     hoverable box starts exactly at top:100%), and the same visual
     breathing room is recreated with padding-top instead, which is INSIDE
     the hoverable box, so there's no dead zone to lose the mouse in. */
  padding: 1.25rem 2.25rem 1.75rem;
  margin-top: 0;
}
@media (min-width: 992px){
  .mega-nav-item:hover .mega-menu,
  .mega-nav-item:focus-within .mega-menu{ display: block; }
}
/* REBUILT (round 76): CSS grid with a fixed minimum column width instead
   of flex-wrap -- guarantees the panel always fans out into several
   side-by-side columns (auto-fill keeps adding columns as space allows)
   rather than stacking narrow content into one or two. */
/* Entries read in the order they were typed on Manage Categories: down the
   first column, then on to the next. CSS columns do that; a grid fills
   across first. ccHeader.xsp sets --mega-cols from the number of entries. A
   sub level stays in one column together with the levels inside it. */
.mega-menu-inner{
  display: block; column-count: var(--mega-cols, 1); column-gap: 2.25rem;
  width: calc(var(--mega-cols, 1) * 200px + (var(--mega-cols, 1) - 1) * 2.25rem);
  max-width: 100%;
}
.mega-menu-heading{
  display: block; font-size: .92rem; font-weight: 800; color: var(--ink);
  margin-bottom: .65rem; text-decoration: none; letter-spacing: 0;
}
.mega-menu-heading:hover{ color: var(--brand); }
.mega-menu-col{
  display: flex; flex-direction: column; min-width: 150px;
  break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 1.1rem;
}
.mega-menu-link{
  padding: .3rem 0; font-size: .86rem; font-weight: 500; color: var(--ink) !important;
  text-decoration: none;
}
.mega-menu-link:hover{ color: var(--brand) !important; text-decoration: underline; }
/* "Shop All <Top>" -- first column of every mega-menu, bold and brand-
   colored like Macy's own "Women's Clothing >" lead link. */
.mega-menu-viewall-top{
  display: block; font-size: .92rem; font-weight: 800; color: var(--brand) !important;
  text-decoration: none; margin-bottom: .65rem;
}
.mega-menu-viewall-top:hover{ text-decoration: underline; }
.mega-menu-viewall{
  display: inline-block; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #f0ece5;
  font-size: .82rem; font-weight: 700; color: var(--brand) !important; text-decoration: none;
}
/* round 409: "looks great on mobile" -- below 992px there's no hover, so
   the floating mega-menu panel above is unreachable; instead it renders
   inline as a collapsed accordion under its nav item, opened by the
   chevron button (.mega-toggle, mobile-only via d-lg-none) next to the
   link. toggleMegaMenu() in ccHeader.xsp flips ".mega-menu-open" on the
   ".mega-nav-item" to show it -- see .mega-nav-item.mega-menu-open below. */
.mega-nav-item.mega-menu-open .mega-menu{ display: block; }
.mega-toggle{
  background: none; border: none; padding: .5rem .75rem; margin-left: auto;
  font-size: 1.1rem; color: var(--header-text-custom, #fff); line-height: 1;
}
.mega-toggle .bi{ transition: transform .2s ease; display: inline-block; }
.mega-nav-item.mega-menu-open .mega-toggle .bi{ transform: rotate(180deg); }
@media (max-width: 991.98px){
  .mega-menu{
    position: static; transform: none; width: 100%; min-width: 0; max-width: 100%;
    box-shadow: none; border-radius: 0; background: transparent;
    padding: 0 0 .5rem 1rem; margin-top: 0;
  }
  .mega-menu-inner{ display: block; column-count: 1; column-gap: 0; width: auto; }
  .mega-menu-col{ margin-bottom: .9rem; min-width: 0; }
  .mega-menu-col:last-child{ margin-bottom: 0; }
}

/* ---------- Page header band (ccSectionTitle, every interior page) ---------- */
/* FIX (2026-08, round 25): shrunk from 3.25rem/2.25rem — with the h1 title
   now correctly hidden on breadcrumb pages (see ccSectionTitle.xsp), this
   band only ever holds a single line of breadcrumb text, so it no longer
   needs banner-sized padding. */
.header{ background: var(--header-bg-custom, #000); padding: .9rem 0; }
.header .page-title{ color: var(--header-text-custom, #fff) !important; margin: 0; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.header .breadcrumb{ margin-top: 0; margin-bottom: 0; }
.header .breadcrumb-item, .header .breadcrumb-item a{ color: var(--header-text-custom, #fff); opacity: .65; font-size: .84rem; }
.header .breadcrumb-item.active{ opacity: 1; }
.header .breadcrumb-item + .breadcrumb-item::before{ color: var(--header-text-custom, #fff); opacity: .35; }

/* ---------- Hero (Home.xsp) ---------- */
.hero-video-wrap{ position: relative; background: var(--ink); overflow: hidden; }
.hero-video-wrap video{ width: 100%; display: block; max-height: 84vh; object-fit: cover; opacity: .87; }
.hero-overlay{
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(33,28,26,.05) 0%, rgba(33,28,26,.2) 45%, rgba(33,28,26,.9) 100%);
}
.hero-overlay-content{ padding: 0 1.5rem 3.5rem; max-width: 1140px; margin: 0 auto; width: 100%; color: #fff; }
/* FIX (round 411): "Do not auto capitalize the text" -- Text1 (the first
   hero line) reused the shared .eyebrow class, which force-uppercases via
   text-transform. That's fine for section eyebrows elsewhere on the site
   (untouched), but it meant Text1 was ALWAYS capitalized no matter what
   the admin actually typed, with no way to opt out. This more-specific
   override cancels the transform only inside the hero block, so Text1 now
   renders exactly what's typed; ALL CAPS is instead available as an
   optional per-selection toggle in the rich text editor toolbar (see
   adminHomeSettingsRTE.js's new "caps" button). */
.hero-overlay-content .eyebrow{ color: #f0c6d4; text-transform: none; }
.hero-overlay-content h1{ color: #fff; max-width: 720px; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .5rem 0 .75rem; }
.hero-overlay-content p{ max-width: 500px; color: rgba(255,255,255,.88); }
.hero-cta{ display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* FIX (round 413): "on a mobile device move the Hero text to below the
   image/video" -- on desktop the text sits as a dark gradient overlay on
   top of the media (.hero-overlay is position:absolute, laid over
   .hero-video-wrap). Below the tablet breakpoint that gets cramped and
   hides part of the image, so instead of overlaying, the text panel is
   taken out of absolute positioning and allowed to flow normally as its
   own block right after the video/image inside the same wrapper -- it
   simply becomes the next thing on the page instead of sitting on top.
   Kept the same dark panel + white text treatment (just no longer a
   gradient, since it's not sitting over image content anymore) so it
   still reads as "the hero," just stacked instead of overlapping. */
@media (max-width: 767.98px){
  .hero-overlay{
    position: static; inset: auto; display: block;
    background: var(--ink);
  }
  .hero-overlay-content{ padding: 1.75rem 1.25rem 2rem; text-align: left; }
  .hero-overlay-content h1{ max-width: none; }
  .hero-overlay-content p{ max-width: none; }
}

/* NEW (2026-08, round 22): "make the font smaller on the home page" —
   scoped to .home-page (added on Home.xsp's xp:view) so nothing else on
   the site shrinks. Covers the hero headline/eyebrow/intro line, the
   "Featured" section heading, and the product-tile title/description in
   the featured grid. */
.home-page .hero-overlay-content h1{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
.home-page .hero-overlay-content .eyebrow{ font-size: .64rem; }
.home-page .hero-overlay-content p{ font-size: .88rem; max-width: 440px; }
.home-page .section-header h2{ font-size: 1.35rem; }
.home-page .section-header .eyebrow{ font-size: .64rem; }
.home-grid .card.product h6{ font-size: .88rem; }
.home-grid .card.product .card-text{ font-size: .76rem; }

/* FIX (round 140): "fix the spacing at See the Full Portfolio" -- the
   Featured grid and the Reviews section right below it are two separate
   <section class="section"> blocks, and .section's own 5.5rem top+bottom
   padding was stacking back-to-back at that boundary (5.5rem bottom of
   one + 5.5rem top of the next = 11rem/176px of empty space, confirmed
   live), on top of the "See the Full Portfolio" link's own margin-top.
   On a narrow/mobile layout especially, that reads as one big dead gap
   with the link floating in it. Scoped to .home-page only so every other
   page's section spacing (About, Portfolio, item pages, etc.) is
   untouched.

   FIX (round 142): "still too much space" -- confirmed live the round-140
   reduction (5.5rem to 3.5rem each side) DID apply, but two 3.5rem
   paddings still stack to 7rem/112px at that one shared boundary, which
   still read as too much. Rather than shrinking every section edge on
   the home page (including the ones right after the hero and right
   before the footer, which were never the complaint), this now also
   collapses padding-top specifically where one .section immediately
   follows another .section -- the exact boundary in question -- so only
   that one junction gets tighter, everything else stays at the fuller
   3rem. */
.home-page .section{ padding: 3rem 0; }
.home-page .section + .section{ padding-top: 1rem; }

/* ---------- Product cards (ccCard) — "modern boutique card" ---------- */
.card.product{
  border: none; border-radius: 1.1rem; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgba(33,28,26,.05);
}
/* FIX (round 140): "get rid of the underlined text in the text links" on
   the Home/Portfolio grids -- the whole tile is one plain xp:link with no
   styleClass of its own (ccCard.xsp), so Bootstrap's default underlined-
   anchor styling showed on the title/description text runs (the only real
   inline text inside that <a>). CSS-only fix here instead of touching
   ccCard.xsp: text-decoration set on this descendant box stops the
   inherited underline from being drawn inside it, without editing the
   shared control every grid on the site renders through. */
.card.product{ text-decoration: none; }
/* FIX (2026-08, round 16): removed the hover lift/shadow on the card and
   the image zoom-on-hover transition, per request -- product tiles on the
   Home and Portfolio grids (both use ccCard.xsp) no longer animate on
   mouseover at all. */
.card.product .overflow-hidden{ position: relative; }
/* NEW (2026-08, round 22): shared grid-tile image box (Portfolio, Home,
   Search all use ccCard). Fixed height/width keeps every tile the same
   size; object-fit:cover crops to fill it. */
/* FIX (2026-08, round 25): "the first image cut off the head of the
   person" -- object-fit:cover with the default center object-position
   crops equally off the top AND bottom to fill the fixed-height tile,
   which cuts off heads on the (mostly portrait, full-length) photos in
   this portfolio. object-position:top anchors the crop to the top of
   the source photo instead, so cropping only ever eats into the
   bottom (feet/hem) of the image, never the head -- applies to every
   tile using this class (Portfolio, Search, admin lists). */
.grid-tile-img{ height: 350px; width: 100%; object-fit: cover; object-position: top center; display: block; }
/* FIX (round 404): "make the photo on the home page the same size as
   the Portfolio page" -- the round-22 .home-grid override below made
   Home show the whole uncropped photo (letterboxed on a cream
   background) instead of filling the tile like Portfolio does. Removed
   so Home now uses the same .grid-tile-img sizing/cropping as every
   other grid on the site. */
/* NEW (2026-08, round 21): "hover image" crossfade -- the second image
   sits directly on top of the main one and fades in on hover; no JS. */
.hover-swap-img{
  position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease;
}
.card.product:hover .hover-swap-img{ opacity: 1; }
.card.product .card-body{ padding: 1rem 1.1rem 1.25rem; }
.card.product h6{ font-family: var(--site-font); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.card.product .card-text{ font-size: .82rem; color: #7a726c; }
/* round 408: "show the number of stars on the home page, portfolio page,
   and item page if an item has been reviewed" -- ccCard.xsp only renders
   this block on Home/Portfolio (checked via compositeData.fromPage), and
   only when the item has at least one approved review. Same gold color as
   the star rating already used on the item page's review cards. */
/* round 410: "looks great on mobile" -- xp:radioGroup/xp:checkBoxGroup render
   as a bare <table role="presentation"> with zero spacing between the radio
   circle and its label or between options, so on a narrow phone a row like
   "Google search | Instagram | Friend or family | Other" reads as jammed,
   wrapping text (see Contact Us). layout="oneColumn" also isn't a real
   XPages layout value -- it silently fell back to this horizontal table
   instead of stacking; fixed to layout="pageDirection" on Contact Us where
   that mattered. This generic styling covers every xp:radioGroup /
   xp:checkBoxGroup in the app (nothing had ever styled these), and forces
   even a horizontal ("lineDirection") group to stack on very narrow phones. */
table[role="presentation"]{ border-collapse: collapse; }
table[role="presentation"] td{ padding: .3rem .5rem .3rem 0; vertical-align: middle; }
table[role="presentation"] label{
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 400; cursor: pointer;
}
table[role="presentation"] input[type="radio"],
table[role="presentation"] input[type="checkbox"]{
  width: 1.1em; height: 1.1em; margin: 0; flex: 0 0 auto;
}
@media (max-width: 575.98px){
  table[role="presentation"] tr{ display: block; }
  table[role="presentation"] td{ display: block; padding: .45rem 0; }
}
.card-rating{ font-size: .78rem; }
.card-rating-stars{ color: #b8860b; letter-spacing: 1px; }
.card-rating-count{ color: #7a726c; font-size: .74rem; }
/* NEW (2026-08, round 21): "no white box around each image on the home
   page" — the product card's white background/shadow/body padding are
   dropped only inside .home-grid (Home.xsp's featured section); Portfolio
   and Search keep the normal card look. Image, category tag, and hover
   swap all still work the same — only the surrounding box is gone. */
.home-grid .card.product{
  background: transparent; box-shadow: none; border-radius: 0;
}
.home-grid .card.product .card-body{ padding: 1rem .1rem 0; }

.cat-tag{
  position: absolute; top: .65rem; left: .65rem; background: rgba(255,255,255,.92);
  color: var(--brand); font-size: .64rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 20px; z-index: 2;
}

/* ---------- Bootstrap Carousel gallery (ccItemDetails) ---------- */
/* FIX (2026-08, round 25): "too much white space" on the item detail
   page -- the main image box was flex-grow:1 (stretches to fill
   whatever width is left next to the thumbnail rail) but the photo
   inside it uses object-fit:contain at a fixed height, so a portrait
   photo (most of this portfolio) only ever fills a narrow strip down
   the middle, leaving huge blank margins on both sides of that wide
   box. Capping the box's own width to roughly match a portrait photo's
   natural proportions at this height removes most of that dead space
   without cropping anything -- the image itself is untouched. */
.product-gallery{ border-radius: 1.25rem !important; overflow: hidden; box-shadow: 0 1px 2px rgba(33,28,26,.06); flex-grow: 0 !important; width: 100%; max-width: 420px; margin: 0 auto; }
@media (min-width: 768px){
  .product-gallery{ margin: 0; }
}
/* FIX (2026-08, round 25): col-md-7/col-md-5 give this row a fixed 58/42
   split no matter how wide the actual photo is -- capping .product-gallery
   above stopped the image itself from stretching, but left the now-empty
   rest of that 58% column as a dead gap before the text column started.
   These two overrides make the gallery column hug its own content (up to
   a cap) and let the text column expand to fill whatever space is
   actually left, instead of a fixed percentage split. Mobile (below md)
   is untouched -- both columns already stack full-width there. */
/* FIX (2026-08, round 26): "page is formatted weird" -- confirmed live
   (computed styles) that the round-25 overrides above broke something
   worse: Bootstrap's .row has flex-wrap:wrap by default, and the original
   col-md-7/col-md-5 percentages were the ONLY thing forcing these two
   columns onto one line (their widths summed to exactly 100%). Once both
   were switched to width:auto with no percentage, the row had nothing
   stopping it from wrapping them onto separate lines -- which it did:
   the gallery column collapsed to ~140px (shrunk to fit just its
   thumbnail rail, since flex-shrink was never constrained) on its own
   line, then the text column dropped to a second line and stretched to
   the full row width. That's the exact "image cramped on the left, giant
   blank gap, title/description below instead of beside it" layout seen
   live. Fixed by forcing this specific row to never wrap at md+
   (nowrap -- both columns already stack fine below md, untouched) and
   giving the gallery column a real flex-basis instead of a bare "auto",
   so it has a sane starting width to shrink/grow from instead of
   collapsing to its smallest possible content size. */
@media (min-width: 768px){
  .product-row{ flex-wrap: nowrap; }
  .product-gallery-col{ flex: 0 1 480px; width: auto; max-width: 560px; min-width: 320px; }
  .product-info-col{ flex: 1 1 0%; width: auto; max-width: none; min-width: 280px; }
}
.img-thumbnail{ border-radius: .75rem; opacity: .65; transition: opacity .2s ease, box-shadow .2s ease; border: none !important; }
.img-thumbnail:hover{ opacity: 1; box-shadow: 0 0 0 2px var(--brand); }
.product-title{ font-size: clamp(1.7rem, 3vw, 2.2rem); }

/* ---------- Gallery thumbnail rail (round 21: moved to the left of the ---------- */
/* main image, Amazon-style, instead of a row underneath it) ---------- */
.gallery-thumb-rail{
  flex: 0 0 auto; overflow-x: auto; overflow-y: visible;
}
@media (min-width: 768px){
  .gallery-thumb-rail{
    flex-direction: column; width: 76px; max-height: 520px;
    overflow-x: visible; overflow-y: auto;
  }
}
.gallery-thumb{ flex: 0 0 auto; }
.gallery-thumb.active{ opacity: 1; box-shadow: 0 0 0 2px var(--brand); }
/* round 402: fixed-size clipping box so a zoomed-in photo (focal point
   editor) can't bleed past its 64x64 thumbnail */
.gallery-thumb-clip{ width: 64px; height: 64px; overflow: hidden; cursor: pointer; }

/* FIX (2026-08, round 12): Bootstrap's default carousel-control icons are
   plain white at 50% opacity, meant to sit over a photo. Our gallery
   images sit on a solid white background (object-fit: contain), so those
   default arrows were essentially invisible -- the controls were there
   and functional, they just couldn't be seen, which is exactly what
   reads as "I can't scroll through the pictures." Giving each control a
   solid, always-visible circular backdrop fixes that regardless of what
   color the photo behind it happens to be. */
.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next{
  width: 3rem; opacity: 1;
}
.product-gallery .carousel-control-prev-icon,
.product-gallery .carousel-control-next-icon{
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background-color: var(--ink);
  background-size: 55%;
  box-shadow: 0 .25rem .75rem rgba(33,28,26,.25);
}
.product-gallery .carousel-control-prev:hover .carousel-control-prev-icon,
.product-gallery .carousel-control-next:hover .carousel-control-next-icon{
  background-color: var(--brand);
}
.product-gallery .carousel-indicators{ margin-bottom: .5rem; }
.product-gallery .carousel-indicators [data-bs-target]{
  background-color: var(--brand); width: 8px; height: 8px; border-radius: 50%; opacity: .4;
}
.product-gallery .carousel-indicators .active{ opacity: 1; }

/* NEW (2026-08, round 16): per-photo caption, sits inside each
   carousel-item so it only shows while that photo is the active slide. */
.gallery-caption{
  margin: .75rem 0 0; padding: 0 .25rem; font-size: .88rem; font-style: italic;
  color: #7a726c; text-align: center;
}

/* ---------- Admin: Manage Photos (order + primary picker) ---------- */
.cp-row{ background: #fff; border-radius: 1.1rem; padding: 1.5rem; box-shadow: 0 1px 2px rgba(33,28,26,.05); }
.cp-thumb-card{
  position: relative; width: 128px; border-radius: .85rem; overflow: hidden;
  background: #faf7f2; border: 2px solid transparent;
}
.cp-thumb-card.cp-primary{ border-color: var(--brand); border-width: 3px; }
.cp-thumb-card:not(.cp-thumb-card-wide) img{ width: 128px; height: 128px; object-fit: contain; background: #faf7f2; display: block; }
.cp-thumb-controls{
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.95); padding: .3rem .4rem;
}
.cp-thumb-controls .btn{ padding: .15rem .4rem; border-radius: .4rem; font-size: .8rem; line-height: 1; }
/* FIX (2026-08, round 26): "make it more clear which image is the main
   image and which is the hover-over image" -- these badges existed but
   were small (0.6rem), text-only, and easy to miss against a busy photo.
   Bumped size/weight, added a matching icon (the same star/eye glyphs
   already used on the Set Primary/Set Hover buttons below, so the badge
   and the button that produced it visually match), and a shadow so the
   badge stands out against any photo, light or dark. */
.cp-primary-badge{
  position: absolute; top: .5rem; left: .5rem; z-index: 2;
  display: flex; align-items: center; gap: .25rem;
  background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 20px;
  box-shadow: 0 .15rem .4rem rgba(33,28,26,.35);
}
.cp-hover-badge{
  position: absolute; top: .5rem; right: .5rem; z-index: 2;
  display: flex; align-items: center; gap: .25rem;
  background: var(--ink); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 20px;
  box-shadow: 0 .15rem .4rem rgba(33,28,26,.35);
}
.cp-primary-badge i, .cp-hover-badge i{ font-size: .75rem; }
/* NEW (2026-08, round 16): wider variant used only on the Edit Item page
   (CoverPhotoPicker/Manage Photos keeps the original compact 128px card --
   this one needs the extra room for the caption textarea below it). */
.cp-thumb-card-wide{ width: 100%; padding-bottom: .5rem; }
.cp-caption-wrap{ padding: 0 .5rem; }
.cp-caption-wrap textarea{ resize: vertical; font-size: .8rem; }

/* round 402: three-column photo grid on the Edit Item page, in saved
   order (row 1 = photos 1-3, row 2 = photos 4-6, ...) */
.cp-photos-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 767px){ .cp-photos-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .cp-photos-grid{ grid-template-columns: 1fr; } }
/* FIX (round 403): xp:repeat renders its own wrapping <div> around all the
   photo cards, so that single wrapper -- not the individual cards -- was
   the grid's only direct child, and the cards just stacked inside it
   instead of being distributed into columns. display:contents removes
   that wrapper from layout so the cards become the real grid items. */
.cp-photos-grid > div{ display: contents; }

.cp-photo-index{
  font-size: .72rem; font-weight: 700; color: var(--ink); opacity: .65;
  padding: .4rem .5rem 0;
}

/* round 402: full, uncropped photo (object-fit: contain, letterboxed if
   needed) so the whole picture is visible while editing -- the dashed
   box shows roughly what stays in frame on the site's fixed-size crops.
   Drag the box to move it, drag its corner handle to zoom in/out. */
.cp-thumb-photo-box{
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  background: #faf7f2; overflow: hidden;
}
.cp-thumb-img-full{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block; cursor: move;
  -webkit-user-drag: none; user-select: none;
}
.cp-crop-guide{
  position: absolute; border: 2px dashed rgba(255,255,255,.9);
  box-shadow: 0 0 0 999px rgba(33,28,26,.35);
  cursor: move; z-index: 2;
}
.cp-resize-handle{
  position: absolute; right: -7px; bottom: -7px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--brand); border: 2px solid #fff;
  box-shadow: 0 .1rem .3rem rgba(0,0,0,.4); cursor: nwse-resize; z-index: 5;
}

/* round 401: click-to-set photo focal point (Edit Item Photos tab) */
.cp-focal-marker{
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid #fff; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 .1rem .3rem rgba(0,0,0,.4);
  pointer-events: none; z-index: 3;
}

/* round 402: suppress text selection while a drag is in progress
   (mousemove firing over surrounding text otherwise selects it) */
.cp-dragging{ user-select: none; }

/* ---------- Related items (ccItemDetails "You may also like") ---------- */
.related-scroll-wrap{ position: relative; display: flex; align-items: center; gap: .5rem; }
.related-scroll-row{
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity;
  padding: .25rem .1rem 1rem; flex: 1 1 auto;
  scrollbar-width: thin;
}
.related-card{
  flex: 0 0 auto; width: 200px; scroll-snap-align: start; text-decoration: none;
  color: inherit; background: #fff; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 1px 2px rgba(33,28,26,.05); display: block;
}
.related-card-img{ width: 200px; height: 220px; object-fit: cover; display: block; }
.related-card-title{
  padding: .65rem .8rem; font-size: .85rem; font-weight: 600; color: var(--ink);
}
.related-scroll-btn{
  flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: none;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
}
.related-scroll-btn:hover{ background: var(--brand); }

/* ---------- Footer ---------- */
/* FIX (round 415): "give me the ability to change the color of the
   background and text on the footer" -- these were all written as
   `footer X{...}` selectors, but ccFooter.xsp's markup has always been a
   plain `<div class="bg">`, never wrapped in an actual `<footer>` element
   (same root cause as the round-411 footer-underline investigation), so
   every one of these rules has always matched zero elements. That's also
   why the footer visibly rendered on the plain cream page background with
   plain brand-maroon links (the only rule that WAS actually matching was
   the unscoped `.pink-title` alias near the bottom of this file) instead
   of the dark panel with light text these rules describe. Retargeted to
   the real wrapper class (`.bg`, scoped so this doesn't touch the many
   other unrelated uses of "background" concepts elsewhere), and background/
   text now come from the --footer-bg-custom/--footer-text-custom custom
   properties ccFooter.xsp sets inline from HomeSettings (AdminHomeSettings
   > Header & Footer tab) -- one color pair for the whole footer. */
.bg{ background: var(--footer-bg-custom, #211c1a); color: var(--footer-text-custom, #f6f1ea); padding: var(--footer-pad-top, 4rem) 0 0; }
/* Footer height is set on Home Page Settings > Header and Footer;
   ccFooter.xsp writes these (siteFooterCssVars in homeSettings.jss). */
.bg .container.p-4{ padding-top: var(--footer-inner-gap, 1.5rem) !important; padding-bottom: var(--footer-inner-gap, 1.5rem) !important; }
.bg h5{ color: var(--footer-text-custom, #fff); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; margin-bottom: 1rem; }
.bg .pink-title, .bg a{ color: var(--footer-text-custom, #f6f1ea) !important; opacity: .85; }
.bg a:hover{ opacity: 1; }
.social-row{ display: flex; gap: .75rem; }
.social-icon{
  width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease;
  font-size: 1rem; opacity: .85;
}
.social-icon:hover{ background: var(--brand); border-color: var(--brand); opacity: 1; }
.bg .dark-mode{
  border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, var(--footer-text-custom, #f6f1ea) 20%, transparent);
  margin-top: var(--footer-copy-gap, 2.5rem); padding: var(--footer-copy-pad, 1.4rem) 0 !important;
  font-size: .8rem !important; color: var(--footer-text-custom, #f6f1ea) !important; opacity: .7;
}

/* ---------- Back-to-top ---------- */
#back-top{
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60; width: 44px; height: 44px;
  border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .2s ease;
  box-shadow: 0 .5rem 1.5rem -.5rem rgba(0,0,0,.4);
}
#back-top.show{ opacity: 1; pointer-events: auto; }

/* ---------- Legacy alias so any remaining pink-title references still land on-brand ---------- */
.pink-title{ color: var(--brand) !important; font-weight: 600; }

/* ---------- Legacy utility-class shim (kept for the ~15 files using it) ---------- */
.fs-12{font-size:.75rem!important;} .fs-14{font-size:.85rem!important;} .fs-16{font-size:1rem!important;}
.fs-18{font-size:1.1rem!important;} .fs-24{font-size:1.4rem!important;} .fs-40{font-size:2.2rem!important;} .fs-50{font-size:2.6rem!important;}
.mb-4{margin-bottom:.25rem!important;} .mb-5{margin-bottom:.3rem!important;} .mb-10{margin-bottom:.6rem!important;}
.mb-15{margin-bottom:.9rem!important;} .mb-20{margin-bottom:1.2rem!important;} .mb-30{margin-bottom:1.8rem!important;}
.mb-40{margin-bottom:2.4rem!important;} .mb-45{margin-bottom:2.7rem!important;} .mb-60{margin-bottom:3.6rem!important;}
.mt-4{margin-top:.25rem!important;} .mt-10{margin-top:.6rem!important;} .mt-40{margin-top:2.4rem!important;}
.mt-50{margin-top:3rem!important;} .mt-60{margin-top:3.6rem!important;}
.p-x-15{padding-left:.9rem!important;padding-right:.9rem!important;} .p-y-20{padding-top:1.2rem!important;padding-bottom:1.2rem!important;}
.fw-regular{font-weight:400!important;}
.opc-50, .opc-5{opacity:.5;}
.p-text{color:var(--ink)!important;}
.rounded-sm{border-radius:.5rem!important;} .rounded-xl{border-radius:1.25rem!important;}
.title-link{color:var(--ink);} .title-link.primary-hover:hover{color:var(--brand);}
.grid-item{margin-bottom:1.5rem;}
input[type="text"]:not(.form-control), input[type="number"]:not(.form-control),
textarea:not(.form-control), select:not(.form-select){
  display:block; width:100%; padding:.5rem .9rem; font-size:1rem; line-height:1.5;
  color:var(--ink); background-color:#fff; border:1px solid #ded7cf; border-radius:.6rem;
  margin-bottom:.75rem;
}
.main-container{min-height:40vh;}
#loader-wrapper{display:none;}

/* ---------- Edit Item admin page (round 33): card-based redesign ---------- */
.edit-item-page{ padding-top:2rem; padding-bottom:1rem; max-width:900px; }
.edit-item-page .card{ border:1px solid #ece6dd; border-radius:1rem; box-shadow:0 1px 2px rgba(33,28,26,.05); }
.edit-item-page .card-header{
  background:var(--cream); border-bottom:1px solid #ece6dd; font-weight:700;
  font-size:1rem; padding:.9rem 1.25rem; border-radius:1rem 1rem 0 0!important;
}
.edit-item-page .card-body{ padding:1.25rem; }
.edit-item-page .form-label{ font-weight:600; font-size:.85rem; margin-bottom:.35rem; display:block; }
.edit-toggle-row{ display:flex; }
/* FIX (round 316): "make the related item picker to be 3 columns and
   always have the ones that are selected at the top" -- switched the
   picker from a scrolling single-column list to a 3-column CSS grid of
   cards (.related-item-cell, one per portfolio item); the "selected at
   top" half is handled server-side in ccEditItem.xsp's own builder
   (two HTML buffers, selected rows concatenated first), not here. */
.edit-related-picker{
  max-height:520px; overflow-y:auto; border:1px solid #ded7cf; border-radius:.6rem;
  padding:.6rem; background:#fff;
  display:grid; grid-template-columns:repeat(3, 1fr); gap:.6rem; align-items:start;
}
@media (max-width:900px){ .edit-related-picker{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:600px){ .edit-related-picker{ grid-template-columns:1fr; } }

/* NEW (round 316): one grid item -- the "related?" row (checkbox +
   thumbnail + title/price/category) plus the "also link back" row,
   stacked in a bordered card. related-item-cell-selected gets a
   highlighted border so a currently-related item stands out even before
   reading the checkbox itself -- reinforces the "selected at top"
   ordering above. */
.related-item-cell{
  border:1px solid #ece6dd; border-radius:.6rem; padding:.5rem; background:#fff;
}
.related-item-cell-selected{ border-color:var(--brand); background:var(--cream); }

/* REBUILT (round 152, restyled round 316 for the 3-column grid): checkbox
   + thumbnail + title/price/category, see ccEditItem.xsp's tabPaneRelated
   comment. */
.related-item-row{
  display:flex; align-items:center; gap:.6rem; padding:.15rem 0;
  border-radius:.4rem; cursor:pointer; margin-bottom:0;
}
.related-item-row input[type="checkbox"]{ flex:0 0 auto; width:1.05rem; height:1.05rem; }
.related-item-thumb{
  flex:0 0 auto; width:44px; height:44px; object-fit:cover; border-radius:.4rem;
  border:1px solid #ece6dd; background:#f5f1ea;
}
.related-item-thumb-empty{ display:inline-block; }
.related-item-info{ display:flex; flex-direction:column; min-width:0; }
.related-item-title{ font-weight:600; font-size:.86rem; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.related-item-meta{ font-size:.75rem; color:#75706b; }

/* NEW (round 313): search button next to the Related Items filter box --
   same pill-input + circular-icon-button look as the site header's own
   search widget (.site-search/.site-search-btn above), just sized down
   to sit comfortably inside the admin picker card. */
.related-items-search{
  display:flex; align-items:center; gap:.5rem;
  background:#fff; border:1px solid #ded7cf; border-radius:50rem;
  padding:.3rem .3rem .3rem 1rem;
}
.related-items-search .form-control{
  border:none; outline:none; background:transparent; box-shadow:none;
  padding:.25rem 0; font-size:.85rem;
}
.related-items-search .form-control:focus{ border:none; box-shadow:none; }
.related-items-search-btn{
  border:none; background:var(--ink); color:#fff; width:2rem; height:2rem;
  border-radius:50%; flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  font-size:.85rem;
}
.related-items-search-btn:hover{ background:var(--brand); }

/* NEW (round 316): the "Also link back" checkbox row -- replaces the old
   round-313 button/badge (see ccEditItem.xsp's round-316 comment on why:
   it's now a plain checkbox Save Changes reads in bulk, not an immediate
   separate save). A thin top border separates it from the main related-
   item row above it within the same card. */
.related-item-linkback-row{
  display:flex; align-items:center; gap:.4rem; margin-top:.4rem; padding-top:.4rem;
  border-top:1px dashed #ece6dd; cursor:pointer;
}
.related-item-linkback-row input[type="checkbox"]{ flex:0 0 auto; width:.95rem; height:.95rem; }
.related-item-linkback-row span{ font-size:.74rem; font-weight:600; color:#7a726c; }
.related-item-linkback-row:hover span{ color:var(--ink); }

/* ---------- Item detail page (round 33): Price / Sizes / Colors / Fit / ---------- */
/* Features / Fabric / Reviews -- plain labeled blocks below the short
   description and rich description, each independently toggleable from
   the admin Edit Item page. */
.product-price{ font-size:1.5rem; font-weight:700; color:var(--ink); }
.product-pill-row{ display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; }
.product-pill-label{ font-size:.82rem; font-weight:600; color:#7a726c; margin-right:.25rem; }
.product-pill{
  display:inline-block; padding:.3rem .85rem; border:1px solid #ded7cf; border-radius:50rem;
  font-size:.82rem; font-weight:600; color:var(--ink); background:#fff;
}
/* ROUND 35: consolidated Fit/Features/Fabric under one "Product Details"
   heading with inline bold sub-labels, matching Macy's/Lane Bryant's
   single-Details-block product page pattern, instead of three separate
   full sections with dividers between them (.product-detail-block, no
   longer used, left in place in case any other markup still points at
   it). */
.product-details-section{ padding-top:1.1rem; margin-top:1.1rem; border-top:1px solid #f0ece5; }
.product-details-heading{ font-weight:700; font-size:1rem; margin-bottom:.75rem; }
.product-detail-row{ margin-bottom:.75rem; }
.product-detail-row:last-child{ margin-bottom:0; }
.product-detail-label{ display:block; font-weight:700; font-size:.82rem; letter-spacing:.02em; text-transform:uppercase; color:#7a726c; margin-bottom:.2rem; }
.product-detail-block{ padding-top:1.1rem; margin-top:1.1rem; border-top:1px solid #f0ece5; }
.product-detail-heading{ font-weight:700; font-size:.95rem; margin-bottom:.5rem; }
/* ROUND 34: was white-space:pre-line for plain-text display; FitText/
   FeaturesText/FabricText are now real rich text fields rendering their
   own HTML (p/br/ul tags), so pre-line is no longer appropriate here and
   could double up spacing against the HTML's own line breaks. */
.product-detail-text{ font-size:.9rem; color:#3a352f; margin-bottom:0; }
.product-detail-text p:last-child{ margin-bottom:0; }
.product-detail-text ul,.product-detail-text ol{ padding-left:1.2rem; margin-bottom:0; }
.product-detail-list{ font-size:.9rem; color:#3a352f; padding-left:1.2rem; margin-bottom:0; }
.product-detail-list li{ margin-bottom:.3rem; }

/* ROUND 117: Shop (ItemsByCategory.xsp) "you are here" line — replaced
   the round-116 filter tab bar with one plain "Top / Sub" line per
   Jeffrey's request; category switching stays on the header's mega-menu. */
.shop-selected-path{ font-size:1rem; font-weight:700; color:var(--brand); letter-spacing:.01em; }

/* ROUND 118: Shop result-category pivot tabs — brought back for the
   specific "the items shown span multiple categories, let me pivot
   between them" case (shopResultCategories), separate from the
   round-117 "you are here" line above. Plain text links, active one
   bolded/underlined in the brand accent, the rest a quiet neutral gray. */
.shop-filter-tabs{ font-size:.92rem; }
.shop-filter-tab{ color:#6b655d; font-weight:600; text-decoration:none; padding-bottom:.15rem; border-bottom:2px solid transparent; }
.shop-filter-tab:hover{ color:var(--brand); text-decoration:none; }
.shop-filter-tab.active{ color:var(--brand); border-bottom-color:var(--brand); }

/* NEW (round 135): mount point for the self-hosted Quill rich text editor
   on AdminHomeSettings.xsp (see adminHomeSettingsRTE.js). Hidden by default
   so there's never a flash of an empty box before the client script runs;
   adminHomeSettingsRTE.js only reveals it (and hides the real, EL-bound
   plain xp:inputTextarea sitting right above it in the markup) once Quill
   has actually initialized successfully. If Quill or the CDN ever fails to
   load, this stays hidden and the plain textarea -- already fully
   functional on its own -- is simply what the admin sees and uses. */
.lkd-rte-mount{ display:none; margin-top:.5rem; }
.lkd-rte-mount.lkd-rte-mount-active{ display:block; }
.lkd-rte-mount .ql-container{ min-height:140px; font-size:1rem; background:#fff; }
.lkd-rte-mount .ql-editor{ min-height:140px; }
/* round 411: font-family dropdown + custom "AA" ALL CAPS toggle button
   added to the toolbar (adminHomeSettingsRTE.js). The font picker needs
   real width or the long names (e.g. "Times New Roman") get clipped; the
   caps button reuses a plain inline SVG <text> icon (registered in JS)
   instead of Quill's usual stroke-icon markup, so it's colored here to
   match the other toolbar buttons, including its pressed/active state. */
.lkd-rte-mount .ql-picker.ql-font{ width:170px; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-label,
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item{ font-size:.85rem; }
.lkd-rte-mount .ql-caps svg text{ fill:#444; }

/* FIX (round 412): the size picker was showing the literal word "Normal"
   for every single option (12px, 14px, 16px, ... all labeled "Normal") --
   a real, pre-existing bug Jeffrey found live, unrelated to the font/caps
   work above. Quill's picker only knows built-in CSS content mappings for
   its own default size keywords (small/normal/large/huge); since this
   toolbar uses raw pixel values instead, none of them matched anything and
   Quill fell back to its placeholder text for all of them. Same issue
   would have hit the new font picker (no label at all). Fixing both by
   explicitly mapping each option's ::before content to its real value, the
   standard way Quill expects custom picker options to be labeled. */
.lkd-rte-mount .ql-picker.ql-size .ql-picker-label[data-value]::before,
.lkd-rte-mount .ql-picker.ql-size .ql-picker-item[data-value]::before{
  content: attr(data-value);
}
.lkd-rte-mount .ql-picker.ql-size .ql-picker-label:not([data-value])::before,
.lkd-rte-mount .ql-picker.ql-size .ql-picker-item:not([data-value])::before{
  content: "Default";
}
.lkd-rte-mount .ql-picker.ql-font .ql-picker-label[data-value]::before,
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value]::before{
  content: attr(data-value);
}
.lkd-rte-mount .ql-picker.ql-font .ql-picker-label:not([data-value])::before,
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item:not([data-value])::before{
  content: "Default Font";
}
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Helvetica Neue"]{ font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Arial"]{ font-family:Arial,sans-serif; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Georgia"]{ font-family:Georgia,serif; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Times New Roman"]{ font-family:"Times New Roman",serif; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Courier New"]{ font-family:"Courier New",monospace; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Verdana"]{ font-family:Verdana,sans-serif; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Trebuchet MS"]{ font-family:"Trebuchet MS",sans-serif; }
.lkd-rte-mount .ql-picker.ql-font .ql-picker-item[data-value="Impact"]{ font-family:Impact,sans-serif; }
.lkd-rte-mount .ql-caps:hover svg text{ fill:#06c; }
.lkd-rte-mount .ql-caps.ql-active svg text{ fill:var(--brand); }

/* ---------- Login page (round 141): $$LoginLeahKate / $$LoginWelMetrix ---------- */
/* These are legacy Domino custom-login FORMS (not XPages), authored as
   Pass-Thru HTML inside a compiled rich-text $Body -- not something that
   can be safely hand-edited as plain text/XML the way every .xsp/.jss
   file in this app has been (that body is compiled binary CD records,
   and a mistake there risks corrupting the site's login gate itself).
   This login form DOES already load this site.css (confirmed live), so
   the fix instead targets the specific ids/classes that form's own
   markup already uses (#container, #row, .form-login, .blue-button,
   .form-link, #MFALink, .mfaReveal/.mfaHide) -- purely additive CSS,
   zero risk to the form itself, and it makes the exact same markup look
   like a real branded login card instead of bare unstyled text. These
   selectors are unique to the login form and don't appear anywhere else
   in the app, so none of this can affect any other page. */
#row{ margin:0; padding:0; }
#container{
  max-width: 400px; margin: 4.5rem auto; padding: 2.25rem 2rem 2rem;
  background: #fff; border-radius: var(--bs-border-radius, 1.1rem);
  box-shadow: 0 1.25rem 3rem rgba(33,28,26,.12);
  text-align: center; font-family: var(--site-font);
}
#container img{ max-width: 180px; height: auto; margin-bottom: .5rem; }
#container h2{
  font-family: var(--site-font); font-weight: 700; font-size: 1.6rem;
  color: var(--ink); margin: .5rem 0 1.5rem;
}
#container .alert, #container .information{
  text-align: left; font-size: .85rem; padding: .7rem 1rem; margin-bottom: 1.25rem;
  border-radius: .6rem; background: #faf1e6; border: 1px solid #ecd9bd; color: #7a5a1e;
}
.form-login{ text-align: left; margin-bottom: 1rem; position: relative; }
.form-login label{
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #7a726c; margin-bottom: .35rem;
}
.form-login input{
  display: block; width: 100%; padding: .6rem .9rem; font-size: 1rem;
  line-height: 1.5; color: var(--ink); background-color: #fff;
  border: 1px solid #ded7cf; border-radius: .6rem; box-sizing: border-box;
}
.form-login input:focus{ outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .15); }
/* "mfa-field" is the class Domino's own compiled markup puts directly on
   the MFA Token <input> itself (confirmed from the form's raw content),
   not a wrapper div -- padding-right just makes room so typed text
   doesn't run under the show/hide toggle button next to it. */
.form-login input.mfa-field{ padding-right: 2.5rem; }
#showbutton{
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer; font-size: .95rem; color: #9a938c; user-select: none;
}
#showbutton:hover{ background: var(--cream); color: var(--brand); }
#showbutton.mfaReveal::before{ content: "\1F441"; } /* 👁 show */
#showbutton.mfaHide::before{ content: "\1F576"; } /* 🕶 hide */
.form-link{ text-align: center; font-size: .82rem; margin-bottom: 1.25rem; }
.form-link #MFALink{ color: var(--brand); text-decoration: none; font-weight: 600; }
.form-link #MFALink:hover{ text-decoration: underline; }
.form-link .disabled{ pointer-events: none; opacity: .4; }
#buttonDiv.blue-button{ margin-top: .25rem; }
#buttonDiv.blue-button input,
#buttonDiv.blue-button button,
#buttonDiv.blue-button a{
  display: block; width: 100%; border: none; border-radius: 50rem;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem;
  padding: .7rem 1.5rem; cursor: pointer; text-decoration: none;
}
#buttonDiv.blue-button input:hover,
#buttonDiv.blue-button button:hover,
#buttonDiv.blue-button a:hover{ background: var(--brand-dark); }
#buttonDiv.blue-button input:disabled,
#buttonDiv.blue-button button:disabled{ background: #ded7cf; color: #9a938c; cursor: not-allowed; }

/* Manage Categories: compact cards that can be collapsed (ccEditCat.xsp) */
.lk-cat-card .card-body { padding: .75rem 1rem; }
.lk-cat-card .lk-cat-header { cursor: pointer; user-select: none; }
.lk-cat-card .lk-cat-header:hover { opacity: .9; }
.lk-cat-card .form-label { margin-bottom: .15rem; font-size: .8rem; }
.lk-cat-card .form-control,
.lk-cat-card .form-select { padding: .3rem .5rem; font-size: .9rem; }
.lk-cat-card .row.g-2 { --bs-gutter-y: .4rem; }
.lk-cat-card .btn-sm { padding: .2rem .5rem; }
.lk-cat-card.lk-collapsed .lk-cat-body { display: none; }
.lk-cat-card.lk-collapsed .lk-cat-header { margin-bottom: 0 !important; }
.lk-add-card.lk-collapsed .card-body > *:not(.card-title) { display: none; }
.lk-add-card.lk-collapsed .card-title { margin-bottom: 0 !important; }

/* ---------- Phone menu: easy to see (hamburger button and the opened menu) ---------- */
@media (max-width: 991.98px){
  .header-row-top{ flex: 1 1 100%; width: 100%; }
  .header-toggler{
    color: var(--header-text-custom, #fff); border: 1px solid currentColor;
    border-radius: .5rem; padding: .55rem .7rem;
  }
  .header-toggler .navbar-toggler-icon{
    width: 1.7em; height: 1.7em; background-color: transparent;
    background-image: radial-gradient(circle, currentColor 0 2.4px, transparent 2.9px) !important;
    background-size: 33.334% 100%; background-repeat: repeat-x; background-position: 0 50%;
  }
  .navbar-nav .nav-link{ font-size: 1.1rem; padding: .85rem 0 !important; }
  .nav-item-row{ border-bottom: 1px solid rgba(128,128,128,.35); }
  .mega-toggle{ font-size: 1.5rem; padding: .6rem .9rem; }
  .mega-menu{
    background: rgba(128,128,128,.18); border-radius: .5rem;
    padding: .6rem 1rem; margin: .25rem 0 .6rem;
  }
  .mega-menu-heading, .mega-menu-viewall-top, .mega-menu-viewall{
    color: var(--header-text-custom, #fff) !important; font-size: 1.05rem;
  }
  .mega-menu-link{
    color: var(--header-text-custom, #fff) !important; font-size: 1.05rem; padding: .6rem 0;
  }
  .mega-menu-link:hover{ color: #f0c6d4 !important; }
  .mega-menu-viewall{ border-top-color: rgba(128,128,128,.35); }
}

.mega-menu-sub{ padding-left: .9rem; font-size: .8rem; opacity: .9; }
@media (max-width: 991.98px){ .mega-menu-sub{ padding-left: 1.25rem; font-size: 1rem; } }
