.psone-top-trust-bar {
  background: #10233f;
  color: #fff;
  font-size: .78rem;
  line-height: 1.35;
}

.psone-top-trust-bar .wp-block-group {
  min-height: 34px;
}

.psone-top-trust-bar p {
  margin: 0;
  color: inherit;
  white-space: nowrap;
}

.psone-top-trust-bar strong {
  color: #f2cc8d;
}

.psone-factory-placeholder {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border: 1px dashed #9aa4b2;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(16, 35, 63, .035) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(315deg, rgba(16, 35, 63, .035) 25%, transparent 25%) 0 0 / 18px 18px,
    #fafafa;
  text-align: center;
}

.psone-factory-placeholder > :first-child {
  margin-top: 0;
}

.psone-factory-placeholder > :last-child {
  margin-bottom: 0;
}

.psone-placeholder-label {
  display: inline-block;
  margin-inline: auto;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: #eceff3;
  color: #596273;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.psone-contact-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, auto));
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(16, 35, 63, .97);
  box-shadow: 0 14px 36px rgba(16, 35, 63, .28);
}

.psone-contact-dock a,
.psone-contact-dock span {
  display: flex;
  min-height: 42px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem .72rem;
  border-radius: 8px;
  color: #fff;
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.psone-contact-dock a {
  background: #a8752d;
}

.psone-contact-dock a:hover {
  background: #bd8737;
}

.psone-contact-dock__pending {
  cursor: not-allowed;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .82) !important;
}

.psone-contact-dock small {
  font-size: .6rem;
  font-weight: 600;
  opacity: .78;
}

/* The original single-button fallback is replaced by the accessible dock. */
.psone-floating-inquiry {
  display: none !important;
}

.psone-product-details-grid {
  align-items: stretch;
}

.psone-product-details-grid .wp-block-column {
  padding: 1.1rem;
  border: 1px solid #dfe3e9;
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 781px) {
  .psone-top-trust-bar .wp-block-group {
    justify-content: flex-start !important;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .psone-top-trust-bar p {
    padding-right: 1rem;
  }

  .psone-contact-dock {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px;
  }

  .psone-contact-dock a,
  .psone-contact-dock span {
    min-height: 44px;
    padding: .45rem .25rem;
    font-size: .68rem;
  }

  .psone-contact-dock small {
    display: none;
  }

  body {
    padding-bottom: 68px;
  }
}

@media (max-width: 420px) {
  .psone-contact-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body {
    padding-bottom: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .psone-contact-dock a {
    transition: none;
  }
}
