.download-center-page {
  min-height: 100vh;
  margin: 0;
  background: #eef1f8;
  color: #1b2240;
}

.download-center-page.dc-lightbox-open {
  overflow: hidden;
}

.download-center-page.dc-checkout-open {
  overflow: hidden;
}

.download-center-page.dc-website-lock-open {
  overflow: hidden;
}

.dc-shell {
  width: min(1320px, calc(100vw - 48px));
  margin: 24px auto 40px;
  display: grid;
  gap: 16px;
}

.dc-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px 24px;
  min-height: 220px;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(58, 179, 214, 0.78) 0%, rgba(75, 88, 216, 0.86) 62%, rgba(67, 52, 173, 0.92) 100%),
    var(--dc-hero-image, none) center/cover no-repeat;
}

.dc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 31, 0.06) 0%, rgba(7, 13, 31, 0.35) 100%);
  pointer-events: none;
}

.dc-hero > * {
  position: relative;
  z-index: 1;
}

.dc-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.dc-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

#dc-copy-link {
  justify-self: end;
}

.dc-bulk-download-form {
  width: min(100%, 1260px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  justify-self: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #cfd8fb;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 255, 0.96) 100%);
  box-shadow: 0 14px 36px rgba(34, 54, 126, 0.1);
}

.dc-bulk-download-panel {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

.dc-bulk-download-group {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.dc-bulk-download-group-label {
  margin: 0;
  color: #5e6fa7;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.dc-bulk-download-options {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.dc-bulk-download-includes {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.dc-bulk-download-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #cad6ff;
  background: rgba(255, 255, 255, 0.95);
  color: #1a2857;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  flex-shrink: 0;
}

.dc-bulk-download-option:hover {
  border-color: #8aa0ff;
  box-shadow: 0 8px 22px rgba(61, 90, 196, 0.1);
  transform: translateY(-1px);
}

.dc-bulk-download-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 6px;
  border: 1.5px solid #aebfff;
  background: #ffffff;
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(34, 54, 126, 0.08);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.dc-bulk-download-option input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(45deg);
  transition: border-color 0.18s ease;
}

.dc-bulk-download-option input[type="checkbox"]:checked {
  border-color: #4f5ce7;
  background: linear-gradient(180deg, #6472ff 0%, #4f5ce7 100%);
  box-shadow: 0 6px 14px rgba(79, 92, 231, 0.26);
}

.dc-bulk-download-option input[type="checkbox"]:checked::after {
  border-color: #ffffff;
}

.dc-bulk-download-option:has(input[type="checkbox"]:checked) {
  border-color: #4f5ce7;
  background: #eef2ff;
  color: #22367e;
  box-shadow: inset 0 0 0 1px #4f5ce7, 0 10px 26px rgba(79, 92, 231, 0.12);
}

.dc-bulk-download-option-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.dc-bulk-download-option-text {
  display: block;
  line-height: 1.1;
}

.dc-bulk-download-option-note {
  display: block;
  color: #6b7cb4;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.dc-bulk-download-option-include {
  min-height: 42px;
  padding: 0 13px;
  font-size: 0.86rem;
}

.dc-bulk-download-form select {
  min-width: 146px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #b8c7ff;
  background: #ffffff;
  color: #1b2856;
  font-weight: 700;
  padding: 0 10px;
}

.dc-bulk-download-form .btn {
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.96rem;
}

.dc-bulk-download-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.dc-bulk-download-action .btn {
  min-width: 188px;
  justify-content: center;
}

.dc-bulk-download-form.is-busy .btn {
  opacity: 0.84;
  pointer-events: none;
}

.dc-bulk-download-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -2px;
}

.dc-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 0;
}

.dc-brand-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.96;
}

#dc-address {
  margin: 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.06;
  color: #ffffff;
  text-shadow: 0 6px 20px rgba(5, 12, 30, 0.42);
}

#dc-location {
  margin: 8px 0 0;
  font-size: 1.04rem;
  opacity: 0.98;
  color: #f2f6ff;
  text-shadow: 0 4px 16px rgba(5, 12, 30, 0.35);
}

