
/* ============================================================
   DJR CUSTOMER CRM
   Dashboard-aligned component system
   ============================================================ */

.djrc-page {
  --djrc-navy: #071a37;
  --djrc-navy-deep: #061329;
  --djrc-blue: #102b59;
  --djrc-purple: #684ce7;
  --djrc-purple-deep: #4934ad;
  --djrc-purple-soft: #eee9ff;
  --djrc-bg: #eef1f6;
  --djrc-card: #ffffff;
  --djrc-ink: #10203e;
  --djrc-muted: #7d8ba4;
  --djrc-line: var(--owner-line, #dfe5ef);
  --djrc-green: #22b979;
  --djrc-amber: #c98a28;
  --djrc-red: #d35159;

  min-height: 100vh;
  padding: 26px 0 150px;
  background: var(--djrc-bg);
  color: var(--owner-ink, var(--djrc-ink));
}

.djrc-page *,
.djrc-page *::before,
.djrc-page *::after {
  box-sizing: border-box;
}

.djrc-shell {
  width: min(calc(100% - 34px), 1120px);
  margin: 0 auto;
}


/* ============================================================
   HERO
   ============================================================ */

.djrc-hero {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 95% 0%,
      rgba(112, 79, 233, .42),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #0a2044 0%,
      #061936 58%,
      #07172f 100%
    );
  color: #fff;
  box-shadow:
    0 22px 55px rgba(7, 26, 55, .15);
}

