/* ==========================================================================
   Return Portal — portal.css

   Geladen op elke pagina van de shop (hookDisplayHeader), dus klein houden.
   Alleen nog: de knop "Retour aanmelden" bij een bestelling (returnportal-btn)
   en de retourdetailpagina in Mijn account (orp-*, override/customer/order-return.tpl).
   Het portal zelf gebruikt portal-theme.css.

   Opgeschoond 2026-11-26: de stijl van het oude portal (returnportal-*, rph-*,
   rp-layout, rp-section-*) werd door geen enkel template meer gebruikt.
   ========================================================================== */

.returnportal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, opacity 0.15s;
}

.returnportal-btn:disabled,
.returnportal-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Let op: .label werkt op elke pagina van de shop (geen class van deze module).
   Laten staan tot is nagegaan of een thema erop leunt. */
.label {
  text-align: left;
  padding:2%;
}

/* --------------------------------------------------------------------------
   Mobile responsive
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
  .returnportal-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   Order Return Detail — Wehkamp-stijl (orp-*)
   =================================================================== */

.orp-page {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 48px;
}

/* ── Main card (status + manage + labels) ── */
.orp-main-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  margin-bottom: 16px;
}

/* Two-column top grid */
.orp-top-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
}

/* Status column */
.orp-status-col {
  padding: 24px;
  border-right: 1px solid #e0e0e0;
}

.orp-status-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
  text-transform: lowercase;
  letter-spacing: 0;
}

.orp-status-sub {
  font-size: 14px;
  color: #3a7bd5;
  margin: 0;
  line-height: 1.55;
}

/* Manage column */
.orp-manage-col {
  padding: 20px 22px;
}

.orp-manage-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
  text-transform: lowercase;
}

.orp-manage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.orp-manage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #ebebeb;
  cursor: pointer;
}

.orp-manage-item:first-child {
  border-top: 1px solid #ebebeb;
}

.orp-manage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #555;
}

.orp-manage-label {
  flex: 1;
  font-size: 14px;
  color: #111;
}

.orp-manage-arrow {
  font-size: 20px;
  color: #bbb;
  line-height: 1;
  font-weight: 300;
}

/* ── Retourlabels accordion ── */
.orp-labels {
  border-top: 1px solid #e0e0e0;
}

.orp-labels__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-align: left;
  text-transform: lowercase;
}

/* Chevron points up (^) when open, down (v) when closed */
.orp-labels__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.orp-labels:not(.is-open) .orp-labels__chevron {
  transform: rotate(180deg);
}

.orp-labels__bd {
  display: none;
  padding: 0 24px 28px;
}

.orp-labels.is-open .orp-labels__bd {
  display: block;
}

.orp-labels__intro {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 0 0 20px;
}

.orp-link {
  color: #3a7bd5;
  text-decoration: underline;
}

.orp-link:hover {
  color: #2860b5;
}

.orp-label-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.orp-label-item__name {
  font-size: 13px;
  color: #3a7bd5;
  font-weight: 500;
  margin: 0;
}

.orp-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #333;
  border-radius: 2px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.15s;
}

.orp-download-btn:hover {
  background: #f5f5f5;
  color: #111;
  text-decoration: none;
}

/* ── Products card ── */
.orp-products-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 0 24px;
}

.orp-products-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-transform: lowercase;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}

/* Product row */
.orp-prod {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.orp-prod:last-child {
  border-bottom: none;
}

.orp-prod__img {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orp-prod__img img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
}

.orp-prod__img-ph {
  width: 110px;
  height: 110px;
  background: #f3f3f3;
}

.orp-prod__body {
  flex: 1;
  min-width: 0;
}

.orp-prod__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a237e;
  margin: 0 0 10px;
  line-height: 1.35;
}

.orp-prod__meta {
  display: flex;
  gap: 32px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.orp-prod__meta-left,
.orp-prod__meta-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orp-prod__ref {
  font-size: 13px;
  color: #3a7bd5;
}

.orp-prod__attr {
  font-size: 13px;
  color: #e85855;
  display: block;
}

.orp-prod__price {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .orp-top-grid {
    grid-template-columns: 1fr;
  }

  .orp-status-col {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .orp-products-card {
    padding: 0 16px;
  }

  .orp-prod {
    gap: 14px;
  }

  .orp-prod__img,
.orp-prod__img img,
.orp-prod__img-ph {
    width: 80px;
    height: 80px;
  }

  .orp-prod__meta {
    flex-direction: column;
    gap: 6px;
  }
}

/* ── Sidebar nav — matches wa-nav from arena my-account ── */
.rp-sidebar {
  position: sticky;
  top: 24px;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0.5rem 0;
}

.rp-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rp-sidebar__item {
  margin: 0;
}

.rp-sidebar__link {
  display: block;
  padding: 0.8rem 1.25rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.rp-sidebar__link:hover,
.rp-sidebar__item--active .rp-sidebar__link {
  background: #fff;
  border-left-color: var(--color-1, #1373e8);
  color: var(--color-1, #1373e8);
  font-weight: 600;
  text-decoration: none;
}

.rp-sidebar__item--signout {
  border-top: 1px solid #e5e5e5;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.rp-sidebar__item--signout .rp-sidebar__link {
  color: #888;
  font-size: 0.85rem;
  font-weight: 400;
}

/* ── Mobile: horizontal scrollable nav ── */
@media (max-width: 991px) {

  .rp-sidebar {
    position: static;
  }

  .rp-sidebar__list {
    display: flex;
    overflow-x: auto;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .rp-sidebar__list::-webkit-scrollbar {
    display: none;
  }

  .rp-sidebar__item {
    flex-shrink: 0;
  }

  .rp-sidebar__link {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.6rem 1rem;
  }

  .rp-sidebar__link:hover,
.rp-sidebar__item--active .rp-sidebar__link {
    border-left: none;
    border-bottom-color: var(--color-1, #1373e8);
    background: none;
  }

  .rp-sidebar__item--signout {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    border-left: 1px solid #e5e5e5;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }
}