/* Storefront v3 — customer account gates and delivery tracking. */
.parcel-icon{display:block;width:20px;height:17px;margin:auto;border:1.5px solid currentColor;position:relative}
.parcel-icon:before{content:'';position:absolute;left:8px;top:0;width:1.5px;height:100%;background:currentColor}
.parcel-icon:after{content:'';position:absolute;left:0;right:0;top:6px;border-top:1.5px solid currentColor}
.delivery-trigger{color:#c7c1c0}
.delivery-trigger:hover{color:#fff}

.account-mode-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid #3b3b3b;margin:0 0 19px}
.account-mode-tabs button{min-height:41px;border:0;background:#101010;color:#898382;font:500 8px var(--mono);letter-spacing:.1em;cursor:pointer;padding:7px}
.account-mode-tabs button+button{border-left:1px solid #3b3b3b}
.account-mode-tabs button.active{background:#5c1c20;color:#f2e8e7}
.toast.error{background:#5f171b;border-color:#cc565d;color:#fff}
.toast.success{background:#152a1b;border-color:#5c9b69;color:#effff2}
.account-identity{border-top:1px solid #333;border-bottom:1px solid #333;margin:0 0 18px;padding:12px 0;display:grid;gap:6px}
.account-identity span{color:#85807f;font:500 8px var(--mono);letter-spacing:.18em}
.account-identity strong{color:#e5dedc;font:400 12px var(--mono);letter-spacing:.05em;overflow-wrap:anywhere}

.delivery-box{clear:both}
.delivery-box h2{font:400 clamp(36px,8vw,56px)/.9 var(--display);letter-spacing:.055em;margin:0 0 14px;color:#ded9d8}
.delivery-intro{margin:0 0 19px;color:#aaa4a3;font:400 9px/1.75 var(--mono);letter-spacing:.07em}
.delivery-status-list,.delivery-products-list{display:grid;gap:9px}
.delivery-status-card,.delivery-product-card{width:100%;border:1px solid #393939;background:#101010;color:#d7d1d0;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.delivery-status-card:hover,.delivery-product-card:hover{border-color:#a54045;background:#171011}
.delivery-status-card{display:grid;grid-template-columns:35px minmax(0,1fr) auto 16px;align-items:center;gap:10px;padding:13px}
.delivery-status-icon{display:grid;place-items:center;width:31px;height:31px;border:1px solid #714043;color:#e8c9c8;font:500 15px var(--mono)}
.delivery-status-card b,.delivery-product-card b{display:block;color:#dfd9d8;font:500 9px/1.5 var(--mono);letter-spacing:.1em}
.delivery-status-card small,.delivery-product-card small{display:block;margin-top:4px;color:#888281;font:400 8px/1.5 var(--mono);letter-spacing:.05em}
.delivery-status-card strong{min-width:22px;text-align:center;color:#dfd4d3;font:500 12px var(--mono)}
.delivery-status-card i{font:400 21px/1 Arial;color:#a83a3f;font-style:normal}
.delivery-back{display:block;margin:0 0 16px;color:#a8a1a0}
.delivery-product-card{display:grid;grid-template-columns:49px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px}
.delivery-product-card img,.delivery-product-placeholder{width:49px;height:61px;object-fit:cover;background:#181818}
.delivery-product-placeholder{display:grid;place-items:center;color:#70262a;font:400 24px var(--display)}
.delivery-product-card em{display:block;margin-top:6px;color:#c98b8d;font:500 7px var(--mono);letter-spacing:.08em;font-style:normal}
.delivery-product-card i{color:#c7b9b8;font:500 7px var(--mono);letter-spacing:.07em;font-style:normal;white-space:nowrap}
.delivery-empty{margin:7px 0;padding:29px 10px;border:1px dashed #484141;color:#898281;text-align:center;font:500 9px/1.7 var(--mono);letter-spacing:.1em}
.delivery-detail{display:grid;gap:15px}
.delivery-detail-image{width:100%;max-height:255px;object-fit:cover;background:#151515}
.delivery-detail h2{margin:0}
.delivery-detail-order{margin:-6px 0 0;color:#8c8584;font:500 8px/1.7 var(--mono);letter-spacing:.08em}
.delivery-detail-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #363636;border-left:1px solid #363636}
.delivery-detail-grid span{min-width:0;display:grid;gap:6px;padding:11px;border-right:1px solid #363636;border-bottom:1px solid #363636;color:#817a79;font:500 7px var(--mono);letter-spacing:.1em}
.delivery-detail-grid span.full{grid-column:1/-1}
.delivery-detail-grid b{color:#ded7d6;font:500 9px/1.55 var(--mono);letter-spacing:.05em;overflow-wrap:anywhere}
.delivery-track-button{width:100%;text-align:center}
.delivery-note{margin:0;color:#aaa4a3;font:400 9px/1.75 var(--mono);letter-spacing:.06em}
.delivery-timeline{margin:0;padding:1px 0 0 19px;border-left:1px solid #6b3135;display:grid;gap:14px}
.delivery-timeline li{padding-left:3px;color:#8a8382;font:400 8px/1.5 var(--mono);letter-spacing:.06em}
.delivery-timeline b{display:block;color:#ded7d6;font-weight:500}
.delivery-timeline small{display:block;color:#787171;margin:2px 0}
.delivery-timeline p{margin:3px 0 0}

@media(max-width:560px){
  .site-header .brand{width:150px;height:65px}
  .site-header .header-tools{right:7px;gap:2px}
  .site-header .header-tools .icon-button{width:28px;min-width:28px}
  .site-header .bag-icon,.site-header .parcel-icon{transform:scale(.86)}
  .site-header .person-icon{transform:scale(.9)}
  .narrow-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:18px 14px}
  .account-mode-tabs button{font-size:7px}
  .delivery-status-card{grid-template-columns:31px minmax(0,1fr) auto 12px;padding:10px;gap:8px}
  .delivery-status-icon{width:27px;height:27px}
  .delivery-product-card{grid-template-columns:43px minmax(0,1fr);padding:8px}
  .delivery-product-card img,.delivery-product-placeholder{width:43px;height:54px}
  .delivery-product-card i{display:none}
  .delivery-detail-grid{grid-template-columns:1fr}
  .delivery-detail-grid span.full{grid-column:auto}
}
