/*
 * SM SALT v81 — owner mobile QA corrections (2026-10-17). Scoped, additive rules only.
 * Colours, fonts, imagery and copy of the approved v81 design are unchanged.
 */

/* ---------- Priority 1: homepage Health & Wellness ---------- */
/* Rebuilt by mobile-ui.js with the homepage's own .hc-film / .hc-arrival-film markup, so the
   approved New Arrivals styles apply unchanged. Only the control's cursor is set here. */
#wellness-showcase .hc-film-control { cursor: pointer; }

/* ---------- Priority 2: bottom bars and floating buttons ---------- */
/* --sm-bar-h is the height of the visible fixed bottom bar (set by mobile-ui.js, 0 if none). */
html.sm-has-bar body { padding-bottom: var(--sm-bar-h, 0px); }
html.sm-has-bar .mx-top { bottom: calc(var(--sm-bar-h, 0px) + 12px) !important; }
/* The page's own sticky bars stay above the back-to-top button so their buttons stay tappable. */
html.sm-has-bar .sm-bottom-bar { z-index: 90; }
/* Redundant bar hidden while the hero CTAs or the inquiry form are on screen, or while typing. */
.sm-bar-hidden { transform: translateY(110%) !important; pointer-events: none; }
.px-mobile-trade, .mobilebar, .mobile-bar, .sm-bottom-bar { transition: transform .25s ease; }
@media (prefers-reduced-motion: reduce) {
  .px-mobile-trade, .mobilebar, .mobile-bar, .sm-bottom-bar { transition: none; }
}
/* Inquiry assistant (test preview only) sits above any bottom bar and the safe area. */
/* Stacked above the back-to-top button (42px + gaps) so the two never overlap. */
.smc-btn { bottom: calc(var(--sm-bar-h, 0px) + 66px + env(safe-area-inset-bottom)) !important; right: 12px !important; }
.smc-panel { bottom: calc(var(--sm-bar-h, 0px) + 122px + env(safe-area-inset-bottom)) !important; max-height: calc(100svh - var(--sm-bar-h, 0px) - 200px) !important; }

/* 2026-10-19 bulk SEO: the hero kicker line is now the H1 and the large display line is a <div>.
   These rules give both exactly the look they had before (verified by computed-style comparison). */
