/*
Theme Name: SMMart
Theme URI: https://smmartmanager.ai
Description: Standalone theme for smmartmanager.ai: SMMart Manager (the app) and SMMart Manager for E-commerce. Holds all site-specific styling, page templates, SEO, llms.txt and page-speed code. Replaced the GeneratePress child theme in October 2026.
Author: Mediaholic Marketing
Version: 2.3.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smmart
*/

/* ==========================================================================
   Base: reset, typography, forms
   --------------------------------------------------------------------------
   Carried over from GeneratePress 3.6.1 (assets/css/main.min.css, the reset/
   typography/forms/alignment rules, plus its default colours for forms and
   buttons), GPL v2 or later, so every page renders exactly as it did when
   this was a GeneratePress child theme. Everything after this section is
   SMMart's own.
   ========================================================================== */
blockquote,body,dd,dl,dt,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,html,iframe,legend,li,ol,p,pre,textarea,ul{margin:0;padding:0;border:0}
html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
main{display:block}
progress{vertical-align:baseline}
html{box-sizing:border-box}
*,::after,::before{box-sizing:inherit}
button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;margin:0}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
[type=search]::-webkit-search-decoration{-webkit-appearance:none}
::-moz-focus-inner{border-style:none;padding:0}
:-moz-focusring{outline:1px dotted ButtonText}
body,button,input,select,textarea{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;text-transform:none;font-size:17px;line-height:1.5}
p{margin-bottom:1.5em}
h1,h2,h3,h4,h5,h6{font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit}
pre{background:rgba(0,0,0,.05);font-family:inherit;font-size:inherit;line-height:normal;margin-bottom:1.5em;padding:20px;overflow:auto;max-width:100%}
blockquote{border-left:5px solid rgba(0,0,0,.05);padding:20px;font-size:1.2em;font-style:italic;margin:0 0 1.5em;position:relative}
blockquote p:last-child{margin:0}
table,td,th{border:1px solid rgba(0,0,0,.1)}
table{border-collapse:separate;border-spacing:0;border-width:1px 0 0 1px;margin:0 0 1.5em;width:100%}
td,th{padding:8px}
th{border-width:0 1px 1px 0}
td{border-width:0 1px 1px 0}
hr{background-color:rgba(0,0,0,.1);border:0;height:1px;margin-bottom:40px;margin-top:40px}
fieldset{padding:0;border:0;min-width:inherit}
fieldset legend{padding:0;margin-bottom:1.5em}
h1{font-size:42px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}
h2{font-size:35px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}
h3{font-size:29px;margin-bottom:20px;line-height:1.2em;font-weight:400;text-transform:none}
h4{font-size:24px}
h5{font-size:20px}
h4,h5,h6{margin-bottom:20px}
ol,ul{margin:0 0 1.5em 3em}
ul{list-style:disc}
ol{list-style:decimal}
li>ol,li>ul{margin-bottom:0;margin-left:1.5em}
dt{font-weight:700}
dd{margin:0 1.5em 1.5em}
b,strong{font-weight:700}
cite,dfn,em,i{font-style:italic}
address{margin:0 0 1.5em}
code,kbd,tt,var{font:15px Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace}
abbr,acronym{border-bottom:1px dotted #666;cursor:help}
ins,mark{text-decoration:none}
sub,sup{font-size:75%;height:0;line-height:0;position:relative;vertical-align:baseline}
sup{bottom:1ex}
sub{top:.5ex}
small{font-size:75%}
big{font-size:125%}
figure{margin:0}
table{margin:0 0 1.5em;width:100%}
th{font-weight:700}
img{height:auto;max-width:100%}
button,input[type=button],input[type=reset],input[type=submit]{background:#55555e;color:#fff;border:1px solid transparent;cursor:pointer;-webkit-appearance:button;padding:10px 20px}
input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{border:1px solid;border-radius:0;padding:10px 15px;max-width:100%}
textarea{width:100%}
a,button,input{transition:color .1s ease-in-out,background-color .1s ease-in-out}
a{text-decoration:none}
.button,.wp-block-button .wp-block-button__link{padding:10px 20px;display:inline-block}
.wp-block-button .wp-block-button__link{font-size:inherit;line-height:inherit}
.using-mouse :focus{outline:0}
.using-mouse ::-moz-focus-inner{border:0}
.alignleft{float:left;margin-right:1.5em}
.alignright{float:right;margin-left:1.5em}
.aligncenter{clear:both;display:block;margin:0 auto}
.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail{max-width:100%;height:auto}
.no-sidebar .entry-content .alignfull{margin-left:calc(-100vw / 2 + 100% / 2);margin-right:calc(-100vw / 2 + 100% / 2);max-width:100vw;width:auto}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#21759b;display:block;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
#primary[tabindex="-1"]:focus{outline:0}
input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{color:#222;background-color:#f7f8f9;border-color:#f0f0f0}
input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{color:#222;background-color:#f7f8f9;border-color:#b2b2be}
button:hover,input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover,button:focus,input[type=button]:focus,input[type=reset]:focus,input[type=submit]:focus{color:#fff;background-color:#3f4047}
.button,.wp-block-button__link{text-decoration:none}
.entry-title{margin-bottom:0}
.entry-content>p:last-child{margin-bottom:0}
.wp-caption{margin-bottom:1.5em;max-width:100%;position:relative}
.wp-caption .wp-caption-text,.wp-block-image figcaption{font-size:13px;text-align:center;opacity:.8}
embed,iframe,object{max-width:100%}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --sm-orange: #E85C29;
  --sm-orange-dark: #c74a1f;
  --sm-black: #211D1A;
  --sm-cream: #FBFAF8;
  --sm-tan: #ECE8E2;
  --sm-body: #3a342f;
  --sm-card-dark: #2a2521;
  --sm-card-dark-hover: #332d28;
  --sm-radius-pill: 999px;
  --sm-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Utilities
   --------------------------------------------------------------------------
   Small, reusable modifiers so page content never needs an inline style
   attribute — compose these instead of hand-writing a style="" value.
   ========================================================================== */
.sm-on-dark { color: var(--sm-cream); }
.sm-section--center { text-align: center; }
.sm-btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.sm-inline-actions { display: flex; gap: 12px; flex-wrap: nowrap; }
.sm-link-strong { font-weight: 600; }

.sm-fs-24 { font-size: 24px; }
.sm-fs-26 { font-size: 26px; }
.sm-fs-28 { font-size: 28px; }
.sm-fs-30 { font-size: 30px; }
.sm-fs-32 { font-size: 32px; }
.sm-fs-34 { font-size: 34px; }

.sm-mb-8  { margin-bottom: 8px; }
.sm-mb-16 { margin-bottom: 16px; }
.sm-mb-24 { margin-bottom: 24px; }
.sm-mb-28 { margin-bottom: 28px; }
.sm-mb-36 { margin-bottom: 36px; }
.sm-mb-40 { margin-bottom: 40px; }
.sm-mb-48 { margin-bottom: 48px; }
.sm-mb-56 { margin-bottom: 56px; }

.sm-pb-32  { padding-bottom: 32px; }
.sm-pad-56 { padding: 56px 32px; }
.sm-pad-72 { padding: 72px 32px; }
.sm-pad-80 { padding: 80px 32px; }

/* ==========================================================================
   Site base (SMMart)
   ========================================================================== */
html {
  /* body's own overflow-x:hidden below doesn't reliably stop horizontal
     scroll in every browser — some treat <html> as the real scrolling
     container. Needed both to hide it (Woo Blocks below) and to trust it. */
  overflow-x: hidden;
}
body.smmart-site {
  font-family: var(--sm-font);
  background: var(--sm-cream);
  color: var(--sm-black);
  overflow-x: hidden;
}
body.smmart-site #page,
body.smmart-site .site-content,
body.smmart-site .site-content .content-area,
body.smmart-site .inside-article,
body.smmart-site .site-main {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}
body.smmart-site article,
body.smmart-site .entry-content {
  margin: 0;
  padding: 0;
}
/* Deliberately unscoped to "body a" (not "body.smmart-site a") so its
   specificity (0,0,2) stays below every single-class component selector
   (.sm-cta-btn, .sm-pricing-cta, etc. at 0,1,0) — scoping doesn't change in
   practice since every page already carries the smmart-site body class, but
   adding it here previously made this rule specific enough to beat button
   text colours. */
body a { color: var(--sm-orange); text-decoration: none; }
body a:hover { color: var(--sm-orange-dark); }
body.smmart-site * { box-sizing: border-box; }
body.smmart-site h1,
body.smmart-site h2,
body.smmart-site h3,
body.smmart-site p,
body.smmart-site ul {
  font-family: var(--sm-font);
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.sm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sm-cream);
  border-bottom: 1px solid var(--sm-tan);
}
.sm-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sm-logo { display: flex; align-items: center; }
.sm-logo img { height: 56px; width: auto; display: block; }
.sm-nav-links { display: flex; gap: 36px; align-items: center; }
.sm-nav-links a {
  color: var(--sm-black);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
}
.sm-nav-links a:hover,
.sm-nav-links a.is-active {
  color: var(--sm-orange);
  border-bottom-color: var(--sm-orange);
  font-weight: 600;
}
.sm-cta-btn {
  background: var(--sm-orange);
  color: var(--sm-cream);
  padding: 12px 26px;
  border-radius: var(--sm-radius-pill);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.sm-cta-btn:hover { background: var(--sm-orange-dark); transform: translateY(-2px); color: var(--sm-cream); }
/* "Open app" for existing customers: outlined in orange, so it stands out
   without competing with the solid "Start free trial" button beside it. */
.sm-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sm-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--sm-orange);
  border-radius: var(--sm-radius-pill);
  color: var(--sm-orange);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.sm-app-btn:hover,
.sm-app-btn:focus-visible { background: var(--sm-orange); color: #fff; transform: translateY(-2px); }
.sm-app-btn svg, .sm-mobile-app svg, .sm-footer-app svg { flex: none; }
@media (max-width: 1240px) { .sm-nav-links { gap: 24px; } }
.sm-nav-links a { white-space: nowrap; }
/* Nav + both header buttons need ~1180px; below that, the menu button. */
@media (max-width: 1180px) {
  .sm-nav-links,
  .sm-header-actions { display: none !important; }
  .sm-menu-btn { display: flex !important; }
}
.sm-menu-btn {
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: none;
  border: none;
}
.sm-menu-btn svg { display: block; }
.sm-mobile-menu {
  background: var(--sm-cream);
  border-top: 1px solid var(--sm-tan);
  padding: 8px 32px 20px;
  display: none;
  flex-direction: column;
}
.sm-mobile-menu.is-open { display: flex; }
.sm-mobile-menu a {
  padding: 14px 0;
  color: var(--sm-black);
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid var(--sm-tan);
}
.sm-mobile-menu a:last-child { border-bottom: none; }
.sm-mobile-menu a.is-active { color: var(--sm-orange); font-weight: 600; }
.sm-mobile-menu a.sm-mobile-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 13px 0;
  border: 1.5px solid var(--sm-orange);
  border-radius: var(--sm-radius-pill);
  color: var(--sm-orange);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .sm-nav-links { display: none !important; }
  .sm-menu-btn { display: flex !important; }
  .sm-cta-btn,
  .sm-header-actions { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.sm-hero { position: relative; height: 80vh; min-height: 480px; overflow: hidden; }
.sm-hero--sm { height: 70vh; min-height: 420px; }
.sm-hero--xs { height: 45vh; min-height: 320px; }
.sm-hero-bg {
  position: absolute;
  top: -25%; /* parallax travel room: matches the max data-speed (.25) */
  left: 0;
  width: 100%;
  height: 125%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
/* Heroes without parallax need no travel room: the photo fills the hero
   exactly, so its focal point frames precisely (and nothing is hidden). */
.sm-hero-bg:not(.sm-parallax) { top: 0; height: 100%; }
.sm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(33,29,26,.88) 15%, rgba(33,29,26,.55) 55%, rgba(33,29,26,.3) 100%);
  pointer-events: none;
}
.sm-hero-overlay--center {
  background: linear-gradient(180deg, rgba(33,29,26,.35), rgba(33,29,26,.8));
}
.sm-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.sm-hero-inner--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.sm-hero-content { max-width: 600px; }
.sm-hero-content--wide { max-width: 640px; }
.sm-hero h1 {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--sm-cream);
  text-wrap: pretty;
}
.sm-hero h1.sm-h1--md { font-size: clamp(32px, 5.2vw, 54px); line-height: 1.12; }
.sm-hero h1.sm-h1--sm { font-size: clamp(30px, 4.8vw, 50px); line-height: 1.15; }
.sm-hero h1.sm-h1--xs { font-size: clamp(30px, 5vw, 50px); line-height: 1.15; margin-bottom: 16px; }
.sm-hero p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--sm-tan);
  margin: 0 0 34px;
  max-width: 480px;
}
.sm-hero-p--wide { max-width: 520px; }
.sm-hero-inner--center .sm-hero p { font-size: 17px; margin: 0 auto; max-width: 560px; }
.sm-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Per-page hero photography. Web-sized copies ship with the theme
   (assets/img/photos/, originals are in the Media Library). Hero photos
   should be landscape: a portrait photo in a wide hero can only show a thin
   band of itself (the old SMMart Manager hero showed just shoulders or just
   a face). Focal points (background-position) keep the person in frame on
   phones too; re-check them if a photo is swapped. */
.sm-hero-bg--home    { background-image: url('assets/img/photos/home-hero-waterfront.jpg'); background-image: image-set(url('assets/img/photos/home-hero-waterfront.webp') type('image/webp'), url('assets/img/photos/home-hero-waterfront.jpg') type('image/jpeg')); background-position: center 35%; }
@media (max-width: 760px) { .sm-hero-bg--home { background-position: 64% center; } }
.sm-hero-bg--cc       { background-image: url('assets/img/photos/home-cc-shot.jpg'); background-image: image-set(url('assets/img/photos/home-cc-shot.webp') type('image/webp'), url('assets/img/photos/home-cc-shot.jpg') type('image/jpeg')); background-position: center 15%; }
@media (max-width: 760px) { .sm-hero-bg--cc { background-position: 85% center; } }
.sm-hero-bg--manager  { background-image: url('assets/img/photos/manager-hero.jpg'); background-image: image-set(url('assets/img/photos/manager-hero.webp') type('image/webp'), url('assets/img/photos/manager-hero.jpg') type('image/jpeg')); }
.sm-hero-bg--bni       { background-image: url('assets/img/photos/bni-hero.jpg'); background-image: image-set(url('assets/img/photos/bni-hero.webp') type('image/webp'), url('assets/img/photos/bni-hero.jpg') type('image/jpeg')); }

/* Photo-free hero variant — for pages (e.g. industry landing pages) with no
   dedicated hero photograph. Same type scale/CTA styling as .sm-hero, just
   a flat dark background instead of a background image + overlay. */
.sm-hero-plain { background: var(--sm-black); padding: 152px 32px 100px; text-align: center; }
.sm-hero-plain__inner { max-width: 760px; margin: 0 auto; }
.sm-hero-plain h1 {
  color: var(--sm-cream);
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.sm-hero-plain p { color: var(--sm-tan); opacity: .85; font-size: 18px; line-height: 1.6; margin: 0 0 34px; }
.sm-hero-plain .sm-hero-actions { justify-content: center; }
@media (max-width: 640px) { .sm-hero-plain { padding: 128px 24px 80px; } }
.sm-btn-fill {
  background: var(--sm-orange);
  color: var(--sm-cream);
  padding: 16px 30px;
  border-radius: var(--sm-radius-pill);
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  transition: transform .2s ease;
}
.sm-btn-fill:hover { transform: translateY(-3px) scale(1.03); color: var(--sm-cream); }
.sm-btn-outline {
  background: transparent;
  color: var(--sm-cream);
  padding: 16px 30px;
  border-radius: var(--sm-radius-pill);
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid var(--sm-cream);
  display: inline-block;
  transition: background .2s ease;
  cursor: pointer;
}
.sm-btn-outline:hover { background: rgba(251,250,248,.15); color: var(--sm-cream); }
.sm-btn-outline--tight { padding: 15px 20px; font-size: 15px; white-space: nowrap; }

/* ==========================================================================
   Sections / lede
   ========================================================================== */
.sm-section { padding: 100px 32px; }
.sm-section--tight { padding: 96px 32px; }
.sm-section--tan { background: var(--sm-tan); }
.sm-section--cream { background: var(--sm-cream); }
.sm-section--dark { background: var(--sm-black); }
.sm-section--flush { padding: 0; }
.sm-lede {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 26px;
  line-height: 1.6;
  font-weight: 500;
  text-wrap: pretty;
}
.sm-lede--sm { font-size: 24px; }
.sm-container { max-width: 1280px; margin: 0 auto; }
.sm-container--narrow { max-width: 820px; margin: 0 auto; }
.sm-container--md { max-width: 1000px; margin: 0 auto; text-align: center; }
.sm-h2 { font-size: 38px; font-weight: 800; margin: 0 0 18px; text-wrap: pretty; }
.sm-h2--center { text-align: center; }
.sm-intro-p { font-size: 18px; line-height: 1.7; color: var(--sm-body); margin: 0; }
.sm-section-subhead { text-align: center; font-size: 15px; margin: 0 0 48px; color: var(--sm-body); }
.sm-section-subhead--dark { color: var(--sm-tan); opacity: .7; }
.sm-section-subhead--mb-36 { margin-bottom: 36px; }
.sm-pricing-footnote { text-align: center; color: var(--sm-tan); opacity: .6; font-size: 13px; max-width: 640px; margin: 28px auto 0; }
.sm-eyebrow {
  display: inline-block;
  color: var(--sm-orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sm-pill-tag {
  display: inline-block;
  background: var(--sm-orange);
  color: var(--sm-cream);
  padding: 6px 14px;
  border-radius: var(--sm-radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.sm-pill-tag--muted { background: var(--sm-tan); color: var(--sm-black); }

/* ==========================================================================
   Split (two column) blocks
   ========================================================================== */
.sm-split { display: grid; grid-template-columns: 1fr 1fr; }
.sm-split-copy { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.sm-split-copy p { font-size: 18px; line-height: 1.6; color: var(--sm-body); margin: 0 0 26px; max-width: 440px; }
.sm-split-photo { width: 100%; height: 560px; background-size: cover; background-position: center; }
.sm-split-photo--sm { height: 460px; }
.sm-split-photo--manager-shot { background-image: url('assets/img/photos/home-manager-shot.jpg'); background-image: image-set(url('assets/img/photos/home-manager-shot.webp') type('image/webp'), url('assets/img/photos/home-manager-shot.jpg') type('image/jpeg')); }
.sm-split-photo--cc-shot { background-image: url('assets/img/photos/tradesman-electrician.jpg'); background-image: image-set(url('assets/img/photos/tradesman-electrician.webp') type('image/webp'), url('assets/img/photos/tradesman-electrician.jpg') type('image/jpeg')); background-position: 42% center; }
.sm-split-link { color: var(--sm-orange); font-weight: 700; font-size: 17px; width: fit-content; display: inline-block; transition: transform .2s ease; }
.sm-split-link:hover { transform: translateX(6px); color: var(--sm-orange); }

.sm-companion-wrap { max-width: 1100px; margin: 0 auto; }
.sm-companion-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(33,29,26,.1);
}
.sm-companion-copy { padding: 64px; background: var(--sm-cream); display: flex; flex-direction: column; justify-content: center; }
.sm-companion-copy h3 { font-size: 28px; font-weight: 800; margin: 0 0 14px; }
.sm-companion-copy p { font-size: 16px; line-height: 1.6; color: var(--sm-body); margin: 0 0 22px; max-width: 420px; }
.sm-companion-link { color: var(--sm-black); font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--sm-orange); padding-bottom: 2px; width: fit-content; display: inline-block; }
.sm-companion-photo-wrap { overflow: hidden; }
.sm-companion-photo { width: 100%; height: 460px; background-size: cover; background-position: center; }
.sm-companion-photo--cc-shot { background-image: url('assets/img/photos/home-cc-shot.jpg'); background-image: image-set(url('assets/img/photos/home-cc-shot.webp') type('image/webp'), url('assets/img/photos/home-cc-shot.jpg') type('image/jpeg')); background-position: 82% center; }
.sm-companion-photo--manager-shot { background-image: url('assets/img/photos/home-manager-shot.jpg'); background-image: image-set(url('assets/img/photos/home-manager-shot.webp') type('image/webp'), url('assets/img/photos/home-manager-shot.jpg') type('image/jpeg')); }


@media (max-width: 760px) {
  .sm-split { grid-template-columns: 1fr !important; }
  .sm-split-copy, .sm-companion-copy { padding: 40px 24px; }
}

/* ==========================================================================
   Why-this-works / value cards
   ========================================================================== */
.sm-value-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.sm-value-card { background: var(--sm-card-dark); border-radius: 22px; padding: 38px; transition: transform .25s ease, background .25s ease; }
.sm-value-card:hover { transform: translateY(-8px); background: var(--sm-card-dark-hover); }
.sm-value-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 14px; color: var(--sm-cream); }
.sm-value-card p { font-size: 15.5px; line-height: 1.6; color: var(--sm-tan); opacity: .85; margin: 0; }
.sm-value-card--accent { background: var(--sm-orange); }
.sm-value-card--accent:hover { transform: translateY(-8px); background: var(--sm-orange); }
.sm-value-card--accent p { color: var(--sm-cream); opacity: .9; margin: 0 0 24px; }

.sm-proof-chart { display: flex; align-items: flex-end; gap: 18px; height: 80px; }
.sm-proof-chart-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sm-proof-chart-col__label { font-size: 12px; }
.sm-proof-chart-col__value { font-size: 11px; }
.sm-proof-chart-col--img .sm-proof-chart-col__label,
.sm-proof-chart-col--img .sm-proof-chart-col__value { color: var(--sm-cream); opacity: .7; }
.sm-proof-chart-col--video .sm-proof-chart-col__label { color: var(--sm-black); font-weight: 700; }
.sm-proof-chart-col--video .sm-proof-chart-col__value { color: var(--sm-black); font-weight: 800; }
.sm-bar-img { width: 36px; height: 8px; background: var(--sm-cream); opacity: .5; border-radius: 4px; }
.sm-bar-video { width: 36px; height: 56px; background: var(--sm-black); border-radius: 4px; }

/* ==========================================================================
   Feature grid (dark, icon cards)
   ========================================================================== */
.sm-feature-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.sm-feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sm-feature-card { background: var(--sm-card-dark); border-radius: 20px; padding: 28px; transition: transform .25s ease, background .25s ease; }
.sm-feature-card:hover { transform: translateY(-8px); background: var(--sm-card-dark-hover); }
.sm-feature-card--accent { background: var(--sm-orange); }
.sm-feature-card--accent:hover { transform: translateY(-8px); background: var(--sm-orange); }
.sm-feature-card--accent p { color: var(--sm-cream); opacity: .9; }
.sm-feature-card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 8px; color: var(--sm-cream); }
.sm-feature-card p { font-size: 14.5px; line-height: 1.6; color: var(--sm-tan); opacity: .8; margin: 0; }
.sm-feature-card svg { display: block; }

/* ==========================================================================
   Numbered steps ("how to use it effectively" sections)
   ========================================================================== */
.sm-steps { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.sm-step { display: flex; gap: 20px; align-items: flex-start; }
.sm-step__num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sm-orange);
  color: var(--sm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.sm-step h3 { font-size: 18px; font-weight: 700; margin: 6px 0 6px; }
.sm-step p { font-size: 15.5px; line-height: 1.65; color: var(--sm-body); margin: 0; }

@media (max-width: 1200px) { .sm-feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .sm-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .sm-feature-grid, .sm-feature-grid--3 { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   Industries hub — light link-card grid (/industries/) + the per-page
   "back to all industries" link at the foot of each trade page
   ========================================================================== */
.sm-industry-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.sm-industry-card {
  display: block;
  background: var(--sm-cream);
  border-radius: 16px;
  padding: 26px 24px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sm-industry-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(33, 29, 26, .1); }
.sm-industry-card h3 { font-size: 17px; font-weight: 700; color: var(--sm-black); margin: 0 0 6px; }
.sm-industry-card p { font-size: 14px; line-height: 1.5; color: var(--sm-body); margin: 0; }
.sm-industry-card__arrow { display: inline-block; margin-top: 14px; color: var(--sm-orange); font-weight: 700; }

.sm-industry-backlink { text-align: center; margin: 44px auto 0; }
.sm-industry-backlink a { color: var(--sm-orange); font-weight: 700; font-size: 15px; }

/* ==========================================================================
   Mockup / screenshot grid
   ========================================================================== */
.sm-mockup-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.sm-mockup { margin: 0; }
.sm-mockup-shot {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--sm-tan);
  border: 1px solid var(--sm-tan);
  box-shadow: 0 10px 30px rgba(33, 29, 26, .08);
  padding: 0;
  display: block;
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sm-mockup-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; /* keep the screen title in view */ }
.sm-mockup-shot:hover,
.sm-mockup-shot:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(33, 29, 26, .14); }
.sm-mockup figcaption { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--sm-body); }
@media (max-width: 900px) { .sm-mockup-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .sm-mockup-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }
/* Three-screen strip on the industry pages. */
.sm-mockup-grid--3 { max-width: 840px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .sm-mockup-grid--3 { grid-template-columns: repeat(2, 1fr); } .sm-mockup-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; } }

/* Lightbox (screenshot preview) */
.sm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(33,29,26,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.sm-lightbox.is-open { display: flex; }
.sm-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.sm-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--sm-radius-pill);
  background: rgba(251,250,248,.12);
  border: none;
  color: var(--sm-cream);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.sm-lightbox-close:hover { background: rgba(251,250,248,.22); }

/* ==========================================================================
   Time-saved proof row (Content Creator)
   ========================================================================== */
.sm-proof-row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: nowrap; }
.sm-proof-box { width: 180px; height: 56px; border-radius: 14px; background: var(--sm-card-dark); display: flex; align-items: center; justify-content: center; }
.sm-proof-box--accent { background: var(--sm-orange); }
.sm-proof-box span { font-size: 15px; color: var(--sm-tan); white-space: nowrap; }
.sm-proof-box--accent span { color: var(--sm-cream); font-weight: 700; }
.sm-proof-stat { font-size: 64px; font-weight: 800; color: var(--sm-orange); }
.sm-proof-label { text-align: center; }
.sm-proof-label__text { font-size: 15px; margin-bottom: 10px; }
.sm-proof-label__text--muted { color: var(--sm-tan); opacity: .6; }
.sm-proof-label__text--accent { color: var(--sm-orange); font-weight: 600; }
.sm-proof-stat-wrap { margin-top: 44px; }
.sm-proof-stat-caption { font-size: 16px; color: var(--sm-tan); opacity: .8; margin: 6px 0 0; }
@media (max-width: 760px) {
  .sm-proof-row { gap: 14px; }
  .sm-proof-row .sm-proof-box { width: 118px; height: 46px; }
  .sm-proof-row .sm-proof-box span { font-size: 12px; }
  .sm-proof-row svg { width: 20px; height: 16px; flex-shrink: 0; }
}

/* Bar-chart proof (SMMart Manager) */
.sm-bar-chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; align-items: end; max-width: 600px; margin: 0 auto; }
.sm-bar-chart-track { display: flex; align-items: flex-end; height: 200px; margin-bottom: 16px; }
.sm-bar-chart-fill { width: 100%; border-radius: 8px 8px 0 0; background: var(--sm-black); opacity: .2; }
.sm-bar-chart-fill--accent { background: var(--sm-orange); opacity: 1; }
.sm-bar-chart-fill--h-low { height: 14px; }
.sm-bar-chart-fill--h-high { height: 145px; }
.sm-bar-chart-num { font-size: 36px; font-weight: 800; color: var(--sm-black); opacity: .5; }
.sm-bar-chart-num--accent { color: var(--sm-orange); opacity: 1; }
.sm-bar-chart-label { font-size: 14px; color: var(--sm-body); opacity: .7; margin-top: 4px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.sm-pricing-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.sm-pricing-card {
  background: var(--sm-cream);
  border-radius: 22px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sm-pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(33,29,26,.12); }
.sm-pricing-card--dark { background: var(--sm-black); }
.sm-pricing-card--dark:hover { box-shadow: none; }
.sm-pricing-card--accent { background: var(--sm-orange); }
.sm-pricing-card--accent:hover { box-shadow: none; }
.sm-pricing-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.sm-pricing-card--dark h3, .sm-pricing-card--accent h3 { color: var(--sm-cream); margin-top: 10px; }
.sm-pricing-price { font-size: 30px; font-weight: 800; margin: 0 0 26px; }
.sm-pricing-price small { font-size: 14px; font-weight: 500; }
.sm-pricing-card--dark .sm-pricing-price, .sm-pricing-card--accent .sm-pricing-price { color: var(--sm-cream); }
.sm-pricing-subnote { font-size: 12px; color: var(--sm-orange); font-weight: 600; margin-bottom: 20px; }
.sm-pricing-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--sm-body); }
.sm-pricing-card--dark .sm-pricing-list { color: var(--sm-tan); }
.sm-pricing-card--accent .sm-pricing-list { color: var(--sm-cream); opacity: .9; }
.sm-pricing-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--sm-orange);
  color: var(--sm-cream);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--sm-radius-pill);
  letter-spacing: .03em;
}
.sm-pricing-badge--dark { background: var(--sm-black); }
.sm-pricing-cta {
  margin-top: auto;
  text-align: center;
  background: var(--sm-black);
  color: var(--sm-cream);
  padding: 13px;
  border-radius: var(--sm-radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: background .2s ease;
  display: block;
}
.sm-pricing-cta:hover { background: #3a342f; color: var(--sm-cream); }
.sm-pricing-cta--accent { background: var(--sm-orange); }
.sm-pricing-cta--accent:hover { background: var(--sm-orange-dark); }
.sm-pricing-cta--dark-on-accent { background: var(--sm-black); }
.sm-pricing-cta--dark-on-accent:hover { background: var(--sm-card-dark-hover); }

.sm-platform-toggle { display: flex; justify-content: center; margin-bottom: 48px; }
.sm-platform-toggle-inner { display: inline-flex; background: var(--sm-card-dark); border-radius: var(--sm-radius-pill); padding: 5px; }
.sm-platform-toggle button {
  cursor: pointer;
  padding: 10px 26px;
  border-radius: var(--sm-radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--sm-cream);
  background: none;
  border: none;
  font-family: var(--sm-font);
}
.sm-platform-toggle button.is-active { background: var(--sm-orange); }
.sm-platform-panel { display: none; }
.sm-platform-panel.is-active { display: grid; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.sm-faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.sm-faq-list--narrow { max-width: 700px; }
.sm-faq-item { background: var(--sm-tan); border-radius: 16px; padding: 20px 24px; }
.sm-faq-item--onwhite { background: var(--sm-cream); }
.sm-faq-item summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.sm-faq-item summary::-webkit-details-marker { display: none; }
.sm-faq-item summary::after { content: '+'; color: var(--sm-orange); font-size: 20px; margin-left: 12px; }
.sm-faq-item[open] summary::after { content: '\2212'; }
.sm-faq-item p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--sm-body); }

/* ==========================================================================
   Cards / misc content blocks
   ========================================================================== */
.sm-origin-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sm-origin-intro { display: flex; flex-direction: column; justify-content: center; padding: 8px 24px 8px 0; }
.sm-origin-intro h2 { font-size: clamp(28px, 3vw, 34px); font-weight: 800; line-height: 1.15; color: var(--sm-black); margin: 0 0 12px; }
.sm-origin-intro p { font-size: 17px; line-height: 1.6; color: var(--sm-body); margin: 0; }
.sm-origin-card { background: var(--sm-cream); border-radius: 20px; padding: 30px; transition: transform .25s ease, box-shadow .25s ease; }
.sm-origin-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(33, 29, 26, .08); }
.sm-origin-num { display: block; font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--sm-orange); margin: 0 0 14px; }
.sm-origin-card h3 { font-size: 18px; font-weight: 800; color: var(--sm-black); margin: 0 0 8px; }
.sm-origin-card p { font-size: 15px; line-height: 1.6; color: var(--sm-body); margin: 0; }
@media (max-width: 960px) { .sm-origin-grid { grid-template-columns: repeat(2, 1fr); } .sm-origin-intro { grid-column: 1 / -1; padding: 0 0 8px; text-align: center; } }
@media (max-width: 600px) { .sm-origin-grid { grid-template-columns: 1fr; } }

