/* ===========================
   PICKUP INSTRUCTIONS (Layout)
   =========================== */

.pickup-instructions{
  padding: 56px 0;
  background: #f6f8fb;
}

.pi-wrapper{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}

/* Image column */
.pi-image{
  position: sticky;
  top: 96px; /* leaves room for header/topbar */
  align-self: start;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  background: #0b0f12;
}

/* Keep full body visible (prevents cropping) */
.pi-image img{
  width: 100%;
  height: auto;              /* IMPORTANT: avoid forced crop */
  display: block;
  object-fit: contain;       /* show entire model */
  object-position: center;   /* center in frame */
}

/* Desktop framing: maintain a nice card shape without cutting */
@media (min-width: 981px){
  .pi-image img{
    aspect-ratio: 3 / 4;     /* keeps consistent shape */
    height: auto;
  }
}

/* Content card */
.pi-content{
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

/* Titles */
.pi-title{
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
  color: #0b0f12;
}

.pi-subtitle{
  font-size: 18px;
  margin: 22px 0 10px 0;
  color: #0b0f12;
  position: relative;
  padding-left: 12px;
}

.pi-subtitle::before{
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: #19b26b; /* brand green */
}

/* Paragraphs */
.pi-content p{
  margin: 0 0 12px 0;
  color: #24303a;
  font-size: 15.5px;
  line-height: 1.65;
}

.pi-content p strong{
  color: #0b0f12;
  font-weight: 700;
}

/* Lists */
.pi-list{
  margin: 10px 0 4px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pi-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 12px;
  background: #f3f7f4;
  border: 1px solid rgba(25,178,107,.18);
  color: #1c2730;
  line-height: 1.45;
  font-size: 15px;
}

.pi-list li::before{
  content: "✓";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25,178,107,.14);
  color: #118a52;
  font-weight: 800;
  margin-top: 1px;
}

/* Divider */
.pi-divider{
  margin: 24px 0 10px 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,.12), rgba(0,0,0,0));
}

/* Nice selection */
.pickup-instructions ::selection{
  background: rgba(25,178,107,.22);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 980px){
  .pi-wrapper{
    grid-template-columns: 1fr;
  }

  .pi-image{
    position: relative;
    top: auto;
    /* allow full image to show without crop */
    max-height: none;
    background: transparent;
    box-shadow: none;
    border-radius: 16px;
    overflow: visible;
  }

  .pi-image img{
    width: 100%;
    height: auto;
    aspect-ratio: auto;     /* IMPORTANT: don’t force 16/9 */
    object-fit: contain;    /* keep full body visible */
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
    background: #0b0f12;    /* nice frame behind transparent edges */
  }

  .pi-content{
    padding: 26px 20px;
  }
}

@media (max-width: 520px){
  .pickup-instructions{
    padding: 42px 0;
  }
  .pi-subtitle{
    font-size: 17px;
  }
  .pi-content p{
    font-size: 15px;
  }
  .pi-list li{
    padding: 11px 11px;
    font-size: 14.5px;
  }
}
