/* Shared delivery cards: the same compact proportions as the live catalogues. */
.yd-delivery-grid.yd-delivery-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.yd-delivery-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #ccdeed;border-radius:20px;background:linear-gradient(145deg,#fff,#f6faff);box-shadow:0 8px 24px #163c7d0d;transition:transform .18s,border-color .18s,box-shadow .18s}
.yd-delivery-card:hover{transform:translateY(-3px);border-color:#71bbc8;box-shadow:0 14px 30px #163c7d16}
.yd-delivery-photo{display:block;position:relative;aspect-ratio:16/11;background:#e3edf6;overflow:hidden;text-decoration:none;isolation:isolate}
.yd-delivery-photo:after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,#0e263c16,transparent 40%,#0e263c60)}
.yd-delivery-photo img{width:100%;height:100%;aspect-ratio:16/11;object-fit:cover;transition:transform .3s}

.yd-delivery-status{position:absolute;z-index:1;display:inline-flex;align-items:center;gap:5px;line-height:1.35;font-size:10px;font-weight:650}
.yd-delivery-status{top:11px;inset-inline-start:11px;padding:6px 9px;color:#12644f;border:1px solid #abe3d5;border-radius:9px;background:#ecfff8f5;box-shadow:0 3px 10px #102c4120}
.yd-delivery-content{display:flex;flex-direction:column;flex:1;gap:13px;min-width:0;padding:16px;border-top:2px solid #74d7d1}
.yd-delivery-heading{display:flex;flex-direction:column;gap:8px}
.yd-delivery-content .yd-delivery-location{display:flex;align-items:center;gap:5px;margin:0;font-size:10px;line-height:1.5;color:#50728b}
.yd-delivery-location svg{width:13px;height:13px;flex-shrink:0;color:#087c88}
.yd-delivery-content h3{margin:0;color:#163855;font-size:19px;line-height:1.3;font-weight:650;letter-spacing:-.035em;overflow-wrap:anywhere}
.yd-delivery-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:11px 12px;border:1px solid #dbe8f3;border-radius:12px;background:linear-gradient(115deg,#eff9fb,#edf3ff)}
.yd-delivery-specs>div{min-width:0}
.yd-delivery-specs>div:nth-child(even){border-inline-start:1px solid #d1e1ec;padding-inline-start:12px}
.yd-delivery-specs dt{font-size:9px;line-height:1.5;color:#58718a;margin-bottom:3px}
.yd-delivery-specs dd{margin:0;font-size:12px;line-height:1.4;font-weight:600;color:#234c6b;overflow-wrap:anywhere}
.yd-delivery-enquiry{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:44px;margin-top:auto;padding:11px 13px;border:1px solid transparent;border-radius:12px;background:var(--future-gradient,linear-gradient(115deg,#085fae,#4949c3));color:#fff;text-decoration:none;font-size:12px;font-weight:650;line-height:1.4}
.yd-delivery-enquiry:hover{color:#fff;background:linear-gradient(115deg,#087285,#1750aa)}
.yd-delivery-card a:focus-visible,.yd-delivery-card button:focus-visible,.yd-delivery-slides:focus-visible{outline:3px solid #087c88;outline-offset:-4px}
.yd-delivery-card .yd-delivery-enquiry:focus-visible{outline:3px solid #087c88;outline-offset:3px}
.yd-page-intro .yd-delivery-gallery-note{font-size:12px;color:#586d86;margin:12px 0 0;padding-inline-start:12px;border-inline-start:2px solid #62c9c8}
@media(max-width:1100px){.yd-delivery-grid.yd-delivery-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.yd-delivery-grid.yd-delivery-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:650px){.yd-delivery-grid.yd-delivery-cards{gap:12px}.yd-delivery-card{border-radius:16px}.yd-delivery-content{padding:11px;gap:10px}.yd-delivery-content h3{font-size:15px;line-height:1.35}.yd-delivery-heading{gap:6px}.yd-delivery-content .yd-delivery-location{font-size:9px;gap:4px}.yd-delivery-status{top:7px;inset-inline-start:7px;padding:4px 6px;font-size:8px;border-radius:7px}.yd-delivery-specs{padding:9px 8px;gap:6px;border-radius:10px}.yd-delivery-specs>div:nth-child(even){padding-inline-start:8px}.yd-delivery-specs dt{font-size:9px}.yd-delivery-specs dd{font-size:11px}.yd-delivery-enquiry{font-size:11px;padding:10px 9px;min-height:44px}.yd-delivery-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.yd-delivery-card,.yd-delivery-photo img{transition:none}.yd-delivery-card:hover,.yd-delivery-photo:hover img{transform:none}}
.yd-delivery-slides{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;direction:ltr;overscroll-behavior-x:contain}
.yd-delivery-slides::-webkit-scrollbar{display:none}
.yd-delivery-slides img{display:block;flex:0 0 100%;width:100%;height:100%;min-width:0;aspect-ratio:16/11;object-fit:cover;scroll-snap-align:start}
.yd-delivery-photo-controls{position:absolute;bottom:7px;inset-inline:7px;z-index:2;display:flex;align-items:center;justify-content:space-between;direction:ltr;pointer-events:none}
.yd-delivery-photo-controls[hidden]{display:none}
.yd-delivery-photo-controls button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;border:1px solid #e4f3ff99;border-radius:12px;background:#102b46df;color:#fff;font-size:29px;line-height:1;cursor:pointer;pointer-events:auto}
.yd-delivery-photo-controls button:hover{background:#085fae}
.yd-delivery-photo-count{padding:5px 9px;border-radius:20px;background:#102b46df;color:#fff;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums}
.yd-delivery-in-progress{color:#144d80;background:#edf7fff5;border-color:#b6d7f2}
.yd-delivery-no-photo{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#50728b;font-size:11px;background:radial-gradient(ellipse at center,#fff,#e0eff8)}
.yd-delivery-no-photo svg{width:70px;height:48px;color:#80afc5}
.yd-delivery-card[id]{scroll-margin-top:100px}
