/* ==========================================================================
   SPG / Fortius CMS — Theme CSS (fully self-contained)
   --------------------------------------------------------------------------
   Drop this file into the CMS as-is. It contains every style the theme
   needs (header, footer, mini-cart, hero, marquee, brand pillars, news,
   white-glove, custom-solutions, modal, etc.) plus a slot-promotion shim
   so the CMS's <header data-theme-content="header"> / <footer ...> tags
   pick up .site-header / .site-footer styles automatically.
   ========================================================================== */

/* --- Slot promotion shim ------------------------------------------------- */
header[data-theme-content="header"],
main[data-theme-content="main"],
footer[data-theme-content="footer"] { display: block; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Outfit', sans-serif;
  background: #0d1117;
  color: #ffffff;
}

.site-header {
  position: fixed;
  top: calc(var(--emulation-banner-offset, 0px) + var(--onboarding-banner-offset, 0px));
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.75) 0%, rgba(10, 22, 40, 0.45) 45%, rgba(10, 22, 40, 0) 100%);
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.site-header.scrolled::before {
  opacity: 0;
}

.site-header.scrolled .header-top {
  background: transparent;
}

.site-header.scrolled .header-ordering-label {
  color: #0a1628;
}

.site-header.scrolled .header-patient-name {
  color: #0a1628;
}

.site-header.scrolled .header-no-patient {
  color: rgba(10, 22, 40, 0.5);
}

.site-header.scrolled .cart-icon-svg path,
.site-header.scrolled .cart-icon-svg circle {
  stroke: #0a1628;
}

.site-header.scrolled .header-icon-btn svg circle,
.site-header.scrolled .header-icon-btn svg path {
  stroke: #0a1628;
}

.site-header.scrolled .header-patient-remove svg {
  color: #e74c3c;
}

.site-header.scrolled .header-patient-remove svg line,
.site-header.scrolled .header-patient-remove svg path {
  stroke: #e74c3c;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 35px;
  background: transparent;
}

.header-cobrand-link {
  display: inline-flex;
  align-items: center;
  margin-right: 32px;
  flex-shrink: 0;
}

.header-cobrand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-top > .header-logo-link {
  margin-right: auto;
}

.header-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-logo-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220%;
  height: 300%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.25) 35%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: -1;
}

.site-header.scrolled .header-logo-link::before {
  display: none;
}

.header-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header-cart-area {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 16px;
}

.cart-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  cursor: pointer;
}

.cart-icon-svg {
  width: 28px;
  height: 28px;
}

