/* Order tracking + thank-you timeline */
.wd-tr { max-width: 760px; margin: 2rem auto 3rem; padding-inline: var(--wd-gap); }
.wd-tr__card { padding: 1.75rem; }
.wd-tr__formcard { text-align: center; }
.wd-tr__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #faf3e0; color: var(--wd-accent); font-size: 28px; margin-bottom: .5rem; }
.wd-tr h2 { margin: .25rem 0 .5rem; font-size: 1.5rem; }
.wd-tr__formcard p { color: var(--wd-muted); margin: 0 auto 1rem; max-width: 46ch; }
.wd-tr__form { display: grid; gap: .5rem; text-align: start; max-width: 420px; margin: 1rem auto 0; }
.wd-tr__form label { font-weight: 500; font-size: .95rem; }
.wd-tr__form input { padding: .8rem 1rem; border: 1px solid var(--wd-border); border-radius: 12px; font: inherit; width: 100%; }
.wd-tr__form input:focus { outline: 2px solid var(--wd-primary); outline-offset: 1px; }
.wd-tr__btn, .wd-ty__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.8rem; margin-top: .75rem; border: 0; border-radius: 999px; background: var(--wd-primary); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.wd-tr__btn:hover, .wd-ty__btn:hover { filter: brightness(1.15); color: #fff; }
.wd-ty__btn--ghost { background: #fff; color: var(--wd-text); border: 1px solid var(--wd-border); }
.wd-ty__btn--ghost:hover { color: var(--wd-primary); border-color: var(--wd-primary); filter: none; }
.wd-tr__alert { background: #fef2f2; color: #b91c1c; padding: .7rem 1rem; border-radius: 12px; }
.wd-tr__note { color: #92400e; background: #fffbeb; padding: .6rem 1rem; border-radius: 12px; margin: 1rem 0 0; }
.wd-tr__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.wd-tr__head small { color: var(--wd-muted); }
.wd-tr__head h2 { margin: 0; }
.wd-tr__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.wd-tr__facts div { background: #faf7f2; border-radius: 14px; padding: .8rem 1rem; }
.wd-tr__facts dt { color: var(--wd-muted); font-size: .85rem; }
.wd-tr__facts dd { margin: .15rem 0 0; font-weight: 600; }
.wd-tr h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.wd-tr__items { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.wd-tr__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; }
.wd-tr__items img, .wd-tr__noimg { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--wd-soft); display: block; }
.wd-tr__items span { color: var(--wd-muted); }
.wd-tr__meta { font-size: .85rem; color: var(--wd-muted); }
.wd-tr__meta p { margin: 0; }
.wd-tr__link { color: var(--wd-primary); font-weight: 600; }

/* Timeline */
.wd-tl { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.wd-tl li { position: relative; text-align: center; display: grid; gap: .5rem; justify-items: center; font-size: .85rem; color: var(--wd-muted); }
.wd-tl li::before { content: ""; position: absolute; top: 22px; inset-inline-start: calc(-50% + 22px); inset-inline-end: calc(50% + 22px); height: 3px; background: var(--wd-border); }
.wd-tl li:first-child::before { display: none; }
.wd-tl li.is-done::before, .wd-tl li.is-now::before { background: #16a34a; }
.wd-tl__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--wd-border); font-size: 16px; }
.wd-tl li.is-done .wd-tl__dot { background: #16a34a; border-color: #16a34a; color: #fff; }
.wd-tl li.is-now .wd-tl__dot { border-color: #16a34a; color: #16a34a; box-shadow: 0 0 0 5px #dcfce7; }
.wd-tl li.is-done, .wd-tl li.is-now { color: var(--wd-text); font-weight: 600; }
@media (max-width: 520px) { .wd-tl { grid-template-columns: repeat(4, 1fr); } .wd-tl li { font-size: .72rem; } .wd-tl__dot { width: 38px; height: 38px; } .wd-tl li::before { top: 19px; inset-inline-start: calc(-50% + 19px); inset-inline-end: calc(50% + 19px); } .wd-tr__card { padding: 1.1rem; } }

/* Thank-you page */
.wd-ty { max-width: 980px; margin: 1.5rem auto 3rem; padding-inline: var(--wd-gap); display: grid; gap: 1.5rem; }
.wd-ty__hero { text-align: center; padding: 2.5rem 1.5rem 2rem; background: linear-gradient(180deg, #f3fbf6 0, #fff 55%); }
.wd-ty__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 34px; margin-bottom: 1rem; box-shadow: 0 0 0 10px #dcfce7; animation: wd-pop .5s ease-out both; }
.wd-ty__hero--fail { background: linear-gradient(180deg, #fef2f2 0, #fff 55%); }
.wd-ty__hero--fail .wd-ty__icon { background: #dc2626; box-shadow: 0 0 0 10px #fee2e2; }
@keyframes wd-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wd-ty__hero h1 { margin: .5rem 0 .4rem; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.25; overflow-wrap: anywhere; }
.wd-ty__msg { margin: 0 auto; max-width: 54ch; color: var(--wd-muted); }
.wd-ty__mail { margin: .6rem auto 0; color: var(--wd-muted); font-size: .92rem; overflow-wrap: anywhere; }
.wd-ty__facts { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.wd-ty__facts li { background: #fff; border: 1px solid var(--wd-border); border-radius: 16px; padding: 1rem .6rem; display: grid; gap: .25rem; justify-items: center; text-align: center; box-shadow: 0 4px 14px rgba(17, 24, 39, .04); }
.wd-ty__fi { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f7efe0; color: var(--wd-primary); font-size: 17px; margin-bottom: .2rem; }
.wd-ty__facts small { color: var(--wd-muted); }
.wd-ty__facts strong { font-size: 1.05rem; }
.wd-ty .wd-tl { margin-top: 2rem; }
.wd-ty__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 1.75rem 0 0; }
.wd-ty__actions .wd-ty__btn { margin-top: 0; }
.wd-ty__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: start; }
.wd-ty__box { padding: 1.5rem; }
.wd-ty__box h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.wd-ty__totals, .wd-ty__lines { margin: 1rem 0 0; display: grid; gap: .5rem; }
.wd-ty__totals div { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; border-top: 1px solid var(--wd-border); }
.wd-ty__totals div:last-child { font-weight: 700; font-size: 1.05rem; }
.wd-ty__totals dd, .wd-ty__lines dd { margin: 0; text-align: end; }
.wd-ty__lines { margin-top: 0; }
.wd-ty__lines div { display: grid; gap: .1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--wd-border); }
.wd-ty__lines dt { color: var(--wd-muted); font-size: .85rem; }
.wd-ty__lines dd { text-align: start; font-weight: 500; overflow-wrap: anywhere; }
.wd-ty__help { margin: 1rem 0 0; padding: .8rem 1rem; background: #faf7f2; border-radius: 12px; color: var(--wd-muted); font-size: .9rem; }
.wd-ty .wd-tr__items { gap: 1rem; }
@media (max-width: 760px) { .wd-ty__cols { grid-template-columns: minmax(0, 1fr); } .wd-ty__hero { padding-inline: 1rem; } }

@media (max-width: 760px) { .wd-ty__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wd-ty__facts strong { font-size: .95rem; overflow-wrap: anywhere; } }
.wd-ty__follow { text-align: center; padding: 1.5rem 1rem 0; }
.wd-ty__follow h2 { margin: 0 0 .9rem; font-size: 1.05rem; font-weight: 600; }
.wd-ty__social { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; }
.wd-ty__social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--wd-primary); color: #fff; font-size: 19px; transition: transform .15s, background .15s; }
.wd-ty__social a:hover { background: var(--wd-accent); transform: translateY(-3px); }
