/* ============================================================
   GINANI THEME — main.css  v2.0.14
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bg:         #ffffff;
  --soft:       #F8FAFC;
  --soft2:      rgba(201,162,39,.04);
  --text:       #101828;
  --muted:      #475467;
  --brand:      #0B2A5B;
  --brand2:     #C9A227;
  --accent:     #B76E5A;
  --accent-soft:#FFF4F0;
  --sage-soft:  #F2F7F1;
  --navy:       #0B2A5B;
  --brand-2:    #C9A227;
  --border:     #EAECF0;
  --shadow-soft:  0 4px 14px rgba(16,24,40,.06);
  --shadow:       0 10px 30px rgba(16,24,40,.09);
  --shadow-hover: 0 18px 44px rgba(16,24,40,.13);
  --radius: 12px;
  --radius-lg: 16px;
  --max:    1120px;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.12;
}
h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.8px; margin: 14px 0 12px; }
h2 { font-size: clamp(22px, 2.5vw, 32px); }
h3 { font-size: clamp(18px, 1.8vw, 22px); }
h4 { font-size: 17px; }
.lead  { font-size: 18px; color: var(--muted); max-width: 62ch; line-height: 1.65; margin: 0 0 20px; }
.small { font-size: 14px; color: var(--muted); line-height: 1.55; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11,42,91,.65);
}

/* ------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

section { padding: 56px 0; }
section.hero { padding: 64px 0 48px; }
section.alt { background: linear-gradient(160deg, var(--soft) 0%, var(--accent-soft) 100%); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
  padding-bottom: 12px;
  position: relative;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 3px;
  border-radius: 99px;
  background: var(--brand2);
  opacity: .9;
}
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 68ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn.primary:hover { filter: brightness(.92); box-shadow: 0 8px 22px rgba(11,42,91,.28); }
.btn.secondary {
  background: rgba(11,42,91,.06);
  border-color: rgba(11,42,91,.14);
  color: var(--brand);
}
.btn.secondary:hover { background: rgba(11,42,91,.1); box-shadow: var(--shadow-soft); }

/* ------------------------------------------------------------
   6. PILLS / BADGES
   ------------------------------------------------------------ */
.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(201,162,39,.12);
  color: #6B4E00;
  border: 1px solid rgba(201,162,39,.28);
  font-size: 13px;
  font-weight: 700;
}

/* ------------------------------------------------------------
   7. SHARED CARD STYLES
   ------------------------------------------------------------ */
.card, .feature, .ginani-product-card, .ginani-cat-card, .post, .ginani-single-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.ginani-product-card, .ginani-cat-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.ginani-product-card:hover, .ginani-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ------------------------------------------------------------
   8. HEADER
   ------------------------------------------------------------ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .3px;
  color: var(--navy);
  text-decoration: none;
}
.brand-name { display: inline-flex; align-items: center; }
.brand-with-logo { text-decoration: none; }
.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand .custom-logo {
  display: block;
  width: auto;
  max-height: 42px;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #153B7A);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(11,42,91,.22);
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--brand2), #F2D06A);
}
.site-nav { display: flex; align-items: center; gap: 8px; }
.header-cta { margin-left: 8px; }
.header-auth-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  padding: 4px 2px;
  transition: color .15s;
}
.header-auth-link:hover { color: var(--navy); }
nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0; margin: 0;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
nav ul a {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
nav ul a:hover { color: var(--brand); background: rgba(11,42,91,.05); }
.nav-ctas { display: flex; gap: 10px; align-items: center; }

/* Hamburger */
.nav-toggle {
  width: 42px; height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .15s;
}
.nav-toggle:hover { box-shadow: var(--shadow); }
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Always-flyout mode */
.ginani-flyout-enabled .site-nav ul { display: none !important; }
.ginani-flyout-enabled .nav-toggle  { display: inline-flex !important; }

/* ------------------------------------------------------------
   9. FLYOUT DRAWER
   ------------------------------------------------------------ */
.ginani-no-scroll { overflow: hidden; }
.ginani-flyout-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,18,32,.48);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9998;
}
.ginani-flyout-backdrop.open { opacity: 1; pointer-events: auto; }