/* About: founder cut-out on a tan panel with an orange disc behind the head.
   The whole photo is always shown (no cropping), so nothing gets cut off. */
.sm-founder-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.sm-founder { position: relative; margin: 0; aspect-ratio: 1 / 1; background: var(--sm-tan); border-radius: 28px; overflow: hidden; }
.sm-founder::before { content: ""; position: absolute; width: 64%; aspect-ratio: 1; left: 18%; top: 9%; border-radius: 50%; background: var(--sm-orange); }
.sm-founder img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.sm-founder-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(33, 29, 26, .15);
}
.sm-founder-badge strong { display: block; font-size: 16px; color: var(--sm-black); }
.sm-founder-badge span { display: block; font-size: 13px; color: var(--sm-body); }
.sm-founder-badge a { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--sm-orange); }
.sm-founder-copy h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1.12; color: var(--sm-black); margin: 10px 0 22px; }
.sm-founder-copy p { font-size: 17px; line-height: 1.7; color: var(--sm-body); margin: 0 0 16px; max-width: 540px; }
body.smmart-site .sm-founder-copy .sm-founder-lede { font-size: 20px; line-height: 1.55; font-weight: 600; color: var(--sm-black); }
@media (max-width: 860px) {
  .sm-founder-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sm-founder { max-width: 460px; width: 100%; margin: 0 auto; }
}

