[data-set-downloads],
[data-set-downloads-trigger] {
  --pc-download-ink: #1c3a2d;
  --pc-download-accent: #def165;
  font-family: inherit;
}

/* Cream download cards */
.pc-download-links { gap: 30px; }

.pc-download-link {
  grid-template-columns: 25px minmax(0, 1fr) 54px;
  gap: 14px;
  min-height: 96px;
  padding: 0 20px 0 22px !important;
  border: 0 !important;
  border-radius: 7px 22px 22px 7px !important;
  background: #fbf8f1 !important;
  box-shadow: 0 10px 20px rgba(54, 48, 39, 0.13) !important;
}

.pc-download-format {
  top: -13px;
  right: auto;
  left: 40px;
  min-width: 64px;
  padding: 7px 12px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  transform: rotate(-3deg);
}

.pc-download-file-icon {
  position: relative;
  align-self: stretch;
  width: 25px;
  height: auto;
  border-right: 2px dashed #ddd5c8;
  border-radius: 0;
  background: transparent !important;
}

.pc-download-file-icon svg { display: none; }

.pc-download-file-icon::after {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 10px;
  height: 10px;
  border: 1px solid #fffdf8;
  border-radius: 50%;
  background: #293b26;
  box-shadow: 0 0 0 1px #d8d0c3;
  content: "";
  transform: translateY(-50%);
}

