:root{--cream:#F3E9D7;--blue:#BED9F4;--pink:#CF7486;--green:#B5C98A;--ink:#302c29;--muted:#77716b;--line:rgba(48,44,41,.14);font-family:'DM Sans',sans-serif;color:var(--ink);background:#fff}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#fff 0%,#fff 55%,#fbf8f2 100%)}.track-header{height:82px;max-width:1120px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;color:var(--ink);font:30px 'Schoolbell',cursive}.brand span{color:var(--pink);margin-left:5px}.back-link{color:var(--ink);text-decoration:none;font-size:13px}.track-main{padding:35px 18px 70px;display:grid;place-items:center}.credential-card{width:min(100%,510px);padding:38px 42px 34px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 14px 45px rgba(53,43,32,.055);text-align:center}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#8a8177}.illustration{height:118px;display:flex;align-items:center;justify-content:center;position:relative;margin:8px auto 3px}.parcel{width:88px;height:72px;background:var(--cream);border:1px solid rgba(48,44,41,.12);border-radius:12px;display:grid;place-items:center;position:relative;box-shadow:8px 9px 0 rgba(190,217,244,.65);transform:rotate(-4deg)}.parcel:before{content:'';position:absolute;top:0;bottom:0;width:12px;background:rgba(207,116,134,.22)}.parcel span{font:25px 'Schoolbell',cursive;z-index:1}.parcel i{position:absolute;width:100%;height:1px;background:rgba(48,44,41,.14);top:22px}.spark{position:absolute;font-size:24px;color:var(--pink)}.s1{left:29%;top:13px}.s2{right:29%;bottom:10px;color:#8aa66a}h1{font:38px/1.1 'Schoolbell',cursive;margin:10px 0 9px}.intro{font-size:14px;line-height:1.65;color:var(--muted);margin:0 auto 26px;max-width:350px}form{text-align:left}label{display:block;font-size:12px;font-weight:700;margin:16px 0 8px}input{width:100%;height:48px;border:1px solid var(--line);border-radius:10px;padding:0 14px;font:14px 'DM Sans',sans-serif;color:var(--ink);outline:none;background:#fff}input:focus{border-color:#8aa66a;box-shadow:0 0 0 3px rgba(181,201,138,.22)}input::placeholder{color:#aaa39b}.method-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px}.method{height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font:600 12px 'DM Sans',sans-serif;cursor:pointer}.method.active{background:#edf2e5;border-color:#b5c98a;color:#40512d}.privacy-note{font-size:11px;color:var(--muted);margin:14px 0 17px;line-height:1.5}.privacy-note span{color:var(--pink);font-size:15px;margin-right:5px}.submit-btn{height:50px;width:100%;border:0;border-radius:10px;background:var(--ink);color:#fff;font:700 11px 'DM Sans',sans-serif;letter-spacing:1.3px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px}.submit-btn:hover{background:#51483f}.submit-btn:disabled{opacity:.6;cursor:wait}.form-message{min-height:18px;font-size:12px;color:#a33b4e;text-align:center;margin:10px 0 0}.help-text{font-size:11px;color:#999087;margin:20px 0 0}.track-footer{text-align:center;padding:20px;font-size:11px;color:#999087;border-top:1px solid rgba(48,44,41,.07)}.details-main{max-width:1060px;margin:35px auto 75px;padding:0 22px}.loading-card,.detail-card{border:1px solid var(--line);border-radius:16px;padding:24px;background:#fff}.order-top{margin-bottom:24px}.order-top h1{font-size:32px}.order-top p{color:var(--muted);font-size:14px}.status-banner{background:#f0f5e9;border:1px solid #dce8ce;border-radius:12px;padding:17px 20px;margin:20px 0 25px;display:flex;justify-content:space-between;align-items:center;gap:12px}.status-banner strong{font-size:14px}.status-banner span{font-size:12px;color:#607447}.detail-card{margin:0 0 18px}.detail-card h2{font:24px 'Schoolbell',cursive;margin:0 0 18px}.order-item{display:grid;grid-template-columns:72px 1fr auto;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.item-image{width:72px;height:72px;border-radius:10px;object-fit:cover;background:var(--cream)}.item-name{font-weight:600;font-size:14px}.item-meta{font-size:12px;color:var(--muted);margin-top:5px}.item-price{font-size:13px;font-weight:700}.summary-line{display:flex;justify-content:space-between;gap:15px;padding:8px 0;font-size:13px;color:var(--muted)}.summary-line.total{border-top:1px solid var(--line);margin-top:8px;padding-top:16px;color:var(--ink);font-weight:700;font-size:15px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-row{font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.detail-row strong{display:block;color:var(--ink);margin-bottom:4px}.tracking-link{color:#536d3c;font-weight:700}.not-found{text-align:center;padding:40px 20px}.not-found h2{font:28px 'Schoolbell',cursive}.not-found p{color:var(--muted);font-size:13px}.not-found a{color:var(--ink)}@media(max-width:600px){.track-header{height:68px;padding:0 18px}.brand{font-size:25px}.credential-card{padding:30px 22px;border-radius:17px}.track-main{padding-top:20px}.details-main{margin-top:20px;padding:0 14px}.detail-grid{grid-template-columns:1fr}.status-banner{align-items:flex-start;flex-direction:column}.order-item{grid-template-columns:58px 1fr auto;gap:10px}.item-image{width:58px;height:58px}.order-top h1{font-size:28px}}

/* Order details page uses the same storefront header, logo and footer as the shop. */
body:has(.details-main){background:var(--cream);color:var(--ink)}
.order-page-header{position:sticky;top:0;z-index:10;background:#CF7486;border-bottom:1px solid rgba(92,48,59,.18);backdrop-filter:blur(14px)}
.order-page-header .nav{max-width:1180px;margin:auto;padding:15px 28px;display:flex;align-items:center;gap:28px}
.order-page-header .home-nav{min-height:78px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.order-page-header .order-back-button{grid-column:1;justify-self:start;width:52px;height:52px;border:1.4px solid rgba(255,249,239,.85);background:#FFF9EF;border-radius:50%;display:grid;place-items:center;color:#342F2B;text-decoration:none}
.order-page-header .order-back-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.order-page-header .home-centered-logo{grid-column:2;justify-self:center;width:max-content;max-width:none;padding:0}
.order-page-header .brand-logo-image{display:block;width:176px;height:88px;max-height:74px;object-fit:contain;object-position:center}
.order-page-header .home-nav-actions{grid-column:3;justify-self:end;display:flex;gap:10px;align-items:center}
.order-page-header .icon-btn{width:52px;height:52px;border:1.4px solid rgba(255,249,239,.85);background:#FFF9EF;border-radius:50%;display:grid;place-items:center;color:#342F2B;position:relative}
.order-page-header .icon-btn svg{width:27px;height:27px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.order-page-header .cart-count{position:absolute;right:-3px;top:-4px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#342F2B;color:#FFF9EF;border:1px solid #FFF9EF;font:600 10px 'DM Sans',sans-serif}
.details-main{max-width:1180px;margin:0 auto;padding:38px 24px 64px}
.order-top{margin:0 0 22px}
.order-top h1{font:500 clamp(34px,4vw,48px)/1.08 'Schoolbell',sans-serif;color:#342F2B;margin:0 0 8px}
.order-top p{font-size:13px;line-height:1.65;color:#766B60;margin:0}
.detail-card,.loading-card{background:#FFF9EF;border:1px solid #D8C9B4;border-radius:20px;box-shadow:0 8px 24px rgba(76,56,39,.045);padding:26px 28px;margin-bottom:18px}
.detail-card h2{font:500 25px/1.2 'Schoolbell',sans-serif;color:#403832;margin:0 0 17px}
.order-item{padding:15px 0;border-bottom:1px solid #E8DDCF}
.order-item:last-child{border-bottom:0;padding-bottom:0}
.item-image{background:#F3E9D7}
.summary-line{color:#766B60;border-bottom:0}
.summary-line.total{border-top:1px solid #D8C9B4;border-bottom:0;color:#342F2B}
.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.detail-grid .detail-card{margin:0}
.detail-row{color:#766B60}
.detail-row strong{color:#342F2B}
.progress-card{padding:24px 28px 20px;margin:0 0 18px;border:1px solid #D8C9B4;border-radius:20px;background:#FFF9EF;box-shadow:0 8px 24px rgba(76,56,39,.045)}
.progress-heading{display:flex;align-items:center;justify-content:flex-start;gap:14px;margin-bottom:24px}
.progress-heading h2{font:500 25px/1.2 'Schoolbell',sans-serif;margin:0;color:#403832}
.progress-track{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.progress-track:before,.progress-track:after{content:'';position:absolute;left:12.5%;right:12.5%;top:16px;height:3px;border-radius:3px;background:#E5DCCF}
.progress-track:after{right:auto;width:calc((var(--progress,0) * 25%));background:#B5C98A}
.progress-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;min-width:0}
.progress-dot{width:34px;height:34px;border:2px solid #D8C9B4;border-radius:50%;background:#FFF9EF;color:#8B8177;display:grid;place-items:center;font-size:12px;font-weight:700}
.progress-step strong{font-size:12px;color:#8B8177;font-weight:600}
.progress-step.complete .progress-dot,.progress-step.current .progress-dot{background:#B5C98A;border-color:#9EB775;color:#342F2B}
.progress-step.complete strong,.progress-step.current strong{color:#403832}
.progress-step.current .progress-dot{box-shadow:0 0 0 5px rgba(181,201,138,.22)}
.progress-note{font-size:12px;line-height:1.6;color:#766B60;text-align:center;margin:20px 0 0}
.tracking-alert{display:grid;gap:5px;padding:18px 22px;margin:0 0 18px;border:1px solid #E4C9C5;border-radius:16px;background:#FFF5F1;color:#744A45}
.tracking-alert span{font-size:12px;line-height:1.6}
.site-footer{margin-top:10px;background:#CF7486;color:#FFF9EF}
.site-footer .footer-inner{max-width:1180px;margin:auto;padding:42px 28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.site-footer .footer-logo{display:block;width:clamp(220px,26vw,300px);max-width:100%}
.site-footer .footer-logo-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:left center}
.site-footer p,.site-footer a{font-size:12px;line-height:1.75;color:#FFF9EF;text-decoration:none}
.site-footer .footer-heading{font:500 18px 'Schoolbell',sans-serif;display:block;margin-bottom:8px}
.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:7px;max-width:420px}
.site-footer .footer-links a:hover{text-decoration:underline}
.site-footer .copyright{max-width:1180px;margin:auto;padding:0 28px 20px;font-size:11px;line-height:1.6;opacity:.85}
@media(max-width:700px){
 .order-page-header .home-nav{min-height:72px;padding:10px 16px;grid-template-columns:1fr auto 1fr}
 .order-page-header .order-back-button{width:46px;height:46px}
 .order-page-header .order-back-button svg{width:23px;height:23px}
 .order-page-header .brand-logo-image{width:136px;height:68px;max-height:62px}
 .order-page-header .icon-btn{width:46px;height:46px}
 .order-page-header .icon-btn svg{width:25px;height:25px}
 .details-main{padding:25px 15px 42px}
 .detail-card,.loading-card,.progress-card{padding:21px 18px;border-radius:16px}
 .detail-grid{grid-template-columns:1fr}
 .progress-heading{align-items:flex-start;flex-direction:column;margin-bottom:20px}
 .progress-track{gap:2px}
 .progress-track:before,.progress-track:after{top:14px}
 .progress-dot{width:30px;height:30px;font-size:11px}
 .progress-step strong{font-size:10px;line-height:1.3}
 .progress-note{text-align:left;margin-top:16px}
 .site-footer .footer-inner{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);padding:24px 18px 18px;gap:16px;align-items:start}
 .site-footer .footer-brand{min-width:0}
 .site-footer .footer-logo{width:clamp(112px,29vw,158px)}
 .site-footer .footer-brand p{font-size:10px;line-height:1.45;margin:8px 0 0;max-width:180px}
 .site-footer .footer-heading{font-size:16px;line-height:1.25;margin-bottom:6px}
 .site-footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:6px;max-width:none}
 .site-footer p,.site-footer a{font-size:11px;line-height:1.55}
 .site-footer .copyright{padding:0 18px 15px;font-size:10px}
}
@media(max-width:390px){.progress-step strong{font-size:9px}.progress-track:before,.progress-track:after{left:12%;right:12%}.site-footer .footer-inner{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);padding:22px 14px 16px;gap:12px}.site-footer .footer-logo{width:clamp(104px,28vw,128px)}.site-footer .footer-brand p{font-size:9px}.site-footer .footer-heading{font-size:15px}.site-footer .footer-links{column-gap:8px;row-gap:5px}.site-footer p,.site-footer a{font-size:10px;line-height:1.5}.site-footer .copyright{padding:0 14px 14px;font-size:9px}}


/* Credential page follows the same Dumbfookhams storefront shell and palette. */
body:has(.credential-card){background:var(--cream);color:var(--ink);display:flex;flex-direction:column;min-height:100vh}
body:has(.credential-card) .track-main{flex:1;background:var(--cream);padding:42px 18px 64px}
body:has(.credential-card) .credential-card{background:#FFF9EF;border-color:#D8C9B4;box-shadow:0 8px 24px rgba(76,56,39,.045)}
body:has(.credential-card) .track-header{display:none}
body:has(.credential-card) .site-footer{margin-top:0}
body:has(.credential-card) .order-page-header{position:sticky;top:0;z-index:10;background:#CF7486;border-bottom:1px solid rgba(92,48,59,.18);backdrop-filter:blur(14px)}
body:has(.credential-card) .order-page-header .home-nav{max-width:1180px;margin:auto;padding:15px 28px;min-height:78px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
body:has(.credential-card) .order-page-header .order-back-button{grid-column:1;justify-self:start;width:52px;height:52px;border:1.4px solid rgba(255,249,239,.85);background:#FFF9EF;border-radius:50%;display:grid;place-items:center;color:#342F2B;text-decoration:none}
body:has(.credential-card) .order-page-header .order-back-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body:has(.credential-card) .order-page-header .home-centered-logo{grid-column:2;justify-self:center;width:max-content;max-width:none;padding:0}
body:has(.credential-card) .order-page-header .brand-logo-image{display:block;width:176px;height:88px;max-height:74px;object-fit:contain;object-position:center}
body:has(.credential-card) .order-page-header .home-nav-actions{grid-column:3;justify-self:end;display:flex;gap:10px;align-items:center}
body:has(.credential-card) .order-page-header .icon-btn{width:52px;height:52px;border:1.4px solid rgba(255,249,239,.85);background:#FFF9EF;border-radius:50%;display:grid;place-items:center;color:#342F2B;position:relative}
body:has(.credential-card) .order-page-header .icon-btn svg{width:27px;height:27px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body:has(.credential-card) .order-page-header .cart-count{position:absolute;right:-3px;top:-4px;width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#342F2B;color:#FFF9EF;border:1px solid #FFF9EF;font:600 10px 'DM Sans',sans-serif}
body:has(.credential-card) .site-footer{background:#CF7486;color:#FFF9EF}
body:has(.credential-card) .site-footer .footer-inner{max-width:1180px;margin:auto;padding:42px 28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
body:has(.credential-card) .site-footer .footer-logo{display:block;width:clamp(220px,26vw,300px);max-width:100%}
body:has(.credential-card) .site-footer .footer-logo-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:left center}
body:has(.credential-card) .site-footer p,body:has(.credential-card) .site-footer a{font-size:12px;line-height:1.75;color:#FFF9EF;text-decoration:none}
body:has(.credential-card) .site-footer .footer-heading{font:500 18px 'Schoolbell',sans-serif;display:block;margin-bottom:8px}
body:has(.credential-card) .site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:7px;max-width:420px}
body:has(.credential-card) .site-footer .footer-links a:hover{text-decoration:underline}
body:has(.credential-card) .site-footer .copyright{max-width:1180px;margin:auto;padding:0 28px 20px;font-size:11px;line-height:1.6;opacity:.85}
@media(max-width:700px){body:has(.credential-card) .order-page-header .home-nav{min-height:72px;padding:10px 16px;grid-template-columns:1fr auto 1fr}body:has(.credential-card) .order-page-header .order-back-button{width:46px;height:46px}body:has(.credential-card) .order-page-header .order-back-button svg{width:23px;height:23px}body:has(.credential-card) .order-page-header .brand-logo-image{width:136px;height:68px;max-height:62px}body:has(.credential-card) .order-page-header .icon-btn{width:46px;height:46px}body:has(.credential-card) .order-page-header .icon-btn svg{width:25px;height:25px}body:has(.credential-card) .site-footer .footer-inner{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);padding:24px 18px 18px;gap:16px;align-items:start}body:has(.credential-card) .site-footer .footer-brand{min-width:0}body:has(.credential-card) .site-footer .footer-logo{width:clamp(112px,29vw,158px)}body:has(.credential-card) .site-footer .footer-brand p{font-size:10px;line-height:1.45;margin:8px 0 0;max-width:180px}body:has(.credential-card) .site-footer .footer-heading{font-size:16px;line-height:1.25;margin-bottom:6px}body:has(.credential-card) .site-footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:6px;max-width:none}body:has(.credential-card) .site-footer p,body:has(.credential-card) .site-footer a{font-size:11px;line-height:1.55}body:has(.credential-card) .site-footer .copyright{padding:0 18px 15px;font-size:10px}}
@media(max-width:390px){body:has(.credential-card) .site-footer .footer-inner{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);padding:22px 14px 16px;gap:12px}body:has(.credential-card) .site-footer .footer-logo{width:clamp(104px,28vw,128px)}body:has(.credential-card) .site-footer .footer-brand p{font-size:9px}body:has(.credential-card) .site-footer .footer-heading{font-size:15px}body:has(.credential-card) .site-footer .footer-links{column-gap:8px;row-gap:5px}body:has(.credential-card) .site-footer p,body:has(.credential-card) .site-footer a{font-size:10px;line-height:1.5}body:has(.credential-card) .site-footer .copyright{padding:0 14px 14px;font-size:9px}}
