/* ============================================================
   Estimated shipping — card button + compact freight modal
   Shared by park-models.html and inventory.html only.
   ============================================================ */

/* ---- card-level button, sits left beside Compare ---- */
.ship-btn {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-dark, #3d3d3d);
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1.4;
}
.ship-btn:hover {
  background: var(--black, #0a0a0a);
  border-color: var(--black, #0a0a0a);
  color: var(--white, #fff);
}

/* ---- modal ---- */
.ship-modal {
  position: fixed;
  inset: 0;
  z-index: 710;
  background: rgba(10, 10, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.ship-modal.is-open { opacity: 1; pointer-events: auto; }

.ship-panel {
  position: relative;
  background: var(--off-white, #f9f8f6);
  border-radius: 14px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 26px 28px 22px;
  transform: translateY(10px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.ship-modal.is-open .ship-panel { transform: translateY(0); }

.ship-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 17px;
  line-height: 1;
  color: var(--gray-dark, #3d3d3d);
  cursor: pointer;
  transition: background 0.2s;
}
.ship-close:hover { background: rgba(0, 0, 0, 0.06); }

.ship-eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text, #86652c);
  font-weight: 600;
}
.ship-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--black, #0a0a0a);
  margin: 0 22px 10px 0;
  padding-right: 6px;
}
.ship-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-dark, #3d3d3d);
}
.ship-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--gray-dark, #3d3d3d);
}
.ship-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  line-height: 1.5;
}
.ship-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold, #c8a96e);
}

.ship-calc {
  background: #f2ede6;
  border-radius: 10px;
  padding: 16px 16px 14px;
}
.ship-calc h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black, #0a0a0a);
}
.ship-note {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.55;
  color: #6b6b6b;
}

.ship-inputs {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 10px;
}
.ship-field { display: block; min-width: 0; }
.ship-field span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7d7d7d;
  margin-bottom: 5px;
}
.ship-field em { font-style: normal; text-transform: none; letter-spacing: 0; }
.ship-field input {
  width: 100%;
  box-sizing: border-box;
  background: var(--white, #fff);
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 7px;
  padding: 10px 11px;
  font-size: 14px;
  font-family: inherit;
  color: var(--black, #0a0a0a);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.ship-field input:focus {
  outline: none;
  border-color: var(--gold, #c8a96e);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.28);
}

.ship-go {
  margin-top: 12px;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #141414;
  background: var(--gold, #c8a96e);
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.ship-go:hover:not(:disabled) { background: var(--gold-dark, #b3934f); }
.ship-go:disabled { opacity: 0.6; cursor: progress; }

.ship-error {
  margin: 10px 0 0;
  font-size: 12px;
  color: #a33;
}

.ship-result { margin-top: 14px; border-top: 1px solid rgba(0, 0, 0, 0.1); padding-top: 12px; }
.ship-line {
  margin: 0 0 5px;
  font-size: 13px;
  color: var(--black, #0a0a0a);
  line-height: 1.5;
}
.ship-line--muted { color: #6b6b6b; font-size: 12px; }
.ship-disclaimer {
  margin: 8px 0 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #6b6b6b;
}
.ship-total {
  margin: 0 0 3px;
  font-size: 15px;
  color: var(--black, #0a0a0a);
}
.ship-total strong { font-weight: 700; }
.ship-total-note {
  margin: 0 0 12px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #6b6b6b;
}
.ship-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ship-quote {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white, #fff);
  background: var(--black, #0a0a0a);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.ship-quote:hover { background: var(--gray-dark, #3d3d3d); }
.ship-call {
  font-size: 11px;
  color: var(--gray-dark, #3d3d3d);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ship-foot {
  margin: 12px 0 0;
  font-size: 10.5px;
  color: #8a8a8a;
  line-height: 1.6;
}
.ship-foot a { color: inherit; }

@media (max-width: 560px) {
  .ship-panel { padding: 22px 18px 18px; border-radius: 12px; }
  .ship-title { font-size: 20px; }
  .ship-inputs { grid-template-columns: 1fr; }
  .ship-modal { padding: 12px; }
}
