@import url("mobile-fixes.css");

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    min-height: 100vh;
    background: #fdfdfb;
    color: #20242c;
    font-family: Arial, Helvetica, sans-serif;
}

.track-header { display: flex; justify-content: space-between; align-items: center; padding: 32px 6vw; border-bottom: 1px solid #e8e8e3; }
.brand { color: #20242c; font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: 1.5px; text-decoration: none; }
.shop-link { color: #555; font-size: 9px; letter-spacing: 2px; text-decoration: none; transition: color .25s ease; }
.shop-link:hover { color: #20242c; }

.track-container { width: 88%; max-width: 1080px; margin: 0 auto; padding: 85px 0 120px; }
.track-intro { max-width: 680px; margin-bottom: 48px; }
.track-intro > p:first-child, .eyebrow { margin-bottom: 14px; color: #999; font-size: 9px; letter-spacing: 3px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(42px, 5vw, 62px); letter-spacing: -2px; }
.intro-copy { max-width: 490px; margin-top: 20px; color: #777; font-size: 14px; line-height: 1.7; }

.track-form { max-width: 720px; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid #e5e5df; }
.track-form > label { display: block; margin-bottom: 11px; color: #777; font-size: 8px; letter-spacing: 1.5px; }
.search-row { display: flex; }
.search-row input { min-width: 0; width: 100%; height: 56px; padding: 0 17px; border: 1px solid #dcdcd6; border-right: 0; background: transparent; color: #20242c; font: inherit; font-size: 13px; outline: none; transition: border-color .25s ease, box-shadow .25s ease; }
.search-row input:focus { border-color: #20242c; box-shadow: 0 0 0 3px rgba(32, 36, 44, .08); }
.search-row input::placeholder { color: #aaa; }
.search-row button { height: 56px; padding: 0 28px; border: 1px solid #20242c; background: #20242c; color: #fff; cursor: pointer; font: inherit; font-size: 9px; letter-spacing: 1.6px; transition: all .25s ease; }
.search-row button:hover { background: transparent; color: #20242c; }
.form-message { min-height: 18px; margin-top: 12px; color: #a24646; font-size: 11px; }

.tracking-result { padding-top: 25px; border-top: 1px solid #20242c; }
.result-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.result-header h2 { font-size: 28px; letter-spacing: -.7px; }
.status-pill { display: inline-block; padding: 9px 12px; border: 1px solid #d4d4ce; color: #555; font-size: 8px; letter-spacing: 1.5px; white-space: nowrap; }
.status-copy { max-width: 520px; margin-top: 16px; color: #777; font-size: 13px; line-height: 1.7; }

.status-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: start; gap: 12px; margin: 54px 0 60px; }
.progress-step { min-width: 92px; text-align: center; }
.progress-step span { display: grid; width: 28px; height: 28px; margin: 0 auto 12px; place-items: center; border: 1px solid #d7d7d1; border-radius: 50%; color: #999; font-size: 10px; }
.progress-step p { color: #aaa; font-size: 8px; letter-spacing: 1.2px; white-space: nowrap; }
.progress-step.active span { border-color: #20242c; background: #20242c; color: #fff; }
.progress-step.active p { color: #20242c; }
.progress-line { height: 1px; margin-top: 14px; background: #deded8; }
.progress-line.active { background: #20242c; }

.result-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.result-block { padding-top: 24px; border-top: 1px solid #e8e8e3; }
.result-copy { color: #666; font-size: 13px; line-height: 1.75; }
.result-items { display: grid; gap: 12px; }
.item-line { display: flex; justify-content: space-between; gap: 18px; color: #666; font-size: 12px; }
.item-line span:last-child { color: #20242c; white-space: nowrap; }
.result-total { display: flex; justify-content: space-between; margin-top: 19px; padding-top: 17px; border-top: 1px solid #e8e8e3; font-size: 9px; letter-spacing: 1.4px; }
.result-total strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; letter-spacing: 0; }
.receipt-confirmation { max-width: 510px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #e8e8e3; }
.receipt-confirmation > p:not(.eyebrow):not(.receipt-message) { color: #666; font-size: 13px; line-height: 1.7; }
.receipt-confirmation button { margin-top: 20px; padding: 15px 19px; border: 1px solid #20242c; background: #20242c; color: #fff; cursor: pointer; font: inherit; font-size: 9px; letter-spacing: 1.6px; transition: all .25s ease; }
.receipt-confirmation button:hover { background: transparent; color: #20242c; }
.receipt-confirmation button:disabled { cursor: default; opacity: .58; }
.receipt-message { min-height: 16px; margin-top: 12px; color: #777; font-size: 11px; line-height: 1.5; }

@media (max-width: 700px) {
    .track-header { padding: 24px 5vw; }
    .track-container { width: 90%; padding: 52px 0 80px; }
    .search-row { display: grid; gap: 10px; }
    .search-row input { border-right: 1px solid #dcdcd6; }
    .result-header { flex-direction: column; }
    .status-progress { gap: 6px; margin: 44px 0 50px; }
    .progress-step { min-width: 65px; }
    .progress-step p { font-size: 7px; white-space: normal; }
    .result-grid { grid-template-columns: 1fr; gap: 40px; }
    .receipt-confirmation { margin-top: 40px; }
    .receipt-confirmation button:active { background: transparent; color: #20242c; }
}