.sm-support-card { border: 1px solid var(--sm-tan); border-radius: 20px; padding: 32px; transition: transform .25s ease; }
.sm-support-card:hover { transform: translateY(-6px); }
.sm-support-card h3 { font-size: 16px; font-weight: 700; margin: 14px 0 6px; }
.sm-support-card p { font-size: 14px; line-height: 1.6; color: var(--sm-body); margin: 0; }
.sm-support-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.sm-callout {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--sm-tan);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
}
.sm-callout--dark { border-color: rgba(255,255,255,.12); background: transparent; }
.sm-callout svg { margin-bottom: 16px; }
.sm-callout--dark svg { margin-bottom: 14px; }
.sm-callout h2 { font-size: 26px; font-weight: 800; margin: 0 0 14px; }
.sm-callout--dark h2 { color: var(--sm-cream); font-size: 22px; }
.sm-callout p { font-size: 16px; line-height: 1.6; color: var(--sm-body); margin: 0 auto; max-width: 480px; }
.sm-callout--dark p { color: var(--sm-tan); opacity: .85; font-size: 15px; }

/* Support page: handbook callout (links out to support.smmartmanager.ai) */
.sm-callout--guide { max-width: 1000px; margin-bottom: 72px; background: #fff; }
.sm-callout-actions { margin-top: 28px; }
.sm-guide-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.sm-guide-links a {
  border: 1px solid var(--sm-tan);
  border-radius: var(--sm-radius-pill);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s ease;
}
.sm-guide-links a:hover { border-color: var(--sm-orange); }
@media (max-width: 640px) { .sm-callout--guide { padding: 36px 20px; margin-bottom: 56px; } }

/* Page hero (About/Contact/Support intro banner) */
.sm-page-hero { background: var(--sm-black); padding: 88px 32px 72px; text-align: center; }
.sm-page-hero--about { padding: 96px 32px 88px; }
.sm-page-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 auto 16px;
  max-width: 700px;
  color: var(--sm-cream);
  text-wrap: pretty;
}
.sm-page-hero--about h1 { font-size: clamp(32px, 4.5vw, 50px); margin: 0 auto 20px; max-width: 800px; }
.sm-page-hero p { font-size: 17px; line-height: 1.6; color: var(--sm-tan); opacity: .85; margin: 0 auto; max-width: 560px; }
.sm-page-hero--about p { font-size: 18px; max-width: 640px; }

