/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php*
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 *  @author    Ether Création <contact@ethercreation.com>
 *  @copyright Ether Création
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
/* ecretours - storefront (Classic and Hummingbird themes) */
:root {
  --ecr-accent: #1f6feb;
  --ecr-accent-ink: #ffffff;
  --ecr-radius: 12px;
}
.ecr-root {
  --ecr-ink: #111827;
  --ecr-text: #374151;
  --ecr-muted: #6b7280;
  --ecr-line: #e5e7eb;
  --ecr-soft: #f6f7f9;
  --ecr-ok: #047857;
  --ecr-ok-soft: #ecfdf5;
  --ecr-warn: #b45309;
  --ecr-warn-soft: #fffbeb;
  --ecr-danger: #b91c1c;
  --ecr-danger-soft: #fef2f2;
  --ecr-accent-soft: color-mix(in srgb, var(--ecr-accent) 9%, #ffffff);
  --ecr-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 20px -10px rgba(17, 24, 39, .18);
  color: var(--ecr-text);
  font-size: 15px;
  line-height: 1.55;
}
.ecr-root *, .ecr-root *::before, .ecr-root *::after { box-sizing: border-box; }
.ecr-root h1, .ecr-root h2, .ecr-root h3 { color: var(--ecr-ink); letter-spacing: -.01em; margin: 0; text-transform: none; }
.ecr-root [hidden] { display: none !important; }
.ecr-root label, .ecr-root .ecr-label, .ecr-root legend { text-align: left; }
.ecr-root a { color: var(--ecr-accent); }
.ecr-icon { flex-shrink: 0; vertical-align: -3px; }
.ecr-root :focus-visible { outline: 3px solid color-mix(in srgb, var(--ecr-accent) 45%, transparent); outline-offset: 2px; }

/* Buttons */
.ecr-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: var(--ecr-radius); border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2;
  text-decoration: none !important; cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .05s, border-color .15s;
}
.ecr-button:active { transform: translateY(1px); }
.ecr-button--primary { background: var(--ecr-accent); color: var(--ecr-accent-ink) !important; box-shadow: 0 6px 16px -8px var(--ecr-accent); }
.ecr-button--primary:hover { filter: brightness(.94); }
.ecr-button--ghost { background: #fff; color: var(--ecr-ink) !important; border-color: var(--ecr-line); }
.ecr-button--ghost:hover { border-color: var(--ecr-accent); color: var(--ecr-accent) !important; }
.ecr-button--link { background: none; border: 0; min-height: 0; padding: 6px 0; color: var(--ecr-muted) !important; text-decoration: underline !important; font-weight: 600; }
.ecr-button--block { width: 100%; }
.ecr-button--big { min-height: 54px; font-size: 16px; }
.ecr-button--sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.ecr-button[disabled] { opacity: .6; cursor: not-allowed; }
.ecr-back { display: inline-flex; align-items: center; gap: 4px; color: var(--ecr-muted) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }

/* Footer button (withdrawal function, D221-5) */
.ecr-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; width: fit-content; max-width: 100%; padding: 12px 18px; margin: 14px auto; clear: both; text-align: center; background: #fff; color: #374151; border-radius: calc(var(--ecr-radius) + 4px); box-shadow: 0 4px 16px -8px rgba(0, 0, 0, .25); }
.ecr-footer__button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--ecr-radius);
  border: 2px solid var(--ecr-accent); color: var(--ecr-accent) !important; background: #fff; font-weight: 700; font-size: 15px; text-decoration: none !important;
}
.ecr-footer__button:hover, .ecr-footer__button:focus-visible { background: var(--ecr-accent); color: var(--ecr-accent-ink) !important; }
.ecr-footer__links { display: inline-flex; gap: 8px; font-size: 13px; }
.ecr-footer__links { color: #374151; }
.ecr-footer__links a { color: #374151 !important; text-decoration: underline; }

/* Product banner */
.ecr-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; margin: 12px 0; border-radius: var(--ecr-radius); background: #ecfdf5; color: #065f46; font-weight: 600; font-size: 14px; }
.ecr-banner__text { flex: 1; min-width: 160px; }
.ecr-banner__link { color: inherit !important; font-weight: 500; font-size: 13px; text-decoration: underline; }
.ecr-banner--excluded { background: #f3f4f6; color: #374151; }

/* Order detail block */
.ecr-order { margin-top: 20px; }
.ecr-order__title { font-size: 18px; margin-bottom: 10px; }
.ecr-order__requests { list-style: none; margin: 0 0 12px; padding: 0; }
.ecr-order__requests li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-bottom: 1px solid #eee; }
.ecr-order__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ecr-order__hint { margin: 10px 0 0; font-size: 13px; color: #6b7280; }
.ecr-account-link .material-icons { color: var(--ecr-accent); }

/* Badges */
.ecr-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f3f4f6; color: #374151; white-space: nowrap; }
.ecr-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ecr-badge--big { font-size: 14px; padding: 6px 14px; }
.ecr-badge--pending, .ecr-badge--info_requested { background: #fef3c7; color: #92400e; }
.ecr-badge--accepted, .ecr-badge--label_issued, .ecr-badge--label_error { background: #e0e7ff; color: #3730a3; }
.ecr-badge--in_transit { background: #e0f2fe; color: #075985; }
.ecr-badge--received, .ecr-badge--inspected, .ecr-badge--refund_pending { background: #ede9fe; color: #5b21b6; }
.ecr-badge--refunded, .ecr-badge--credited, .ecr-badge--exchanged { background: #d1fae5; color: #065f46; }
.ecr-badge--refused { background: #fee2e2; color: #991b1b; }
.ecr-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #f3f4f6; color: var(--ecr-text) !important; font-size: 12px; font-weight: 700; text-decoration: none !important; margin: 2px 4px 2px 0; }
.ecr-tag--ok { background: var(--ecr-ok-soft); color: var(--ecr-ok) !important; }
.ecr-tag--muted { color: var(--ecr-muted) !important; }

/* Hero of the portal */
.ecr-portal { max-width: 1040px; margin: 0 auto; }
.ecr-hero { text-align: center; padding: 28px 16px 22px; }
.ecr-hero__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--ecr-accent-soft); color: var(--ecr-accent); margin-bottom: 12px; }
.ecr-hero__title { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.ecr-hero__lead { max-width: 640px; margin: 10px auto 16px; color: var(--ecr-muted); font-size: 16px; }
.ecr-promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ecr-promises li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ecr-line); font-size: 13px; font-weight: 600; color: var(--ecr-ink); }
.ecr-promises .ecr-icon { color: var(--ecr-accent); }

/* Panels */
.ecr-panel { background: #fff; border: 1px solid var(--ecr-line); border-radius: calc(var(--ecr-radius) + 4px); padding: 20px; box-shadow: var(--ecr-shadow); margin-bottom: 16px; }
.ecr-panel__title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin-bottom: 14px !important; }
.ecr-panel--warn { background: var(--ecr-warn-soft); border-color: #fde68a; }
.ecr-panel--ok { background: var(--ecr-ok-soft); border-color: #a7f3d0; }
.ecr-portal__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ecr-portal__grid--guest { grid-template-columns: minmax(0, 520px); justify-content: center; }
.ecr-empty { color: var(--ecr-muted); font-style: italic; margin: 0; }

/* Orders of the customer */
.ecr-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ecr-order-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--ecr-line); border-radius: var(--ecr-radius); transition: border-color .15s, box-shadow .15s; }
.ecr-order-card:hover { border-color: color-mix(in srgb, var(--ecr-accent) 40%, var(--ecr-line)); box-shadow: var(--ecr-shadow); }
.ecr-order-card.is-disabled { opacity: .6; }
.ecr-order-card__media { display: flex; }
.ecr-order-card__media img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: 2px solid #fff; margin-left: -12px; background: var(--ecr-soft); }
.ecr-order-card__media img:first-child { margin-left: 0; }
.ecr-order-card__body { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.ecr-order-card__ref { font-size: 16px; color: var(--ecr-ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ecr-order-card__meta { font-size: 13px; color: var(--ecr-muted); }
.ecr-order-card__request { font-size: 12px; font-weight: 600; }
.ecr-order-card__actions { display: flex; flex-direction: column; gap: 6px; }

/* Forms */
.ecr-form { display: flex; flex-direction: column; gap: 4px; }
.ecr-form--inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--ecr-line); }
.ecr-form--inline .ecr-field { flex: 1; min-width: 180px; margin: 0; }
.ecr-field { margin-bottom: 12px; }
.ecr-field--inline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ecr-label { display: block; font-weight: 700; font-size: 14px; color: var(--ecr-ink); margin-bottom: 6px; }
.ecr-field--inline .ecr-label { margin: 0; }
.ecr-help { font-size: 13px; color: var(--ecr-muted); margin: 6px 0 0; }
.ecr-optional { font-weight: 500; color: var(--ecr-muted); }
.ecr-required { color: var(--ecr-danger); }
.ecr-input, .ecr-root select.ecr-input, .ecr-root textarea.ecr-input {
  display: block; width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid #d1d5db; border-radius: var(--ecr-radius);
  background: #fff; color: var(--ecr-ink); font-size: 16px; line-height: 1.3; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.ecr-input:focus { outline: 0; border-color: var(--ecr-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ecr-accent) 18%, transparent); }
.ecr-input--upper { text-transform: uppercase; letter-spacing: .08em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ecr-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ecr-identify__login { margin: 14px 0 0; text-align: center; font-size: 14px; }

/* Alerts */
.ecr-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--ecr-radius); font-weight: 600; margin: 0 0 16px; }
.ecr-alert ul { margin: 0; padding: 0; list-style: none; }
.ecr-alert--error { background: var(--ecr-danger-soft); color: var(--ecr-danger); border: 1px solid #fecaca; }
.ecr-alert--warn { background: var(--ecr-warn-soft); color: var(--ecr-warn); border: 1px solid #fde68a; }
.ecr-alert--ok { background: var(--ecr-ok-soft); color: var(--ecr-ok); border: 1px solid #a7f3d0; }

/* How it works */
.ecr-howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 24px 0 8px; padding: 0; }
.ecr-howto li { padding: 16px; border-radius: var(--ecr-radius); background: var(--ecr-soft); }
.ecr-howto span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ecr-accent); color: var(--ecr-accent-ink); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.ecr-howto strong { display: block; color: var(--ecr-ink); }
.ecr-howto p { margin: 4px 0 0; font-size: 13px; color: var(--ecr-muted); }
.ecr-policy-link { text-align: center; font-size: 14px; margin: 12px 0; }

/* Request form */
.ecr-request { max-width: 1140px; margin: 0 auto; }
.ecr-request__head { margin-bottom: 18px; }
.ecr-request__title { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; margin: 6px 0 4px !important; }
.ecr-request__meta { color: var(--ecr-muted); margin: 0 0 8px; }
.ecr-request__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.ecr-step { border: 1px solid var(--ecr-line); border-radius: calc(var(--ecr-radius) + 4px); padding: 18px 20px 20px; margin: 0 0 16px; background: #fff; box-shadow: var(--ecr-shadow); min-width: 0; }
.ecr-step__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--ecr-ink); padding: 0; margin-bottom: 14px; width: auto; border: 0; float: none; }
.ecr-step__number { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ecr-accent); color: var(--ecr-accent-ink); font-size: 14px; font-weight: 800; flex-shrink: 0; }
.ecr-step__hint { color: var(--ecr-muted); font-size: 14px; margin: -6px 0 12px; }
.ecr-choices { display: grid; gap: 10px; }
.ecr-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecr-choices--2, .ecr-choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecr-choice { position: relative; display: block; margin: 0; cursor: pointer; }
.ecr-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ecr-choice__box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 1.5px solid var(--ecr-line); border-radius: var(--ecr-radius); background: #fff; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.ecr-choice__box strong { color: var(--ecr-ink); font-size: 15px; }
.ecr-choice__box small { color: var(--ecr-muted); font-size: 13px; line-height: 1.4; display: block; }
.ecr-choice__icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ecr-soft); color: var(--ecr-ink); margin-bottom: 4px; flex-shrink: 0; }
.ecr-choice__deadline { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ecr-ok); margin-top: auto; }
.ecr-choice--row .ecr-choice__box { flex-direction: row; align-items: center; gap: 12px; }
.ecr-choice--row .ecr-choice__icon { margin: 0; }
.ecr-choice__price { margin-left: auto; font-style: normal; font-weight: 800; color: var(--ecr-ink); white-space: nowrap; }
.ecr-choice__price.is-free { color: var(--ecr-ok); }
.ecr-choice input:checked + .ecr-choice__box { border-color: var(--ecr-accent); background: var(--ecr-accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ecr-accent) 15%, transparent); }
.ecr-choice input:checked + .ecr-choice__box .ecr-choice__icon { background: var(--ecr-accent); color: var(--ecr-accent-ink); }
.ecr-choice input:focus-visible + .ecr-choice__box { outline: 3px solid color-mix(in srgb, var(--ecr-accent) 45%, transparent); outline-offset: 2px; }
.ecr-choice.is-disabled { cursor: not-allowed; }
.ecr-choice.is-disabled .ecr-choice__box { opacity: .55; background: var(--ecr-soft); }
.ecr-choice.is-disabled .ecr-choice__deadline { color: var(--ecr-muted); }
.ecr-choice.is-disabled .ecr-choice__icon { filter: grayscale(1); }
.ecr-choice__deadline--off { display: inline-flex; align-items: center; gap: 4px; font-style: normal; }
.ecr-alert--block { font-weight: 400; }
.ecr-request__layout--closed { grid-template-columns: 1fr; }
.ecr-alert--block strong { display: block; margin-bottom: 4px; }
.ecr-alert--block p { margin: 0 0 8px; }
.ecr-alert--block p:last-child { margin-bottom: 0; }

/* Items */
.ecr-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ecr-item { border: 1.5px solid var(--ecr-line); border-radius: var(--ecr-radius); transition: border-color .15s, background-color .15s; }
.ecr-item.is-selected { border-color: var(--ecr-accent); background: color-mix(in srgb, var(--ecr-accent) 3%, #ffffff); }
.ecr-item.is-blocked { background: var(--ecr-soft); }
.ecr-item.is-blocked .ecr-item__media, .ecr-item.is-blocked .ecr-item__name { opacity: .5; }
.ecr-item__select { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin: 0; cursor: pointer; font-weight: 400; }
.ecr-item__select input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--ecr-accent); flex-shrink: 0; margin: 0; }
.ecr-item.is-blocked .ecr-item__select { cursor: not-allowed; }
.ecr-item__media { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--ecr-soft); flex-shrink: 0; color: var(--ecr-muted); }
.ecr-item__media img { width: 100%; height: 100%; object-fit: cover; }
.ecr-item__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ecr-item__name { color: var(--ecr-ink); font-size: 15px; }
.ecr-item__meta { font-size: 13px; color: var(--ecr-muted); }
.ecr-item__block, .ecr-item__exclusion { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 700; color: var(--ecr-warn); }
.ecr-item__exclusion { font-weight: 500; color: var(--ecr-muted); }
.ecr-item__details { display: none; padding: 4px 14px 14px 50px; }
.ecr-item.is-selected .ecr-item__details { display: block; }
.no-js .ecr-item__details, .ecr-request:not(.is-enhanced) .ecr-item__details { display: block; }
.ecr-qty { display: inline-flex; align-items: stretch; }
.ecr-qty__btn { width: 42px; border: 1.5px solid #d1d5db; background: #fff; font-size: 20px; font-weight: 700; cursor: pointer; color: var(--ecr-ink); }
.ecr-qty__btn:first-child { border-radius: var(--ecr-radius) 0 0 var(--ecr-radius); border-right: 0; }
.ecr-qty__btn:last-child { border-radius: 0 var(--ecr-radius) var(--ecr-radius) 0; border-left: 0; }
.ecr-qty__input { width: 64px !important; border-radius: 0 !important; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.ecr-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ecr-dropzone { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border: 2px dashed #cbd5e1; border-radius: var(--ecr-radius); background: var(--ecr-soft); color: var(--ecr-muted); font-weight: 600; font-size: 14px; cursor: pointer; text-align: center; }
.ecr-dropzone:hover, .ecr-dropzone.is-over { border-color: var(--ecr-accent); color: var(--ecr-accent); }
.ecr-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ecr-dropzone--small { padding: 10px; margin: 8px 0; }
.ecr-thumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.ecr-thumbs:empty { display: none; }
.ecr-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--ecr-line); }
.ecr-comment { margin-top: 6px; }
.ecr-comment summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ecr-accent); }
.ecr-comment textarea { margin-top: 8px; }
.ecr-consent { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 12px 0 0; border-radius: var(--ecr-radius); background: var(--ecr-warn-soft); border: 1px solid #fde68a; font-weight: 600; color: var(--ecr-ink); cursor: pointer; }
.ecr-consent input { width: 20px; height: 20px; accent-color: var(--ecr-accent); margin: 2px 0 0; flex-shrink: 0; }
.ecr-methods { display: grid; gap: 10px; }
.ecr-dropoff { margin-top: 14px; padding: 14px; border-radius: var(--ecr-radius); background: var(--ecr-soft); }
.ecr-dropoff__row { display: flex; flex-wrap: wrap; gap: 8px; }
.ecr-dropoff__row .ecr-input { flex: 1 1 160px; max-width: 260px; }
.ecr-dropoff__row .ecr-input--postcode { flex: 0 1 120px; }
.ecr-points { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow: auto; }
.ecr-point { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "num body dist" ". action action"; gap: 6px 12px; align-items: start; padding: 12px; border: 1.5px solid var(--ecr-line); border-radius: var(--ecr-radius); background: #fff; cursor: pointer; transition: border-color .15s; }
.ecr-point:hover { border-color: color-mix(in srgb, var(--ecr-accent) 45%, var(--ecr-line)); }
.ecr-point > .ecr-point__number { grid-area: num; }
.ecr-point > .ecr-point__body { grid-area: body; }
.ecr-point > .ecr-point__distance { grid-area: dist; }
.ecr-point > button { grid-area: action; justify-self: start; }
.ecr-root .ecr-point.is-selected > .ecr-button { background: var(--ecr-accent); border-color: var(--ecr-accent); color: var(--ecr-accent-ink, #fff) !important; box-shadow: none; }
.ecr-point.is-selected { border-color: var(--ecr-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ecr-accent) 15%, transparent); }
.ecr-point__body { flex: 1; min-width: 0; font-size: 14px; }
.ecr-point__body strong { display: block; color: var(--ecr-ink); overflow-wrap: anywhere; }
.ecr-point__body small { display: block; color: var(--ecr-muted); line-height: 1.35; }
.ecr-point__distance { font-weight: 700; font-size: 13px; color: var(--ecr-muted); white-space: nowrap; }
.ecr-point__map { font-size: 12px; }

/* Summary */
.ecr-summary { position: sticky; top: 20px; }
.ecr-summary__card { padding: 20px; border-radius: calc(var(--ecr-radius) + 4px); background: #fff; border: 1px solid var(--ecr-line); box-shadow: 0 20px 40px -24px rgba(17, 24, 39, .35); }
.ecr-summary__title { font-size: 18px; font-weight: 800; margin-bottom: 12px !important; }
.ecr-summary__list { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 14px; font-size: 14px; }
.ecr-summary__list dt { color: var(--ecr-muted); font-weight: 500; }
.ecr-summary__list dd { margin: 0; text-align: right; font-weight: 700; color: var(--ecr-ink); }
.ecr-summary__total { padding-top: 10px; border-top: 1px solid var(--ecr-line); font-size: 17px !important; color: var(--ecr-ink) !important; font-weight: 800 !important; }
.ecr-summary__note { font-size: 13px; color: var(--ecr-muted); margin: 0 0 14px; }
.ecr-summary__legal { font-size: 12px; color: var(--ecr-muted); margin: 12px 0 0; line-height: 1.45; }

/* Follow-up */
.ecr-track { max-width: 1100px; margin: 0 auto; }
.ecr-success { display: flex; gap: 16px; align-items: center; padding: 20px; margin-bottom: 18px; border-radius: calc(var(--ecr-radius) + 4px); background: linear-gradient(135deg, #ecfdf5, #f0fdfa); border: 1px solid #a7f3d0; }
.ecr-success__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ecr-ok); color: #fff; flex-shrink: 0; animation: ecr-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes ecr-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ecr-success__title { font-size: 20px; font-weight: 800; color: #065f46 !important; }
.ecr-success p { margin: 4px 0 0; color: #065f46; }
.ecr-track__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.ecr-track__eyebrow { font-size: 13px; font-weight: 700; color: var(--ecr-muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; }
.ecr-track__title { font-size: clamp(22px, 3.4vw, 28px); font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ecr-track__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.ecr-ship__wait { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: var(--ecr-radius); background: var(--ecr-warn-soft); color: var(--ecr-warn); font-weight: 600; }
.ecr-ship__grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.ecr-ship__steps { flex: 1; min-width: 240px; }
.ecr-qr { margin: 0; padding: 14px; border-radius: var(--ecr-radius); background: #fff; border: 1px solid var(--ecr-line); text-align: center; max-width: 240px; }
.ecr-qr img { width: 200px; height: 200px; image-rendering: pixelated; }
.ecr-qr figcaption { font-size: 13px; color: var(--ecr-muted); margin-top: 6px; }
.ecr-checklist { margin: 0; padding-left: 22px; }
.ecr-checklist li { margin: 0 0 10px; }
.ecr-checklist .ecr-button { margin-top: 6px; }
.ecr-address { padding: 14px; border-radius: var(--ecr-radius); border: 1.5px dashed #cbd5e1; margin-top: 10px; }
.ecr-address address { margin: 6px 0; font-style: normal; line-height: 1.5; }
.ecr-address__ref { font-weight: 700; color: var(--ecr-ink); margin: 0; }
.ecr-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.ecr-timeline__step { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; position: relative; color: var(--ecr-muted); }
.ecr-timeline__step::before { content: ""; position: absolute; left: 13px; top: -8px; height: 16px; width: 2px; background: var(--ecr-line); }
.ecr-timeline__step:first-child::before { display: none; }
.ecr-timeline__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ecr-line); background: #fff; z-index: 1; }
.ecr-timeline__step.is-done { color: var(--ecr-ink); font-weight: 600; }
.ecr-timeline__step.is-done::before { background: var(--ecr-ok); }
.ecr-timeline__step.is-done .ecr-timeline__dot { background: var(--ecr-ok); border-color: var(--ecr-ok); color: #fff; }
.ecr-timeline__step.is-current .ecr-timeline__dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ecr-ok) 20%, transparent); }
.ecr-timeline__date { font-size: 12px; color: var(--ecr-muted); font-weight: 500; }
.ecr-track__tracking { margin: 12px 0 0; font-size: 14px; }
.ecr-messages { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ecr-message { max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--ecr-accent-soft); align-self: flex-end; }
.ecr-message--shop { background: var(--ecr-soft); align-self: flex-start; border-radius: 16px 16px 4px 16px; }
.ecr-message p { margin: 0; }
.ecr-message time { font-size: 11px; color: var(--ecr-muted); }
.ecr-mini-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.ecr-mini-lines li { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px solid #f1f2f4; font-size: 14px; }
.ecr-mini-lines small { color: var(--ecr-muted); }
.ecr-docs { list-style: none; margin: 0; padding: 0; }
.ecr-docs li { padding: 8px 0; border-bottom: 1px solid #f1f2f4; }
.ecr-docs a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.ecr-code { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.ecr-code code { font-size: 20px; font-weight: 800; letter-spacing: .08em; padding: 8px 14px; border-radius: 10px; background: #fff; border: 2px dashed var(--ecr-ok); color: var(--ecr-ink); }
.ecr-note { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-radius: var(--ecr-radius); background: var(--ecr-ok-soft); color: var(--ecr-ok); font-weight: 600; font-size: 14px; }
.ecr-cancel { text-align: center; }

/* Policy */
.ecr-policy { max-width: 820px; }
.ecr-policy h2 { font-size: 20px; margin: 26px 0 8px !important; }
.ecr-policy__intro { font-size: 16px; }
.ecr-policy__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.ecr-policy__card { padding: 18px; border-radius: calc(var(--ecr-radius) + 4px); background: var(--ecr-accent-soft); text-align: center; }
.ecr-policy__big { display: block; font-size: 38px; font-weight: 800; color: var(--ecr-accent); line-height: 1.1; }
.ecr-policy__card strong { display: block; color: var(--ecr-ink); }
.ecr-policy__card p { margin: 6px 0 0; font-size: 13px; color: var(--ecr-muted); }
.ecr-policy__address { font-style: normal; padding: 14px; border-radius: var(--ecr-radius); background: var(--ecr-soft); }

@media (max-width: 991px) {
  .ecr-request__layout, .ecr-track__layout, .ecr-portal__grid { grid-template-columns: 1fr; }
  .ecr-summary { position: static; }
}
@media (max-width: 640px) {
  .ecr-choices--3, .ecr-choices--2, .ecr-choices--4, .ecr-howto, .ecr-policy__cards { grid-template-columns: 1fr; }
  .ecr-choices--3 .ecr-choice__box, .ecr-choices--4 .ecr-choice__box { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .ecr-step { padding: 14px; }
  .ecr-item__details { padding-left: 14px; }
  .ecr-order-card { grid-template-columns: 1fr; }
  .ecr-order-card__actions { flex-direction: row; flex-wrap: wrap; }
  .ecr-summary__card { border-radius: var(--ecr-radius); }
}
@media (prefers-reduced-motion: reduce) {
  .ecr-root *, .ecr-footer * { animation: none !important; transition: none !important; }
}

/* Drop-off points: map, numbered list, official widget */
.ecr-dropoff__results { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 900px) { .ecr-dropoff__results:has(.ecr-map:not([hidden])) { grid-template-columns: 1fr 1fr; align-items: start; } .ecr-dropoff__results .ecr-points { margin-top: 0; max-height: 380px; } }
.ecr-map { height: 380px; border-radius: var(--ecr-radius); border: 1.5px solid var(--ecr-line); overflow: hidden; z-index: 0; }
.ecr-map[hidden], .ecr-widget[hidden], .ecr-dropoff__chosen[hidden], .ecr-dropoff__results[hidden], .ecr-dropoff__search[hidden] { display: none; }
.ecr-marker { background: none; border: 0; }
.ecr-marker span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--ecr-ink, #111827); color: #fff; font-weight: 700; font-size: 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); box-sizing: border-box; }
.ecr-marker.is-selected span { background: var(--ecr-accent); }
.ecr-point__number { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ecr-line); font-size: 12px; font-weight: 700; }
.ecr-point.is-selected .ecr-point__number { background: var(--ecr-accent); color: #fff; }
.ecr-point__hours { margin-top: 4px; font-size: 12px; }
.ecr-point__hours summary { cursor: pointer; color: var(--ecr-muted, #6b7280); }
.ecr-point__hours dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; }
.ecr-point__hours dt { font-weight: 600; }
.ecr-point__hours dd { margin: 0; }
.ecr-widget { margin-top: 12px; }
.ecr-dropoff__chosen { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--ecr-radius); background: color-mix(in srgb, var(--ecr-accent) 10%, #fff); font-weight: 600; }

/* Online payment of the return fee */
.ecr-pay { border-color: var(--ecr-accent); }
.ecr-pay__form { margin-top: 12px; }
.ecr-fee-checkout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 16px; border-radius: 10px; background: #eef2ff; border: 1px solid #c7d2fe; }
.ecr-dropoff__stores[hidden] { display: none; } .ecr-dropoff__stores { margin: 0 0 4px; }

/* Satisfaction survey */
.ecr-feedback { max-width: 560px; }
.ecr-feedback__intro { font-size: 18px; font-weight: 700; color: var(--ecr-ink); margin: 0 0 14px; }
.ecr-feedback__rates { display: flex; gap: 10px; margin: 0; }
.ecr-feedback__rate { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ecr-line); background: #fff; color: var(--ecr-ink); font-size: 18px; font-weight: 800; text-decoration: none; transition: transform .1s, border-color .15s; }
.ecr-feedback__rate:hover { border-color: var(--ecr-accent); transform: translateY(-2px); text-decoration: none; }
.ecr-feedback__rate.is-selected { background: var(--ecr-accent); border-color: var(--ecr-accent); color: var(--ecr-accent-ink) !important; }
.ecr-feedback__scale { display: flex; justify-content: space-between; max-width: 300px; margin: 6px 0 16px; font-size: 12px; color: var(--ecr-muted); }
.ecr-feedback__thanks { display: flex; align-items: center; gap: 6px; color: #047857; font-weight: 600; }
.ecr-feedback__form { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 18px; }
.ecr-feedback__form .ecr-button { align-self: flex-start; }

/* Size suggestion */
.ecr-size-tip { margin: 8px 0; padding: 10px 12px; border-radius: var(--ecr-radius); background: color-mix(in srgb, var(--ecr-accent) 8%, #fff); border: 1px solid color-mix(in srgb, var(--ecr-accent) 30%, var(--ecr-line)); }
.ecr-size-tip[hidden] { display: none; }
.ecr-size-tip p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13.5px; }
.ecr-size-tip__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ecr-size-tip__actions .is-selected { background: var(--ecr-accent); border-color: var(--ecr-accent); color: var(--ecr-accent-ink) !important; }

/* Order history: return button, order detail: return one product */
.ecr-history-return { display: inline-flex; align-items: center; vertical-align: middle; margin: 0 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ecr-accent, #2563eb); color: var(--ecr-accent, #2563eb) !important; font-size: 12px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.ecr-history-return:hover { background: var(--ecr-accent, #2563eb); color: var(--ecr-accent-ink, #fff) !important; }
.ecr-order__products { margin-top: 12px; }
.ecr-order__products summary { cursor: pointer; font-weight: 600; }
.ecr-order__products ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ecr-order__products li { display: flex; align-items: center; gap: 10px; }
.ecr-order__products li span { flex: 1; min-width: 0; font-size: 14px; }
.ecr-order__products img { border-radius: 6px; object-fit: cover; }
