/* Shipping page (hero + shared tokens live in contact.css) */

.ship-hero {
  padding-bottom: clamp(4rem, 7vw, 5rem);
}

.ship-hero h1 {
  max-width: 20ch;
}

.ship-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.ship-stat {
  display: grid;
  min-width: 132px;
  padding: 0.7rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  line-height: 1.2;
}

.ship-stat strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fff;
}

.ship-stat small {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* Zone overview */
.ship-zones {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: -2.5rem clamp(0.75rem, 3vw, 2rem) 2.5rem;
}

.ship-zone {
  --cc: #1877f2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.25rem 1.2rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ct-line);
  border-top: 3px solid var(--cc);
  box-shadow: 0 16px 40px rgba(15, 42, 79, 0.08);
}

.ship-zone h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ct-ink);
}

.ship-zone-price {
  margin: 0.1rem 0 0.2rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cc);
}

.ship-zone-eta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ct-muted);
}

.ship-zone-eta svg,
.ship-zone-cod svg {
  width: 15px;
  height: 15px;
}

.ship-zone-cod {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(18, 149, 122, 0.1);
  color: #0f7a64;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Policies */
.ship-section {
  margin-top: 2.5rem;
}

.ship-policies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ship-policy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1.25rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ct-line);
  box-shadow: 0 14px 36px rgba(15, 42, 79, 0.06);
}

.ship-policy.is-default {
  border-color: rgba(24, 119, 242, 0.35);
  background:
    radial-gradient(circle at 100% 0, rgba(24, 119, 242, 0.08), transparent 45%),
    #fff;
  box-shadow: 0 18px 44px rgba(24, 119, 242, 0.12);
}

.ship-policy-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.ship-policy-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ct-ink);
}

.ship-policy-head p {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ct-muted);
}

.ship-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(115deg, #0b3a9e, #1a70ea);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ship-badge svg {
  width: 13px;
  height: 13px;
  color: #ffd666;
}

.ship-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e3ebf6;
  font-size: 0.88rem;
}

.ship-table th,
.ship-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #edf2f9;
}

.ship-table tbody tr:last-child th,
.ship-table tbody tr:last-child td {
  border-bottom: 0;
}

.ship-table thead th {
  background: #f4f8fe;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ct-muted);
}

.ship-table tbody th {
  font-weight: 700;
  color: var(--ct-ink);
  white-space: nowrap;
}

.ship-table td {
  color: var(--ct-muted);
}

.ship-table .ship-num {
  text-align: right;
  white-space: nowrap;
}

.ship-table td.ship-num {
  font-weight: 700;
  color: var(--ct-ink);
}

.ship-table td.is-free {
  color: #0f7a64;
}

.ship-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  vertical-align: middle;
}

.ship-policy-notes {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ship-policy-notes:empty {
  display: none;
}

.ship-policy-notes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--ct-muted);
}

.ship-policy-notes svg {
  width: 17px;
  height: 17px;
  color: #1457d0;
}

.ship-applies {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px dashed #dbe5f3;
}

.ship-applies-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ct-muted);
}

.ship-applies-group {
  display: grid;
  gap: 0.35rem;
}

.ship-applies-type {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ct-ink);
}

.ship-applies-all {
  margin: 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ct-muted);
}

.ship-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ship-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #f1f5fb;
  border: 1px solid #e3ebf6;
  font-size: 0.78rem;
  font-weight: 600;
  color: #33475f;
  text-decoration: none;
}

.ship-chip.is-link:hover {
  border-color: #9cc2f7;
  background: #eaf3ff;
  color: #1457d0;
}

.ship-more {
  display: contents;
}

.ship-more summary {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed #b8cdea;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1457d0;
  cursor: pointer;
  list-style: none;
}

.ship-more summary::-webkit-details-marker {
  display: none;
}

.ship-more[open] summary {
  display: none;
}

/* Steps */
.ship-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ship-steps li {
  display: flex;
  gap: 0.85rem;
  padding: 1.2rem;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, #f4f8ff);
  border: 1px solid var(--ct-line);
}

.ship-step-no {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1457d0, #2a8ff2);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(20, 87, 208, 0.25);
}

.ship-steps h3 {
  margin: 0.1rem 0 0.25rem;
  font-size: 0.98rem;
  color: var(--ct-ink);
}

.ship-steps p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ct-muted);
}

/* Empty */
.ship-empty {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  padding: 2.5rem 1rem;
  border-radius: 24px;
  border: 1px dashed #c9d8ee;
  text-align: center;
}

.ship-empty > svg {
  width: 48px;
  height: 48px;
  color: #1877f2;
}

.ship-empty h2 {
  margin: 0;
  font-family: var(--display);
  color: var(--ct-ink);
}

.ship-empty p {
  margin: 0;
  color: var(--ct-muted);
}

/* Bottom */
.ship-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.ship-bottom > :only-child {
  grid-column: 1 / -1;
}

.ship-pay,
.ship-help {
  padding: 1.4rem 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--ct-line);
}

.ship-pay {
  background: #fff;
}

.ship-pay h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--ct-ink);
}

.ship-pay h3 svg {
  width: 20px;
  height: 20px;
  color: #1457d0;
}

.ship-chip--pay {
  padding: 0.45rem 0.85rem;
  background: rgba(18, 149, 122, 0.08);
  border-color: rgba(18, 149, 122, 0.2);
  color: #0f6e5a;
  font-size: 0.84rem;
}

.ship-chip--pay svg {
  width: 15px;
  height: 15px;
}

.ship-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 214, 102, 0.35), transparent 45%),
    linear-gradient(120deg, #eef5ff, #f4efff);
}

.ship-help h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--ct-ink);
}

.ship-help p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ct-muted);
}

.ship-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ship-help-actions .contact-join-btn {
  flex: none;
}

@media (max-width: 900px) {
  .ship-policies,
  .ship-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ship-zones {
    margin: -2rem 0.5rem 2rem;
  }

  .ship-table th,
  .ship-table td {
    padding: 0.6rem 0.6rem;
  }

  .ship-table tbody th {
    white-space: normal;
  }
}