.sm-quote-block { max-width: 760px; margin: 0 auto; }
.sm-quote-block p { font-size: 26px; line-height: 1.6; margin: 0 0 32px; color: var(--sm-cream); text-wrap: pretty; }

/* BNI-specific */
.sm-bni-topbar { background: var(--sm-cream); border-bottom: 1px solid var(--sm-tan); }
.sm-bni-topbar-inner { max-width: 1000px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; }
.sm-bni-topbar img { height: 48px; width: auto; display: block; }
.sm-bni-badge { background: var(--sm-black); color: var(--sm-cream); padding: 7px 16px; border-radius: var(--sm-radius-pill); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.sm-bni-code-banner { max-width: 700px; margin: 0 auto; background: var(--sm-black); color: var(--sm-cream); border-radius: 24px; padding: 36px 40px; text-align: center; }
.sm-bni-code-banner p { font-size: 18px; line-height: 1.6; margin: 0; }
.sm-bni-code-banner .sm-code { color: var(--sm-orange); font-weight: 800; }
.sm-bni-plan-card {
  max-width: 600px; margin: 0 auto; background: var(--sm-cream); border: 2px solid var(--sm-orange);
  border-radius: 22px; padding: 36px 30px; text-align: center; position: relative; transition: transform .25s ease;
}
.sm-bni-plan-card:hover { transform: translateY(-6px); }
.sm-bni-plan-card .sm-pricing-badge { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.sm-bni-plan-card h3 { font-size: 20px; font-weight: 700; margin: 14px 0 4px; }
/* Comparison pages (page-html/compare/*.html) */
.sm-choose-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.sm-choose-card { background: var(--sm-cream); border-radius: 16px; padding: 28px 30px; color: var(--sm-black); }
.sm-choose-card--accent { background: var(--sm-orange); color: #fff; }
.sm-choose-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.sm-choose-card ul { margin: 0; padding-left: 20px; }
.sm-choose-card li { font-size: 15px; line-height: 1.55; margin-bottom: 8px; }
.sm-compare-wrap { max-width: 1000px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.sm-compare-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; background: #fff; font-size: 15px; line-height: 1.5; }
.sm-compare-table th, .sm-compare-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(33, 29, 26, .08); }
.sm-compare-table thead th { background: var(--sm-black); color: var(--sm-cream); font-weight: 700; font-size: 16px; }
.sm-compare-table thead th:nth-child(2) { background: var(--sm-orange); color: #fff; }
.sm-compare-table tbody th { font-weight: 600; width: 22%; color: var(--sm-black); }
.sm-compare-table tbody td:nth-child(2) { background: rgba(232, 92, 41, .05); }
.sm-compare-table tbody tr:last-child > * { border-bottom: 0; }
.sm-compare-note { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 13px; line-height: 1.5; opacity: .7; }
/* Phones: stack each row into a card so both products stay visible,
   instead of a sideways-scrolling table that hides the second column. */
@media (max-width: 640px) {
	.sm-compare-wrap { overflow: visible; }
	.sm-compare-table, .sm-compare-table tbody, .sm-compare-table tr, .sm-compare-table th, .sm-compare-table td { display: block; width: auto; min-width: 0; }
	.sm-compare-table { background: transparent; font-size: 14px; }
	.sm-compare-table thead { display: none; }
	.sm-compare-table tr { background: #fff; border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
	.sm-compare-table tbody th { width: auto; padding: 14px 16px 8px; font-size: 15px; border-bottom: 0; }
	.sm-compare-table td { padding: 8px 16px 12px; border-bottom: 0; }
	.sm-compare-table td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .6; margin-bottom: 2px; }
	.sm-compare-table tbody td:nth-child(2) { background: rgba(232, 92, 41, .07); }
	.sm-compare-table tbody td:nth-child(2)::before { color: var(--sm-orange); opacity: 1; }
	.sm-choose-card { padding: 24px; }
}

/* Blog articles (page-html/blog/*.html) — long-form reading layout */
.sm-hero-plain--article h1 { font-size: clamp(30px, 4.4vw, 46px); }
.sm-hero-plain--article p { margin-bottom: 22px; }
.sm-hero-plain .sm-article-meta { font-size: 14px; opacity: .6; margin: 0; }
/* Photo behind a plain (centred-text) hero: Blog hub + articles. Photos are
   Pexels (free licence), web-sized in assets/img/photos/blog-*.{jpg,webp}. */
.sm-hero-plain--photo { position: relative; overflow: hidden; }
.sm-hero-plain--photo .sm-hero-plain__inner { position: relative; z-index: 2; }
.sm-hero-plain--photo .sm-hero-overlay { background: linear-gradient(180deg, rgba(33,29,26,.42) 0%, rgba(33,29,26,.62) 55%, rgba(33,29,26,.8) 100%); }
.sm-hero-plain--photo h1, .sm-hero-plain--photo p { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.sm-hero-plain--photo p { opacity: 1; }
.sm-hero-plain--photo .sm-article-meta { opacity: .75; }
.sm-hero-bg--blog-hub       { background-image: url('assets/img/photos/blog-hub.jpg'); background-image: image-set(url('assets/img/photos/blog-hub.webp') type('image/webp'), url('assets/img/photos/blog-hub.jpg') type('image/jpeg')); background-position: center 12%; }
.sm-hero-bg--blog-frequency { background-image: url('assets/img/photos/blog-post-frequency.jpg'); background-image: image-set(url('assets/img/photos/blog-post-frequency.webp') type('image/webp'), url('assets/img/photos/blog-post-frequency.jpg') type('image/jpeg')); background-position: center 60%; }
.sm-hero-bg--blog-cost      { background-image: url('assets/img/photos/blog-cost.jpg'); background-image: image-set(url('assets/img/photos/blog-cost.webp') type('image/webp'), url('assets/img/photos/blog-cost.jpg') type('image/jpeg')); background-position: center 50%; }
.sm-hero-bg--blog-photos    { background-image: url('assets/img/photos/blog-real-photos.jpg'); background-image: image-set(url('assets/img/photos/blog-real-photos.webp') type('image/webp'), url('assets/img/photos/blog-real-photos.jpg') type('image/jpeg')); background-position: center 45%; }
.sm-hero-bg--blog-trades    { background-image: url('assets/img/photos/blog-trades.jpg'); background-image: image-set(url('assets/img/photos/blog-trades.webp') type('image/webp'), url('assets/img/photos/blog-trades.jpg') type('image/jpeg')); background-position: 35% 18%; }
.sm-hero-bg--blog-ai        { background-image: url('assets/img/photos/blog-ai.jpg'); background-image: image-set(url('assets/img/photos/blog-ai.webp') type('image/webp'), url('assets/img/photos/blog-ai.jpg') type('image/jpeg')); background-position: 60% 55%; }
.sm-article { max-width: 720px; margin: 0 auto; color: var(--sm-body); font-size: 18px; line-height: 1.75; }
.sm-article > :first-child { margin-top: 0; }
.sm-article p, .sm-article ul, .sm-article ol { margin: 0 0 22px; }
.sm-article ul, .sm-article ol { padding-left: 24px; }
.sm-article li { margin-bottom: 8px; }
.sm-article h2 { color: var(--sm-black); font-size: 28px; line-height: 1.25; font-weight: 800; margin: 52px 0 16px; text-wrap: pretty; }
.sm-article h3 { color: var(--sm-black); font-size: 20px; line-height: 1.35; font-weight: 700; margin: 32px 0 10px; }
.sm-article strong { color: var(--sm-black); }
.sm-article a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sm-article-summary { background: #fff; border-left: 4px solid var(--sm-orange); border-radius: 0 16px 16px 0; padding: 26px 30px; margin: 0 0 40px; }
.sm-article-summary h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sm-orange); margin: 0 0 12px; }
.sm-article-summary ul { margin: 0; }
.sm-article-summary li { font-size: 17px; line-height: 1.6; }
.sm-article-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 22px; border-radius: 14px; }
.sm-article-table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-size: 15px; line-height: 1.5; }
.sm-article-table th, .sm-article-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(33, 29, 26, .08); }
.sm-article-table thead th { background: var(--sm-black); color: var(--sm-cream); font-weight: 700; }
.sm-article-table tbody th { color: var(--sm-black); font-weight: 600; }
.sm-article-table tbody tr:last-child > * { border-bottom: 0; }
.sm-article-callout { background: var(--sm-tan); border-radius: 16px; padding: 24px 28px; margin: 32px 0; }
.sm-article-callout p:last-child { margin-bottom: 0; }
.sm-article-sources { border-top: 1px solid var(--sm-tan); margin-top: 48px; padding-top: 20px; font-size: 14px; line-height: 1.6; opacity: .8; }
.sm-article-sources ul { margin: 0; }
.sm-article-sources a { font-weight: 500; word-break: break-word; }
/* Blog archive: [smmart_blog_list] (inc/blog.php) on the /blog/ page —
   newest post as a wide featured card, the rest in a grid below. The title
   link's ::after stretches over the card so the whole card is clickable. */
.sm-blog-list { max-width: 1160px; margin: 0 auto; }
.sm-blog-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.sm-blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(33, 29, 26, .12); }
.sm-blog-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sm-tan); }
.sm-blog-card__img, .sm-blog-card__placeholder { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sm-blog-card:hover .sm-blog-card__img { transform: scale(1.04); }
.sm-blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.sm-blog-card__meta { font-size: 13px; font-weight: 600; color: var(--sm-body); opacity: .65; margin: 0 0 10px; }
.sm-blog-card__title { font-size: 21px; line-height: 1.3; font-weight: 800; margin: 0 0 10px; text-wrap: pretty; }
.sm-blog-card__title a { color: var(--sm-black); }
.sm-blog-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.sm-blog-card:hover .sm-blog-card__title a { color: var(--sm-orange); }
.sm-blog-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--sm-body); margin: 0 0 18px; }
.sm-blog-card__more { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--sm-orange); }
.sm-blog-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 28px; }
.sm-blog-card--featured .sm-blog-card__media { aspect-ratio: auto; min-height: 380px; }
.sm-blog-card--featured .sm-blog-card__body { justify-content: center; padding: 44px 48px; }
.sm-blog-card--featured .sm-blog-card__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin-bottom: 14px; }
.sm-blog-card--featured .sm-blog-card__excerpt { font-size: 17px; }
.sm-blog-card--featured .sm-blog-card__more { margin-top: 6px; }
.sm-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 860px) {
	.sm-blog-card--featured { display: flex; }
	.sm-blog-card--featured .sm-blog-card__media { aspect-ratio: 16 / 10; min-height: 0; }
	.sm-blog-card--featured .sm-blog-card__body { padding: 26px 24px 28px; }
}
@media (max-width: 640px) {
	.sm-blog-grid { grid-template-columns: 1fr; gap: 20px; }
	.sm-blog-card--featured { margin-bottom: 20px; }
	.sm-blog-card__body { padding: 22px 22px 24px; }
}