.dc-status-chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dc-chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dc-chip-paid,
.dc-chip-fulfilled,
.dc-chip-delivered {
  color: #0f5132;
  background: #d1f4df;
}

.dc-chip-unpaid,
.dc-chip-partial,
.dc-chip-canceled {
  color: #8a2d11;
  background: #ffe1da;
}

.dc-chip-default {
  color: #102246;
  background: rgba(232, 238, 255, 0.9);
}

.dc-lock-banner {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 0.91rem;
  font-weight: 600;
}

.dc-tabs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dc-tab {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #102246;
  background: rgba(246, 249, 255, 0.92);
  border: 1px solid rgba(187, 201, 246, 0.84);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 12px;
}

.dc-tab-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #4f5ce7;
  color: #ffffff;
  font-size: 0.74rem;
}

.dc-notice {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid #c6ddff;
  background: #ebf3ff;
  color: #1a3a70;
  font-weight: 600;
  font-size: 0.92rem;
}

.dc-notice.is-success {
  border-color: #c5edd2;
  background: #e6f8ec;
  color: #1d6a3b;
}

.dc-notice.is-warn {
  border-color: #f2d3c4;
  background: #ffefe8;
  color: #8f3a1f;
}

.dc-property-website-content {
  display: grid;
  gap: 12px;
}

.dc-property-website-head {
  margin-bottom: 10px;
}

.dc-property-website-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dc-property-website-links {
  display: grid;
  gap: 12px;
}

.dc-property-link-list {
  display: grid;
  gap: 12px;
}

.dc-property-link-item {
  border: 1px solid #d1daf7;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  box-shadow: 0 10px 26px rgba(49, 73, 129, 0.06);
}

.dc-property-link-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.dc-property-link-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6072aa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dc-property-link-url {
  margin: 0;
  color: #1f326e;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
  line-height: 1.45;
}

.dc-property-link-url:hover {
  text-decoration: underline;
}

.dc-property-link-url.is-muted {
  color: #7b89b4;
}

.dc-property-link-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dc-property-website-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dc-property-website-link-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.dc-property-website-btn {
  min-width: 104px;
  justify-content: center;
}

.dc-property-website-btn-copy {
  min-width: 92px;
}

.dc-property-website-btn-open {
  min-width: 92px;
}

.dc-website-lock-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(236, 241, 252, 0.76);
  backdrop-filter: blur(6px) saturate(0.95);
}

.dc-website-lock-content {
  width: 100%;
  display: grid;
  place-items: center;
}

.dc-website-lock-dialog {
  width: min(720px, calc(100vw - 48px));
  border-radius: 28px;
  border: 1px solid #d4defc;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.98) 100%);
  box-shadow: 0 28px 80px rgba(38, 58, 140, 0.2);
  padding: 32px;
  display: grid;
  gap: 16px;
}

.dc-website-lock-chip-row {
  display: flex;
  justify-content: center;
}

.dc-website-lock-chip {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dc-website-lock-heading {
  margin: 0;
  text-align: center;
  color: #22356e;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.98;
  font-weight: 800;
}

.dc-website-lock-copy {
  margin: 0;
  text-align: center;
  color: #4e629a;
  font-size: 1.08rem;
}

.dc-website-lock-balance {
  margin: 0;
  text-align: center;
  color: #37569a;
  font-size: 1.22rem;
  font-weight: 700;
}

.dc-website-lock-legal {
  display: grid;
  gap: 8px;
  border: 1px solid #d7e0fb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 18px;
}

.dc-website-lock-legal-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #314981;
  font-weight: 600;
  line-height: 1.45;
}

.dc-website-lock-legal-toggle input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.dc-website-lock-legal-hint {
  margin: 0;
  color: #6c7eaf;
  font-size: 0.93rem;
}

.dc-website-lock-actions {
  display: flex;
  justify-content: center;
}

