:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14231a;background:#f4f7f5}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(145deg,#edf8f0 0,#f8faf8 46%,#eef2ef 100%)}button,input{font:inherit}.site-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));background:rgba(255,255,255,.88);border-bottom:1px solid #dbe6dd;backdrop-filter:blur(14px)}.brand{display:inline-flex;align-items:center;gap:10px;color:#14351f;text-decoration:none;font-size:22px;font-weight:850}.mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#16843c;color:#fff}.tagline{color:#66746b;font-size:14px}.portal-shell{width:min(1180px,calc(100% - 36px));margin:0 auto;min-height:calc(100vh - 136px);display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center;padding:64px 0}.hero{max-width:590px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:850;color:#16843c;margin:0 0 12px}.hero h1{font-size:clamp(42px,6vw,72px);letter-spacing:-.05em;line-height:.98;margin:0;color:#102c1b}.hero>p:not(.eyebrow){font-size:18px;color:#5b6a60;line-height:1.65;margin:24px 0}.trust-row{display:flex;flex-wrap:wrap;gap:10px}.trust-row span{padding:8px 11px;border:1px solid #d6e4d9;border-radius:999px;background:#fff;color:#476052;font-size:12px;font-weight:700}.auth-card,.account-card{background:#fff;border:1px solid #dce7df;border-radius:24px;box-shadow:0 28px 70px rgba(28,58,39,.13);overflow:hidden}.tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e0e9e2;background:#f7faf8}.tabs button{border:0;background:transparent;padding:17px;cursor:pointer;color:#607067;font-weight:800}.tabs button[aria-selected=true]{background:#fff;color:#147638;box-shadow:inset 0 -3px #16843c}.auth-content{padding:34px}.auth-content h2,.account-card h2{font-size:28px;margin:0;color:#12331f}.muted{margin:8px 0 25px;color:#69776e}.auth-content form{display:grid;gap:10px}.auth-content label{font-size:14px;font-weight:750;margin-top:8px}.auth-content input{width:100%;border:1px solid #bdcbc1;border-radius:12px;padding:13px 14px;outline:none;background:#fff}.auth-content input:focus{border-color:#16843c;box-shadow:0 0 0 3px rgba(22,132,60,.12)}.auth-content button:not(.tabs button),form button{border:0;border-radius:12px;background:#16843c;color:#fff;padding:14px 18px;font-weight:850;cursor:pointer;margin-top:10px}.auth-content button:disabled,form button:disabled{opacity:.6;cursor:wait}.hint{margin:-2px 0 3px;color:#77847c;font-size:12px}.form-link{text-align:right;margin:2px 0 4px}.form-link a{color:#116f31;font-size:13px;font-weight:700}.portal-status{margin-top:18px;border-radius:12px;line-height:1.45}.portal-status:not(:empty){padding:12px 14px;background:#f0f5f1;color:#405148}.portal-status.error{background:#fff1f1;color:#8f1d1d;border:1px solid #f2caca}.portal-status.success{background:#edf9f0;color:#145b2a;border:1px solid #c8e8d0}.account-card{padding:34px}.account-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.secondary{margin:0;border:1px solid #cddbd0;background:#fff;color:#1d4d2c;border-radius:11px;padding:10px 14px;font-weight:800;cursor:pointer}.account-details{display:grid;gap:12px;margin:30px 0}.account-details div{display:grid;grid-template-columns:130px 1fr;gap:16px;padding-bottom:12px;border-bottom:1px solid #edf1ee}.account-details dt{color:#77847c;font-size:13px}.account-details dd{margin:0;font-weight:750;overflow-wrap:anywhere}.coming-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.coming-grid article{border:1px solid #e0e9e2;border-radius:13px;padding:14px;background:#f9fbf9}.coming-grid strong,.coming-grid span{display:block}.coming-grid strong{font-size:13px}.coming-grid span{font-size:11px;color:#77847c;margin-top:5px;line-height:1.4}.security-note{margin:22px 0 0;color:#77847c;font-size:12px;line-height:1.5}footer{text-align:center;color:#7a877f;font-size:12px;padding:20px}@media(max-width:860px){.portal-shell{grid-template-columns:1fr;gap:34px;padding:42px 0}.hero{max-width:720px}.hero h1{font-size:46px}.coming-grid{grid-template-columns:1fr}.tagline{display:none}}@media(max-width:520px){.site-header{padding:0 18px}.portal-shell{width:min(100% - 24px,1180px)}.auth-content,.account-card{padding:24px}.hero h1{font-size:40px}.account-details div{grid-template-columns:1fr;gap:4px}}

