/* One2Sample Configurator - lightweight, responsive, non-clicky taxonomy UI */

.o2s-root { font-family: inherit; }
.o2s-container {border-radius: 10px; overflow: hidden; }
.o2s-pad { padding: 22px 22px; }
.o2s-title { font-size: 48px; letter-spacing: 0.5px; margin: 0 0 8px; text-transform: uppercase; font-weight:700}
.o2s-subtitle { margin: 0; max-width: 920px; line-height: 1.45; }

/* --- Stop theme animation / reveal rules from hiding our text --- */
.o2s-root p,
.o2s-root h1,
.o2s-root h2,
.o2s-root h3,
.o2s-root h4,
.o2s-root h5,
.o2s-root h6,
.o2s-root span,
.o2s-root small,
.o2s-root label,
.o2s-root strong {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.o2s-launcher { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: center; }
.o2s-launcher-left { padding: 26px 26px; }
.o2s-launcher-right { padding: 18px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; justify-content: end; }
.o2s-thumb {
  /* Size control */
  width: 100%;
  aspect-ratio: 4 / 3;      /* adjust if you prefer square: 1 / 1 */

  /* Image behavior */
  background-size: contain; /* no cropping */
  background-position: center;
  background-repeat: no-repeat;
}

.o2s-cta {align-items: center; gap: 10px; padding: 16px 48px; border: 0; border-radius: 6px; background: #0a2f4a; color: #fff; font-weight: 600; cursor: pointer; min-width:320px}
.o2s-cta:focus { outline: 2px solid rgba(10,47,74,0.35); outline-offset: 2px; }
.o2s-cta small { opacity: 0.9; font-weight: 700; }

.o2s-configurator { border-top: 1px solid #e7edf3; background: #ffffff; display: none; }
.o2s-configurator.is-open { display: block; }

.o2s-config-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 22px 26px 0; }
.o2s-config-header h2 { margin: 0; font-size: 48px; text-transform: uppercase; letter-spacing: 0.4px; font-weight:700;}
.o2s-config-header p { margin: 8px 0 0; max-width: 900px; opacity: 0.9; line-height: 1.45; }
.o2s-close { margin-top: 8px; }

.o2s-layout { display: grid; grid-template-columns: 1fr 340px; gap: 18px; padding: 18px 26px 26px; }
.o2s-main { min-width: 0; }
.o2s-summary { position: sticky; top: 18px; align-self: start; background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 14px; box-shadow: 0 1px 10px rgba(0,0,0,0.06); }
.o2s-summary h3 { margin: 0 0 8px !important; font-size: 14px; text-transform: uppercase; letter-spacing: 0.4px; font-weight:600; }
.o2s-summary-actions { display:flex; justify-content: space-between; align-items:center; gap: 10px; margin-bottom: 10px; }
.o2s-link { background: transparent; border: 0; padding: 0; cursor: pointer; color: #0a2f4a; font-weight: 600; font-size: 12px; text-decoration: underline; }

.o2s-sum-block { border-top: 1px solid #edf2f7; padding-top: 10px; margin-top: 10px; }
.o2s-sum-row { display:flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 6px 0; }
.o2s-sum-row strong { font-weight: 700; }
.o2s-muted { opacity: 0.75; font-size: 12px; line-height: 1.35; }

.o2s-quote { width: 100%; margin-top: 10px; padding: 10px 12px; border: 0; border-radius: 4px; background: #0a2f4a; color: #fff; font-weight: 700; cursor: pointer; }

.o2s-section { padding: 18px 0; border-bottom: 1px solid #dfe6ee; }
.o2s-section:last-child { border-bottom: 0; }
.o2s-section-title { margin: 0 0 10px; font-size: 28px; text-transform: uppercase; letter-spacing: 0.4px; color: #0a2f4a; font-weight:600; }

.o2s-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.o2s-group { background: transparent; }
.o2s-group-head { display:flex; justify-content: space-between; align-items: center; gap: 10px; }
.o2s-group-title { margin: 0; font-weight: 700; color: #0a2f4a; font-size: 11px;}
.o2s-items { margin-top: 8px; display: grid; gap: 6px; }
.o2s-item { display:flex; align-items:center; gap: 10px; font-size: 11px; }
.o2s-item label { display:flex; gap: 8px; align-items:center; cursor: pointer; }
.o2s-item small { opacity: 0.65; }

.o2s-chip { display:inline-flex; align-items:center; padding: 2px 8px; border-radius: 999px; background: #eef4fa; border: 1px solid #d8e6f4; font-size: 11px; color:#0a2f4a; }

/* Accordion headers */
.o2s-group-toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.o2s-caret{
  display: inline-block;
  transition: transform .18s ease;
}

.o2s-group-toggle[aria-expanded="true"] .o2s-caret{
  transform: rotate(180deg);
}

.o2s-group-panel{
  display: none;
  margin-top: 10px;
}

.o2s-group-panel.is-open{
  display: block;
}



/* Responsive */
@media (max-width: 1024px) {
  .o2s-layout { grid-template-columns: 1fr; }
  .o2s-summary { position: relative; top: auto; }
}
@media (max-width: 860px) {
  .o2s-launcher { grid-template-columns: 1fr; }
  .o2s-launcher-right { grid-template-columns: 1fr 1fr; justify-content: start; }
  .o2s-groups { grid-template-columns: 1fr; }
}


/* --- Fix CTA layout (label + icon) --- */
.o2s-cta{
  display: inline-flex;        /* key fix */
  justify-content: center;
  line-height: 1;
}

.o2s-cta .o2s-cta-icon{
  font-size: 16px;
  line-height: 1;
  margin-left: 2px;
}

/* --- Make the header close button a "small" CTA --- */
.o2s-close{
  min-width: auto;
  padding: 12px 22px;
  gap: 8px;
}

/* If you want the close button right-aligned and not huge on mobile */
@media (max-width: 860px){
  .o2s-close{ width: 100%; }
}

/* --- Accordion styling so it actually looks like dropdown sections --- */
.o2s-group{
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 12px;
}

.o2s-group:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.o2s-group-toggle{
  padding: 8px 0;             /* gives it the “dropdown header” feel */
  font: inherit;
}

.o2s-group-toggle .o2s-group-title{
  font-size: 12px;
  font-weight: 700;
  color: #0a2f4a;
}

/* Caret */
.o2s-caret{
  font-size: 14px;
  opacity: 0.85;
}

/* Panel spacing */
.o2s-group-panel{
  margin-top: 6px;
}

/* Tighter group + items spacing */
/* Default for all sections */
.o2s-section {
  padding: 8px 0 30px 0;
}
/* First section override */
.o2s-section:last-of-type {
  padding-bottom: 8px;
}
.o2s-section-title { margin: 0 0 8px; }

.o2s-groups { gap: 14px; }
.o2s-group-title { font-size: 15px; margin: 0 0 6px; }
.o2s-items { gap: 8px; margin-top: 6px; }

/* Make the rows more compact + consistent */
.o2s-item{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0px;
}

.o2s-item-label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.o2s-item-label input[type=checkbox] + span,
.o2s-item-label input[type=radio] + span {
  margin: 0 !important;
}

/* Smaller, cleaner checkbox/radio */
.o2s-item input[type="checkbox"],
.o2s-item input[type="radio"]{
  width: 10px;
  height: 10px;
  margin: 0;
}

/* Optional note (kept compact) */
.o2s-item-note{
  grid-column: 1 / -1;
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.7;
}

/* Qty control */
.o2s-qty{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
}

.o2s-qty-btn{
  width: 22px;
  height: 22px;
  border: 1px solid #dfe6ee;
  border-radius: 3px;
  background: #f7fafc;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.o2s-qty-btn:hover{ background: #eef4fa; }

.o2s-qty-val{
  min-width: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #0a2f4a;
}

/* Group subtitle/context (replaces dropdown helper text) */
.o2s-group-head-text { display: flex; flex-direction: column; gap: 2px; padding-bottom:8px; }
.o2s-group-subtitle{
  margin: 0;
  font-size: 11px;
  opacity: 0.7;
  line-height: 1.35;
}

/* Qty always visible + disabled look */
.o2s-qty.is-disabled{
  opacity: 0.45;
}

.o2s-qty.is-disabled .o2s-qty-val{
  font-weight: 600;
}

/* Disable minus when not selected (plus stays usable) */
.o2s-qty-btn:disabled{
  cursor: not-allowed;
  opacity: 0.55;
}

/* Summary item layout: show group (descriptor) above the selected item */
.o2s-summary .o2s-sum-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.o2s-summary .o2s-sum-desc {
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.75;
	font-weight:600;
}

.o2s-summary .o2s-sum-name {
  font-size: 14px;
  line-height: 1.25;
}

.o2s-summary .o2s-sum-qty {
  white-space: nowrap;
}

.o2s-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.o2s-modal.is-open { display: block; }

.o2s-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.o2s-modal__dialog {
  position: relative;
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.o2s-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #e7edf3;
}

.o2s-modal__title { margin: 0; font-size: 18px; }

.o2s-modal__close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}

.o2s-modal__body {
  padding: 18px;
  overflow: auto;
}

/* Scope ONLY inside your modal */
#o2s-quote-modal .hs-form{
  margin: 0;
}

/* Reduce vertical spacing between fields */
#o2s-quote-modal .hs-form .hs-form-field{
  margin-bottom: 10px;
}

/* Inputs */
#o2s-quote-modal .hs-form input[type="text"],
#o2s-quote-modal .hs-form input[type="email"],
#o2s-quote-modal .hs-form input[type="tel"],
#o2s-quote-modal .hs-form select,
#o2s-quote-modal .hs-form textarea{
  width: 100%;
  height: 42px;                 /* shorter fields */
  padding: 10px 12px;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Textarea height */
#o2s-quote-modal .hs-form textarea{
  height: 90px;
}

/* Labels tighter */
#o2s-quote-modal .hs-form label{
  margin-bottom: 4px;
  font-size: 13px;
}

/* Error text */
#o2s-quote-modal .hs-error-msgs{
  margin: 6px 0 0;
  font-size: 12px;
}

/* Modal: shorter card layout */
.o2s-modal__dialog{
  width: min(980px, calc(100vw - 40px));
  max-height: 78vh;          /* keeps it shorter */
  margin: 8vh auto;          /* centers like a card */
  border-radius: 14px;
}

.o2s-modal__body{
  padding: 16px 18px 18px;
  overflow: auto;            /* scroll inside if needed */
}

/* Optional: tighten header height */
.o2s-modal__header{
  padding: 14px 18px;
}
.o2s-modal__title{
  width: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}

.o2s-modal__close{
  position: absolute;
  right: 12px;
  top: 10px;
}
.o2s-modal__header{
  position: relative;
}

/* Hide original HS checkbox list (but keep it for submission) */
#o2s-quote-modal .o2s-ms__hidden-source{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Multi-select wrapper */
#o2s-quote-modal .o2s-ms{
  margin: 10px 0 14px;
}

#o2s-quote-modal .o2s-ms__label{
  font-size: 13px;
  margin-bottom: 6px;
}
#o2s-quote-modal .o2s-ms__req{ color: #d11; }

/* Control */
#o2s-quote-modal .o2s-ms__control{
  width: 100%;
  height: 42px;
  padding: 10px 12px;
  border: 1px solid #cfd7df;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
#o2s-quote-modal .o2s-ms__placeholder{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}
#o2s-quote-modal .o2s-ms__chev{ opacity: .7; }

/* Chips */
#o2s-quote-modal .o2s-ms__chips{
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
#o2s-quote-modal .o2s-ms__chip{
  border: 1px solid #cfd7df;
  background: #f7f9fb;
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
#o2s-quote-modal .o2s-ms__chipx{ opacity: .7; }

/* Panel */
#o2s-quote-modal .o2s-ms__panel{
  margin-top: 8px;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  background: #fff;
  max-height: 240px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

#o2s-quote-modal .o2s-ms__searchwrap{
  padding: 10px;
  border-bottom: 1px solid #e7edf3;
}
#o2s-quote-modal .o2s-ms__search{
  width: 100%;
  height: 38px;
  padding: 8px 10px;
  border: 1px solid #cfd7df;
  border-radius: 6px;
}