.dc-website-lock-actions .btn {
  min-width: 164px;
}

.dc-property-website-lock {
  border-radius: 18px;
  border: 1px solid #f1ccb9;
  background: linear-gradient(180deg, #fff8f4 0%, #fff2eb 100%);
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}

.dc-property-website-lock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dc-property-website-lock-title {
  margin: 0;
  color: #8f3a1f;
  font-weight: 800;
  font-size: 1rem;
}

.dc-property-website-lock-copy {
  margin: 0;
  color: #7b3a26;
  line-height: 1.5;
}

.dc-property-website-pay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dc-property-website-pay-hint {
  margin: 0;
  color: #7b3a26;
  font-size: 0.92rem;
}

.dc-property-website-lock-balance-wrap .dc-website-lock-balance {
  margin: 0;
  text-align: left;
  font-size: 1rem;
}

.dc-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  background: rgba(10, 17, 38, 0.55);
  backdrop-filter: blur(2px);
  padding: 22px;
}

.dc-checkout-card {
  width: min(960px, calc(100vw - 44px));
  max-height: calc(100vh - 44px);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #cdd8ff;
}

.dc-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #dce4ff;
}

.dc-checkout-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

.dc-checkout-container {
  min-height: 620px;
  max-height: calc(100vh - 128px);
  overflow: auto;
  padding: 18px;
  background: #f8faff;
}

.dc-checkout-flow {
  display: grid;
  gap: 16px;
}

.dc-checkout-summary {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid #d6e0ff;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.dc-checkout-kicker {
  margin: 0;
  color: #677ab0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dc-checkout-summary-title {
  margin: 0;
  color: #15244f;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.dc-checkout-summary-copy {
  margin: 0;
  color: #506393;
  font-size: 1rem;
}

.dc-checkout-legal-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #d6e0ff;
  border-radius: 18px;
  background: #ffffff;
}

.dc-checkout-legal-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-checkout-legal-trigger {
  white-space: nowrap;
}

.dc-checkout-legal-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dce4ff;
  border-radius: 16px;
  background: #f8faff;
}

.dc-checkout-legal-doc {
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.dc-checkout-legal-doc summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  color: #23396f;
  font-weight: 700;
}

.dc-checkout-legal-doc summary::-webkit-details-marker {
  display: none;
}

.dc-checkout-legal-doc-body {
  padding: 0 14px 14px;
  color: #405380;
  line-height: 1.6;
}

.dc-checkout-legal-doc-body a {
  color: #445dff;
}

.dc-checkout-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dc-checkout-legal-link {
  min-height: 38px;
}

.dc-checkout-legal-empty {
  margin: 0;
  color: #6376a8;
}

.dc-checkout-continue {
  display: flex;
  justify-content: flex-end;
}

.dc-checkout-continue .btn {
  min-width: 220px;
}

.dc-checkout-embedded-shell {
  border: 1px solid #d6e0ff;
  border-radius: 18px;
  background: #ffffff;
  padding: 10px;
}

.dc-checkout-hosted-shell {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #d6e0ff;
  border-radius: 18px;
  background: #ffffff;
}

.dc-checkout-hosted-shell.is-error {
  border-color: #f3b7c0;
  background: #fff8fb;
}

.dc-checkout-hosted-eyebrow {
  margin: 0;
  color: #5a71ad;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dc-checkout-hosted-title {
  margin: 0;
  color: #1a2b57;
  font-size: 1.03rem;
  font-weight: 700;
}

.dc-checkout-hosted-copy {
  margin: 0;
  color: #4f628f;
  font-size: 0.93rem;
}

.dc-section {
  border-radius: 16px;
}

.dc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
}

.dc-section-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dc-section-download-btn {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(38, 58, 146, 0.1);
  white-space: nowrap;
}

.dc-section-download-btn::before {
  content: "⤓";
  font-size: 0.82rem;
  margin-right: 7px;
  opacity: 0.8;
}

.dc-section-download-btn--web::before {
  content: "⤓";
}

