/* ==========================================================================
   Vivid Mart — Design System
   Direction: Clean corporate. A light reading ground, navy structure, and a
   single blue accent. One typeface (Inter) set at several weights.
   House rules: no gradients, no glass/backdrop-blur, no glows, flat surfaces
   on hairline borders, no 3D text, no tiny uppercase chips, no shadow at rest.
   ========================================================================== */

:root{
  /* --- surfaces --- */
  --ink:        #001F52;   /* brand navy — bands, sidebar, solid buttons */
  --ink-2:      #062E6B;
  --ink-3:      #0C3C86;
  --paper:      #F6F7F9;
  --paper-2:    #EDF0F4;
  --white:      #FFFFFF;

  /* --- lines --- */
  --line:       #E2E6EC;
  --line-ink:   rgba(255,255,255,.14);

  /* --- text --- */
  --text:       #101828;
  --text-2:     #475467;
  --text-3:     #8A93A3;
  --on-ink:     #FFFFFF;
  --on-ink-2:   rgba(255,255,255,.72);

  /* --- one blue accent --- */
  --accent:     #1D4D93;
  --accent-ink: #143C77;
  --accent-soft:rgba(29,77,147,.09);
  --brand-navy: #001F52;
  --brand-blue: #1D4D93;
  --brand-gold: #F4BE1D;
  --brand-pink: #E11D63;
  --brand-glow: rgba(29,77,147,.16);

  /* --- semantic (states only, never decorative) --- */
  --ok:      #0E9F6E;  --ok-bg:     #E4F5EE;
  --warn:    #A9630C;  --warn-bg:   #FAF0DF;
  --danger:  #D92D20;  --danger-bg: #FCEBE9;

  /* --- geometry --- */
  --r-btn:  6px;
  --r:      8px;
  --r-lg:   12px;

  /* --- type --- */
  --font-display:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ui:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* --- rhythm --- */
  --shell: 1320px;
}

/* ==========================================================================
   BASE
   ========================================================================== */

body{
  font-family: var(--font-ui);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--paper);
}