.orders-card{margin-top:22px;background:#fff;border:1px solid #dce5de;border-radius:20px;padding:24px;box-shadow:0 12px 34px rgba(19,45,28,.06)}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading h2{margin:0}.orders-list{display:grid;gap:10px}.order-card{width:100%;display:flex;justify-content:space-between;gap:18px;text-align:left;border:1px solid #dce5de;background:#fff;border-radius:14px;padding:16px;cursor:pointer;color:#17341f}.order-card:hover{border-color:#16843c;background:#f8fcf9}.order-card span{display:grid;gap:5px}.order-card small{color:#6b7d70}.order-card-right{text-align:right}.empty-state{padding:20px;border:1px dashed #bdcbc1;border-radius:14px;color:#6b7d70;background:#fbfdfb}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.detail-grid div{display:grid;gap:5px;padding:14px;background:#f7faf8;border-radius:12px}.detail-grid span{font-size:12px;color:#6b7d70;text-transform:uppercase;letter-spacing:.06em}.order-items{list-style:none;margin:0;padding:0;border-top:1px solid #e5ece7}.order-items li{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #e5ece7}.totals{margin:18px 0 0}.totals div{display:flex;justify-content:space-between;padding:6px 0}.totals dt,.totals dd{margin:0}.grand-total{font-size:18px;font-weight:800;border-top:1px solid #dce5de;margin-top:6px;padding-top:12px!important}@media(max-width:640px){.order-card,.section-heading{align-items:flex-start}.detail-grid{grid-template-columns:1fr}.order-card-right{text-align:right}}

.catalog-list{display:grid;gap:16px}.store-card{border:1px solid #dce5de;border-radius:16px;padding:18px;background:#fbfdfb}.store-heading h3{margin:0 0 4px;font-size:21px}.store-heading p:not(.eyebrow){margin:0;color:#6b7d70}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.product-card{border:1px solid #e1e9e3;border-radius:13px;padding:14px;background:#fff;display:flex;justify-content:space-between;gap:14px}.product-card>div:first-child{display:grid;gap:5px}.product-card span{font-size:12px;color:#6b7d70}.product-actions{display:grid;justify-items:end;gap:8px;min-width:90px}.product-actions button,.checkout-button{border:0;border-radius:10px;background:#16843c;color:#fff;padding:9px 13px;font-weight:800;cursor:pointer}.cart-lines{display:grid;gap:8px;margin-bottom:16px}.cart-line{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;border-bottom:1px solid #e6ece7;padding:10px 0}.cart-line button{border:0;background:transparent;color:#8f1d1d;font-weight:700;cursor:pointer}.checkout-button{width:100%;padding:13px}.checkout-button:disabled{opacity:.55}.shop-card,.cart-card{grid-column:1/-1}@media(max-width:640px){.product-grid{grid-template-columns:1fr}.product-card{align-items:flex-start}.cart-line{grid-template-columns:1fr auto}.cart-line button{grid-column:1/-1;justify-self:start}}


.payment-card { border-top: 4px solid #111; }
.payment-element { margin: 18px 0; min-height: 120px; }
.payment-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.payment-actions .checkout-button { flex: 1 1 220px; }
.payment-actions .secondary { flex: 0 0 auto; }


/* DoorCart customer support */

.support-card {
  grid-column: 1 / -1;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.support-request-form,
.support-cases {
  border: 1px solid #dce7df;
  border-radius: 16px;
  background: #fbfdfb;
  padding: 20px;
}

.support-request-form {
  display: grid;
  gap: 9px;
}

.support-request-form h3,
.support-cases h3 {
  margin: 0 0 12px;
  color: #102c1b;
}

.support-request-form label {
  margin-top: 5px;
  color: #17341f;
  font-size: 13px;
  font-weight: 800;
}

.support-request-form input,
.support-request-form select,
.support-request-form textarea {
  width: 100%;
  border: 1px solid #bdcbc1;
  border-radius: 11px;
  padding: 12px 13px;
  background: #fff;
  color: #14231a;
  font: inherit;
  outline: none;
}

.support-request-form textarea {
  resize: vertical;
  min-height: 120px;
}

.support-request-form input:focus,
.support-request-form select:focus,
.support-request-form textarea:focus {
  border-color: #16843c;
  box-shadow: 0 0 0 3px rgba(22,132,60,.12);
}

.support-request-form button[type="submit"] {
  border: 0;
  border-radius: 11px;
  background: #16843c;
  color: #fff;
  padding: 13px 16px;
  font-weight: 850;
  cursor: pointer;
  margin-top: 8px;
}

.support-request-form button:disabled {
  opacity: .6;
  cursor: wait;
}

.support-cases-list {
  display: grid;
  gap: 10px;
}

.support-case {
  border: 1px solid #dce5de;
  border-radius: 14px;
  background: #fff;
  padding: 15px;
}

.support-case-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.support-case small {
  display: block;
  color: #6b7d70;
  margin-top: 5px;
}

.support-case p {
  color: #52645a;
  line-height: 1.5;
  margin: 11px 0 0;
}

.support-status {
  border-radius: 999px;
  background: #edf9f0;
  color: #145b2a;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
}

@media(max-width:760px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
}



/* =====================================================
   PORTAL-001A.6B LIVE CUSTOMER SUPPORT CHAT
   DoorCart green / white / black
   ===================================================== */

.support-open-conversation {
  margin-top: 14px;
}

.support-chat-card {
  grid-column: 1 / -1;
  border-top: 5px solid #16843c;
}

.support-chat-case {
  margin-bottom: 0;
}

.support-chat-connection {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #145b2a;
  background: #edf9f0;
  border: 1px solid #c8e8d0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.support-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  max-height: 460px;
  overflow-y: auto;
  padding: 18px;
  background: #f5f8f6;
  border: 1px solid #dce7df;
  border-radius: 16px;
}

.support-chat-message {
  width: min(78%, 680px);
  padding: 12px 14px;
  border-radius: 16px;
}

.support-chat-message-customer {
  align-self: flex-end;
  color: #ffffff;
  background: #16843c;
  border-bottom-right-radius: 5px;
}

.support-chat-message-agent {
  align-self: flex-start;
  color: #14231a;
  background: #ffffff;
  border: 1px solid #dce7df;
  border-bottom-left-radius: 5px;
}

.support-chat-message-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 6px;
}

.support-chat-message-header strong {
  font-size: 12px;
}

.support-chat-message-header time {
  opacity: .75;
  font-size: 10px;
}

.support-chat-message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.support-chat-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.support-chat-form textarea {
  width: 100%;
  min-height: 88px;
  padding: 13px 14px;
  color: #14231a;
  background: #ffffff;
  border: 1px solid #bdcbc1;
  border-radius: 12px;
  resize: vertical;
  font: inherit;
  outline: none;
}

.support-chat-form textarea:focus {
  border-color: #16843c;
  box-shadow: 0 0 0 3px rgba(22,132,60,.12);
}

.support-chat-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.support-chat-hint {
  color: #6b7d70;
  font-size: 11px;
}

#support-chat-send {
  min-width: 150px;
  margin: 0;
  border: 0;
  border-radius: 11px;
  background: #16843c;
  color: #ffffff;
  padding: 12px 18px;
  font-weight: 850;
  cursor: pointer;
}

#support-chat-send:disabled {
  opacity: .6;
  cursor: wait;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media(max-width:640px) {

  .support-chat-message {
    width: 92%;
  }

  .support-chat-actions {
    align-items: stretch;
    flex-direction: column;
  }

  #support-chat-send {
    width: 100%;
  }
}


/* =====================================================
   PORTAL-001A.6C CHAT ATTACHMENTS
   ===================================================== */

.support-chat-attachment-picker {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}

.support-chat-attachment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: .55rem .9rem;
  border: 1px solid #16843c;
  border-radius: .75rem;
  background: #ffffff;
  color: #111111;
  font-weight: 800;
  cursor: pointer;
}

