:root {
  --black: #080b10;
  --black-2: #111722;
  --blue: #0057b8;
  --blue-2: #0b73d9;
  --yellow: #ffd21c;
  --yellow-2: #f3bd00;
  --white: #ffffff;
  --muted: #6c7582;
  --line: rgba(255,255,255,.14);
  --soft: #f4f7fb;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(5, 18, 38, .18);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1280px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 93.75%;
}
body {
  margin: 0;
  color: var(--black);
  background: var(--soft);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section-pad { padding: 72px 0; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--yellow); color: #000; padding: 10px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 16, .92);
  color: var(--white);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 104px; height: 44px; }
.brand-mark img { width: 104px; height: auto; }
.brand-text { display: grid; gap: 0; line-height: 1.15; }
.brand-text strong { font-size: clamp(1rem, 2vw, 1.18rem); letter-spacing: -.02em; }
.brand-text small { color: rgba(255,255,255,.72); font-size: .82rem; }
.main-nav { display: flex; gap: 6px; align-items: center; }
.main-nav a { padding: 10px 12px; border-radius: 999px; color: rgba(255,255,255,.82); font-weight: 650; font-size: .94rem; }
.main-nav a:hover { background: rgba(255,255,255,.11); color: #fff; }
.nav-toggle { display: none; background: var(--yellow); border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 800; }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(255,210,28,.25), transparent 32%),
    linear-gradient(135deg, #003f88 0%, #0057b8 45%, #06121f 100%);
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--yellow);
  opacity: .95;
  transform: rotate(-28deg);
}
.hero-bg::before { width: 420px; height: 72px; right: -110px; top: 130px; }
.hero-bg::after { width: 560px; height: 56px; left: -210px; bottom: 90px; opacity: .18; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) 430px; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--yellow); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.55rem, 7vw, 5.8rem); line-height: .93; letter-spacing: -.07em; margin-bottom: 24px; max-width: 880px; }
h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -.055em; margin-bottom: 18px; }
h3 { font-size: 1.12rem; line-height: 1.2; letter-spacing: -.02em; }
.lead { font-size: clamp(1.06rem, 2vw, 1.28rem); color: rgba(255,255,255,.82); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 850; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.btn-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: currentColor;
}
.btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: #080b10; box-shadow: 0 12px 34px rgba(255,210,28,.26); }
.btn-secondary { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-small { padding: 9px 13px; background: var(--black); color: #fff; font-size: .9rem; }
.quick-info { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-info span { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); border-radius: 999px; padding: 8px 12px; color: rgba(255,255,255,.82); font-size: .92rem; }
.hero-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(5,12,22,.38);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.tarvike-logo { width: 100%; margin: 0 auto 28px; }
.status-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; color: var(--black); border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.status-card small, .mini-grid small { display: block; color: var(--muted); font-size: .88rem; }
.dot { width: 12px; height: 12px; border-radius: 99px; background: #1fc76a; box-shadow: 0 0 0 6px rgba(31,199,106,.12); flex: none; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-grid div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px; }
.mini-grid strong { display: block; color: #fff; }
.hero-side-action,
.hero-side-note {
  display: grid;
  gap: 6px;
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 16px;
}

.hero-side-action {
  color: #fff;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.hero-side-action:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
}

.hero-side-note small,
.hero-side-action small {
  color: rgba(255,255,255,.72);
}

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 560px); gap: 28px; align-items: end; margin-bottom: 34px; }
.section-head.compact { display: block; max-width: 820px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.offers-section { background: #fff; }
.offers-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.offer-card { background: #fff; border: 1px solid #e7edf5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 38px rgba(5, 18, 38, .08); display: flex; flex-direction: column; min-height: 100%; }
.offer-img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eef4fb, #fff); display: grid; place-items: center; padding: 22px; border-bottom: 1px solid #e8eef5; }
.offer-img img { width: 100%; height: 100%; object-fit: contain; }
.offer-body { padding: 18px; display: grid; gap: 8px; }
.offer-body h3 { margin-bottom: 2px; }
.price { font-size: 1.55rem; line-height: 1; font-weight: 950; color: var(--blue); letter-spacing: -.04em; margin-bottom: 0; }
.lowest, .validity { color: var(--muted); font-size: .82rem; margin-bottom: 0; }
.offer-body p:last-child { margin-bottom: 0; }
.services-section { background: var(--black); color: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)); border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); padding: 24px; min-height: 220px; }
.service-number { color: var(--yellow); font-weight: 950; letter-spacing: .08em; }
.service-card p { color: rgba(255,255,255,.72); margin-bottom: 0; }
.news-section { background: var(--soft); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 40px rgba(5, 18, 38, .08); border: 1px solid #e7edf5; }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e8eef5; }
.news-card div { padding: 20px; }
.news-card time { color: var(--blue); font-weight: 850; font-size: .9rem; }
.news-card p { color: var(--muted); margin-bottom: 0; }
.news-empty { padding: 22px 0; }
.news-empty p { margin: 0 0 12px; color: var(--muted); }
.news-empty a { color: var(--blue); font-weight: 800; text-underline-offset: 3px; }
.story-section { background: #fff; }
.story-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, 520px); gap: 32px; align-items: stretch; }
.story-copy { background: var(--black); color: #fff; padding: clamp(28px, 6vw, 58px); border-radius: var(--radius); position: relative; overflow: hidden; }
.story-copy::after { content: ""; position: absolute; width: 220px; height: 46px; right: -60px; bottom: 58px; background: var(--yellow); transform: rotate(-28deg); opacity: .88; }
.story-copy p:not(.eyebrow) { color: rgba(255,255,255,.74); max-width: 760px; }
.owner-card { border-radius: var(--radius); overflow: hidden; background: var(--soft); border: 1px solid #e4ebf4; }
.owner-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: #dbe7f3; }
.owner-content { padding: 24px; }
.owner-content p { color: var(--muted); }
blockquote { margin: 18px 0 0; padding: 16px; border-left: 5px solid var(--yellow); background: #fff; border-radius: 0 16px 16px 0; font-weight: 850; }
.contact-section { background: linear-gradient(135deg, #004899, #0064d2); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr); gap: 22px; align-items: stretch; }
.contact-panel { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: clamp(24px, 5vw, 42px); }
.contact-list { display: grid; gap: 14px; margin: 24px 0; }
.contact-list div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-list dt { color: var(--yellow); font-weight: 900; }
.contact-list dd { margin: 0; color: rgba(255,255,255,.84); }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a { padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); font-weight: 800; }
.map-wrap { min-height: 430px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.22); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding: 34px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: center; }
.footer-logo { width: 108px; margin-bottom: 12px; }
.footer-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.footer-actions a { color: #fff; border-bottom: 1px solid var(--yellow); }

/* Admin */
.admin-body { background: #eef3f9; color: var(--black); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #003e86, #07111f); }
.login-card { width: min(100%, 420px); background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 16px; }
.login-card img { width: 260px; margin: 0 auto 8px; }
.login-card h1 { color: var(--black); font-size: 2rem; letter-spacing: -.04em; margin-bottom: 0; }
.admin-topbar { position: sticky; top: 0; z-index: 20; background: var(--black); color: #fff; min-height: 68px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.admin-topbar div { display: grid; line-height: 1.2; }
.admin-topbar span { color: rgba(255,255,255,.6); font-size: .88rem; }
.admin-topbar nav { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-topbar a { color: #fff; border-bottom: 1px solid var(--yellow); }
.admin-shell { width: min(100% - 28px, 1120px); margin: 26px auto 90px; }
.admin-form { display: grid; gap: 18px; }
.admin-section { background: #fff; border: 1px solid #dfe7f1; border-radius: var(--radius); padding: 22px; box-shadow: 0 14px 34px rgba(5,18,38,.06); }
.admin-section h2 { font-size: 1.55rem; margin: 0 0 16px; letter-spacing: -.035em; }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-form label, .login-card label { display: grid; gap: 7px; color: #2a3442; font-weight: 800; font-size: .92rem; }
.admin-form input, .admin-form textarea, .login-card input { width: 100%; border: 1px solid #cdd8e6; border-radius: 12px; padding: 11px 12px; font: inherit; font-weight: 500; background: #fff; }
.admin-form textarea { resize: vertical; }
.checkbox-label { align-content: center; grid-template-columns: 22px 1fr !important; display: grid !important; background: #f5f8fc; border: 1px solid #dfe7f1; border-radius: 12px; padding: 11px 12px; }
.checkbox-label input { width: 18px; }
.repeat-card { background: #f8fafc; border: 1px solid #dce5ef; border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.admin-help { color: var(--muted); margin-top: -8px; }
.admin-message, .admin-error { padding: 13px 16px; border-radius: 14px; font-weight: 800; }
.admin-message { background: #e7f8ef; color: #0a6d38; border: 1px solid #bce9cf; }
.admin-error { background: #fff0f0; color: #8a1111; border: 1px solid #f0b9b9; }
.admin-savebar { position: sticky; bottom: 14px; background: rgba(8,11,16,.9); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); padding: 12px; border-radius: 999px; display: flex; gap: 10px; justify-content: center; box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.admin-savebar .btn-secondary { color: #fff; }

@media (max-width: 1100px) {
  .offers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
}
@media (max-width: 860px) {
  .section-pad { padding: 56px 0; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; left: 16px; right: 16px; top: 82px; display: none; flex-direction: column; align-items: stretch; padding: 14px; border-radius: 20px; background: #fff; color: var(--black); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { color: var(--black); border-radius: 14px; }
  .main-nav a:hover { background: #eef3f9; color: var(--black); }
  .brand-mark, .brand-mark img { width: 88px; }
  .brand-text small { display: none; }
  .hero { min-height: auto; }
  .section-head, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .offers-grid, .services-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-actions { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-topbar { align-items: flex-start; flex-direction: column; padding: 14px 18px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--container)); }
  h1 { font-size: 2.72rem; }
  h2 { font-size: 2.15rem; }
  .offers-grid, .services-grid, .news-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .hero-actions, .admin-savebar { align-items: stretch; flex-direction: column; border-radius: 24px; }
  .btn { width: 100%; }
  .contact-grid { gap: 16px; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
}


/* --- 2026-04 mobile and publish fixes --- */
html {
  scroll-padding-top: 104px;
}

section[id] {
  scroll-margin-top: 104px;
}

.site-header {
  z-index: 1000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  z-index: 2;
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-bg::before {
  z-index: 1;
  opacity: .72;
}

.hero-bg::after {
  z-index: 1;
}

.offer-img {
  aspect-ratio: auto;
  height: clamp(150px, 18vw, 220px);
}

.offer-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offer-card.has-missing-image .offer-img,
.news-card.has-missing-image > img,
.owner-card.has-missing-image > img {
  display: none !important;
}

.offer-card.has-missing-image .offer-body {
  padding-top: 24px;
}

.story-copy > * {
  position: relative;
  z-index: 2;
}

.story-copy::after {
  z-index: 1;
  opacity: .72;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 18px;
}

.contact-actions .btn-primary {
  color: #080b10;
}

.contact-actions .btn-secondary {
  color: #fff;
}

.admin-shell {
  padding-bottom: 130px;
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 96px;
  }

  section[id] {
    scroll-margin-top: 96px;
  }

  .hero-bg::before {
    right: -190px;
    top: 165px;
    width: 460px;
    height: 58px;
    opacity: .52;
  }

  .hero-bg::after {
    opacity: .12;
  }

  .section-head {
    gap: 12px;
  }

  .admin-shell {
    width: min(100% - 20px, 1120px);
    margin-top: 18px;
    padding-bottom: 150px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 88px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark,
  .brand-mark img {
    width: 92px;
  }

  .brand-text strong {
    font-size: 1rem;
    line-height: 1.08;
  }

  .nav-toggle {
    padding: 12px 18px;
    font-size: 1rem;
  }

  .main-nav {
    top: 98px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 2.85rem);
    letter-spacing: -.06em;
  }

  .lead {
    font-size: 1.03rem;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-actions .btn {
    min-height: 54px;
  }

  .quick-info span {
    max-width: 100%;
  }

  .hero-card {
    padding: 22px;
  }

  .tarvike-logo {
    margin-bottom: 22px;
  }

  .offer-img {
    height: clamp(176px, 48vw, 250px);
    padding: 18px;
  }

  .offer-body {
    padding: 22px;
  }

  .price {
    font-size: 1.8rem;
  }

  .services-grid,
  .news-grid,
  .offers-grid {
    gap: 18px;
  }

  .service-card {
    min-height: auto;
    padding: 26px;
  }

  .story-copy::after {
    right: -84px;
    bottom: 36px;
    opacity: .58;
  }

  .contact-actions {
    flex-direction: column;
  }

  .social-row a {
    flex: 1 1 auto;
    text-align: center;
  }

  .admin-savebar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}



/* --- Admin rich text controls and public news formatting --- */
.rich-text {
  white-space: pre-line;
  color: var(--muted);
  margin-top: 10px;
}

.rich-text strong {
  color: var(--black);
  font-weight: 950;
}

.rich-text em {
  font-style: italic;
}

.rich-text mark {
  background: rgba(255, 217, 26, .38);
  color: var(--black);
  padding: .08em .22em;
  border-radius: .35em;
}

.rich-text a {
  color: var(--blue);
  font-weight: 850;
  border-bottom: 1px solid currentColor;
}

.rich-editor {
  display: grid;
  gap: 8px;
}

.format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.format-toolbar button {
  border: 1px solid #cdd8e6;
  background: #fff;
  color: var(--black);
  border-radius: 999px;
  padding: 8px 11px;
  font: inherit;
  font-size: .86rem;
  font-weight: 850;
  cursor: pointer;
}

.format-toolbar button:hover,
.format-toolbar button:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, .12);
  outline: none;
}

.offer-details {
  margin-top: 0;
  color: var(--black);
}

/* --- Automatic translucent text panels for offer cards --- */
.offer-card {
  position: relative;
  isolation: isolate;
}

.offer-img {
  position: relative;
  z-index: 1;
  border-bottom: 0;
}

.offer-body {
  position: relative;
  z-index: 2;
  margin: -34px 14px 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, var(--offer-panel-opacity, .92));
  border: 1px solid rgba(215, 225, 237, .84);
  box-shadow: 0 14px 34px rgba(5, 18, 38, .14);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
}

.offer-body h3,
.offer-body p {
  position: relative;
  z-index: 1;
}

.offer-card.has-missing-image .offer-body {
  margin: 16px;
}

@media (max-width: 560px) {
  .offer-body {
    margin: -30px 16px 18px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, var(--offer-panel-opacity, .94));
  }

  .offer-card.has-missing-image .offer-body {
    margin: 18px;
  }
}


/* --- Clickable offer/news image lightbox --- */
.offer-card[data-lightbox-src],
.news-card[data-lightbox-src] {
  cursor: zoom-in;
}

.offer-card[data-lightbox-src]:focus-visible,
.news-card[data-lightbox-src]:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none !important;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(3, 7, 12, .86);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.image-lightbox__figure {
  width: min(100%, 1080px);
  max-height: min(88vh, 920px);
  margin: 0;
  display: grid;
  gap: 12px;
}

.image-lightbox__figure img {
  width: 100%;
  max-height: calc(88vh - 84px);
  object-fit: contain;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.image-lightbox__figure figcaption {
  color: #fff;
  text-align: center;
  font-weight: 850;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}

.image-lightbox__close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 5001;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #080b10;
  padding: 12px 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.34);
}

.image-lightbox__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox__figure img {
    max-height: calc(86vh - 76px);
    border-radius: 16px;
  }

  .image-lightbox__close {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    padding: 11px 15px;
  }
}


/* --- Hero lead form, contact modal, chat widget, admin messages --- */
.hero-grid {
  align-items: start;
}

.hero-side {
  display: grid;
  gap: 18px;
  align-self: start;
  padding-top: 8px;
}

.hero-contact-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,255,.96));
  color: var(--black);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.22);
  overflow: hidden;
}

.hero-contact-card .eyebrow,
.contact-modal .eyebrow {
  color: var(--blue);
}

.hero-contact-card h2,
.contact-modal h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: .98;
  margin-bottom: 0;
}

.hero-contact-launch {
  display: none;
}

.lead-assistant {
  display: grid;
  gap: 16px;
  padding: 22px 22px 0;
}

.lead-assistant__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.lead-assistant__status {
  flex: none;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(10, 102, 213, .1);
  color: var(--blue);
  padding: 8px 12px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lead-assistant__thread {
  display: grid;
  gap: 10px;
}

.lead-assistant__bubble {
  max-width: 92%;
  border-radius: 18px;
  padding: 12px 14px;
  line-height: 1.42;
  box-shadow: inset 0 0 0 1px rgba(8, 24, 48, .05);
}

.lead-assistant__bubble--bot {
  background: linear-gradient(135deg, #eef4fb, #ffffff);
  color: #102035;
}

.lead-quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-chip {
  border: 1px solid #d6e3f2;
  border-radius: 999px;
  background: #fff;
  color: #113054;
  padding: 10px 13px;
  font: inherit;
  font-size: .88rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.lead-chip:hover {
  transform: translateY(-1px);
  border-color: #aac7ea;
  box-shadow: 0 10px 24px rgba(5, 18, 38, .08);
}

.lead-form,
.chat-form {
  display: grid;
  gap: 12px;
}

.lead-form--assistant {
  padding: 20px 22px 22px;
}

.lead-form__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.field-grid--compact {
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field span {
  font-size: .92rem;
  font-weight: 850;
}

.lead-form input,
.lead-form textarea,
.chat-form input,
.chat-form textarea {
  width: 100%;
  border: 1px solid #cfdae8;
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
  color: var(--black);
}

.lead-form textarea,
.chat-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field--error input,
.form-field--error textarea {
  border-color: #d93616;
  box-shadow: 0 0 0 3px rgba(217, 54, 22, .08);
}

.form-status,
.form-error {
  margin: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: .93rem;
}

.form-status--success {
  background: #e9f8ef;
  color: #0c6a38;
  border: 1px solid #bde7cb;
}

.form-status--error,
.form-error {
  background: #fff1f1;
  color: #961717;
  border: 1px solid #f1bcbc;
}

.form-note,
.news-sync-note {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.offers-carousel {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.offers-carousel__viewport {
  position: relative;
  min-height: 420px;
}

.offers-carousel__slide {
  display: none;
  grid-template-columns: minmax(280px, .96fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #061a32, #0057b8 58%, #0b73d9 100%);
  color: #fff;
  box-shadow: 0 28px 68px rgba(5, 18, 38, .18);
}

.offers-carousel__slide.is-active {
  display: grid;
}

.offers-carousel__visual {
  background: #fff;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
}

.offers-carousel__visual img {
  width: 100%;
  max-width: 430px;
  max-height: 420px;
  object-fit: contain;
}

.offers-carousel__body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 34px 34px 34px 0;
}

.offers-carousel__body .eyebrow {
  color: var(--yellow);
  margin-bottom: 2px;
}

.offers-carousel__body h3 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: .98;
  letter-spacing: -.05em;
  margin: 0;
}

.offers-carousel__body .price {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.offers-carousel__body .lowest {
  color: rgba(255,255,255,.78);
  font-size: .98rem;
  font-weight: 700;
  margin: -4px 0 0;
}

.offers-carousel__code {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-weight: 700;
}

.offers-carousel__nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.offers-carousel__dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 87, 184, .18);
  cursor: pointer;
}

.offers-carousel__dot.is-active {
  width: 36px;
  background: var(--yellow);
}

.offers-section__subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 14px;
}

.offers-section__subhead h3 {
  margin: 0;
  font-size: 1.16rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 4200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 17, .7);
  backdrop-filter: blur(6px);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: min(90vh, 900px);
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  color: var(--black);
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.contact-modal__close {
  border: 0;
  border-radius: 999px;
  background: #edf3fa;
  color: var(--black);
  padding: 10px 14px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  margin-left: auto;
  display: inline-flex;
}

.shop-overlay[hidden] {
  display: none !important;
}

.shop-overlay {
  position: fixed;
  inset: 0;
  z-index: 4100;
}

.shop-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, .72);
  backdrop-filter: blur(10px);
}

.shop-overlay__panel {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: auto;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,210,28,.18), transparent 26%),
    linear-gradient(135deg, #eff5fb 0%, #ffffff 52%, #ecf3fb 100%);
  color: var(--black);
}

.shop-overlay__chrome {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px min(4vw, 40px);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 31, 55, .08);
}

.shop-overlay__close {
  border: 0;
  border-radius: 999px;
  background: #eaf1f9;
  color: var(--black);
  padding: 10px 14px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.shop-hero,
.shop-section {
  width: min(100% - 32px, 1240px);
  margin-inline: auto;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  padding: 28px 0 18px;
}

.shop-hero__copy,
.shop-hero__panel {
  border-radius: 30px;
  box-shadow: 0 22px 56px rgba(5, 18, 38, .08);
}

.shop-hero__copy {
  padding: 30px;
  background: linear-gradient(135deg, #041a32, #0057b8 58%, #0b73d9);
  color: #fff;
}

.shop-hero__copy .eyebrow,
.shop-section .eyebrow {
  margin-bottom: 10px;
}

.shop-hero__copy h2 {
  margin-bottom: 16px;
}

.shop-hero__copy p:not(.eyebrow) {
  color: rgba(255,255,255,.82);
}

.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.shop-hero__panel {
  padding: 24px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(13, 31, 55, .08);
}

.shop-search {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.shop-search input {
  width: 100%;
  border: 1px solid #d3dfec;
  border-radius: 18px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

.shop-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.shop-hero__meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef4fb;
  color: #24415f;
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 800;
}

.shop-section {
  padding: 10px 0 26px;
}

.shop-section__head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.shop-section__head h3 {
  margin: 0;
  font-size: 1.44rem;
}

.shop-browser__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.shop-browser__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-browser__trail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.shop-browser__crumb {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 850;
  padding: 0;
  cursor: pointer;
}

.shop-browser__crumb.is-current {
  color: var(--black);
  cursor: default;
}

.shop-browser__crumb-sep {
  color: var(--muted);
  font-weight: 700;
}

.shop-category-grid,
.shop-subcategory-grid,
.shop-product-grid {
  display: grid;
  gap: 18px;
}

.shop-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-subcategory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-category-card,
.shop-subcategory-card,
.shop-product-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(12, 31, 56, .09);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(5, 18, 38, .08);
}

.shop-category-card[hidden],
.shop-subcategory-card[hidden],
.shop-product-card[hidden] {
  display: none !important;
}

.shop-category-card,
.shop-product-card__body,
.shop-subcategory-card__body {
  padding: 22px;
}

.shop-category-card {
  display: grid;
  gap: 10px;
}

.shop-category-card__tag,
.shop-product-card__eyebrow {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shop-category-card p,
.shop-subcategory-card p,
.shop-product-card__note {
  color: var(--muted);
  margin: 0;
}

.shop-category-card a,
.shop-subcategory-card a,
.shop-product-card a {
  color: var(--blue);
  font-weight: 850;
  border-bottom: 1px solid currentColor;
  width: fit-content;
}

.shop-subcategory-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
}

.shop-subcategory-card__image {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf4fb, #ffffff);
  padding: 16px;
}

.shop-subcategory-card__image img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.shop-subcategory-card__body,
.shop-product-card__body {
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(217, 226, 238, .92);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(5, 18, 38, .10);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.shop-subcategory-card__actions,
.shop-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.shop-product-card {
  display: grid;
  grid-template-rows: 220px auto;
  background: linear-gradient(180deg, #eef4fb, #ffffff);
}

.shop-product-card__image {
  display: grid;
  place-items: center;
  padding: 20px 20px 56px;
  background: linear-gradient(135deg, #edf4fb, #ffffff);
}

.shop-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-product-card__body {
  margin: -38px 16px 16px;
  position: relative;
  z-index: 2;
}

.shop-subcategory-card__body {
  align-content: start;
}

.shop-product-card__code {
  margin: 0;
  color: #355473;
  font-size: .9rem;
  font-weight: 700;
}

.shop-product-card__price {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 950;
  color: var(--blue);
  letter-spacing: -.04em;
}

.shop-empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.stock-section {
  padding-top: 18px;
}

.stock-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.stock-section__sync {
  margin: 0;
  color: #516a84;
  font-size: .9rem;
  font-weight: 800;
}

.stock-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 240px) minmax(180px, 240px);
  gap: 12px;
  margin-bottom: 16px;
}

.stock-tree-controls {
  display: flex;
  justify-content: flex-start;
  margin: -4px 0 14px;
}

.stock-tree-toggle {
  min-height: 44px;
  background: #eef5ff;
  color: var(--blue);
  border-color: rgba(0, 87, 184, .22);
}

.stock-tree-toggle:hover {
  background: #e3efff;
  color: #003f88;
}

.stock-field {
  display: grid;
  gap: 7px;
  color: #203954;
  font-size: .86rem;
  font-weight: 900;
}

.stock-field input,
.stock-field select {
  width: 100%;
  border: 1px solid #d3dfec;
  border-radius: 8px;
  background: #fff;
  color: var(--black);
  font: inherit;
  padding: 11px 12px;
}

.stock-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.stock-grid[hidden] {
  display: none !important;
}

.stock-group {
  border: 1px solid rgba(13, 31, 55, .12);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 26px rgba(5, 18, 38, .06);
  overflow: hidden;
}

.stock-group__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: #fff;
  color: var(--black);
  padding: 15px 16px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stock-group__button strong,
.stock-group__button small,
.stock-group__button em {
  display: block;
}

.stock-group__button em {
  margin-bottom: 2px;
  color: #6d7f91;
  font-size: .74rem;
  font-style: normal;
  font-weight: 900;
}

.stock-group__button strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.stock-group__button small {
  margin-top: 3px;
  color: #516a84;
  font-size: .86rem;
  font-weight: 800;
}

.stock-group__button[aria-expanded="true"] {
  background: #f5f9fd;
}

.stock-group__action {
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e9f2fb;
  color: var(--blue);
  padding: 7px 10px;
  font-size: .84rem;
  font-weight: 900;
}

.stock-group__panel {
  display: grid;
  gap: 10px;
  padding: 10px 10px 12px;
  border-top: 1px solid rgba(13, 31, 55, .09);
  background: #f8fbfe;
}

.stock-group__panel[hidden] {
  display: none !important;
}

.stock-group__panel .stock-group {
  box-shadow: none;
  background: #fff;
}

.stock-group[data-stock-depth]:not([data-stock-depth="1"]) {
  border-color: rgba(13, 31, 55, .1);
  box-shadow: none;
}

.stock-group[data-stock-depth]:not([data-stock-depth="1"]) .stock-group__button {
  min-height: 48px;
  padding: 10px 12px;
}

.stock-group[data-stock-depth]:not([data-stock-depth="1"]) .stock-group__button strong {
  font-size: .98rem;
}

.stock-group[data-stock-depth]:not([data-stock-depth="1"]) .stock-group__button small {
  margin-top: 1px;
  font-size: .8rem;
}

.stock-group[data-stock-depth]:not([data-stock-depth="1"]) .stock-group__action {
  padding: 6px 9px;
  font-size: .78rem;
}

.stock-group__panel .stock-group__panel {
  gap: 6px;
  padding: 6px 0 8px;
  background: #fff;
}

.stock-group__panel .stock-card {
  margin-left: 0;
}

.stock-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  border: 1px solid rgba(0, 87, 184, .22);
  border-radius: 8px;
  background: #eef6ff;
  padding: 14px;
  margin-bottom: 12px;
}

.stock-cart[hidden] {
  display: none !important;
}

.stock-cart strong,
.stock-cart span {
  display: block;
}

.stock-cart__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
}

.stock-cart__items span {
  border-radius: 8px;
  background: #fff;
  color: #25425f;
  padding: 5px 8px;
  font-size: .84rem;
  font-weight: 850;
}

.stock-cart__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.stock-cart__actions [data-stock-whatsapp] {
  background: #e8f8ef;
  color: #075e54;
  border-color: rgba(7, 94, 84, .24);
}

.stock-cart__actions [data-stock-whatsapp]:hover {
  background: #d9f4e4;
  color: #075e54;
}

.stock-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(13, 31, 55, .12);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(5, 18, 38, .07);
  padding: 16px;
}

.stock-card__top,
.stock-card__prices,
.stock-card__stock,
.stock-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stock-card__group {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stock-card__code {
  margin-left: auto;
  color: #375774;
  font-size: .84rem;
  font-weight: 850;
}

.stock-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.stock-card__maker,
.stock-card__fitment {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.stock-card__prices strong {
  color: var(--blue);
  font-size: 1.28rem;
  line-height: 1;
}

.stock-card__prices span {
  color: #516a84;
  font-size: .88rem;
  font-weight: 800;
}

.stock-card__stock {
  margin: 0;
}

.stock-card__stock div {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 5px;
  border: 1px solid #d9e5f0;
  border-radius: 8px;
  background: #f4f8fc;
  padding: 6px 8px;
}

.stock-card__stock dt,
.stock-card__stock dd {
  margin: 0;
  font-size: .84rem;
  font-weight: 900;
}

.stock-card__stock dt {
  color: #516a84;
}

.stock-card__stock dd {
  color: var(--black);
}

.stock-card__detail[hidden] {
  display: none !important;
}

.stock-card__detail {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-top: 1px solid #d9e5f0;
  padding-top: 12px;
}

.stock-card__image {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-radius: 8px;
  background: #f3f7fb;
  border: 1px solid #d9e5f0;
  padding: 10px;
}

.stock-card__image[data-lightbox-src] {
  cursor: zoom-in;
}

.stock-card__image[data-lightbox-src]:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.stock-card__image img {
  width: 100%;
  height: 110px;
  object-fit: contain;
}

.stock-card__detail-body {
  display: grid;
  gap: 10px;
}

.stock-card__detail-body p {
  margin: 0;
  color: #344f6a;
  font-size: .9rem;
}

.stock-card__info[hidden] {
  display: none !important;
}

.stock-card__info {
  display: grid;
  gap: 10px;
  border-top: 1px solid #d9e5f0;
  padding-top: 12px;
}

.stock-card__info h4 {
  margin: 0;
  color: var(--black);
  font-size: .95rem;
}

.stock-card__info-count,
.stock-card__empty-info {
  margin: 0;
  color: #516a84;
  font-size: .88rem;
  font-weight: 800;
}

.stock-card__info-list {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stock-card__info-list li {
  border: 1px solid #d9e5f0;
  border-radius: 8px;
  background: #f7fafd;
  padding: 7px 9px;
  color: #263f59;
  font-size: .88rem;
  line-height: 1.3;
}

.stock-card__info-list--codes {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stock-card__info-list--codes li {
  display: grid;
  gap: 2px;
}

.stock-card__info-list--codes strong {
  color: var(--black);
}

.stock-card__info-list--codes span {
  color: #516a84;
  font-size: .8rem;
  font-weight: 800;
}

.stock-card__info-list--replacements li {
  display: grid;
  gap: 3px;
}

.stock-card__info-list--replacements strong {
  color: var(--black);
}

.stock-card__info-list--replacements span,
.stock-card__info-list--replacements small {
  color: #516a84;
  font-size: .8rem;
  font-weight: 800;
}

.stock-card__info-list--replacements em {
  color: var(--blue);
  font-style: normal;
  font-weight: 950;
}

.shop-overlay__panel .btn-secondary {
  background: rgba(6, 20, 40, .08);
  color: var(--black);
  border-color: rgba(9, 25, 50, .12);
}

.news-card__actions {
  margin-top: 16px;
}

.spring-raffle-trigger {
  position: fixed;
  left: -340px;
  bottom: var(--raffle-lane, 112px);
  z-index: 75;
  display: grid;
  gap: 8px;
  align-items: center;
  justify-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.spring-raffle-trigger__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--black);
  box-shadow: 0 12px 30px rgba(8, 20, 38, .18);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}

.spring-raffle-trigger svg {
  width: min(270px, 42vw);
  filter: drop-shadow(0 16px 30px rgba(7, 20, 32, .26));
}

.spring-raffle-trigger.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.spring-raffle-trigger.is-running {
  animation: spring-raffle-drive-right 18s linear forwards;
}

.spring-raffle-trigger.is-running.is-reverse {
  animation-name: spring-raffle-drive-left;
}

@keyframes spring-raffle-drive-right {
  from { transform: translateX(-360px); }
  to { transform: translateX(calc(100vw + 420px)); }
}

@keyframes spring-raffle-drive-left {
  from { transform: translateX(calc(100vw + 420px)) scaleX(-1); }
  to { transform: translateX(-420px) scaleX(-1); }
}

.raffle-modal[hidden] {
  display: none !important;
}

.raffle-modal {
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.raffle-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 11, 20, .72);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.raffle-modal__panel {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  max-height: min(88vh, 960px);
  overflow: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,255,.96));
  border: 1px solid rgba(218, 227, 239, .96);
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
  padding: 28px;
}

.raffle-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  border: 0;
  border-radius: 999px;
  background: rgba(8,11,16,.08);
  color: var(--black);
  padding: 10px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.raffle-modal__lead,
.raffle-modal__note {
  color: var(--muted);
}

.raffle-form {
  display: grid;
  gap: 14px;
}

.raffle-form__actions {
  display: flex;
  justify-content: flex-start;
}

.news-card__actions a {
  color: var(--blue);
  font-weight: 850;
  border-bottom: 1px solid currentColor;
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 4300;
  width: min(100% - 24px, 390px);
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #080b10;
  padding: 13px 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

.chat-toggle__badge {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #0ea44f;
  box-shadow: 0 0 0 5px rgba(14,164,79,.14);
}

.chat-panel {
  margin-top: 12px;
  background: #fff;
  color: var(--black);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
  border: 1px solid #dfe8f1;
  overflow: hidden;
  max-height: min(78vh, 680px);
  display: flex;
  flex-direction: column;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, #003f88, #0b73d9);
  color: #fff;
  flex: none;
}

.chat-panel__head strong {
  display: block;
  font-size: 1rem;
}

.chat-panel__head span {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-top: 2px;
}

.chat-panel__close {
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 9px 12px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.chat-thread,
.chat-form {
  padding: 16px 18px 18px;
}

.chat-thread {
  display: grid;
  gap: 10px;
  padding-bottom: 4px;
  flex: none;
}

.chat-form {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.chat-bubble {
  max-width: 88%;
  border-radius: 18px;
  padding: 12px 14px;
  line-height: 1.45;
}

.chat-bubble--bot {
  background: #eef4fb;
  color: var(--black);
}

.chat-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chat-direct-actions .btn {
  flex: 1 1 160px;
  min-height: 46px;
  justify-content: center;
  border-radius: 8px;
  white-space: normal;
}

.chat-direct-actions .btn-secondary {
  background: #eef5ff;
  color: var(--blue);
  border-color: rgba(0, 87, 184, .22);
}

.chat-direct-actions .btn-secondary:hover {
  background: #e3efff;
  color: #003f88;
}

.chat-direct-actions [data-chat-direct="whatsapp"] {
  background: #e8f8ef;
  color: #075e54;
  border-color: rgba(7, 94, 84, .24);
}

.chat-direct-actions [data-chat-direct="whatsapp"]:hover {
  background: #d9f4e4;
  color: #075e54;
}

.chat-direct-actions [data-chat-direct="sms"] {
  background: #eef5ff;
  color: var(--blue);
  border-color: rgba(0, 87, 184, .22);
}

.chat-direct-actions [data-chat-direct="sms"]:hover {
  background: #e3efff;
  color: #003f88;
}

.chat-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.chat-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
}

.chat-direct-link__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: currentColor;
}

.chat-direct-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chat-direct-link.is-disabled {
  opacity: 1;
  pointer-events: none;
  background: #f2f6fb;
  color: #0057b8;
  border-color: rgba(0, 87, 184, .2);
  cursor: not-allowed;
}

.chat-direct-link.is-disabled .chat-direct-link__icon {
  opacity: 1;
  color: #0057b8;
}

.chat-direct-actions [data-chat-direct="whatsapp"].is-disabled {
  background: #e8f8ef;
  color: #075e54;
  border-color: rgba(7, 94, 84, .24);
}

.chat-direct-actions [data-chat-direct="whatsapp"].is-disabled .chat-direct-link__icon {
  color: #075e54;
}

.chat-panel__footer {
  padding: 0 18px 18px;
  flex: none;
}

.chat-panel__close--footer {
  width: 100%;
  justify-content: center;
  background: #edf3fa;
  color: var(--black);
}

.sync-status {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.sync-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sync-preview-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: #f6f9fc;
  border: 1px solid #dfe7f1;
}

.sync-preview-card span {
  color: var(--muted);
  font-size: .88rem;
}

.raffle-admin-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #dfe7f1;
  background: #f8fbff;
}

.raffle-admin-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.raffle-admin-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.raffle-draw-result {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #eef7e9;
  border: 1px solid #d5ebc8;
}

.raffle-day-groups {
  display: grid;
  gap: 18px;
}

.raffle-day-group {
  display: grid;
  gap: 12px;
}

.raffle-day-group h4,
.raffle-entry-card h5 {
  margin: 0;
}

.raffle-entry-grid {
  display: grid;
  gap: 14px;
}

.raffle-entry-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e4ebf4;
}

.raffle-entry-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.inquiry-grid {
  display: grid;
  gap: 16px;
}

.inquiry-card {
  border: 1px solid #dfe7f1;
  border-radius: 22px;
  background: #f8fbff;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.inquiry-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.inquiry-card__top time {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.inquiry-card h3 {
  margin: 8px 0 0;
}

.inquiry-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e3eefc;
  color: var(--blue);
  padding: 6px 10px;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.inquiry-need,
.inquiry-details,
.inquiry-log p {
  margin: 0;
}

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

.inquiry-meta div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4ebf4;
}

.inquiry-meta dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
}

.inquiry-meta dd {
  margin: 0;
  color: var(--black);
  font-weight: 700;
}

.inquiry-log {
  display: grid;
  gap: 8px;
  border-top: 1px solid #dfe7f1;
  padding-top: 14px;
  color: var(--muted);
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.inquiry-actions form {
  margin: 0;
}

.btn-danger {
  background: #ffe9e9;
  color: #9b1c1c;
  border: 1px solid #f1b8b8;
  box-shadow: none;
}

.btn-danger:hover {
  background: #ffdede;
  color: #7f1414;
}

@media (min-width: 861px) and (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
  }

  .shop-category-grid,
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-subcategory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-contact-card--desktop {
    display: none;
  }

  .hero-contact-launch {
    display: inline-flex;
    width: 100%;
    margin: 10px 0 2px;
  }

  .lead-form__footer,
  .offers-carousel__slide,
  .shop-hero,
  .shop-category-grid,
  .shop-subcategory-grid,
  .shop-product-grid,
  .stock-grid {
    grid-template-columns: 1fr;
  }

  .stock-toolbar,
  .stock-section__head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .offers-carousel__visual {
    min-height: 280px;
  }

  .offers-carousel__body {
    padding: 0 22px 24px;
  }

  .shop-subcategory-card {
    grid-template-columns: 1fr;
  }

  .chat-widget {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .chat-toggle {
    width: 100%;
    justify-content: center;
  }

  .sync-preview-grid,
  .inquiry-meta {
    grid-template-columns: 1fr;
  }

  .raffle-admin-card__head,
  .raffle-entry-card__top {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-contact-card,
  .contact-modal__panel {
    border-radius: 22px;
  }

  .lead-assistant,
  .lead-form--assistant,
  .shop-overlay__chrome,
  .shop-hero__copy,
  .shop-hero__panel,
  .shop-category-card,
  .shop-product-card__body,
  .shop-subcategory-card__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .chat-thread,
  .chat-form,
  .chat-panel__head {
    padding-left: 16px;
    padding-right: 16px;
  }

  .chat-direct-actions {
    flex-direction: column;
  }

  .stock-cart,
  .stock-card__detail {
    grid-template-columns: 1fr;
  }

  .stock-cart__actions {
    justify-content: stretch;
  }

  .stock-cart__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .lead-quick-picks,
  .offers-carousel__actions,
  .shop-subcategory-card__actions,
  .shop-product-card__actions,
  .shop-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .offers-carousel__dot.is-active {
    width: 24px;
  }

  .inquiry-card__top {
    flex-direction: column;
  }

  .spring-raffle-trigger svg {
    width: min(220px, 62vw);
  }

  .spring-raffle-trigger__label {
    font-size: .76rem;
    padding: 7px 12px;
  }

  .raffle-modal {
    padding: 12px;
  }

  .raffle-modal__panel {
    padding: 22px 18px;
    border-radius: 22px;
  }
}

/* --- Admin navigation final overrides --- */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 78px;
  padding: 12px clamp(16px, 3vw, 34px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #080b10;
  color: #fff;
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 12px 32px rgba(5, 18, 38, .2);
}

.admin-brand {
  display: flex !important;
  align-items: center;
  gap: 16px;
  min-width: 0;
  line-height: 1.15;
}

.admin-brand img {
  width: 98px;
  height: auto;
  flex: 0 0 auto;
}

.admin-brand > div {
  display: grid;
  gap: 2px;
}

.admin-brand strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 950;
}

.admin-brand span {
  color: rgba(255, 255, 255, .68);
  font-size: .88rem;
}

.admin-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #080b10;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 217, 26, .24);
}

.admin-menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.admin-menu-toggle em {
  font-style: normal;
}

.admin-top-actions {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-top-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
}

.admin-layout {
  width: min(100% - 28px, 1360px);
  margin: 22px auto 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-body.admin-menu-open .admin-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-menu {
  display: none;
  position: sticky;
  top: 98px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #d8e4f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(5, 18, 38, .08);
}

.admin-body.admin-menu-open .admin-menu {
  display: block;
}

.admin-menu nav {
  display: grid;
  gap: 6px;
}

.admin-menu strong {
  margin: 14px 8px 4px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-menu strong:first-child {
  margin-top: 0;
}

.admin-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 10px;
  color: #142033;
  font-weight: 850;
}

.admin-menu a:hover,
.admin-menu a:focus-visible {
  background: #eaf3ff;
  color: var(--blue);
}

.admin-shell {
  width: 100%;
  margin: 0;
  padding-bottom: 130px;
}

.admin-form {
  gap: 20px;
}

.admin-section {
  border-radius: 16px;
  padding: clamp(18px, 2vw, 24px);
}

.admin-section h2 {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.1;
}

.admin-section-head {
  align-items: center;
  flex-wrap: wrap;
}

.repeat-card {
  border-radius: 14px;
  background: #f7faff;
}

.repeat-card__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.admin-savebar {
  z-index: 45;
  width: max-content;
  max-width: calc(100vw - 28px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 960px) {
  .admin-topbar {
    min-height: auto;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    justify-content: stretch;
    align-items: center;
    gap: 10px;
  }

  .admin-brand {
    gap: 12px;
  }

  .admin-brand img {
    width: 118px;
  }

  .admin-brand strong {
    font-size: 1rem;
    line-height: 1.05;
  }

  .admin-menu-toggle {
    width: 46px;
    min-height: 46px;
    height: 46px;
    padding: 0;
    margin-left: auto;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border-radius: 14px;
  }

  .admin-menu-toggle em {
    display: none;
  }

  .admin-menu-toggle span {
    width: 21px;
    height: 2px;
  }

  .admin-top-actions {
    display: none !important;
  }

  .admin-layout,
  .admin-body.admin-menu-open .admin-layout {
    width: min(100% - 20px, 1360px);
    margin-top: 16px;
    grid-template-columns: 1fr;
  }

  .admin-menu,
  .admin-body.admin-menu-open .admin-menu {
    position: fixed;
    left: 10px;
    right: 10px;
    top: 76px;
    z-index: 70;
    max-height: calc(100vh - 92px);
  }

  .admin-menu:not(.is-open) {
    display: none;
  }

  .admin-menu.is-open {
    display: block;
  }

  .admin-savebar {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .admin-brand img {
    width: 108px;
  }

  .admin-brand span {
    display: none;
  }

  .admin-brand {
    gap: 10px;
  }

  .admin-brand strong {
    font-size: .94rem;
  }

  .admin-section {
    padding: 16px;
  }

  .admin-section-head {
    align-items: stretch;
  }

  .admin-section-head .btn,
  .repeat-card__actions .btn {
    width: 100%;
  }

  .admin-savebar {
    padding: 8px;
    gap: 8px;
    border-radius: 20px;
  }

  .admin-savebar .btn {
    min-height: 46px;
    padding: 10px 12px;
    font-size: .92rem;
  }
}

.social-feed-section {
  background: #eaf3fb;
  color: var(--black);
}

.social-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
}

.social-feed-intro h2 {
  max-width: 560px;
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 1.06;
}

.social-feed-handle {
  margin-bottom: 28px;
  color: #526276;
  font-size: 1.08rem;
  font-weight: 750;
}

.social-feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-feed-links .btn-secondary {
  background: #fff;
  border-color: #bad0e6;
  color: var(--blue);
}

.social-feed-embed {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.social-feed-embed__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 850;
}

.social-feed-scroller { position: relative; width: 100%; }

.social-feed-viewport {
  --feed-viewport-height: 780px;
  position: relative;
  box-sizing: border-box;
  height: 260px;
  overflow: hidden;
  background: #fff;
  scrollbar-width: none;
}
.social-feed-viewport::-webkit-scrollbar { display: none; }
.social-feed-embed.is-ready .social-feed-viewport {
  height: var(--feed-viewport-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 20px;
}

.social-feed-viewport__open,
.social-feed-viewport__shield { display: none; }
.social-feed-embed.is-ready .social-feed-viewport__open,
.social-feed-embed.is-ready .social-feed-viewport__shield {
  position: sticky;
  top: 0;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: var(--feed-viewport-height);
  margin: 0 0 calc(-1 * var(--feed-viewport-height));
  padding: 0;
  border: 0;
  background: transparent;
}
.social-feed-viewport__open { cursor: zoom-in; }
.social-feed-viewport__open:focus-visible,
.social-feed-scrollbar:focus-visible,
.facebook-feed-modal__header button:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }

.social-feed-embed iframe {
  display: block;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  width: 100%;
  height: 5000px;
  border: 0;
  background: #fff;
}

.social-feed-embed.is-ready iframe { position: static; visibility: visible; }
.social-feed-embed.is-ready .social-feed-embed__unavailable { display: none; }

.social-feed-scrollbar { display: none; }
.social-feed-embed.is-ready .social-feed-scrollbar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  width: 20px;
  border-radius: 6px;
  background: #d7e7f5;
  cursor: pointer;
  touch-action: none;
}
.social-feed-scrollbar__thumb {
  position: absolute;
  top: 0;
  left: 4px;
  width: 12px;
  min-height: 44px;
  border-radius: 6px;
  background: var(--blue);
}
.social-feed-scrollbar:hover .social-feed-scrollbar__thumb,
.social-feed-scrollbar:focus-visible .social-feed-scrollbar__thumb { background: #003e83; }

.social-feed-embed__unavailable {
  min-height: 260px;
  padding: 32px;
  background: #fff;
  border-left: 5px solid var(--yellow);
}

.social-feed-embed__unavailable h3 { margin: 0 0 12px; }
.social-feed-embed__unavailable p { color: var(--muted); }
.social-feed-embed__unavailable a { color: var(--blue); font-weight: 850; text-underline-offset: 3px; }

.social-feed-embed__fallback {
  display: none;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.social-feed-embed.is-ready .social-feed-embed__fallback { display: inline-block; }

.facebook-feed-modal[hidden] { display: none !important; }
.facebook-feed-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  flex-direction: column;
  background: #eaf3fb;
  color: var(--black);
}
body.facebook-feed-open { overflow: hidden; }
.facebook-feed-modal__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100vw - 1200px) / 2));
  background: var(--black);
  color: #fff;
}
.facebook-feed-modal__header h2 { margin: 0; font-size: 1.25rem; }
.facebook-feed-modal__header button {
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--black);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.facebook-feed-modal__body {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  padding: 18px;
}
.facebook-feed-modal__feed { width: 100%; max-width: 1020px; height: 100%; justify-self: auto; }
.facebook-feed-modal__feed .social-feed-scroller { height: 100%; }

.instagram-feed {
  margin-top: 40px;
}

.instagram-feed__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.instagram-feed__head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.instagram-feed__head a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.instagram-feed__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.instagram-feed__grid a {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #d7e6f4;
}

.instagram-feed__grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 860px) {
  .social-feed-layout {
    grid-template-columns: 1fr;
  }

  .social-feed-embed {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .social-feed-links .btn {
    width: 100%;
  }

  .facebook-feed-modal__body { padding: 8px; }
  .facebook-feed-modal__header { padding: 10px 12px; }
  .facebook-feed-modal__header h2 { font-size: 1rem; }

  .instagram-feed__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