.dc-section-download-btn--print::before {
  content: "⤓";
}

.dc-section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: 1.4rem;
}

.dc-count {
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8ecff;
  color: #4255dc;
  font-weight: 800;
  font-size: 0.84rem;
}

.dc-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dc-files-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-file-row {
  border: 1px solid #cfdbff;
  border-radius: 12px;
  background: #f8faff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dc-file-row-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dc-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #c7d5ff;
  background: #e9efff;
  color: #2e43a5;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dc-file-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dc-file-title {
  margin: 0;
  color: #1c2959;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-file-meta {
  margin: 0;
  color: #5d6fa6;
  font-size: 0.8rem;
  font-weight: 600;
}

.dc-file-lock-note {
  margin: 1px 0 0;
  color: #8f3a1f;
  font-size: 0.78rem;
  font-weight: 700;
}

.dc-file-row-actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.dc-media-card {
  border: 1px solid #cdd7fb;
  border-radius: 14px;
  background: #f8faff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dc-media-preview-wrap {
  position: relative;
}

.dc-media-preview-btn {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
}

.dc-media-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #dfe6ff;
}

.dc-media-card-floor-plan .dc-media-preview {
  object-fit: contain;
  background: #ffffff;
}

.dc-media-card-floor-plan .dc-media-preview-btn {
  background: #ffffff;
}

.dc-media-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  display: block;
  background: #dfe6ff;
}

.dc-media-preview-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(242, 245, 255, 0.98) 0%, rgba(232, 238, 255, 0.98) 100%);
  text-align: center;
}

.dc-media-preview-placeholder-copy {
  margin: 0;
  max-width: 18rem;
  color: #435791;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.dc-media-preview-placeholder-video {
  background:
    radial-gradient(circle at top, rgba(117, 134, 255, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(244, 247, 255, 0.98) 0%, rgba(232, 238, 255, 0.98) 100%);
}

.dc-media-preview-wrap.is-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 31, 0.01) 0%, rgba(7, 13, 31, 0.08) 100%);
  pointer-events: none;
}

.dc-media-meta {
  padding: 10px 12px 2px;
}

.dc-media-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c2959;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px 12px;
}

.dc-media-actions--sizes {
  justify-content: center;
  align-items: center;
}

.dc-media-actions .btn {
  font-size: 0.82rem;
  padding: 7px 10px;
}

.dc-media-actions .is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.dc-media-lock-note {
  margin: 0 12px 12px;
  font-size: 0.78rem;
  color: #8f3a1f;
  font-weight: 700;
}

.dc-empty {
  grid-column: 1 / -1;
  border: 1px dashed #c8d3fa;
  border-radius: 12px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #5f6d9f;
  font-weight: 600;
  padding: 20px;
}

.dc-provider-row {
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.dc-provider-row label {
  font-weight: 700;
  color: #394e8d;
}

.dc-provider-row select {
  min-width: 180px;
}

.dc-invoice-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dc-invoice-kpi {
  border: 1px solid #d1daf7;
  border-radius: 12px;
  background: #f8faff;
  padding: 12px;
}

.dc-invoice-kpi span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #586ba7;
}

.dc-invoice-kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
  color: #15244f;
}

.dc-orders-list {
  display: grid;
  gap: 12px;
}

.dc-payment-legal-toggle {
  border: 1px solid #cfdbff;
  border-radius: 12px;
  background: #f5f8ff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  color: #2c3d74;
  font-weight: 600;
}

.dc-payment-legal-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #4d5bff;
}

.dc-payment-legal-toggle span {
  line-height: 1.4;
}

@media (max-width: 760px) {
  .dc-checkout-legal-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-checkout-continue .btn {
    width: 100%;
  }
}

.dc-order {
  border: 1px solid #cfdbff;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.dc-order-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #f5f8ff;
  border-bottom: 1px solid #deE6ff;
}

.dc-order-head h3 {
  margin: 0;
  font-size: 1rem;
  white-space: nowrap;
}

