/*
  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%;
  }
}
/*
  Modern UI polish overrides for Edify (non-destructive).
  Loaded automatically via html_header.php (style*.css autoloader).
*/

:root {
  --ui-bg: #f6f7f9;
  --ui-surface: #ffffff;
  --ui-text: #1f2937;
  --ui-muted: #6b7280;
  --ui-border: rgba(31, 41, 55, 0.14);
  --ui-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --ui-radius: 12px;
  --ui-radius-sm: 8px;
}

html {
  text-size-adjust: 100%;
}

body {
  background: var(--ui-bg);
  color: var(--ui-text);
  font-size: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improve default text rhythm */
p, ul, ol {
  margin: 0 0 0.9em;
}

h1, h2, h3, h4 {
  color: var(--ui-text);
  line-height: 1.25;
}

small, .smallText, .small {
  color: var(--ui-muted);
}

/* Links: keep theme color, improve hover/underline */
a {
  text-underline-offset: 2px;
  text-decoration-thickness: from-font;
}

a:hover {
  text-decoration: underline;
}

/* Keyboard accessibility */
:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.6);
  outline-offset: 2px;
}

/* Inputs: modern focus + radius */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea,
select {
  border-radius: var(--ui-radius-sm);
  border-color: var(--ui-border);
  background: var(--ui-surface);
  box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus,

/* Shipping info (define_shippinginfo) - Geoptimaliseerd */
.carmo-shippinginfo {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Info alert boven de pagina */
.carmo-shippinginfo .alert {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
  color: #1e40af;
  font-size: 1.02em;
  line-height: 1.65;
}

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

/* Secties met mooie kaders */
.carmo-shippinginfo__section {
  margin: 2rem 0;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border: 2px solid rgba(15, 23, 42, 0.09);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07), 
              0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.carmo-shippinginfo__section:hover {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.11),
              0 4px 12px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

/* Verbeterde typografie voor koppen */
.carmo-shippinginfo__section h2 {
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  border-bottom: 3px solid rgba(59, 130, 246, 0.15);
}

/* Lijst styling */
.carmo-shippinginfo__section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style: none;
}

.carmo-shippinginfo__section ul li {
  position: relative;
  margin: 0.85rem 0;
  padding-left: 1.75rem;
  line-height: 1.7;
}

.carmo-shippinginfo__section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #10b981;
  font-weight: 700;
  font-size: 1.1em;
}

/* Paragrafen binnen secties */
.carmo-shippinginfo__section p {
  margin: 1rem 0;
  line-height: 1.75;
  color: #334155;
}

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

/* Links */
.carmo-shippinginfo__section a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

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

/* Adres blok styling */
.carmo-shippinginfo__section p + p br {
  line-height: 1.9;
}

/* Afbeeldingen binnen shippinginfo */
.carmo-shippinginfo__section img,
.carmo-shippinginfo__payment img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
  .carmo-shippinginfo {
    padding: 0 0.75rem;
  }
  
  .carmo-shippinginfo__section {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
  }
  
  .carmo-shippinginfo__section h2 {
    font-size: 1.35em;
  }
  
  .carmo-shippinginfo .alert {
    padding: 1rem 1.25rem;
    font-size: 0.98em;
  }
}
select:focus {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
  outline: none;
}

/* Buttons: less "old" look, keep theme background from tpl_edify_custom_css */
.button,
input[type="submit"],
input[type="reset"],
input[type="button"],
.readmore,
button {
  border-radius: var(--ui-radius-sm);
  border-bottom: none;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.2px;
}

.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.readmore:hover,
button:hover {
  transform: translateY(-1px);
}

.button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.readmore:active,
button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

/* Give main content and boxes a card surface */
#centercontent-wrapper,
#content-wrapper,
.centerBoxWrapper,
#maincontent-wrapper,
#contentarea-wrapper {
  border-radius: var(--ui-radius);
}

.centerBoxWrapper,
.leftBoxContainer,
.rightBoxContainer,
.tabTable {
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow);
}

/* Sidebox headings: soften */
#left-column h3,
#right-column h3 {
  border-bottom: none;
}

/* Tables: more padding and readable rows */
table {
  border-collapse: collapse;
}

table td,
table th {
  padding: 10px 12px;
}

tr.rowOdd {
  background-color: rgba(31, 41, 55, 0.03) !important;
}

/* Images: subtle rounding */
img {
  border-radius: 6px;
}

/* Reduce overly heavy shadows if present */
.leftBoxContainer,
.rightBoxContainer {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Footer readability */
#footerhsy {
  color: rgba(255, 255, 255, 0.72);
}

#footerhsy a:link,
#footerhsy a:visited {
  color: rgba(255, 255, 255, 0.72);
}

#footerhsy a:hover {
  color: #ffffff;
}
