/* Shipping Policy Styles - Match Privacy Policy Look */
.shipping-policy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(16px, 1rem + 0.25vw, 18px);
  line-height: 1.8;
  color: #111;
  background-color: #ffffff;
}

.shipping-policy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.shipping-policy-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.effective-date {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.95;
}

.shipping-policy-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.policy-section {
  background: #fff;
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef1f4;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.policy-section:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }

.policy-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #e5e7eb;
  border-radius: 12px 12px 0 0;
}

.policy-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #eceff1;
  position: relative;
}

.policy-section h2::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 56px; height: 2px;
  background: #e5e7eb;
}

.policy-section h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  margin-top: 2rem; margin-bottom: 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid #e5e7eb;
}

.policy-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a5568;
  margin-top: 1.5rem; margin-bottom: 0.8rem;
  font-style: italic;
}

.policy-section p { margin-bottom: 1.2rem; color: inherit; font-size: 1em; text-align: justify; }
.policy-section ul { margin: 1.2rem 0; padding-left: 2rem; }
.policy-section li { margin-bottom: 0.8rem; color: inherit; font-size: 1em; line-height: 1.6; }
.policy-section li::marker { color: #666; font-weight: bold; }

/* Special notice box */
.important-notice {
  background: #fff7ed;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: #92400e;
}

.shipping-availability h3 { margin-bottom: 1rem; }
.icon-check { color: #16a34a; font-weight: 700; margin-right: 0.5rem; }
.icon-cross { color: #dc2626; font-weight: 700; margin-right: 0.5rem; }

.shipping-option {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid #e5e7eb;
}
.shipping-option h3 { margin: 0 0 1rem; padding-left: 0; border-left: none; color: #111; }
.shipping-option.unavailable { background: #fef2f2; border-left-color: #ef4444; }
.shipping-option.unavailable h3 { color: #991b1b; }

.shipping-rates { margin: 1.5rem 0; }
.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.rates-table th, .rates-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #e5e7eb; }
.rates-table th { background: #f8fafc; color: #111; font-weight: 700; }
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr:hover { background-color: #f9fafb; }

.contact-info {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.contact-info h3 { color: #111; margin-top: 0; margin-bottom: 1.2rem; font-size: 1.3rem; border: none; padding: 0; }
.contact-info p { margin-bottom: 0.8rem; font-size: 1em; line-height: 1.6; }
.contact-info strong { color: #111; font-weight: 600; }

.effective-date-footer {
  text-align: center;
  background: #ffffff;
  color: #111;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.effective-date-footer p { margin: 0.5rem 0; font-size: 1.05rem; font-weight: 600; text-shadow: none; }
.effective-date-footer em { font-style: italic; opacity: 0.9; font-size: 1rem; font-weight: normal; }

/* Scoped Links */
.shipping-policy-container a { color: #111; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(0,0,0,0.4); font-weight: 600; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.shipping-policy-container a:hover { color: #000; text-decoration-color: currentColor; }

/* Enhanced readability */
.policy-section p + ul, .policy-section ul + p { margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 1024px) {
  .shipping-policy-container { padding: 1.5rem; }
  .policy-section { padding: 2rem; }
}

@media (max-width: 768px) {
  .shipping-policy-container { padding: 1rem; }
  .shipping-policy-header h1 { font-size: 2.3rem; }
  .policy-section { padding: 1.5rem; }
  .policy-section h2 { font-size: 1.7rem; }
  .policy-section h3 { font-size: 1.35rem; }
  .policy-section h4 { font-size: 1.15rem; }
  .contact-info { padding: 1.5rem; }
  .rates-table th, .rates-table td { padding: 8px 12px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .shipping-policy-container { padding: 0.5rem; }
  .shipping-policy-header { padding: 1.5rem; margin-bottom: 2rem; }
  .shipping-policy-header h1 { font-size: 1.9rem; letter-spacing: 0.5px; }
  .effective-date { font-size: 1.1rem; }
  .policy-section { padding: 1rem; margin-bottom: 1.5rem; }
  .policy-section h2 { font-size: 1.5rem; }
  .policy-section h3 { font-size: 1.25rem; margin-top: 1.5rem; }
  .policy-section ul { padding-left: 1.5rem; }
  .contact-info { padding: 1rem; }
  .shipping-option { padding: 1rem; }
  .rates-table { font-size: 0.9rem; }
  .rates-table th, .rates-table td { padding: 6px 8px; }
}

/* Dark Mode: keep light look */
@media (prefers-color-scheme: dark) {
  .shipping-policy-container,
  .shipping-policy-header,
  .policy-section,
  .contact-info,
  .effective-date-footer {
    background: #fff !important;
    color: #111 !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
  }

  .policy-section h2,
  .policy-section h3,
  .contact-info h3,
  .contact-info strong { color: #111 !important; }

  .policy-section h3 { border-left-color: #e5e7eb !important; }

  .shipping-policy-container a { color: #111 !important; text-decoration-color: rgba(0,0,0,0.4) !important; }
  .shipping-policy-container a:hover { color: #000 !important; text-decoration-color: currentColor !important; }
}

/* Print */
@media print {
  .shipping-policy-container { max-width: 100%; padding: 0; background:#fff !important; color:#000; }
  .shipping-policy-header,
  .effective-date-footer,
  .contact-info { box-shadow: none !important; background:#fff !important; color:#000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .policy-section { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  .policy-section::before { display: none; }
  .shipping-policy-container a[href^="http"]::after { content: " (" attr(href) ")"; font-weight: normal; }
}