/* Options */
#o2s-quote-modal .o2s-ms__option{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 10px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}
#o2s-quote-modal .o2s-ms__option:hover{
  background: #f7f9fb;
}
#o2s-quote-modal .o2s-ms__check{
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd7df;
  border-radius: 6px;
  font-size: 14px;
}

#o2s-quote-modal .o2s-ms__hidden-source{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.o2s-ms__hidden-source{
  display:none !important;
}


/* =========================================================
   O2S HUBSPOT SUCCESS MARKUP
   ========================================================= */

#o2s-quote-modal .o2s-modal__dialog{
  width: min(1100px, calc(100vw - 48px));
  max-width: 1100px;
}

#o2s-quote-modal .o2s-modal__body{
  text-align: center;
}

.o2s-hs-success{
  display: flex;
  justify-content: center;
}

.o2s-hs-success__inner{
  max-width: 760px;
  width: 100%;
}

.o2s-hs-success__title{
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 28px;
}

.o2s-hs-success__thankyou{
  font-size: 20px;
  margin-bottom: 6px;
}

.o2s-hs-success__message{
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 36px;
}

.o2s-hs-success__btn{
  background: #072f49;      /* match your navy */
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s ease;
}

.o2s-hs-success__btn:hover{
  opacity: 0.9;
}