.dc-order-head > div:first-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.dc-order-meta {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

.dc-order-meta .dc-chip {
  padding: 4px 9px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.dc-order-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dc-order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf1ff;
}

.dc-order-row:last-child {
  border-bottom: 0;
}

.dc-order-foot {
  border-top: 1px solid #e2eaff;
  background: #f8faff;
  padding: 10px 12px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #3b4f88;
}

.dc-order-total {
  font-size: 1.02rem;
  font-weight: 800;
  color: #18265d;
}

.dc-order-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dc-order-actions .btn {
  white-space: nowrap;
}

.dc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 28px 56px 28px;
  background: rgba(0, 0, 0, 0.94);
}

.dc-lightbox-stage {
  position: relative;
  width: min(1760px, calc(100vw - 160px));
  height: min(calc(100vh - 96px), 1120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  box-sizing: border-box;
  overflow: visible;
}

.dc-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  margin: 0 auto;
}

.dc-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(17, 28, 68, 0.72);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.dc-lightbox-nav:hover,
.dc-lightbox-nav:focus-visible {
  background: rgba(66, 88, 198, 0.9);
  border-color: rgba(207, 217, 255, 0.86);
  transform: translateY(-50%) scale(1.03);
}

.dc-lightbox-nav:disabled {
  opacity: 0.36;
  cursor: default;
}

.dc-lightbox-nav-prev {
  left: -72px;
}

.dc-lightbox-nav-next {
  right: -72px;
}

.dc-lightbox-caption {
  margin: 0;
  max-width: min(1320px, calc(100vw - 120px));
  text-align: center;
  color: rgba(244, 248, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.56);
}

.dc-lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 28, 68, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.dc-lightbox-close:hover,
.dc-lightbox-close:focus-visible {
  background: rgba(66, 88, 198, 0.9);
  border-color: rgba(207, 217, 255, 0.86);
  transform: scale(1.03);
}