.mini-cart-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: rgba(10, 14, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.cart-icon-wrapper:hover .mini-cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mini-cart-header {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-cart-items {
  padding: 12px 16px;
  max-height: 240px;
  overflow-y: auto;
}

.mini-cart-empty {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 20px 0;
}

.mini-cart-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-cart-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1;
}

.mini-cart-remove:hover {
  color: #e54545;
  background: rgba(229, 69, 69, 0.15);
}

.mini-cart-item:last-child {
  border-bottom: none;
}

.mini-cart-item-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.mini-cart-item-info {
  flex: 1;
  min-width: 0;
}

.mini-cart-item-name {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-cart-item-detail {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.mini-cart-qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.mini-cart-qty-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  width: 20px;
  height: 20px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}

.mini-cart-qty-btn:hover {
  background: rgba(239, 189, 69, 0.2);
  border-color: rgba(239, 189, 69, 0.4);
  color: #EFBD45;
}

.mini-cart-qty-val {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  min-width: 16px;
  text-align: center;
}

.mini-cart-item-price {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #DCA327;
  white-space: nowrap;
}

.mini-cart-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.mini-cart-browse {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #DCA327;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mini-cart-browse:hover {
  color: #EFBD45;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 32px;
}

.sitemap-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sitemap-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #EFBD45;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(239, 189, 69, 0.15);
}

.sitemap-col a {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.sitemap-col a:hover {
  color: #DCA327;
}

@media (max-width: 900px) {
  .sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 20px 24px;
  }
}

@media (max-width: 600px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.cart-icon-svg path,
.cart-icon-svg circle {
  stroke: #ffffff;
  transition: stroke 0.3s ease;
}

.header-icon-btn svg circle,
.header-icon-btn svg path {
  stroke: #ffffff;
  transition: stroke 0.3s ease;
}

.header-patient-remove svg {
  color: #e74c3c;
  transition: color 0.3s ease;
}

.header-patient-remove svg line,
.header-patient-remove svg path {
  stroke: #e74c3c;
  transition: stroke 0.3s ease;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  background: #000000;
  border: 1.5px solid #EFBD45;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #EFBD45;
  line-height: 1;
  padding: 0 4px;
  transition: transform 0.2s ease;
}

.cart-badge.cart-badge-bump {
  animation: cart-badge-bump 0.5s ease;
}

@keyframes cart-badge-bump {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.45); background: #22c55e; border-color: #22c55e; color: #ffffff; }
  60%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.cart-plus-one {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 22px;
  padding: 2px 6px;
  background: #22c55e;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 11px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translate(0, 0);
  animation: cart-plus-one-fly 0.9s ease forwards;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(34,197,94,0.4);
}

@keyframes cart-plus-one-fly {
  0%   { opacity: 0; transform: translate(0, 4px); }
  20%  { opacity: 1; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(0, -28px); }
}

.header-patient-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
}

.header-ordering-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.header-patient-selector {
  position: relative;
}

.header-patient-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 10px 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

.header-patient-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.header-patient-btn.has-patient {
  border-color: rgba(239, 189, 69, 0.3);
  background: rgba(239, 189, 69, 0.08);
}

.header-patient-selected-name {
  font-size: 13px;
  font-weight: 500;
  color: #EFBD45;
  white-space: nowrap;
}

.header-patient-placeholder {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.header-patient-chevron {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.header-patient-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #141a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px;
  z-index: 9999;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  max-height: 320px;
  overflow-y: auto;
}

.header-patient-dropdown.open {
  display: block;
  animation: patientDropFade 0.15s ease;
}

@keyframes patientDropFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-patient-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.header-patient-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.header-patient-option-active {
  color: #EFBD45;
  font-weight: 600;
  background: rgba(239, 189, 69, 0.08);
}

.header-patient-option-office {
  font-weight: 600;
  color: #66AF4E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px 6px 0 0;
  margin-bottom: 2px;
}

.header-patient-option-office:hover {
  background: rgba(102, 175, 78, 0.1);
  color: #66AF4E;
}

.header-patient-option-office.header-patient-option-active {
  color: #66AF4E;
  background: rgba(102, 175, 78, 0.12);
}

.header-patient-option-clear {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 6px 6px;
  margin-top: 2px;
}

.header-patient-option-clear:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
}

.site-header.scrolled .header-patient-btn {
  background: rgba(10, 22, 40, 0.05);
  border-color: rgba(10, 22, 40, 0.12);
}

.site-header.scrolled .header-patient-btn:hover {
  background: rgba(10, 22, 40, 0.08);
}

.site-header.scrolled .header-patient-btn.has-patient {
  border-color: rgba(220, 163, 39, 0.3);
  background: rgba(220, 163, 39, 0.06);
}

.site-header.scrolled .header-patient-selected-name {
  color: #DCA327;
}

.site-header.scrolled .header-patient-placeholder {
  color: rgba(10, 22, 40, 0.45);
}

.site-header.scrolled .header-patient-chevron {
  color: rgba(10, 22, 40, 0.4);
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
}

.header-icon-btn:hover {
  opacity: 0.8;
}

.header-icon-btn svg {
  width: 24px;
  height: 24px;
}

.header-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 104px;
  padding: 0 35px;
  height: 36px;
  background: rgba(0, 0, 0, 0.85);
}

.header-nav-bar a {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  line-height: 36px;
}

.header-nav-bar a:hover {
  color: #EFBD45;
}

.header-nav-bar a.active,
.header-nav-bar .nav-dropdown-trigger.active {
  color: #EFBD45;
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.4;
}

.nav-dropdown-menu a:hover {
  background: rgba(239, 189, 69, 0.15);
  color: #EFBD45;
}

.account-dropdown {
  position: relative;
}

.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  min-width: 200px;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.account-dropdown:hover .account-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.4;
}

.account-dropdown-menu a:hover {
  background: rgba(239, 189, 69, 0.15);
  color: #EFBD45;
}

.account-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.account-signout {
  color: rgba(255, 255, 255, 0.6) !important;
}