@media (max-width: 640px) {
	.sm-article { font-size: 17px; }
	.sm-article h2 { font-size: 24px; margin-top: 44px; }
	.sm-article-summary { padding: 22px 20px; }
	.sm-article-callout { padding: 20px; }
}

/* International price display (inc/currency.php + initCurrency() in smmart.js) */
.sm-currency-switch { max-width: 720px; margin: -8px auto 32px; text-align: center; color: var(--sm-black); }
.sm-section--dark .sm-currency-switch { color: var(--sm-tan); }
.sm-currency-switch:has(+ .sm-platform-panel:not(.is-active)) { display: none; }
.sm-currency-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.sm-currency-label { font-size: 14px; font-weight: 600; opacity: .8; }
.sm-currency-options { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sm-currency-options button { font: inherit; font-size: 13px; font-weight: 600; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: var(--sm-radius-pill); padding: 6px 12px; cursor: pointer; opacity: .65; transition: opacity .2s, background .2s; }
.sm-currency-options button:hover,
.sm-currency-options button:focus-visible { opacity: 1; }
.sm-currency-options button[aria-pressed="true"] { background: var(--sm-orange); border-color: var(--sm-orange); color: #fff; opacity: 1; }
.sm-currency-note { font-size: 13px; line-height: 1.5; opacity: .75; max-width: 560px; margin: 12px auto 0; }
.sm-price-zar { font-size: 13px; opacity: .7; margin: -20px 0 22px; }
.sm-bni-now + .sm-price-zar { margin: 0 0 12px; }
.sm-pricing-card--dark .sm-price-zar, .sm-pricing-card--accent .sm-price-zar { color: var(--sm-cream); opacity: .85; }
.sm-zar-notice { max-width: 1100px; margin: 0 auto 24px; padding: 12px 16px; border-left: 3px solid var(--sm-orange); background: rgba(232, 92, 41, .08); font-size: 14px; line-height: 1.5; }

.sm-bni-was { font-size: 14px; color: var(--sm-body); text-decoration: line-through; opacity: .6; margin-bottom: 2px; }
.sm-bni-now { font-size: 38px; font-weight: 800; margin: 0 0 4px; }
.sm-bni-now small { font-size: 15px; font-weight: 500; }
.sm-bni-plan-card .sm-pricing-list { text-align: left; max-width: 220px; margin-left: auto; margin-right: auto; }
.sm-bni-note { text-align: center; font-size: 13px; color: var(--sm-body); opacity: .7; margin: 20px 0 0; }

/* Legal pages */
.sm-legal-hero { background: var(--sm-black); padding: 72px 32px 56px; text-align: center; }
.sm-legal-hero h1 { font-size: clamp(30px,4.5vw,44px); line-height: 1.15; font-weight: 800; margin: 0 auto 12px; color: var(--sm-cream); }
.sm-legal-hero p { font-size: 15px; color: var(--sm-tan); opacity: .7; margin: 0; }
.sm-legal-body { background: var(--sm-cream); padding: 72px 32px; }
.sm-legal-body-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.sm-legal-body-inner h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.sm-legal-body-inner p { font-size: 15.5px; line-height: 1.7; color: var(--sm-body); margin: 0; }
.sm-legal-body-inner ul { margin: 0; padding-left: 20px; font-size: 15.5px; line-height: 1.8; color: var(--sm-body); }
.sm-legal-body-inner :is(p, ul) + :is(p, ul) { margin-top: 12px; }
.sm-legal-body-inner [id] { scroll-margin-top: 100px; }
@media (max-width: 760px) { .sm-legal-body { padding: 48px 24px !important; } }

/* Contact form */
.sm-form-status { max-width: 620px; margin: 0 auto 20px; text-align: center; font-weight: 600; }
.sm-form-status--success { color: var(--sm-black); }
.sm-form-status--error { color: var(--sm-orange); }
.sm-contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 620px; margin: 0 auto; }
.sm-contact-form input,
.sm-contact-form select,
.sm-contact-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--sm-tan);
  font-family: var(--sm-font);
  font-size: 15px;
  background: var(--sm-cream);
  color: var(--sm-black);
  width: 100%;
}
.sm-contact-form textarea { resize: vertical; }
.sm-contact-form button,
.sm-contact-form input[type="submit"] {
  background: var(--sm-orange);
  color: var(--sm-cream);
  padding: 15px;
  border: none;
  border-radius: var(--sm-radius-pill);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--sm-font);
  transition: background .2s ease;
  width: 100%;
}
.sm-contact-form button:hover,
.sm-contact-form input[type="submit"]:hover { background: var(--sm-orange-dark); }

