/* ppg-meal-pack.css - Exact visual replica */
.mp-replica-wrapper a,
.mp-replica-wrapper button {
    text-decoration: none;
    font-family: inherit;
}


.mp-container {
    max-width: 960px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #fff;
    margin: 0 auto;
}

body.page-template-meal-pack,
body.page-template-meal-pack #site-content,
body.page-template-meal-pack .meal-packers {
    background-color: #111111 !important;
    color: #fff;
}

.meal-packers {
    background-color: #111111;
    color: #fff;
    padding-bottom: 60px;
    min-height: 100vh;
}

.mp-panel {
    border: 1px solid #520975;
    border-radius: 8px;
    margin-top: 30px;
    background-color: #0d0d0d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ppg-delivery-calendar-section--with-bg .ppg-wrap {
    max-width: 1030px !important;
}

.page-id-13 .ppg-delivery-calendar-section {
    padding-bottom: 0 !important;
}

/* Header */
.mp-header {
    background-color: #520975;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.mp-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
    font-family: var(--ppg-font-headline);
}

.mp-qty-wrap {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    border-radius: 6px;
    font-family: var(--ppg-font-body) !important;
    padding: 0px 6px;
    gap: 12px;
}

.mp-qty-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 8px;
    outline: none;
}

.mp-qty-val {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.mp-info-icon {
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 50%;
    display: none !important;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    cursor: help;
    margin-left: 4px;
}

.mp-card-img-wrap img {
    border-radius: 10px;
}

/* Delete Button */
.mp-delete-btn {
    background-color: #f71111;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: var(--ppg-font-headline);
    padding: 3px 15px;
    font-size: 11px;
    border-radius: 12px !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    min-height: 35px !important;
    gap: 6px;
    cursor: pointer;
}


.mp-icon-trash {
    width: 14px;
    height: 14px;
}

/* Body */
.mp-body {
    padding: 30px;
    background: #0d0d0d;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.mp-qty-wrap button:hover {
    box-shadow: none !important;
}

.mp-step-text {
    font-size: 17px;
    color: #fff;
    font-family: var(--ppg-font-headline) !important;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Cards Grid */
.mp-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.mp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    text-align: center;
}

.mp-card:hover {
    transform: translateY(-5px);
    border-color: #520975;
}

.mp-card-img-wrap {
    width: 100%;
    max-width: 120px;
    margin-bottom: 15px;
}

.mp-card-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.mp-card-info {
    width: 100%;
}

.mp-price-tag {
    background-color: #520975;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.mp-meal-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: var(--ppg-font-headline) !important;
}

.mp-meal-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--ppg-font-body) !important;
}

.mp-slot-box.has-selection {
    background: #111;
    border-color: #520975;
    padding: 10px;
    height: auto;
    min-height: 60px;
}

.mp-selected-meal-in-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mp-slot-meal-name {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
}