.account-signout:hover {
  color: #EFBD45 !important;
}

.hero-video-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-light-gradient {
  display: none;
}

.hero-gradient {
  display: none;
}

.hero-slogan {
  position: absolute;
  bottom: 10%;
  left: 6%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.slogan-accent-rule {
  width: 0;
  height: 4px;
  background: #EFBD45;
  margin-bottom: 18px;
  opacity: 0;
  animation: ruleExpand 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

@keyframes ruleExpand {
  to {
    width: 70px;
    opacity: 1;
  }
}

.slogan-line {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 88px;
  letter-spacing: 5px;
  color: #ffffff;
  line-height: 0.95;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.8),
    0 4px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-30px);
  animation: sloganReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  display: flex;
  width: 510px;
  align-items: baseline;
}

.slogan-left {
  display: flex;
  justify-content: space-between;
  width: 180px;
  flex-shrink: 0;
}

.slogan-gap {
  width: 50px;
  flex-shrink: 0;
}

.slogan-right {
  display: flex;
  justify-content: space-between;
  width: 280px;
  flex-shrink: 0;
}

.slogan-line-1 {
  animation-delay: 0.35s;
}

.slogan-line-2 {
  animation-delay: 0.55s;
}

.slogan-line-3 {
  color: #EFBD45;
  animation-delay: 0.75s;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.8),
    0 4px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(239, 189, 69, 0.2);
}

@keyframes sloganReveal {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-content {
  padding-top: 0;
}

.product-slider-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 60px 80px;
  background: #ffffff;
}

.product-slider-header {
  text-align: center;
  margin-bottom: 36px;
}

.product-slider-accent-rule {
  width: 60px;
  height: 3px;
  background: #66AF4E;
  margin: 0 auto 20px;
}

.product-slider-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 3px;
  color: #111;
  line-height: 1;
  margin: 0;
}

.product-slider-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #999;
  letter-spacing: 1px;
  margin-top: 8px;
}

.product-slider-constrain {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

.product-slider-container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  background: none;
  color: #999999;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease;
  padding: 0;
}

.slider-arrow:hover {
  color: #333333;
}

.slider-arrow svg {
  width: 32px;
  height: 32px;
}

.slider-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.product-card {
  flex: 0 0 calc(25% - 15px);
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-card-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #EFBD45;
  text-align: center;
  padding: 12px 8px;
  background: #ffffff;
  transition: color 0.2s ease, background 0.2s ease;
}

.product-card:hover .product-card-name {
  color: #EFBD45;
  background: #000000;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cccccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dot.active {
  background: #555555;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: #999999;
}

.home-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.home-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.home-marquee-right .home-marquee-track {
  animation: homeMarqueeRight 30s linear infinite;
}

@keyframes homeMarqueeRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.home-marquee .product-card {
  flex: 0 0 auto;
  width: 200px;
}

.explore-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #EFBD45;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s, color 0.2s;
  text-decoration: none;
  margin-top: 36px;
}

.explore-btn:hover {
  background-color: #000000;
  color: #EFBD45;
}

.explore-btn:active {
  transform: scale(0.97);
}

.explore-btn-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  transition: color 0.2s;
}

.explore-btn:hover .explore-btn-icon {
  color: #EFBD45;
}

.product-categories-section {
  padding: 80px 60px;
  background: #f5f5f5;
}

.product-categories-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product-categories-header {
  text-align: center;
  margin-bottom: 48px;
}

.product-categories-accent-rule {
  width: 60px;
  height: 3px;
  background: #EFBD45;
  margin: 0 auto 20px;
}

.product-categories-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 3px;
  color: #111;
  line-height: 1;
  margin: 0;
}

.product-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.category-card-label {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}

.brand-pillars {
  background: #111318;
  padding: 52px 60px;
  border-top: 1px solid rgba(102, 175, 78, 0.15);
  border-bottom: 1px solid rgba(102, 175, 78, 0.15);
}

.brand-pillars-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.brand-pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
a.brand-pillar:hover { transform: translateY(-2px); opacity: 0.9; cursor: pointer; }

.brand-pillar-divider {
  width: 1px;
  height: 80px;
  background: rgba(102, 175, 78, 0.2);
  flex-shrink: 0;
}

.brand-pillar-icon {
  width: 48px;
  height: 48px;
}

