/* Fulfillment center profile — detail page */

.fulfillment-center-profile-lp {
  --cd-fcp-blue: #0071e3;
  --cd-fcp-ink: #1d1d1f;
  --cd-fcp-muted: #6e6e73;
  --cd-fcp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--cd-fcp-ink);
  -webkit-font-smoothing: antialiased;
}

.fulfillment-center-profile-lp .cd-fcp-hero {
  background: linear-gradient(165deg, #e8f0ff 0%, #ffffff 48%, #f5faf8 100%);
  overflow: hidden;
}

.fulfillment-center-profile-lp .cd-fcp-breadcrumb .breadcrumb-item a {
  color: var(--cd-fcp-blue);
  text-decoration: none;
}

.fulfillment-center-profile-lp .cd-fcp-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}

.fulfillment-center-profile-lp .cd-fcp-hero-logo {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fulfillment-center-profile-lp .cd-fcp-hero-logo__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fulfillment-center-profile-lp .cd-fcp-hero-logo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  font-weight: 600;
  color: var(--cd-fcp-blue);
  background: rgba(0, 113, 227, 0.08);
}

.fulfillment-center-profile-lp .cd-fcp-skeleton--logo {
  width: 100%;
  height: 100%;
  min-height: 96px;
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.08) 45%,
    rgba(0, 0, 0, 0.05) 90%
  );
  background-size: 200% 100%;
  animation: cd-fcp-shimmer 1.2s ease-in-out infinite;
}

@keyframes cd-fcp-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.fulfillment-center-profile-lp .cd-fcp-badge {
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 0, 0, 0.05);
  color: var(--cd-fcp-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fulfillment-center-profile-lp .cd-fcp-badge--premium {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border-color: rgba(13, 110, 253, 0.2);
}

.fulfillment-center-profile-lp .cd-fcp-prose {
  color: var(--cd-fcp-muted);
  line-height: 1.6;
}

.fulfillment-center-profile-lp .cd-fcp-prose h2,
.fulfillment-center-profile-lp .cd-fcp-prose h3,
.fulfillment-center-profile-lp .cd-fcp-prose h4 {
  color: var(--cd-fcp-ink);
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.fulfillment-center-profile-lp .cd-fcp-prose h2 {
  font-size: 1.25rem;
}

.fulfillment-center-profile-lp .cd-fcp-prose h3,
.fulfillment-center-profile-lp .cd-fcp-prose h4 {
  font-size: 1.0625rem;
}

.fulfillment-center-profile-lp .cd-fcp-prose p {
  margin-bottom: 0.85rem;
}

.fulfillment-center-profile-lp .cd-fcp-prose ul,
.fulfillment-center-profile-lp .cd-fcp-prose ol {
  margin-bottom: 0.85rem;
  padding-left: 1.25rem;
}

.fulfillment-center-profile-lp .cd-fcp-prose li {
  margin-bottom: 0.35rem;
}

.fulfillment-center-profile-lp .cd-fcp-prose a {
  color: var(--cd-fcp-blue);
}

.fulfillment-center-profile-lp .cd-fcp-prose p:last-child {
  margin-bottom: 0;
}

.fulfillment-center-profile-lp .cd-fcp-chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--cd-fcp-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fulfillment-center-profile-lp .cd-fcp-side {
  background: rgba(255, 255, 255, 0.95) !important;
}

.fulfillment-center-profile-lp .cd-fcp-photo img {
  object-fit: cover;
}

.fulfillment-center-profile-lp #cd-fcp-similar .cd-fc-card {
  transition:
    transform 0.3s var(--cd-fcp-ease),
    box-shadow 0.3s ease;
  border-color: rgba(0, 0, 0, 0.07) !important;
}

.fulfillment-center-profile-lp #cd-fcp-similar .cd-fc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 40, 100, 0.08);
}

.fulfillment-center-profile-lp .cd-fcp-sim-logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fulfillment-center-profile-lp .cd-fcp-sim-logo--fallback {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cd-fcp-blue);
  background: rgba(0, 113, 227, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fulfillment-center-profile-lp .cd-fcp-sim-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fulfillment-center-profile-lp .cd-fcp-outro .cta-band {
  color: #fff;
}

.fulfillment-center-profile-lp .cd-fcp-outro .btn-outline-light {
  border-width: 2px;
}

/* ——— Loading shell: reserve height so footer stays below the fold until data is ready ——— */
.fulfillment-center-profile-lp #cd-fcp-loading {
  min-height: max(32rem, calc(100vh - 260px));
  box-sizing: border-box;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f4f7 45%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fulfillment-center-profile-lp #cd-fcp-loading .cd-fcp-loading__status {
  animation: cd-fcp-loading-fade 0.5s ease backwards;
}

