/*
  Shipping info styling ONLY.
  Keep this file scoped so it doesn't affect the rest of the webshop.
*/

:root {
  --ui-text: #1f2937;
  --ui-muted: #6b7280;
  --ui-border: rgba(15, 23, 42, 0.10);
  --ui-border-strong: rgba(15, 23, 42, 0.14);
  --ui-card: #ffffff;
  --ui-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --ui-shadow-hover: 0 18px 44px rgba(15, 23, 42, 0.12);
  --ui-radius: 16px;
}

/* Container */
.carmo-shippinginfo {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--ui-text);
  line-height: 1.65;
}

/* Text rhythm (scoped) */
.carmo-shippinginfo p,
.carmo-shippinginfo ul,
.carmo-shippinginfo ol {
  margin: 0 0 0.9em;
}

.carmo-shippinginfo small {
  color: var(--ui-muted);
}

/* Links (scoped) */
.carmo-shippinginfo a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}

.carmo-shippinginfo a:hover {
  color: #1e40af;
  text-decoration-thickness: 2px;
}

/* Info alert boven de pagina */
.carmo-shippinginfo .alert.alert-info {
  margin: 1.25rem 0 1.75rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.12);
  color: #1e40af;
}

.carmo-shippinginfo .alert.alert-info strong {
  color: #1e3a8a;
  font-weight: 700;
}

/* Secties met mooie kaders */
.carmo-shippinginfo__section {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0;
  padding: 1.6rem 1.8rem;
  background: var(--ui-card);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Subtiele accentstrook links */
.carmo-shippinginfo__section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.85), rgba(16, 185, 129, 0.75));
  opacity: 0.22;
}

.carmo-shippinginfo__section:hover {
  border-color: var(--ui-border-strong);
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-2px);
}

/* Koppen */
.carmo-shippinginfo__section h2 {
  margin: 0 0 1rem;
  font-size: 1.55em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

/* Lists: rustig en strak */
.carmo-shippinginfo__section ul {
  margin: 0.9rem 0;
  padding-left: 1.2rem;
}

.carmo-shippinginfo__section li {
  margin: 0.45rem 0;
}

/* Paragrafen */
.carmo-shippinginfo__section p {
  color: #334155;
  line-height: 1.75;
}

.carmo-shippinginfo__section p strong {
  color: #0f172a;
  font-weight: 700;
}

/* Payment logo image (NL gebruikt een <p class="carmo-shippinginfo__payment">) */
.carmo-shippinginfo__payment {
  margin-top: 1.1rem;
}

.carmo-shippinginfo__payment img {
  display: block;
  max-width: 560px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* Mobile */
@media (max-width: 768px) {
  .carmo-shippinginfo {
    padding: 0 0.75rem;
  }

  .carmo-shippinginfo__section {
    padding: 1.25rem 1.25rem;
    border-radius: 14px;
  }

  .carmo-shippinginfo__section h2 {
    font-size: 1.35em;
  }

  .carmo-shippinginfo__payment img {
    max-width: 100%;
  }
}