.brand-pillar-icon svg {
  width: 100%;
  height: 100%;
}

.brand-pillar-stat {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 3px;
  color: #66AF4E;
  line-height: 1;
}

.brand-pillar-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.4;
}

.b2b-banner-section {
  padding: 80px 60px;
  background: #0d1117;
}

.b2b-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.b2b-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.white-glove-section {
  padding: 80px 60px;
  background: #ffffff;
}

.white-glove-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.white-glove-header {
  text-align: center;
  margin-bottom: 24px;
}

.white-glove-accent-rule {
  width: 60px;
  height: 3px;
  background: #66AF4E;
  margin: 0 auto 20px;
}

.white-glove-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 3px;
  color: #111;
  line-height: 1;
  margin: 0;
}

.white-glove-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #66AF4E;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.white-glove-intro {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #555;
  text-align: center;
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.white-glove-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  margin-bottom: 48px;
}

.white-glove-card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.white-glove-card:hover {
  border-color: #66AF4E;
  box-shadow: 0 4px 20px rgba(102, 175, 78, 0.1);
}

.white-glove-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: rgba(102, 175, 78, 0.2);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.white-glove-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  margin: 0 0 8px;
}

.white-glove-card-text {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.white-glove-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  background: #66AF4E;
  padding: 14px 44px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.white-glove-cta:hover {
  background: #000;
  color: #66AF4E;
}

.white-glove-cta-icon {
  width: 18px;
  height: 18px;
}

.site-footer {
  display: flex;
  flex-direction: column;
}

.footer-texture {
  background: url('/assets/NewSolutionsPattern.jpg') repeat;
  background-size: auto;
  padding: 48px 60px 32px;
}

.footer-gold-line {
  height: 3px;
  background: linear-gradient(90deg, #EFBD45, #d4a43a, #EFBD45);
}

.footer-bar {
  background: #000000;
  padding: 16px 0;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.news-section {
  padding: 80px 60px;
  background: #0d1117;
}

.home-news-section {
  position: relative;
  overflow: hidden;
}

.home-news-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.home-news-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.home-news-content {
  position: relative;
  z-index: 2;
}

.home-news-content .news-card {
  background: rgba(255, 255, 255, 0.28);
  border-top: 4px solid #EFBD45;
  border-radius: 10px;
}

.home-news-content .news-card-summary {
  color: #444444;
}

.home-news-content .news-card-title {
  color: #DCA327;
}

.news-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 48px;
  letter-spacing: 3px;
  color: #EFBD45;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1;
}

.news-heading-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: #EFBD45;
  margin: 0 auto 48px;
  border: none;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #EFBD45;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.news-card:hover::after {
  transform: scaleX(1);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(239, 189, 69, 0.25);
}

.news-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(transparent, rgba(13, 17, 23, 0.6));
  pointer-events: none;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-content {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #DCA327;
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-card-summary {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.news-read-more {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #EFBD45;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s ease;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-read-more::after {
  content: '\2192';
  font-size: 14px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.news-card:hover .news-read-more::after {
  transform: translateX(4px);
}

.news-read-more:hover {
  color: #ffffff;
}

.news-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.news-modal {
  background: #ffffff;
  border-radius: 16px;
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15), 0 24px 64px rgba(0, 0, 0, 0.3);
  border: 1.5px solid #EFBD45;
}

.news-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 0 rgba(239, 189, 69, 0);
}

.news-modal-close:hover {
  background: #DCA327;
  border-color: #DCA327;
  color: #ffffff;
  transform: rotate(90deg) scale(1.15);
  box-shadow: 0 0 18px rgba(220, 163, 39, 0.3);
}

.news-modal-close svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-modal-image {
  display: none;
}

.news-modal-image img {
  display: none;
}

.news-modal-body {
  padding: 36px;
}

.news-modal-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: #DCA327;
  margin-bottom: 24px;
  line-height: 1.3;
}

.news-modal-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #333333;
  line-height: 1.8;
}

.news-modal-text strong,
.news-modal-text b {
  color: #DCA327;
  font-weight: 700;
  font-size: 17px;
  display: block;
  margin-top: 8px;
  margin-bottom: 4px;
}

.news-modal-text p {
  margin-bottom: 16px;
}

.news-modal-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.news-modal-text ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
}

