/* TrustCOD · «Πού είναι η παραγγελία μου;» (σελίδα παρακολούθησης του πελάτη). Χρώματα από το θέμα, με εφεδρικές τιμές. */
.cst {
	--cst-ink: var(--csl-black, #000);
	--cst-ink-2: var(--csl-ink-2, #3d3d3d);
	--cst-muted: var(--csl-muted, #5b5b5b);
	--cst-line: var(--csl-line, #e7e3dc);
	--cst-sand: var(--csl-sand, #efebe4);
	--cst-card: var(--csl-white, #fff);
	--cst-accent: var(--csl-lime, #e2ff00);
	--cst-ok: var(--csl-ok, #2e7d32);
	--cst-warn: var(--csl-orange, #ff7600);
	--cst-r: var(--csl-radius-l, 16px);
	--cst-r-s: var(--csl-radius-s, 10px);
	/* P4c · «Εμφάνιση» από τις ρυθμίσεις: χωρίς ρύθμιση = ακριβώς τα παραπάνω (το θέμα του site). */
	--cst-primary: var(--cst-ink);
	--cst-on-primary: var(--csl-white, #fff);
	--cst-r-btn: var(--csl-radius, 12px);
	display: grid;
	gap: 16px;
	max-width: 880px;
	margin: 0 auto;
	color: var(--cst-ink);
	font-size: 15px;
	line-height: 1.5;
}
.cst *, .cst *::before, .cst *::after { box-sizing: border-box; }
.cst p { margin: 0; }
.cst a { color: inherit; }
.cst-card {
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--cst-line);
	border-radius: var(--cst-r);
	background: var(--cst-card);
}
.cst-label { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--cst-muted); }
.cst-h { margin: 0 0 16px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Φόρμα ---------- */
.cst--form { max-width: 560px; }
.cst-form { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--cst-line); border-radius: var(--cst-r); background: var(--cst-card); }
.cst-form__title { margin: 0; font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.cst-form__intro { margin-top: 8px !important; color: var(--cst-ink-2); }
.cst-form__error { margin-top: 16px !important; padding: 10px 14px; border-radius: var(--cst-r-s); background: var(--csl-peach, #ffe6d5); font-weight: 600; }
.cst-form__fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; margin: 20px 0 16px; }
.cst-field { margin: 0; display: grid; gap: 6px; }
.cst-field label { font-size: 13px; font-weight: 600; }
.cst-field input {
	width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--cst-line); border-radius: var(--cst-r-s);
	background: var(--cst-card); color: var(--cst-ink); font: inherit; font-size: 16px;
}
.cst-field input:focus { outline: 2px solid var(--cst-ink); outline-offset: 1px; border-color: var(--cst-ink); }
.cst-btn {
	display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; border: 0; border-radius: var(--cst-r-btn);
	background: var(--cst-primary); color: var(--cst-on-primary); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
.cst-btn:hover { opacity: 0.88; }
.cst-btn:focus-visible { outline: 2px solid var(--cst-ink); outline-offset: 3px; }
.cst-form__alt { margin-top: 14px !important; text-align: center; font-size: 14px; }

/* ---------- Κεφαλίδα + βήματα ---------- */
.cst-hero__kicker { font-size: 13px; color: var(--cst-muted); }
.cst-hero__head { margin: 6px 0 0; font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.cst-hero__sub { margin-top: 8px !important; font-size: 16px; color: var(--cst-ink-2); }
.cst-hero__upd { margin-top: 6px !important; font-size: 13px; color: var(--cst-muted); }
.cst-hero__note { display: inline-block; margin-top: 12px !important; padding: 6px 12px; border-radius: 999px; background: var(--cst-sand); font-size: 13px; font-weight: 600; }
.cst-hero.is-warn .cst-hero__head { color: var(--cst-ink); }
.cst-hero.is-warn .cst-hero__sub { color: var(--cst-ink); }

.cst-steps {
	--cst-dot: 36px;
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--cst-n), minmax(0, 1fr));
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
/* Γραμμή πίσω από τα βήματα: γκρι, και μαύρη ως το τρέχον. */
.cst-steps::before, .cst-steps::after {
	content: ""; position: absolute; top: calc(var(--cst-dot) / 2 - 1px); height: 2px;
	left: calc(100% / var(--cst-n) / 2); right: calc(100% / var(--cst-n) / 2);
	background: var(--cst-line);
}
.cst-steps::after {
	right: auto;
	width: calc((100% - 100% / var(--cst-n)) * var(--cst-at) / (var(--cst-n) - 1));
	background: var(--cst-primary);
}
.cst-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; margin: 0; padding: 0 4px; text-align: center; }
.cst-step__dot {
	display: grid; place-items: center; width: var(--cst-dot); height: var(--cst-dot); margin-bottom: 6px;
	border: 2px solid var(--cst-line); border-radius: 50%; background: var(--cst-card); color: var(--cst-muted);
}
.cst-step.is-done .cst-step__dot { border-color: var(--cst-primary); background: var(--cst-primary); color: var(--cst-on-primary); }
.cst-step.is-current .cst-step__dot { border-color: var(--cst-ink); background: var(--cst-accent); color: var(--cst-ink); box-shadow: 0 0 0 6px rgba(226, 255, 0, 0.35); }
.cst-step.is-warn .cst-step__dot { border-color: var(--cst-ink); background: var(--cst-warn); color: var(--cst-ink); box-shadow: 0 0 0 6px rgba(255, 118, 0, 0.18); }
.cst-step__label { font-size: 13px; font-weight: 600; line-height: 1.25; }
.cst-step.is-todo .cst-step__label { color: var(--cst-muted); font-weight: 500; }
.cst-step__at { font-size: 12px; color: var(--cst-muted); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
	.cst-step.is-current .cst-step__dot { animation: cst-pulse 2.4s ease-in-out infinite; }
}
@keyframes cst-pulse { 50% { box-shadow: 0 0 0 10px rgba(226, 255, 0, 0.12); } }

/* ---------- Αποστολή ---------- */
.cst-ship__head { display: flex; align-items: center; gap: 14px; }
.cst-ship__mark { display: grid; place-items: center; flex: none; width: 76px; height: 48px; padding: 6px; border: 1px solid var(--cst-line); border-radius: var(--cst-r-s); background: #fff; }
.cst-ship__mark img { display: block; max-width: 100%; max-height: 34px; width: auto; height: auto; }
.cst-ship__mark .tcod-mark--text { font-size: 12px; font-weight: 700; }
.cst-ship__id { flex: 1; min-width: 0; }
.cst-ship__name { font-weight: 700; }
.cst-ship__no { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px !important; font-size: 14px; color: var(--cst-ink-2); font-variant-numeric: tabular-nums; }
.cst-copy {
	padding: 2px 10px; border: 1px solid var(--cst-line); border-radius: 999px; background: var(--cst-card);
	color: var(--cst-ink); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.cst-copy:hover, .cst-copy:focus-visible { border-color: var(--cst-ink); outline: 0; }
.cst-chip { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--cst-sand); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cst-chip.is-success { background: var(--csl-lime-soft, #f9ffcb); }
.cst-chip.is-transit { background: var(--cst-sand); }
.cst-chip.is-error { background: var(--csl-peach, #ffe6d5); }
.cst-chip.is-return { background: var(--csl-peach, #ffe6d5); }
.cst-ship__to { margin-top: 16px; padding: 12px 16px; border-radius: var(--cst-r-s); background: var(--cst-sand); font-size: 14px; }
.cst-ship__empty { margin-top: 16px !important; color: var(--cst-muted); font-size: 14px; }
.cst-ship__out { margin-top: 14px !important; font-size: 14px; }
.cst-ship__out a { font-weight: 600; text-underline-offset: 3px; }

.cst-tl { position: relative; margin: 18px 0 0; padding: 0; list-style: none; }
.cst-tl::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 75px; width: 2px; background: var(--cst-line); }
.cst-tl--rest { margin-top: 0; }
.cst-tl__item { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 0 32px; padding: 8px 0; }
.cst-tl__item::before {
	content: ""; position: absolute; left: 71px; top: 14px; width: 10px; height: 10px;
	border: 2px solid var(--cst-card); border-radius: 50%; background: #c9c3b8;
}
.cst-tl__item.is-now::before { left: 68px; top: 11px; width: 16px; height: 16px; border: 3px solid var(--cst-card); background: var(--cst-ink); box-shadow: 0 0 0 1px var(--cst-ink); }
.cst-tl__item.is-now.is-success::before { background: var(--cst-ok); box-shadow: 0 0 0 1px var(--cst-ok); }
.cst-tl__item.is-now.is-error::before, .cst-tl__item.is-now.is-return::before { background: var(--cst-warn); box-shadow: 0 0 0 1px var(--cst-warn); }
.cst-tl__when { display: grid; font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.cst-tl__when small { font-size: 12px; font-weight: 400; color: var(--cst-muted); }
.cst-tl__what { display: grid; gap: 2px; font-size: 14px; color: var(--cst-ink-2); }
.cst-tl__item.is-now .cst-tl__main { color: var(--cst-ink); font-weight: 700; }
.cst-tl__what small { font-size: 12.5px; color: var(--cst-muted); }
.cst-more { margin: 0; }
.cst-more summary { display: inline-block; margin: 6px 0 0 92px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cst-more[open] summary { margin-bottom: 4px; }

/* ---------- Παραγγελία ---------- */
.cst-items { margin: 0; padding: 0; list-style: none; }
.cst-item { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--cst-line); }
.cst-item:first-child { border-top: 0; padding-top: 0; }
.cst-item__pic { display: block; width: 76px; height: 76px; overflow: hidden; border: 1px solid var(--cst-line); border-radius: var(--cst-r-s); background: #fff; }
.cst-item__pic img, .cst-item__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cst-item__name { font-weight: 600; line-height: 1.3; }
.cst-item__name a { text-decoration: none; }
.cst-item__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cst-item__meta, .cst-item__qty { margin-top: 2px !important; font-size: 13px; color: var(--cst-muted); }
.cst-item__meta p { display: inline; margin: 0; }
.cst-item__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cst-totals { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--cst-line); }
.cst-totals__row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; }
.cst-totals dt { color: var(--cst-ink-2); }
.cst-totals dd { margin: 0; text-align: right; }
.cst-totals dd small, .cst-totals dd .includes_tax { display: block; font-size: 12px; color: var(--cst-muted); }
.cst-totals__row--order_total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--cst-line); font-size: 17px; font-weight: 800; }
.cst-totals__row--order_total dt { color: var(--cst-ink); }

.cst-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--cst-line); }
.cst-meta address { font-style: normal; font-size: 14px; line-height: 1.55; color: var(--cst-ink-2); }
.cst-docs ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cst-doc { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1px solid var(--cst-line); border-radius: var(--cst-r-s); font-size: 14px; font-weight: 600; text-decoration: none; }
.cst-doc:hover, .cst-doc:focus-visible { border-color: var(--cst-ink); outline: 0; }
.cst-doc small { display: block; font-size: 12px; font-weight: 400; color: var(--cst-muted); }
.cst-doc__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--cst-primary); color: var(--cst-on-primary); font-size: 10px; font-weight: 800; letter-spacing: 0.04em; }

.cst-help { padding: 14px 18px; border-radius: var(--cst-r); background: var(--cst-sand); font-size: 14px; }
.cst-help a { margin-left: 10px; font-weight: 600; text-underline-offset: 3px; }
.cst-again { text-align: center; font-size: 14px; }
.cst-again a { font-weight: 600; text-underline-offset: 3px; }

/* ---------- P4c: στοιχεία που ανοίγουν από τις ρυθμίσεις (με τις προεπιλογές δεν υπάρχουν στη σελίδα) ---------- */
.cst-brand { text-align: center; }
.cst-brand__img { display: inline-block; width: auto; max-width: 220px; height: auto; max-height: 72px; }
.cst-form__fields--one { grid-template-columns: 1fr; }
.cst-form__or { display: flex; align-items: center; gap: 12px; margin: 0 0 -4px !important; color: var(--cst-muted); font-size: 13px; font-weight: 600; }
.cst-form__or::before, .cst-form__or::after { content: ""; flex: 1; height: 1px; background: var(--cst-line); }
.cst-form__or + .cst-form__fields { margin-top: 12px; }
.cst-hero--bare .cst-steps { margin-top: 0; }
.cst-hero--bare .cst-hero__sub { margin: 0 0 20px !important; }
.cst-ship__map { margin-top: 6px !important; font-size: 13px; }
.cst-ship__map a { font-weight: 600; text-underline-offset: 3px; }
.cst-ship > .cst-ship__to:first-child, .cst-ship > .cst-tl:first-child, .cst-ship > .cst-ship__empty:first-child, .cst-ship > .cst-ship__out:first-child { margin-top: 0 !important; }
.cst-order > .cst-h + .cst-totals, .cst-order > .cst-h + .cst-meta { margin-top: 0; padding-top: 0; border-top: 0; }
.cst-help__text { margin-top: 6px !important; color: var(--cst-ink-2); }
.cst-upsell__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cst-upsell__item a { display: grid; gap: 6px; text-decoration: none; }
.cst-upsell__pic { display: block; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--cst-line); border-radius: var(--cst-r-s); background: #fff; }
.cst-upsell__pic img, .cst-upsell__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cst-upsell__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cst-upsell__item a:hover .cst-upsell__name { text-decoration: underline; text-underline-offset: 3px; }
.cst-upsell__price { font-size: 14px; color: var(--cst-ink-2); font-variant-numeric: tabular-nums; }

/* ---------- Κινητό ---------- */
@media (max-width: 639px) {
	.cst-form__fields { grid-template-columns: 1fr; }
	.cst-upsell__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Βήματα κάθετα: τελεία αριστερά, κείμενο δεξιά. */
	.cst-steps { --cst-dot: 30px; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
	.cst-steps::before { top: 15px; bottom: 15px; left: 14px; right: auto; width: 2px; height: auto; }
	.cst-steps::after { display: none; }
	.cst-step { grid-template-columns: var(--cst-dot) 1fr auto; justify-items: start; align-items: center; gap: 12px; padding: 0; text-align: left; }
	.cst-step__dot { margin: 0; }
	.cst-step__dot svg { width: 14px; height: 14px; }
	.cst-step__label { font-size: 14px; }
	.cst-ship__head { display: grid; grid-template-columns: 64px 1fr; align-items: start; gap: 4px 12px; }
	.cst-ship__mark { grid-row: span 2; width: 64px; height: 44px; }
	.cst-ship__head .cst-chip { grid-column: 2; justify-self: start; }
	.cst-tl::before { left: 61px; }
	.cst-tl__item { grid-template-columns: 46px 1fr; gap: 0 30px; }
	.cst-tl__item::before { left: 57px; }
	.cst-tl__item.is-now::before { left: 54px; }
	.cst-more summary { margin-left: 76px; }
	.cst-item { grid-template-columns: 64px 1fr; }
	.cst-item__pic { width: 64px; height: 64px; }
	.cst-item__price { grid-column: 2; }
	.cst-help a { display: inline-block; margin: 6px 12px 0 0; }
}