.support-chat-attachment-button:hover {
  background: #edf9f0;
}

.support-chat-file-name {
  max-width: 22rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #52645a;
}

.support-chat-file-clear {
  border: 0;
  background: transparent;
  color: #111111;
  text-decoration: underline;
  cursor: pointer;
}

.support-chat-attachments {
  display: grid;
  gap: .5rem;
  margin-top: .75rem;
}

.support-chat-attachment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .8rem;
  border: 1px solid #dce7df;
  border-radius: .75rem;
  background: #ffffff;
}

.support-chat-attachment-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-chat-attachment-download {
  border: 0;
  background: transparent;
  color: #16843c;
  font-weight: 800;
  cursor: pointer;
}


/* ======================================================
   DoorCart Marketplace Home
   PORTAL-001A.7B
   ====================================================== */

.marketplace-home {
  background:
    linear-gradient(
      180deg,
      #f4fbf6 0,
      #ffffff 280px
    );
  border-bottom: 1px solid #e4ebe6;
}

.marketplace-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 34px;
}

.marketplace-hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(280px, .85fr);
  gap: 28px;
  align-items: stretch;
}

.marketplace-hero-copy {
  padding: 42px;
  border-radius: 28px;
  background:
    linear-gradient(
      135deg,
      #0d3a20 0%,
      #16843c 60%,
      #1e9b49 100%
    );
  color: #ffffff;
  box-shadow:
    0 24px 60px rgba(13, 58, 32, .16);
}

