/**
 * Section: Shipping
 * Ported from .docs/mockup/css/sections.css (SHIPPING block, lines 292-386)
 * and its rules in the shared responsive block (980px breakpoint, lines
 * 1308-1315). Tokens only -- no hardcoded colours or sizes.
 */

.shipping {
  background: var(--deep-ocean);
  color: var(--off-white);
  padding-block: var(--section-space-m);
  padding-inline: var(--space-gutter);
}

.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

.shipping-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.shipping-title-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}

/*
 * The mockup set this eyebrow's colour with an inline
 * style="color:var(--terracotta)" -- moved here as a scoped rule per the
 * section-agent contract (no inline styles in section templates). Note:
 * .eyebrow already defaults to var(--terracotta) in components.css, so this
 * rule is redundant against the current shared default. Kept explicit
 * because the mockup called the colour out deliberately for this section,
 * and to pin it here if the shared .eyebrow default ever changes.
 */
.shipping .eyebrow {
  color: var(--terracotta);
}

/* No line-height override here. The section-architecture rule says a
   single-line eyebrow gets `line-height: 1`, but the mockup's only such rule
   is `.section-title-group .eyebrow`, which does not match this element — here
   it inherits 1.6. Applying it anyway shrank the eyebrow's line box by ~6px
   and pulled the heading up, making this section disagree with `wildlife`,
   which correctly omits it. The frozen contract wins over the general rule. */

.shipping h2 {
  color: var(--off-white);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.shipping h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}

.shipping-lead {
  font-size: var(--text-body);
  color: var(--coastal-blue);
  line-height: 1.6;
  max-width: 480px;
}

.ship-note {
  font-size: var(--text-small);
  color: var(--coastal-blue);
  line-height: 1.6;
  max-width: 480px;
  opacity: 0.85;
}

.ship-list {
  display: flex;
  flex-direction: column;
}

.ship-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(168, 200, 212, 0.18);
  font-size: var(--text-small);
  color: var(--coastal-blue);
}

.ship-item strong {
  color: var(--off-white);
  font-weight: 600;
}

.ship-free {
  background: var(--eucalypt);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.shipping-visual {
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}


/* === RESPONSIVE === */
@media (max-width: 980px) {
  .shipping-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .shipping-visual {
    min-height: 240px;
  }
}