/* Contact Form 7's own field-level validation tooltip + form-level response
   banner — CF7 injects both automatically with no theme-matching styling of
   its own, unlike the old custom [smmart_contact_form]'s hand-built
   .sm-form-status. Both only ever appear inside .sm-contact-form since CF7
   is used there, so scoping to it (rather than a bare .wpcf7-* selector)
   keeps this from leaking into any other CF7 form added elsewhere later. */
.sm-contact-form .wpcf7-not-valid-tip { color: var(--sm-orange); font-size: 13px; margin-top: -10px; }
.sm-contact-form .wpcf7-response-output { border-radius: 12px; padding: 14px 16px; text-align: center; font-weight: 600; margin: 0; border: none !important; }
.sm-contact-form form.sent .wpcf7-response-output { background: var(--sm-cream); color: var(--sm-black); }
.sm-contact-form form.failed .wpcf7-response-output,
.sm-contact-form form.aborted .wpcf7-response-output,
.sm-contact-form form.spam .wpcf7-response-output,
.sm-contact-form form.invalid .wpcf7-response-output { background: #FFF0E8; color: var(--sm-orange); }

/* ==========================================================================
   WooCommerce — Cart / Checkout / My Account
   --------------------------------------------------------------------------
   These pages run WooCommerce's own real templates (not this theme's custom
   ones), so WooCommerce's default stylesheet stays enabled as the functional
   baseline (layout, form structure, gateway-injected fields) and this section
   reskins it to match the rest of the site, rather than replacing it outright.

   Cart/Checkout/Account are built with WooCommerce's block editor blocks
   (.wp-block-woocommerce-checkout etc.), not the classic [woocommerce_cart]/
   [woocommerce_checkout] shortcodes — the block/shortcode markup is
   different, but both still render inside page.php's .entry-*
   wrapper, so the container rules just below apply either way.
   ========================================================================== */
body.woocommerce-page .entry-header {
  /* .entry-title lives in .entry-header, a separate container ABOVE
     .entry-content that never got this same treatment — left it flush
     against the viewport edge while the content below sat centered and
     padded, producing the lopsided "title miles out of position" look. */
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 0;
  box-sizing: border-box;
}
body.woocommerce-page .entry-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 96px;
  font-family: var(--sm-font);
  color: var(--sm-black);
  box-sizing: border-box;
  /* A block set to wide/full alignment (common on an auto-generated Woo
     Blocks Checkout page) escapes a plain max-width via negative margins —
     this belt-and-braces pair stops it from ever exceeding the viewport,
     which is what pushed the whole mobile layout sideways off-screen. */
  overflow-x: hidden;
}
body.woocommerce-page .entry-content > * {
  max-width: 100%;
  box-sizing: border-box;
}
body.woocommerce-page .entry-title {
  font-family: var(--sm-font);
  font-weight: 800;
  font-size: 32px;
  margin: 0 0 32px;
  color: var(--sm-black);
}

/* Notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: var(--sm-tan);
  border: none;
  border-left: 4px solid var(--sm-orange);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--sm-black);
  list-style: none;
}
.woocommerce-error { border-left-color: #c0392b; }
.woocommerce-message a.button,
.woocommerce-error a.button { margin-top: 8px; }

/* Buttons */
.woocommerce .button,
.woocommerce input.button,
.woocommerce button.button,
.woocommerce #place_order {
  background: transparent;
  color: var(--sm-black);
  border: 1.5px solid var(--sm-black);
  border-radius: var(--sm-radius-pill);
  padding: 12px 26px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--sm-font);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.woocommerce .button:hover,
.woocommerce input.button:hover,
.woocommerce button.button:hover { background: var(--sm-black); color: var(--sm-cream); }
.woocommerce .button.alt,
.woocommerce #place_order {
  background: var(--sm-orange);
  color: var(--sm-cream);
  border-color: var(--sm-orange);
}
.woocommerce .button.alt:hover,
.woocommerce #place_order:hover {
  background: var(--sm-orange-dark);
  border-color: var(--sm-orange-dark);
  color: var(--sm-cream);
  transform: translateY(-2px);
}
.woocommerce .button:disabled,
.woocommerce .button.disabled { opacity: .5; cursor: not-allowed; }

/* Cart table */
.woocommerce table.shop_table {
  border: none;
  border-collapse: separate;
  border-spacing: 0 10px;
  width: 100%;
}
.woocommerce table.shop_table thead th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--sm-body);
  opacity: .7;
  padding: 0 16px 8px;
  border: none;
}
.woocommerce table.shop_table tbody tr { background: var(--sm-cream); }
.woocommerce table.shop_table tbody td {
  border: none;
  border-top: 1px solid var(--sm-tan);
  border-bottom: 1px solid var(--sm-tan);
  padding: 16px;
  vertical-align: middle;
}
.woocommerce table.shop_table tbody td:first-child { border-left: 1px solid var(--sm-tan); border-radius: 12px 0 0 12px; }
.woocommerce table.shop_table tbody td:last-child { border-right: 1px solid var(--sm-tan); border-radius: 0 12px 12px 0; }
.woocommerce td.product-name a { color: var(--sm-black); font-weight: 600; }
.woocommerce td.product-remove a.remove {
  color: var(--sm-orange) !important;
  background: transparent !important;
  font-size: 20px;
}
.woocommerce td.product-remove a.remove:hover { color: var(--sm-orange-dark) !important; background: transparent !important; }
.woocommerce .quantity .qty {
  width: 64px;
  padding: 10px 12px;
  border: 1px solid var(--sm-tan);
  border-radius: 8px;
  font-family: var(--sm-font);
}
.woocommerce .coupon .input-text {
  padding: 12px 14px;
  border: 1px solid var(--sm-tan);
  border-radius: 999px;
  font-family: var(--sm-font);
  margin-right: 8px;
}

/* Cart totals / order review */
.woocommerce-cart-form { margin-bottom: 32px; }
.cart_totals {
  background: var(--sm-tan);
  border-radius: 22px;
  padding: 32px;
  max-width: 420px;
  margin-left: auto;
}
.cart_totals h2 { font-size: 20px; font-weight: 800; margin: 0 0 20px; }
.cart_totals table.shop_table { border-spacing: 0; }
.cart_totals table.shop_table th,
.cart_totals table.shop_table td { border: none; border-top: 1px solid rgba(33,29,26,.1); padding: 12px 0; background: transparent; }
.cart_totals table.shop_table tr:first-child th,
.cart_totals table.shop_table tr:first-child td { border-top: none; }
.order-total .amount { font-size: 22px; font-weight: 800; color: var(--sm-black); }