.ginani-flyout {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(340px, 92vw);
  background: #fff;
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 48px rgba(11,18,32,.14);
  transform: translateX(102%);
  transition: transform .24s cubic-bezier(.25,.46,.45,.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}
.ginani-flyout.open { transform: translateX(0); }

.ginani-flyout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.flyout-close {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.flyout-close:hover { background: var(--soft); }

.ginani-flyout-nav { padding: 16px 20px; overflow-y: auto; flex: 1; }
.ginani-flyout-nav ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ginani-flyout-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  transition: background .15s, box-shadow .15s;
}
.ginani-flyout-nav li:not(.menu-item-has-children) > a::after { content: "\2192"; opacity: .35; font-size: 14px; }
.ginani-flyout-nav a:hover { background: var(--soft); box-shadow: var(--shadow-soft); }

/* Parent items — flex row holding link + toggle button */
.ginani-flyout-nav .menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.ginani-flyout-nav .menu-item-has-children > a {
  flex: 1;
  border-radius: 12px 0 0 12px;
  border-right: 0;
}
.sub-menu-toggle {
  flex-shrink: 0;
  align-self: stretch;
  width: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  color: var(--muted);
}
.sub-menu-toggle:hover { background: var(--soft); }
.sub-menu-toggle svg { transition: transform .2s ease; }
.menu-item-has-children.is-open > .sub-menu-toggle svg { transform: rotate(90deg); }
.menu-item-has-children.is-open > a { background: var(--soft); }

/* Sub-menu (nested items) */
.ginani-flyout-nav .sub-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 6px 0 4px 16px;
  list-style: none;
  margin: 0;
}
.ginani-flyout-nav .menu-item-has-children.is-open > .sub-menu { display: flex; }
.ginani-flyout-nav .sub-menu a {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 12px;
  color: var(--muted);
  border-color: transparent;
  background: var(--soft);
}
.ginani-flyout-nav .sub-menu a::after { font-size: 12px; }
.ginani-flyout-nav .sub-menu a:hover {
  color: var(--navy);
  border-color: var(--border);
  background: rgba(11,42,91,.08);
}

/* Current/active menu item states — flyout */
.ginani-flyout-nav .current-menu-item > a,
.ginani-flyout-nav .current-menu-ancestor > a,
.ginani-flyout-nav .current-menu-parent > a {
  color: var(--brand);
  border-color: rgba(11,42,91,.2);
  background: rgba(11,42,91,.05);
  font-weight: 800;
}

/* Current/active — inline header nav */
nav ul .current-menu-item > a { color: var(--navy); background: rgba(11,42,91,.08); }

/* Inline nav dropdowns (flyout disabled, desktop only) */
.site-nav > ul li.menu-item-has-children { position: relative; }
.site-nav > ul li.menu-item-has-children:hover > .sub-menu,
.site-nav > ul li.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}
.site-nav > ul .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 180px;
  box-shadow: var(--shadow);
  z-index: 200;
  padding: 6px;
  list-style: none;
  margin: 0;
}
.site-nav > ul .sub-menu li { width: 100%; }
.site-nav > ul .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.site-nav > ul .sub-menu a:hover { background: var(--soft); color: var(--brand); }

.ginani-flyout-foot {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.flyout-auth-link {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  transition: color .15s;
}
.flyout-auth-link:hover { color: var(--navy); }

/* Focus rings */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.nav-toggle:focus-visible,
.flyout-close:focus-visible,
.ginani-flyout-nav a:focus-visible,
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--brand); color: #fff;
  padding: 10px 18px; font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
  z-index: 10000;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------
   10. HERO
   ------------------------------------------------------------ */
.hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 58%, var(--accent-soft) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: stretch;
}
.hero-copy {
  max-width: 640px;
}
.hero-copy h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.6px;
  margin: 12px 0 10px;
}
.hero-copy .lead {
  font-size: 16px;
  line-height: 1.72;
  max-width: 58ch;
  margin: 0 0 18px;
}
.hero-lower-row {
  margin-top: 28px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.hero-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); max-width: 58ch; }
.hero-proof-block {
  margin-top: 18px;
  max-width: 62ch;
}
.hero-proof-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11,42,91,.62);
}
.hero-proof-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(11,42,91,.22);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  max-width: 62ch;
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,42,91,.10);
  background: linear-gradient(180deg, rgba(248,250,252,.95), rgba(255,255,255,.98));
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(16,24,40,.05);
}
.hero-proof li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand2);
  box-shadow: 0 0 0 4px rgba(201,162,39,.12);
  flex: 0 0 auto;
}
.hero-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--soft);
  flex-shrink: 0;
}
.hero-image-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-cards { display: grid; gap: 12px; }
.hero-cards-row {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .95fr);
  align-items: stretch;
}
.hero-cards-compact { flex: 1; display: flex; flex-direction: column; gap: 12px; }

.hero-insight-card {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(11,42,91,.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.hero-insight-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.hero-insight-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11,42,91,.07);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(11,42,91,.1);
}
.hero-insight-card h3 { margin: 0; font-size: 16px; color: var(--navy); line-height: 1.3; }
.hero-insight-card p  { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.hero-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,42,91,.12);
  background: rgba(11,42,91,.04);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-metric {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}
.hero-metric span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.mini-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
  margin-top: 10px;
}
.mini-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   11. CATEGORY GRID
   ------------------------------------------------------------ */

/* WooCommerce outputs ul.products for both products and categories.
   Replace WooCommerce's float layout with a predictable CSS grid. */
ul.products {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  align-items: start;
}
ul.products.columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
ul.products li.product,
ul.products li.product-category {
  display: flex;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  padding: 0;
  margin: 0 !important;
  clear: none !important;
  min-width: 0;
  list-style: none;
  align-self: start;
}
ul.products li.product > * {
  width: 100%;
}
/* Category cards fill the list item; product cards manage their own internals */
ul.products li.product-category .ginani-cat-card {
  flex: 1;
}

