/* SeameEco — Create Project / Request Sample / Add to Project (sidebar flow)
   Root html font-size is 10px — sizes match PDP sidebar / .g-cta scale. */

.seameco-proj--sidebar {
  position: relative;
  inset: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 5px;
  /* Match site ground (#fafafa) — pure #fff read as a mismatched panel on Products PDP */
  background: #fafafa;
  box-sizing: border-box;
  font-family: "The Future", Arial, sans-serif;
  color: #111;
  letter-spacing: -0.02em;
  pointer-events: auto;
}

.seameco-proj--sidebar,
.seameco-proj--sidebar * {
  pointer-events: auto;
}

body.seameco-proj-sidebar-open.-variant-switch .seameco-proj--sidebar,
body.seameco-proj-sidebar-open.-variant-switch .seameco-proj--sidebar * {
  pointer-events: none !important;
}

.seameco-proj__head {
  padding: 0 0 1.4rem;
  border-bottom: 1px solid #111;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
  transition:
    opacity var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1)),
    translate var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1));
}

.seameco-proj__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.2;
}

.seameco-proj__title {
  margin: 0;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.seameco-proj__progress {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.seameco-proj__dot {
  flex: 1;
  height: 3px;
  /* Visible track on #fafafa (was #e5e5e5 on #fff — washed out on Products) */
  background: rgba(0, 0, 0, 0.12);
}

.seameco-proj__dot.is-done,
.seameco-proj__dot.is-active {
  background: #111;
}

.seameco-proj__body {
  padding: 0 0 0.6rem;
  overflow: auto;
  flex: 0 1 auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition:
    opacity var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1)),
    translate var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1));
}

.seameco-proj__body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.seameco-proj__foot {
  padding: 0.85rem 0 0.2rem;
  border-top: 1px solid #111;
  background: #fff;
  flex-shrink: 0;
  position: relative;
  bottom: auto;
  z-index: 2;
  margin-top: 0;
  transition:
    opacity var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1)),
    translate var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1));
}

/* Same motion as Start wizard steps — Gufram --timing-400 / 0.75rem */
body.-variant-switch .seameco-proj__head,
body.-variant-switch .seameco-proj__body,
body.-variant-switch .seameco-proj__foot {
  opacity: 0 !important;
  translate: 0 0.75rem !important;
  transition:
    opacity var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1)),
    translate var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1)) !important;
  transition-delay: 0s !important;
}

.seameco-proj__head,
.seameco-proj__body,
.seameco-proj__foot {
  transition:
    opacity var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1)),
    translate var(--timing-400, 0.4s) var(--ease, cubic-bezier(0.77, 0, 0.175, 1));
}

body.seameco-proj-sidebar-open .seameco-specialist-cta {
  display: none !important;
}

/* Floating sidebar host when Start is used off the PDP */
.seameco-proj-sidebar-host {
  position: fixed !important;
  right: 0;
  top: 0;
  z-index: 80;
  width: min(36rem, 92vw);
  height: 100%;
  padding: 2.4rem 2rem 1.8rem;
  background: #fafafa;
  border-left: 1px solid #111;
  overflow-y: auto;
  box-sizing: border-box;
  pointer-events: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.seameco-proj-sidebar-host::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.seameco-proj-host-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.seameco-proj__foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.seameco-proj__foot-row--stack {
  flex-direction: column;
  align-items: stretch;
}

/* Handoff panel: keep both CTAs on one row inside the narrow sidebar */
.seameco-proj__foot-row--two {
  flex-wrap: nowrap;
}

.seameco-proj__foot-row--two .seameco-proj__btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding-left: 1rem;
  padding-right: 1rem;
  white-space: nowrap;
}

.seameco-proj__foot-row--stack .seameco-proj__btn {
  width: 100%;
  min-width: 0 !important;
  flex: none !important;
}

