/* Catering plan detail — matches index cp- design language */
.cpd-hero .text-hero { max-width: 36rem; }
.cpd-breadcrumb {
    font-size: .85rem;
    margin-bottom: 1rem;
    color: #6c757d;
}
.cpd-breadcrumb a {
    color: #22A366;
    text-decoration: none;
    font-weight: 600;
}
.cpd-breadcrumb a:hover { text-decoration: underline; }
.cpd-breadcrumb span:last-child { color: #495057; font-weight: 600; }
.cpd-hero__eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #22A366;
    margin-bottom: .5rem;
}
.cpd-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #495057;
    margin: .75rem 0 1rem;
}
.cpd-hero__trust .fa-star.checked { color: #f5a623; font-size: .9rem; }

.cpd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.35rem;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    background: none;
}
.cpd-btn--primary { background: #22A366; color: #fff !important; }
.cpd-btn--primary:hover {
    background: #1e8e3e;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 163, 102, .28);
}
.cpd-btn--ghost {
    background: #fff;
    color: #495057 !important;
    border-color: #dee2e6;
    margin-top: .5rem;
}
.cpd-btn--ghost:hover { border-color: #22A366; color: #22A366 !important; }
.cpd-btn--white { background: #fff; color: #22A366 !important; }
.cpd-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.cpd-btn--block { width: 100%; }

.cpd-section__eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #22A366;
    margin-bottom: .5rem;
}
.cpd-section__title {
    font-family: "DM Sans", "Open Sans", sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: .65rem;
}
.cpd-section__lead {
    font-size: 1rem;
    line-height: 1.65;
    color: #6c757d;
    margin: 0;
    max-width: 36rem;
}

.cpd-overview__main--full { max-width: 900px; }

.cpd-order {
    padding: 3rem 1.5rem 4rem;
    background: #fff;
}
.cpd-order-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}
.cpd-order-main { min-width: 0; }

.cpd-order-summary {
    position: sticky;
    top: 100px;
}
.cpd-order-summary__inner {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1.35rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
.cpd-order-summary__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #f1f3f5;
}
.cpd-order-summary__items {
    min-height: 48px;
    margin-bottom: 1rem;
}
.cpd-order-summary__empty {
    font-size: .88rem;
    color: #adb5bd;
    margin: 0;
    text-align: center;
    padding: .5rem 0;
}
.cpd-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    padding: .55rem 0;
    border-bottom: 1px solid #f8f9fa;
}
.cpd-summary-line:last-child { border-bottom: none; }
.cpd-summary-line__title {
    font-size: .88rem;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}
.cpd-summary-line__meta {
    font-size: .78rem;
    color: #6c757d;
    margin-top: .15rem;
}
.cpd-summary-line__price {
    font-size: .9rem;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
}
.cpd-order-summary__rows {
    border-top: 1px solid #f1f3f5;
    padding-top: .75rem;
    margin-bottom: 1rem;
}
.cpd-order-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    color: #495057;
    margin-bottom: .45rem;
}
.cpd-order-summary__row--muted { font-size: .82rem; color: #6c757d; }
.cpd-order-summary__row--total {
    margin-top: .65rem;
    padding-top: .65rem;
    border-top: 1px solid #e9ecef;
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 0;
}
.cpd-order-summary__total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #22A366;
}
.cpd-order-summary__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    background: #f1f3f5;
    color: #868e96;
    font-size: .85rem;
    font-weight: 600;
    padding: .55rem .75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: background .2s, color .2s;
}
.cpd-order-summary__badge.is-active {
    background: #e8f7ef;
    color: #1a7a45;
}
.cpd-order-summary__submit {
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: .82rem;
    padding: .85rem 1rem;
}
.cpd-order-summary__secure {
    text-align: center;
    font-size: .75rem;
    color: #adb5bd;
    margin: .75rem 0 0;
}
.cpd-order-summary__secure i { margin-right: .25rem; }

