﻿/* Digital Cards page only: Custom 3D Creations request experience. */
.shield-page #offerings,
.shield-page #request { scroll-margin-top: 130px; }

.shield-page .shield-3d-intro,
.shield-page .shield-request-intro {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.shield-page .shield-3d-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.shield-page .shield-3d-grid .shield-service-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.shield-page .shield-3d-grid .shield-option-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.shield-page .shield-3d-grid .shield-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.shield-page .shield-3d-grid .shield-tile-body p { flex: 1; }
.shield-page .shield-3d-grid .shield-option-action { align-self: flex-start; }

.shield-page .shield-3d-request {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.shield-page .shield-request-panel {
  border: 1px solid #c9d8e6;
  border-radius: 18px;
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 50, 79, .07);
}

.shield-page .shield-request-panel > legend {
  padding: 0 10px;
  font-size: 1.04rem;
  font-weight: 800;
  color: #143b5f;
}

.shield-page .shield-panel-copy { margin-top: 0; color: #536b80; }

.shield-page .shield-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.shield-page .shield-form-grid label,
.shield-page .shield-upload-box > label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .88rem;
  font-weight: 800;
  color: #183d5d;
}

.shield-page .shield-form-grid input,
.shield-page .shield-form-grid select,
.shield-page .shield-form-grid textarea,
.shield-page .shield-upload-box input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #b9ccdc;
  border-radius: 12px;
  padding: 12px 13px;
  background: #fff;
  color: #102f49;
  font: inherit;
}

.shield-page .shield-form-grid textarea { resize: vertical; }
.shield-page .shield-full { grid-column: 1 / -1; }

.shield-page .shield-upload-box {
  margin-top: 18px;
  border: 1px dashed #96afc3;
  border-radius: 16px;
  padding: 18px;
  background: #f8fbfe;
}

.shield-page .shield-upload-box label span,
.shield-page .shield-upload-note {
  font-weight: 500;
  color: #60788d;
}

.shield-page .shield-upload-note { margin: 9px 0 0; font-size: .82rem; }

.shield-page .shield-image-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.shield-page .shield-image-preview figure {
  margin: 0;
  border: 1px solid #cfdae4;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.shield-page .shield-image-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.shield-page .shield-image-preview figcaption {
  padding: 7px;
  font-size: .72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.shield-page .shield-carrier-grid label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 9px;
  align-items: center;
  padding: 16px;
  border: 1px solid #c7d7e4;
  border-radius: 14px;
  background: #f8fbfe;
  cursor: pointer;
}

.shield-page .shield-carrier-grid label span {
  grid-column: 2;
  color: #62798c;
  font-size: .78rem;
}