h1,h2,h3,h4,.display{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
h1{ font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2{ font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3{ font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4{ font-size: 1.35rem; font-weight: 600; }

p{ margin: 0 0 1rem; }
a{ color: var(--accent); }
a:hover{ color: var(--accent-ink); }
.text-muted{ color: var(--text-2) !important; }

.lead-line{
  max-width: 62ch;
  color: var(--text-2);
  font-size: 1.06rem;
  line-height: 1.75;
}
.on-ink .lead-line{ color: var(--on-ink-2); }

/* eyebrow — set in Inter, sentence case, never a tracked uppercase chip */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 2px;
  background: var(--accent);
}

/* ==========================================================================
   INK GROUND
   ========================================================================== */

.on-ink{ background: var(--ink); color: var(--on-ink); }
.on-ink h1,.on-ink h2,.on-ink h3,.on-ink h4,.on-ink .display{ color: var(--on-ink); }
.on-ink p{ color: var(--on-ink-2); }
.on-ink a{ color: var(--on-ink); }
.on-ink .eyebrow,
.cta-band .eyebrow{ color: #9DBBF0; }
.on-ink .eyebrow::before,
.cta-band .eyebrow::before{ background: #9DBBF0; }

.shell{
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 28px;
}
@media (max-width: 575.98px){ .shell{ padding-inline: 20px; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn{
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .005em;
  border-radius: var(--r-btn);
  padding: 12px 22px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  box-shadow: none !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:focus, .btn:active:focus{ box-shadow: 0 0 0 3px var(--accent-soft) !important; outline: none; }
.btn-lg{ font-size: .96rem; padding: 15px 30px; min-height: 54px; }
.btn-sm{ font-size: .8rem; padding: 8px 15px; min-height: 38px; }

.btn-primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus{
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}
.btn-primary:disabled, .btn-primary.disabled{
  background: #B9BACC; border-color:#B9BACC; color:#fff;
}

.btn-ink{ background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn-ink:hover{ background: var(--ink-3); border-color: var(--ink-3); color:#fff; }

.btn-accent{ background: var(--accent); border-color: var(--accent); color:#fff; }
.btn-accent:hover{ background: var(--accent-ink); border-color: var(--accent-ink); color:#fff; }

.btn-outline-primary{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline-primary:hover{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}

.btn-outline-light{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline-light:hover{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
}
.on-ink .btn-outline-light,
.cta-band .btn-outline-light{
  border-color: rgba(255,255,255,.40);
  color: var(--on-ink);
}
.on-ink .btn-outline-light:hover,
.cta-band .btn-outline-light:hover{
  background: var(--on-ink);
  border-color: var(--on-ink);
  color: var(--ink);
}

.btn-success{ background: var(--ok); border-color: var(--ok); color:#fff; }
.btn-success:hover{ background:#0B8460; border-color:#0B8460; color:#fff; }
.btn-danger{ background: var(--danger); border-color: var(--danger); color:#fff; }
.btn-danger:hover{ background:#B8241A; border-color:#B8241A; color:#fff; }
.btn-secondary{ background: var(--paper-2); border-color: var(--paper-2); color: var(--text-2); }
.btn-link{ color: var(--ink); text-decoration: none; font-weight: 600; padding-inline: 8px; }
.btn-link:hover{ color: var(--accent); text-decoration: none; }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-control, .custom-select, select.form-control, textarea.form-control{
  font-family: var(--font-ui);
  font-size: .93rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 11px 14px;
  min-height: 46px;
  box-shadow: none !important;
  transition: border-color .16s ease;
}
.form-control::placeholder{ color: var(--text-3); }
.form-control:focus, .custom-select:focus{
  border-color: var(--ink);
  background: #fff;
}
.form-control:disabled, .form-control[readonly]{ background: var(--paper); color: var(--text-3); }
label{ font-size: .84rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-text, small.text-muted{ color: var(--text-3) !important; }
.input-group-text{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-btn); color: var(--text-2); }

/* ==========================================================================
   BADGES + STATE PILLS
   ========================================================================== */

.badge{
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: 0;
  border-radius: 999px;
  padding: 5px 12px;
}
.badge-pill{ border-radius: 999px; }
.state{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
}
.state::before{ content:""; width:5px; height:5px; border-radius:50%; background: currentColor; }
.state-ok{ background: var(--ok-bg); color: var(--ok); }
.state-warn{ background: var(--warn-bg); color: var(--warn); }
.state-danger{ background: var(--danger-bg); color: var(--danger); }
.state-neutral{ background: var(--paper-2); color: var(--text-2); }
.state-accent{ background: var(--accent-soft); color: var(--accent-ink); }

.pill{
  display:inline-flex; align-items:center; gap:7px;
  border:1px solid var(--line); border-radius:999px;
  padding:6px 14px; font-size:.82rem; font-weight:600; color: var(--text-2);
  background:#fff;
}

/* 4px left accent edge — the only "row colour" device */
.edge-ok{ border-left: 4px solid var(--ok) !important; }
.edge-danger{ border-left: 4px solid var(--danger) !important; }
.edge-warn{ border-left: 4px solid var(--warn) !important; }
.edge-accent{ border-left: 4px solid var(--accent) !important; }
.edge-ink{ border-left: 4px solid var(--ink) !important; }

/* ==========================================================================
   PUBLIC — HEADER (light bar)
   ========================================================================== */

.navbar-public{
  background: var(--white);
  border-bottom: 1px solid var(--line);
  height: 74px;
  padding: 0;
  box-shadow: none;
  position: relative;
  top: 0;
  z-index: 1030;
}
.navbar-public .shell{ display:flex; align-items:center; gap: 16px; height: 74px; }

.brand-mark{
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 14px;
}
.brand-mark-logo{
  height: 44px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}
.brand-mark-inline{
  display:block;
  height: 44px;
  line-height: 0;
}
.brand-mark-inline svg{
  display:block;
  height: 100%;
  width: auto;
}
.brand-mark:hover{ color: var(--ink); }

.nav-public{ display:flex; align-items: center; gap: 4px; margin: 0; list-style: none; padding: 0; }
.nav-public > li > a, .nav-public .nav-link{
  display: inline-flex; align-items: center;
  height: 74px; padding: 0 14px;
  font-size: .92rem; font-weight: 500;
  color: var(--text-2) !important;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav-public > li > a:hover, .nav-public .nav-link:hover{
  color: var(--ink) !important;
}
.nav-public > li > a.active, .nav-public .nav-link.active{
  color: var(--ink) !important;
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.nav-public .dropdown-menu{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px;
  margin-top: 0;
  box-shadow: 0 12px 28px rgba(16,24,40,.10);
}
.nav-public .dropdown-item{
  color: var(--text-2);
  font-size: .88rem;
  border-radius: 4px;
  padding: 9px 12px;
}
.nav-public .dropdown-item:hover, .nav-public .dropdown-item:focus{ background: var(--paper); color: var(--ink); }

/* header search */
.search-form{ flex: 1 1 360px; max-width: 400px; margin-left: auto; }
.search-shell{
  width: 100%;
  display:flex;
  align-items:center;
  gap: 12px;
  min-height: 46px;
  padding: 4px 4px 4px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.search-shell-icon{
  color: var(--text-3);
  font-size: .92rem;
  flex: 0 0 auto;
}
.search-form .form-control{
  background: transparent;
  border: none;
  color: var(--text);
  border-radius: 0;
  min-height: 38px;
  padding: 0;
  font-size: .88rem;
  box-shadow: none !important;
}
.search-form .form-control::placeholder{ color: var(--text-3); }
.search-form .form-control:focus{ background: transparent; color: var(--text); }
.search-form .btn{
  border-radius: 6px;
  min-height: 38px; height: 38px; padding: 0 18px;
  font-size: .8rem !important;
}

.hdr-icon{
  position: relative;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.hdr-icon:hover{ color: var(--ink); background: var(--paper); border-color: var(--text-3); }
.cart-count-badge{
  position: absolute; top: 5px; right: 3px;
  background: var(--accent); color: #fff;
  font-size: .66rem; font-weight: 700;
  border-radius: 999px;
  min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--white);
}
.hdr-right{
  margin-left: auto;
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
}
.navbar-public .btn-outline-primary,
.navbar-public .btn-primary{
  min-height: 44px;
  padding: 0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: .86rem;
  font-weight: 600;
}
.navbar-public .btn-outline-primary{
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  background: var(--white) !important;
}
.navbar-public .btn-outline-primary:hover{
  background: var(--paper) !important;
  border-color: var(--text-3) !important;
  color: var(--ink) !important;
}
.navbar-public .btn-primary:not(.btn-outline-primary){
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
.navbar-public .btn-primary:not(.btn-outline-primary):hover{
  background: var(--accent-ink) !important;
  border-color: var(--accent-ink) !important;
}
.header-auth-btn{ min-width: 98px; }
.header-cta-btn{ min-width: 138px; }

.nav-toggle{
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-btn);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* mobile drawer */
.offcanvas-vd{ background: var(--ink); color: var(--on-ink); }
.offcanvas-vd .offcanvas-header{ border-bottom: 1px solid var(--line-ink); padding: 20px 22px; }
.offcanvas-vd .offcanvas-title{ font-family: var(--font-display); font-size: 1.5rem; color: var(--on-ink); }
.drawer-logo{ height: 40px; width: auto; max-width: 200px; object-fit: contain; display:block; }
.drawer-logo-inline{
  display:block;
  height: 40px;
  line-height: 0;
}
.drawer-logo-inline svg{
  height: 100%;
  width: auto;
  display:block;
}
.offcanvas-vd .nav-link{
  color: var(--on-ink-2);
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .95rem;
}
.offcanvas-vd .nav-link:hover{ color: var(--on-ink); background: var(--ink-2); }

/* ==========================================================================
   PUBLIC — HERO
   ========================================================================== */

.hero{
  position: relative;
  background: var(--white);
  color: var(--text);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.hero .shell{ position: relative; z-index: 2; padding-block: 84px; }
.hero h1{
  color: var(--ink);
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  max-width: 20ch;
  margin-bottom: 22px;
}
.title-3d{ display:inline-block; color: var(--accent); }
.hero p{ max-width: 56ch; color: var(--text-2); font-size: 1.06rem; margin-bottom: 32px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; }
.hero-inline-specs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 22px;
}
.hero-inline-specs span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-2);
  font-size: .78rem;
  font-weight: 600;
}
.hero-inline-specs i{ color: var(--accent); }
.hero-glass-card{
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: var(--r-lg);
  padding: 28px;
  color: var(--text);
}
.hero-glass-card h4{
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.card-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:0;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero-glass-card p{ color: var(--text-2); font-size: .94rem; margin-bottom: 16px; }
.hero-cap-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-cap-item{
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r);
  padding: 14px 15px;
}
.hero-cap-item strong{
  display:block;
  color:var(--ink);
  font-size:.88rem;
  font-weight:700;
  margin-bottom: 4px;
}
.hero-cap-item span{
  display:block;
  color: var(--text-2);
  font-size:.82rem;
  line-height:1.55;
}
.hero-proof-list{
  display:grid;
  gap: 12px;
}
.hero-proof-list.compact{ gap: 0; }
.hero-proof-item{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.hero-proof-item:first-child{ border-top: none; padding-top: 0; }
.hero-proof-item i{ color: var(--accent); margin-top: 2px; }
.hero-proof-item span{ color: var(--text-2); font-size: .9rem; }

/* hero carousel dots — minimal bars */
.hero-dots{ position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; margin: 0; padding: 0; }
.hero-dots [data-bs-target], .hero-dots button{
  width: 34px !important; height: 2px !important;
  border-radius: 0 !important;
  background: var(--line) !important;
  border: none !important;
  margin: 0 4px !important;
  opacity: 1 !important;
  text-indent: -9999px;
}
.hero-dots .active{ background: var(--accent) !important; }
.hero .carousel-control-prev, .hero .carousel-control-next{ opacity: .5; z-index: 4; }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover{ opacity: 1; }

/* --- Photo hero (homepage) ------------------------------------------------ */
.hero-photo{
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: none;
  min-height: 604px;
  isolation: isolate;
}
.hero-photo .hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-photo .hero-media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}
.hero-photo::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(0,22,58,.97) 0%,
    rgba(0,26,66,.93) 36%,
    rgba(0,31,82,.66) 70%,
    rgba(0,31,82,.42) 100%);
}
.hero-photo .shell{ z-index: 2; padding-block: 108px; }
.hero-photo h1{ color: #fff; max-width: 17ch; }
.hero-photo p{ color: rgba(255,255,255,.84); }
.hero-photo .eyebrow{ color: #9DBBF0; }
.hero-photo .eyebrow::before{ background: #9DBBF0; }
.hero-photo .hero-inline-specs span{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.20);
  color: rgba(255,255,255,.88);
}
.hero-photo .hero-inline-specs i{ color: #9DBBF0; }
.hero-photo .btn-outline-light{
  border-color: rgba(255,255,255,.42);
  color: var(--on-ink);
}
.hero-photo .btn-outline-light:hover{
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.hero-photo .hero-glass-card{
  background: rgba(7,26,58,.66);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);
}
.hero-photo .hero-glass-card h4{ color: #fff; }
.hero-photo .hero-glass-card p{ color: rgba(255,255,255,.74); }
.hero-photo .card-kicker{ color: #9DBBF0; }
.hero-photo .hero-cap-item{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}
.hero-photo .hero-cap-item strong{ color: #fff; }
.hero-photo .hero-cap-item span{ color: rgba(255,255,255,.70); }
.hero-photo .hero-proof-item{ border-top-color: rgba(255,255,255,.14); }
.hero-photo .hero-proof-item i{ color: #9DBBF0; }
.hero-photo .hero-proof-item span{ color: rgba(255,255,255,.76); }

@media (max-width: 991.98px){
  .hero-photo{ min-height: 0; }
  .hero-photo .shell{ padding-block: 74px; }
  .hero-photo::after{
    background: linear-gradient(180deg, rgba(0,22,58,.93) 0%, rgba(0,26,66,.97) 100%);
  }
  .hero-photo h1{ max-width: none; }
}

/* ==========================================================================
   PUBLIC — SECTIONS
   ========================================================================== */

.section{ padding-block: 78px; }
.section-tight{ padding-block: 56px; }
.section-paper{ background: var(--paper); }
.section-white{ background: var(--white); }

.section + .section,
.section + .section-tight,
.section-tight + .section{
  border-top: 1px solid var(--line);
}

.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.section-head h2{ max-width: 22ch; }
.section-head .lead-line{ margin-top: 12px; margin-bottom: 0; }
.section-head-featured{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .85fr);
  align-items:end;
  gap: 30px;
}
.section-head-featured-aside{
  display:grid;
  gap: 16px;
  justify-items:end;
}
/* No promo image: collapse the phantom aside column so the copy owns the row. */
.section-head-featured.is-copy-only{
  display: block;
}
.page-home .section-head-featured.is-copy-only h2{ max-width: 20ch; }
.section-head-featured.is-copy-only .lead-line{ max-width: 66ch; }
.section-head-featured.is-copy-only .section-head-featured-aside{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-items: start;
  margin-top: 22px;
}
.page-home .builder-section-spacing{
  padding-top: var(--section-pt, 64px);
  padding-bottom: var(--section-pb, 64px);
}
.featured-promo-figure{
  width: min(100%, 360px);
  margin: 0;
  position: relative;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.featured-promo-image{
  display:block;
  width:100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: var(--r-lg);
}
.featured-promo-figure.promo-size-sm{ width: min(100%, 260px); }
.featured-promo-figure.promo-size-md{ width: min(100%, 360px); }
.featured-promo-figure.promo-size-lg{ width: min(100%, 430px); }
.featured-promo-figure.promo-style-floating{
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.featured-promo-figure.promo-style-glass{
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.featured-catalogue-cta{
  min-width: 220px;
}
.storefront-lead{
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 36px;
  align-items:end;
  margin-bottom: 48px;
}
.storefront-lead h2{ max-width: 16ch; }

.page-home{
  background: transparent;
  color: var(--text);
}
.page-home .section,
.page-home .section-tight{
  position: relative;
}
.page-home .section{
  padding-block: 68px;
}
.page-home .section-tight{
  padding-block: 48px;
}
.page-home .section + .section,
.page-home .section + .section-tight,
.page-home .section-tight + .section{
  border-top: 1px solid var(--line);
}
.page-home .home-showcase{
  padding-top: 66px;
  padding-bottom: 50px;
}
.page-home .home-featured{
  padding-top: 56px;
  padding-bottom: 66px;
}
.page-home .home-categories{
  padding-top: 62px;
  padding-bottom: 62px;
}
.page-home .home-workflow{
  padding-top: 60px;
  padding-bottom: 62px;
}
.page-home .home-industries{
  padding-top: 62px;
  padding-bottom: 66px;
}
.page-home .home-cta{
  padding-top: 26px;
  padding-bottom: 40px;
}
.page-home .section-head{
  margin-bottom: 30px;
}
.page-home .home-featured h2,
.page-home .home-featured .catalogue-fallback-copy h3{
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.page-home .home-featured h2{
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  max-width: 12ch;
}
.page-home .builder-heading-md{
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.page-home .builder-heading-lg{
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(1.95rem, 3.4vw, 2.7rem) !important;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.page-home .builder-heading-xl{
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.page-home .builder-heading-display{
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem) !important;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.page-home .home-featured .catalogue-fallback-copy h3{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 12ch;
}
.page-home .section h2,
.page-home .section h3,
.page-home .section h4{
  color: var(--ink);
}
.page-home .home-categories .section-head h2,
.page-home .home-workflow h2,
.page-home .home-industries h2{
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.page-home .home-categories .section-head h2{
  max-width: 14ch;
}
.page-home .home-workflow h2{
  max-width: 10ch;
}
.page-home .home-industries h2{
  max-width: 14ch;
}
.page-home .text-muted{
  color: var(--text-2) !important;
}
.page-home .lead-line,
.page-home .section p{
  color: var(--text-2);
}
.page-home .feature-row{
  border-bottom-color: var(--line);
}
.page-home .feature-row p{
  color: var(--text-2);
  font-size: .97rem;
}
.page-home .home-featured .catalogue-fallback{
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.page-home .home-featured .catalogue-fallback-copy{
  gap: 20px;
  margin-bottom: 22px;
}
.page-home .home-featured .catalogue-fallback-copy h3{
  max-width: 11ch;
}
.page-home .home-workflow .feature-list{
  border-top: 0;
  padding: 4px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.page-home .home-workflow .feature-row h4{
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
}
.page-home .home-industries .proof-panel{
  display: grid;
  padding: 6px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.proof-panel-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.proof-panel-item:first-child{ border-top: 0; }
.proof-panel-icon{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1rem;
}
.proof-panel-item strong{
  display: block;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.proof-panel-item p{
  margin: 0;
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.55;
}
.page-home .home-cta .cta-band{
  background: var(--ink);
  border: 0;
}
.showcase-band{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .9fr);
  gap: 26px;
  padding: 34px;
  border-radius: var(--r-lg);
  border: 0;
  background: var(--ink);
  overflow: hidden;
}
.showcase-band-copy{
  min-width: 0;
  padding: 8px 2px 8px 0;
}
.showcase-band-copy .eyebrow,
.showcase-band-copy .eyebrow::before{
  color: #D8E3FF;
  background-color: var(--brand-blue);
}
.showcase-band-copy h2{
  color: var(--on-ink);
  max-width: 14ch;
  margin-bottom: 18px;
}
.showcase-band-copy .lead-line{
  color: var(--on-ink-2);
  max-width: 56ch;
}
.showcase-band-pills{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 28px;
}
.showcase-band-pills span{
  display:inline-flex;
  align-items:center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--line-ink);
  background: transparent;
  color: var(--on-ink-2);
  font-size: .8rem;
  font-weight: 600;
}
.showcase-band-stack{
  display:grid;
  gap: 14px;
}
.showcase-stack-card{
  padding: 20px 20px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-ink);
  background: rgba(255,255,255,.04);
}
.showcase-stack-card strong{
  display:block;
  color: var(--on-ink);
  font-size:1rem;
  font-weight:700;
  margin-bottom:8px;
}
.showcase-stack-card p{
  color: var(--on-ink-2);
  font-size:.9rem;
  line-height:1.68;
  margin-bottom: 14px;
}
.showcase-stack-card .service-link{
  color: #9DBBF0;
}

.showcase-stack-card .service-link:hover{
  color: #fff;
}

/* inner-page masthead */
.page-head{
  background: var(--ink);
  color: var(--on-ink);
  padding: 54px 0 50px;
  border-bottom: 0;
}
.page-head h1{
  color: var(--on-ink);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-bottom: 10px;
  max-width: 13ch;
}
.page-head p{ color: var(--on-ink-2); margin: 0; max-width: 56ch; }
.page-head .crumbs{ padding: 0 0 12px; color: rgba(255,255,255,.45); }
.page-head .crumbs a{ color: rgba(255,255,255,.70); }
.page-head .crumbs a:hover{ color: #fff; }
.page-head .crumbs span{ color: rgba(255,255,255,.30); }
.page-head + .section{ padding-top: 42px; }

/* ==========================================================================
   PUBLIC — PRODUCT CARD
   ========================================================================== */

.product-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.product-card:hover{
  border-color: var(--accent);
  transform: translateY(-3px);
}
.product-card .img-wrap{
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  overflow: hidden;
}
.product-card .img-wrap img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .img-wrap img{ transform: scale(1.035); }
.product-card .body{ padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat{
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}
.product-name{
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
  min-height: 2.6em;
}
.product-price{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.product-card .mt-auto{ margin-top: auto; }

/* flat category tiles */
.cat-tile{
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  color: var(--ink);
  text-decoration: none;
  height: 100%;
  background: var(--white);
  transition: border-color .22s ease, transform .22s ease;
}
.cat-tile h3{ margin-bottom: 12px; }
.cat-tile h3{
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}
.cat-tile p{ color: var(--text-2); font-size: .97rem; line-height: 1.72; margin-bottom: 20px; min-height: 3em; }
.cat-tile .go{ display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 700; color: var(--accent); }
.cat-tile:hover{ border-color: var(--accent); transform: translateY(-4px); }
.cat-tile:hover h3{ color: var(--ink); }
.cat-tile:hover .go{ color: var(--accent-ink); }

.service-panel{
  height:100%;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  background: var(--white);
}
.service-panel-dark{
  background: var(--ink);
  border-color: var(--ink);
}
.service-panel-kicker{
  font-size:.82rem;
  font-weight:700;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-panel-dark .service-panel-kicker{ color: var(--brand-gold); }
.service-panel h3{
  font-size: 1.6rem;
  margin-bottom: 14px;
  max-width: 10ch;
}
.service-panel p{
  color: var(--text-2);
  font-size:.96rem;
  line-height:1.75;
  margin-bottom: 24px;
  max-width: 34ch;
}
.service-panel-dark h3{ color: var(--on-ink); }
.service-panel-dark p{ color: var(--on-ink-2); }
.service-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.9rem;
  font-weight:700;
  color: var(--accent);
  text-decoration:none;
}
.service-panel-dark .service-link{ color: var(--brand-gold); }
.service-link:hover{ color: var(--accent-ink); }
.service-panel-dark .service-link:hover{ color: #fff; }
.catalogue-fallback{
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  background: var(--white);
}
.catalogue-fallback-copy{
  display:grid;
  grid-template-columns: 1fr minmax(280px, 1fr);
  gap: 26px;
  align-items:end;
  margin-bottom: 28px;
}
.catalogue-fallback-copy h3{ max-width: 12ch; }
.catalogue-fallback-copy p{
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.72;
  margin: 0;
}
.catalogue-fallback-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.catalogue-fallback-card{
  display:block;
  text-decoration:none;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 22px 20px;
  background: var(--paper);
  color: var(--ink);
  transition: transform .18s ease, border-color .18s ease;
}
.catalogue-fallback-card strong{
  display:block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.catalogue-fallback-card span{
  display:block;
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.65;
}
.catalogue-fallback-card:hover{
  transform: translateY(-3px);
  border-color: var(--accent);
}

/* ==========================================================================
   PUBLIC — FOOTER
   ========================================================================== */

.footer{
  background: var(--ink);
  color: var(--on-ink-2);
  padding-top: 80px;
  padding-bottom: 26px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}
.footer .shell{
  position: relative;
  z-index: 1;
}
.footer-wordmark{
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -40px;
  font-family: var(--font-ui);
  font-size: clamp(4.2rem, 15vw, 10rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.07em;
  color: rgba(255,255,255,.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.footer-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding-bottom: 30px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line-ink);
}
.footer-topline p{
  margin: 0;
  color: var(--on-ink-2);
  font-size: .96rem;
}
.footer-topline a{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 0;
  color: #9DBBF0;
  font-weight: 600;
}
.footer-topline a:hover{
  color: #fff;
}
.footer h5{
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 600;
  color: var(--on-ink);
  margin-bottom: 22px;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}
.footer a{
  color: var(--on-ink-2);
  text-decoration: none;
  display: block;
  padding: 7px 0;
  font-size: .92rem;
  transition: color .16s ease;
  position: relative;
  z-index: 1;
}
.footer a:hover{ color: var(--on-ink); }
.footer-brand-wrap{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.footer-logo{
  height: 44px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display:block;
}
.footer-kicker{
  font-size: .78rem;
  font-weight: 600;
  color: #9DBBF0;
  margin-bottom: 6px;
}
.footer .footer-brand{
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--on-ink);
  letter-spacing: -.02em;
  margin-bottom: 0;
}
.footer-lead{
  max-width: 44ch;
  color: var(--on-ink-2);
  font-size: .98rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.footer-mini-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}
.footer-mini-card{
  border: 1px solid var(--line-ink);
  background: rgba(255,255,255,.04);
  border-radius: var(--r-lg);
  padding: 14px 16px;
}
.footer-mini-card span{
  display:block;
  font-size: .78rem;
  color: #9DBBF0;
  margin-bottom: 6px;
}
.footer-mini-card strong{
  color: var(--on-ink);
  font-size: .92rem;
  font-weight: 600;
}
.footer .social-row{ display: flex; gap: 8px; margin-top: 4px; }
.footer .social-icon{
  width: 40px; height: 40px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-btn);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--on-ink-2);
  transition: all .18s ease;
}
.footer .social-icon:hover{ background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-contact-card{
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-ink);
  background: rgba(255,255,255,.05);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  max-width: 360px;
  margin-left: auto;
}
.footer-contact-card p{ color: var(--on-ink-2); font-size: .92rem; }
.footer-card-kicker{
  font-size: .78rem;
  color: #9DBBF0;
  margin-bottom: 10px;
}
.footer-contact-list{
  display:grid;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-contact-list a{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding: 0;
  color: var(--on-ink);
}
.footer-contact-list a i{
  color: var(--brand-gold);
  margin-top: 4px;
  width: 16px;
}
.footer-contact-list a span{ line-height: 1.55; }
.footer-bottom{
  border-top: 1px solid var(--line-ink);
  padding: 26px 0;
  margin-top: 52px;
  font-size: .86rem;
  color: var(--on-ink-2);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
[data-drift]{
  will-change: transform;
  transform: translate3d(0,0,0);
}
@media (prefers-reduced-motion: reduce){
  [data-drift]{
    transform: none !important;
  }
}

/* ==========================================================================
   PUBLIC — SUMMARY / UTILITY BLOCKS
   ========================================================================== */

.stat-row{ border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); }
.stat-cell{ padding: 28px 26px; border-right: 1px solid var(--line); }
.stat-cell:last-child{ border-right: none; }
.stat-num{ font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.stat-label{ font-size: .86rem; color: var(--text-2); margin-top: 6px; }
@media (max-width: 767.98px){
  .stat-row{ grid-template-columns: repeat(2,1fr); }
  .stat-cell{ border-bottom: 1px solid var(--line); }
}

.feature-list{ border-top: 1px solid var(--line); }
.feature-row{
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row h4{ font-family: var(--font-ui); font-size: 1rem; font-weight: 600; }
.feature-row p{ margin: 0; color: var(--text-2); font-size: .94rem; }
@media (max-width: 575.98px){ .feature-row{ grid-template-columns: 1fr; gap: 8px; } }

.cta-band{
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-lg);
  padding: 56px 48px;
}
.cta-band h3{ color: var(--on-ink); }
.site-main{ position: relative; z-index: 1; }
[data-reveal]{
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .75s cubic-bezier(.2,.7,.2,1),
    transform .75s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
.cart-cta{
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}
.cart-cta.is-adding{
  animation: cartButtonBump .65s cubic-bezier(.2,.7,.2,1);
}
.badge-bump{
  animation: badgeBump .7s cubic-bezier(.2,.7,.2,1);
}
@keyframes cartButtonBump{
  0%{ transform: scale(1); }
  35%{ transform: scale(1.04); }
  70%{ transform: scale(.98); }
  100%{ transform: scale(1); }
}
@keyframes badgeBump{
  0%{ transform: scale(1); }
  40%{ transform: scale(1.18); }
  100%{ transform: scale(1); }
}
.mobile-bottom-nav{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(16,24,40,.10);
  z-index: 1035;
}
.mobile-bottom-nav a,
.mobile-bottom-nav button{
  position: relative;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text-2);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  min-height: 56px;
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 600;
}
.mobile-bottom-nav a i,
.mobile-bottom-nav button i{
  font-size: 1rem;
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav button:hover{
  background: var(--accent-soft);
  color: var(--accent);
}
.mobile-cart-badge{
  position: absolute;
  top: 5px;
  right: calc(50% - 18px);
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  background: var(--brand-gold);
  color: var(--ink);
  font-size: .62rem;
  font-weight: 800;
}

/* ==========================================================================
   NOTES / ALERTS (public floating + inline)
   ========================================================================== */

.alert-float{ position: fixed; top: 96px; right: 22px; z-index: 9999; max-width: 400px; }
.alert{
  border: none !important;
  border-left: 4px solid var(--ink) !important;
  border-radius: var(--r-btn) !important;
  background: #fff !important;
  color: var(--text) !important;
  box-shadow: 0 10px 34px rgba(10,11,13,.14);
  padding: 14px 16px !important;
  font-size: .9rem;
}
.alert-success{ border-left-color: var(--ok) !important; }
.alert-danger{ border-left-color: var(--danger) !important; }
.alert-warning{ border-left-color: var(--warn) !important; }
.alert-info{ border-left-color: var(--accent) !important; }

/* ==========================================================================
   PUBLIC — COMMERCE (breadcrumb, cards, order summary, steps)
   ========================================================================== */

.crumbs{ padding: 22px 0 6px; font-size: .84rem; color: var(--text-3); }
.crumbs a{ color: var(--text-3); text-decoration: none; }
.crumbs a:hover{ color: var(--accent); }
.crumbs span{ padding: 0 8px; color: var(--line); }

.panel{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px;
}
.panel-head{
  font-family: var(--font-ui);
  font-size: .9rem; font-weight: 600;
  color: var(--ink);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel-muted{ background: var(--paper); border-color: var(--line); }

/* ==========================================================================
   PUBLIC — PROSE (static pages, policy copy)
   ========================================================================== */

.prose-content{ color: var(--text-2); font-size: 1rem; line-height: 1.8; }
.prose-content > *:first-child{ margin-top: 0; }
.prose-content > *:last-child{ margin-bottom: 0; }
.prose-content h2{
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 36px 0 12px;
}
.prose-content h3{
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 26px 0 8px;
}
.prose-content p{ margin: 0 0 16px; max-width: 74ch; }
.prose-content ul,
.prose-content ol{ margin: 0 0 18px; padding-left: 22px; max-width: 74ch; }
.prose-content li{ margin-bottom: 8px; }
.prose-content li::marker{ color: var(--accent); }
.prose-content strong{ color: var(--text); font-weight: 600; }
.prose-content a{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(29,77,147,.28);
}
.prose-content a:hover{ color: var(--accent-ink); border-bottom-color: var(--accent-ink); }
.prose-content hr{ border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose-content blockquote{
  margin: 0 0 18px;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-weight: 500;
}

.shop-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: -6px;
}
.shop-chip{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
}
.shop-chip i{ color: var(--accent); }
.shop-empty{
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 42px 32px;
  background: var(--white);
  text-align:center;
}
.shop-empty-copy h3{
  margin-bottom: 12px;
}
.shop-empty-copy p{
  color: var(--text-2);
  max-width: 42ch;
  margin: 0 auto 24px;
}
.shop-empty-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 12px;
}
.shop-empty-link{
  display:inline-flex;
  align-items:center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--r-btn);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration:none;
  font-size: .85rem;
  font-weight: 600;
}
.shop-empty-link:hover{ color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   PREMIUM LAYER — flat surfaces, no gradients or glass
   ========================================================================== */

.skip-link{
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 1300;
  padding: 12px 16px;
  border-radius: var(--r-btn);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform .18s ease;
}

.skip-link:focus{
  transform: translateY(0);
  color: #fff;
}

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn,
.form-control,
.custom-select,
select.form-control,
.form-select{
  border-radius: var(--r-btn) !important;
}

.glass-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.premium-hero-copy{
  max-width: 58ch;
}

.premium-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--r-btn);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: .78rem;
  font-weight: 600;
}

.account-shell{
  padding-block: 42px 84px;
}

.account-hero{
  margin-bottom: 24px;
}

.account-hero .panel{
  padding: 28px 30px;
}

.account-nav-shell{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.account-nav-link{
  display:flex;
  align-items:center;
  gap:14px;
  min-height: 54px;
  padding: 0 18px;
  color: var(--text-2);
  text-decoration:none;
  border-left: 3px solid transparent;
  font-size: .92rem;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.account-nav-link i{
  width: 18px;
  color: var(--accent);
}

.account-nav-link + .account-nav-link{
  border-top: 1px solid var(--line);
}

.account-nav-link:hover{
  background: var(--paper);
  color: var(--ink);
}

.account-nav-link.active{
  background: var(--accent-soft);
  color: var(--ink);
  border-left-color: var(--accent);
}

.account-support-shell{
  padding: 24px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--on-ink);
}

.account-support-shell h6,
.account-support-shell p{
  color: inherit;
}

.auth-split{
  background: var(--paper);
}

.auth-aside{
  position: relative;
  overflow: hidden;
}

.auth-card-premium{
  width:100%;
  max-width: 460px;
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.auth-brand-logo{
  height: 44px;
  width: auto;
  max-width: 220px;
  display:block;
  object-fit: contain;
}

.premium-split-card{
  padding: 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
}

.product-gallery-panel{
  padding: 18px;
}

.product-main-image{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--r-lg);
  background: var(--paper-2);
}

.product-meta-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.product-meta-card{
  padding: 16px 15px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
}

.product-meta-card strong{
  display:block;
  color: var(--ink);
  font-size: .9rem;
  margin-bottom: 4px;
}

.product-meta-card span{
  display:block;
  color: var(--text-2);
  font-size: .82rem;
  line-height: 1.55;
}

.checkout-shell .panel,
.cart-shell .panel{
  padding: 28px 26px;
}

.cart-item-row{
  padding: 18px 18px;
}

.cart-item-image{
  width: 88px;
  height: 88px;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: var(--paper-2);
}

.summary-sticky{
  position: sticky;
  top: 96px;
}

.premium-empty{
  padding: 42px 34px;
  border-radius: var(--r-lg);
  text-align: center;
  border: 1px solid var(--line);
  background: var(--white);
}

.admin-glass-topbar{
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.admin-brand-lockup{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 22px 22px;
}

.admin-brand-lockup img{
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display:block;
}

.admin-brand-note{
  font-size: .74rem;
  color: var(--on-ink-2);
}

.content-card,
.card,
.stat-tile,
.filter-card{
  background: var(--white) !important;
  border-color: var(--line) !important;
}

.sum-row{ display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: .93rem; color: var(--text-2); }
.sum-row.total{
  border-top: 1px solid var(--line);
  margin-top: 12px; padding-top: 18px;
  color: var(--ink); font-weight: 600;
}
.sum-row.total .amt{ font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ink); }

.pay-option{
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex; align-items: flex-start; gap: 12px;
  transition: border-color .18s ease, background-color .18s ease;
}
.pay-option:hover{ border-color: var(--text-3); }
.pay-option.selected{ border-color: var(--ink); background: var(--paper); }

.step-num{
  width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 700; color: var(--text-2);
}
.step-num.on{ background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.qty-input{ width: 92px; }
.thumb-switch{
  width: 68px; height: 68px; border-radius: var(--r-btn);
  overflow: hidden; cursor: pointer;
  border: 1px solid var(--line);
  opacity: .6; transition: opacity .18s ease, border-color .18s ease;
}
.thumb-switch.active, .thumb-switch:hover{ border-color: var(--ink); opacity: 1; }

.table-vd{ width: 100%; border-collapse: collapse; }
.table-vd th{
  text-align: left; font-size: .78rem; font-weight: 600; color: var(--text-3);
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.table-vd td{ padding: 16px 14px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: middle; }
.table-vd tbody tr:hover{ background: var(--paper); }

/* ==========================================================================
   ADMIN — SHELL
   ========================================================================== */

:root{ --sidebar-w: 264px; }

.app-wrap{ display: flex; min-height: 100vh; background: var(--paper); }
.sidebar{
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--ink);
  color: var(--on-ink-2);
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto; z-index: 40;
  box-shadow: none;
  border-right: 1px solid var(--line-ink);
}
.sidebar::-webkit-scrollbar{ width: 6px; }
.sidebar::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.14); border-radius: 6px; }
.sidebar::-webkit-scrollbar-track{ background: transparent; }
.main-wrap{ flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }

.brand{
  display: flex; align-items: center; gap: 12px;
  padding: 22px 22px;
  border-bottom: 1px solid var(--line-ink);
  background: var(--ink);
  position: sticky; top: 0; z-index: 2;
}
.brand-logo{
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: var(--r-btn);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  box-shadow: none;
  line-height: 1;
}
.brand-title{ font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; color: var(--on-ink); letter-spacing: -.015em; line-height: 1.1; }
.brand-sub{ font-size: .7rem; color: var(--on-ink-2); letter-spacing: .01em; }

.topbar{
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 0 30px; gap: 16px;
  box-shadow: none;
  position: sticky; top: 0; z-index: 30;
}
.menu-toggle{
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); background: #fff;
  border-radius: var(--r-btn);
  align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer;
}
.topbar-title{ font-size: .86rem; color: var(--text-3); display: flex; align-items: center; gap: 7px; margin-right: auto; }
.topbar-title b{ color: var(--ink); font-weight: 600; }
.topbar-title .accent{ color: var(--accent); }

.top-user{
  display: flex; align-items: center; gap: 11px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: #fff; cursor: pointer;
  transition: border-color .18s ease;
}
.top-user:hover{ border-color: var(--text-3); }
.top-user-avatar{
  width: 32px; height: 32px;
  background: var(--ink); color: var(--on-ink);
  border-radius: var(--r-btn);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem;
  font-family: var(--font-ui);
}
.top-user-info{ line-height: 1.15; }
.top-user-name{ font-weight: 600; color: var(--ink); font-size: .84rem; }
.top-user-role{ font-size: .72rem; color: var(--text-3); }
.dropdown-menu{
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  box-shadow: 0 14px 40px rgba(10,11,13,.12) !important;
  padding: 8px !important;
}
.dropdown-item{ border-radius: 4px !important; font-size: .86rem; padding: 9px 12px !important; }
.dropdown-item:hover{ background: var(--paper) !important; color: var(--ink) !important; }

.main-content{ padding: 30px 30px 60px; flex: 1; }

/* admin sidebar menu */
.sidebar-menu{ padding: 12px 12px 48px; list-style: none; margin: 0; }
.menu-group{ margin: 1px 0; }
.menu-header, .menu-link{
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--on-ink-2);
  text-decoration: none;
  cursor: pointer; user-select: none;
  font-size: .875rem; line-height: 1.3;
  transition: background .16s ease, color .16s ease;
  position: relative;
}
.menu-header:hover, .menu-link:hover{ background: rgba(255,255,255,.06); color: var(--on-ink); text-decoration: none; }
.menu-link.active{
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.menu-icon{ width: 20px; flex-shrink: 0; text-align: center; font-size: .92rem; opacity: .85; }
.menu-label{ flex: 1; min-width: 0; }
.menu-label strong{ font-weight: 600; }
.menu-chevron{ font-size: .7rem; color: var(--on-ink-2); transition: transform .22s ease; }
.menu-group.open > .menu-header .menu-chevron{ transform: rotate(90deg); color: var(--on-ink); }
.menu-group.open > .menu-header{ background: rgba(255,255,255,.06); color: var(--on-ink); }

.submenu{
  list-style: none; margin: 2px 0 6px 0; padding: 0 0 0 30px;
  overflow: hidden; max-height: 0;
  border-left: 1px solid var(--line-ink);
  margin-left: 22px;
  transition: max-height .3s cubic-bezier(.4,0,.2,1);
}
.menu-group.open > .submenu{ max-height: 1200px; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.submenu .menu-link{ padding: 8px 12px; font-size: .82rem; color: var(--on-ink-2); margin: 1px 0; }
.submenu .menu-link:hover{ color: var(--on-ink); }
.submenu .menu-link.active{ color: #fff; background: rgba(255,255,255,.10); }
.menu-section-label{
  font-size: .72rem; color: var(--on-ink-2);
  padding: 20px 16px 8px; font-weight: 600;
}
.menu-section-label:first-child{ padding-top: 10px; }

/* ==========================================================================
   ADMIN — CARDS, TABLES, FORMS
   ========================================================================== */

.content-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px;
  box-shadow: none;
}
.content-header{
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 22px;
}
.content-title{
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.015em;
  display: flex; align-items: center; gap: 12px;
  line-height: 1.1;
}
.content-title i{ color: var(--accent); font-size: 1.2rem; }

.card{
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  box-shadow: none !important;
  background: #fff;
}
.card-header{
  border-bottom: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r) var(--r) 0 0 !important;
  font-weight: 600; color: var(--ink); padding: 16px 22px;
}
.card-footer{ background: #fff; border-top: 1px solid var(--line); }

.table thead th{
  background: #fff;
  border-top: none !important;
  border-bottom: 1px solid var(--line) !important;
  color: var(--text-3);
  font-weight: 600; font-size: .76rem;
  padding: 13px 16px !important;
  white-space: nowrap;
}
.table td{
  padding: 14px 16px !important;
  vertical-align: middle;
  border-bottom: 1px solid var(--line) !important;
  color: var(--text);
  font-size: .89rem;
}
.table tbody tr:hover{ background: var(--paper); }
.table-sm td, .table-sm th{ padding: 9px 12px !important; }

.btn{ border-radius: var(--r-btn) !important; font-weight: 600 !important; font-size: .83rem !important; padding: 9px 16px !important; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.btn-sm{ padding: 6px 12px !important; font-size: .77rem !important; min-height: 32px; }
.btn-primary:not(.btn-outline-primary){ background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; box-shadow: none !important; }
.btn-primary:not(.btn-outline-primary):hover{ background: var(--accent-ink) !important; border-color: var(--accent-ink) !important; filter: none; transform: none; }
.btn-outline-primary{ background: transparent !important; border: 1px solid var(--line) !important; color: var(--ink) !important; }
.btn-outline-primary:hover{ background: var(--ink) !important; border-color: var(--ink) !important; color: var(--on-ink) !important; }
.btn-default, .btn-light{ background: #fff !important; border: 1px solid var(--line) !important; color: var(--text-2) !important; }
.btn-light:hover{ background: var(--paper) !important; color: var(--ink) !important; }

.badge-status{
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; font-size: .72rem; font-weight: 600;
  border-radius: 999px;
}
.badge-status::before{ content:""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-Draft, .status-Inactive{ background: var(--paper-2); color: var(--text-2); }
.status-Sent, .status-Active{ background: var(--accent-soft); color: var(--accent-ink); }
.status-Partial, .status-Leave, .status-Pending{ background: var(--warn-bg); color: var(--warn); }
.status-Received, .status-Paid, .status-Present, .status-Approved{ background: var(--ok-bg); color: var(--ok); }
.status-Cancelled, .status-Unpaid, .status-Absent, .status-Rejected{ background: var(--danger-bg); color: var(--danger); }

.filter-card{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 22px; margin-bottom: 22px;
  box-shadow: none;
}
.attendance-day{
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; margin: 1px; cursor: pointer;
  font-size: .7rem; font-weight: 700;
  border: 1px solid var(--line);
}
canvas{ max-width: 100%; }

/* admin responsive */
@media (max-width: 991px){
  .sidebar{
    transform: translateX(-105%);
    transition: transform .26s cubic-bezier(.4,0,.2,1);
  }
  .sidebar.open{ transform: translateX(0); }
  .main-wrap{ margin-left: 0; }
  .menu-toggle{ display: inline-flex; }
  .main-content{ padding: 18px 18px 44px; }
  .topbar{ padding: 0 18px; }
  .sidebar-backdrop{ position: fixed; inset: 0; background: rgba(10,11,13,.5); z-index: 35; display: none; }
  .sidebar-backdrop.show{ display: block; }
}

/* ==========================================================================
   PUBLIC — SECTION MEDIA
   Photographic backdrops for navy bands, category tiles and panels.
   ========================================================================== */

/* navy showcase band on a photographic backdrop */
.showcase-band{ position: relative; isolation: isolate; }
.showcase-band .band-media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
  z-index: 0;
}
.showcase-band::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(0,20,54,.985) 0%,
    rgba(0,26,66,.955) 42%,
    rgba(0,31,82,.70) 74%,
    rgba(0,31,82,.46) 100%);
}
.showcase-band > .showcase-band-copy,
.showcase-band > .showcase-band-stack{ position: relative; z-index: 2; }
.page-home .section .showcase-band-copy h2{ color: var(--on-ink); }
.page-home .section .showcase-band-copy .lead-line{ color: var(--on-ink-2); }

/* category tiles with an image header */
.cat-tile{
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cat-tile-media{
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}
.cat-tile-media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.cat-tile-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,31,82,0) 48%, rgba(0,31,82,.38) 100%);
}
.cat-tile:hover .cat-tile-media img{ transform: scale(1.045); }
.cat-tile-body{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 22px 22px;
}
.cat-tile-body .go{ margin-top: auto; }

/* workflow supporting media */
.workflow-media{
  margin: 26px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.workflow-media img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Desktop: equalise both columns so the image bottom lines up with the last
   feature row and no dead space is left beside the image. */
@media (min-width: 992px){
  .home-workflow-row{ align-items: stretch; }
  .home-workflow-row > [class*="col-"]:first-child{
    display: flex;
    flex-direction: column;
  }
  .home-workflow-row .workflow-media{
    margin-top: auto;
    flex: 1 1 auto;
    min-height: 240px;
    display: flex;
  }
  .home-workflow-row .workflow-media img{
    aspect-ratio: auto;
    height: 100%;
  }
  .home-workflow-row .feature-list{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* proof panel media */
.proof-panel-media{
  margin: 16px 0 8px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
}
.proof-panel-media img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* shop empty state — image + copy split */
.shop-empty{
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.shop-empty-media{ margin: 0; background: var(--paper); }
.shop-empty-media img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.shop-empty-body{
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shop-empty-copy h3{ margin-bottom: 12px; }
.shop-empty-copy p{
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 0 24px;
}
.shop-empty-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

/* inner-page masthead on a photographic backdrop */
.page-head{ position: relative; isolation: isolate; overflow: hidden; }
.page-head::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--masthead-img, none) center 44% / cover no-repeat;
}
.page-head::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(92deg,
    rgba(0,20,54,.96) 0%,
    rgba(0,26,66,.90) 48%,
    rgba(0,31,82,.74) 100%);
}
.page-head > .shell{ position: relative; z-index: 2; }

/* ==========================================================================
   PUBLIC — RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px){
  body{ padding-top: 0; }
  .navbar-public{ height: 64px; }
  .navbar-public .shell{ height: 64px; }
  .brand-mark-logo{ height: 38px; max-width: 200px; }
  .brand-mark-inline{ height: 38px; }
  .hdr-right{ gap: 8px; }
  .hero .shell{ padding-block: 72px; }
  .hero-photo .hero-cap-grid,
  .hero-photo .hero-proof-list{ display: none; }
  .section{ padding-block: 64px; }
  .page-home .section{ padding-block: 58px; }
  .page-home .section-tight{ padding-block: 44px; }
  .page-home .home-showcase{ padding-top: 58px; padding-bottom: 44px; }
  .page-home .home-featured{ padding-top: 50px; padding-bottom: 56px; }
  .page-home .home-categories,
  .page-home .home-workflow,
  .page-home .home-industries{ padding-top: 52px; padding-bottom: 52px; }
  .page-home .home-cta{ padding-top: 22px; padding-bottom: 36px; }
  .page-head{ padding: 40px 0 36px; }
  .page-home .home-categories .section-head h2,
  .page-home .home-workflow h2,
  .page-home .home-industries h2{
    font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  }
  .section-head{ margin-bottom: 34px; }
  .showcase-band .band-media{ object-position: center; }
  .showcase-band::after{
    background: linear-gradient(180deg, rgba(0,20,54,.97) 0%, rgba(0,26,66,.94) 100%);
  }
  .section-head-featured{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .section-head-featured-aside{
    justify-items: start;
  }
  .featured-promo-figure{
    width: min(100%, 300px);
  }
  .page-home .builder-section-spacing{
    padding-top: calc(var(--section-pt, 64px) * .82);
    padding-bottom: calc(var(--section-pb, 64px) * .82);
  }
  .cta-band{ padding: 40px 28px; }
  .storefront-lead{
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }
  .storefront-lead h2{ max-width: 18ch; }
  .showcase-band{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 24px;
    border-radius: 24px;
  }
  .showcase-band-copy h2{ max-width: 16ch; }
  .showcase-band-stack{ grid-template-columns: 1fr; }
  .catalogue-fallback-copy,
  .catalogue-fallback-grid{
    grid-template-columns: 1fr;
  }
  .footer-topline{
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 26px;
    margin-bottom: 30px;
  }
  .footer-wordmark{
    font-size: clamp(3.8rem, 13vw, 7rem);
    bottom: -18px;
  }
  .footer-contact-card{
    max-width: none;
    margin-left: 0;
  }
}
@media (max-width: 767.98px){
  .hero h1{ font-size: 2.3rem; }
  .hero-glass-card{ padding: 22px 18px; }
  .hero-cap-item{ padding: 12px 13px; }
  .hero-inline-specs{ gap: 8px; }
  .hero-inline-specs span{ font-size: .74rem; }
  .section{ padding-block: 50px; }
  .page-home .section{ padding-block: 46px; }
  .page-home .section-tight{ padding-block: 38px; }
  .page-home .home-showcase{ padding-top: 46px; padding-bottom: 34px; }
  .page-home .home-featured{ padding-top: 40px; padding-bottom: 44px; }
  .page-home .home-categories,
  .page-home .home-workflow,
  .page-home .home-industries{ padding-top: 40px; padding-bottom: 40px; }
  .page-home .home-cta{ padding-top: 18px; padding-bottom: 28px; }
  .page-head{ padding: 32px 0 30px; }
  .cat-tile-media{ aspect-ratio: 16 / 9; }
  .workflow-media{ margin-top: 20px; }
  .page-home .home-categories .section-head h2,
  .page-home .home-workflow h2,
  .page-home .home-industries h2{
    font-size: 1.9rem;
    line-height: 1.14;
  }
  .featured-promo-figure{
    width: min(100%, 240px);
  }
  .page-home .builder-section-spacing{
    padding-top: calc(var(--section-pt, 64px) * .72);
    padding-bottom: calc(var(--section-pb, 64px) * .72);
  }
  .page-home .builder-heading-display{
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    line-height: 1.08;
  }
  .page-head + .section{ padding-top: 28px; }
  .service-panel{
    border-radius: 18px;
    padding: 26px 22px 24px;
  }
  .service-panel h3{
    font-size: 1.35rem;
    max-width: none;
  }
  .showcase-band{
    padding: 22px 18px;
    border-radius: 20px;
  }
  .showcase-band-copy h2{
    max-width: none;
    margin-bottom: 14px;
  }
  .showcase-band-pills{
    gap: 8px;
    margin-top: 20px;
  }
  .showcase-band-pills span{
    min-height: 34px;
    padding: 0 12px;
    font-size: .74rem;
  }
  .showcase-stack-card{
    padding: 18px 16px 16px;
    border-radius: 18px;
  }
  .showroom-card,
  .catalogue-fallback,
  .shop-empty{
    border-radius: 18px;
    padding: 26px 22px;
  }
  .shop-empty{ padding: 0; grid-template-columns: 1fr; }
  .shop-empty-media img{ min-height: 200px; }
  .shop-empty-body{ padding: 30px 24px; }
  .shop-empty-copy p{ margin-bottom: 20px; }
  .page-home .home-workflow .feature-list{
    padding: 2px 16px;
    border-radius: 22px;
  }
  .showroom-card-main h2,
  .catalogue-fallback-copy h3{
    max-width: none;
  }
  .footer{ padding-top: 64px; margin-top: 12px; }
  .footer-logo{ height: 36px; max-width: 190px; }
  .footer-topline{
    gap: 12px;
  }
  .footer-topline p{
    font-size: .9rem;
  }
  .footer-wordmark{
    left: 20px;
    right: 20px;
    font-size: clamp(3rem, 18vw, 4.8rem);
    bottom: 10px;
    line-height: .92;
  }
  .footer-mini-grid{ grid-template-columns: 1fr; }
  .mobile-bottom-nav{ display:flex; }
  body{ padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .alert-float{ top: 78px; right: 12px; left: 12px; max-width: none; }
  .brand-mark-logo{ height: 34px; max-width: 170px; }
  .brand-mark-inline{ height: 34px; }
}

/* ==========================================================================
   BOOTSTRAP COMPAT — the app's views mix v4 and v5 class names.
   The admin shell loads v4, so the v5 names are supplied here.
   ========================================================================== */

.me-0{ margin-right: 0 !important; }
.me-1{ margin-right: .25rem !important; }
.me-2{ margin-right: .5rem !important; }
.me-3{ margin-right: 1rem !important; }
.me-4{ margin-right: 1.5rem !important; }
.me-5{ margin-right: 3rem !important; }
.ms-0{ margin-left: 0 !important; }
.ms-1{ margin-left: .25rem !important; }
.ms-2{ margin-left: .5rem !important; }
.ms-3{ margin-left: 1rem !important; }
.ms-4{ margin-left: 1.5rem !important; }
.ms-5{ margin-left: 3rem !important; }
.gap-1{ gap: .25rem !important; }
.gap-2{ gap: .5rem !important; }
.gap-3{ gap: 1rem !important; }
.gap-4{ gap: 1.5rem !important; }

.text-end{ text-align: right !important; }
.text-start{ text-align: left !important; }
.fw-bold{ font-weight: 700 !important; }
.fw-semibold{ font-weight: 600 !important; }
.text-decoration-none{ text-decoration: none !important; }
.d-grid{ display: grid !important; }
.opacity-25{ opacity: .25 !important; }
.opacity-50{ opacity: .5 !important; }
.opacity-75{ opacity: .75 !important; }
.opacity-90{ opacity: .9 !important; }
.rounded-3{ border-radius: var(--r) !important; }
.rounded-4{ border-radius: var(--r-lg) !important; }

/* v5 row gutters (g-2 … g-5) */
.g-2{ --vd-gutter: .5rem; }
.g-3{ --vd-gutter: 1rem; }
.g-4{ --vd-gutter: 1.5rem; }
.g-5{ --vd-gutter: 3rem; }
.g-2, .g-3, .g-4, .g-5{
  margin-left: calc(var(--vd-gutter, 1rem) * -.5);
  margin-right: calc(var(--vd-gutter, 1rem) * -.5);
}
.g-2 > [class*="col"], .g-3 > [class*="col"], .g-4 > [class*="col"], .g-5 > [class*="col"]{
  padding-left: calc(var(--vd-gutter, 1rem) * .5);
  padding-right: calc(var(--vd-gutter, 1rem) * .5);
  margin-bottom: var(--vd-gutter, 1rem);
}

/* contextual colours, re-pointed at the palette */
.bg-primary{ background: var(--accent) !important; color: #fff !important; }
.bg-info{ background: var(--accent) !important; color: #fff !important; }
.bg-secondary{ background: var(--text-3) !important; color: #fff !important; }
.bg-dark{ background: var(--ink) !important; color: var(--on-ink) !important; }
.bg-light{ background: var(--paper) !important; }
.bg-success{ background: var(--ok-bg) !important; color: var(--ok) !important; }
.bg-danger{ background: var(--danger-bg) !important; color: var(--danger) !important; }
.bg-warning{ background: var(--warn-bg) !important; color: var(--warn) !important; }

.text-primary{ color: var(--accent) !important; }
.text-info{ color: var(--accent-ink) !important; }
.text-secondary{ color: var(--text-2) !important; }
.text-dark{ color: var(--ink) !important; }
.text-warning{ color: var(--warn) !important; }

/* badges stay soft chips even when the markup carries a solid bg-* class,
   and an explicit text-* class still wins over the chip's default colour */
.badge.bg-primary, .badge.badge-primary{ background: var(--accent-soft) !important; color: var(--accent-ink); }
.badge.bg-info, .badge.badge-info{ background: var(--accent-soft) !important; color: var(--accent-ink); }
.badge.bg-secondary, .badge.badge-secondary{ background: var(--paper-2) !important; color: var(--text-2); }
.badge.bg-success, .badge.badge-success{ background: var(--ok-bg) !important; color: var(--ok); }
.badge.bg-danger, .badge.badge-danger{ background: var(--danger-bg) !important; color: var(--danger); }
.badge.bg-warning, .badge.badge-warning{ background: var(--warn-bg) !important; color: var(--warn); }
.badge.bg-dark{ background: var(--ink) !important; color: var(--on-ink); }
.badge.bg-light, .badge.badge-light{ background: var(--paper) !important; color: var(--text-2); }
.badge.bg-white{ background: #fff !important; color: var(--text-2); }

.btn-info{ background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-info:hover, .btn-info:focus{ background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn-warning{ background: var(--warn); border-color: var(--warn); color: #fff; }
.btn-warning:hover, .btn-warning:focus{ background: #8F5409; border-color: #8F5409; color: #fff; }
.btn-dark{ background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn-dark:hover, .btn-dark:focus{ background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
.btn-outline-secondary, .btn-outline-info, .btn-outline-dark{
  background: transparent; border: 1px solid var(--line); color: var(--text-2);
}
.btn-outline-secondary:hover, .btn-outline-info:hover, .btn-outline-dark:hover,
.btn-outline-secondary:focus, .btn-outline-info:focus, .btn-outline-dark:focus{
  background: var(--ink); border-color: var(--ink); color: var(--on-ink);
}
.btn-outline-warning:hover, .btn-outline-warning:focus{ background: var(--warn-bg); border-color: var(--warn); color: var(--warn); }
.btn-outline-success:hover, .btn-outline-success:focus{ background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.btn-outline-danger:hover, .btn-outline-danger:focus{ background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }

/* v5 form names */
.form-label{ display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; color: var(--text-2); }
.form-select, select.form-select{
  display: block; width: 100%;
  padding: 11px 38px 11px 14px;
  font-size: .9rem; line-height: 1.45;
  color: var(--text); background-color: #fff;
  border: 1px solid var(--line); border-radius: var(--r-btn);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238B909A' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  height: auto;
}
.form-select:focus, select.form-select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.form-select-sm{ padding: 7px 32px 7px 11px; font-size: .82rem; background-position: right 11px center; }

/* v5 close button (admin views use it) */
.btn-close{
  box-sizing: content-box; width: 1em; height: 1em;
  padding: 0; border: 0; background: transparent;
  opacity: .45; cursor: pointer; margin-left: auto;
}
.btn-close::before{ content: "\00d7"; font-size: 1.35rem; line-height: 1; color: currentColor; }
.btn-close:hover{ opacity: .9; }

/* --- component skins: list group --- */
.list-group-item{
  background: #fff; border: 1px solid var(--line);
  padding: 14px 18px; font-size: .9rem; color: var(--text);
}
.list-group-item-action{ transition: background .16s ease; }
.list-group-item-action:hover, .list-group-item-action:focus{ background: var(--paper); color: var(--ink); }
.list-group-item.active{ background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.list-group-flush .list-group-item{ border-left: 0; border-right: 0; }
.list-group-flush .list-group-item:first-child{ border-top: 0; }
.list-group-flush .list-group-item:last-child{ border-bottom: 0; }

/* --- component skins: breadcrumb --- */
.breadcrumb{ background: transparent; padding: 0; margin-bottom: 16px; font-size: .84rem; }
.breadcrumb-item a{ color: var(--text-2); text-decoration: none; }
.breadcrumb-item a:hover{ color: var(--accent); }
.breadcrumb-item.active{ color: var(--text-3); }
.breadcrumb-item + .breadcrumb-item::before{ content: "/"; color: var(--text-3); }

/* --- component skins: tabs + pills --- */
.nav-tabs{ border-bottom: 1px solid var(--line); }
.nav-tabs .nav-link{
  border: 0; border-bottom: 2px solid transparent;
  color: var(--text-2); font-weight: 600; font-size: .88rem;
  padding: 11px 16px; background: transparent;
}
.nav-tabs .nav-link:hover{ color: var(--ink); border-bottom-color: var(--line); }
.nav-tabs .nav-link.active{ color: var(--ink); background: transparent; border-bottom-color: var(--accent); }
.nav-pills .nav-link{ border-radius: var(--r-btn); color: var(--text-2); font-weight: 600; font-size: .88rem; padding: 8px 15px; }
.nav-pills .nav-link.active{ background: var(--ink); color: var(--on-ink); }

/* --- component skins: progress + v4 custom controls --- */
.progress{ height: 8px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.progress-bar{ background: var(--accent); }
.custom-control-label{ font-size: .88rem; color: var(--text); }
.custom-control-label::before{ border: 1px solid var(--line); background: #fff; }
.custom-control-input:checked ~ .custom-control-label::before{ background-color: var(--accent); border-color: var(--accent); }
.custom-control-input:focus ~ .custom-control-label::before{ box-shadow: 0 0 0 3px var(--accent-soft); }
.card-body{ padding: 22px 24px; }
.shadow-sm, .shadow{ box-shadow: none !important; }
.shadow-lg{ box-shadow: 0 18px 48px rgba(10,11,13,.14) !important; }
.table-striped tbody tr:nth-of-type(odd){ background-color: #FBFAF8; }
.container-fluid{ padding-left: 26px; padding-right: 26px; }
@media (max-width: 767.98px){
  .container-fluid{ padding-left: 16px; padding-right: 16px; }
}

/* ==========================================================================
   LEGACY ALIASES — keep older page markup on the new system
   ========================================================================== */

.section-title{
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 10px;
}
.section-subtitle{ color: var(--text-2); margin-bottom: 30px; }
.on-ink .section-title{ color: var(--on-ink); }

.text-primary-vd{ color: var(--accent) !important; }
.text-accent-vd{ color: var(--accent) !important; }
.bg-primary-vd{ background: var(--ink) !important; color: var(--on-ink) !important; }
.bg-accent-vd{ background: var(--accent) !important; color:#fff !important; }
.bg-light-vd{ background: var(--paper) !important; }
.text-success{ color: var(--ok) !important; }
.text-danger{ color: var(--danger) !important; }
.text-muted{ color: var(--text-3) !important; }
.stock-out{ background: var(--danger) !important; border-color: var(--danger) !important; color:#fff; }

.filter-sidebar{ background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.order-summary{ background: var(--paper); border-radius: var(--r); padding: 26px; }
.breadcrumb-vd{ background: transparent; padding: 0; }
.newsletter-card{ background: var(--ink); border-radius: var(--r-lg); color: var(--on-ink); padding: 48px; }
.newsletter-card h3{ color: var(--on-ink); }
.image-thumb{
  width: 68px; height: 68px; border-radius: var(--r-btn);
  overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); opacity: .6;
  transition: opacity .18s ease, border-color .18s ease;
}
.image-thumb.active, .image-thumb:hover{ border-color: var(--ink); opacity: 1; }
.status-badge{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 600;
}
.checkout-step{ display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.checkout-step-number{
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .74rem;
}
.price-input-wrap{ display: flex; gap: 10px; align-items: center; }

/* Bootstrap-carousel inside the new hero keeps its dots hidden when unused */
.hero-section{ background: var(--ink); color: var(--on-ink); }
.hero-section h1{ color: var(--on-ink); }
.hero-section p{ color: var(--on-ink-2); }

/* ==========================================================================
   INSTALMENT WIDGET (product page)
   Flat surfaces, hairline borders — matches the corporate design system.
   ========================================================================== */
.installment-widget{
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: 16px 18px;
  margin-top: 14px;
}
.installment-widget-head{
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 12px;
}
.installment-widget-head i{ color: var(--accent); }
.installment-options{ display: grid; gap: 10px; }
.installment-option{
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 14px;
  background: var(--paper);
}
.installment-logo{
  flex: 0 0 auto;
  width: 84px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 6px 8px;
}
.installment-logo img{ max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.installment-body{ flex: 1 1 auto; min-width: 0; }
.installment-name{ font-weight: 700; color: var(--text); font-size: .92rem; }
.installment-terms{ color: var(--text-2); font-size: .9rem; }
.installment-terms strong{ color: var(--ink); }
.installment-note{ color: var(--text-3); font-size: .76rem; margin-top: 2px; }
@media (max-width: 575.98px){
  .installment-option{ gap: 10px; }
  .installment-logo{ width: 68px; height: 34px; }
}

/* ==========================================================================
   SHOP GRID — instalment strip + dual actions (Add / Buy now)
   ========================================================================== */
.product-instalments{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-instalment{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--paper);
  padding: 3px 8px 3px 6px;
  font-size: .74rem;
  color: var(--text-2);
  line-height: 1.2;
}
.product-instalment img{
  height: 14px;
  width: auto;
  max-width: 46px;
  object-fit: contain;
  display: block;
}
.product-instalment b{ color: var(--ink); font-weight: 600; }

.product-actions{ display: flex; gap: 8px; }
.product-actions .btn{
  flex: 1 1 0;
  padding: 10px 8px;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   CHECKOUT — tighter spacing + payment option polish
   ========================================================================== */
.checkout-shell{ padding-block: 40px 64px; }
.checkout-shell .panel{ padding: 24px 22px; }

.pay-option-title{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.pay-option-logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--white);
}
.pay-option-logo img{
  height: 14px; width: auto; max-width: 62px;
  object-fit: contain; display: block;
}

.terms-check{ display: flex; align-items: flex-start; gap: 10px; }
.terms-check .form-check-input{
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 2px 0 0 0;
}
.terms-check .form-check-label{
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-2);
}

@media (max-width: 575.98px){
  .checkout-shell{ padding-block: 28px 48px; }
  .checkout-shell .panel{ padding: 20px 18px; }
  .product-actions{ flex-direction: column; }
}

/* ==========================================================================
   PRODUCT DETAIL — balanced columns + full-width detail tabs
   ========================================================================== */
/* Keep the gallery in view so the (shorter) left column never shows a large
   empty gap beside the taller product information column. */
@media (min-width: 992px){
  .product-gallery-panel{ position: sticky; top: 96px; }
}

/* Description / Specifications now span the full width under the row. */
.product-detail-tabs .tab-content{ color: var(--text-2); }
.product-detail-tabs .nav-tabs .nav-link{ font-weight: 600; }

/* ==========================================================================
   BLOG — shared card styles (used on blog list and site search results)
   ========================================================================== */
.blog-search{ max-width: 460px; }
.blog-card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover{ transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,31,82,.12); border-color: var(--accent); }
.blog-card-media{ display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.blog-card-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-media img{ transform: scale(1.05); }
.blog-card-body{ padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta{ font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.blog-card-body h3{ font-size: 1.16rem; font-weight: 700; line-height: 1.32; margin: 0 0 10px; }
.blog-card-body h3 a{ color: var(--text); }
.blog-card-body h3 a:hover{ color: var(--accent-ink); }
.blog-card-body p{ color: var(--text-2); font-size: .94rem; line-height: 1.65; margin: 0 0 16px; }
.blog-card-link{ margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--accent-ink); }
.blog-card-link i{ transition: transform .25s ease; }
.blog-card-link:hover i{ transform: translateX(4px); }
.blog-search-results-head{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }

/* ============================================================
 * Delivery partner band (Domex) — home page, above the CTA
 * ============================================================ */
.vm-deliver{ position:relative; overflow:hidden; padding: clamp(52px,7vw,92px) 0; color:#fff;
  background:#001F52 url('../img/page-masthead.jpg') center/cover no-repeat; }
.vm-deliver::before{ content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(0,31,82,.97) 0%, rgba(0,31,82,.9) 46%, rgba(0,31,82,.55) 100%); }
.vm-deliver .vm-shell{ position:relative; z-index:1; }
.vm-deliver .vm-kicker{ color: var(--brand-gold); }
.vm-deliver-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px,4vw,58px); align-items:center; }
.vm-deliver h2{ color:#fff; margin:.35em 0 .55em; }
.vm-deliver p{ color:rgba(255,255,255,.84); max-width:58ch; margin-bottom:0; }
.vm-deliver-points{ list-style:none; margin:20px 0 28px; padding:0; display:grid; gap:11px; }
.vm-deliver-points li{ display:flex; gap:11px; align-items:flex-start; color:rgba(255,255,255,.92); font-size:.96rem; line-height:1.5; }
.vm-deliver-points i{ color:var(--brand-gold); margin-top:4px; flex:0 0 auto; }
.vm-deliver-logo{ background:#fff; border-radius:22px; padding:clamp(26px,3vw,40px); text-align:center;
  box-shadow:0 28px 64px rgba(0,0,0,.34); }
.vm-deliver-logo img{ display:block; max-width:100%; height:auto; max-height:110px; margin:0 auto; object-fit:contain; }
.vm-deliver-logo span{ display:block; margin-top:16px; font-size:.7rem; letter-spacing:.16em; text-transform:uppercase;
  color:#5a6b88; font-weight:700; }
@media (max-width: 860px){
  .vm-deliver-grid{ grid-template-columns:1fr; }
  .vm-deliver-logo{ order:-1; }
}

/* ============================================================
 * Customer auth — Continue with Google
 * ============================================================ */
.vm-google-btn{ display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; padding:13px 18px; border-radius:12px; border:1.5px solid #dadce0;
  background:#fff; color:#3c4043; font-weight:700; font-size:.95rem; text-decoration:none;
  transition:box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.vm-google-btn:hover{ background:#f8f9fa; border-color:#c6cbd4;
  box-shadow:0 1px 6px rgba(60,64,67,.22); color:#202124; }
.vm-google-btn svg{ flex:0 0 auto; }
.vm-auth-or{ display:flex; align-items:center; gap:12px; margin:16px 0;
  color:#8a94a6; font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; }
.vm-auth-or::before,.vm-auth-or::after{ content:""; height:1px; flex:1; background:#e3e8ef; }
.vm-auth-or span{ white-space:nowrap; }

/* ============================================================
 * Customer account (dashboard, orders, profile, addresses)
 * ============================================================ */
.vm-account{ padding: clamp(26px,4vw,52px) 0 clamp(44px,6vw,76px); background:#f4f6fb; }
.vm-account-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px;
  padding: clamp(22px,3vw,34px); border-radius:24px; color:#fff; position:relative; overflow:hidden;
  background:linear-gradient(120deg,#001F52 0%,#0C3C86 55%,#143C77 100%);
  box-shadow:0 24px 60px rgba(0,31,82,.18); }
.vm-account-head::after{ content:""; position:absolute; right:-90px; bottom:-140px; width:360px; height:360px;
  border-radius:50%; background:radial-gradient(circle, rgba(244,190,29,.30), transparent 62%); pointer-events:none; }
.vm-account-ident{ display:flex; gap:18px; align-items:center; position:relative; z-index:1; min-width:0; flex-wrap:wrap; }
.vm-account-ident > div{ min-width:0; }
.vm-account-head h1, .vm-account-head p{ min-width:0; overflow-wrap:anywhere; }
.vm-account-avatar{ width:64px; height:64px; flex:0 0 auto; border-radius:20px; display:grid; place-items:center;
  font:800 1.6rem/1 'Inter',system-ui,sans-serif; color:#001F52;
  background:linear-gradient(140deg,#F4BE1D,#ffd968); box-shadow:0 12px 26px rgba(0,0,0,.18); }
.vm-account-head .vm-kicker{ color:#F4BE1D; }
.vm-account-head h1{ margin:.28em 0 .22em; font-size:clamp(1.45rem,2.6vw,1.95rem); color:#fff; line-height:1.2; }
.vm-account-head p{ margin:0; color:rgba(255,255,255,.76); max-width:62ch; }
.vm-account-logout{ position:relative; z-index:1; }
.vm-account-head .vm-btn-ghost{ background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.34); color:#fff; }
.vm-account-head .vm-btn-ghost:hover{ background:rgba(255,255,255,.18); }

.vm-account-grid{ display:grid; grid-template-columns:268px minmax(0,1fr); gap:clamp(18px,2.4vw,28px);
  margin-top:clamp(18px,2.4vw,28px); align-items:start; }
.vm-account-side{ position:sticky; top:92px; display:grid; gap:16px; }
.vm-account-nav{ background:#fff; border:1px solid #e3e8ef; border-radius:18px; padding:8px; display:grid; gap:2px;
  box-shadow:0 10px 30px rgba(0,31,82,.05); }
.vm-account-link{ display:grid; grid-template-columns:22px minmax(0,1fr) 12px; align-items:center; gap:10px;
  padding:11px 12px; border-radius:12px; color:#33415c; font-weight:700; font-size:.9rem; text-decoration:none; }
.vm-account-link i:first-child{ color:#7b8aa5; text-align:center; }
.vm-account-link .chev{ font-size:.62rem; opacity:.35; }
.vm-account-link:hover{ background:#f4f7fc; color:#001F52; text-decoration:none; }
.vm-account-link.active{ background:#001F52; color:#fff; }
.vm-account-link.active i{ color:#F4BE1D; }
.vm-account-help{ background:linear-gradient(160deg,#0C3C86,#001334); color:#fff; border-radius:18px; padding:20px;
  box-shadow:0 16px 40px rgba(0,31,82,.18); }
.vm-account-help-ico{ width:40px; height:40px; border-radius:12px; display:grid; place-items:center;
  background:rgba(244,190,29,.18); color:#F4BE1D; margin-bottom:12px; }
.vm-account-help h3{ margin:0 0 6px; font-size:.98rem; font-weight:800; color:#fff; }
.vm-account-help p{ margin:0 0 14px; font-size:.84rem; color:rgba(255,255,255,.72); line-height:1.5; }

.vm-account-main{ display:grid; gap:clamp(16px,2vw,24px); min-width:0; }
.vm-account-main .vm-btn-ghost{ background:#fff; border-color:#cfd8e6; color:#0b1b33; }
.vm-account-main .vm-btn-ghost:hover{ background:#f4f7fc; border-color:#b9c6da; color:#001F52; }
.vm-stats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.vm-stat{ background:#fff; border:1px solid #e3e8ef; border-radius:18px; padding:18px; display:flex; gap:14px;
  align-items:flex-start; box-shadow:0 10px 30px rgba(0,31,82,.05); }
.vm-stat-ico{ width:46px; height:46px; flex:0 0 auto; border-radius:14px;
  display:grid !important; place-items:center !important; line-height:1;
  background:rgba(29,77,147,.10); color:#1D4D93; font-size:1.12rem; align-self:flex-start;
  box-shadow:inset 0 0 0 1px rgba(29,77,147,.08); }
.vm-stat-ico-gold{ background:rgba(244,190,29,.20); color:#8a5a00; box-shadow:inset 0 0 0 1px rgba(244,190,29,.28); }
.vm-stat-ico-pink{ background:rgba(225,29,99,.12); color:#C2185B; box-shadow:inset 0 0 0 1px rgba(225,29,99,.16); }
.vm-stat > div > b{ display:block; font-size:1.5rem; line-height:1.15; color:#001F52; font-weight:800; letter-spacing:-.01em; }
.vm-stat > div{ min-width:0; }
.vm-stat-name{ font-size:1.1rem !important; }
.vm-stat > div > span{ display:block; font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; color:#5a6b88;
  margin-top:4px; font-weight:800; }
.vm-stat > div > small{ display:block; color:#7b8aa5; font-size:.79rem; margin-top:8px; line-height:1.45; }

.vm-card{ background:#fff; border:1px solid #e3e8ef; border-radius:18px; box-shadow:0 10px 30px rgba(0,31,82,.05);
  overflow:hidden; }
.vm-card-head{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:16px 20px;
  border-bottom:1px solid #eef2f7; }
.vm-card-head h2{ margin:0; font-size:1rem; font-weight:800; color:#001F52; display:flex; align-items:center; gap:9px; }
.vm-card-head h2 i{ color:#1D4D93; }
.vm-orders{ display:grid; }
.vm-order-row{ display:grid; grid-template-columns:minmax(0,1.6fr) auto auto 14px; gap:14px; align-items:center;
  padding:14px 20px; border-bottom:1px solid #f1f4f9; text-decoration:none; color:inherit; }
.vm-order-row:last-child{ border-bottom:0; }
.vm-order-row:hover{ background:#f7faff; text-decoration:none; }
.vm-order-no b{ color:#001F52; font-weight:800; }
.vm-order-no small{ display:block; color:#7b8aa5; font-size:.77rem; margin-top:2px; }
.vm-order-total{ font-weight:800; color:#001F52; white-space:nowrap; }
.vm-order-status{ font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em;
  padding:5px 10px; border-radius:999px; background:#eef2f8; color:#475569; white-space:nowrap; }
.vm-order-status.delivered{ background:#e6f7ee; color:#0a7d43; }
.vm-order-status.dispatched,.vm-order-status.packed{ background:#e8f0fe; color:#1D4D93; }
.vm-order-status.pending{ background:#fff6e5; color:#8a5b00; }
.vm-order-status.cancelled,.vm-order-status.returned{ background:#fde8ec; color:#b3132f; }
.vm-order-row > i{ color:#c2cbdb; font-size:.68rem; }

.vm-acct-empty{ padding:40px 20px; text-align:center; }
.vm-acct-empty-ico{ width:64px; height:64px; border-radius:50%; display:grid; place-items:center; margin:0 auto 14px;
  background:#f1f5fb; color:#1D4D93; font-size:1.4rem; }
.vm-acct-empty h3{ margin:0 0 6px; font-size:1.05rem; color:#001F52; font-weight:800; }
.vm-acct-empty p{ margin:0 0 16px; color:#7b8aa5; font-size:.9rem; }

.vm-account-2col{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,2vw,24px); }
.vm-account-2col .vm-card{ padding-bottom:18px; }
.vm-account-2col .vm-card > *:not(.vm-card-head){ margin-left:20px; margin-right:20px; }
.vm-account-2col .vm-card > .vm-btn{ margin-top:10px; }
.vm-dl{ margin-top:16px; display:grid; gap:12px; }
.vm-dl div{ display:grid; gap:2px; }
.vm-dl dt{ font-size:.71rem; text-transform:uppercase; letter-spacing:.08em; color:#7b8aa5; font-weight:800; }
.vm-dl dd{ margin:0; color:#1b2740; font-weight:600; }
.vm-address{ margin-top:16px; color:#33415c; line-height:1.6; }
.vm-muted-line{ margin-top:16px; color:#7b8aa5; }
.vm-btn-sm{ padding:8px 14px; font-size:.82rem; }
.vm-btn-block{ display:block; width:100%; text-align:center; }

@media (max-width:992px){
  .vm-account-grid{ grid-template-columns:1fr; }
  .vm-account-side{ position:static; }
  .vm-account-nav{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px){
  .vm-stats{ grid-template-columns:1fr; }
  .vm-account-2col{ grid-template-columns:1fr; }
  .vm-account-head{ flex-direction:column; }
  .vm-order-row{ grid-template-columns:minmax(0,1fr) auto; }
  .vm-order-row > i{ display:none; }
  .vm-account-nav{ grid-template-columns:1fr; }
}

/* Touch/mobile safety: nothing may push the page wider than the screen
   (horizontal wobble + sticky-header jitter follow a page that overflows). */
@media (max-width:720px){
  .vm-account-head{ flex-wrap:wrap; }
  .vm-account-ident{ flex-wrap:nowrap; }
  .vm-stats, .vm-stat, .vm-account-2col, .vm-card, .vm-account-main, .vm-account-grid{ min-width:0; }
  .vm-stat b, .vm-stat span, .vm-dl dd{ overflow-wrap:anywhere; }
}

/* ============================================================
 * Site-wide flash popups (top-centre, branded)
 * ============================================================ */
.vm-flash-wrap{ position:fixed; top:calc(env(safe-area-inset-top,0px) + 16px); left:50%; transform:translateX(-50%);
  z-index:2100; display:grid; gap:10px; width:min(560px, calc(100vw - 28px)); pointer-events:none; }
.vm-flash{ pointer-events:auto; display:flex; gap:12px; align-items:flex-start; padding:13px 14px; border-radius:16px;
  background:#fff; color:#0b1b33; border:1px solid #e3e8ef; box-shadow:0 24px 60px -22px rgba(0,31,82,.45);
  animation: vm-flash-in .38s cubic-bezier(.2,.8,.2,1) both; }
.vm-flash.is-out{ animation: vm-flash-out .28s ease forwards; }
@keyframes vm-flash-in{ from{ opacity:0; transform:translateY(-14px) scale(.98); } }
@keyframes vm-flash-out{ to{ opacity:0; transform:translateY(-10px) scale(.98); } }
.vm-flash .ico{ width:34px; height:34px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto;
  color:#fff; background:#1D4D93; font-size:.9rem; }
.vm-flash-success .ico{ background:#10B981; }
.vm-flash-error .ico{ background:#E11D48; }
.vm-flash-warning .ico{ background:#F4BE1D; color:#001F52; }
.vm-flash .body{ min-width:0; }
.vm-flash .body strong{ display:block; font:800 .86rem/1.25 'Inter',system-ui,sans-serif; color:#001F52; }
.vm-flash .body span{ display:block; font-size:.86rem; line-height:1.5; color:#41506b; margin-top:2px; }
.vm-flash-list{ margin:6px 0 0; padding-left:18px; }
.vm-flash-list li{ margin-bottom:2px; }
.vm-flash .x{ margin-left:auto; border:0; background:transparent; color:#7b8aa5; width:28px; height:28px;
  border-radius:9px; cursor:pointer; display:grid; place-items:center; flex:0 0 auto; }
.vm-flash .x:hover{ background:#f1f5fb; color:#001F52; }
@media (max-width:720px){ .vm-flash-wrap{ top:calc(env(safe-area-inset-top,0px) + 10px); width:calc(100vw - 16px); } }

/* Auth — "check your e-mail" state + inline notices (password reset) */
.vm-auth-done{ text-align:left; }
.vm-auth-done-ico{ width:56px; height:56px; border-radius:18px; display:grid; place-items:center;
  background:rgba(16,185,129,.12); color:#0a8a63; font-size:1.25rem; margin-bottom:16px; }
.vm-auth-done h1{ margin:0 0 8px; }
.vm-auth-done p{ margin:0 0 16px; }
.vm-auth-points{ list-style:none; margin:0 0 22px; padding:0; display:grid; gap:9px; }
.vm-auth-points li{ display:flex; gap:9px; align-items:flex-start; font-size:.84rem; color:#41506b; line-height:1.5; }
.vm-auth-points i{ color:#0a8a63; margin-top:3px; flex:0 0 auto; }
.vm-auth-points-tight{ margin:2px 0 18px; }
.vm-auth-inline-err{ display:flex; gap:9px; align-items:flex-start; padding:11px 13px; border-radius:12px;
  background:#fdecef; border:1px solid #f6c9d2; color:#a41130; font-size:.85rem; margin:0 0 16px; }
.vm-auth-inline-err i{ margin-top:2px; }
.vm-auth-alt-link{ display:inline-block; margin-top:4px; font-weight:700; color:#1D4D93; text-decoration:none; }
.vm-auth-alt-link:hover{ text-decoration:underline; }

/* Auth — back link replaces the tab strip on password pages */
.vm-auth-back{ display:inline-flex; align-items:center; gap:8px; font-size:.82rem; font-weight:700;
  color:#5a6b88; text-decoration:none; margin-bottom:14px; }
.vm-auth-back:hover{ color:#001F52; }

/* Auth — expired/invalid reset link state */
.vm-auth-done-ico.is-warn{ background:rgba(244,190,29,.18); color:#8a5a00; }
