/* FlexTrend Order Experience Center */
body.flextrend-order-open {
  overflow: hidden;
}

.flextrend-order-center,
.flextrend-oc-drawer,
.flextrend-order-invoice {
  --oc-ink: #151716;
  --oc-lime: #79b8ff;
  --oc-orange: var(--orange, #1769ff);
  width: 100%;
}

.flextrend-oc-hero {
  position: relative;
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: end;
  gap: 48px;
  padding: clamp(34px, 5vw, 66px);
  overflow: hidden;
  color: #fff;
  background: var(--oc-ink);
  border-radius: 34px;
  isolation: isolate;
}

.flextrend-oc-hero::before,
.flextrend-oc-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.flextrend-oc-hero::before {
  top: -210px;
  right: 8%;
  width: 450px;
  height: 450px;
  border: 82px solid var(--oc-orange);
}

.flextrend-oc-hero::after {
  right: -50px;
  bottom: -100px;
  width: 210px;
  height: 210px;
  background: var(--oc-lime);
}

.flextrend-oc-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.flextrend-oc-hero-copy > span,
.flextrend-oc-toolbar > div > span,
.flextrend-oc-detail-section > header span,
.flextrend-oc-return header span,
.flextrend-oc-drawer-head span {
  display: block;
  margin-bottom: 10px;
  color: var(--oc-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.flextrend-oc-hero h2 {
  max-width: 690px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .88;
  letter-spacing: -.06em;
}

.flextrend-oc-hero h2 em {
  color: var(--oc-lime);
  font-style: normal;
}

.flextrend-oc-hero p {
  max-width: 540px;
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.75;
}

.flextrend-oc-orbit {
  position: relative;
  z-index: 2;
  display: flex;
  width: 178px;
  height: 178px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: var(--oc-ink);
  background: var(--oc-lime);
  border-radius: 50% 50% 16px 50%;
  transform: rotate(6deg);
  box-shadow: 0 25px 55px rgba(0,0,0,.28);
}

.flextrend-oc-orbit svg {
  width: 30px;
  height: 30px;
}

.flextrend-oc-orbit span {
  font-size: 25px;
  font-weight: 900;
  line-height: .82;
}

.flextrend-oc-live {
  position: absolute;
  top: 25px;
  right: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.flextrend-oc-live i {
  width: 7px;
  height: 7px;
  background: var(--oc-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(223,255,69,.12);
  animation: flextrend-oc-pulse 2s infinite;
}

@keyframes flextrend-oc-pulse {
  50% { box-shadow: 0 0 0 9px rgba(223,255,69,0); }
}

.flextrend-oc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 54px;
}

.flextrend-oc-stats article {
  position: relative;
  display: flex;
  min-height: 158px;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedfdd;
  border-radius: 22px;
}

.flextrend-oc-stats article.is-lime {
  background: var(--oc-lime);
  border-color: var(--oc-lime);
}

.flextrend-oc-stats article > svg {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 22px;
}

.flextrend-oc-stats article > span {
  color: #727672;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.flextrend-oc-stats article > strong {
  display: block;
  margin: auto 0 6px;
  color: var(--oc-ink);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.05em;
}

.flextrend-oc-stats article > strong .woocommerce-Price-currencySymbol {
  font-size: .55em;
}

.flextrend-oc-stats article > small {
  color: #8b8f8c;
  font-size: 9px;
}

.flextrend-oc-stats article.is-lime > span,
.flextrend-oc-stats article.is-lime > small { color: rgba(21,23,22,.62); }

.flextrend-oc-toolbar {
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 22px;
  margin-bottom: 22px;
}

.flextrend-oc-toolbar h3 {
  max-width: 530px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: .95;
  letter-spacing: -.045em;
}

.flextrend-oc-search {
  display: grid;
  min-height: 54px;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid #d9dcda;
  border-radius: 17px;
  transition: border-color .2s, box-shadow .2s;
}

.flextrend-oc-search:focus-within {
  border-color: var(--oc-ink);
  box-shadow: 0 0 0 4px rgba(21,23,22,.06);
}

.flextrend-oc-search svg { width: 18px; }
.flextrend-oc-search input { width: 100%; padding: 0; background: transparent; border: 0; box-shadow: none; font-size: 12px; outline: 0; }
.flextrend-oc-search kbd { padding: 4px 8px; color: #777; background: #f0f1ef; border: 1px solid #e1e3e1; border-radius: 7px; font: 10px Manrope, sans-serif; }

.flextrend-oc-filters {
  display: flex;
  grid-column: 1 / -1;
  gap: 7px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.flextrend-oc-filters::-webkit-scrollbar { display: none; }
.flextrend-oc-filters button {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: #666a67;
  background: transparent;
  border: 1px solid #d5d8d6;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.flextrend-oc-filters button.is-active {
  color: #fff;
  background: var(--oc-ink);
  border-color: var(--oc-ink);
}

.flextrend-oc-orders { display: grid; gap: 11px; }

.flextrend-oc-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .34fr) 58px;
  align-items: center;
  gap: 24px;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid #dfe1df;
  border-radius: 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.flextrend-oc-order:hover {
  border-color: #b8bcb8;
  box-shadow: 0 17px 45px rgba(21,23,22,.07);
  transform: translateY(-2px);
}

.flextrend-oc-order[hidden] { display: none; }
.flextrend-oc-order-main { display: flex; min-width: 0; align-items: center; gap: 20px; }
.flextrend-oc-order-images { display: flex; flex: 0 0 auto; padding-left: 14px; }
.flextrend-oc-order-images span { display: grid; width: 62px; height: 62px; place-items: center; margin-left: -14px; overflow: hidden; background: #f1f3f1; border: 3px solid #fff; border-radius: 16px; }
.flextrend-oc-order-images img { width: 100%; height: 100%; object-fit: cover; }
.flextrend-oc-order-images .is-more { color: #fff; background: var(--oc-ink); font-size: 11px; font-weight: 800; }
.flextrend-oc-order-copy { min-width: 0; }
.flextrend-oc-order-copy > span { display: block; margin-bottom: 7px; color: var(--oc-orange); font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.flextrend-oc-order-copy h4 { margin: 0 0 7px; overflow: hidden; font-size: 16px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.flextrend-oc-order-copy p { margin: 0; color: #7c817d; font-size: 10px; }
.flextrend-oc-order-state > span,
.flextrend-oc-drawer-status > span { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; }
.flextrend-oc-order-state > span i,
.flextrend-oc-drawer-status > span i { width: 8px; height: 8px; background: #f0a928; border-radius: 50%; box-shadow: 0 0 0 5px rgba(240,169,40,.12); }
.flextrend-oc-order-state > span.tone-positive i,
.flextrend-oc-drawer-status > span.tone-positive i { background: #2aa772; box-shadow: 0 0 0 5px rgba(42,167,114,.12); }
.flextrend-oc-order-state > span.tone-critical i,
.flextrend-oc-drawer-status > span.tone-critical i { background: #e35342; box-shadow: 0 0 0 5px rgba(227,83,66,.12); }
.flextrend-oc-order-state > small { display: block; margin: 8px 0 0 16px; color: #929692; font-size: 8px; }
.flextrend-oc-open { display: grid; width: 52px; height: 52px; place-items: center; color: var(--oc-ink); background: var(--oc-lime); border: 0; border-radius: 50%; cursor: pointer; transition: transform .2s, background .2s; }
.flextrend-oc-open span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.flextrend-oc-open svg { width: 18px; }
.flextrend-oc-open:hover { background: var(--oc-orange); transform: rotate(8deg); }

.flextrend-oc-empty,
.flextrend-oc-no-results {
  padding: 70px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cdd0cd;
  border-radius: 24px;
}
.flextrend-oc-empty > svg,
.flextrend-oc-no-results > svg { width: 42px; height: 42px; margin-bottom: 18px; color: var(--oc-orange); }
.flextrend-oc-empty h3,
.flextrend-oc-no-results h3 { margin: 0 0 8px; font-size: 27px; }
.flextrend-oc-empty p,
.flextrend-oc-no-results p { max-width: 460px; margin: 0 auto 24px; color: #777d78; font-size: 11px; }
.flextrend-oc-no-results[hidden] { display: none; }

.flextrend-oc-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid #dfe1df;
  border-radius: 17px;
}
.flextrend-oc-pagination > span { color: #7a7f7b; font-size: 9px; font-weight: 700; }
.flextrend-oc-pagination > div { display: flex; gap: 7px; }
.flextrend-oc-pagination a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; color: #fff; background: var(--oc-ink); border-radius: 999px; font-size: 8px; font-weight: 800; text-decoration: none; }
.flextrend-oc-pagination a svg { width: 13px; }

.flextrend-oc-overlay {
  position: fixed;
  inset: 0;
  z-index: 1390;
  background: rgba(10,12,11,.58);
  opacity: 1;
  backdrop-filter: blur(8px);
  animation: flextrend-oc-fade .25s both;
}
.flextrend-oc-overlay[hidden] { display: none; }
@keyframes flextrend-oc-fade { from { opacity: 0; } }

.flextrend-oc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1400;
  width: min(620px, 100vw);
  height: 100dvh;
  padding: 10px;
  visibility: hidden;
  transform: translateX(105%);
  transition: transform .34s cubic-bezier(.22,1,.36,1), visibility .34s;
}

.admin-bar .flextrend-oc-drawer { top: 32px; height: calc(100dvh - 32px); }
.flextrend-oc-drawer.is-open { visibility: visible; transform: translateX(0); }
.flextrend-oc-drawer-content { height: 100%; padding: 28px; overflow-x: hidden; overflow-y: auto; color: var(--oc-ink, #151716); background: #f5f6f4; border-radius: 26px; box-shadow: -30px 0 90px rgba(0,0,0,.2); overscroll-behavior: contain; }
.flextrend-oc-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.flextrend-oc-drawer-head h2 { margin: 0; font-size: 46px; line-height: .9; }
.flextrend-oc-drawer-head button,
.flextrend-oc-return header button { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: #151716; border: 0; border-radius: 50%; cursor: pointer; }
.flextrend-oc-drawer-head button svg,
.flextrend-oc-return header button svg { width: 18px; }
.flextrend-oc-drawer-status { display: flex; align-items: center; justify-content: space-between; margin: 24px 0; padding: 15px 18px; background: #fff; border: 1px solid #dedfdd; border-radius: 15px; }
.flextrend-oc-drawer-status > small { color: #848984; font-size: 9px; }

.flextrend-oc-detail-section { margin: 12px 0; padding: 24px; background: #fff; border: 1px solid #dedfdd; border-radius: 22px; }
.flextrend-oc-detail-section > header { margin-bottom: 22px; }
.flextrend-oc-detail-section > header h3,
.flextrend-oc-return header h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }

.flextrend-oc-timeline { position: relative; }
.flextrend-oc-timeline > div { position: relative; display: grid; min-height: 61px; grid-template-columns: 27px 1fr auto; gap: 13px; color: #a0a4a0; }
.flextrend-oc-timeline > div:not(:last-child)::before { position: absolute; top: 22px; bottom: -2px; left: 12px; width: 2px; background: #e2e4e2; content: ""; }
.flextrend-oc-timeline > div.is-done:not(:last-child)::before { background: #151716; }
.flextrend-oc-timeline > div > i { position: relative; z-index: 1; display: grid; width: 26px; height: 26px; place-items: center; background: #eceeec; border: 7px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #e0e2e0; }
.flextrend-oc-timeline > div.is-done > i { color: #151716; background: var(--oc-lime); box-shadow: 0 0 0 1px var(--oc-lime); }
.flextrend-oc-timeline > div.is-current > i { background: var(--oc-orange); box-shadow: 0 0 0 5px rgba(23,105,255,.12); }
.flextrend-oc-timeline > div.is-failed > i { background: #e35342; }
.flextrend-oc-timeline > div > i svg { width: 16px; height: 16px; overflow: visible; }
.flextrend-oc-timeline > div > i path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.flextrend-oc-timeline > div span strong { display: block; color: inherit; font-size: 11px; }
.flextrend-oc-timeline > div.is-done span strong,
.flextrend-oc-timeline > div.is-current span strong { color: #151716; }
.flextrend-oc-timeline > div span small { display: block; margin-top: 3px; font-size: 8px; }
.flextrend-oc-timeline > div time { padding-top: 3px; font-size: 8px; font-weight: 700; }

.flextrend-oc-tracking-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 12px 0; padding: 22px; color: #151716; background: var(--oc-lime); border-radius: 22px; }
.flextrend-oc-tracking-card > div { display: flex; min-width: 0; align-items: center; gap: 14px; }
.flextrend-oc-tracking-card > div > svg { flex: 0 0 auto; width: 30px; height: 30px; }
.flextrend-oc-tracking-card span small,
.flextrend-oc-tracking-card span strong,
.flextrend-oc-tracking-card span em { display: block; }
.flextrend-oc-tracking-card span small { margin-bottom: 4px; font-size: 7px; font-weight: 900; }
.flextrend-oc-tracking-card span strong { font-size: 14px; overflow-wrap: anywhere; }
.flextrend-oc-tracking-card span em { margin-top: 4px; font-size: 8px; font-style: normal; opacity: .65; }
.flextrend-oc-tracking-card > a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 10px 13px; color: #fff; background: #151716; border-radius: 999px; font-size: 9px; font-weight: 800; text-decoration: none; }
.flextrend-oc-tracking-card > a svg { width: 14px; }

.flextrend-oc-detail-items article { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #eceeec; }
.flextrend-oc-item-image { position: relative; width: 58px; height: 58px; overflow: visible; background: #f1f3f1; border-radius: 14px; }
.flextrend-oc-item-image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.flextrend-oc-item-image b { position: absolute; top: -6px; right: -6px; display: grid; width: 20px; height: 20px; place-items: center; color: #fff; background: #151716; border: 2px solid #fff; border-radius: 50%; font-size: 8px; }
.flextrend-oc-detail-items article > div:nth-child(2) > strong { display: block; font-size: 11px; }
.flextrend-oc-detail-items article .wc-item-meta { margin: 4px 0 0; padding: 0; color: #818681; font-size: 8px; list-style: none; }
.flextrend-oc-detail-items article > div:nth-child(2) > small { color: #999e99; font-size: 8px; text-transform: capitalize; }
.flextrend-oc-detail-items article > span { font-size: 10px; font-weight: 800; }
.flextrend-oc-totals { margin-top: 12px; padding-top: 12px; border-top: 1px solid #dedfdd; }
.flextrend-oc-totals > div { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; color: #777c78; font-size: 9px; }
.flextrend-oc-totals > div:last-child { margin-top: 7px; padding-top: 13px; color: #151716; border-top: 1px solid #dedfdd; font-size: 13px; }

.flextrend-oc-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.flextrend-oc-address-grid article { min-width: 0; padding: 20px; background: #151716; border-radius: 20px; color: #fff; }
.flextrend-oc-address-grid article:nth-child(2) { color: #151716; background: #fff; border: 1px solid #dedfdd; }
.flextrend-oc-address-grid svg { width: 20px; margin-bottom: 28px; color: var(--oc-orange); }
.flextrend-oc-address-grid span { display: block; margin-bottom: 7px; color: var(--oc-orange); font-size: 7px; font-weight: 900; }
.flextrend-oc-address-grid p { margin: 0; font-size: 9px; line-height: 1.7; overflow-wrap: anywhere; }
.flextrend-oc-address-grid small { display: block; margin-top: 8px; color: #8d928e; font-size: 8px; overflow-wrap: anywhere; }

.flextrend-oc-actions { display: grid; gap: 8px; margin: 12px 0; }
.flextrend-oc-actions > a,
.flextrend-oc-actions > button { display: grid; width: 100%; min-height: 70px; grid-template-columns: 30px 1fr 20px; align-items: center; gap: 13px; padding: 14px 17px; color: #151716; text-align: left; text-decoration: none; background: #fff; border: 1px solid #dedfdd; border-radius: 18px; cursor: pointer; }
.flextrend-oc-actions > a.is-primary { color: #fff; background: #151716; border-color: #151716; }
.flextrend-oc-actions > a > svg:first-child,
.flextrend-oc-actions > button > svg:first-child { color: var(--oc-orange); }
.flextrend-oc-actions > a > svg:last-child,
.flextrend-oc-actions > button > svg:last-child { width: 15px; }
.flextrend-oc-actions span strong,
.flextrend-oc-actions span small { display: block; }
.flextrend-oc-actions span strong { font-size: 10px; }
.flextrend-oc-actions span small { margin-top: 3px; color: #8b908c; font-size: 8px; }
.flextrend-oc-actions .is-primary span small { color: rgba(255,255,255,.54); }
.flextrend-oc-actions .action-cancel { color: #bd493d; }

.flextrend-oc-requests { display: grid; gap: 8px; }
.flextrend-oc-request { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 14px; background: #f4f5f3; border-radius: 15px; }
.flextrend-oc-request > svg { width: 18px; color: var(--oc-orange); }
.flextrend-oc-request span,
.flextrend-oc-request strong,
.flextrend-oc-request small { display: block; }
.flextrend-oc-request span { color: var(--oc-orange); font-size: 7px; font-weight: 900; }
.flextrend-oc-request strong { margin: 3px 0; font-size: 10px; }
.flextrend-oc-request small { color: #888d89; font-size: 7px; }
.flextrend-oc-request > b { padding: 7px 9px; color: #8e6912; background: #fff1bf; border-radius: 999px; font-size: 7px; }
.flextrend-oc-request > b.status-approved,
.flextrend-oc-request > b.status-resolved { color: #176d4e; background: #dff8ec; }
.flextrend-oc-request > b.status-rejected { color: #a43d32; background: #ffe4df; }

.flextrend-oc-return { margin: 12px 0 30px; padding: 24px; background: #fff; border: 2px solid #151716; border-radius: 24px; scroll-margin-top: 12px; }
.flextrend-oc-return[hidden] { display: none; }
.flextrend-oc-return > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.flextrend-oc-return-step { display: grid; grid-template-columns: 30px 1fr; gap: 13px; padding: 17px 0; border-top: 1px solid #e2e4e2; }
.flextrend-oc-return-step > i { display: grid; width: 28px; height: 28px; place-items: center; background: var(--oc-lime); border-radius: 50%; font-size: 8px; font-style: normal; font-weight: 900; }
.flextrend-oc-return-step > label,
.flextrend-oc-return-step > div { min-width: 0; }
.flextrend-oc-return-step > label + label { grid-column: 2; }
.flextrend-oc-return-step label > span,
.flextrend-oc-return-step > div > span { display: block; margin-bottom: 7px; font-size: 9px; font-weight: 800; }
.flextrend-oc-return select,
.flextrend-oc-return textarea { width: 100%; padding: 12px 13px; background: #f5f6f4; border: 1px solid #dfe1df; border-radius: 12px; font: 10px Manrope, sans-serif; box-shadow: none; }
.flextrend-oc-return textarea { resize: vertical; }
.flextrend-oc-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flextrend-oc-choice input { position: absolute; opacity: 0; pointer-events: none; }
.flextrend-oc-choice label > span { display: flex; min-height: 58px; align-items: center; gap: 9px; margin: 0; padding: 12px; color: #6f746f; border: 1px solid #dfe1df; border-radius: 13px; cursor: pointer; }
.flextrend-oc-choice label > span svg { width: 17px; }
.flextrend-oc-choice input:checked + span { color: #151716; background: var(--oc-lime); border-color: #151716; }
.flextrend-oc-upload { position: relative; display: flex; min-height: 78px; align-items: center; gap: 12px; padding: 15px; background: #f5f6f4; border: 1px dashed #afb4af; border-radius: 14px; cursor: pointer; }
.flextrend-oc-upload > svg { width: 24px; color: var(--oc-orange); }
.flextrend-oc-upload span { margin: 0 !important; }
.flextrend-oc-upload span strong,
.flextrend-oc-upload span small { display: block; }
.flextrend-oc-upload span small { margin-top: 4px; color: #8b908b; font-size: 7px; font-weight: 500; }
.flextrend-oc-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.flextrend-oc-file-list { display: grid; gap: 5px; margin-top: 8px; }
.flextrend-oc-file-list span { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #eef0ee; border-radius: 8px; font-size: 8px; }
.flextrend-oc-file-list svg { width: 12px; }
.flextrend-oc-file-list small { margin-left: auto; color: #888; }
.flextrend-oc-consent { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0; color: #717672; font-size: 8px; line-height: 1.55; }
.flextrend-oc-consent input { flex: 0 0 auto; margin-top: 2px; accent-color: #151716; }
.flextrend-oc-submit { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 18px; color: #151716; background: var(--oc-lime); border: 0; border-radius: 14px; font-size: 10px; font-weight: 900; cursor: pointer; }
.flextrend-oc-submit svg { width: 17px; }
.flextrend-oc-submit:disabled { opacity: .6; cursor: wait; }
.flextrend-oc-form-status { min-height: 15px; margin: 8px 0 0; color: #b84438; font-size: 8px; }
.flextrend-oc-return-success { display: flex; align-items: center; gap: 15px; padding: 20px; color: #fff; background: #151716; border-radius: 16px; }
.flextrend-oc-return-success > svg { width: 30px; color: var(--oc-lime); }
.flextrend-oc-return-success strong,
.flextrend-oc-return-success small { display: block; }
.flextrend-oc-return-success strong { font-size: 12px; }
.flextrend-oc-return-success small { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 8px; line-height: 1.6; }

.flextrend-oc-skeleton { display: flex; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; padding: 35px; text-align: center; }
.flextrend-oc-skeleton-mark { position: relative; width: 94px; height: 94px; margin-bottom: 26px; }
.flextrend-oc-skeleton-mark span { position: absolute; inset: 0; border: 12px solid var(--oc-orange); border-radius: 50%; animation: flextrend-oc-spin 1.4s linear infinite; }
.flextrend-oc-skeleton-mark i { position: absolute; inset: 28px; background: var(--oc-lime); border-radius: 13px 50% 50%; animation: flextrend-oc-breathe 1.2s ease-in-out infinite alternate; }
@keyframes flextrend-oc-spin { to { transform: rotate(360deg); } }
@keyframes flextrend-oc-breathe { to { transform: scale(.72) rotate(20deg); } }
.flextrend-oc-skeleton > strong { font-size: 18px; }
.flextrend-oc-skeleton > small { margin-top: 6px; color: #838883; font-size: 9px; }
.flextrend-oc-skeleton-lines { width: min(100%, 380px); margin-top: 35px; }
.flextrend-oc-skeleton-lines i { display: block; height: 13px; margin: 11px 0; background: linear-gradient(90deg,#e3e5e3 25%,#f6f7f5 50%,#e3e5e3 75%); background-size: 200% 100%; border-radius: 999px; animation: flextrend-oc-shimmer 1.2s infinite; }
.flextrend-oc-skeleton-lines i:nth-child(2) { width: 82%; }
.flextrend-oc-skeleton-lines i:nth-child(3) { width: 90%; }
.flextrend-oc-skeleton-lines i:nth-child(4) { width: 62%; }
@keyframes flextrend-oc-shimmer { to { background-position: -200% 0; } }
.flextrend-oc-drawer-error { display: flex; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.flextrend-oc-drawer-error > svg { width: 46px; height: 46px; color: var(--oc-orange); }
.flextrend-oc-drawer-error h3 { margin: 18px 0 6px; font-size: 24px; }
.flextrend-oc-drawer-error p { color: #777c78; font-size: 10px; }
.flextrend-oc-drawer-error button { padding: 11px 20px; color: #151716; background: var(--oc-lime); border: 0; border-radius: 999px; font-size: 9px; font-weight: 900; cursor: pointer; }

.flextrend-order-invoice { max-width: 1020px; margin: 0 auto; padding: clamp(25px,5vw,70px); color: #151716; background: #fff; border: 1px solid #dfe1df; border-radius: 30px; }
.flextrend-order-invoice > header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 32px; border-bottom: 2px solid #151716; }
.flextrend-order-invoice > header > div { display: flex; align-items: center; gap: 20px; }
.flextrend-order-invoice > header img { width: auto; max-width: 150px; max-height: 46px; object-fit: contain; }
.flextrend-order-invoice > header span { color: #8b908c; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.flextrend-order-invoice > header button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; color: #fff; background: #151716; border: 0; border-radius: 999px; font-size: 9px; font-weight: 800; cursor: pointer; }
.flextrend-order-invoice > header button svg { width: 15px; }
.flextrend-invoice-title { display: flex; align-items: end; justify-content: space-between; padding: 45px 0; }
.flextrend-invoice-title span,
.flextrend-invoice-parties span { display: block; margin-bottom: 7px; color: var(--oc-orange); font-size: 8px; font-weight: 900; }
.flextrend-invoice-title h1 { margin: 0; font-size: clamp(48px,8vw,90px); line-height: .85; letter-spacing: -.07em; }
.flextrend-invoice-title > div:last-child { text-align: right; }
.flextrend-invoice-title strong,
.flextrend-invoice-title small { display: block; }
.flextrend-invoice-title strong { font-size: 12px; }
.flextrend-invoice-title small { margin-top: 6px; color: #858a86; font-size: 9px; }
.flextrend-invoice-parties { display: grid; grid-template-columns: 1.2fr 1.2fr .8fr; gap: 12px; margin-bottom: 40px; }
.flextrend-invoice-parties > div { padding: 20px; background: #f3f5f3; border-radius: 16px; }
.flextrend-invoice-parties p { margin: 0; font-size: 9px; line-height: 1.75; }
.flextrend-invoice-parties small { display: block; margin-top: 9px; color: #7b807c; font-size: 8px; line-height: 1.6; }
.flextrend-order-invoice table { width: 100%; border: 0; border-collapse: collapse; }
.flextrend-order-invoice th { padding: 12px 8px; color: #7d827e; border-bottom: 1px solid #151716; font-size: 8px; text-align: left; }
.flextrend-order-invoice th:nth-child(n+2),
.flextrend-order-invoice td:nth-child(n+2) { text-align: right; }
.flextrend-order-invoice td { padding: 18px 8px; border-bottom: 1px solid #e2e4e2; font-size: 10px; }
.flextrend-order-invoice td strong { font-size: 11px; }
.flextrend-order-invoice .wc-item-meta { margin: 5px 0 0; padding: 0; color: #7e837f; font-size: 8px; list-style: none; }
.flextrend-invoice-total { width: min(100%, 390px); margin: 28px 0 45px auto; }
.flextrend-invoice-total div { display: flex; justify-content: space-between; padding: 7px 0; color: #777c78; font-size: 9px; }
.flextrend-invoice-total div:last-child { margin-top: 8px; padding-top: 15px; color: #151716; border-top: 2px solid #151716; font-size: 15px; }
.flextrend-order-invoice footer { padding-top: 24px; border-top: 1px solid #dfe1df; }
.flextrend-order-invoice footer span { color: var(--oc-orange); font-size: 8px; font-weight: 900; }
.flextrend-order-invoice footer p { margin: 6px 0 0; color: #858a86; font-size: 8px; }

@media (max-width: 1050px) {
  .flextrend-oc-stats { grid-template-columns: 1fr 1fr; }
  .flextrend-oc-order { grid-template-columns: minmax(0,1fr) 140px 52px; gap: 15px; }
}

@media (max-width: 782px) {
  .admin-bar .flextrend-oc-drawer { top: 46px; height: calc(100dvh - 46px); }
  .flextrend-oc-hero { min-height: 420px; grid-template-columns: 1fr; align-items: end; padding: 32px 25px; }
  .flextrend-oc-hero::before { top: -90px; right: -110px; width: 340px; height: 340px; border-width: 60px; }
  .flextrend-oc-hero::after { right: -70px; bottom: -100px; }
  .flextrend-oc-hero h2 { font-size: clamp(44px,14vw,70px); }
  .flextrend-oc-orbit { position: absolute; right: 25px; bottom: 28px; width: 105px; height: 105px; padding: 17px; }
  .flextrend-oc-orbit span { font-size: 16px; }
  .flextrend-oc-orbit svg { width: 20px; height: 20px; }
  .flextrend-oc-hero-copy { padding-bottom: 125px; }
  .flextrend-oc-hero p { max-width: calc(100% - 80px); }
  .flextrend-oc-live { top: 18px; right: 18px; }
  .flextrend-oc-stats { margin-bottom: 38px; }
  .flextrend-oc-stats article { min-height: 138px; padding: 18px; }
  .flextrend-oc-toolbar { grid-template-columns: 1fr; }
  .flextrend-oc-search { grid-row: 2; }
  .flextrend-oc-filters { grid-column: 1; }
  .flextrend-oc-order { grid-template-columns: 1fr 46px; gap: 12px; padding: 14px; }
  .flextrend-oc-order-main { gap: 13px; }
  .flextrend-oc-order-images { padding-left: 10px; }
  .flextrend-oc-order-images span { width: 52px; height: 52px; margin-left: -10px; border-width: 2px; border-radius: 13px; }
  .flextrend-oc-order-images span:nth-child(n+3) { display: none; }
  .flextrend-oc-order-state { grid-column: 1; padding-left: 4px; }
  .flextrend-oc-open { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; }
  .flextrend-oc-drawer { top: auto !important; bottom: 0; width: 100%; height: min(92dvh, 920px) !important; padding: 7px 7px 0; transform: translateY(105%); }
  .flextrend-oc-drawer.is-open { transform: translateY(0); }
  .flextrend-oc-drawer-content { padding: 22px 17px calc(28px + env(safe-area-inset-bottom)); border-radius: 25px 25px 0 0; }
  .flextrend-oc-drawer::before { position: absolute; top: 14px; left: 50%; z-index: 3; width: 48px; height: 4px; background: #d0d3d0; border-radius: 99px; content: ""; transform: translateX(-50%); }
  .flextrend-oc-drawer-head { padding-top: 11px; }
  .flextrend-oc-drawer-head h2 { font-size: 36px; }
  .flextrend-oc-detail-section { padding: 19px 16px; }
  .flextrend-oc-address-grid { grid-template-columns: 1fr; }
  .flextrend-invoice-parties { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .flextrend-oc-hero { min-height: 390px; border-radius: 25px; }
  .flextrend-oc-hero h2 { font-size: 46px; }
  .flextrend-oc-hero-copy { padding-bottom: 105px; }
  .flextrend-oc-hero p { max-width: 100%; font-size: 11px; }
  .flextrend-oc-orbit { width: 92px; height: 92px; }
  .flextrend-oc-stats { gap: 8px; margin-top: 8px; }
  .flextrend-oc-stats article { min-height: 128px; padding: 15px; border-radius: 17px; }
  .flextrend-oc-stats article > svg { top: 15px; right: 15px; width: 18px; }
  .flextrend-oc-stats article > span { font-size: 8px; }
  .flextrend-oc-stats article > strong { font-size: 25px; }
  .flextrend-oc-stats article > small { font-size: 7px; }
  .flextrend-oc-order-copy h4 { max-width: 170px; font-size: 13px; }
  .flextrend-oc-order-images span { width: 48px; height: 48px; }
  .flextrend-oc-order-state > small { display: none; }
  .flextrend-oc-drawer-status { align-items: flex-start; flex-direction: column; gap: 7px; }
  .flextrend-oc-detail-items article { grid-template-columns: 51px 1fr auto; gap: 10px; }
  .flextrend-oc-item-image { width: 51px; height: 51px; }
  .flextrend-oc-tracking-card { align-items: stretch; flex-direction: column; }
  .flextrend-oc-tracking-card > a { justify-content: center; }
  .flextrend-oc-request { grid-template-columns: 28px 1fr; }
  .flextrend-oc-request > b { grid-column: 2; justify-self: start; }
  .flextrend-oc-choice { grid-template-columns: 1fr; }
  .flextrend-order-invoice { padding: 22px 16px; border-radius: 20px; }
  .flextrend-order-invoice > header span { display: none; }
  .flextrend-order-invoice > header button { padding: 11px; }
  .flextrend-invoice-title { align-items: flex-start; flex-direction: column; gap: 25px; }
  .flextrend-invoice-title > div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .flextrend-oc-live i,
  .flextrend-oc-skeleton-mark span,
  .flextrend-oc-skeleton-mark i,
  .flextrend-oc-skeleton-lines i { animation: none !important; }
  .flextrend-oc-drawer,
  .flextrend-oc-order { transition: none !important; }
}

@media print {
  body * { visibility: hidden !important; }
  .flextrend-order-invoice,
  .flextrend-order-invoice * { visibility: visible !important; }
  .flextrend-order-invoice { position: absolute; inset: 0; width: 100%; max-width: none; margin: 0; padding: 15mm; border: 0; border-radius: 0; }
  .flextrend-order-invoice > header button { display: none !important; }
  .flextrend-order-invoice table { page-break-inside: avoid; }
  @page { margin: 0; size: A4; }
}