.marketplace-eyebrow,
.marketplace-section-kicker {
  margin: 0 0 10px;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.marketplace-eyebrow {
  color: #d8f5e0;
}

.marketplace-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.marketplace-hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: #edf8f0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.marketplace-location-card {
  display: grid;
  gap: 3px;
  width: min(100%, 520px);
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
}

.marketplace-location-label {
  color: #d8f5e0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.marketplace-location-card strong {
  margin-top: 2px;
  font-size: 1rem;
}

.marketplace-location-note {
  margin-top: 2px;
  color: #edf8f0;
  font-size: .82rem;
}

.marketplace-hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dfe9e1;
  border-radius: 28px;
  background: #ffffff;
  box-shadow:
    0 18px 50px rgba(20, 40, 27, .08);
}

.marketplace-benefit {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 112px;
  padding: 20px;
  border-radius: 20px;
  background: #f6faf7;
}

.marketplace-benefit strong {
  color: #111111;
  font-size: 1rem;
}

.marketplace-benefit span {
  color: #59635c;
  font-size: .9rem;
  line-height: 1.45;
}

.marketplace-section {
  padding-top: 42px;
}

.marketplace-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 18px;
}

.marketplace-section-heading h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.marketplace-section-heading > p {
  max-width: 520px;
  margin: 0;
  color: #667068;
  line-height: 1.55;
}

.marketplace-section-kicker {
  color: #16843c;
}