.pc-download-link-title {
  color: #293b26 !important;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

.pc-download-link-note {
  margin-top: 7px;
  color: #655e53 !important;
  font-size: 14px;
  letter-spacing: 0;
}

.pc-download-arrow {
  width: 46px;
  height: 46px;
  border: 2px solid #293b26;
  background: transparent;
  color: #293b26;
  font-size: 23px;
}

.pc-download-link--pdf .pc-download-format { background: #d9a747; }
.pc-download-link--sheet .pc-download-format { background: #94aab5; }
.pc-download-link--placeholders .pc-download-format { background: #cd897c; }

.pc-download-link:hover {
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(54, 48, 39, 0.17) !important;
}

@media (max-width: 640px) {
  .pc-download-links { gap: 27px; }
  .pc-download-link {
    grid-template-columns: 19px minmax(0, 1fr) 42px;
    gap: 11px;
    min-height: 88px;
    padding: 0 12px 0 14px !important;
  }
  .pc-download-format { top: -11px; left: 30px; min-width: 56px; padding: 6px 9px; font-size: 11px; }
  .pc-download-file-icon { width: 19px; }
  .pc-download-link-title { font-size: 18px; }
  .pc-download-link-note { margin-top: 6px; font-size: 12px; }
  .pc-download-arrow { width: 38px; height: 38px; font-size: 20px; }
}

[data-set-downloads][data-align="right"],
[data-set-downloads-trigger][data-align="right"] {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

[data-set-downloads] .pc-download-trigger,
[data-set-downloads-trigger] .pc-download-trigger {
  display: inline-block;
  padding: 20px 28px;
  background: transparent;
  color: #000;
  border: 2px solid #000;
  border-radius: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

[data-set-downloads] .pc-download-trigger:hover,
[data-set-downloads-trigger] .pc-download-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pc-download-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.65);
}

.pc-download-overlay.is-open {
  display: flex;
}

.pc-download-modal {
  position: relative;
  width: min(100%, 540px);
  padding: 46px 42px 42px;
  box-sizing: border-box;
  border-radius: 30px;
  background: #f3f1eb;
}

.pc-download-close {
  position: absolute;
  top: 14px;
  right: 18px;
  padding: 4px;
  border: 0;
  background: none;
  color: #1c3a2d;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pc-download-close:hover { color: #000; }
.pc-download-modal h3 { margin: 0 0 6px; color: #1c3a2d !important; }
.pc-download-modal p { color: #2a2a2a !important; }
.pc-download-form-group { margin-bottom: 14px; }

.pc-download-form-group label {
  display: block;
  margin-bottom: 5px;
  color: #1c3a2d !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pc-download-form-group input {
  width: 100%;
  padding: 10px 13px;
  box-sizing: border-box;
  border: 1.5px solid #c5d4cc;
  border-radius: 8px;
  background: #fff;
  color: #1c3a2d !important;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s;
}

.pc-download-form-group input:focus {
  outline: none;
  border-color: #2e6b4f;
  box-shadow: 0 0 0 3px rgba(46, 107, 79, 0.12);
}

.pc-download-submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: #1c3a2d;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.pc-download-submit:hover { background: #2e6b4f; }
.pc-download-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.pc-download-legal {
  margin-top: 14px;
  color: #4a4a4a !important;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.55;
}

.pc-download-legal a { color: #2e6b4f !important; }

.pc-download-error {
  display: none;
  margin-bottom: 12px;
  padding: 10px 13px;
  border-radius: 7px;
  background: #fdecea;
  color: #9c2727 !important;
  font-size: 13px;
}

.pc-download-success { display: none; }

.pc-download-success h3 {
  max-width: 390px;
  margin: 0 0 18px;
  font-family: Fraunces, Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.pc-download-success p {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.pc-download-links {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 38px;
}

@keyframes pc-download-pulse {
  0% { box-shadow: 0 0 0 0 rgba(28, 58, 45, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(28, 58, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(28, 58, 45, 0); }
}

.pc-download-link {
  position: relative;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: center;
  min-height: 98px;
  padding: 0 16px 0 0 !important;
  box-sizing: border-box;
  border: 2px solid #332f29 !important;
  border-radius: 12px !important;
  background: #fbf8f1 !important;
  box-shadow: 7px 8px 0 #332f29 !important;
  font-family: Montserrat, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  animation: none !important;
  transition: filter 0.2s ease, transform 0.2s ease !important;
}

.pc-download-format {
  position: absolute;
  top: -14px;
  right: 26px;
  display: block;
  min-width: 54px;
  padding: 4px 10px;
  box-sizing: border-box;
  border: 2px solid #332f29;
  border-radius: 999px;
  color: #332f29;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.pc-download-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 76px;
  height: auto;
  border-right: 2px dashed #332f29;
  border-radius: 10px 0 0 10px;
  color: #332f29;
}

.pc-download-file-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.pc-download-copy { min-width: 0; }
.pc-download-link-title {
  display: block;
  color: #38332d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.pc-download-link-note {
  display: block;
  margin-top: 5px;
  color: #746b60;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.pc-download-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f2ede2;
  color: #332f29;
  font-size: 24px;
  line-height: 1;
}

.pc-download-link--pdf { color: #332f29 !important; }
.pc-download-link--sheet { color: #332f29 !important; }
.pc-download-link--placeholders { color: #332f29 !important; }
.pc-download-link--pdf .pc-download-format,
.pc-download-link--pdf .pc-download-file-icon { background: #efbd4f; }
.pc-download-link--sheet .pc-download-format,
.pc-download-link--sheet .pc-download-file-icon { background: #a9bf90; }
.pc-download-link--placeholders .pc-download-format,
.pc-download-link--placeholders .pc-download-file-icon { background: #e4a1a5; }

.pc-download-link--pdf .pc-download-link-title,
.pc-download-link--sheet .pc-download-link-title,
.pc-download-link--placeholders .pc-download-link-title { color: #38332d; }
.pc-download-link--pdf .pc-download-link-note,
.pc-download-link--sheet .pc-download-link-note,
.pc-download-link--placeholders .pc-download-link-note { color: #5f584e; }

.pc-download-link:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 7px 8px 0 #332f29 !important;
  animation: none !important;
}

body.pc-download-modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .pc-download-overlay {
    align-items: flex-start;
    padding: 86px 14px 18px;
    overflow-y: auto;
  }

  .pc-download-modal {
    max-height: calc(100dvh - 112px);
    padding: 34px 24px 28px;
    overflow-y: auto;
    border-radius: 24px;
    -webkit-overflow-scrolling: touch;
  }

  .pc-download-close {
    position: sticky;
    top: 0;
    z-index: 2;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: -12px -8px 6px 8px;
    border-radius: 999px;
    background: #f5f2ec;
  }

  .pc-download-modal h3 { padding-right: 34px; }
  .pc-download-form-group { margin-bottom: 10px; }
  .pc-download-form-group input { padding: 9px 12px; }
  .pc-download-submit { padding: 12px; }
  .pc-download-legal { font-size: 10px; line-height: 1.4; }
  .pc-download-success h3 { font-size: 34px; }
  .pc-download-success p { font-size: 15px; }
  .pc-download-links { gap: 24px; margin-top: 30px; }
  .pc-download-link { grid-template-columns: 58px minmax(0, 1fr) 34px; gap: 11px; min-height: 84px; padding: 0 10px 0 0 !important; }
  .pc-download-format { top: -12px; right: 18px; min-width: 48px; padding: 3px 8px; font-size: 11px; }
  .pc-download-file-icon { width: 58px; height: auto; border-radius: 10px 0 0 10px; }
  .pc-download-file-icon svg { width: 24px; height: 24px; }
  .pc-download-link-title { font-size: 14px; }
  .pc-download-link-note { margin-top: 4px; font-size: 12px; }
  .pc-download-arrow { width: 36px; height: 36px; font-size: 20px; }
}

/* Final cream-card cascade */
.pc-download-links { gap: 30px; }
.pc-download-link {
  grid-template-columns: 25px minmax(0, 1fr) 54px;
  gap: 14px;
  min-height: 96px;
  padding: 0 20px 0 22px !important;
  border: 0 !important;
  border-radius: 7px 22px 22px 7px !important;
  background: #fbf8f1 !important;
  box-shadow: 0 10px 20px rgba(54, 48, 39, 0.13) !important;
}
.pc-download-format {
  top: -13px;
  right: auto;
  left: 40px;
  min-width: 64px;
  padding: 7px 12px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  transform: rotate(-3deg);
}
.pc-download-file-icon {
  position: relative;
  align-self: stretch;
  width: 25px;
  height: auto;
  border-right: 2px dashed #ddd5c8;
  border-radius: 0;
  background: transparent !important;
}
.pc-download-file-icon svg { display: none; }
.pc-download-file-icon::after {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 10px;
  height: 10px;
  border: 1px solid #fffdf8;
  border-radius: 50%;
  background: #293b26;
  box-shadow: 0 0 0 1px #d8d0c3;
  content: "";
  transform: translateY(-50%);
}
.pc-download-link-title {
  color: #293b26 !important;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}
.pc-download-link-note {
  margin-top: 7px;
  color: #655e53 !important;
  font-size: 14px;
  letter-spacing: 0;
}
.pc-download-arrow {
  width: 46px;
  height: 46px;
  border: 2px solid #293b26;
  background: transparent;
  color: #293b26;
  font-size: 23px;
}
.pc-download-link--pdf .pc-download-format { background: #d9a747; }
.pc-download-link--sheet .pc-download-format { background: #94aab5; }
.pc-download-link--placeholders .pc-download-format { background: #cd897c; }
.pc-download-link:hover {
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(54, 48, 39, 0.17) !important;
}
@media (max-width: 640px) {
  .pc-download-links { gap: 27px; }
  .pc-download-link {
    grid-template-columns: 19px minmax(0, 1fr) 42px;
    gap: 11px;
    min-height: 88px;
    padding: 0 12px 0 14px !important;
  }
  .pc-download-format { top: -11px; right: auto; left: 30px; min-width: 56px; padding: 6px 9px; font-size: 11px; }
  .pc-download-file-icon { width: 19px; height: auto; border-radius: 0; }
  .pc-download-link-title { font-size: 18px; }
  .pc-download-link-note { margin-top: 6px; font-size: 12px; }
  .pc-download-arrow { width: 38px; height: 38px; font-size: 20px; }
}