.ginani-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ginani-cat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.ginani-cat-thumb {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  /* Fixed height ensures uniform image area regardless of source aspect ratio */
  height: 200px;
}
.ginani-cat-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s ease;
}
.ginani-cat-card:hover .ginani-cat-thumb img { transform: scale(1.04); }
.ginani-cat-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  color: rgba(11,42,91,.5);
  font-size: 15px;
  padding: 14px;
  text-align: center;
  background: linear-gradient(135deg, rgba(11,42,91,.06), rgba(201,162,39,.08));
}
.ginani-cat-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ginani-cat-title { font-weight: 800; font-size: 15px; color: var(--navy); letter-spacing: -.2px; }
.ginani-cat-desc  { color: var(--muted); font-size: 13px; line-height: 1.5; flex: 1; }

/* ------------------------------------------------------------
   12. PATHWAY CARDS
   ------------------------------------------------------------ */
.pathways { position: relative; }
.pathway-grid { align-items: stretch; }
.pathway-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  background: #fff;
}
.pathway-card-featured {
  background: linear-gradient(180deg, var(--accent-soft), #fff 70%);
  border-color: rgba(11,42,91,.14);
}
.pathway-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11,42,91,.07);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid rgba(11,42,91,.1);
}
.pathway-list {
  margin: 0; padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}
.pathway-list li { position: relative; padding-left: 20px; }
.pathway-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand2);
  box-shadow: 0 0 0 4px rgba(201,162,39,.15);
}
.pathway-card .btn { margin-top: auto; }

/* ------------------------------------------------------------
   13. eSCHOOL SHOWCASE
   ------------------------------------------------------------ */
.eschool-showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sage-soft), #fff 100%);
}
.eschool-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
}
.eschool-copy,
.eschool-panel {
  position: relative;
  border: 1px solid rgba(11,42,91,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.eschool-copy { padding: 30px; }
.eschool-panel {
  padding: 24px;
  background: linear-gradient(180deg, rgba(11,42,91,.95), rgba(12,31,67,.95));
  color: #fff;
}
.eschool-pill { margin-bottom: 16px; }
.eschool-copy h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
.eschool-lead { margin: 0 0 22px; max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.eschool-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.eschool-pillars { display: grid; gap: 12px; }
.eschool-pillar {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(11,42,91,.09);
  background: rgba(248,250,252,.88);
  transition: box-shadow .18s;
}
.eschool-pillar:hover { box-shadow: var(--shadow-soft); }
.eschool-pillar strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
}
.eschool-pillar p { margin: 0; color: var(--muted); font-size: 14px; }
.eschool-panel-head { margin-bottom: 18px; }
.eschool-panel-head .eyebrow { color: rgba(255,255,255,.55); }
.eschool-panel-head h3 { margin: 8px 0 0; color: #fff; font-size: 26px; }
.eschool-steps { display: grid; gap: 14px; }
.eschool-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .18s;
}
.eschool-step:hover { background: rgba(255,255,255,.09); }
.eschool-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(201,162,39,.95), rgba(242,208,106,.95));
  color: #4f3900;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.eschool-step h4 { margin: 0 0 5px; color: #fff; font-size: 17px; }
.eschool-step p  { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; }
.eschool-signal-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.eschool-signal-bar span {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ------------------------------------------------------------
   14. PRODUCTS GRID
   ------------------------------------------------------------ */
.ginani-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.ginani-product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ginani-products-grid .ginani-product-card {
  flex-direction: row;
  min-height: 268px;
}
.ginani-product-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 18px;
  background: linear-gradient(180deg, var(--accent-soft), #fff 80%);
  border-bottom: 1px solid rgba(234,236,240,.72);
  overflow: hidden;
}
.ginani-products-grid .ginani-product-thumb {
  flex: 0 0 42%;
  min-height: 268px;
  aspect-ratio: auto;
  padding: 24px;
  border-right: 1px solid rgba(234,236,240,.72);
  border-bottom: 0;
}
.ginani-product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .2s ease;
}
.ginani-product-card:hover .ginani-product-thumb img { opacity: .94; }
.ginani-thumb-placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  color: rgba(11,42,91,.55);
  background: linear-gradient(135deg, rgba(11,42,91,.06), rgba(201,162,39,.08));
}
.ginani-product-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ginani-products-grid .ginani-product-body { padding: 24px; gap: 14px; min-width: 0; }
.ginani-product-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.2px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.ginani-products-grid .ginani-product-title { font-size: 18px; line-height: 1.3; }
.ginani-product-title a { color: var(--navy); }
.ginani-product-title a:hover { color: var(--brand); }
.ginani-product-excerpt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.ginani-products-grid .ginani-product-excerpt { font-size: 14px; -webkit-line-clamp: 3; }
.ginani-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ginani-price { font-weight: 900; color: var(--brand); font-size: 16px; }
.ginani-stock {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.ginani-stock.in  { background: rgba(31,122,63,.08); color: #1f7a3f; border: 1px solid rgba(31,122,63,.18); }
.ginani-stock.out { background: rgba(180,35,24,.06); color: #B42318; border: 1px solid rgba(180,35,24,.14); }
.ginani-product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}
.ginani-product-actions .button,
.ginani-product-actions .btn {
  flex: 0 1 auto;
}
.ginani-product-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(11,42,91,.18);
}
.ginani-product-actions .button:hover {
  filter: brightness(.95);
  box-shadow: var(--shadow);
}
.ginani-product-actions .btn {
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--brand);
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ginani-product-actions .btn:hover {
  transform: none;
  box-shadow: none;
  color: var(--accent);
}

/* ------------------------------------------------------------
   15. PROOF / STATS
   ------------------------------------------------------------ */
.proof { padding: 44px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(0deg, rgba(11,42,91,.02), transparent 70%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .18s, box-shadow .18s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat .num { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--brand); line-height: 1.1; }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: 13px; margin-top: 4px; }

/* ------------------------------------------------------------
   16. BLOG / POSTS
   ------------------------------------------------------------ */
.blog { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start; }
.posts { display: grid; gap: 14px; }
.post { border-radius: var(--radius); padding: 18px; background: #fff; overflow: hidden; }
.post h3 { margin: 0 0 7px; font-size: 17px; }
.post h3 a { color: var(--navy); transition: color .15s; }
.post h3 a:hover { color: var(--brand); }
.post p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.post-thumb {
  display: block;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-thumb img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-thumb:hover img { transform: scale(1.04); }
.aside {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--soft);
  position: sticky;
  top: 90px;
}
.aside h3 { margin: 0 0 12px; font-size: 16px; }
.aside ul { margin: 0; padding-left: 0; list-style: none; color: var(--muted); }
.aside li { margin: 10px 0; }
.aside li a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color .15s;
}
.aside li a::before { content: "\2192"; font-size: 12px; color: var(--brand2); }
.aside li a:hover { color: var(--brand); }

/* ------------------------------------------------------------
   17. CTA BANNER
   ------------------------------------------------------------ */
.cta-banner-section { padding-top: 24px; }
.cta-banner {
  padding: 30px 32px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(11,42,91,.04));
  border-color: rgba(11,42,91,.14);
}
.cta-banner-head { margin-bottom: 16px; }
.cta-banner-head h2 { margin: 0 0 6px; }
.cta-banner-head h2::after { display: none; }
.cta-banner-head p { margin: 0; color: var(--muted); }
.cta-banner-actions { margin: 0; }

