.order-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:22px 26px;border-top:1px solid #eeeef2}.overview-block{min-width:0;background:#f8f8fa;border:1px solid #ececf0;border-radius:13px;padding:18px}.overview-title{display:flex;align-items:center;gap:9px;margin-bottom:15px}.overview-title>span{display:grid;place-items:center;width:34px;height:34px;background:#ffeaf0;border-radius:10px;color:#d90029}.overview-title svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.overview-title h3{font-size:13px;margin:0}.overview-block>strong{font-size:13px;line-height:1.5;display:block;overflow-wrap:anywhere}.overview-block p{font-size:12px;line-height:1.7;color:#6e7380;margin:7px 0 12px;overflow-wrap:anywhere}.overview-block small{display:block;font-size:11px;line-height:1.6;color:#787d89;margin-top:8px}.overview-tag{display:inline-block;background:white;border:1px solid #e3e5eb;border-radius:6px;padding:5px 8px;font-size:10px;color:#505664}.overview-block .invoice-ready{color:#21814c}.invoice-download{display:block;padding:10px 12px;border-radius:7px;background:#262930;color:white;font-size:11px;font-weight:600;text-align:center}.invoice-download:hover{background:#e50028}.invoice-view{display:block;font-size:11px;margin-top:12px;color:#d00028}.actual-payment b{display:block;font-size:23px;color:#222630;margin-top:4px}.delivery-instructions{font-size:11px;margin-top:10px;color:#616773}.delivery-instructions summary{cursor:pointer}.order-card-footer strong{color:#20242d!important}.order-detail{max-width:1180px}.detail-order-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:18px;background:linear-gradient(110deg,#24252d,#342630);color:white;padding:28px;margin-bottom:25px}.detail-order-hero h1{margin:6px 0 8px}.detail-order-hero small{color:#e7a4b3;font-size:11px;letter-spacing:1.5px}.detail-order-hero p{margin:0;color:#d6d6df;font-size:13px}.detail-order-total{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.detail-order-total strong{font-size:29px}.detail-order-total span{font-size:11px;color:#ddd}.order-detail .order-overview{padding:0;border:0;margin:24px 0}.order-detail .order-progress{background:#fff;padding:24px}.detail-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.detail-status-grid .customer-panel{margin:0;padding:17px;background:#f8f8fa}.detail-status-grid h2{font-size:12px;color:#727987;margin:0 0 9px}.detail-status-grid p{font-size:14px;font-weight:600;margin:0}.order-detail>.notice{border-radius:10px;font-size:12px;line-height:1.7;background:#f6f6f8;color:#747985;border:1px solid #eeeef2}.detail-products{padding:24px}.detail-products h2{font-size:19px}.detail-products .order-product{padding:18px 0}.order-history{border:1px solid #e4e5eb;border-radius:15px;padding:22px;margin-top:24px}.order-history summary{font-size:16px;font-weight:600;cursor:pointer}.order-history p{position:relative;border-left:2px solid #e7c6ce;padding:8px 0 8px 18px;margin-left:5px;font-size:12px;color:#686e7c}.order-history p:before{content:'';position:absolute;left:-5px;top:13px;width:8px;height:8px;border-radius:50%;background:#dd0031}.order-detail .order-manage{border:1px solid #e5e6eb;border-radius:12px;margin-bottom:20px}.order-payment-details{border:1px solid #e3e4e9;border-radius:14px;margin:20px 0;padding:20px}.order-payment-details>summary{font-size:15px;font-weight:600;cursor:pointer}.order-payment-details .customer-panel{margin-top:18px;margin-bottom:0}.order-detail .customer-panel>h2{font-size:19px}
@media(max-width:850px){.order-overview{grid-template-columns:1fr}.overview-block{padding:18px}.detail-status-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.order-overview{padding:18px}.detail-order-hero{align-items:flex-start;flex-direction:column;padding:22px}.detail-order-total{align-items:flex-start}.detail-products{padding:18px}.order-detail .order-progress{padding:18px}}

/* Compact order cards: preserve content and isolate the site footer styles. */
.order-card{border-radius:14px;margin-bottom:18px}
.order-card-head{padding:13px 18px}.order-card-head strong{font-size:16px}.order-card-head small{margin-top:3px;font-size:11px}.order-badge{padding:6px 10px}
.order-card .order-progress{padding:14px 18px;gap:10px}.order-card .order-progress li{gap:7px}.order-card .order-progress li>span{width:24px;height:24px;flex-basis:24px}.order-progress em{margin-top:1px}
.order-card .order-products{padding:0 18px}.order-card .order-product{padding:11px 0;gap:12px}.order-card .order-product img,.order-card .order-no-photo{width:48px;height:48px;border-radius:8px}.order-card .order-product strong{font-size:13px}.order-card .order-product small{margin-top:2px}.order-card .order-product>b{font-size:13px}
.order-overview{gap:10px;padding:13px 18px}.overview-block{padding:12px;margin:0;border-radius:9px}.overview-title{gap:8px;margin-bottom:8px}.overview-title>span{width:27px;height:27px;border-radius:8px;flex:0 0 27px}.overview-title svg{width:17px;height:17px}.overview-block p{line-height:1.5;margin:5px 0 7px}.overview-block small{margin-top:5px;line-height:1.5}.overview-tag{padding:3px 7px}.actual-payment b{font-size:20px;margin-top:2px}.invoice-download{padding:8px 10px}.invoice-view{margin-top:7px}.delivery-instructions{margin-top:7px}
.order-card-footer{margin:0;padding:12px 18px;color:#24262d;border-top:1px solid #eeeef2}.order-card-footer strong{font-size:20px;margin-top:2px}.order-card-footer .button{padding:9px 14px;min-height:36px}.order-card .order-manage>summary{padding:11px 18px;font-size:12px}.order-card .order-manage-body{padding:0 18px 14px}
.orders-heading{margin-bottom:18px}.order-metrics{gap:12px;margin-bottom:18px}.order-metrics>div{padding:13px 16px}.order-metrics strong{font-size:18px;margin-top:2px}.order-filters{padding-bottom:8px;margin-bottom:10px}.order-filters a{padding:8px 14px}
.order-detail .order-overview{margin:16px 0}.detail-order-hero{padding:20px;margin-bottom:16px}.order-detail .order-progress{padding:16px;margin-bottom:16px}.detail-status-grid{margin:16px 0}.detail-status-grid .customer-panel{padding:13px}.detail-products{padding:18px}.detail-products .order-product{padding:12px 0}.order-history{padding:16px;margin-top:16px}.order-payment-details{padding:16px;margin:16px 0}
@media(min-width:681px) and (max-width:850px){.order-overview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.order-card-head{flex-direction:row;align-items:center;padding:12px 14px}.order-card .order-progress{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 14px;gap:12px 8px}.order-card .order-progress small{display:block;font-size:11px}.order-card .order-progress em{margin-top:2px}.order-card .order-products{padding:0 14px}.order-card .order-product{gap:10px}.order-card .order-product>div{min-width:100px}.order-card .order-product>b{margin-left:58px}.order-overview{padding:12px 14px}.overview-block{padding:12px}.order-card-footer{padding:12px 14px;gap:10px}.order-card-footer .button{min-height:42px}.order-card .order-manage>summary{padding:13px 14px}.invoice-download{min-height:40px;display:flex;align-items:center;justify-content:center}.invoice-view{padding:5px 0}.order-metrics>div{padding:12px 9px}.order-metrics strong{font-size:15px}}
