/* ========================================
   SHIPPING POLICY PAGE — Deck&Co
   Scoped under .deckco-shipping
   Depends on homepage.css (design system)
   ======================================== */

/* ---- PAGE HERO ---- */

.deckco-shipping .page-hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
  background: var(--forest-dark);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.deckco-shipping .page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,59,43,0.88) 0%, rgba(26,26,26,0.72) 50%, rgba(44,59,43,0.65) 100%);
}

.deckco-shipping .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.deckco-shipping .page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.deckco-shipping .page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s var(--ease);
}

.deckco-shipping .page-hero__breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

.deckco-shipping .page-hero__breadcrumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.4;
}

.deckco-shipping .page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.deckco-shipping .page-hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sand-light);
}

.deckco-shipping .page-hero__subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
}

/* ---- HIGHLIGHTS BANNER ---- */

.deckco-shipping .highlights {
  background: var(--sand-pale);
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--border);
}

.deckco-shipping .highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.deckco-shipping .highlights__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.deckco-shipping .highlights__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease);
}

.deckco-shipping .highlights__item:hover .highlights__icon {
  background: var(--forest);
  border-color: var(--forest);
}

.deckco-shipping .highlights__item:hover .highlights__icon svg {
  color: #fff;
}

.deckco-shipping .highlights__icon svg {
  width: 22px;
  height: 22px;
  color: var(--forest);
  transition: color 0.4s var(--ease);
}

.deckco-shipping .highlights__text h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.deckco-shipping .highlights__text p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- POLICY CONTENT ---- */

.deckco-shipping .policy {
  padding: var(--section-pad) 0;
}

.deckco-shipping .policy__section {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.deckco-shipping .policy__section:last-child {
  margin-bottom: 0;
}

.deckco-shipping .policy__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
}

.deckco-shipping .policy__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.deckco-shipping .policy__rule {
  width: 48px;
  height: 1px;
  background: var(--sand);
  border: none;
  margin: 20px 0 24px;
}

.deckco-shipping .policy__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--charcoal-soft);
  margin-bottom: 16px;
}

.deckco-shipping .policy__text:last-child {
  margin-bottom: 0;
}

.deckco-shipping .policy__text a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--sand);
  transition: all 0.3s var(--ease);
}

.deckco-shipping .policy__text a:hover {
  color: var(--forest-dark);
  text-decoration-color: var(--forest);
}

.deckco-shipping .policy__text strong {
  font-weight: 600;
  color: var(--charcoal);
}

.deckco-shipping .policy__updated {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

/* ---- Policy Lists (bullet) ---- */

.deckco-shipping .policy__list {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deckco-shipping .policy__list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal-soft);
  padding-left: 20px;
  position: relative;
}

.deckco-shipping .policy__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  opacity: 0.6;
}

.deckco-shipping .policy__list li strong {
  font-weight: 600;
  color: var(--charcoal);
}

/* ---- Policy Callout ---- */

.deckco-shipping .policy__callout {
  background: var(--card-bg);
  border-left: 3px solid var(--forest);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.deckco-shipping .policy__callout p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--charcoal-soft);
  margin-bottom: 8px;
}

.deckco-shipping .policy__callout p:last-child {
  margin-bottom: 0;
}

.deckco-shipping .policy__callout strong {
  font-weight: 600;
  color: var(--charcoal);
}

.deckco-shipping .policy__callout a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--sand);
  transition: all 0.3s var(--ease);
}

.deckco-shipping .policy__callout a:hover {
  color: var(--forest-dark);
  text-decoration-color: var(--forest);
}

/* ---- Policy Divider ---- */

.deckco-shipping .policy__divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  border: none;
  margin: clamp(48px, 6vw, 72px) 0;
}

/* ---- Delivery Table ---- */

.deckco-shipping .policy__table-wrap {
  margin: 24px 0;
  overflow-x: auto;
}

.deckco-shipping .policy__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.deckco-shipping .policy__table thead th {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.deckco-shipping .policy__table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal-soft);
  line-height: 1.6;
  vertical-align: top;
}

.deckco-shipping .policy__table tbody tr:last-child td {
  border-bottom: none;
}

.deckco-shipping .policy__table tbody td:first-child {
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
}

/* ---- Steps List (numbered) ---- */

.deckco-shipping .policy__steps {
  list-style: none;
  counter-reset: steps;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.deckco-shipping .policy__steps li {
  counter-increment: steps;
  position: relative;
  padding-left: 48px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal-soft);
}

.deckco-shipping .policy__steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand-pale);
  border: 1px solid var(--border);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deckco-shipping .policy__steps li strong {
  font-weight: 600;
  color: var(--charcoal);
}

/* ---- CTA SECTION ---- */

.deckco-shipping .shipping-cta {
  background: var(--sand-pale);
  padding: var(--section-pad-sm) 0;
  position: relative;
  overflow: hidden;
}

.deckco-shipping .shipping-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
}

.deckco-shipping .shipping-cta__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.deckco-shipping .shipping-cta__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.15;
}

.deckco-shipping .shipping-cta__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal-soft);
  max-width: 460px;
}

.deckco-shipping .shipping-cta__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Outline-dark button variant (CTA "Contact Us") */
.deckco-shipping .btn--outline-dark {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.deckco-shipping .btn--outline-dark:hover {
  background: var(--forest);
  color: #fff;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .deckco-shipping .highlights__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .deckco-shipping .page-hero {
    padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px);
  }

  .deckco-shipping .page-hero__title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .deckco-shipping .page-hero__subtitle {
    font-size: 14px;
  }

  .deckco-shipping .highlights__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .deckco-shipping .highlights__item {
    gap: 12px;
  }

  .deckco-shipping .highlights__icon {
    width: 42px;
    height: 42px;
  }

  .deckco-shipping .highlights__icon svg {
    width: 18px;
    height: 18px;
  }

  .deckco-shipping .shipping-cta__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .deckco-shipping .shipping-cta__body {
    max-width: none;
  }

  .deckco-shipping .shipping-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .deckco-shipping .shipping-cta__actions .btn {
    justify-content: center;
  }

  .deckco-shipping .policy__table {
    font-size: 13px;
  }

  .deckco-shipping .policy__table thead th {
    padding: 10px 12px;
    font-size: 10px;
  }

  .deckco-shipping .policy__table tbody td {
    padding: 12px;
  }

  .deckco-shipping .policy__steps li {
    padding-left: 40px;
  }

  .deckco-shipping .policy__steps li::before {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .deckco-shipping .highlights__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .deckco-shipping .highlights__item {
    gap: 14px;
  }
}