.seameco-proj__btn {
  width: auto;
  min-width: 18rem !important;
  justify-content: center;
  padding-left: 1.8rem;
  padding-right: 1.8rem;
  flex: 0 !important;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .seameco-proj__btn {
    min-width: 0 !important;
    flex: 1 1 calc(50% - 0.4rem) !important;
    white-space: normal;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .seameco-proj__foot-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .seameco-proj__head {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .seameco-proj__title {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
  }

  .seameco-proj__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .seameco-proj__tile {
    padding: 0.9rem 0.55rem;
    font-size: 1.15rem;
  }

  .seameco-proj__pack-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seameco-proj-sidebar-host {
    width: 100% !important;
    max-width: none !important;
    padding: 6.5rem 0.9rem 1.4rem;
  }
}

.seameco-proj__btn-sm {
  width: auto;
  min-width: 0;
  justify-content: center;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.seameco-proj__lead {
  margin: 0 0 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.seameco-proj__sub {
  margin: 1.3rem 0 0.7rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #111;
}

.seameco-proj__hint,
.seameco-proj__empty {
  margin: 0.9rem 0 0;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #222;
}

.seameco-proj__product-list > .seameco-proj__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 15px 0;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.seameco-proj__hint--foot {
  margin: 0;
  text-align: right;
  max-width: 16rem;
  font-size: 1.3rem;
  line-height: 1.35;
  color: #555;
}

.seameco-proj__error {
  margin: 0 0 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #111;
  background: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.35;
}

.seameco-proj__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1.15rem 1rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-align: center;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.seameco-proj__tile.is-selected,
.seameco-proj__tile:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: inset 0 0 0 1px #fff;
}

/* Wizard CTAs — 1px border only (no stacked inset that reads as thick bottom) */
.seameco-proj button.g-cta.-border,
.seameco-proj a.g-cta.-border,
.seameco-proj .seameco-proj__btn.g-cta,
.seameco-proj .seameco-proj__btn-sm.g-cta {
  border: 1px solid #000 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

@media (hover: hover) {
  .seameco-proj button.g-cta.-border:hover,
  .seameco-proj a.g-cta.-border:hover,
  .seameco-proj .seameco-proj__btn.g-cta:hover,
  .seameco-proj .seameco-proj__btn-sm.g-cta:hover,
  .seameco-proj button.g-cta.-dark:hover,
  .seameco-proj a.g-cta.-dark:hover {
    border: 1px solid #000 !important;
    box-shadow: inset 0 0 0 1px #fff !important;
  }
}

.seameco-proj__chip.is-selected,
.seameco-proj__route.is-selected,
.seameco-proj__pick.is-selected {
  border-color: #000;
  box-shadow: inset 0 0 0 1px #fff;
}

.seameco-proj__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.seameco-proj__req{font-style:normal;color:#b42318;font-weight:700;margin-left:.15rem}

.seameco-proj__field input,
.seameco-proj__field textarea,
.seameco-proj__search {
  width: 100%;
  border: 1px solid #111;
  background: #fafafa;
  padding: 1.05rem 1.1rem;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #111;
  box-sizing: border-box;
  line-height: 1.35;
}

/* Black clear (X) — WebKit default is blue/system accent */
.seameco-proj__search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  height: 1.2rem;
  width: 1.2rem;
  margin-right: 0.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23111' d='M1.2 1.2l9.6 9.6M10.8 1.2L1.2 10.8' stroke='%23111' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E")
    center / 1.1rem 1.1rem no-repeat;
  cursor: pointer;
}

.seameco-proj__search::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Styled file upload — matches site CTA chrome */
.seameco-proj__upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
  text-transform: none;
  font-weight: 500;
}

.seameco-proj__upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
  z-index: 2;
}

.seameco-proj__upload-trigger {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  cursor: pointer;
  pointer-events: none;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.seameco-proj__upload-name {
  position: relative;
  z-index: 1;
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 1.35rem;
  font-weight: 500;
  color: #555;
  line-height: 1.35;
  word-break: break-word;
  pointer-events: none;
}

.seameco-proj__upload-name.is-filled {
  color: #111;
  font-weight: 600;
}

.seameco-proj__chip {
  border: 1px solid #000;
  background: #fff;
  color: #000;
  padding: 0.75rem 1.1rem;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
  box-sizing: border-box;
}

.seameco-proj__chip.is-selected {
  background: #000;
  border-color: #000;
  color: #fff;
}

.seameco-proj__product {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #000;
  text-align: left;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
}

.seameco-proj__product.is-selected {
  background: #fff;
  border: 1px solid #000;
  color: #000;
  box-shadow: none;
}

.seameco-proj__product.is-selected span {
  color: #000;
}

.seameco-proj__product img,
.seameco-proj__ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f4f4f4;
  display: block;
}

.seameco-proj__picked {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seameco-proj__picked li {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1.4rem;
}

.seameco-proj__picked button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: 1.3rem;
}

.seameco-proj__route {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-align: left;
  font: inherit;
  letter-spacing: -0.02em;
  cursor: pointer;
  min-height: 0;
  box-sizing: border-box;
}

.seameco-proj__route strong {
  font-size: 1.7rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.seameco-proj__route span {
  font-size: 1.2rem;
  color: #000;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.seameco-proj__route.is-selected {
  background: #000;
  border-color: #000;
  color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.seameco-proj__route.is-selected strong {
  color: #fff;
}

.seameco-proj__route.is-selected span {
  color: #fff;
}

.seameco-proj__route.is-disabled,
.seameco-proj__route:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.seameco-proj__review {
  margin: 0;
}

.seameco-proj__review > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1.4rem;
}

.seameco-proj__review dt {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.seameco-proj__review dd {
  margin: 0;
}

.seameco-proj__product-tag {
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  line-height: 1.4;
}

.seameco-proj__pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  text-align: left;
  font-family: "The Future", Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  cursor: pointer;
  box-sizing: border-box;
}

.seameco-proj__pick span {
  font-size: 1.2rem;
  font-weight: 400;
  color: #000;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.seameco-proj__pick.is-selected {
  background: #000;
  border-color: #000;
  color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.seameco-proj__pick.is-selected strong,
.seameco-proj__pick.is-selected span {
  color: #fff;
}

.seameco-proj__inline-add {
  margin: 0 0 1.1rem;
  padding: 1.2rem;
  border: 1px solid #000;
  background: #fafafa;
}

.seameco-proj__inline-actions {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
}

.seameco-proj__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .seameco-proj__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seameco-proj__grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .seameco-proj__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.seameco-proj__two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 0.85rem;
}

@media (min-width: 560px) {
  .seameco-proj__two {
    grid-template-columns: 1fr 1fr;
  }
}

.seameco-proj__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.seameco-proj__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  align-items: center;
}

.seameco-proj__search {
  flex: 1 1 14rem;
  min-width: 12rem;
}

.seameco-proj__product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: start;
  max-height: calc(18rem + 180px);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.seameco-proj__product-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.seameco-start-page .seameco-proj__product-list {
  max-height: calc(18rem + 180px);
}

@media (max-width: 639px) {
  .seameco-proj__product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.seameco-proj__route-opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 560px) {
  .seameco-proj__route-opts {
    grid-template-columns: 1fr 1fr;
  }
}

.seameco-proj__route-card {
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #eee;
}

.seameco-proj__route-title {
  margin: 0 0 0.65rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.seameco-proj__pick-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

@media (max-width: 767px) {
  .seameco-proj__title {
    font-size: clamp(2.2rem, 7vw, 2.8rem);
  }

  .seameco-proj__tile {
    padding: 1.05rem 0.9rem;
    font-size: 1.35rem;
  }
}

/* Project page — Gufram detail (left media + right sidebar) */
body.seameco-project-page .seameco-project-sidebar,
body.seameco-project-page .g-sidebar.seameco-project-sidebar {
  display: flex;
  flex-direction: column;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.seameco-project-page .seameco-project-sidebar::-webkit-scrollbar,
body.seameco-project-page .g-sidebar.seameco-project-sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.seameco-project-page__wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 2rem;
  box-sizing: border-box;
}

.seameco-project-page__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.seameco-project-page__title {
  margin: 0 0 0.45rem;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: none;
}

.seameco-project-page__meta {
  margin: 0 0 1.4rem;
  font-size: 1.4rem;
  color: #555;
  line-height: 1.4;
}

.seameco-project-page__section {
  margin: 1.4rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #111;
}

.seameco-project-page__section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seameco-proj__route-variant {
  font-weight: 500;
  color: #666;
}

.seameco-proj__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.85rem;
}

.seameco-proj__variant {
  appearance: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.7rem;
  line-height: 1.1;
  text-align: center;
}

.seameco-proj__variant img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seameco-proj__variant.is-selected {
  outline: 1px solid #000;
  outline-offset: 2px;
}

.seameco-project-page__section p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.45;
}

.seameco-project-page__line {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.95rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eee;
  font-size: 1.4rem;
}

.seameco-project-page__line img,
.seameco-project-page__line .ph {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  background: #f4f4f4;
}

.seameco-project-page__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid #111;
}

.seameco-project-page__actions .g-cta,
.seameco-project-page__actions .seameco-proj__btn {
  width: 100%;
  min-width: 0 !important;
  justify-content: center;
  flex: none !important;
}

@media (max-width: 1023px) {
  body.seameco-project-page .g-article__media {
    display: none;
  }

  body.seameco-project-page .seameco-project-sidebar,
  body.seameco-project-page .g-sidebar.seameco-project-sidebar {
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    padding: 7.5rem 1.2rem 2.5rem;
  }

  .seameco-proj__route strong,
  .seameco-proj__pick {
    font-size: 1.6rem;
  }

  .seameco-proj__route span,
  .seameco-proj__pick span {
    font-size: 1.1rem;
    line-height: 1.15;
  }
}