/* Meal selection cards — same as logged-in book flow */
.event-plans-meal-card.is-selected { border-color: #22A366; box-shadow: 0 4px 14px rgba(34, 163, 102, .12); }
.event-plans-meal-selected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #22A366;
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: .25rem .55rem;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s, transform .2s;
}
.event-plans-meal-card.is-selected .event-plans-meal-selected-badge { opacity: 1; transform: translateY(0); }
.cpd-meal-card__media { position: relative; }
.event-plans-meal-footer {
    margin-top: auto;
    padding: .85rem 1rem 1rem;
    border-top: 1px solid #f1f3f5;
    background: #fafbfc;
}
.event-plans-serving-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .3rem;
}
.event-plans-serving-picker {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.event-plans-serving-picker .meal-qty-select {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: .15rem .45rem;
    font-size: .75rem;
    line-height: 1.2;
}
.event-plans-serving-add {
    flex-shrink: 0;
    background: #22A366;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: .75rem;
    line-height: 1.2;
    height: 40px;
    padding: 0 .65rem;
}
.event-plans-serving-add:hover,
.event-plans-serving-add:focus {
    background: #1e8e3e;
    color: #fff;
}
.event-plans-selected-servings {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: .5rem;
}
.event-plans-selected-serving {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .35rem .5rem;
    background: #fff;
    border: 1px solid #e3ebe6;
    border-radius: 6px;
}
.event-plans-selected-serving__label {
    font-size: .75rem;
    font-weight: 600;
    color: #2d3436;
    line-height: 1.25;
}
.event-plans-selected-serving__remove {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f1f3f5;
    color: #868e96;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.event-plans-selected-serving__remove:hover,
.event-plans-selected-serving__remove:focus {
    background: #ffe3e3;
    color: #c92a2a;
}
.event-plans-meal-footer .form-control {
    border-radius: 6px;
    border-color: #dee2e6;
}
.event-plans-meal-footer .meal-qty-select {
    border-radius: 6px;
}
.event-plans-meal-footer .form-control:focus {
    border-color: #22A366;
    box-shadow: 0 0 0 .15rem rgba(34, 163, 102, .15);
}
.event-plans-qty-stepper { max-width: 100%; }
.event-plans-meal-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px dashed #e9ecef;
}
.event-plans-meal-price-label { font-size: .78rem; color: #6c757d; }
.event-plans-meal-price-value { font-weight: 700; color: #22A366; font-size: 1rem; }
.event-plans-meal-card:not(.is-selected) .event-plans-meal-price-value { color: #adb5bd; }

.cpd-overview {
    padding: 3rem 1.5rem;
    background: #fafbfc;
    border-bottom: 1px solid #eef0f2;
}
.cpd-overview__image-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}
.cpd-overview__image {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}
.cpd-overview__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, .96);
    color: #22A366;
    font-size: .75rem;
    font-weight: 700;
    padding: .4rem .75rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.cpd-overview__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.15rem;
}
.cpd-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    font-weight: 600;
    color: #495057;
    background: #f1f3f5;
    border-radius: 999px;
    padding: .3rem .7rem;
}
.cpd-chip--price { background: #e8f7ef; color: #1a7a45; }
.cpd-chip i { font-size: .68rem; }
.cpd-overview__description {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}
.cpd-overview__description--text { margin: 0; }

.cpd-menu__header { margin-bottom: 2rem; }
.cpd-meal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.cpd-meal-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.cpd-meal-card:hover { border-color: #dee2e6; }
.cpd-meal-card__media {
    position: relative;
    height: 200px;
    background: #f8f9fa;
    overflow: hidden;
}
.cpd-meal-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.cpd-meal-card:hover .cpd-meal-card__image { transform: scale(1.04); }
.cpd-meal-card__plan-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    padding: .25rem .55rem;
    border-radius: 999px;
}
.cpd-meal-card__body { padding: 1rem 1rem 1.1rem; flex: 1; }
.cpd-meal-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    margin: 0 0 .45rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .35rem;
}
.cpd-meal-info-btn {
    border: none;
    background: none;
    padding: 0;
    color: #22A366;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.cpd-meal-info-btn:hover { color: #1e8e3e; }
.cpd-meal-card__ingredients {
    font-size: .85rem;
    line-height: 1.5;
    color: #6c757d;
    margin: 0 0 .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cpd-meal-card__note {
    font-size: .82rem;
    font-style: italic;
    color: #868e96;
    margin: 0 0 .5rem;
    line-height: 1.45;
}
.cpd-meal-card__tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    padding: .2rem .55rem;
}

.cpd-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed #dee2e6;
    border-radius: 14px;
}
.cpd-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #e8f7ef;
    color: #22A366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.cpd-empty__text { color: #6c757d; margin-bottom: 1rem; }

.cpd-cta-band {
    background: linear-gradient(135deg, #22A366 0%, #1a8f52 55%, #157a47 100%);
    padding: 2.75rem 1.5rem;
}
.cpd-cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cpd-cta-band__title {
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    margin: 0 0 .35rem;
}
.cpd-cta-band__text {
    color: rgba(255, 255, 255, .9);
    margin: 0;
    font-size: .98rem;
}

@media (max-width: 991px) {
    .cpd-order-layout { grid-template-columns: 1fr; }
    .cpd-order-summary { position: static; order: -1; }
    .cpd-meal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .cpd-overview, .cpd-order { padding-left: 1rem; padding-right: 1rem; }
    .cpd-cta-band__inner { flex-direction: column; align-items: flex-start; }
    .cpd-cta-band .cpd-btn--white { width: 100%; }
}