/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
footer {
  padding: 44px 0 24px;
  border-top: 1px solid var(--border);
  background: linear-gradient(160deg, var(--soft), rgba(11,42,91,.015));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo  { max-width: 130px; height: auto; }
.footer-email, .footer-contact-link { color: var(--brand); font-weight: 700; }
.footer-email:hover, .footer-contact-link:hover { text-decoration: underline; }
.ginani-social { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 9px; }
.ginani-social-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  transition: transform .15s, box-shadow .15s;
}
.ginani-social-link:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* Footer nav list (wp_nav_menu outputs raw <li> items) */
nav.footer-links ul, ul.footer-menu {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
nav.footer-links li a, ul.footer-menu li a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
nav.footer-links li a:hover, ul.footer-menu li a:hover { color: var(--brand); background: rgba(11,42,91,.04); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------
   19. SINGLE / BLOG CONTENT PAGES
   ------------------------------------------------------------ */
.ginani-content { padding: 40px 0 60px; }

/* ---- Prose rhythm ---- */
.ginani-content article > * + * { margin-top: 1.25em; }
.ginani-content article > h1,
.ginani-content article > h2,
.ginani-content article > h3,
.ginani-content article > h4 { margin-top: 2em; margin-bottom: .5em; }
.ginani-content article > h1:first-child,
.ginani-content article > h2:first-child { margin-top: 0; }

/* ---- Headings ---- */
.ginani-content h1 { font-size: clamp(24px, 3vw, 38px); letter-spacing: -.6px; }
.ginani-content h2 { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.3px; }
.ginani-content h3 { font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.2px; }
.ginani-content h4 { font-size: 16px; }
.ginani-content h1,
.ginani-content h2,
.ginani-content h3,
.ginani-content h4 { color: var(--navy); font-family: var(--font-head); line-height: 1.2; }

/* ---- Paragraphs ---- */
.ginani-content p { color: var(--muted); line-height: 1.75; max-width: 78ch; }

/* ---- Images ---- */
.ginani-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.ginani-content figure { margin: 0; }
.ginani-content figure img { width: 100%; border-radius: 10px; }
.ginani-content figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}

/* Standalone images (direct children of article or inside bare <p>):
   cap width and centre so portrait fashion sketches don't fill 1120px */
.ginani-content article > img,
.ginani-content article > p > img {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Elementor leftover wrappers ---- */
/* After migration these divs remain but should not impose their own layout */
.ginani-content .elementor-section { width: 100%; }
.ginani-content .elementor-container { max-width: 100%; }
.ginani-content .elementor-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}
.ginani-content .elementor-column { min-width: 0; }
.ginani-content .elementor-column-wrap,
.ginani-content .elementor-widget-wrap { display: flex; flex-direction: column; gap: 12px; }
.ginani-content .elementor-widget-container img { max-width: 100%; height: auto; border-radius: 10px; }
/* Fusion Builder containers */
.ginani-content .fusion-builder-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.ginani-content .fusion-layout-column { min-width: 0; }

/* ---- Lists ---- */
.ginani-content ul,
.ginani-content ol {
  padding-left: 1.4em;
  color: var(--muted);
  line-height: 1.75;
  max-width: 78ch;
}
.ginani-content ul { list-style: disc; }
.ginani-content ol { list-style: decimal; }
.ginani-content li + li { margin-top: .4em; }
.ginani-content li::marker { color: var(--brand2); font-weight: 700; }

/* ---- Tables (e.g. measurement input tables) ---- */
.ginani-content table {
  border-collapse: collapse;
  width: 100%;
  max-width: 540px;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ginani-content th,
.ginani-content td {
  padding: 8px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.ginani-content th {
  background: var(--soft);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}
.ginani-content tr:last-child td { border-bottom: none; }
.ginani-content tr:nth-child(even) td { background: rgba(11,42,91,.02); }

/* ---- Horizontal rule ---- */
.ginani-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* ---- Blockquote ---- */
.ginani-content blockquote {
  border-left: 4px solid var(--brand2);
  margin: 0;
  padding: 12px 20px;
  background: var(--soft);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-style: italic;
}

/* ---- Links ---- */
.ginani-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ginani-content a:hover { color: var(--brand2); }
.ginani-featured-image {
  margin: 0 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow-soft);
}
.ginani-featured-image img { display: block; width: 100%; height: auto; }
.ginani-featured-image-single,
.ginani-featured-image-page {
  max-height: 520px;
  overflow-y: auto;
}
.ginani-featured-image-list img { aspect-ratio: 16/9; object-fit: cover; }

/* ------------------------------------------------------------
   20. WOOCOMMERCE
   ------------------------------------------------------------ */
.ginani-shop-hero { padding: 28px 0 10px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, rgba(11,42,91,.05), rgba(201,162,39,.07)); }
.ginani-shop-title { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.4px; }
.ginani-shop-desc { margin: 0; color: var(--muted); max-width: 80ch; }
.woocommerce-breadcrumb { margin: 12px 0 20px; font-size: 14px; color: var(--muted); }
.woocommerce-breadcrumb a { color: var(--brand); font-weight: 700; }
.woocommerce-notices-wrapper { margin: 10px 0 16px; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
}
.woocommerce-error { border-left-color: #B42318; }
.woocommerce-info  { border-left-color: #175CD3; }
.woocommerce-message a { font-weight: 800; color: var(--brand); }
.ginani-single { list-style: none; }
.ginani-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}
.ginani-single-gallery {
  min-width: 0;
  width: 100%;
}
.ginani-static-gallery {
  width: 100%;
}
.ginani-static-gallery.has-thumbs {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.ginani-static-gallery.has-thumbs .ginani-static-gallery-main {
  grid-column: 2;
  grid-row: 1;
}
.ginani-static-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(430px, 60vh, 520px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--accent-soft), #fff 82%);
  box-shadow: var(--shadow-soft);
}
.ginani-static-gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  padding: 24px;
  box-sizing: border-box;
}
.ginani-static-gallery-thumbs {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  height: clamp(430px, 60vh, 520px);
  margin-top: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 10px 2px 2px;
  scroll-snap-type: y proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(11,42,91,.35) transparent;
  -webkit-overflow-scrolling: touch;
}
.ginani-static-gallery-thumbs::-webkit-scrollbar {
  width: 8px;
}
.ginani-static-gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.ginani-static-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(11,42,91,.28);
  border-radius: 999px;
}
.ginani-static-gallery-thumb {
  display: block;
  width: 72px;
  flex: 0 0 72px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ginani-static-gallery-thumb:hover,
.ginani-static-gallery-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,42,91,.10);
}
.ginani-static-gallery-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.ginani-single-gallery .woocommerce-product-gallery {
  margin: 0;
  width: 100% !important;
  max-width: 100%;
  min-height: 0;
  height: clamp(430px, 60vh, 520px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--accent-soft), #fff 82%);
  box-shadow: var(--shadow-soft);
}
.ginani-single-gallery .flex-viewport {
  width: 100% !important;
}
.ginani-single-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
  width: 100%;
}
.ginani-single-gallery .woocommerce-product-gallery__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  height: clamp(430px, 60vh, 520px);
}
.ginani-single-gallery .woocommerce-product-gallery__image a {
  display: block;
  width: 100%;
}
.ginani-single-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  max-height: 100%;
  object-fit: contain;
  padding: 24px;
  box-sizing: border-box;
  display: block;
}
.ginani-single-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(11,42,91,.35) transparent;
  -webkit-overflow-scrolling: touch;
}
.ginani-single-gallery .flex-control-thumbs::-webkit-scrollbar {
  height: 8px;
}
.ginani-single-gallery .flex-control-thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.ginani-single-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
  background: rgba(11,42,91,.28);
  border-radius: 999px;
}
.ginani-single-gallery .flex-control-thumbs li {
  width: 56px !important;
  flex: 0 0 56px;
  float: none !important;
  scroll-snap-align: start;
}
.ginani-single-gallery .flex-control-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
}
.ginani-single .ginani-single-gallery,
.ginani-single .ginani-single-summary,
.ginani-single .summary {
  float: none !important;
  width: auto !important;
}
.ginani-single .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
}
.ginani-single-summary {
  position: sticky;
  top: 92px;
  padding: 26px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ginani-single-summary .product_title { margin: 0 0 10px; padding: 0; letter-spacing: -.4px; }
.ginani-single-summary .price { font-weight: 900; color: var(--brand); font-size: 22px; margin-bottom: 14px; }
.ginani-single-summary .woocommerce-product-rating { margin-bottom: 12px; }
.ginani-single-summary .cart { margin: 18px 0; }
.ginani-single-summary .product_meta { font-size: 14px; color: var(--muted); }
.ginani-single-summary .single_add_to_cart_button,
.ginani-single-summary .button {
  border-radius: 999px;
}
.ginani-single-tabs {
  clear: both;
  display: grid;
  gap: 44px;
  min-width: 0;
  width: 100%;
}
.ginani-single-tabs .woocommerce-tabs,
.ginani-single-tabs .related,
.ginani-single-tabs .upsells {
  clear: both;
  float: none !important;
  width: 100% !important;
  max-width: none;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
}
.ginani-single-tabs .woocommerce-tabs {
  padding: 8px 0 12px;
  border-top: 1px solid var(--border);
}
.single-product #jp-relatedposts,
.single-product .jp-relatedposts,
.single-product .sharedaddy.sd-related-posts {
  display: none !important;
}
.ginani-single-tabs .related,
.ginani-single-tabs .upsells {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.ginani-single-tabs .related > h2,
.ginani-single-tabs .upsells > h2 {
  margin: 0 0 22px;
}
.ginani-single-tabs .related ul.products,
.ginani-single-tabs .upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 0;
}

/* ------------------------------------------------------------
   21. MY ACCOUNT
   ------------------------------------------------------------ */
.woocommerce-account .woocommerce {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: flex-start;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 260px;
  flex: 0 0 260px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  display: block !important;
  margin: 0;
  width: 100%;
  border-bottom: 1px solid #e8edf3;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  width: 100%;
  padding: 14px 18px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--brand);
  background: transparent;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #eef4ff;
  color: var(--navy);
  padding-left: 22px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.woocommerce-account .woocommerce-MyAccount-content p {
  line-height: 1.7;
  font-size: 16px;
}
.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--brand);
  font-weight: 600;
}
.woocommerce-account .entry-title { margin-bottom: 24px; }
@media (max-width: 768px) {
  .woocommerce-account .woocommerce { display: block; }
  .woocommerce-account .woocommerce-MyAccount-navigation { width: 100%; margin-bottom: 24px; }
  .woocommerce-account .woocommerce-MyAccount-content { padding: 20px; }
}