.homeCompletion>section.hc-hero h1.hc-eyebrow{color:var(--px-gold,#cfb681);letter-spacing:.22em;text-transform:uppercase;margin:0 0 20px;max-width:none;font:500 10px/1.5 Arial,sans-serif!important}
.homeCompletion>section.hc-hero .hc-display{display:block;color:#fff6e4;letter-spacing:-.035em;max-width:1100px;margin:12px 0 0;font:400 clamp(48px,6.2vw,94px)/1.02 var(--font-playfair),Georgia,serif}
@media (max-width:760px){.homeCompletion>section.hc-hero h1.hc-eyebrow{letter-spacing:.16em;max-width:100%}.homeCompletion>section.hc-hero .hc-display{font-size:clamp(37px,10vw,58px)}}
@media (max-width:700px){.homeCompletion>section.hc-hero h1.hc-eyebrow{font-size:9px!important}}
.vc-hero h1.vc-kicker{letter-spacing:.2em;margin:0 0 20px}
.vc-hero .vc-display{display:block;color:var(--vc-text);letter-spacing:-.035em;margin:0 0 25px;font:400 clamp(48px,6.1vw,86px)/1.04 var(--sm-serif,Georgia)}
@media (max-width:700px){.vc-hero .vc-display{font-size:clamp(42px,10vw,62px)}}
h1.pl-kicker{font-family:inherit!important}

/* ---------- 2026-10-21: desktop "Inquiry help" vs film control ---------- */
/* The fixed "Inquiry help" button (bottom-right, shown from 1024 px) covered the film Play/Pause control
   while the film was at the bottom of the screen. Position offset only; look and copy unchanged. */
@media (min-width: 1024px) { .hc-film .hc-film-control { right: 128px; } }
/* 2026-10-29 keyword H1 on the animal collection hero: kicker is the H1, display line keeps the hero look. */
.tx-hero h1.tx-kicker{font:500 10px/1.5 var(--sm-sans)!important;letter-spacing:.2em;text-transform:uppercase;color:var(--tx-gold);margin:0 0 22px;max-width:none}
.tx-hero .tx-display{display:block;font-family:var(--sm-serif,Georgia);font-weight:400;letter-spacing:-.04em;font-size:clamp(48px,6vw,86px);line-height:1.04;max-width:1100px;margin:0 0 30px;color:#f7f1e6}
@media (max-width:1000px){.tx-hero .tx-display{font-size:64px}}
@media (max-width:650px){.tx-hero .tx-display{font-size:clamp(40px,10.5vw,57px);line-height:1.08}.tx-hero h1.tx-kicker{font-size:9px!important;letter-spacing:.14em;margin-bottom:18px}}
/* 2026-10-29 About: keyword kicker H1 keeps the sans kicker look. */
h1.sm-kicker-h1{font-family:"Source Sans 3",Arial,sans-serif!important;line-height:1.5}
/* 2026-11-03 construction hero: keyword eyebrow is the H1, display line keeps the hero look. */
.herocopy h1.sm-eyebrow-h1{font:600 12px/1.6 Arial,Helvetica,sans-serif!important;letter-spacing:.2em;color:var(--gold,#e8bb73);margin:0 0 20px;text-transform:uppercase}
.herocopy .sm-h1-display{font-family:var(--serif,Georgia,serif);font-weight:400;line-height:1.02;font-size:clamp(58px,6.7vw,104px);letter-spacing:-.035em;color:var(--text,#f4eee4)}
.herocopy .sm-h1-display em{color:var(--gold,#e8bb73);font-weight:400}
@media (max-width:650px){.herocopy .sm-h1-display{font-size:58px}.herocopy h1.sm-eyebrow-h1{font-size:10px!important;letter-spacing:.15em}}

/* Global footer alignment (visual QA 2026-11-03): one centred max-width container, aligned columns,
   no empty gap under "Trade desk", centred stacking on mobile. Colours, fonts and links unchanged. */
footer.sm-footer.premiumFooter{padding:72px 32px 0!important;overflow-x:clip}
footer.sm-footer.premiumFooter .sm-footer-grid{box-sizing:border-box;width:100%;max-width:1240px;margin:0 auto;display:grid;grid-template-columns:minmax(260px,1.3fr) repeat(3,minmax(0,1fr));gap:48px;align-items:start}
footer.sm-footer.premiumFooter .sm-footer-grid>div{grid-column:auto;min-width:0}
footer.sm-footer.premiumFooter .sm-footer-brand{text-align:left}
footer.sm-footer.premiumFooter .sm-footer-brand img{margin:0;width:104px;height:104px}
footer.sm-footer.premiumFooter .sm-footer-brand h2{margin:16px 0 4px}
footer.sm-footer.premiumFooter .sm-footer-brand p{max-width:320px;margin:14px 0 18px}
footer.sm-footer.premiumFooter .sm-social{justify-content:flex-start}
footer.sm-footer.premiumFooter h3{margin:0 0 20px;line-height:1.4}
footer.sm-footer.premiumFooter .sm-footer-grid>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
footer.sm-footer.premiumFooter .sm-footer-grid>div:last-child p{margin:0 0 6px;line-height:1.7}
footer.sm-footer.premiumFooter .sm-footer-grid>div:last-child .sm-cta{margin-top:6px}
footer.sm-footer.premiumFooter .sm-footer-bottom{box-sizing:border-box;width:100%;max-width:1240px;margin:48px auto 0;padding:20px 0;flex-direction:row;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
@media(max-width:1399px){footer.sm-footer.premiumFooter .sm-footer-bottom{padding-right:64px}}
@media(max-width:1023px){
  footer.sm-footer.premiumFooter .sm-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 32px}
  footer.sm-footer.premiumFooter .sm-footer-brand{grid-column:1/-1!important;text-align:center}
  footer.sm-footer.premiumFooter .sm-footer-brand img{margin:0 auto}
  footer.sm-footer.premiumFooter .sm-footer-brand p{margin:14px auto 18px;max-width:440px}
  footer.sm-footer.premiumFooter .sm-social{justify-content:center}
}
@media(max-width:767px){
  footer.sm-footer.premiumFooter{padding:52px 20px calc(16px + env(safe-area-inset-bottom))!important;text-align:center}
  footer.sm-footer.premiumFooter .sm-footer-grid{grid-template-columns:1fr;gap:36px}
  footer.sm-footer.premiumFooter .sm-footer-grid>div{text-align:center}
  footer.sm-footer.premiumFooter nav,footer.sm-footer.premiumFooter .sm-footer-grid>div:last-child{align-items:center}
  footer.sm-footer.premiumFooter h3{margin-bottom:16px}
  footer.sm-footer.premiumFooter .sm-footer-bottom{flex-direction:column;justify-content:center;text-align:center;margin-top:36px;padding:18px 0 72px}
  footer.sm-footer.premiumFooter .sm-footer-bottom nav{justify-content:center}
}
/* Homepage footer (hc-footer): on desktop the logo and name sat centred above left-aligned copy. Align them. */
@media(min-width:1024px){
  footer.hc-footer .max-w-xl>.flex.flex-col{align-items:flex-start}
  footer.hc-footer .max-w-xl>.flex.flex-col>div{text-align:left}
}
/* Homepage rail controls (2026-11-04): the Play/Pause toggle is a pill between the round arrows, never squeezed. */
.hc-controls{display:flex;align-items:center;gap:10px}
.hc-controls button:not([aria-label]),.hc-controls button[aria-label*="automatic gallery"]{width:auto!important;min-width:64px;padding:0 16px!important;border-radius:999px!important;white-space:nowrap;font-size:13px}