/* Checkout */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  padding: 13px 16px;
  border: 1px solid var(--sm-tan);
  border-radius: 12px;
  font-family: var(--sm-font);
  font-size: 16px;
  background: var(--sm-cream);
  color: var(--sm-black);
  width: 100%;
}
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
.select2-container .select2-selection--single {
  height: auto;
  padding: 13px 16px;
  border: 1px solid var(--sm-tan);
  border-radius: 12px;
}
#customer_details h3,
#order_review_heading { font-size: 20px; font-weight: 800; margin: 32px 0 16px; }
.woocommerce-checkout #payment { background: var(--sm-tan); border-radius: 22px; padding: 8px 24px; }
.woocommerce-checkout #payment ul.payment_methods { border: none; }
.woocommerce-checkout #payment div.payment_box { background: var(--sm-cream); border-radius: 14px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }

/* My Account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; border-radius: 12px; color: var(--sm-black); font-weight: 600; font-size: 14px; }
.woocommerce-MyAccount-navigation li a:hover { background: var(--sm-tan); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--sm-orange); color: var(--sm-cream); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--sm-orange); }
.woocommerce-account .addresses .title h3 { font-size: 16px; font-weight: 800; }
.woocommerce-orders-table,
.woocommerce-table--order-details { border-spacing: 0 8px; }

@media (max-width: 780px) {
  body.woocommerce-page .entry-content { padding: 40px 20px 64px; }
  body.woocommerce-page .entry-title { font-size: 26px; margin-bottom: 24px; }

  /* WooCommerce Blocks' own sidebar-layout gutter (Checkout/Cart) only sets
     padding-right on the main column — a real gutter *before* the sidebar
     column in the desktop two-column layout, so left alone there. Once it
     stacks to one column on mobile, that same right-only padding shifts the
     whole block off-center instead of centering it, pushing content toward
     (and past) the left edge. Mirroring it with the identical value
     (WooCommerce's own, not ours) re-centers it. Desktop is untouched — this
     is nested inside the same breakpoint as the 2-column collapse above.  */
  .wc-block-components-sidebar-layout .wc-block-components-main {
    padding-left: 4.5283018868%;
  }

  /* Checkout / My Account 2-column layouts collapse to 1 */
  .woocommerce-MyAccount-content,
  .woocommerce-MyAccount-navigation,
  .woocommerce-checkout .col2-set,
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 { width: 100% !important; float: none !important; }
  .woocommerce-MyAccount-navigation { margin-bottom: 24px; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
  .woocommerce-MyAccount-navigation li a { padding: 10px 14px; font-size: 13px; }

  .cart_totals { max-width: none; margin-left: 0; padding: 24px 20px; }
  .woocommerce-checkout #payment { padding: 4px 16px; }

  /* Cart table -> one stacked card per row instead of a cramped 5-column table */
  .woocommerce table.shop_table thead { display: none; }
  .woocommerce table.shop_table,
  .woocommerce table.shop_table tbody,
  .woocommerce table.shop_table tr,
  .woocommerce table.shop_table td { display: block; width: 100%; }
  .woocommerce table.shop_table tr {
    background: var(--sm-cream);
    border: 1px solid var(--sm-tan);
    border-radius: 14px;
    padding: 4px 16px;
    margin-bottom: 12px;
  }
  .woocommerce table.shop_table td {
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--sm-tan) !important;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }
  .woocommerce table.shop_table td:last-child { border-bottom: none !important; }
  .woocommerce table.shop_table td::before {
    content: attr(data-title);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--sm-body);
    opacity: .7;
    text-align: left;
  }
  .woocommerce table.shop_table td.product-thumbnail { justify-content: flex-start; }
  .woocommerce table.shop_table td.product-thumbnail::before,
  .woocommerce table.shop_table td.product-remove::before,
  .woocommerce table.shop_table td.actions::before { content: none; }
  .woocommerce table.shop_table td.product-remove { justify-content: flex-end; }
  .woocommerce table.shop_table td.actions { padding-top: 4px; }
  .woocommerce table.shop_table td.actions .coupon { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; width: 100%; }
  .woocommerce table.shop_table td.actions .coupon .input-text { margin-right: 0; width: 100%; }
  .woocommerce table.shop_table td.actions > .button { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.sm-footer { background: var(--sm-black); color: var(--sm-cream); border-top: 1px solid rgba(255,255,255,.08); }
.sm-footer-grid { max-width: 1280px; margin: 0 auto; padding: 64px 32px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.sm-footer-brand { font-weight: 800; font-size: 20px; }
.sm-footer-tagline { color: var(--sm-tan); opacity: .7; font-size: 14px; line-height: 1.6; margin-top: 12px; max-width: 280px; }
.sm-footer-heading { font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--sm-orange); margin-bottom: 16px; }
.sm-footer-col a { display: block; color: var(--sm-tan); font-size: 14px; margin-bottom: 10px; opacity: .85; }
.sm-footer-col a:hover { color: var(--sm-orange); opacity: 1; }
.sm-footer-col a.sm-footer-app { display: inline-flex; align-items: center; gap: 5px; color: var(--sm-orange); font-weight: 700; opacity: 1; }
.sm-footer-col a.sm-footer-app:hover { color: #ff7a47; }
.sm-social-links { display: flex; gap: 10px; margin-top: 20px; }
.sm-social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: var(--sm-tan); transition: color .2s, border-color .2s; }
.sm-social-links a:hover,
.sm-social-links a:focus-visible { color: var(--sm-orange); border-color: var(--sm-orange); }
.sm-footer--simple .sm-social-links { justify-content: center; margin: 0 0 14px; }
.sm-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 32px; text-align: center; font-size: 13px; color: var(--sm-tan); opacity: .5; }
.sm-footer-bottom a, .sm-copyright a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sm-footer-bottom a:hover, .sm-copyright a:hover { color: var(--sm-orange); }
.sm-footer--simple { background: var(--sm-black); color: var(--sm-cream); padding: 28px 24px; text-align: center; font-size: 13px; }
.sm-footer--simple .sm-footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.sm-footer--simple .sm-footer-links a { color: var(--sm-tan); opacity: .75; }
.sm-footer--simple .sm-copyright { color: var(--sm-tan); opacity: .6; }

/* ==========================================================================
   Reveal / parallax utility (JS toggles the actual state)
   ========================================================================== */
.sm-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.sm-reveal.is-visible { opacity: 1; transform: translateY(0); }
.sm-parallax { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .sm-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sm-parallax { transform: none !important; }
}

/* Was the only rule in Appearance -> Customize -> Additional CSS (stored per
   theme, so it moved here when the theme changed). Same rule as the mobile
   one above, but at every width. */
.wc-block-components-sidebar-layout .wc-block-components-main { padding-left: 4.5283018868%; }

/* ==========================================================================
   Default templates: page.php, single.php, index.php (search/archives),
   404.php, woocommerce.php (shop + single products)
   ========================================================================== */
.screen-reader-text:focus { z-index: 100; top: 8px; left: 8px; }

.sm-page--prose { max-width: 760px; margin: 0 auto; padding: 72px 32px 96px; }
.sm-page--prose .entry-title { font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1.15; color: var(--sm-black); }
.sm-page--prose .sm-page-meta { font-size: 14px; color: var(--sm-body); opacity: .7; margin: 12px 0 0; }
.sm-page--prose .entry-content { font-size: 17px; line-height: 1.7; color: var(--sm-body); }
.sm-page--prose .entry-content h2 { font-size: 26px; font-weight: 800; line-height: 1.25; margin: 40px 0 14px; color: var(--sm-black); }
.sm-page--prose .entry-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: var(--sm-black); }

.sm-search-wrap { max-width: 520px; margin: 28px auto 0; }
.sm-search-wrap .search-form { display: flex; gap: 8px; }
.sm-search-wrap .search-form label { flex: 1; }
.sm-search-wrap .search-field {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--sm-radius-pill);
  background: rgba(255,255,255,.08);
  color: var(--sm-cream);
  padding: 13px 20px;
  font-size: 16px;
}
.sm-search-wrap .search-field::placeholder { color: rgba(251,250,248,.6); }
.sm-search-wrap .search-field:focus { outline: 2px solid var(--sm-orange); outline-offset: 1px; background: rgba(255,255,255,.12); color: var(--sm-cream); }
.sm-search-wrap .search-submit,
.sm-search-wrap .search-submit:hover,
.sm-search-wrap .search-submit:focus {
  border: 0;
  border-radius: var(--sm-radius-pill);
  background: var(--sm-orange);
  color: #fff;
  font-weight: 700;
  padding: 13px 24px;
}

.sm-listing { max-width: 760px; margin: 0 auto; }
body.smmart-site .sm-listing-item { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--sm-tan); }
.sm-listing-item h2 { font-size: 22px; font-weight: 800; line-height: 1.3; margin: 0 0 8px; }
.sm-listing-item h2 a { color: var(--sm-black); }
.sm-listing-item h2 a:hover { color: var(--sm-orange); }
.sm-listing-excerpt { font-size: 16px; line-height: 1.6; color: var(--sm-body); margin: 0 0 10px; }
.sm-listing-empty { font-size: 17px; text-align: center; color: var(--sm-body); margin: 0 0 32px; }
.sm-listing .nav-links { display: flex; gap: 8px; justify-content: center; }
.sm-listing .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; border-radius: var(--sm-radius-pill); text-align: center; color: var(--sm-black); border: 1px solid var(--sm-tan); }
.sm-listing .page-numbers.current { background: var(--sm-black); color: var(--sm-cream); border-color: var(--sm-black); }

