.confirmation-wrapper {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
    max-width: 800px;
    margin: 40px auto;
}

.confirmation-wrapper h1 {
    color: #ff5c35;
    font-size: 28px;
    margin-bottom: 10px;
}

.confirmation-wrapper h2 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #333;
}

.confirmation-wrapper p {
    font-size: 16px;
    margin-bottom: 12px;
    color: #444;
}

.confirmation-wrapper strong {
    color: #000;
}

.confirmation-wrapper button {
    background-color: green;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.confirmation-wrapper button:hover {
    background-color: #12b81d;
}

.confirmation-wrapper a {
    display: inline-block;
    margin-top: 20px;
    color: #ff5c35;
    text-decoration: none;
    font-weight: bold;
}

.confirmation-wrapper a:hover {
    text-decoration: underline;
}

.confirmation-wrapper #small_map {
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.confirmation-note {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
    font-style: italic;
}

/* ===== Delivery confirm (mobile-first) ===== */
.delivery-confirm {
  min-height: 100vh;
  background: var(--bg, #f4f5f7);
}

.delivery-confirm__topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.delivery-confirm__container{
  padding: 12px 12px 0;
  max-width: 760px;
  margin: 0 auto;
}

.dc-card{
  background:#fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom: 12px;
}

.dc-title{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 10px;
}

.dc-row{
  display:flex;
  gap: 12px;
  padding: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.dc-row:first-of-type{ border-top: none; padding-top: 0; }
.dc-row__label{
  width: 86px;
  flex: 0 0 86px;
  font-size: 14px;
  color: rgba(0,0,0,0.55);
}
.dc-row__value{
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: right;
}

.dc-muted{
  font-weight: 500;
  color: rgba(0,0,0,0.55);
  margin-top: 4px;
}

.dc-note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 196, 0, 0.14);
  font-size: 13px;
}

.dc-map{
  width: 100%;
  height: 240px;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #eaeaea;
}

/* grid for details */
.dc-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dc-kv{
  background: rgba(0,0,0,0.03);
  border-radius: 14px;
  padding: 10px 12px;
}
.dc-kv--full{ grid-column: 1 / -1; }
.dc-kv__k{
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  margin-bottom: 4px;
}
.dc-kv__v{
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

/* files */
.dc-files{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dc-thumb{
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.dc-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.dc-video video{
  width: 100%;
  border-radius: 14px;
  background: #000;
}
.dc-doc{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  text-decoration: none;
  color: inherit;
}
.dc-doc__name{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
  font-size: 13px;
}

/* pills + price */
.dc-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  font-weight: 800;
  font-size: 12px;
}
.dc-pill--yes{
  background: rgba(0, 200, 120, 0.16);
}

.dc-price{
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  display: flex;
  align-items: center;
}
.dc-price__label{
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  font-weight: 700;
}
.dc-price__value{
  font-size: 14px;
  font-weight: 900;
}

.dc-info{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,0.65);
  line-height: 1.35;
}

/* sticky actions */
.dc-bottom-spacer{ height: 90px; }

.dc-sticky{
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}

.dc-actions{
  max-width: 760px;
  margin: 0 auto;
  display:flex;
  gap: 10px;
}

.dc-btn{
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  text-align:center;
  text-decoration:none;
}

.dc-btn--primary{
  background: #ff7a00;
  color: #fff;
}

.dc-btn--ghost{
  background: rgba(0,0,0,0.06);
  color: #111;
}

/* image modal */
.dc-imgmodal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.dc-imgmodal.is-open{ display:block; }
.dc-imgmodal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.7);

}
.dc-imgmodal__box{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
}
#image-modal-img{
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  background: #000;
}
.dc-imgmodal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

/* lock scroll when modal open */
body.dc-lock{
  overflow: hidden;
  touch-action: none;ч
}

/* small screens tweak */
@media (max-width: 360px){
  .dc-row__label{ width: 78px; flex-basis: 78px; }
  .dc-files{ grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 768px) {
    .confirmation-wrapper {
        padding: 5px 30px 30px 30px;
        border-radius: 0px;
        max-width: 800px;
        margin: 0px auto;
    }

    .title-delivery {
        display: none;
    }
    .dc-sticky {
        bottom: 50px;
    }
}