/* Captain Order homepage-only approved cards layout. */
.home-page .co-home-delivery{grid-template-columns:minmax(0,1fr);}
.home-page .co-home-delivery .service-card.shopping{width:100%;min-height:125px;}
.home-page .co-home-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:4px 0 19px;direction:rtl;}
.home-page .co-home-feature-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-align:center;border:1px solid var(--co-line,#e3ebe5);border-radius:23px;padding:0;background:var(--co-surface,#fff);box-shadow:var(--co-shadow,0 7px 21px #193b2b1a);font-family:inherit;color:var(--co-ink,#172b20);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;}
.home-page .co-home-feature-card:focus-visible{outline:3px solid #22a467;outline-offset:3px;}
@media(hover:hover){.home-page .co-home-feature-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px #123a2a25;}}
.home-page .co-home-feature-photo{display:block;width:100%;aspect-ratio:1.52;overflow:hidden;background:#ebf6ed;}
.home-page .co-home-feature-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%;}
.home-page .co-home-feature-copy{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex:1;padding:13px 11px 12px;}
.home-page .co-home-feature-copy strong{font-size:clamp(14px,3.5vw,20px);font-weight:900;line-height:1.45;color:var(--co-ink,#172b20);}
.home-page .co-home-feature-copy>span:not(.co-home-feature-action){font-size:clamp(10px,2.6vw,13px);font-weight:700;line-height:1.55;color:var(--co-muted,#66776b);flex:1;}
.home-page .co-home-feature-action{display:flex;align-items:center;justify-content:center;gap:6px;min-height:39px;border-radius:13px;background:linear-gradient(120deg,#008768,#005a47);color:#fff;font-weight:900;font-size:clamp(10px,2.5vw,13px);}
.home-page .co-home-feature-food .co-home-feature-action{background:linear-gradient(115deg,#ff8c25,#e76806);}
.home-page .co-home-feature-action svg{width:15px;height:15px;}
@media(max-width:390px){.home-page .co-home-feature-grid{gap:9px}.home-page .co-home-feature-copy{padding:10px 7px 9px;gap:6px}.home-page .co-home-feature-action{min-height:35px}}
@media(min-width:800px){.home-page .co-home-feature-photo{aspect-ratio:2.4}.home-page .co-home-delivery .service-card.shopping{min-height:135px}}
@media(prefers-reduced-motion:reduce){.home-page .co-home-feature-card{transition:none}}

/* Explicit, theme-safe responsive treatment for the customer homepage only. */
.home-page .co-home-feature-card{box-sizing:border-box;}
.home-page .co-home-feature-card img{max-width:none;}
@media(min-width:800px){.home-page .co-home-feature-grid{gap:20px}.home-page .co-home-feature-photo{aspect-ratio:2.4}}
@media(max-width:390px){.home-page .co-home-feature-copy strong{font-size:14px}}
:root[data-theme="dark"] .home-page .co-home-feature-card,
html[data-theme="dark"] .home-page .co-home-feature-card,
body[data-theme="dark"] .home-page .co-home-feature-card{background:#10291e;border-color:#28533c;color:#f0fff5;}
:root[data-theme="dark"] .home-page .co-home-feature-copy strong,
html[data-theme="dark"] .home-page .co-home-feature-copy strong,
body[data-theme="dark"] .home-page .co-home-feature-copy strong{color:#effff5;}
:root[data-theme="dark"] .home-page .co-home-feature-copy>span:not(.co-home-feature-action),
html[data-theme="dark"] .home-page .co-home-feature-copy>span:not(.co-home-feature-action),
body[data-theme="dark"] .home-page .co-home-feature-copy>span:not(.co-home-feature-action){color:#c0ddc9;}

/* Background photograph for the existing delivery-anything card ONLY. */
.home-page .co-home-delivery .service-card.shopping{background-image:linear-gradient(90deg,rgba(0,48,35,.36),rgba(0,48,35,.84)),url('/assets/home-any-delivery-premium.webp');background-size:cover;background-position:center;color:#fff;border-color:rgba(255,255,255,.25);}
.home-page .co-home-delivery .service-card.shopping :is(strong,small,.service-arrow){color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.46);}
@media(max-width:480px){.home-page .co-home-delivery .service-card.shopping{background-position:39% center;}}