/* ------------------------------------------------------------
   23. LEGACY / GENERIC SELECTORS
   ------------------------------------------------------------ */
.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.feature h3 { margin: 0 0 8px; }
.feature p  { margin: 0 0 14px; color: var(--muted); }

div.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
section.related.products,
section.upsells.products,
section.cross-sells.products { display: block; }
.product:not(.ginani-single) {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.ginani-single.product { display: block; }
.single-product div.product.ginani-single {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
}
.single-product div.product.ginani-single .ginani-single-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr) !important;
  gap: 32px !important;
  align-items: start !important;
}
.single-product div.product.ginani-single .ginani-single-gallery,
.single-product div.product.ginani-single .ginani-static-gallery {
  width: 100% !important;
  max-width: none !important;
}
.single-product div.product.ginani-single .ginani-static-gallery-main {
  height: clamp(430px, 60vh, 520px) !important;
  min-height: 0 !important;
}
.single-product div.product.ginani-single .ginani-static-gallery-main img {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
.single-product div.product.ginani-single .ginani-single-summary {
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box;
}
.single-product div.product.ginani-single .ginani-single-tabs {
  width: 100% !important;
  max-width: none !important;
}
.thumb {
  height: 170px;
  background:
    linear-gradient(135deg, rgba(11,42,91,.16), rgba(201,162,39,.14)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.3) 0 10px, transparent 10px 20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: rgba(11,42,91,.88);
  text-align: center;
  padding: 14px;
}
.product .body  { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .title { font-weight: 900; }
.product .meta  { color: var(--muted); font-size: 14px; }
.product .row   { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p  { margin: 0; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------
   24. ACCESSIBILITY
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------
   25. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .ginani-cat-grid,
  ul.products.columns-1, ul.products.columns-2, ul.products.columns-3,
  ul.products.columns-4, ul.products.columns-5, ul.products.columns-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid            { grid-template-columns: 1fr; }
  .hero-right           { order: -1; }
  .hero-lower-row       { margin-top: 20px; }
  .hero-image-card      { max-height: 320px; overflow: hidden; }
  .hero-cards-row       { grid-template-columns: 1fr; }
  .hero-metrics         { grid-template-columns: repeat(3, 1fr); }
  .hero-copy            { max-width: none; }
  .ginani-single-grid   { grid-template-columns: 1fr; }
  .single-product div.product.ginani-single .ginani-single-grid { grid-template-columns: 1fr !important; }
  .ginani-single-summary { position: static; }
  .grid-3               { grid-template-columns: 1fr 1fr; }
  .ginani-products-grid { grid-template-columns: 1fr; }
  .ginani-cat-grid,
  ul.products.columns-1, ul.products.columns-2, ul.products.columns-3,
  ul.products.columns-4, ul.products.columns-5, ul.products.columns-6 { grid-template-columns: repeat(2, 1fr); }
  .stats                { grid-template-columns: repeat(2, 1fr); }
  .blog                 { grid-template-columns: 1fr; }
  .eschool-shell        { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; gap: 24px; }
  .products             { grid-template-columns: repeat(2, 1fr); }
  .site-nav ul          { display: none; }
  .nav-toggle           { display: inline-flex; }
  .header-cta           { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 640px) {
  section { padding: 44px 0; }
  section.hero { padding: 44px 0 32px; }
  h1 { font-size: 28px; }
  .hero-copy h1         { font-size: 28px; }
  .hero-copy .lead      { font-size: 15px; line-height: 1.68; }
  .grid-3, div.products { grid-template-columns: 1fr; }
  .ginani-products-grid { grid-template-columns: 1fr; }
  .ginani-products-grid .ginani-product-card {
    flex-direction: column;
    min-height: 0;
  }
  .ginani-products-grid .ginani-product-thumb {
    flex-basis: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .ginani-product-actions .button { width: 100%; }
  .ginani-product-actions .btn { width: 100%; justify-content: center; }
  .ginani-static-gallery.has-thumbs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ginani-static-gallery.has-thumbs .ginani-static-gallery-main,
  .ginani-static-gallery-thumbs {
    grid-column: 1;
    grid-row: auto;
  }
  .ginani-static-gallery-main { height: clamp(340px, 58vh, 420px); }
  .single-product div.product.ginani-single .ginani-static-gallery-main { height: clamp(340px, 58vh, 420px) !important; }
  .ginani-static-gallery-main img { max-height: 100%; padding: 18px; }
  .single-product div.product.ginani-single .ginani-static-gallery-main img { max-height: 100% !important; }
  .ginani-static-gallery-thumbs {
    flex-direction: row;
    height: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
  }
  .ginani-static-gallery-thumbs::-webkit-scrollbar {
    width: auto;
    height: 8px;
  }
  .ginani-single-gallery .woocommerce-product-gallery__image { height: clamp(340px, 58vh, 420px); min-height: 0; }
  .ginani-single-gallery .woocommerce-product-gallery__image img { max-height: 100%; padding: 18px; }
  .ginani-single-gallery .woocommerce-product-gallery { height: clamp(340px, 58vh, 420px); min-height: 0; }
  .ginani-single-summary { padding: 22px; }
  .ginani-cat-grid,
  ul.products.columns-1, ul.products.columns-2, ul.products.columns-3,
  ul.products.columns-4, ul.products.columns-5, ul.products.columns-6 { grid-template-columns: 1fr 1fr; }
  .stats                { grid-template-columns: 1fr 1fr; }
  .hero-metrics         { grid-template-columns: 1fr; }
  .hero-insight-top     { flex-direction: column; align-items: flex-start; }
  .eschool-copy,
  .eschool-panel,
  .cta-banner           { padding: 20px; }
  .eschool-step         { grid-template-columns: 1fr; }
  .eschool-step-no      { width: 40px; height: 40px; }
  .header-cta           { display: none; }
  .header-auth-link     { display: none; }
  .section-head         { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head .btn    { align-self: flex-start; }
  .cta-row              { flex-direction: column; align-items: flex-start; }
  .cta-row .btn         { width: 100%; max-width: 340px; justify-content: center; }
  .hero-lower-row       { margin-top: 18px; }
  .hero-proof-block     { max-width: none; }
  .hero-proof           { max-width: none; }
  .hero-proof li        { width: 100%; }
  /* On mobile, let content images fill the column */
  .ginani-content article > img,
  .ginani-content article > p > img { max-width: 100%; }
  .ginani-content .elementor-row,
  .ginani-content .fusion-builder-row { grid-template-columns: 1fr 1fr; }
  .ginani-content table { font-size: 13px; }
}
@media (max-width: 420px) {
  .ginani-cat-grid,
  ul.products.columns-1, ul.products.columns-2, ul.products.columns-3,
  ul.products.columns-4, ul.products.columns-5, ul.products.columns-6 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   24. QUANTITY STEPPER (WooCommerce single product)
   ------------------------------------------------------------ */
.qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}
.qty-wrap .qty-dec,
.qty-wrap .qty-inc {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  transition: background .15s;
}
.qty-wrap .qty-dec:hover,
.qty-wrap .qty-inc:hover { background: var(--soft); }
.qty-wrap .qty-dec { border-right: 1px solid var(--border); }
.qty-wrap .qty-inc { border-left:  1px solid var(--border); }
.qty-wrap input.qty {
  width: 56px;
  height: 40px;
  border: none;
  text-align: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-wrap input.qty::-webkit-outer-spin-button,
.qty-wrap input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-wrap input.qty:focus { outline: none; }

/* ------------------------------------------------------------
   25. CORE BLOCK EDITOR / STANDALONE BUILDER
   ------------------------------------------------------------ */
.ginani-content > * + * { margin-top: 1.25rem; }
.ginani-content .alignwide {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.ginani-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.ginani-content .wp-block-columns.alignwide,
.ginani-content .wp-block-columns.alignfull,
.ginani-content .wp-block-group.alignwide,
.ginani-content .wp-block-group.alignfull,
.ginani-content .wp-block-cover.alignwide,
.ginani-content .wp-block-cover.alignfull,
.ginani-homepage-content .wp-block-columns.alignwide,
.ginani-homepage-content .wp-block-columns.alignfull,
.ginani-homepage-content .wp-block-group.alignwide,
.ginani-homepage-content .wp-block-group.alignfull,
.ginani-homepage-content .wp-block-cover.alignwide,
.ginani-homepage-content .wp-block-cover.alignfull {
  padding-left: 24px;
  padding-right: 24px;
}
.ginani-content .wp-block-buttons,
.ginani-content .wp-block-columns,
.ginani-content .wp-block-group,
.ginani-content .wp-block-media-text,
.ginani-content .wp-block-cover,
.ginani-content .wp-block-image,
.ginani-homepage-content .wp-block-buttons,
.ginani-homepage-content .wp-block-columns,
.ginani-homepage-content .wp-block-group,
.ginani-homepage-content .wp-block-media-text,
.ginani-homepage-content .wp-block-cover,
.ginani-homepage-content .wp-block-image {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.ginani-front-page-builder-section,
.ginani-homepage-content-section { padding: 32px 0 16px; }
.ginani-homepage-content {
  max-width: 1180px;
}
.ginani-homepage-post {
  width: 100%;
}

/* ------------------------------------------------------------
   26. BLOCK PATTERNS / VISUAL SYSTEM
   ------------------------------------------------------------ */
.ginani-pattern-shell {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 44px);
}
.ginani-pattern-shell-hero {
  background: linear-gradient(160deg, #fff 0%, var(--accent-soft) 100%);
}
.ginani-surface-soft {
  background: linear-gradient(160deg, var(--soft) 0%, rgba(201,162,39,.06) 100%);
}
.ginani-split-hero,
.ginani-card-grid,
.ginani-faq-grid,
.ginani-stat-strip {
  gap: 18px;
}
.ginani-pattern-shell .wp-block-buttons {
  margin-top: 20px;
}
.ginani-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11,42,91,.65);
}
.ginani-card,
.ginani-proof-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}
.ginani-card-accent {
  background: linear-gradient(180deg, rgba(11,42,91,.04) 0%, rgba(201,162,39,.08) 100%);
}
.ginani-proof-card {
  background: linear-gradient(180deg, #ffffff 0%, rgba(248,250,252,.94) 100%);
}
.ginani-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.ginani-pill-row p {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11,42,91,.06);
  border: 1px solid rgba(11,42,91,.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.ginani-stat-strip .wp-block-column {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  padding: 16px;
}
.ginani-stat-strip h3,
.ginani-stat-strip h4 {
  margin: 0 0 6px;
}
.ginani-cta-band {
  background: linear-gradient(135deg, rgba(11,42,91,.98) 0%, rgba(7,22,46,.96) 100%);
  color: #fff;
}
.ginani-cta-band h1,
.ginani-cta-band h2,
.ginani-cta-band h3,
.ginani-cta-band h4,
.ginani-cta-band p,
.ginani-cta-band .ginani-eyebrow {
  color: #fff;
}
.ginani-cta-band .ginani-eyebrow {
  opacity: .78;
}
.ginani-cta-band .is-style-outline .wp-block-button__link {
  border-color: rgba(255,255,255,.24);
  color: #fff;
}
.ginani-pattern-shell .wp-block-button__link {
  min-width: 170px;
}
@media (max-width: 781px) {
  .ginani-pattern-shell {
    padding: 22px;
  }
  .ginani-pattern-shell .wp-block-button__link {
    width: 100%;
  }
}