html[data-theme="dark"] .download-center-page {
  background: linear-gradient(180deg, #0b1224 0%, #070d1a 84%);
  color: #dce7ff;
}

html[data-theme="dark"] .dc-bulk-download-form {
  border-color: #3a4f84;
  background: linear-gradient(180deg, rgba(18, 31, 57, 0.96) 0%, rgba(13, 24, 45, 0.98) 100%);
  box-shadow: 0 10px 24px rgba(2, 8, 24, 0.4);
}

html[data-theme="dark"] .dc-bulk-download-form select {
  border-color: #3a4f84;
  background: #0f1a34;
  color: #dce7ff;
}

html[data-theme="dark"] .dc-bulk-download-option {
  border-color: #3a4f84;
  background: #0f1a34;
  color: #dce7ff;
}

html[data-theme="dark"] .dc-bulk-download-group-label {
  color: #97aee8;
}

html[data-theme="dark"] .dc-bulk-download-option:hover {
  border-color: #6788ff;
}

html[data-theme="dark"] .dc-bulk-download-option input[type="checkbox"] {
  border-color: #5d77c9;
  background: #122246;
}

html[data-theme="dark"] .dc-bulk-download-option:has(input[type="checkbox"]:checked) {
  border-color: #7f9bff;
  background: #1c3364;
  color: #f1f5ff;
  box-shadow: inset 0 0 0 1px #7f9bff;
}

html[data-theme="dark"] .dc-bulk-download-option-note {
  color: #9db2e8;
}

html[data-theme="dark"] .dc-tab {
  color: #dce7ff;
  border-color: #3e5892;
  background: #1d3360;
}

html[data-theme="dark"] .dc-tab-count {
  background: #7f9bff;
  color: #0f2043;
}

html[data-theme="dark"] .dc-notice {
  border-color: #3f588e;
  background: #132345;
  color: #c8d8ff;
}

html[data-theme="dark"] .dc-notice.is-success {
  border-color: #3f6b62;
  background: #1a3b34;
  color: #ccf5e6;
}

html[data-theme="dark"] .dc-notice.is-warn {
  border-color: #7a6240;
  background: #3a2a17;
  color: #f7dba7;
}

html[data-theme="dark"] .dc-property-website-lock {
  border-color: #6b5538;
  background: linear-gradient(180deg, rgba(66, 42, 24, 0.94) 0%, rgba(55, 36, 22, 0.98) 100%);
}

html[data-theme="dark"] .dc-website-lock-modal {
  background: rgba(7, 13, 26, 0.78);
}

html[data-theme="dark"] .dc-website-lock-dialog {
  border-color: #334877;
  background: linear-gradient(180deg, rgba(18, 31, 57, 0.99) 0%, rgba(12, 22, 44, 0.99) 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .dc-website-lock-heading {
  color: #ecf2ff;
}

html[data-theme="dark"] .dc-website-lock-copy {
  color: #bfd0f8;
}

html[data-theme="dark"] .dc-website-lock-balance {
  color: #e3ecff;
}

html[data-theme="dark"] .dc-website-lock-legal {
  border-color: #334877;
  background: rgba(10, 18, 35, 0.86);
}

html[data-theme="dark"] .dc-website-lock-legal-toggle {
  color: #d8e4ff;
}

html[data-theme="dark"] .dc-website-lock-legal-hint {
  color: #98acdd;
}

html[data-theme="dark"] .dc-property-link-item {
  border-color: rgba(128, 149, 226, 0.24);
  background: linear-gradient(180deg, rgba(23, 30, 61, 0.94) 0%, rgba(18, 24, 48, 0.98) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .dc-property-link-label {
  color: #8fa3dd;
}

html[data-theme="dark"] .dc-property-link-url {
  color: #e4edff;
}

html[data-theme="dark"] .dc-property-link-url.is-muted {
  color: #8ea4d6;
}

html[data-theme="dark"] .dc-property-website-lock-title,
html[data-theme="dark"] .dc-property-website-lock-copy,
html[data-theme="dark"] .dc-property-website-pay-hint {
  color: #f7dba7;
}

html[data-theme="dark"] .dc-property-website-lock-balance-wrap .dc-website-lock-balance {
  color: #ffe7c2;
}

html[data-theme="dark"] .dc-checkout-card {
  border-color: #334877;
  background: #121f39;
}

html[data-theme="dark"] .dc-checkout-head {
  border-bottom-color: #2a3960;
}

html[data-theme="dark"] .dc-checkout-container {
  background: #0f1a34;
}

html[data-theme="dark"] .dc-checkout-summary,
html[data-theme="dark"] .dc-checkout-legal-card,
html[data-theme="dark"] .dc-checkout-embedded-shell,
html[data-theme="dark"] .dc-checkout-hosted-shell,
html[data-theme="dark"] .dc-checkout-legal-doc {
  border-color: #334877;
  background: #121f39;
}

html[data-theme="dark"] .dc-checkout-kicker {
  color: #97aee8;
}

html[data-theme="dark"] .dc-checkout-summary-title {
  color: #ecf2ff;
}

html[data-theme="dark"] .dc-checkout-summary-copy,
html[data-theme="dark"] .dc-checkout-legal-empty,
html[data-theme="dark"] .dc-checkout-legal-doc-body {
  color: #bfd0f8;
}

html[data-theme="dark"] .dc-checkout-hosted-eyebrow {
  color: #aabfff;
}

html[data-theme="dark"] .dc-checkout-hosted-title {
  color: #e1e9ff;
}

html[data-theme="dark"] .dc-checkout-hosted-copy {
  color: #b9c8ef;
}

html[data-theme="dark"] .dc-checkout-legal-panel {
  border-color: #334877;
  background: #0f1a34;
}

html[data-theme="dark"] .dc-checkout-legal-doc summary {
  color: #dce7ff;
}

html[data-theme="dark"] .dc-checkout-legal-doc-body a {
  color: #8ca5ff;
}

html[data-theme="dark"] .dc-count {
  border: 1px solid #3e5892;
  background: #1d3360;
  color: #d5e4ff;
}

html[data-theme="dark"] .dc-section-download-btn {
  box-shadow: 0 6px 18px rgba(5, 10, 24, 0.45);
}

html[data-theme="dark"] .dc-media-card,
html[data-theme="dark"] .dc-empty,
html[data-theme="dark"] .dc-invoice-kpi,
html[data-theme="dark"] .dc-order,
html[data-theme="dark"] .dc-order-head,
html[data-theme="dark"] .dc-order-foot {
  border-color: #334877;
  background: #121f39;
}

html[data-theme="dark"] .dc-file-row {
  border-color: #334877;
  background: #121f39;
}

html[data-theme="dark"] .dc-file-icon {
  border-color: #3e5892;
  background: #1d3360;
  color: #d5e4ff;
}

html[data-theme="dark"] .dc-payment-legal-toggle {
  border-color: #334877;
  background: #121f39;
  color: #dce7ff;
}

html[data-theme="dark"] .dc-media-preview,
html[data-theme="dark"] .dc-media-embed {
  background: #101b34;
}

html[data-theme="dark"] .dc-media-title,
html[data-theme="dark"] .dc-invoice-kpi strong,
html[data-theme="dark"] .dc-order-total {
  color: #e4edff;
}

html[data-theme="dark"] .dc-file-title {
  color: #e4edff;
}

html[data-theme="dark"] .dc-media-lock-note {
  color: #f7dba7;
}

html[data-theme="dark"] .dc-provider-row label,
html[data-theme="dark"] .dc-invoice-kpi span,
html[data-theme="dark"] .dc-order-foot,
html[data-theme="dark"] .dc-empty,
html[data-theme="dark"] .dc-file-meta {
  color: #9fb2de;
}

html[data-theme="dark"] .dc-file-lock-note {
  color: #f7dba7;
}

html[data-theme="dark"] .dc-order-row {
  border-bottom-color: #2a3960;
}

@media (max-width: 1180px) {
  .dc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dc-bulk-download-form {
    width: min(100%, 1120px);
    grid-template-columns: minmax(0, 1fr);
  }

  .dc-bulk-download-panel {
    display: grid;
    gap: 12px;
  }

  .dc-bulk-download-group {
    display: grid;
    gap: 8px;
  }

  .dc-bulk-download-options,
  .dc-bulk-download-includes {
    flex-wrap: wrap;
  }

  .dc-bulk-download-action {
    width: 100%;
  }

  .dc-bulk-download-action .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 940px) {
  .dc-shell {
    width: calc(100vw - 28px);
    margin: 14px auto 24px;
  }

  .dc-hero {
    padding: 18px;
  }

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

  .dc-invoice-summary {
    grid-template-columns: 1fr;
  }

  .dc-hero-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .dc-brand-row,
  #dc-copy-link {
    justify-self: start;
  }

  .dc-bulk-download-row {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  .dc-grid {
    grid-template-columns: 1fr;
  }

  .dc-file-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dc-file-row-actions {
    justify-content: flex-start;
  }

  .dc-tabs {
    gap: 6px;
  }

  .dc-tab {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .dc-order-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .dc-lightbox {
    padding: 12px;
    gap: 8px;
  }

  .dc-lightbox-stage {
    width: calc(100vw - 24px);
    height: calc(100vh - 92px);
    padding: 14px 0;
  }

  .dc-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .dc-lightbox-nav-prev {
    left: 4px;
  }

  .dc-lightbox-nav-next {
    right: 4px;
  }

  .dc-lightbox-caption {
    max-width: calc(100vw - 32px);
    font-size: 0.88rem;
  }

  .dc-website-lock-dialog {
    width: min(100%, calc(100vw - 32px));
    padding: 24px 20px;
    gap: 14px;
  }

  .dc-website-lock-copy,
  .dc-website-lock-balance {
    font-size: 1rem;
  }

  .dc-property-link-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .dc-property-link-actions {
    justify-content: flex-start;
  }

  .dc-property-website-lock-header,
  .dc-property-website-pay-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