.shield-page .shield-estimate-box {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 20px 36px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 20px;
  background: linear-gradient(145deg, #08233d, #123f64);
  color: #fff;
}

.shield-page .shield-estimate-box .shield-kicker { color: #f0bd3c; }
.shield-page .shield-estimate-box h3 { margin: 6px 0; color: #fff; }
.shield-page .shield-estimate-box > p { grid-column: 1 / -1; margin: 0; color: #d7e5ef; }
.shield-page .shield-estimate-box dl { margin: 0; }
.shield-page .shield-estimate-box dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.shield-page .shield-estimate-box dt { color: #cbdbe7; }
.shield-page .shield-estimate-box dd { margin: 0; text-align: right; font-weight: 800; }
.shield-page .shield-estimate-box .shield-estimate-total { font-size: 1.08rem; border-bottom: 0; }
.shield-page .shield-estimate-box .shield-estimate-total dd { color: #ffd45c; }

.shield-page .shield-request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.shield-page .shield-request-status { margin: 0; min-height: 1.4em; font-weight: 700; color: #31536d; }
.shield-page .shield-request-status.is-error { color: #b42318; }
.shield-page .shield-request-status.is-success { color: #16744a; }

html[data-theme="dark"] .shield-page .shield-request-panel,
html[data-theme="dark"] .shield-page .shield-upload-box,
html[data-theme="dark"] .shield-page .shield-carrier-grid label {
  background: #10283d;
  border-color: #385873;
}

html[data-theme="dark"] .shield-page .shield-request-panel > legend,
html[data-theme="dark"] .shield-page .shield-form-grid label,
html[data-theme="dark"] .shield-page .shield-upload-box > label { color: #f3f8fc; }

html[data-theme="dark"] .shield-page .shield-form-grid input,
html[data-theme="dark"] .shield-page .shield-form-grid select,
html[data-theme="dark"] .shield-page .shield-form-grid textarea,
html[data-theme="dark"] .shield-page .shield-upload-box input[type="file"] {
  background: #0a1f31;
  color: #f5f8fb;
  border-color: #496982;
}

html[data-theme="dark"] .shield-page .shield-upload-box label span,
html[data-theme="dark"] .shield-page .shield-upload-note,
html[data-theme="dark"] .shield-page .shield-panel-copy,
html[data-theme="dark"] .shield-page .shield-carrier-grid label span { color: #b7cada; }

html[data-theme="dark"] .shield-page .shield-request-status { color: #d5e5f1; }
html[data-theme="dark"] .shield-page .shield-request-status.is-error { color: #ffb4ab; }
html[data-theme="dark"] .shield-page .shield-request-status.is-success { color: #84e1b7; }

@media (max-width: 760px) {
  .shield-page .shield-3d-grid,
  .shield-page .shield-form-grid,
  .shield-page .shield-carrier-grid,
  .shield-page .shield-estimate-box { grid-template-columns: 1fr; }
  .shield-page .shield-image-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shield-page .shield-estimate-box > p { grid-column: auto; }
}
/* SHIELD_3D_WIZARD */

.shield-page .shield-3d-grid .shield-option-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 48px;
  margin-top: 14px;
  padding: 13px 20px;
  border-radius: 12px;
  background: #0b66c3;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(11, 102, 195, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.shield-page .shield-3d-grid .shield-option-action:hover,
.shield-page .shield-3d-grid .shield-option-action:focus-visible {
  background: #084f9b;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(11, 102, 195, .28);
}

.shield-page .shield-wizard-progress {
  position: relative;
  padding: 14px 12px 2px;
  margin: 0 0 6px;
}

.shield-page .shield-progress-track {
  position: absolute;
  top: 34px;
  left: 12.5%;
  right: 12.5%;
  height: 5px;
  border-radius: 999px;
  background: #dce7f0;
  overflow: hidden;
}

.shield-page .shield-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #0b66c3;
  transition: width .25s ease;
}

.shield-page .shield-wizard-progress ol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shield-page .shield-wizard-progress li {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  color: #72879a;
}

.shield-page .shield-wizard-progress li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid #eef4f9;
  border-radius: 50%;
  background: #dce7f0;
  color: #49677f;
  font-weight: 800;
  box-sizing: border-box;
}

.shield-page .shield-wizard-progress li strong {
  font-size: .88rem;
}

.shield-page .shield-wizard-progress li small {
  font-size: .72rem;
}

.shield-page .shield-wizard-progress li.is-active,
.shield-page .shield-wizard-progress li.is-complete {
  color: #123e65;
}

.shield-page .shield-wizard-progress li.is-active > span,
.shield-page .shield-wizard-progress li.is-complete > span {
  background: #0b66c3;
  color: #fff;
}

.shield-page .shield-wizard-progress li.is-active > span {
  box-shadow: 0 0 0 4px rgba(11, 102, 195, .12);
}

.shield-page .shield-wizard-panel[hidden] {
  display: none;
}

.shield-page .shield-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.shield-page .shield-wizard-actions.is-end {
  justify-content: flex-end;
}

.shield-page .shield-next-btn {
  min-width: 220px;
}

.shield-page .shield-carrier-card {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-areas:
    "radio name"
    "radio price"
    "radio eta";
  gap: 3px 10px !important;
  align-items: center;
  min-height: 126px;
  padding: 18px !important;
  border: 2px solid #c7d7e4 !important;
  border-radius: 16px !important;
  background: #f8fbfe !important;
}

.shield-page .shield-carrier-card:has(input:checked) {
  border-color: #0b66c3 !important;
  box-shadow: 0 0 0 3px rgba(11, 102, 195, .10);
}

.shield-page .shield-carrier-card input {
  grid-area: radio;
}

.shield-page .shield-carrier-name {
  grid-area: name;
  color: #123e65 !important;
  font-size: 1rem !important;
  font-weight: 800;
}

.shield-page .shield-carrier-card strong {
  grid-area: price;
  font-size: 1.15rem;
  color: #0b66c3;
}

.shield-page .shield-carrier-card small {
  grid-area: eta;
  color: #667f94;
}

.shield-page .shield-rate-note,
.shield-page .shield-launch-note {
  margin: 14px 0 0;
  color: #60788d;
  font-size: .84rem;
}

.shield-page .shield-launch-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff8df;
  border: 1px solid #ead28a;
  color: #6c5314;
}

html[data-theme="dark"] .shield-page .shield-progress-track {
  background: #29485f;
}

html[data-theme="dark"] .shield-page .shield-wizard-progress li {
  color: #91aabe;
}

html[data-theme="dark"] .shield-page .shield-wizard-progress li.is-active,
html[data-theme="dark"] .shield-page .shield-wizard-progress li.is-complete {
  color: #eaf4fb;
}

html[data-theme="dark"] .shield-page .shield-wizard-progress li > span {
  border-color: #10283d;
  background: #29485f;
  color: #c7d9e7;
}

html[data-theme="dark"] .shield-page .shield-carrier-card {
  background: #10283d !important;
  border-color: #385873 !important;
}

html[data-theme="dark"] .shield-page .shield-carrier-card:has(input:checked) {
  border-color: #56a7ff !important;
}

html[data-theme="dark"] .shield-page .shield-carrier-name {
  color: #f3f8fc !important;
}

html[data-theme="dark"] .shield-page .shield-carrier-card strong {
  color: #69b2ff;
}

html[data-theme="dark"] .shield-page .shield-rate-note {
  color: #b7cada;
}

html[data-theme="dark"] .shield-page .shield-launch-note {
  background: #3a321d;
  border-color: #6d5b26;
  color: #f4dda0;
}

@media (max-width: 760px) {

  .shield-page .shield-wizard-progress {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .shield-page .shield-wizard-progress ol {
    min-width: 520px;
  }

  .shield-page .shield-progress-track {
    left: 68px;
    right: 68px;
  }

  .shield-page .shield-3d-grid .shield-option-action {
    width: 100%;
    box-sizing: border-box;
  }

  .shield-page .shield-wizard-actions,
  .shield-page .shield-wizard-actions.is-end {
    justify-content: stretch;
  }

  .shield-page .shield-wizard-actions .shield-btn {
    width: 100%;
    justify-content: center;
  }
}

/* SHIELDPLUS_FULL_PRODUCT_IMAGE_START */

/*
  3D Creations product cards:
  show the COMPLETE source image without cropping.
*/
.shield-page .shield-3d-grid .shield-option-photo {
  display: block !important;
  width: 100% !important;
  height: 360px !important;
  max-height: none !important;
  aspect-ratio: auto !important;

  object-fit: contain !important;
  object-position: center center !important;

  background: #f7f9fc !important;
  padding: 12px !important;
}

/* Keep the full image visible in dark mode too. */
html[data-theme="dark"] .shield-page .shield-3d-grid .shield-option-photo {
  background: #0d2238 !important;
}

/* Tablet */
@media (max-width: 900px) {
  .shield-page .shield-3d-grid .shield-option-photo {
    height: 320px !important;
    padding: 10px !important;
  }
}

/* Phone */
@media (max-width: 640px) {
  .shield-page .shield-3d-grid .shield-option-photo {
    height: 280px !important;
    padding: 8px !important;
  }
}

/* SHIELDPLUS_FULL_PRODUCT_IMAGE_END */

