/* SM Steel Mart — industrial B2B: navy + steel + accent (refs: JSW/Packmold/UltraTech cues) */
:root {
  --navy: #0b1f3a;
  --navy-deep: #061326;
  --steel: #3d4f63;
  --mist: #e8edf2;
  --white: #fafbfc;
  --accent: #c41e3a;
  --accent-hover: #a01830;
  --cta-green: #6bbd44;
  --cta-green-hover: #5aa336;
  --text: #1a1f26;
  --muted: #5c6673;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(6, 19, 38, 0.12);
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

/* Consistent keyboard focus across user-facing UI */
:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus-visible {
  outline: 3px solid rgba(196, 30, 58, 0.55);
  outline-offset: 3px;
}

:where(.site-header__icon-btn, .site-header__menu-btn, .site-header__quote-cta):focus-visible {
  outline-offset: 4px;
}

.rms-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.rms-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.rms-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  flex-wrap: wrap;
}

.rms-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}

.rms-logo span {
  color: var(--accent);
}

.rms-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rms-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.rms-nav a:hover {
  color: var(--accent);
}

.rms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.rms-btn--primary {
  background: var(--navy);
  color: #fff;
}

.rms-btn--primary:hover {
  background: #0a2a52;
  color: #fff;
}

.rms-btn--accent {
  background: var(--accent);
  color: #fff;
}

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

.rms-btn--green {
  background: var(--cta-green);
  color: #fff;
}

.rms-btn--green:hover {
  background: var(--cta-green-hover);
  color: #fff;
}

.rms-btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(11, 31, 58, 0.2);
}

/* Hero */
.rms-hero {
  position: relative;
  color: #fff;
  background: var(--navy-deep);
  min-height: min(78vh, 720px);
  display: grid;
  align-items: stretch;
}

.rms-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.rms-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.rms-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 19, 38, 0.92) 0%,
    rgba(6, 19, 38, 0.55) 55%,
    rgba(6, 19, 38, 0.35) 100%
  );
}

.rms-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3.5rem 0 4rem;
}

@media (min-width: 960px) {
  .rms-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.rms-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.rms-hero__lead {
  max-width: 36rem;
  font-size: 1.05rem;
  opacity: 0.92;
  margin: 0;
}

/* Enquiry card */
.rms-card {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.35rem;
}

.rms-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--navy);
}

.rms-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.rms-form input,
.rms-form select,
.rms-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(11, 31, 58, 0.18);
  font: inherit;
  margin-bottom: 0.85rem;
  background: #fff;
}

.rms-form textarea {
  min-height: 96px;
  resize: vertical;
}

.rms-form .rms-btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* Sections */
.rms-section {
  padding: 3.5rem 0;
}

.rms-section--muted {
  background: var(--mist);
}

.rms-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0 0 2rem;
}

.rms-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .rms-split {
    grid-template-columns: 1fr 1fr;
  }
}

.rms-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
}

.rms-benefit {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  text-align: center;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 8px 24px rgba(6, 19, 38, 0.06);
}

.rms-benefit__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #dbe8f7, #f2f6fb);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}

.rms-benefit p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* CTA strip */
.rms-cta-strip {
  background: linear-gradient(120deg, var(--navy) 0%, #132f52 100%);
  color: #fff;
  padding: 2.25rem 0;
}

.rms-cta-strip .rms-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.rms-cta-strip h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  max-width: 36rem;
}

/* Footer */
.rms-footer {
  background: #0a0f14;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 2rem;
  border-top: 3px solid var(--accent);
}

.rms-footer a {
  color: #fff;
  text-decoration: none;
}

.rms-footer a:hover {
  text-decoration: underline;
}

.rms-footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.rms-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rms-social a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
}

/* Product grid (catalog) */
.rms-catalog-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .rms-catalog-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

.rms-filters {
  background: var(--navy-deep);
  color: #e8edf2;
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 88px;
}

.rms-filters h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rms-filters label {
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.rms-filters select {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.rms-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.rms-product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-shadow: 0 10px 30px rgba(6, 19, 38, 0.07);
  display: flex;
  flex-direction: column;
}

.rms-product-card__img {
  aspect-ratio: 1;
  background: var(--mist);
}

.rms-product-card__body {
  padding: 1rem 1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rms-product-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.rms-product-card__sku {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.rms-product-card__actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Cart */
.rms-cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.1);
}

.rms-cart-table th,
.rms-cart-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.rms-cart-table th {
  background: var(--mist);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rms-cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Utilities */
.rms-muted {
  color: var(--muted);
}

.rms-mobile-nav-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
}

@media (max-width: 880px) {
  .rms-header-inner .rms-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .rms-header-inner .rms-nav.rms-nav--open {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.75rem;
  }
  .rms-mobile-nav-toggle {
    display: inline-flex;
  }
  .site-header__inner .site-header__nav--collapsible {
    display: none;
    width: 100%;
    flex: 1 0 100%;
    order: 5;
  }
  .site-header__inner .site-header__nav--collapsible.rms-nav--open {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.75rem;
  }
  .site-header__menu-btn {
    display: inline-flex;
  }
}

/* Skip link + global messages (T01–T03) */
.rms-skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.rms-skip-link:focus {
  left: 0;
  top: 0;
  outline: 3px solid var(--accent);
}

.rms-messages {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
}
.rms-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.rms-message--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}
.rms-message--error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}
.rms-message--warning {
  background: #fff8e1;
  color: #e65100;
  border: 1px solid #ffcc80;
}
.rms-message--info {
  background: var(--mist);
  color: var(--navy);
  border: 1px solid rgba(11, 31, 58, 0.12);
}

