/* Delivery landing pages (/delivery, /delivery/courier, /delivery/western-cape) - 11 Nov 2026.
   Loaded only by Views/Delivery/*. Uses Bootstrap 5 and the site's own variables; nothing here changes other pages. */

.dl-page h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.dl-page section:first-of-type h2 { margin-top: 0; }
.dl-page .lead { max-width: 60rem; }

/* The two delivery models side by side (stack on a phone) */
.dl-model { height: 100%; }
.dl-model .dl-model-icon { font-size: 2rem; line-height: 1; }
.dl-model ul { padding-left: 1.1rem; margin-bottom: 0; }
.dl-model li { margin-bottom: .35rem; }

/* Link chips: store departments, brands, provinces */
.dl-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.dl-chips a,
.dl-chips span {
    display: inline-block;
    padding: .4rem .8rem;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, .6);
    line-height: 1.3;
}
.dl-chips a:hover,
.dl-chips a:focus-visible { border-color: currentColor; text-decoration: underline; }

/* Numbered "which applies to my order?" steps */
.dl-steps { counter-reset: dl-step; list-style: none; padding: 0; margin: 0; }
.dl-steps > li { counter-increment: dl-step; position: relative; padding: 0 0 1rem 3rem; }
.dl-steps > li::before {
    content: counter(dl-step);
    position: absolute; left: 0; top: 0;
    width: 2.1rem; height: 2.1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #111; color: #fff; font-weight: 700;
}

/* Town table: each row is an anchor (/delivery/{town} redirects here) */
.dl-towns tbody tr { scroll-margin-top: 7rem; }
.dl-towns tbody tr:target > * { background-color: #fff3cd; box-shadow: inset 0 0 0 9999px rgba(255, 193, 7, .18); }
.dl-towns th[scope="row"] { font-weight: 600; }
.dl-towns .dl-num { white-space: nowrap; }
.dl-band { scroll-margin-top: 7rem; }

.dl-faq h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.dl-faq p { margin-bottom: 1.25rem; }

.dl-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (max-width: 575.98px) {
    .dl-cta .btn { width: 100%; }
    .dl-towns { font-size: .9rem; }
}