.news-modal-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DCA327;
}

.state-columns {
  display: flex;
  gap: 32px;
  margin: 16px 0;
}

.state-col {
  flex: 1;
}

.state-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.state-col ul li {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #444444;
  padding: 3px 0 3px 20px;
  line-height: 1.5;
}

.custom-solutions-section {
  position: relative;
  background: #0a0e14;
  padding: 80px 60px 60px;
}

.custom-solutions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.custom-solutions-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 40px 32px;
  min-height: 380px;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

.custom-solutions-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}

.custom-solutions-col:first-child {
  background-image: url('/assets/custom-solutions-bg.jpg');
}

.custom-solutions-col:last-child {
  background-image: url('/assets/invested-bg.jpg');
}

.custom-solutions-col > * {
  position: relative;
  z-index: 2;
}

.custom-solutions-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.custom-solutions-light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.custom-solutions-text {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin: 0;
}

.custom-solutions-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.custom-solutions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: rgba(220, 163, 39, 0.9);
  padding: 14px 32px;
  border-radius: 50px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.custom-solutions-link:hover {
  background: #DCA327;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .custom-solutions-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .custom-solutions-section {
    padding: 60px 30px 40px;
  }

  .custom-solutions-heading {
    font-size: 26px;
  }
}

/* ==========================================================================
   SPG Dialog form controls — dark theme overrides for inputs/buttons
   inside Radix dialogs and any dialog-portaled modal.
   ========================================================================== */
[role="dialog"] {
  font-family: 'Outfit', sans-serif;
}

[role="dialog"] label {
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[role="dialog"] input[type="text"],
[role="dialog"] input[type="number"],
[role="dialog"] input[type="email"],
[role="dialog"] input[type="tel"],
[role="dialog"] input[type="password"],
[role="dialog"] input:not([type]),
[role="dialog"] textarea,
[role="dialog"] select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  padding: 11px 14px !important;
  outline: none !important;
  transition: border-color 0.2s ease;
}

[role="dialog"] input:focus,
[role="dialog"] textarea:focus,
[role="dialog"] select:focus {
  border-color: rgba(239, 189, 69, 0.5) !important;
  box-shadow: none !important;
}

[role="dialog"] select option,
[role="dialog"] select optgroup {
  background: #15171c !important;
  color: #ffffff !important;
}

[role="dialog"] select option:checked,
[role="dialog"] select option:hover {
  background: #DCA327 !important;
  color: #15171c !important;
}

[role="dialog"] input::placeholder,
[role="dialog"] textarea::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Dialog body text default */
[role="dialog"] p,
[role="dialog"] span,
[role="dialog"] div {
  color: rgba(255, 255, 255, 0.85);
}

/* Submit / primary buttons inside dialogs */
[role="dialog"] button[type="submit"],
[role="dialog"] .btn-primary,
[role="dialog"] button.bg-primary {
  background: #DCA327 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s ease;
}

[role="dialog"] button[type="submit"]:hover,
[role="dialog"] .btn-primary:hover {
  background: #c89220 !important;
}

/* Outline/secondary buttons inside dialogs */
[role="dialog"] button:not([type="submit"]):not([data-state]):not(.pay-add-btn) {
  font-family: 'Outfit', sans-serif;
}

/* Error / validation messages */
[role="dialog"] .text-destructive,
[role="dialog"] .text-red-500,
[role="dialog"] [class*="text-error"],
[role="dialog"] .invalid-feedback {
  color: #f87171 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

/* Combobox / Radix select trigger button styling */
[role="dialog"] [role="combobox"],
[role="dialog"] [data-radix-select-trigger] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14px !important;
}

/* Headings inside dialog */
[role="dialog"] h1,
[role="dialog"] h2,
[role="dialog"] h3,
[role="dialog"] h4 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* Tall confirmation dialog — anchor below the site header so it doesn't bleed
   over it when the form is long (e.g. GLP-1 attestation block). The default
   Radix DialogContent is viewport-centered which causes overlap on tall forms.
   Plain selector (not Tailwind) so it can't be purged in production builds. */