.sm-help-links { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sm-help-link { display: block; background: #fff; border: 1px solid var(--sm-tan); border-radius: 16px; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.sm-help-link:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(33, 29, 26, .1); }
.sm-help-link strong { display: block; color: var(--sm-black); font-size: 17px; margin: 0 0 4px; }
.sm-help-link span { display: block; color: var(--sm-body); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .sm-help-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sm-help-links { grid-template-columns: 1fr; } }

/* Shop + single product (woocommerce.php) */
.sm-woo { max-width: 1100px; margin: 0 auto; padding: 48px 32px 96px; color: var(--sm-black); }
.sm-woo .woocommerce-breadcrumb { font-size: 13px; margin: 0 0 24px; color: var(--sm-body); }
.sm-woo .page-title,
.sm-woo .product_title { font-weight: 800; font-size: 32px; line-height: 1.2; margin: 0 0 16px; }
.sm-woo .woocommerce-products-header { margin: 0 0 8px; }
.sm-woo ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 700; color: var(--sm-black); }
.sm-woo ul.products li.product .price,
.sm-woo div.product p.price { color: var(--sm-orange); font-weight: 700; }
body.smmart-site .sm-woo a.button,
body.smmart-site .sm-woo button.button,
body.smmart-site .sm-woo .single_add_to_cart_button,
body.smmart-site .sm-woo .single_add_to_cart_button.alt {
  background: var(--sm-black);
  color: var(--sm-cream);
  border-radius: var(--sm-radius-pill);
  font-weight: 700;
  padding: 10px 22px;
}
body.smmart-site .sm-woo a.button:hover,
body.smmart-site .sm-woo button.button:hover,
body.smmart-site .sm-woo .single_add_to_cart_button:hover,
body.smmart-site .sm-woo .single_add_to_cart_button.alt:hover { background: var(--sm-orange); color: #fff; }
.sm-woo .woocommerce-tabs h2,
.sm-woo .related > h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
@media (max-width: 640px) { .sm-woo { padding: 32px 20px 72px; } }

/* ==========================================================================
   Phone hero photos: portrait 3:4 crops (assets/img/photos/*-m.*, cut at
   each photo's phone focal point), so phones download ~30-80 KB instead of
   the 2000-2400px desktop file. inc/performance.php preloads the matching
   one per screen size. Keep the 760px breakpoint in sync with it.
   ========================================================================== */
@media (max-width: 760px) {
  .sm-hero-bg--home { background-image: url('assets/img/photos/home-hero-waterfront-m.jpg'); background-image: image-set(url('assets/img/photos/home-hero-waterfront-m.webp') type('image/webp'), url('assets/img/photos/home-hero-waterfront-m.jpg') type('image/jpeg')); background-position: center; }
  .sm-hero-bg--cc { background-image: url('assets/img/photos/home-cc-shot-m.jpg'); background-image: image-set(url('assets/img/photos/home-cc-shot-m.webp') type('image/webp'), url('assets/img/photos/home-cc-shot-m.jpg') type('image/jpeg')); background-position: center; }
  .sm-hero-bg--manager { background-image: url('assets/img/photos/manager-hero-m.jpg'); background-image: image-set(url('assets/img/photos/manager-hero-m.webp') type('image/webp'), url('assets/img/photos/manager-hero-m.jpg') type('image/jpeg')); background-position: center; }
  .sm-hero-bg--bni { background-image: url('assets/img/photos/bni-hero-m.jpg'); background-image: image-set(url('assets/img/photos/bni-hero-m.webp') type('image/webp'), url('assets/img/photos/bni-hero-m.jpg') type('image/jpeg')); background-position: center; }
  .sm-hero-bg--blog-hub { background-image: url('assets/img/photos/blog-hub-m.jpg'); background-image: image-set(url('assets/img/photos/blog-hub-m.webp') type('image/webp'), url('assets/img/photos/blog-hub-m.jpg') type('image/jpeg')); background-position: center 12%; }
  .sm-hero-bg--blog-frequency { background-image: url('assets/img/photos/blog-post-frequency-m.jpg'); background-image: image-set(url('assets/img/photos/blog-post-frequency-m.webp') type('image/webp'), url('assets/img/photos/blog-post-frequency-m.jpg') type('image/jpeg')); background-position: center 60%; }
  .sm-hero-bg--blog-cost { background-image: url('assets/img/photos/blog-cost-m.jpg'); background-image: image-set(url('assets/img/photos/blog-cost-m.webp') type('image/webp'), url('assets/img/photos/blog-cost-m.jpg') type('image/jpeg')); background-position: center 50%; }
  .sm-hero-bg--blog-photos { background-image: url('assets/img/photos/blog-real-photos-m.jpg'); background-image: image-set(url('assets/img/photos/blog-real-photos-m.webp') type('image/webp'), url('assets/img/photos/blog-real-photos-m.jpg') type('image/jpeg')); background-position: center 45%; }
  .sm-hero-bg--blog-trades { background-image: url('assets/img/photos/blog-trades-m.jpg'); background-image: image-set(url('assets/img/photos/blog-trades-m.webp') type('image/webp'), url('assets/img/photos/blog-trades-m.jpg') type('image/jpeg')); background-position: center 18%; }
  .sm-hero-bg--blog-ai { background-image: url('assets/img/photos/blog-ai-m.jpg'); background-image: image-set(url('assets/img/photos/blog-ai-m.webp') type('image/webp'), url('assets/img/photos/blog-ai-m.jpg') type('image/jpeg')); background-position: center 55%; }
}

/* ==========================================================================
   404 (404.php): an Ask SMMart chat. .sm-404-step-N fade in one after
   another; reduced motion shows them all at once.
   ========================================================================== */
.sm-404 { background: var(--sm-black); color: var(--sm-cream); padding: 88px 32px 104px; overflow: hidden; }
.sm-404-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sm-404-copy { position: relative; }
.sm-404-code {
  display: block;
  font-size: clamp(110px, 16vw, 200px);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--sm-orange);
  margin: 0 0 28px;
}
.sm-404-copy h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.12; color: var(--sm-cream); margin: 0 0 18px; }
.sm-404-copy p { font-size: 17px; line-height: 1.6; color: var(--sm-tan); opacity: .85; margin: 0 0 32px; max-width: 460px; }

.sm-404-chat {
  background: var(--sm-cream);
  color: var(--sm-black);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
  transform: rotate(1deg);
}
.sm-404-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--sm-tan); background: #fff; }
.sm-404-chat-head strong { display: block; font-size: 15px; }
.sm-404-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sm-orange); color: #fff; font-weight: 800; display: grid; place-items: center; }
.sm-404-status { font-size: 12px; color: #2e9e5b; }
.sm-404-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; }

.sm-404-thread { padding: 22px 20px 8px; display: flex; flex-direction: column; gap: 10px; min-height: 330px; }
body.smmart-site .sm-404-msg {
  max-width: 85%;
  margin: 0;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 4px;
  background: #fff;
  border: 1px solid var(--sm-tan);
  font-size: 15px;
  line-height: 1.5;
  color: var(--sm-body);
}
body.smmart-site .sm-404-msg--me { align-self: flex-end; background: var(--sm-black); border-color: var(--sm-black); color: var(--sm-cream); border-radius: 18px 18px 4px 18px; }
.sm-404-msg code { font-family: inherit; font-weight: 700; color: var(--sm-orange); word-break: break-all; }
.sm-404-typing { display: inline-flex; gap: 4px; overflow: hidden; padding: 14px 16px; background: #fff; border: 1px solid var(--sm-tan); border-radius: 18px 18px 18px 4px; width: fit-content; }
.sm-404-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sm-body); opacity: .4; animation: sm-404-dot 1s infinite; }
.sm-404-typing i:nth-child(2) { animation-delay: .15s; }
.sm-404-typing i:nth-child(3) { animation-delay: .3s; }
.sm-404-replies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sm-404-replies a {
  padding: 8px 14px;
  border: 1.5px solid var(--sm-orange);
  border-radius: var(--sm-radius-pill);
  color: var(--sm-orange);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.sm-404-replies a:hover,
.sm-404-replies a:focus { background: var(--sm-orange); color: #fff; }

.sm-404-compose { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--sm-tan); background: #fff; }
body.smmart-site .sm-404-compose input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--sm-tan);
  border-radius: var(--sm-radius-pill);
  background: var(--sm-cream);
  padding: 11px 18px;
  font-size: 15px;
  color: var(--sm-black);
}
body.smmart-site .sm-404-compose input:focus { outline: 2px solid var(--sm-orange); outline-offset: 1px; border-color: transparent; }
body.smmart-site .sm-404-compose button,
body.smmart-site .sm-404-compose button:hover,
body.smmart-site .sm-404-compose button:focus {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sm-orange);
  color: #fff;
  display: grid;
  place-items: center;
}

/* The conversation plays out: visitor asks, SMMart "types", then answers. */
.sm-404-step-1, .sm-404-step-3, .sm-404-step-4, .sm-404-step-5 { opacity: 0; animation: sm-404-in .4s ease forwards; }
.sm-404-step-1 { animation-delay: .3s; }
.sm-404-step-2 { opacity: 0; animation: sm-404-typing 1.3s ease .9s forwards; }
.sm-404-step-3 { animation-delay: 2.2s; }
.sm-404-step-4 { animation-delay: 3s; }
.sm-404-step-5 { animation-delay: 3.6s; }
@keyframes sm-404-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sm-404-typing {
  0% { opacity: 0; max-height: 50px; }
  10% { opacity: 1; }
  85% { opacity: 1; max-height: 50px; padding: 14px 16px; border-width: 1px; margin: 0; }
  100% { opacity: 0; max-height: 0; padding: 0 16px; border-width: 0; margin: -5px 0; }
}
@keyframes sm-404-dot { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .sm-404-step-1, .sm-404-step-3, .sm-404-step-4, .sm-404-step-5 { opacity: 1; animation: none; }
  .sm-404-step-2 { display: none; }
  .sm-404-chat { transform: none; }
}
@media (max-width: 860px) {
  .sm-404 { padding: 56px 20px 72px; }
  .sm-404-inner { grid-template-columns: 1fr; gap: 40px; }
  .sm-404-code { margin-bottom: 18px; }
  .sm-404-chat { transform: none; }
  .sm-404-thread { min-height: 0; }
}