@keyframes cd-fcp-loading-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fulfillment-center-profile-lp #cd-fcp-loading .cd-fcp-loading__spinner .spinner-border {
  width: 2.5rem;
  height: 2.5rem;
  border-width: 0.2rem;
}

.fulfillment-center-profile-lp .cd-fcp-sk-line,
.fulfillment-center-profile-lp .cd-fcp-sk-block,
.fulfillment-center-profile-lp .cd-fcp-sk-pill,
.fulfillment-center-profile-lp .cd-fcp-sk-rect,
.fulfillment-center-profile-lp .cd-fcp-sk-photo {
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.055) 0%,
    rgba(0, 0, 0, 0.09) 42%,
    rgba(0, 0, 0, 0.055) 88%
  );
  background-size: 200% 100%;
  animation: cd-fcp-shimmer 1.35s ease-in-out infinite;
}

.fulfillment-center-profile-lp .cd-fcp-sk-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.fulfillment-center-profile-lp .cd-fcp-sk-line {
  height: 0.85rem;
  border-radius: 6px;
  max-width: 100%;
}

.fulfillment-center-profile-lp .cd-fcp-sk-line--short {
  max-width: 72%;
}

.fulfillment-center-profile-lp .cd-fcp-sk-line--sm {
  height: 0.65rem;
}

.fulfillment-center-profile-lp .cd-fcp-sk-block {
  height: 1.15rem;
  border-radius: 8px;
  max-width: 40%;
}

.fulfillment-center-profile-lp .cd-fcp-sk-block--heading {
  height: 1.35rem;
  max-width: 55%;
}

.fulfillment-center-profile-lp .cd-fcp-sk-block--sub {
  height: 0.95rem;
  max-width: 48%;
}

.fulfillment-center-profile-lp .cd-fcp-sk-pill {
  display: inline-block;
  width: 4.5rem;
  height: 1.65rem;
  border-radius: 999px;
}

.fulfillment-center-profile-lp .cd-fcp-sk-pill--narrow {
  width: 3.25rem;
}

.fulfillment-center-profile-lp .cd-fcp-sk-pill:nth-child(2) {
  animation-delay: 0.12s;
}

.fulfillment-center-profile-lp .cd-fcp-sk-pill:nth-child(3) {
  animation-delay: 0.24s;
}

.fulfillment-center-profile-lp .cd-fcp-sk-rect {
  height: 140px;
  width: 100%;
}

.fulfillment-center-profile-lp .cd-fcp-sk-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.fulfillment-center-profile-lp .cd-fcp-loading__skeleton .col-lg-7 > .cd-fcp-sk-line:nth-child(2) {
  animation-delay: 0.08s;
}

.fulfillment-center-profile-lp .cd-fcp-loading__skeleton .col-lg-7 > .cd-fcp-sk-line:nth-child(3) {
  animation-delay: 0.16s;
}

.fulfillment-center-profile-lp .cd-fcp-loading__skeleton .col-lg-7 > .cd-fcp-sk-line:nth-child(4) {
  animation-delay: 0.24s;
}

.fulfillment-center-profile-lp #cd-fcp-content.cd-fcp-content--entered {
  animation: cd-fcp-content-reveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes cd-fcp-content-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fulfillment-center-profile-lp .cd-fcp-skeleton--logo {
    animation: none;
  }

  .fulfillment-center-profile-lp #cd-fcp-loading .cd-fcp-loading__status {
    animation: none;
  }

  .fulfillment-center-profile-lp .cd-fcp-sk-line,
  .fulfillment-center-profile-lp .cd-fcp-sk-block,
  .fulfillment-center-profile-lp .cd-fcp-sk-pill,
  .fulfillment-center-profile-lp .cd-fcp-sk-rect,
  .fulfillment-center-profile-lp .cd-fcp-sk-photo {
    animation: none;
    background: rgba(0, 0, 0, 0.07);
  }

  .fulfillment-center-profile-lp #cd-fcp-content.cd-fcp-content--entered {
    animation: none;
  }
}