.mp-slot-meal-cal {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

/* Selected Card View */
.mp-selected-card {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    max-width: 400px;
    margin-bottom: 24px;
}

.mp-selected-card .mp-card-img-wrap {
    flex: 0 0 100px;
    margin-right: 16px;
}

.mp-selected-card .mp-card-img-wrap img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.mp-selected-card .mp-card-info {
    flex: 1;
}

.mp-change-selection-btn {
    background-color: #520975;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    text-transform: uppercase;
}

/* Step 3 Action Row */
.mp-action-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.mp-action-btn {
    border: none;
    border-radius: 4px;
    padding: 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
}

.mp-btn-manual {
    background-color: #520975;
    color: #ffffff;
}

.mp-btn-swap {
    background-color: #2f3e46;
    color: #ffffff;
}

.mp-btn-clear {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff !important;
}

/* Slots Grid */
.mp-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mp-slot-box {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mp-slot-box:hover {
    background: #1a1a1a;
    border-color: #ffffff;
}

/* Nutrition Panel */
.mp-nutrition-panel {
    flex: 0 0 300px;
    margin-left: 30px;
}

.mp-nutrition-inner {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 24px;
}

.nut-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.nut-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin: 4px 0 16px 0;
}

.nut-list {
    margin-bottom: 20px;
}

.nut-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nut-row:last-child {
    border-bottom: none;
}

.nut-row.indented span:first-child {
    padding-left: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.nut-link {
    display: block;
    text-align: center;
    color: #ffffff;
    text-decoration: underline;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 850px) {
    .mp-selections-container {
        flex-direction: column;
    }

    .mp-nutrition-panel {
        margin-left: 0;
        margin-top: 24px;
        width: 100%;
        flex: none;
    }
}


.mp-action-btn {
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-blue {
    background-color: #30a4e3;
    color: #ffffff;
}

.btn-dark {
    background-color: #273746;
    color: #ffffff;
}

.btn-outline {
    background-color: #ffffff;
    color: #555;
    border: 1px solid #ddd;
}

.mp-selections-container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.mp-slots-wrapper {
    flex: 1;
}

.mp-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mp-slot-box {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.mp-slot-icon {
    width: 16px;
    height: 16px;
}

.mp-nutrition-panel {
    flex: 0 0 260px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.nut-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: right;
    margin: 0 0 4px 0;
}

.nut-sub {
    font-size: 11px;
    color: #888;
    text-align: right;
    margin: 0 0 8px 0;
}

.nut-toggle-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 11px;
    color: #555;
}

.nut-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #fff;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nut-row:last-of-type {
    border-bottom: none;
}

.nut-label {
    font-weight: 600;
}

.nut-label.indented {
    padding-left: 12px;
    font-weight: 400;
    color: #555;
}

.nut-val {
    font-weight: 600;
}

.nut-link {
    text-align: right;
    display: block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #30a4e3;
    text-decoration: none;
}

/* Footer Buttons */
.mp-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    max-width: 958px;
    margin: 40px auto auto auto;
}

.mp-btn {
    background: #520975;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}



.mp-icon-plus,
.mp-icon-cart {
    width: 18px;
    height: 18px;
}

/* Make it responsive */
@media (max-width: 850px) {
    .mp-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-action-row {
        grid-template-columns: 1fr;
    }

    .mp-selections-container {
        flex-direction: column;
    }

    .mp-nutrition-panel {
        width: 100%;
        flex: unset;
    }
}

@media (max-width: 600px) {
    .mp-cards-grid {
        grid-template-columns: 1fr;
    }

    .mp-slots-grid {
        grid-template-columns: 1fr;
    }

    .mp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .mp-footer {
        flex-direction: column;
        gap: 16px;
    }

    .mp-btn {
        width: 100%;
        justify-content: center;
    }
}


/* MAIN WIDTH SAME AS SCREENSHOT */
.meal-container {
    width: 1120px;
    margin: 30px auto;
}

/* WRAPPER */
.meal-container .meal-box-wrapper {
    margin: 0 auto;
    border: 2px solid #520975;
    border-radius: 12px;
    background: #0d0d0d;
    overflow: hidden;
    max-width: 958px;
}

.ppg-delivery-calendar-section--with-bg .ppg-wrap {
    box-shadow: 0 -1px 12px 0 #e2e2e240 !important;
    max-width: 960px !important;
}

/* HEADER */
.meal-container .header {
    background: #520975;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.meal-container .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meal-container .title {
    font-size: 18px;
    font-weight: 600;
}

button.mp-delete-btn {
    font-family: var(--ppg-font-headline);
}

.sort select {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* QTY */
.meal-container .qty {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    padding: 0 6px;
    border-radius: 6px;
    overflow: hidden;
}

.meal-container .qty button {
    border: none;
    padding: 3px 10px;
    color: #fff;
    background: none;
    cursor: pointer;
}

.meal-container .qty span {
    padding: 3px 10px;
    font-size: 14px;
    color: #fff;
}

/* INFO */
.meal-container .info {
    width: 18px;
    display: none !important;
    height: 18px;
    background: #1f6e95;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* DELETE */
.meal-container .delete {
    background: #ff2e2e;
    border: none;
    color: #fff;
    padding: 3px 20px;
    border-radius: 6px;
    min-height: 33px !important;
    font-size: 12px;
    border-radius: 12px !important;
    font-family: var(--ppg-font-cta) !important;
}

/* SECTION */
.meal-container .section {
    padding: 18px 20px;
}

.details button.change {
    padding: 9px 30px;
    min-height: 28px;
    border-radius: 7px !important;
}

.meal-container .step {
    font-size: 18px;
    margin-bottom: 12px;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.meal-card svg.mp-bowl-svg {
    max-width: 175px;
    border-radius: 12px;
    /* height: 228px; */
    max-height: 132px;
}

/* CARD */

.meal-container .meal-card {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--ppg-shadow2);
    width: 445px;
    height: 150px;
    /* box-shadow: 0 4px 15px 0 #e2e2e2; */
}

.meal-container .img {
    width: 60px;
    height: 60px;
    background: #e4e7ec;
    border-radius: 8px;
}

.meal-container .price {
    background: #ff9800;
    color: #fff;
    font-size: 11px;
    font-family: var(--ppg-font-body) !important;
    padding: 2px 6px;
    border-radius: 5px;
}

.meal-container .details h4 {
    font-size: 20px;
    margin: 4px 0 44px 0px;
    color: #fff;
}

.meal-container .change {
    background: #520975;
    border: none;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 5px;
}

/* BUTTONS */
.meal-container .actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.meal-container .btn {
    height: 36px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.meal-container .blue {
    background: #520975;
    color: #fff;
    border-radius: 4px !important;
    border: none;
    width: 349px;
    font-family: var(--ppg-font-body);
    height: 43px;
}

.meal-container .dark {
    background: #2f3e46;
    color: #fff;
    border: none;
    width: 349px;
    height: 43px;
    font-family: var(--ppg-font-body);
    border-radius: 4px !important;
}

.meal-container .outline {
    border: 1px solid #aaa;
    background: #fff;
    width: 349px;
    height: 43px;
    font-family: var(--ppg-font-body);
    border-radius: 4px !important;
    color: #000;
}

svg.mp-icon-trash {
    width: 17px;
    height: 17px;
}

/* LAYOUT */
.meal-container .layout {
    display: flex;
    gap: 20px;
}

/* GRID */
.meal-container .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 640px;
}

.meal-container .box {
    height: 53px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #5209751a;
    color: #fff;
    padding: 15px 10px;
    width: 349px;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* RIGHT */
.meal-container .nutrition {
    width: 347px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    /* margin: 0 auto; */
    background: #0d0d0d;
    margin-left: 65px;
}

.meal-container .nutrition h3 {
    font-size: 16px;
    color: #fafafa;
    margin: 0;
    padding-bottom: 20px;
}

.meal-container .small {
    font-size: 13px;
    color: #fbf8f8;
}

.meal-container .small {
    font-size: 13px;
    color: #fbf8f8;
}

.meal-container .bar {
    height: 6px;
    background: #eee;
    border-radius: 5px;
    margin: 10px 0;
}

.meal-container .list p {
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    color: #ffffff;
}

.meal-container .nutrition a {
    font-size: 14px;
    color: #fefcff;
    text-transform: capitalize;
    font-weight: 400;
    border: 1px solid #e7d3f0;
    padding: 7px 45px;
    border-radius: 10px;
}

.modal-controls button.active {
    color: #fff;
}

/* BOTTOM */

.meal-container .bottom {
    margin-top: 15px;
    max-width: 954px;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    margin: 50px auto auto auto;
}

.meal-container .add {
    background: #520975;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px !important;
    font-size: 14px;
    font-family: var(--ppg-font-cta) !important;
    border-radius: 6px;
}

.meal-container .continue {
    background: #520975;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px !important;
    font-size: 14px;
    font-family: var(--ppg-font-cta) !important;
    border-radius: 6px;
}

/* GRID (2nd screenshot) */
.meal-modal .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 600px;
}

.meal-modal .box {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 500;
}

/* MODAL BG */
.meal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

/* MODAL */
.meal-modal .modal-wrapper {
    width: 647px;
    margin: 40px auto;
    background: #f2f2f2;
    border-radius: 8px;
    overflow: hidden;
}

/* HEADER */
.meal-modal .modal-header {
    background: #520975;
    color: #fff;
    text-align: center;
    padding: 14px;
    font-weight: 600;
}

/* CONTROLS */
.meal-modal .modal-controls {
    padding: 15px 20px;
    background-color: #050505;
}

/* TOP ROW */
.meal-modal .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SEARCH (exact feel) */
.meal-modal .top-row input {
    width: 49%;
    height: 37px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0 10px;
}

.meal-modal .sort {
    font-size: 13px;
    color: #fdf8ff;
    border-bottom: none;
    padding-bottom: 10px;
}

/* SORT RIGHT */
.page-id-13 {
    margin-top: 91px;
}

/* BUTTONS */
/* --- MEAL SELECTION MODAL --- */
.meal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Deep dark overlay */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    font-family: var(--ppg-font-body) !important;
}

.modal-wrapper {
    background: #000;
    width: 95%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modals Header */
.modal-header {
    background: #520975;
    padding: 18px 20px;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-family: var(--ppg-font-headline) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

/* Controls */
.modal-controls {
    padding: 20px;
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    margin-bottom: 15px;
}

#mp-modal-search {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 15px;
    color: #fff;
    width: 100%;
    font-size: 14px;
}

.sort select {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.tags {
    display: flex;
    gap: 10px;
}

.tags button {
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.edit-btn {
    background: #520975;
    color: #fff;
}

.tags .active {
    background: rgba(82, 9, 117, 0.2);
    border: 1px solid #520975;
    color: #fff;
}

/* Meal List Area */
.meal-list {
    max-height: 450px;
    overflow-y: auto;
    padding: 20px;
    background: #000;
}

/* Custom Scrollbar */
.meal-list::-webkit-scrollbar {
    width: 6px;
}

.meal-list::-webkit-scrollbar-track {
    background: #111;
}

.meal-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

/* Meal Cards (Wide Layout) */
.modal-wrapper .meal-card {
    display: flex;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.modal-wrapper .meal-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-wrapper .img-box {
    position: relative;
    width: 140px;
    flex-shrink: 0;
}

.modal-wrapper .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-wrapper .info {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #520975;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.modal-wrapper .meal-card .content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.modal-wrapper .price {
    background: #ff8c2b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 8px;
}

.modal-wrapper .meal-card h4 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 8px 0;
    font-family: var(--ppg-font-headline) !important;
}

.modal-wrapper .meal-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.modal-wrapper .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.modal-wrapper .cal {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.mp-select-portion-btn {
    background: #520975;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.mp-select-portion-btn:hover {
    background: #6a0c9a;
}

/* Footer Close Button */
.modal-footer {
    background: #eee;
    color: #666;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.modal-footer:hover {
    background: #fff;
    color: #333;
}

/* --- Product Info Modal (Nested) --- */
#ppgProductInfoModal {
    z-index: 20000;
    /* Higher than meal selection modal (10000) */
}

.ppg-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.ppg-modal__container {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    /* Further reduced for a more compact look */
    max-height: 70vh;
    /* Further reduced height */
}

.ppg-modal__left {
    max-height: 70vh;
}

.ppg-modal__img-wrap {
    height: 100%;
}

.ppg-modal__tab--active {
    background: #520975 !important;
}

.ppg-modal__tab:not(.ppg-modal__tab--active) {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ppg-modal__tab-content {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.mp-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 16px;
}

.ppg-modal__img {
    border-radius: 12px;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .ppg-modal__right {
        padding: 20px !important;
    }
}

/* Countdown Shortcode Styling */
.ppg-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin: 30px auto;
    justify-content: center;
    padding: 10px;
}

.ppg-clock-icon svg {
    width: 36px;
    height: 36px;
    stroke: #111;
    display: block;
}

.ppg-countdown-timer {
    letter-spacing: 0.5px;
}

/* Original Styles */
/* Feedback States */
.mp-loading,
.mp-error,
.mp-no-results {
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-family: var(--ppg-font-body) !important;
}

.mp-loading::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(82, 9, 117, 0.3);
    border-top-color: #520975;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    animation: mp-spin 0.8s linear infinite;
}

@keyframes mp-spin {
    to {
        transform: rotate(360deg);
    }
}

.meal-container {
    width: 1120px;
    display: block !important;
    margin: 30px auto;
}

.meal-packers .header {
    background: #520975;
    color: #fff;
    max-width: 943px;
    padding: 23px 20px;
    border-radius: 10px;
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-btn span {
    display: none;
}

.meal-packers .header h1 {
    margin: 0;
    font-size: 20px;
    font-family: var(--ppg-font-headline) !important;
    font-weight: bold;
    letter-spacing: 0.2px;
}

.meal-packers .order-btn {
    position: absolute;
    right: 20px;
    background: #fdfeff;
    color: #520975;
    padding: 10px 16px;
    font-family: var(--ppg-font-headline) !important;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    font-weight: 600;
    align-items: center;
    gap: 8px;
}

.meal-packers .order-btn:hover {
    opacity: 0.9;
}

.meal-packers .order-btn span {
    font-size: 16px;
}

.meal-packers {
    margin-top: 68px;
}

/* --- Before Finishing / Confirmation Modal --- */
.mp-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mp-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.mp-confirm-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    animation: ppg-modal-in 0.3s ease;
}

.mp-confirm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    transition: background 0.2s;
}

.mp-confirm-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mp-confirm-title {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    line-height: 1;
}

.mp-confirm-msg {
    color: #d9d9d9;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

/* --- Added button feedback --- */
.btn-added {
    background-color: #2c8a32 !important;
    color: #fff !important;
    transition: background-color 0.2s ease;
}

.mp-confirm-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 30px;
}

.mp-confirm-actions {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 -30px -40px;
}

.mp-confirm-btn {
    flex: 1;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
}

.mp-confirm-no {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    border-bottom-left-radius: 16px;
}

.mp-confirm-yes {
    background: #520975;
    color: #fff;
    border-bottom-right-radius: 16px;
}

.mp-confirm-no:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.mp-confirm-yes:hover {
    background: #3b0554;
}

@media (max-width: 480px) {
    .mp-confirm-container {
        padding: 40px 20px;
    }

    .mp-confirm-title {
        font-size: 24px;
    }

    .mp-confirm-msg {
        font-size: 18px;
    }

    .mp-confirm-actions {
        margin: 0 -20px -40px;
    }
}

/* --- Nutrition Details (See More) Modal --- */
.mp-nut-modal-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: ppg-modal-in 0.3s ease;
}

.mp-nut-modal-body {
    padding: 35px 30px 20px;
}

.mp-nut-modal-row {
    margin-bottom: 20px;
}

.mp-nut-modal-row--indent {
    padding-left: 20px;
}

.mp-nut-modal-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.mp-nut-modal-val {
    font-size: 13px;
    color: #bbb;
    font-weight: 400;
}

.mp-nut-modal-bar {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.mp-nut-modal-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.6s ease;
    width: 0%;
}

.mp-nut-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 20px;
}

.mp-nut-modal-footer button {
    background: transparent;
    border: none;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.mp-nut-modal-footer button:hover {
    color: #fff;
}

/* Close Icon for Nutrition Modal */
.mp-nut-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    transition: background 0.2s;
    z-index: 10;
}

.mp-nut-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}