.djrc-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 26px;
  color: var(--owner-accent, #cbd4e8);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

.djrc-eyebrow,
.djrc-section-eyebrow {
  margin: 0 0 8px;
  color: var(--owner-accent, #7963ec);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.djrc-hero .djrc-eyebrow {
  color: var(--owner-accent, #8f7af5);
}

.djrc-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .98;
}

.djrc-subtitle {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--owner-muted, #b8c2d5);
  font-size: 1rem;
  line-height: 1.55;
}

.djrc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.djrc-stat {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 21px;
  background: var(--owner-surface, rgba(255,255,255,.085));
  backdrop-filter: blur(10px);
}

.djrc-stat strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.djrc-stat span {
  display: block;
  margin-top: 5px;
  color: var(--owner-muted, #aeb9ce);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* ============================================================
   SECTIONS
   ============================================================ */

.djrc-section-card {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--djrc-line);
  border-radius: 28px;
  background: var(--owner-solid, #fff);
  box-shadow:
    0 10px 30px rgba(7, 26, 55, .045);
}

.djrc-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.djrc-section-heading h2 {
  margin: 0;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.djrc-section-heading p:not(.djrc-section-eyebrow) {
  margin: 6px 0 0;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .9rem;
  line-height: 1.45;
}


/* ============================================================
   SEARCH
   ============================================================ */

.djrc-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.djrc-search-card input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid #d9dfeb;
  border-radius: 17px;
  outline: none;
  background: var(--owner-solid, #f7f8fb);
  color: var(--owner-ink, var(--djrc-ink));
  font: inherit;
  font-size: .93rem;
}

.djrc-search-card input:focus {
  border-color: #8c78ea;
  background: var(--owner-solid, #fff);
  box-shadow: 0 0 0 4px rgba(104, 76, 231, .09);
}

.djrc-search-card button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 17px;
  background: var(--djrc-purple);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}


/* ============================================================
   CUSTOMER CARDS
   ============================================================ */

.djrc-customer-grid {
  display: grid;
  gap: 12px;
}

.djrc-customer-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--djrc-line);
  border-radius: 22px;
  background: var(--owner-solid, #fff);
  color: inherit;
  text-decoration: none;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}

.djrc-customer-card:hover {
  border-color: rgba(104, 76, 231, .32);
  box-shadow: 0 12px 28px rgba(7, 26, 55, .08);
  transform: translateY(-1px);
}

.djrc-customer-card:active {
  transform: scale(.992);
}

.djrc-customer-main {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 13px;
  padding: 16px;
}

.djrc-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      var(--owner-solid, #eee9ff),
      var(--owner-solid, #ddd5ff)
    );
  color: var(--owner-accent, var(--djrc-purple));
  font-size: 1.15rem;
  font-weight: 900;
}

.djrc-customer-identity {
  min-width: 0;
}

.djrc-customer-identity strong {
  display: block;
  overflow: hidden;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: 1rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.djrc-customer-identity small {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.djrc-card-chevron,
.djrc-expand-chevron {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--owner-inset, var(--djrc-purple-soft));
  color: var(--owner-accent, var(--djrc-purple));
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.djrc-customer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #edf0f5;
  background: var(--owner-solid, #fafbfc);
}

.djrc-customer-metrics > div {
  min-width: 0;
  padding: 12px 14px;
}

.djrc-customer-metrics > div + div {
  border-left: 1px solid #edf0f5;
}

.djrc-customer-metrics small {
  display: block;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.djrc-customer-metrics strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .84rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ============================================================
   ORDERS
   ============================================================ */

.djrc-order-stack {
  display: grid;
  gap: 12px;
}

.djrc-order {
  overflow: hidden;
  border: 1px solid var(--djrc-line);
  border-radius: 22px;
  background: var(--owner-solid, #fff);
  box-shadow:
    0 7px 18px rgba(7, 26, 55, .035);
}

.djrc-order[open] {
  border-color: rgba(104, 76, 231, .3);
  box-shadow:
    0 15px 36px rgba(7, 26, 55, .09);
}

.djrc-order-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.djrc-order-summary::-webkit-details-marker {
  display: none;
}

.djrc-order-summary::marker {
  display: none;
  content: "";
}

.djrc-order-summary-main {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.djrc-order-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  background: var(--owner-inset, var(--djrc-purple-soft));
  color: var(--owner-accent, var(--djrc-purple));
  font-size: 1.1rem;
}

.djrc-order-heading {
  min-width: 0;
}

.djrc-order-heading strong {
  display: block;
  overflow: hidden;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .96rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.djrc-order-heading small {
  display: block;
  margin-top: 4px;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .73rem;
}

.djrc-order-summary-side {
  display: flex;
  align-items: center;
  gap: 9px;
}

.djrc-order-total {
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .95rem;
  font-weight: 900;
  white-space: nowrap;
}

.djrc-order[open] .djrc-expand-chevron {
  transform: rotate(90deg);
}

.djrc-expand-chevron {
  transition: transform .18s ease;
}

.djrc-order-badges {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 57px;
}

.djrc-status {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--owner-solid, #edf1f6);
  color: var(--owner-muted, #60708c);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.djrc-status-paid,
.djrc-status-fulfilled {
  background: var(--owner-solid, #e7f7f0);
  color: var(--owner-success, #17945f);
}

.djrc-status-refunded,
.djrc-status-partially_refunded {
  background: var(--owner-solid, #fff2df);
  color: var(--owner-warning, #ad6d17);
}

.djrc-status-voided,
.djrc-status-unfulfilled {
  background: var(--owner-solid, #f2edf9);
  color: var(--owner-muted, #745794);
}


/* ============================================================
   EXPANDED ORDER
   ============================================================ */

.djrc-order-body {
  padding: 0 16px 16px;
}

.djrc-order-block {
  padding: 17px;
  border-radius: 18px;
  background: var(--owner-solid, #f7f8fb);
}

.djrc-order-block + .djrc-order-block {
  margin-top: 10px;
}

.djrc-order-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.djrc-order-block-heading small {
  display: block;
  color: var(--owner-accent, var(--djrc-purple));
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.djrc-order-block-heading h3 {
  margin: 3px 0 0;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: 1rem;
  font-weight: 900;
}

.djrc-order-block-heading > span {
  display: grid;
  min-width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: var(--owner-inset, var(--djrc-purple-soft));
  color: var(--owner-accent, var(--djrc-purple));
  font-size: .76rem;
  font-weight: 900;
}


/* PRODUCTS */

.djrc-product-list {
  display: grid;
  gap: 8px;
}

.djrc-product-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #e3e7ef;
  border-radius: 16px;
  background: var(--owner-solid, #fff);
}

.djrc-product-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--owner-solid, #f0ecff);
  color: var(--owner-accent, var(--djrc-purple));
}

.djrc-product-copy {
  min-width: 0;
}

.djrc-product-copy > strong {
  display: block;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.3;
}

.djrc-product-variant {
  display: block;
  margin-top: 3px;
  color: var(--owner-accent, var(--djrc-purple));
  font-size: .7rem;
  font-weight: 800;
}

.djrc-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 5px;
}

.djrc-product-meta span {
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .65rem;
}

.djrc-product-price {
  text-align: right;
}

.djrc-product-price strong {
  display: block;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .78rem;
  font-weight: 900;
}

.djrc-product-price small {
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .6rem;
}


/* TIMELINE */

.djrc-timeline {
  position: relative;
}

.djrc-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 11px;
  padding-bottom: 20px;
}

.djrc-timeline-item:last-child {
  padding-bottom: 0;
}

.djrc-timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -1px;
  left: 6px;
  width: 2px;
  background: var(--owner-solid, #dfe4ec);
}

.djrc-timeline-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 3px solid #f7f8fb;
  border-radius: 50%;
  background: #aab3c2;
  box-shadow: 0 0 0 1px #cbd2de;
}

.djrc-timeline-item.is-complete .djrc-timeline-dot {
  background: var(--djrc-green);
  box-shadow: 0 0 0 1px rgba(34,185,121,.2);
}

.djrc-timeline-item.is-warning .djrc-timeline-dot {
  background: var(--djrc-red);
}

.djrc-timeline-item small {
  display: block;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .63rem;
  font-weight: 700;
}

.djrc-timeline-item strong {
  display: block;
  margin-top: 2px;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .8rem;
  font-weight: 900;
}

.djrc-timeline-item p {
  margin: 3px 0 0;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .7rem;
  line-height: 1.4;
}


/* TOTALS */

.djrc-total-table {
  overflow: hidden;
  border: 1px solid #e1e6ee;
  border-radius: 15px;
  background: var(--owner-solid, #fff);
}

.djrc-total-table > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 13px;
}

.djrc-total-table > div + div {
  border-top: 1px solid #edf0f5;
}

.djrc-total-table span {
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .75rem;
}

.djrc-total-table strong {
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .78rem;
  font-weight: 900;
}

.djrc-total-table .djrc-total-final {
  background: var(--djrc-navy);
}

.djrc-total-final span,
.djrc-total-final strong {
  color: #fff;
}

.djrc-note-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--owner-solid, #fff);
  color: var(--owner-ink, var(--djrc-ink));
  font-size: .78rem;
  line-height: 1.5;
}


/* EMPTY STATES */

.djrc-empty-card,
.djrc-empty-inline {
  padding: 24px;
  border: 1px dashed #d3dae5;
  border-radius: 18px;
  background: var(--owner-solid, #f9fafc);
  color: var(--owner-muted, var(--djrc-muted));
  text-align: center;
  font-size: .82rem;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {

  .djrc-page {
    padding-top: 18px;
  }

  .djrc-shell {
    width: min(calc(100% - 22px), 1120px);
  }

  .djrc-hero {
    padding: 22px 20px;
    border-radius: 26px;
  }

  .djrc-back {
    margin-bottom: 18px;
  }

  .djrc-subtitle {
    font-size: .9rem;
  }

  .djrc-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
  }

  .djrc-stat {
    padding: 14px;
    border-radius: 17px;
  }

  .djrc-stat strong {
    font-size: 1.15rem;
  }

  .djrc-stat span {
    font-size: .58rem;
  }

  .djrc-section-card {
    margin-top: 12px;
    padding: 15px;
    border-radius: 22px;
  }

  .djrc-section-heading {
    margin-bottom: 14px;
  }

  .djrc-section-heading h2 {
    font-size: 1.2rem;
  }

  .djrc-section-heading p:not(.djrc-section-eyebrow) {
    font-size: .79rem;
  }

  .djrc-search-card {
    grid-template-columns: 1fr;
  }

  .djrc-search-card input,
  .djrc-search-card button {
    min-height: 48px;
    border-radius: 15px;
  }

  .djrc-customer-main {
    grid-template-columns: 45px minmax(0, 1fr) 28px;
    gap: 11px;
    padding: 13px;
  }

  .djrc-avatar {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }

  .djrc-customer-metrics > div {
    padding: 10px;
  }

  .djrc-customer-metrics small {
    font-size: .54rem;
  }

  .djrc-customer-metrics strong {
    font-size: .72rem;
  }

  .djrc-order-summary {
    padding: 13px;
  }

  .djrc-order-summary-main {
    grid-template-columns: 41px minmax(0, 1fr);
    gap: 10px;
  }

  .djrc-order-icon {
    width: 41px;
    height: 41px;
  }

  .djrc-order-heading strong {
    font-size: .88rem;
  }

  .djrc-order-total {
    font-size: .85rem;
  }

  .djrc-order-badges {
    padding-left: 51px;
  }

  .djrc-order-body {
    padding: 0 12px 12px;
  }

  .djrc-order-block {
    padding: 13px;
    border-radius: 16px;
  }

  .djrc-product-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .djrc-product-icon {
    width: 38px;
    height: 38px;
  }

  .djrc-product-price {
    grid-column: 2;
    text-align: left;
  }

}


/* ============================================================
   DJR CRM — MATCH OWNER DASHBOARD PAGE BACKGROUND
   Remove CRM's rectangular grey wrapper around hero
   ============================================================ */

.djrc-page {
  background: transparent !important;
}

.djrc-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}



/* ============================================================
   DJR CUSTOMER CRM — SYSTEM WARRANTY
   ============================================================ */

.djrc-warranty-panel {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--djrc-line);
  border-radius: 28px;
  background: var(--owner-solid, #fff);
  box-shadow:
    0 10px 30px rgba(7, 26, 55, .045);
}

.djrc-warranty-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.djrc-warranty-panel-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.djrc-warranty-shield {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--owner-inset, var(--djrc-purple-soft));
  color: var(--owner-accent, var(--djrc-purple));
  font-size: 1.15rem;
  font-weight: 900;
}

.djrc-warranty-panel-title h2 {
  margin: 2px 0 0;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.djrc-warranty-panel-title p:not(.djrc-section-eyebrow) {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .88rem;
  line-height: 1.45;
}

.djrc-warranty-count {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--owner-solid, #e8f7ef);
  color: var(--owner-success, #16895c);
}

.djrc-warranty-count strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.djrc-warranty-count span {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}


/* Warranty cards */

.djrc-warranty-list {
  display: grid;
  gap: 10px;
}

.djrc-warranty-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid #e2e7ef;
  border-radius: 18px;
  background: var(--owner-solid, #f8f9fc);
}

.djrc-warranty-card.is-active {
  border-color: #dcebe4;
  background:
    linear-gradient(
      135deg,
      var(--owner-solid, #fbfdfc) 0%,
      var(--owner-solid, #f3faf6) 100%
    );
}

.djrc-warranty-card.is-expired {
  background: var(--owner-solid, #fafafa);
}

.djrc-warranty-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.djrc-warranty-product-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--owner-solid, #efeaff);
  color: var(--owner-accent, var(--djrc-purple));
  font-size: 1rem;
}

.djrc-warranty-copy {
  min-width: 0;
}

.djrc-warranty-copy > strong {
  display: block;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .85rem;
  font-weight: 900;
  line-height: 1.32;
}

.djrc-warranty-copy > small {
  display: block;
  margin-top: 4px;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .7rem;
  line-height: 1.35;
}

.djrc-warranty-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.djrc-warranty-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--owner-solid, #edf1f6);
  color: var(--owner-muted, #65748e);
  font-size: .61rem;
  font-weight: 800;
}

.djrc-warranty-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 132px;
  text-align: right;
}

.djrc-warranty-status > strong {
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .85rem;
  font-weight: 900;
}

.djrc-warranty-status > small {
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .66rem;
}

.djrc-warranty-status .is-active,
.djrc-warranty-card.is-active .djrc-warranty-status > strong:first-child {
  color: var(--owner-success, #15945f);
}

.djrc-warranty-status .is-expired,
.djrc-warranty-card.is-expired .djrc-warranty-status > strong:first-child {
  color: var(--owner-muted, #a15b61);
}


/* Per-order warranty block */

.djrc-order-warranty-block {
  background:
    linear-gradient(
      135deg,
      var(--owner-solid, #f7f5ff) 0%,
      var(--owner-solid, #faf9ff) 100%
    );
}

.djrc-order-warranty-list {
  display: grid;
  gap: 8px;
}

.djrc-order-warranty {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #e4e0f4;
  border-radius: 15px;
  background: var(--owner-solid, #fff);
}

.djrc-order-warranty-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--owner-solid, #efeaff);
  color: var(--owner-accent, var(--djrc-purple));
  font-weight: 900;
}

.djrc-order-warranty-copy {
  min-width: 0;
}

.djrc-order-warranty-copy strong {
  display: block;
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.3;
}

.djrc-order-warranty-copy small {
  display: block;
  margin-top: 3px;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .65rem;
}

.djrc-order-warranty-status {
  text-align: right;
}

.djrc-order-warranty-status strong {
  display: block;
  font-size: .76rem;
  font-weight: 900;
}

.djrc-order-warranty-status strong.is-active {
  color: var(--owner-success, #15945f);
}

.djrc-order-warranty-status strong.is-expired {
  color: var(--owner-muted, #a15b61);
}

.djrc-order-warranty-status small {
  display: block;
  margin-top: 3px;
  color: var(--owner-muted, var(--djrc-muted));
  font-size: .61rem;
}


/* ============================================================
   WARRANTY — MOBILE
   ============================================================ */

@media (max-width: 720px) {

  .djrc-warranty-panel {
    margin-top: 12px;
    padding: 15px;
    border-radius: 22px;
  }

  .djrc-warranty-panel-head {
    gap: 10px;
    margin-bottom: 13px;
  }

  .djrc-warranty-panel-title {
    gap: 10px;
  }

  .djrc-warranty-shield {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: .95rem;
  }

  .djrc-warranty-panel-title h2 {
    font-size: 1.15rem;
  }

  .djrc-warranty-panel-title p:not(.djrc-section-eyebrow) {
    font-size: .75rem;
  }

  .djrc-warranty-count {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .djrc-warranty-count strong {
    font-size: .9rem;
  }

  .djrc-warranty-count span {
    font-size: .55rem;
  }

  .djrc-warranty-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .djrc-warranty-main {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 10px;
  }

  .djrc-warranty-product-icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .djrc-warranty-copy > strong {
    font-size: .78rem;
  }

  .djrc-warranty-copy > small {
    font-size: .64rem;
  }

  .djrc-warranty-meta {
    margin-top: 6px;
  }

  .djrc-warranty-meta span {
    min-height: 23px;
    font-size: .55rem;
  }

  .djrc-warranty-status {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding-top: 9px;
    border-top: 1px solid #e3e8ef;
    text-align: left;
  }

  .djrc-warranty-status > strong {
    font-size: .76rem;
  }

  .djrc-warranty-status > small {
    text-align: right;
    font-size: .59rem;
  }

  .djrc-order-warranty {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }

  .djrc-order-warranty-icon {
    width: 34px;
    height: 34px;
  }

  .djrc-order-warranty-status {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 7px;
    border-top: 1px solid #ece9f5;
    text-align: left;
  }

}



/* ============================================================
   DJR CRM — COMPACT WARRANTY INSIDE ORDER CARD
   ============================================================ */

.djrc-order-warranty-snippet {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;

  margin: 10px 0 0 57px;
  padding: 10px 12px;

  border: 1px solid #dfe5ed;
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      var(--owner-solid, #f7f5ff) 0%,
      var(--owner-solid, #fafbfe) 100%
    );

  color: var(--owner-ink, var(--djrc-navy));
}

.djrc-order-warranty-snippet-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;

  border-radius: 11px;

  background: var(--owner-solid, #ebe6ff);
  color: var(--owner-accent, var(--djrc-purple));

  font-size: .88rem;
  font-weight: 900;
}

.djrc-order-warranty-snippet-copy {
  min-width: 0;
}

.djrc-order-warranty-snippet-copy span,
.djrc-order-warranty-snippet-date span {
  display: block;

  color: var(--owner-muted, #8592aa);

  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.djrc-order-warranty-snippet-copy strong {
  display: block;
  margin-top: 3px;

  color: var(--owner-success, #15915d);

  font-size: .76rem;
  font-weight: 900;
  line-height: 1.25;
}

.djrc-order-warranty-snippet-date {
  min-width: 92px;
  text-align: right;
}

.djrc-order-warranty-snippet-date strong {
  display: block;
  margin-top: 3px;

  color: var(--owner-ink, var(--djrc-navy));

  font-size: .7rem;
  font-weight: 900;
  white-space: nowrap;
}


/* Expired warranty */

.djrc-order-warranty-snippet.is-expired {
  background: var(--owner-solid, #f7f8fb);
}

.djrc-order-warranty-snippet.is-expired
.djrc-order-warranty-snippet-icon {
  background: var(--owner-solid, #eceff4);
  color: var(--owner-muted, #73819a);
}

.djrc-order-warranty-snippet.is-expired
.djrc-order-warranty-snippet-copy strong {
  color: var(--owner-muted, #73819a);
}


/* Mobile */

@media (max-width: 720px) {

  .djrc-order-warranty-snippet {
    grid-template-columns: 30px minmax(0, 1fr) auto;

    margin-left: 49px;
    padding: 9px 10px;
    gap: 8px;

    border-radius: 13px;
  }

  .djrc-order-warranty-snippet-icon {
    width: 30px;
    height: 30px;

    border-radius: 10px;
  }

  .djrc-order-warranty-snippet-copy span,
  .djrc-order-warranty-snippet-date span {
    font-size: .5rem;
  }

  .djrc-order-warranty-snippet-copy strong {
    font-size: .69rem;
  }

  .djrc-order-warranty-snippet-date {
    min-width: 79px;
  }

  .djrc-order-warranty-snippet-date strong {
    font-size: .63rem;
  }
}


/* Very narrow phones */

@media (max-width: 390px) {

  .djrc-order-warranty-snippet {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .djrc-order-warranty-snippet-date {
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

}


/* ============================================================
   DJR WARRANTY V2 — ORDER CARD COMPONENT
   ============================================================ */

.djrc-order-cover {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;

  margin: 9px 0 0 57px;
  padding: 9px 10px;

  border: 1px solid #dfe5ec;
  border-radius: 14px;

  background: var(--owner-solid, #f8fafc);
}

.djrc-order-cover-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;

  border-radius: 10px;

  font-size: .78rem;
  font-weight: 1000;
}

.djrc-order-cover.is-active
.djrc-order-cover-icon {
  background: var(--owner-solid, #e5f7ef);
  color: var(--owner-success, #15915d);
}

.djrc-order-cover.is-expired
.djrc-order-cover-icon {
  background: var(--owner-solid, #fff0dc);
  color: var(--owner-warning, #b46b11);
}

.djrc-order-cover.is-void
.djrc-order-cover-icon {
  background: var(--owner-solid, #fde8eb);
  color: var(--owner-danger, #c53c51);
}

.djrc-order-cover-copy {
  min-width: 0;
}

.djrc-order-cover-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.djrc-order-cover-label > strong {
  color: var(--owner-ink, var(--djrc-navy));
  font-size: .73rem;
  font-weight: 900;
  line-height: 1.2;
}

.djrc-order-cover-label > span {
  display: inline-flex;
  align-items: center;

  min-height: 20px;
  padding: 0 7px;

  border-radius: 999px;

  font-size: .48rem;
  font-weight: 1000;
  letter-spacing: .07em;
}

.djrc-order-cover-label .is-active {
  background: var(--owner-solid, #e5f7ef);
  color: var(--owner-success, #15915d);
}

.djrc-order-cover-label .is-expired {
  background: var(--owner-solid, #fff0dc);
  color: var(--owner-warning, #a96611);
}

.djrc-order-cover-label .is-void {
  background: var(--owner-solid, #fde8eb);
  color: var(--owner-danger, #c53c51);
}

.djrc-order-cover-copy > small {
  display: block;

  margin-top: 3px;

  overflow: hidden;

  color: var(--owner-muted, #8491a8);
  font-size: .63rem;
  font-weight: 700;
  line-height: 1.35;

  text-overflow: ellipsis;
}

.djrc-order-cover-void {
  min-height: 30px;
  padding: 0 9px;

  border: 0;
  border-radius: 9px;

  background: var(--owner-solid, #f1edf9);
  color: var(--owner-muted, #7754a7);

  font: inherit;
  font-size: .58rem;
  font-weight: 900;

  cursor: pointer;
}


/* ============================================================
   WARRANTY VOID DIALOG
   ============================================================ */

.djrc-warranty-void-dialog {
  width: min(calc(100% - 32px), 430px);
  padding: 0;

  border: 0;
  border-radius: 24px;

  background: var(--owner-solid, #fff);

  box-shadow:
    0 28px 80px rgba(6, 23, 48, .28);
}

.djrc-warranty-void-dialog::backdrop {
  background: rgba(5, 16, 35, .55);
  backdrop-filter: blur(5px);
}

.djrc-warranty-void-form {
  padding: 22px;
}

.djrc-warranty-void-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.djrc-warranty-void-symbol {
  display: grid;

  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  place-items: center;

  border-radius: 13px;

  background: var(--owner-solid, #fde8eb);
  color: var(--owner-danger, #c53c51);

  font-weight: 1000;
}

.djrc-warranty-void-head span {
  color: var(--owner-accent, var(--djrc-purple));
  font-size: .58rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.djrc-warranty-void-head h3 {
  margin: 2px 0 0;

  color: var(--owner-ink, var(--djrc-navy));
  font-size: 1.2rem;
  font-weight: 900;
}

.djrc-warranty-void-product {
  margin: 17px 0;

  color: var(--owner-muted, #63718b);
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.45;
}

.djrc-warranty-void-field {
  display: block;
}

.djrc-warranty-void-field > span {
  display: block;

  margin-bottom: 7px;

  color: var(--owner-ink, var(--djrc-navy));
  font-size: .67rem;
  font-weight: 900;
}

.djrc-warranty-void-field textarea {
  width: 100%;
  min-height: 105px;
  padding: 12px;

  resize: vertical;

  border: 1px solid #dfe5ed;
  border-radius: 14px;

  background: var(--owner-solid, #f8fafc);
  color: var(--owner-ink, var(--djrc-navy));

  font: inherit;
  font-size: .78rem;

  box-sizing: border-box;
}

.djrc-warranty-void-field textarea:focus {
  outline: 2px solid rgba(105, 72, 239, .16);
  border-color: #8d72ed;
}

.djrc-warranty-void-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;

  margin-top: 15px;
}

.djrc-warranty-void-actions button {
  min-height: 44px;

  border: 0;
  border-radius: 13px;

  font: inherit;
  font-size: .7rem;
  font-weight: 900;

  cursor: pointer;
}

.djrc-warranty-cancel {
  background: var(--owner-solid, #eef1f5);
  color: var(--owner-muted, #586781);
}

.djrc-warranty-confirm {
  background: #c53c51;
  color: #fff;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {

  .djrc-order-cover {
    grid-template-columns: 28px minmax(0, 1fr) auto;

    margin-left: 49px;

    gap: 8px;
    padding: 8px 9px;

    border-radius: 13px;
  }

  .djrc-order-cover-icon {
    width: 28px;
    height: 28px;
  }

  .djrc-order-cover-label > strong {
    font-size: .68rem;
  }

  .djrc-order-cover-copy > small {
    font-size: .59rem;
  }

  .djrc-order-cover-void {
    min-height: 28px;
    padding: 0 8px;
  }

}



/* ============================================================
   DJR COMPACT ORDER WARRANTY — CARD MATCH
   ============================================================ */

.djrc-order-cover {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;

  width: auto;
  margin: 12px 0 0 57px;
  padding: 10px 11px;

  border: 1px solid #e3e7ef;
  border-radius: 15px;

  background: var(--owner-solid, #f7f8fb);

  box-shadow: none;
}

.djrc-order-cover-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;

  border-radius: 11px;

  background: var(--owner-solid, #e7f7f0);
  color: var(--owner-success, #17945f);

  font-size: .9rem;
  font-weight: 900;
}

.djrc-order-cover.is-void .djrc-order-cover-icon,
.djrc-order-cover.is-expired .djrc-order-cover-icon {
  background: var(--owner-solid, #fff0f0);
  color: var(--owner-danger, #cc4242);
}

.djrc-order-cover-copy {
  min-width: 0;
}

.djrc-order-cover-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.djrc-order-cover-label > strong {
  color: var(--owner-ink, var(--djrc-navy));

  font-size: .72rem;
  font-weight: 900;
  line-height: 1.2;
}

.djrc-order-cover-label > span {
  display: inline-flex;
  align-items: center;

  min-height: 20px;
  padding: 0 7px;

  border-radius: 999px;

  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
}

.djrc-order-cover-label > span.is-active {
  background: var(--owner-solid, #e7f7f0);
  color: var(--owner-success, #17945f);
}

.djrc-order-cover-label > span.is-expired,
.djrc-order-cover-label > span.is-void {
  background: var(--owner-solid, #fff0f0);
  color: var(--owner-danger, #c83b3b);
}

.djrc-order-cover-copy > small {
  display: block;
  margin-top: 4px;

  color: var(--owner-muted, var(--djrc-muted));

  font-size: .62rem;
  font-weight: 700;
  line-height: 1.35;
}

.djrc-order-cover-void {
  appearance: none;

  min-height: 29px;
  padding: 0 9px;

  border: 1px solid #efc7c7;
  border-radius: 9px;

  background: var(--owner-solid, #fff7f7);
  color: var(--owner-danger, #c63c3c);

  font: inherit;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .03em;

  cursor: pointer;
}

.djrc-order-cover-void:active {
  transform: translateY(1px);
}


/* MOBILE */
@media (max-width: 720px) {

  .djrc-order-cover {
    grid-template-columns: 31px minmax(0, 1fr) auto;

    gap: 8px;

    margin-left: 49px;
    margin-top: 10px;

    padding: 9px 9px;

    border-radius: 13px;
  }

  .djrc-order-cover-icon {
    width: 31px;
    height: 31px;

    border-radius: 10px;

    font-size: .82rem;
  }

  .djrc-order-cover-label > strong {
    font-size: .68rem;
  }

  .djrc-order-cover-copy > small {
    font-size: .58rem;
  }

  .djrc-order-cover-void {
    min-height: 27px;
    padding: 0 8px;

    font-size: .5rem;
  }
}


/* EXTRA-NARROW PHONES */
@media (max-width: 390px) {

  .djrc-order-cover {
    grid-template-columns: 29px minmax(0, 1fr) auto;

    margin-left: 0;
  }

  .djrc-order-cover-icon {
    width: 29px;
    height: 29px;
  }

}



/* ============================================================
   DJR WARRANTY V3 — COMPACT ORDER STATUS STRIP
   Warranty sits directly beneath the clickable order summary.
   ============================================================ */

.djrc-order-cover {
  display: grid !important;
  grid-template-columns:
    28px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 9px !important;

  box-sizing: border-box !important;

  width: auto !important;
  min-height: 46px !important;

  margin:
    -1px 13px 10px 64px !important;

  padding: 7px 9px !important;

  border:
    1px solid var(--djrc-line) !important;
  border-radius: 13px !important;

  background: var(--owner-solid, #f8fafc) !important;

  box-shadow: none !important;
}


.djrc-order-cover-icon {
  display: grid !important;
  place-items: center !important;

  width: 28px !important;
  height: 28px !important;

  border-radius: 9px !important;

  font-size: .72rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}


.djrc-order-cover.is-active
.djrc-order-cover-icon {
  background: var(--owner-solid, #e5f7ef) !important;
  color: var(--owner-success, #15915d) !important;
}


.djrc-order-cover.is-expired
.djrc-order-cover-icon {
  background: var(--owner-solid, #fff0dc) !important;
  color: var(--owner-warning, #b46b11) !important;
}


.djrc-order-cover.is-void
.djrc-order-cover-icon {
  background: var(--owner-solid, #fde8eb) !important;
  color: var(--owner-danger, #c53c51) !important;
}


.djrc-order-cover-copy {
  min-width: 0 !important;
}


.djrc-order-cover-label {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;

  gap: 5px !important;

  margin: 0 !important;
}


.djrc-order-cover-label > strong {
  margin: 0 !important;

  color: var(--owner-ink, var(--djrc-navy)) !important;

  font-size: .67rem !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}


.djrc-order-cover-label > span {
  display: inline-flex !important;
  align-items: center !important;

  min-height: 17px !important;

  margin: 0 !important;
  padding: 0 6px !important;

  border-radius: 999px !important;

  font-size: .43rem !important;
  font-weight: 1000 !important;
  letter-spacing: .06em !important;
  line-height: 1 !important;
}


.djrc-order-cover-label > span.is-active {
  background: var(--owner-solid, #e5f7ef) !important;
  color: var(--owner-success, #15915d) !important;
}


.djrc-order-cover-label > span.is-expired {
  background: var(--owner-solid, #fff0dc) !important;
  color: var(--owner-warning, #a96611) !important;
}


.djrc-order-cover-label > span.is-void {
  background: var(--owner-solid, #fde8eb) !important;
  color: var(--owner-danger, #c53c51) !important;
}


.djrc-order-cover-copy > small {
  display: block !important;

  margin: 2px 0 0 !important;

  overflow: hidden !important;

  color: var(--owner-muted, var(--djrc-muted)) !important;

  font-size: .55rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}


.djrc-order-cover-void {
  appearance: none !important;

  width: auto !important;
  min-width: 0 !important;
  min-height: 25px !important;

  margin: 0 !important;
  padding: 0 8px !important;

  border: 1px solid #efc7c7 !important;
  border-radius: 8px !important;

  background: var(--owner-solid, #fff7f7) !important;
  color: var(--owner-danger, #c63c3c) !important;

  box-shadow: none !important;

  font: inherit !important;
  font-size: .48rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}


@media (max-width: 720px) {

  .djrc-order-cover {
    grid-template-columns:
      26px minmax(0, 1fr) auto !important;

    min-height: 42px !important;

    margin:
      -1px 12px 9px 63px !important;

    padding: 6px 8px !important;

    gap: 7px !important;

    border-radius: 12px !important;
  }


  .djrc-order-cover-icon {
    width: 26px !important;
    height: 26px !important;

    border-radius: 8px !important;

    font-size: .68rem !important;
  }


  .djrc-order-cover-label > strong {
    font-size: .62rem !important;
  }


  .djrc-order-cover-label > span {
    min-height: 16px !important;

    padding: 0 5px !important;

    font-size: .40rem !important;
  }


  .djrc-order-cover-copy > small {
    font-size: .51rem !important;
  }


  .djrc-order-cover-void {
    min-height: 23px !important;

    padding: 0 7px !important;

    font-size: .45rem !important;
  }

}


@media (max-width: 390px) {

  .djrc-order-cover {
    margin-left: 12px !important;
  }

}



/* ============================================================
   DJR WARRANTY V4 — ALIGN WITH ORDER CARD CONTENT
   ============================================================ */

.djrc-order-cover {
  width: auto !important;

  margin-left: 16px !important;
  margin-right: 16px !important;
  margin-top: 8px !important;

  grid-template-columns:
    31px minmax(0, 1fr) auto !important;

  gap: 9px !important;

  padding: 9px 10px !important;
}

.djrc-order-cover-copy {
  min-width: 0 !important;
  width: 100% !important;
}

.djrc-order-cover-copy > small {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;

  max-width: none !important;

  line-height: 1.35 !important;
}

.djrc-order-cover-label {
  min-width: 0 !important;
}

.djrc-order-cover-void {
  flex-shrink: 0 !important;
}


/* MOBILE */

@media (max-width: 720px) {

  .djrc-order-cover {
    margin-left: 12px !important;
    margin-right: 12px !important;

    grid-template-columns:
      29px minmax(0, 1fr) auto !important;

    gap: 8px !important;

    padding: 8px 9px !important;
  }

  .djrc-order-cover-icon {
    width: 29px !important;
    height: 29px !important;
  }

  .djrc-order-cover-copy > small {
    font-size: .59rem !important;
    white-space: normal !important;
  }

}


/* VERY NARROW PHONES */

@media (max-width: 390px) {

  .djrc-order-cover {
    margin-left: 8px !important;
    margin-right: 8px !important;

    grid-template-columns:
      27px minmax(0, 1fr) auto !important;
  }

  .djrc-order-cover-icon {
    width: 27px !important;
    height: 27px !important;
  }

}


/* ==========================================================
   DJR ORDER — CONTACT / SHIPPING / TRACKING
   ========================================================== */

.djrc-order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.djrc-order-info-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e4e8f0;
  border-radius: 16px;
  background: var(--owner-solid, #f8f9fc);
}

.djrc-order-info-label {
  display: block;
  margin-bottom: 5px;
  color: var(--owner-accent, #7257e8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.djrc-order-info-card h4 {
  margin: 0 0 16px;
  color: var(--owner-ink, #17213a);
  font-size: 16px;
  line-height: 1.25;
}

.djrc-order-info-list {
  display: grid;
  gap: 11px;
}

.djrc-order-info-list > div {
  min-width: 0;
}

.djrc-order-info-list span {
  display: block;
  margin-bottom: 3px;
  color: var(--owner-muted, #8490a5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.djrc-order-info-list strong,
.djrc-shipping-address strong {
  color: var(--owner-ink, #30394d);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.djrc-copy-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.djrc-copy-row > strong,
.djrc-copy-row > span {
  min-width: 0;
  flex: 1;
}

.djrc-copy-button {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid #dedbea;
  border-radius: 8px;
  background: var(--owner-solid, #ffffff);
  color: var(--owner-accent, #7257e8);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.djrc-copy-button:hover,
.djrc-copy-button:focus-visible {
  border-color: #bfb5f2;
  background: var(--owner-solid, #f5f2ff);
  outline: none;
}

.djrc-copy-button.is-copied {
  border-color: #b8dfc5;
  background: var(--owner-solid, #edf9f1);
  color: var(--owner-success, #1e7a42);
}

.djrc-shipping-address {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--owner-muted, #556078);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.djrc-shipping-address span {
  display: block;
}

.djrc-order-tracking {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid #e1dcff;
  border-radius: 14px;
  background: var(--owner-solid, #f6f5ff);
}

.djrc-order-tracking-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #7257e8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.djrc-order-tracking-copy {
  min-width: 0;
}

.djrc-order-tracking-copy small {
  display: block;
  margin-bottom: 3px;
  color: var(--owner-muted, #7b729e);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.djrc-order-tracking-copy strong {
  display: block;
  color: var(--owner-ink, #31284f);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.djrc-order-track-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.djrc-order-track-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  background: #7257e8;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.djrc-order-track-button:hover,
.djrc-order-track-button:focus-visible {
  background: #6249cf;
  color: #ffffff;
  outline: none;
}

@media (max-width: 620px) {
  .djrc-order-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .djrc-order-info-card {
    padding: 13px;
    border-radius: 13px;
  }

  .djrc-order-info-card h4 {
    margin-bottom: 13px;
    font-size: 14px;
  }

  .djrc-order-info-list strong,
  .djrc-shipping-address,
  .djrc-shipping-address strong {
    font-size: 11px;
  }

  .djrc-order-info-list span,
  .djrc-order-info-label {
    font-size: 9px;
  }

  .djrc-copy-button {
    width: 25px;
    height: 25px;
    border-radius: 7px;
    font-size: 12px;
  }

  .djrc-order-tracking {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .djrc-order-track-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}


/* ==========================================================
   DJR ORDER CONTACT / DELIVERY — FINAL COMPACT OVERRIDE
   2026-08-07
   ========================================================== */

.djrc-page .djrc-order .djrc-order-info-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
}


.djrc-page .djrc-order .djrc-order-info-card {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 13px 14px !important;

  border: 1px solid #e2e5ed !important;
  border-radius: 14px !important;

  background: var(--owner-solid, #ffffff) !important;
  box-shadow: none !important;
}


.djrc-page .djrc-order .djrc-order-info-label {
  display: block !important;

  margin: 0 0 3px !important;
  padding: 0 !important;

  color: var(--owner-accent, #7257e8) !important;

  font-size: 8px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;

  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}


.djrc-page .djrc-order .djrc-order-info-card h4 {
  margin: 0 0 10px !important;
  padding: 0 !important;

  color: var(--owner-ink, #142440) !important;

  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}


.djrc-page .djrc-order .djrc-order-info-list {
  display: grid !important;
  gap: 8px !important;

  margin: 0 !important;
  padding: 0 !important;
}


.djrc-page .djrc-order .djrc-order-info-list > div {
  display: block !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}


.djrc-page .djrc-order .djrc-order-info-list > div > span {
  display: block !important;

  margin: 0 0 2px !important;
  padding: 0 !important;

  color: var(--owner-muted, #8995aa) !important;

  font-size: 8px !important;
  line-height: 1.15 !important;
  font-weight: 750 !important;

  letter-spacing: .35px !important;
  text-transform: uppercase !important;
}


.djrc-page .djrc-order .djrc-order-info-list strong,
.djrc-page .djrc-order .djrc-shipping-address strong {
  display: block !important;

  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--owner-ink, #192947) !important;

  font-size: 10.5px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;

  overflow-wrap: anywhere !important;
  word-break: normal !important;
}


.djrc-page .djrc-order .djrc-copy-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  width: 100% !important;

  gap: 5px !important;

  margin: 0 !important;
  padding: 0 !important;
}


.djrc-page .djrc-order .djrc-copy-row > strong,
.djrc-page .djrc-order .djrc-copy-row > span,
.djrc-page .djrc-order .djrc-copy-row > address {
  flex: 1 1 auto !important;
  min-width: 0 !important;

  margin: 0 !important;
}


/* Critical:
   neutralises broad/global portal button styling. */
.djrc-page .djrc-order button.djrc-copy-button {
  appearance: none !important;
  -webkit-appearance: none !important;

  display: inline-grid !important;
  place-items: center !important;

  flex: 0 0 23px !important;

  width: 23px !important;
  min-width: 23px !important;
  max-width: 23px !important;

  height: 23px !important;
  min-height: 23px !important;
  max-height: 23px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid #ddd8fa !important;
  border-radius: 7px !important;

  background: var(--owner-solid, #f5f2ff) !important;
  background-image: none !important;

  color: var(--owner-accent, #694fdb) !important;

  box-shadow: none !important;

  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 800 !important;

  text-align: center !important;
  text-indent: 0 !important;

  cursor: pointer !important;

  transform: none !important;
}


.djrc-page .djrc-order button.djrc-copy-button:hover,
.djrc-page .djrc-order button.djrc-copy-button:focus-visible {
  width: 23px !important;
  height: 23px !important;

  border-color: #b9acf2 !important;
  background: var(--owner-solid, #ece7ff) !important;
  color: var(--owner-accent, #6248d1) !important;

  outline: none !important;
  box-shadow: none !important;
}


.djrc-page .djrc-order button.djrc-copy-button.is-copied {
  border-color: #bce6cf !important;
  background: var(--owner-solid, #edf9f2) !important;
  color: var(--owner-success, #15814d) !important;
}


.djrc-page .djrc-order .djrc-shipping-address {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--owner-ink, #34425b) !important;

  font-size: 10px !important;
  line-height: 1.38 !important;
  font-style: normal !important;
  font-weight: 600 !important;

  overflow-wrap: anywhere !important;
}


.djrc-page .djrc-order .djrc-shipping-address span {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* Tracking becomes a compact strip below the two columns. */
.djrc-page .djrc-order .djrc-order-tracking {
  display: grid !important;
  grid-template-columns: 25px minmax(0, 1fr) auto !important;
  align-items: center !important;

  gap: 8px !important;

  margin: 9px 0 0 !important;
  padding: 9px 10px !important;

  border: 1px solid #e1dcff !important;
  border-radius: 11px !important;

  background: var(--owner-solid, #f7f5ff) !important;

  box-shadow: none !important;
}


.djrc-page .djrc-order .djrc-order-tracking-icon {
  display: grid !important;
  place-items: center !important;

  width: 25px !important;
  min-width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 7px !important;

  background: #7257e8 !important;
  color: #ffffff !important;

  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}


.djrc-page .djrc-order .djrc-order-tracking-copy {
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}


.djrc-page .djrc-order .djrc-order-tracking-copy small {
  display: block !important;

  margin: 0 0 2px !important;
  padding: 0 !important;

  color: var(--owner-muted, #857ca6) !important;

  font-size: 7.5px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;

  letter-spacing: .45px !important;
  text-transform: uppercase !important;
}


.djrc-page .djrc-order .djrc-order-tracking-copy strong {
  display: block !important;

  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--owner-ink, #302750) !important;

  font-size: 9.5px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;

  overflow-wrap: anywhere !important;
}


.djrc-page .djrc-order .djrc-order-track-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  gap: 5px !important;

  margin: 0 !important;
  padding: 0 !important;
}


.djrc-page .djrc-order a.djrc-order-track-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;

  min-height: 25px !important;

  margin: 0 !important;
  padding: 0 8px !important;

  border: 0 !important;
  border-radius: 7px !important;

  background: #7257e8 !important;
  color: #ffffff !important;

  box-shadow: none !important;

  font-size: 8.5px !important;
  line-height: 1 !important;
  font-weight: 800 !important;

  text-decoration: none !important;
  white-space: nowrap !important;
}


.djrc-page .djrc-order a.djrc-order-track-button:hover,
.djrc-page .djrc-order a.djrc-order-track-button:focus-visible {
  background: #6349d1 !important;
  color: #ffffff !important;
}


/* This particular block should feel like a compact utility panel,
   not another large content card. */
.djrc-page .djrc-order-body
> .djrc-order-block:has(.djrc-order-info-grid) {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  padding: 13px !important;

  border: 1px solid #e5e7ee !important;
  border-radius: 15px !important;

  background: var(--owner-solid, #f7f8fb) !important;
}


/* Smaller heading than Products / Activity. */
.djrc-page .djrc-order-body
> .djrc-order-block:has(.djrc-order-info-grid)
> .djrc-order-block-heading {
  margin: 0 0 10px !important;
  padding: 0 !important;
}


.djrc-page .djrc-order-body
> .djrc-order-block:has(.djrc-order-info-grid)
> .djrc-order-block-heading small {
  font-size: 8px !important;
  line-height: 1.1 !important;
}


.djrc-page .djrc-order-body
> .djrc-order-block:has(.djrc-order-info-grid)
> .djrc-order-block-heading h3 {
  margin-top: 2px !important;

  font-size: 14px !important;
  line-height: 1.15 !important;
}


/* Mobile: KEEP TWO COLUMNS.
   This is deliberately not stacked. */
@media (max-width: 620px) {

  .djrc-page .djrc-order .djrc-order-info-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr) !important;

    gap: 7px !important;
  }


  .djrc-page .djrc-order .djrc-order-info-card {
    padding: 10px !important;
    border-radius: 11px !important;
  }


  .djrc-page .djrc-order .djrc-order-info-card h4 {
    margin-bottom: 8px !important;
    font-size: 11px !important;
  }


  .djrc-page .djrc-order .djrc-order-info-list {
    gap: 6px !important;
  }


  .djrc-page .djrc-order .djrc-order-info-list strong,
  .djrc-page .djrc-order .djrc-shipping-address strong {
    font-size: 9px !important;
    line-height: 1.3 !important;
  }


  .djrc-page .djrc-order .djrc-shipping-address {
    font-size: 8.7px !important;
    line-height: 1.34 !important;
  }


  .djrc-page .djrc-order button.djrc-copy-button {
    flex-basis: 21px !important;

    width: 21px !important;
    min-width: 21px !important;
    max-width: 21px !important;

    height: 21px !important;
    min-height: 21px !important;
    max-height: 21px !important;

    border-radius: 6px !important;

    font-size: 9px !important;
  }


  .djrc-page .djrc-order .djrc-order-tracking {
    grid-template-columns: 22px minmax(0, 1fr) auto !important;

    gap: 6px !important;

    margin-top: 7px !important;
    padding: 7px 8px !important;
  }


  .djrc-page .djrc-order .djrc-order-tracking-icon {
    width: 22px !important;
    min-width: 22px !important;

    height: 22px !important;
    min-height: 22px !important;

    font-size: 9px !important;
  }


  .djrc-page .djrc-order .djrc-order-tracking-copy strong {
    font-size: 8.5px !important;
  }


  .djrc-page .djrc-order a.djrc-order-track-button {
    min-height: 22px !important;
    padding: 0 6px !important;
    font-size: 7.5px !important;
  }


  .djrc-page .djrc-order-body
  > .djrc-order-block:has(.djrc-order-info-grid) {
    margin-bottom: 8px !important;
    padding: 10px !important;
    border-radius: 13px !important;
  }

}