/* Unified site header (T19–T24) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}
.site-header--dark {
  background: rgba(15, 23, 40, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  flex-wrap: wrap;
}
.site-header__tray {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}
.site-header__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.site-header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.site-header__icon-btn:hover {
  background: rgba(11, 31, 58, 0.06);
  color: var(--accent);
}
.site-header__icon {
  display: block;
  flex-shrink: 0;
}
.site-header__badge {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
  pointer-events: none;
}
.site-header--dark .site-header__icon-btn {
  color: #e8edf4;
}
.site-header--dark .site-header__icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-header--dark .site-header__badge {
  background: var(--cta-green);
  color: #0f1728;
}
.site-header__quote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  background: var(--accent);
  color: #fff !important;
  border: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    filter 0.15s ease;
}
.site-header__quote-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}
.site-header--dark .site-header__quote-cta {
  background: var(--cta-green);
  color: #0f1728 !important;
}
.site-header--dark .site-header__quote-cta:hover {
  background: var(--cta-green-hover);
  color: #0f1728 !important;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  max-width: min(100%, 22rem);
  color: var(--navy);
  text-decoration: none;
}
.site-header__brand:hover {
  color: var(--navy);
}
.site-header__brand-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: #0a0a0a;
}
.site-header__brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  line-height: 1.12;
}
.site-header__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.22rem, 2.5vw, 1.58rem);
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
}
.site-header__brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-header--dark .site-header__brand {
  color: #fff;
}
.site-header--dark .site-header__brand:hover {
  color: #fff;
}
.site-header--dark .site-header__brand-tagline {
  color: rgba(255, 255, 255, 0.55);
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.site-header__nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.site-header__nav a:hover {
  color: var(--accent);
}
.site-header--dark .site-header__nav a {
  color: #e8edf4;
}
.site-header--dark .site-header__nav a:hover {
  color: #fff;
}
.site-header__menu-btn {
  display: none;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.site-header--dark .site-header__menu-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rms-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rms-details-more {
  margin: 0.75rem 0;
  padding: 0.5rem 0;
  border-top: 1px dashed rgba(11, 31, 58, 0.15);
  border-bottom: 1px dashed rgba(11, 31, 58, 0.15);
}
.rms-details-more summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Global search modal (dialog) */
.rms-search-modal {
  z-index: 200;
  width: min(100vw - 2rem, 36rem);
  max-height: min(85vh, 560px);
  padding: 0;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  color: var(--text);
}
.rms-search-modal::backdrop {
  background: rgba(6, 19, 38, 0.55);
  backdrop-filter: blur(4px);
}
.rms-search-modal__panel {
  padding: 1.35rem 1.35rem 1.15rem;
  position: relative;
}
.rms-search-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.rms-search-modal__close:hover {
  background: var(--mist);
  color: var(--navy);
}
.rms-search-modal__title {
  margin: 0 2.5rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.rms-search-modal__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.rms-search-modal__input {
  flex: 1;
  min-width: 12rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(11, 31, 58, 0.2);
  font-size: 1rem;
  font-family: inherit;
}
.rms-search-modal__input:focus {
  outline: 2px solid rgba(196, 30, 58, 0.35);
  outline-offset: 1px;
}
.rms-search-modal__submit {
  flex-shrink: 0;
}
.rms-search-modal__status {
  min-height: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
}
.rms-search-modal__results {
  margin-top: 0.75rem;
  max-height: min(38vh, 280px);
  overflow: auto;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
  padding-top: 0.75rem;
}
.rms-search-modal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rms-search-modal__item {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}
.rms-search-modal__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.rms-search-modal__hit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  text-decoration: none;
}
.rms-search-modal__hit:hover {
  color: var(--accent);
}
.rms-search-modal__desc {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.rms-search-modal__footer {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.rms-search-modal__full-link {
  font-weight: 600;
  color: var(--navy);
}
.rms-search-modal__hint {
  opacity: 0.85;
}

/* Floating WhatsApp (Wagtail public site only — uses Site settings → WhatsApp number) */
.rms-whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.rms-whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 26px rgba(11, 31, 58, 0.3);
}
.rms-whatsapp-float:focus-visible {
  outline: 3px solid var(--accent, #c8102e);
  outline-offset: 3px;
}
.rms-whatsapp-float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}
@media (max-width: 480px) {
  .rms-whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 52px;
    height: 52px;
  }
}
@media print {
  .rms-whatsapp-float {
    display: none !important;
  }
}

/* Global: vertical “Enquire now” tab (also in jsw-fastbuild.css on Fastbuild pages) */
.fb-enquire-flytab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 9.5rem;
  padding: 0.65rem 0.45rem;
  border: none;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #1a4a9a 0%, #143d7a 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: -4px 4px 20px rgba(11, 31, 58, 0.25);
  cursor: pointer;
  transform: translate3d(100%, -50%, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease,
    visibility 0.28s;
}

.fb-enquire-flytab.is-visible {
  transform: translate3d(0, -50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fb-enquire-flytab:hover,
.fb-enquire-flytab:focus-visible {
  background: linear-gradient(180deg, #1e52a8 0%, #173f82 100%);
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.fb-enquire-flytab__text {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .fb-enquire-flytab {
    transition: none;
  }
}

@media print {
  .fb-enquire-flytab {
    display: none !important;
  }
}