[role="dialog"].dlg-below-header {
  /* Site header (logo row + nav bar) is ~8rem tall, so anchor below that
     and leave 1.5rem of breathing room top + bottom. */
  top: 9rem !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  /* Cap height to the visible area between header and viewport bottom, but
     let the dialog shrink to fit its content on tall screens. */
  max-height: calc(100dvh - 10.5rem) !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ==========================================================================
   Agreement e-sign modal — light surface; undo dark [role="dialog"] overrides
   ========================================================================== */
[role="dialog"][data-testid="agreement-sign-modal"],
[role="dialog"][data-testid="agreement-sign-modal"] div,
[role="dialog"][data-testid="agreement-sign-modal"] span,
[role="dialog"][data-testid="agreement-sign-modal"] p,
[role="dialog"][data-testid="agreement-sign-modal"] label,
[role="dialog"][data-testid="agreement-sign-modal"] h1,
[role="dialog"][data-testid="agreement-sign-modal"] h2,
[role="dialog"][data-testid="agreement-sign-modal"] h3,
[role="dialog"][data-testid="agreement-sign-modal"] h4,
[role="dialog"][data-testid="agreement-sign-modal"] li,
[role="dialog"][data-testid="agreement-sign-modal"] strong {
  color: #0e1a2c !important;
}

[role="dialog"][data-testid="agreement-sign-modal"] label {
  color: #4b5563 !important;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
  font-weight: inherit;
}

[role="dialog"][data-testid="agreement-sign-modal"] label > span {
  color: #4b5563 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 600;
}

[role="dialog"][data-testid="agreement-sign-modal"] input[type="text"],
[role="dialog"][data-testid="agreement-sign-modal"] input[type="number"],
[role="dialog"][data-testid="agreement-sign-modal"] input[type="email"],
[role="dialog"][data-testid="agreement-sign-modal"] input[type="tel"],
[role="dialog"][data-testid="agreement-sign-modal"] input[type="password"],
[role="dialog"][data-testid="agreement-sign-modal"] input:not([type]),
[role="dialog"][data-testid="agreement-sign-modal"] textarea,
[role="dialog"][data-testid="agreement-sign-modal"] select {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #0C233F !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
}

[role="dialog"][data-testid="agreement-sign-modal"] input::placeholder,
[role="dialog"][data-testid="agreement-sign-modal"] textarea::placeholder {
  color: #9ca3af !important;
}

[role="dialog"][data-testid="agreement-sign-modal"] input:focus,
[role="dialog"][data-testid="agreement-sign-modal"] textarea:focus,
[role="dialog"][data-testid="agreement-sign-modal"] select:focus {
  border-color: #66AF4E !important;
}

[role="dialog"][data-testid="agreement-sign-modal"] button {
  color: #0C233F !important;
}

[role="dialog"][data-testid="agreement-sign-modal"] button.agreement-sign-link {
  color: #66AF4E !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

[role="dialog"][data-testid="agreement-sign-modal"] button.agreement-sign-primary,
[role="dialog"][data-testid="agreement-sign-modal"] button[data-agreement-primary] {
  background: #66AF4E !important;
  color: #ffffff !important;
  border: none !important;
}

[role="dialog"][data-testid="agreement-sign-modal"] .agreement-sign-body,
[role="dialog"][data-testid="agreement-sign-modal"] .agreement-sign-body p,
[role="dialog"][data-testid="agreement-sign-modal"] .agreement-sign-body span,
[role="dialog"][data-testid="agreement-sign-modal"] .agreement-sign-body div,
[role="dialog"][data-testid="agreement-sign-modal"] .agreement-sign-body li {
  color: #0e1a2c !important;
}

/* The shadcn DialogContent wraps children in an inner scroll div with its
   own max-h-[90dvh]. That exceeds our outer cap on short viewports and
   pushes the action buttons off-screen. Force the inner wrapper to fill
   the constrained outer instead. */
[role="dialog"].dlg-below-header > div {
  max-height: none !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

/* The shadcn DialogContent wraps children in an inner scroll div with its
   own max-h-[90dvh]. That exceeds our outer cap on short viewports and
   pushes the action buttons off-screen. Force the inner wrapper to fill
   the constrained outer instead. */
[role="dialog"].dlg-below-header > div {
  max-height: none !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

/* ============================================================
   Order Templates / Shared Modal Form Styles (moved from page CSS)
   ============================================================ */
.ot-form-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ot-required {
  color: #e74c3c;
}

.ot-form-input {
  width: 100%;
  height: 44px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #333333;
  background: #fafafa;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.ot-form-input:focus {
  border-color: #DCA327;
  box-shadow: 0 0 0 3px rgba(220, 163, 39, 0.15);
}

.ot-form-input::placeholder {
  color: #aaaaaa;
}

.ot-form-textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #333333;
  background: #fafafa;
  outline: none;
  resize: vertical;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.ot-form-textarea:focus {
  border-color: #DCA327;
  box-shadow: 0 0 0 3px rgba(220, 163, 39, 0.15);
}

.ot-form-textarea::placeholder {
  color: #aaaaaa;
}

.ot-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.ot-form-cancel {
  padding: 10px 24px;
  border: 1px solid #dddddd;
  border-radius: 50px;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  cursor: pointer;
  transition: all 0.2s;
}

.ot-form-cancel:hover {
  background: #f0f0f0;
  border-color: #cccccc;
}

.ot-form-submit {
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  background: #DCA327;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ot-form-submit:hover {
  background: #000000;
  color: #DCA327;
}

.ot-view-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.ot-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8f8f8;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #333333;
}

.ot-product-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DCA327;
  flex-shrink: 0;
}

.ot-edit-product-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ot-edit-product-row .ot-form-input {
  margin-bottom: 0;
  flex: 1;
}

.ot-remove-product {
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #999999;
  flex-shrink: 0;
  transition: all 0.2s;
}

.ot-remove-product:hover {
  background: rgba(231, 76, 60, 0.08);
  border-color: rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

.ot-edit-products {
  margin-bottom: 20px;
}

.ot-modal-form .ot-form-label,
.ot-view-modal .ot-form-label {
  color: rgba(255, 255, 255, 0.85);
}

.ot-modal-form .ot-form-input,
.ot-view-modal .ot-form-input,
.ot-modal-form .ot-form-textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
}

.ot-modal-form .ot-form-input::placeholder,
.ot-modal-form .ot-form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.ot-modal-form .ot-form-input:focus,
.ot-modal-form .ot-form-textarea:focus {
  border-color: #efbd45;
  box-shadow: 0 0 0 3px rgba(239, 189, 69, 0.18);
}

.ot-view-modal .ot-modal-meta {
  color: rgba(255, 255, 255, 0.55);
}

.ot-view-modal .ot-view-products {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 4px;
}

.ot-view-modal .ot-product-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.ot-view-modal .ot-product-row .ot-product-row-name {
  flex: 1;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  padding: 0;
  font-weight: 400;
}

.ot-modal-form .ot-form-cancel,
.ot-view-modal .ot-form-cancel {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.ot-modal-form .ot-form-cancel:hover,
.ot-view-modal .ot-form-cancel:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
}

.ot-form-danger {
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  background: #d83a3a;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ot-form-danger:hover:not(:disabled) {
  background: #b32c2c;
}

.ot-form-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ot-confirm-body {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 8px;
}

.ot-modal-form .ot-edit-products {
  max-height: 40vh;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 12px;
}

.ot-modal-form .ot-edit-product-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}

.ot-modal-form .ot-edit-product-row .ot-form-input.ot-product-input {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: default;
}

.ot-modal-form .ot-edit-product-row .ot-qty-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ot-modal-form .ot-edit-product-row .ot-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.ot-modal-form .ot-edit-product-row .ot-qty-btn:hover {
  background: rgba(239, 189, 69, 0.15);
  border-color: #efbd45;
  color: #efbd45;
}

.ot-modal-form .ot-edit-product-row .ot-qty-input.ot-product-qty {
  width: 48px;
  height: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  margin-bottom: 0;
  padding: 0 4px;
  -moz-appearance: textfield;
}

.ot-modal-form .ot-edit-product-row .ot-qty-input.ot-product-qty::-webkit-outer-spin-button,
.ot-modal-form .ot-edit-product-row .ot-qty-input.ot-product-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ot-modal-form .ot-edit-product-row .ot-remove-product {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
}

.ot-modal-form .ot-edit-product-row .ot-remove-product:hover {
  background: rgba(231, 76, 60, 0.15);
  border-color: rgba(231, 76, 60, 0.55);
  color: #ff7a6e;
}

.ot-modal-form .ot-form-input[readonly] {
  cursor: default;
  opacity: 0.85;
}