.marketplace-category-strip {
  display: grid;
  grid-template-columns:
    repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.marketplace-category-chip {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid #dfe8e1;
  border-radius: 18px;
  background: #ffffff;
  color: #182019;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}

.marketplace-category-chip:hover,
.marketplace-category-chip:focus-visible {
  transform: translateY(-2px);
  border-color: #16843c;
  box-shadow:
    0 12px 30px rgba(22, 132, 60, .10);
  outline: none;
}

.marketplace-category-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #edf8f0;
}

.marketplace-merchant-highlights {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.marketplace-discovery-card {
  min-height: 185px;
  padding: 24px;
  border: 1px solid #e0e8e2;
  border-radius: 22px;
  background: #ffffff;
}

.marketplace-discovery-label {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf8f0;
  color: #16843c;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.marketplace-discovery-card strong {
  display: block;
  margin-bottom: 9px;
  color: #111111;
  font-size: 1.08rem;
}

.marketplace-discovery-card p {
  margin: 0;
  color: #687169;
  line-height: 1.55;
}

.marketplace-catalog-intro {
  padding-bottom: 8px;
}

@media (max-width: 900px) {
  .marketplace-hero {
    grid-template-columns: 1fr;
  }

  .marketplace-hero-panel {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .marketplace-benefit {
    min-height: auto;
  }

  .marketplace-category-strip {
    grid-template-columns:
      repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 700px) {
  .marketplace-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .marketplace-hero-copy {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .marketplace-hero-panel {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .marketplace-section-heading {
    display: grid;
    gap: 10px;
  }

  .marketplace-category-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .marketplace-category-chip {
    min-width: 165px;
    scroll-snap-align: start;
  }

  .marketplace-merchant-highlights {
    grid-template-columns: 1fr;
  }
}
/* ======================================================
   DoorCart Marketplace Category Discovery
   PORTAL-001A.7C.2
   ====================================================== */

.marketplace-category-chip[aria-pressed="true"] {
  border-color: #16843c;
  background: #edf8f0;
  box-shadow:
    0 10px 26px
    rgba(22, 132, 60, .12);
}

.marketplace-category-chip[aria-pressed="true"]
.marketplace-category-icon {
  background: #16843c;
  color: #ffffff;
}

.marketplace-category-chip[aria-pressed="true"]
span:last-child {
  color: #0d3a20;
}
/* ======================================================
   DoorCart Marketplace Merchant Discovery
   PORTAL-001A.7C.3
   ====================================================== */

.marketplace-live-merchants {
  padding-top: 42px;
}

.marketplace-merchant-list {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.marketplace-merchant-card {
  display: grid;
  gap: 7px;
  min-height: 168px;
  padding: 20px;
  border: 1px solid #dfe8e1;
  border-radius: 20px;
  background: #ffffff;
  color: #182019;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.marketplace-merchant-card:hover,
.marketplace-merchant-card:focus-visible {
  transform: translateY(-2px);
  border-color: #16843c;
  box-shadow:
    0 12px 30px
    rgba(22, 132, 60, .10);
  outline: none;
}

.marketplace-merchant-card[aria-pressed="true"] {
  border-color: #16843c;
  background: #edf8f0;
  box-shadow:
    0 12px 30px
    rgba(22, 132, 60, .12);
}

.marketplace-merchant-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.marketplace-merchant-category {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf8f0;
  color: #16843c;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.marketplace-merchant-card[aria-pressed="true"]
.marketplace-merchant-category {
  background: #16843c;
  color: #ffffff;
}

.marketplace-merchant-product-count {
  color: #687169;
  font-size: .78rem;
  font-weight: 700;
}

.marketplace-merchant-card > strong {
  margin-top: 8px;
  color: #111111;
  font-size: 1.08rem;
}

.marketplace-merchant-location {
  color: #455047;
  font-weight: 650;
}

.marketplace-merchant-city {
  color: #758078;
  font-size: .86rem;
}

@media (max-width: 900px) {
  .marketplace-merchant-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .marketplace-merchant-list {
    grid-template-columns: 1fr;
  }
}
/* ======================================================
   DoorCart Marketplace Empty + Reset States
   PORTAL-001A.7C.4
   ====================================================== */

.marketplace-merchant-empty {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 24px;
  border: 1px dashed #bfd2c3;
  border-radius: 18px;
  background: #f7faf8;
  text-align: center;
}

.marketplace-merchant-empty[hidden] {
  display: none;
}

.marketplace-merchant-empty strong {
  color: #111111;
}

.marketplace-merchant-empty span {
  color: #667068;
  font-size: .9rem;
}
/* ======================================================
   DoorCart Storefront Header
   PORTAL-001A.7D.2
   ====================================================== */

.storefront-header {
  margin: 0 0 20px;
  padding: 24px;
  border: 1px solid #dce7df;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      #f7fbf8 0%,
      #ffffff 100%
    );
}

.storefront-header[hidden] {
  display: none;
}

.storefront-header-main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.storefront-header-copy {
  min-width: 0;
}

.storefront-eyebrow {
  margin: 0 0 8px;
  color: #16843c;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.storefront-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.storefront-location-name {
  margin: 8px 0 0;
  color: #38423b;
  font-weight: 700;
}

.storefront-location-context {
  margin: 4px 0 0;
  color: #6a746c;
  font-size: .9rem;
}

.storefront-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.storefront-category,
.storefront-product-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.storefront-category {
  background: #edf8f0;
  color: #16843c;
  text-transform: capitalize;
}

.storefront-product-count {
  background: #111111;
  color: #ffffff;
}

@media (max-width: 650px) {
  .storefront-header {
    padding: 20px;
  }

  .storefront-header-main {
    display: grid;
  }

  .storefront-meta {
    justify-content: flex-start;
  }
}
/* ======================================================
   DoorCart Product Card Experience
   PORTAL-001A.7D.3
   ====================================================== */

.doorcart-store-products {
  width: 100%;
}

.doorcart-product-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.doorcart-product-card {
  min-width: 0;
  border: 1px solid #dfe8e1;
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow:
    0 10px 28px
    rgba(19, 42, 27, .06);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}

.doorcart-product-card:hover {
  transform: translateY(-2px);
  border-color: #bfd4c4;
  box-shadow:
    0 16px 34px
    rgba(19, 42, 27, .10);
}

.doorcart-product-card-body {
  display: grid;
  gap: 22px;
  height: 100%;
  padding: 20px;
}

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

.doorcart-product-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf8f0;
  color: #16843c;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.doorcart-product-name {
  margin: 0;
  color: #111111;
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: -.015em;
}

.doorcart-product-purchase {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.doorcart-product-price {
  color: #111111;
  font-size: 1rem;
}

.doorcart-product-add {
  min-width: 68px;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: #16843c;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .14s ease,
    background .14s ease,
    box-shadow .14s ease;
}

.doorcart-product-add:hover {
  background: #126f33;
  box-shadow:
    0 8px 20px
    rgba(22, 132, 60, .22);
}

.doorcart-product-add:focus-visible {
  outline: 3px solid
    rgba(22, 132, 60, .24);
  outline-offset: 3px;
}

.doorcart-product-add:active {
  transform: scale(.98);
}

@media (max-width: 920px) {
  .doorcart-product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .doorcart-product-grid {
    grid-template-columns: 1fr;
  }

  .doorcart-product-card-body {
    padding: 18px;
  }
}
/* ======================================================
   DoorCart Product Media + Fallback States
   PORTAL-001A.7D.4
   ====================================================== */

.doorcart-product-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f8f5;
  border-bottom: 1px solid #e4ebe6;
}

.doorcart-product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doorcart-product-media-fallback {
  background:
    linear-gradient(
      135deg,
      #edf8f0 0%,
      #f8fbf9 100%
    );
}

.doorcart-product-media-fallback span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #16843c;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.doorcart-product-description {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: #667068;
  font-size: .88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.doorcart-product-description-fallback {
  color: #7d867f;
  font-style: italic;
}

@media (max-width: 620px) {
  .doorcart-product-media {
    aspect-ratio: 16 / 10;
  }
}
/* ======================================================
   DoorCart Marketplace Search
   PORTAL-001A.7E.1
   ====================================================== */

.marketplace-search-section {
  padding-top: 42px;
}

.marketplace-search-shell {
  display: grid;
  grid-template-columns:
    minmax(220px, .8fr)
    minmax(320px, 1.2fr);
  gap: 28px;
  align-items: end;
  padding: 24px;
  border: 1px solid #dfe8e1;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 12px 34px
    rgba(19, 42, 27, .06);
}

.marketplace-search-copy h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.025em;
}

.marketplace-search-copy > p:last-child {
  margin: 10px 0 0;
  color: #667068;
  line-height: 1.5;
}

.marketplace-search-control {
  min-width: 0;
}

.marketplace-search-label {
  display: block;
  margin-bottom: 8px;
  color: #303a32;
  font-size: .82rem;
  font-weight: 800;
}

.marketplace-search-input-row {
  display: flex;
  gap: 10px;
}

.marketplace-search-input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid #cfdad2;
  border-radius: 14px;
  background: #fbfdfb;
  color: #111111;
  font: inherit;
}

.marketplace-search-input::placeholder {
  color: #89928b;
}

.marketplace-search-input:focus {
  border-color: #16843c;
  outline: 3px solid
    rgba(22, 132, 60, .14);
  outline-offset: 1px;
}

.marketplace-search-clear {
  min-width: 76px;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid #cfdad2;
  border-radius: 14px;
  background: #ffffff;
  color: #16843c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.marketplace-search-clear[hidden] {
  display: none;
}

.marketplace-search-clear:hover,
.marketplace-search-clear:focus-visible {
  border-color: #16843c;
  background: #edf8f0;
  outline: none;
}

.marketplace-search-status {
  min-height: 20px;
  margin: 9px 0 0;
  color: #667068;
  font-size: .82rem;
}

@media (max-width: 760px) {
  .marketplace-search-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .marketplace-search-input-row {
    display: grid;
  }

  .marketplace-search-clear {
    width: 100%;
  }
}
/* ======================================================
   DoorCart Marketplace Filter + No-Result Experience
   PORTAL-001A.7E.2
   ====================================================== */

.marketplace-no-results {
  padding-top: 18px;
}

.marketplace-no-results[hidden] {
  display: none;
}

.marketplace-no-results-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px dashed #bfd2c3;
  border-radius: 20px;
  background: #f7faf8;
}

.marketplace-no-results-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #edf8f0;
  color: #16843c;
  font-size: 1.5rem;
  font-weight: 900;
}

.marketplace-no-results-card strong {
  display: block;
  color: #111111;
  font-size: 1rem;
}

.marketplace-no-results-card p {
  margin: 5px 0 0;
  color: #687169;
  line-height: 1.45;
}

.marketplace-clear-filters {
  margin-left: auto;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #16843c;
  border-radius: 999px;
  background: #ffffff;
  color: #16843c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.marketplace-clear-filters:hover,
.marketplace-clear-filters:focus-visible {
  background: #16843c;
  color: #ffffff;
  outline: none;
}

@media (max-width: 650px) {
  .marketplace-no-results-card {
    display: grid;
  }

  .marketplace-clear-filters {
    width: 100%;
    margin-left: 0;
  }
}
/* ==========================================================
   DoorCart Cart Panel Presentation / PORTAL-001A.7F.2
   ========================================================== */

.doorcart-cart {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dce7df;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(20, 54, 31, 0.08);
}

.doorcart-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid #e8eee9;
  background:
    linear-gradient(135deg, rgba(22, 132, 60, 0.08), rgba(22, 132, 60, 0));
}

.doorcart-cart-heading {
  min-width: 0;
}

.doorcart-cart-heading .eyebrow {
  margin-bottom: 6px;
}

.doorcart-cart-heading h2 {
  margin: 0;
}

.doorcart-cart-caption {
  max-width: 560px;
  margin: 8px 0 0;
  color: #607064;
  line-height: 1.55;
}

.doorcart-cart-total {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: 0 0 auto;
}

.doorcart-cart-total span {
  color: #65746a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doorcart-cart-total strong {
  color: #111713;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
}

.doorcart-cart-lines {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 28px;
}

.doorcart-cart-lines .cart-line {
  min-height: 70px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid #edf1ee;
}

.doorcart-cart-lines .cart-line:last-child {
  border-bottom: 0;
}

.doorcart-cart-lines .cart-line > span {
  color: #1d2921;
  font-weight: 700;
}

.doorcart-cart-lines .cart-line > strong {
  color: #111713;
  font-size: 15px;
  white-space: nowrap;
}

.doorcart-cart-lines .cart-line button {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 9px;
  transition:
    background-color 140ms ease,
    color 140ms ease;
}

.doorcart-cart-lines .cart-line button:hover {
  background: #fff1f1;
  color: #741717;
}

.doorcart-cart-lines .cart-line button:focus-visible {
  outline: 3px solid rgba(143, 29, 29, 0.2);
  outline-offset: 2px;
}

.doorcart-cart-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-top: 1px solid #e8eee9;
  background: #f8fbf9;
}

.doorcart-cart-summary-copy {
  display: grid;
  gap: 4px;
}

.doorcart-cart-summary-copy strong {
  color: #17241b;
  font-size: 15px;
}

.doorcart-cart-summary-copy span {
  color: #66756b;
  font-size: 13px;
  line-height: 1.45;
}

.doorcart-cart-checkout {
  margin: 0;
  min-height: 48px;
  border-radius: 12px;
}

.doorcart-cart-status {
  min-height: 0;
  margin: 0;
  padding: 0 28px;
}

.doorcart-cart-status:not(:empty) {
  padding-top: 14px;
  padding-bottom: 18px;
  border-top: 1px solid #edf1ee;
}

@media (max-width: 720px) {
  .doorcart-cart-header {
    display: grid;
    gap: 18px;
    padding: 22px 20px 18px;
  }

  .doorcart-cart-total {
    justify-items: start;
  }

  .doorcart-cart-lines {
    padding-left: 20px;
    padding-right: 20px;
  }

  .doorcart-cart-summary {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .doorcart-cart-status {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ==========================================================
   DoorCart Cart Quantity Controls / PORTAL-001A.7F.3
   ========================================================== */

.doorcart-cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 3px;
  border: 1px solid #d9e3dc;
  border-radius: 10px;
  background: #f8fbf9;
}

.doorcart-cart-quantity-button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #17241b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.doorcart-cart-quantity-button:hover:not(:disabled) {
  background: #e9f6ed;
  color: #126b32;
}

.doorcart-cart-quantity-button:focus-visible {
  outline: 3px solid rgba(22, 132, 60, 0.22);
  outline-offset: 2px;
}

.doorcart-cart-quantity-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.doorcart-cart-quantity-value {
  min-width: 26px;
  color: #17241b;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.doorcart-cart-lines [data-remove-product] {
  color: #7a2727;
  font-weight: 700;
}

@media (max-width: 720px) {
  .doorcart-cart-quantity {
    justify-self: start;
  }
}

/* ==========================================================
   DoorCart Cart Empty + Summary States / PORTAL-001A.7F.4
   ========================================================== */

.doorcart-cart-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 28px;
  padding: 20px;
  border: 1px dashed #c8d7cc;
  border-radius: 18px;
  background: #f8fbf9;
}

.doorcart-cart-empty[hidden] {
  display: none;
}

.doorcart-cart-empty-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #e9f6ed;
  color: #16843c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.doorcart-cart-empty strong {
  display: block;
  color: #17241b;
  font-size: 15px;
}

.doorcart-cart-empty p {
  margin: 5px 0 0;
  color: #68766c;
  line-height: 1.45;
}

#cart-item-count {
  color: #16843c;
  font-weight: 800;
}

@media (max-width: 720px) {
  .doorcart-cart-empty {
    margin: 18px 20px;
  }
}

/* PORTAL-001B.2 - customer live order tracking */

.order-tracking-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid currentColor;
  border-radius: 0.75rem;
}

.order-tracking-panel[hidden] {
  display: none;
}

.order-tracking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.order-tracking-status {
  font-weight: 700;
}

.order-tracking-driver {
  margin-top: 0.5rem;
}

.order-tracking-timeline {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.order-tracking-timeline li {
  margin: 0.35rem 0;
}

.order-tracking-timeline span {
  display: block;
  font-size: 0.875rem;
  opacity: 0.75;
}