:root {
    --mmco-ccl-ink: #071426;
    --mmco-ccl-muted: #64748b;
    --mmco-ccl-border: rgba(7, 20, 38, .12);
    --mmco-ccl-soft: #f8fafc;
    --mmco-ccl-brand: #0f766e;
    --mmco-ccl-brand-dark: #0f3d3a;
    --mmco-ccl-brand-soft: #ecfdf5;
    --mmco-ccl-cream: #fff7ed;
    --mmco-ccl-danger: #b42318;
    --mmco-ccl-shadow: 0 26px 80px rgba(3, 8, 18, .16);
    --mmco-ccl-radius: 28px;
}

.mmco-ccl-row-button {
    border: 0 !important;
    border-radius: 999px !important;
    padding: 11px 16px !important;
    background: linear-gradient(135deg, #071426, #0f766e) !important;
    color: #fff !important;
    font-size: .78rem !important;
    font-weight: 950 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    box-shadow: 0 12px 28px rgba(15, 118, 110, .22) !important;
    cursor: pointer !important;
}

.mmco-ccl-row-button:hover {
    transform: translateY(-1px);
}

.mmco-ccl-row-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(15, 118, 110, .2);
    border-radius: 999px;
    padding: 6px 11px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: .72rem;
    font-weight: 900;
    white-space: nowrap;
}

.mmco-ccl-row-badge.is-active {
    background: #071426;
    color: #fff;
    border-color: #071426;
}

.mmco-ccl-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    color: var(--mmco-ccl-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mmco-ccl-modal.is-open {
    display: block;
}

.mmco-ccl-modal__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(16, 185, 129, .25), transparent 36%), rgba(2, 6, 23, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mmco-ccl-modal__panel {
    position: relative;
    width: min(1240px, calc(100vw - 34px));
    height: min(92vh, 980px);
    margin: 4vh auto;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 34px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #fff7ed 100%);
    box-shadow: var(--mmco-ccl-shadow);
}

.mmco-ccl-modal-head,
.mmco-ccl-modal-foot {
    position: sticky;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px clamp(20px, 4vw, 42px);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.mmco-ccl-modal-head {
    top: 0;
    border-bottom: 1px solid var(--mmco-ccl-border);
}

.mmco-ccl-modal-foot {
    bottom: 0;
    border-top: 1px solid var(--mmco-ccl-border);
}

.mmco-ccl-eyebrow,
.mmco-ccl-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 11px;
    background: var(--mmco-ccl-brand-soft);
    color: var(--mmco-ccl-brand);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mmco-ccl-modal-head h2,
.mmco-ccl-customer-head h3,
.mmco-ccl-builder-head h3 {
    margin: 10px 0 8px;
    color: var(--mmco-ccl-ink);
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    line-height: .95;
    letter-spacing: -.07em;
}

.mmco-ccl-modal-head p,
.mmco-ccl-customer-head p,
.mmco-ccl-builder-head p,
.mmco-ccl-pack-wrap p {
    max-width: 760px;
    margin: 0;
    color: var(--mmco-ccl-muted);
    line-height: 1.55;
}

.mmco-ccl-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 16px;
    background: #071426;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.mmco-ccl-toolbar,
.mmco-ccl-builder-wrap,
.mmco-ccl-pack-wrap,
.mmco-ccl-notes {
    margin: clamp(18px, 3vw, 32px) clamp(18px, 4vw, 42px);
}

.mmco-ccl-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) minmax(180px, .7fr) minmax(220px, .9fr) auto auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: var(--mmco-ccl-radius);
    background: rgba(236, 253, 245, .72);
}

.mmco-ccl-toolbar label,
.mmco-ccl-group label,
.mmco-ccl-option label,
.mmco-ccl-notes label,
.mmco-ccl-pack-wrap label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.mmco-ccl-toolbar input,
.mmco-ccl-toolbar select,
.mmco-ccl-group input,
.mmco-ccl-group textarea,
.mmco-ccl-option input,
.mmco-ccl-option textarea,
.mmco-ccl-notes textarea,
.mmco-ccl-pack input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--mmco-ccl-border);
    border-radius: 16px;
    padding: 10px 13px;
    background: #fff;
    color: var(--mmco-ccl-ink);
    font-size: .95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 8px 24px rgba(3, 8, 18, .04);
}

.mmco-ccl-toolbar textarea,
.mmco-ccl-group textarea,
.mmco-ccl-option textarea,
.mmco-ccl-notes textarea {
    min-height: 86px;
    resize: vertical;
    font-weight: 600;
}

.mmco-ccl-toggle,
.mmco-ccl-switch {
    min-height: 44px;
    display: flex !important;
    align-items: center;
    gap: 9px !important;
    border: 1px solid var(--mmco-ccl-border);
    border-radius: 16px;
    padding: 10px 12px;
    background: #fff;
    color: var(--mmco-ccl-ink) !important;
    font-size: .82rem !important;
    line-height: 1.25;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.mmco-ccl-toggle input,
.mmco-ccl-switch input {
    width: auto;
    min-height: 0;
    box-shadow: none;
}

.mmco-ccl-primary,
.mmco-ccl-secondary,
.mmco-ccl-danger,
.mmco-ccl-ghost {
    min-height: 44px;
    border-radius: 16px;
    padding: 10px 15px;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.mmco-ccl-primary {
    border: 0;
    background: linear-gradient(135deg, #071426, #0f766e);
    color: #fff;
    box-shadow: 0 14px 32px rgba(15, 118, 110, .25);
}

.mmco-ccl-secondary,
.mmco-ccl-ghost {
    border: 1px solid rgba(15, 118, 110, .22);
    background: #fff;
    color: #0f766e;
}

.mmco-ccl-danger {
    border: 1px solid rgba(180, 35, 24, .18);
    background: #fff1f0;
    color: var(--mmco-ccl-danger);
}

.mmco-ccl-primary:hover,
.mmco-ccl-secondary:hover,
.mmco-ccl-danger:hover,
.mmco-ccl-ghost:hover {
    transform: translateY(-1px);
}

.mmco-ccl-primary:disabled {
    opacity: .55;
    cursor: wait;
}

.mmco-ccl-builder-wrap {
    border: 1px solid var(--mmco-ccl-border);
    border-radius: 34px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 18px 50px rgba(3, 8, 18, .06);
    overflow: hidden;
}

.mmco-ccl-builder-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--mmco-ccl-border);
    background: #fff;
}

.mmco-ccl-builder-head h3 {
    margin-top: 0;
    font-size: clamp(1.4rem, 3vw, 2.3rem);
}

.mmco-ccl-builder-head span {
    align-self: flex-start;
    border-radius: 999px;
    padding: 7px 11px;
    background: #071426;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.mmco-ccl-groups {
    display: grid;
    gap: 18px;
    padding: 18px;
}

.mmco-ccl-group {
    border: 1px solid rgba(15, 118, 110, .17);
    border-radius: 30px;
    padding: 18px;
    background: linear-gradient(135deg, #fff, #f8fafc);
}

.mmco-ccl-group-top {
    display: grid;
    grid-template-columns: minmax(190px, 260px) 1fr;
    gap: 18px;
    align-items: start;
}

.mmco-ccl-media-preview,
.mmco-ccl-option-image,
.mmco-ccl-customer-image {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, .15);
    border-radius: 24px;
    background: linear-gradient(135deg, #ecfdf5, #fff7ed);
}

.mmco-ccl-media-preview {
    aspect-ratio: 1.16 / 1;
}

.mmco-ccl-option-image {
    aspect-ratio: 1 / .78;
}

.mmco-ccl-media-preview img,
.mmco-ccl-option-image img,
.mmco-ccl-customer-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mmco-ccl-media-preview span,
.mmco-ccl-option-image span,
.mmco-ccl-customer-image span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #0f766e;
    font-weight: 950;
    text-align: center;
}

.mmco-ccl-group-main {
    display: grid;
    gap: 13px;
}

.mmco-ccl-field-grid {
    display: grid;
    grid-template-columns: 1fr minmax(250px, .8fr);
    gap: 13px;
}

.mmco-ccl-group-actions,
.mmco-ccl-option-actions,
.mmco-ccl-options-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mmco-ccl-options-head {
    justify-content: space-between;
    margin: 18px 0 12px;
}

.mmco-ccl-options-head strong {
    color: var(--mmco-ccl-ink);
    font-size: 1rem;
    font-weight: 950;
}

.mmco-ccl-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.mmco-ccl-option {
    display: grid;
    gap: 11px;
    border: 1px solid var(--mmco-ccl-border);
    border-radius: 24px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(3, 8, 18, .05);
}

.mmco-ccl-option-description {
    grid-column: 1 / -1;
}

.mmco-ccl-pack-wrap details {
    border: 1px solid var(--mmco-ccl-border);
    border-radius: 28px;
    padding: 18px;
    background: #fff;
}

.mmco-ccl-pack-wrap summary {
    cursor: pointer;
    color: var(--mmco-ccl-ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.mmco-ccl-packs {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.mmco-ccl-pack {
    display: grid;
    grid-template-columns: 1.1fr 120px 130px 1.3fr auto;
    gap: 10px;
    align-items: center;
}

.mmco-ccl-notes {
    padding-bottom: 10px;
}

.mmco-ccl-modal-foot span {
    flex: 1 1 auto;
    color: #0f766e;
    font-weight: 900;
}

.mmco-ccl-loading,
.mmco-ccl-error {
    display: grid;
    place-items: center;
    min-height: 360px;
    gap: 14px;
    padding: 40px;
    text-align: center;
}

.mmco-ccl-loading div {
    width: 44px;
    height: 44px;
    border: 5px solid rgba(15, 118, 110, .18);
    border-top-color: #0f766e;
    border-radius: 999px;
    animation: mmco-ccl-spin 1s linear infinite;
}

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

/* Customer product page selector */
.mmco-ccl-customer-builder {
    clear: both;
    margin: 28px 0;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 34px;
    background: radial-gradient(circle at top left, rgba(16, 185, 129, .14), transparent 35%), linear-gradient(135deg, #ffffff, #f8fafc 58%, #fff7ed);
    box-shadow: 0 22px 60px rgba(3, 8, 18, .08);
}

.mmco-ccl-customer-head {
    margin-bottom: 22px;
}

.mmco-ccl-customer-head h3 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.mmco-ccl-customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 16px;
}

.mmco-ccl-customer-card {
    display: grid;
    gap: 13px;
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: 28px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(3, 8, 18, .06);
}

.mmco-ccl-customer-image {
    aspect-ratio: 1.16 / .82;
}

.mmco-ccl-customer-copy strong {
    display: block;
    color: var(--mmco-ccl-ink);
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: -.02em;
}

.mmco-ccl-customer-copy p {
    margin: 6px 0 0;
    color: var(--mmco-ccl-muted);
    font-size: .92rem;
    line-height: 1.45;
}

.mmco-ccl-single-select,
.mmco-ccl-side-selects label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.mmco-ccl-single-select select,
.mmco-ccl-side-selects select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(15, 118, 110, .2);
    border-radius: 16px;
    padding: 10px 12px;
    background: #fff;
    color: var(--mmco-ccl-ink);
    font-size: .96rem;
    font-weight: 800;
}

.mmco-ccl-side-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mmco-ccl-selected-preview {
    min-height: 48px;
    border-radius: 16px;
    padding: 11px 12px;
    background: #ecfdf5;
    color: #0f3d3a;
    font-size: .88rem;
    font-weight: 750;
    line-height: 1.45;
}

.mmco-ccl-pack-options {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: 24px;
    padding: 16px;
    background: #fff;
}

.mmco-ccl-pack-options strong {
    color: var(--mmco-ccl-ink);
    font-size: 1rem;
    font-weight: 950;
}

.mmco-ccl-pack-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mmco-ccl-ink);
    font-weight: 800;
}

.mmco-ccl-pack-options small {
    display: block;
    margin: -6px 0 4px 26px;
    color: var(--mmco-ccl-muted);
}

@media (max-width: 1080px) {
    .mmco-ccl-toolbar {
        grid-template-columns: 1fr 1fr;
    }
    .mmco-ccl-group-top,
    .mmco-ccl-field-grid {
        grid-template-columns: 1fr;
    }
    .mmco-ccl-pack {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .mmco-ccl-modal__panel {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    .mmco-ccl-modal-head,
    .mmco-ccl-modal-foot {
        align-items: stretch;
        flex-direction: column;
    }
    .mmco-ccl-toolbar,
    .mmco-ccl-pack,
    .mmco-ccl-side-selects {
        grid-template-columns: 1fr;
    }
    .mmco-ccl-modal-foot button,
    .mmco-ccl-toolbar button {
        width: 100%;
    }
    .mmco-ccl-customer-grid {
        grid-template-columns: 1fr;
    }
}

/* MetaMeat pack-card mount: this is the exact card that renders as
   <aside class="mmco-pack-contents mmco-pack-contents-wide"> on product pages. */
.mmco-pack-contents.mmco-ccl-host,
.mmco-pack-contents-wide.mmco-ccl-host {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.mmco-pack-contents.mmco-ccl-host > [data-mmco-ccl-original-pack-list],
.mmco-pack-contents-wide.mmco-ccl-host > [data-mmco-ccl-original-pack-list] {
    display: none !important;
}

.mmco-pack-contents.mmco-ccl-host > strong,
.mmco-pack-contents-wide.mmco-ccl-host > strong {
    display: block;
    margin-bottom: 12px;
}

.mmco-pack-contents.mmco-ccl-host .mmco-ccl-customer-builder,
.mmco-pack-contents-wide.mmco-ccl-host .mmco-ccl-customer-builder {
    margin: 18px 0 0 !important;
}

.mmco-ccl-footer-fallback {
    position: relative;
    z-index: 1;
}

.mmco-ccl-customer-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
}

.mmco-ccl-customer-head > .mmco-ccl-kicker,
.mmco-ccl-customer-head > h3,
.mmco-ccl-customer-head > p {
    grid-column: 1;
}

.mmco-ccl-customer-status {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
    display: flex;
    justify-content: flex-end;
}

.mmco-ccl-customer-status span,
.mmco-ccl-progress-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, .22);
    background: #f0fdf4;
    color: #0f766e;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mmco-ccl-customer-status span.is-complete,
.mmco-ccl-progress-pill.is-complete {
    background: linear-gradient(135deg, #064e3b, #0f766e);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(15, 118, 110, .22);
}

.mmco-ccl-customer-alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(180, 35, 24, .22);
    background: linear-gradient(135deg, #fff1f0, #fff7ed);
    color: #9f1239;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(180, 35, 24, .08);
}

.mmco-ccl-single-select select.is-mmco-ccl-missing,
.mmco-ccl-side-selects select.is-mmco-ccl-missing {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .14) !important;
}

.mmco-ccl-customer-card {
    position: relative;
    overflow: hidden;
}

.mmco-ccl-customer-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #064e3b, #10b981, #f59e0b);
    opacity: .9;
}

.mmco-ccl-customer-card:focus-within {
    border-color: rgba(15, 118, 110, .48);
    box-shadow: 0 18px 44px rgba(15, 118, 110, .16);
    transform: translateY(-1px);
}

.mmco-ccl-customer-image {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #064e3b, #0f766e);
}

.mmco-ccl-customer-builder.is-mmco-ccl-complete {
    border-color: rgba(15, 118, 110, .34);
}

@media (max-width: 720px) {
    .mmco-ccl-customer-head {
        grid-template-columns: 1fr;
    }
    .mmco-ccl-customer-status {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
    }
}

/* v1.3.0 MetaMeat product-page mount and customer card layout */
.mmco-pack-contents.mmco-ccl-pack-host,
.mmco-pack-contents-wide.mmco-ccl-pack-host,
.mmco-pack-contents.mmco-ccl-host,
.mmco-pack-contents-wide.mmco-ccl-host {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: clamp(12px, 2vw, 22px) !important;
}

.mmco-pack-contents.mmco-ccl-pack-host .mmco-ccl-customer-builder,
.mmco-pack-contents-wide.mmco-ccl-pack-host .mmco-ccl-customer-builder,
.mmco-pack-contents.mmco-ccl-host .mmco-ccl-customer-builder,
.mmco-pack-contents-wide.mmco-ccl-host .mmco-ccl-customer-builder {
    margin: 0 !important;
}

.mmco-ccl-builder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mmco-ccl-builder-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 118, 110, .1);
    color: #0f766e;
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.mmco-ccl-customer-notice {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(180, 35, 24, .22);
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(251, 191, 36, .24), transparent 38%), linear-gradient(135deg, #fff1f2, #fff7ed);
    color: #9f1239;
    box-shadow: 0 16px 36px rgba(180, 35, 24, .10);
}

.mmco-ccl-customer-notice[hidden] {
    display: none !important;
}

.mmco-ccl-customer-notice strong {
    font-size: 1rem;
    font-weight: 950;
}

.mmco-ccl-customer-notice span {
    color: #7f1d1d;
    font-weight: 800;
    line-height: 1.45;
}

.mmco-ccl-customer-card {
    grid-template-columns: minmax(220px, .78fr) minmax(260px, 1fr);
    align-items: stretch;
}

.mmco-ccl-customer-media-panel {
    display: grid;
    gap: 12px;
    align-content: start;
}

.mmco-ccl-customer-image {
    width: 100%;
    min-height: 210px;
}

.mmco-ccl-customer-select-panel {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.mmco-ccl-customer-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.mmco-ccl-cut-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mmco-ccl-cut-desc {
    margin: 0 !important;
}

.mmco-ccl-single-select span,
.mmco-ccl-side-selects label > span {
    color: #0f766e;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mmco-ccl-select.is-missing,
.mmco-ccl-single-select select.is-missing,
.mmco-ccl-side-selects select.is-missing {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .14), 0 10px 24px rgba(239, 68, 68, .10) !important;
}

.mmco-ccl-pack-options-head {
    display: grid;
    gap: 4px;
    margin-bottom: 4px;
}

.mmco-ccl-pack-options-head p {
    margin: 0;
    color: var(--mmco-ccl-muted);
    font-size: .9rem;
}

.mmco-ccl-awaiting-pack-host {
    margin: 24px auto !important;
}

@media (max-width: 860px) {
    .mmco-ccl-customer-card {
        grid-template-columns: 1fr;
    }
    .mmco-ccl-customer-image {
        min-height: 230px;
    }
}

.mmco-ccl-builder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mmco-ccl-builder-tags span,
.mmco-ccl-cut-kicker {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: #f0fdf4;
    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, .16);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mmco-ccl-customer-media-panel {
    display: grid;
    gap: 12px;
}

.mmco-ccl-customer-select-panel {
    display: grid;
    gap: 10px;
}

.mmco-ccl-pack-options-head {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
}

.mmco-ccl-pack-options-head p {
    margin: 0;
    color: var(--mmco-ccl-muted);
    line-height: 1.45;
}

.mmco-ccl-customer-notice {
    margin: 0 0 18px;
    padding: 15px 16px;
    border-radius: 20px;
    border: 1px solid rgba(180, 35, 24, .20);
    background: linear-gradient(135deg, #fff1f0, #fff7ed);
    color: #9f1239;
    font-weight: 850;
    box-shadow: 0 16px 36px rgba(180, 35, 24, .08);
}

.mmco-ccl-customer-notice strong {
    display: block;
    color: #7f1d1d;
    font-weight: 950;
    margin-bottom: 3px;
}

.mmco-ccl-customer-notice span {
    display: block;
}

/* v1.4 modal safety: the vendor builder modal must never leak into customer product pages. */
html.mmco-ccl-modal-open,
html.mmco-ccl-modal-open body {
    overflow: hidden !important;
}
.mmco-ccl-modal[aria-hidden="true"],
.mmco-ccl-modal[hidden] {
    display: none !important;
    pointer-events: none !important;
}
body.single-product .mmco-ccl-modal,
body.single-product .mmco-ccl-row-button,
body.single-product .mmco-ccl-row-badge {
    display: none !important;
}
body.single-product .mmco-ccl-customer-builder {
    display: block !important;
}

/* v1.5.0 customer cut-list polish, packing cards, synced checkout panel */
.mmco-ccl-customer-builder {
    clear: both;
    margin: 28px 0;
    padding: clamp(20px, 4vw, 36px);
    border: 0 !important;
    border-radius: 34px;
    background: none !important;
    box-shadow: none !important;
}

.mmco-pack-contents p,
.mmco-product-pack-details .mmco-pack-contents p,
.mmco-ccl-customer-builder p {
    color: rgb(0 0 0 / 82%) !important;
    text-align: left !important;
}

.mmco-ccl-customer-grid {
    gap: clamp(16px, 2vw, 24px);
}

.mmco-ccl-customer-card {
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08) !important;
}

.mmco-ccl-pack-options {
    margin-top: 26px !important;
    padding: clamp(18px, 3vw, 26px) !important;
    border: 1px solid rgba(15, 118, 110, .14) !important;
    border-radius: 28px !important;
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06) !important;
}

.mmco-ccl-pack-options-head {
    margin-bottom: 14px !important;
}

.mmco-ccl-pack-options-head strong {
    display: block;
    color: #0f172a !important;
    font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
    line-height: 1.1;
}

.mmco-ccl-pack-option-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.mmco-ccl-pack-choice {
    position: relative;
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 12px !important;
    align-items: flex-start !important;
    min-height: 104px;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: 22px;
    background: #fff;
    color: #0f172a !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.mmco-ccl-pack-choice:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 118, 110, .38);
    box-shadow: 0 16px 34px rgba(15, 118, 110, .10);
}

.mmco-ccl-pack-choice input {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: #0f766e;
}

.mmco-ccl-pack-choice span {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.mmco-ccl-pack-choice span strong {
    color: #0f172a !important;
    font-size: 1rem !important;
    line-height: 1.2;
}

.mmco-ccl-pack-choice span em {
    justify-self: start;
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-style: normal;
    font-size: .78rem;
    font-weight: 950;
}

.mmco-ccl-pack-choice span small {
    margin: 0 !important;
    color: #475569 !important;
    line-height: 1.35;
    font-size: .88rem;
    font-weight: 700;
}

.mmco-ccl-pack-choice:has(input:checked),
.mmco-ccl-pack-choice input:checked + span {
    border-color: rgba(15, 118, 110, .56);
}

.mmco-ccl-pack-choice:has(input:checked) {
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
    box-shadow: 0 18px 40px rgba(15, 118, 110, .13);
}

.mmco-ccl-purchase-panel {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 30px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: radial-gradient(circle at top right, rgba(16, 185, 129, .12), transparent 34%), #0f172a;
    color: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

.mmco-ccl-price-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mmco-ccl-price-summary > div {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.mmco-ccl-price-summary span {
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mmco-ccl-price-summary strong,
.mmco-ccl-price-summary .woocommerce-Price-amount {
    color: #fff !important;
    font-size: clamp(1.15rem, 2vw, 1.75rem);
    line-height: 1.1;
    font-weight: 950;
}

.mmco-ccl-price-total {
    background: linear-gradient(135deg, rgba(16, 185, 129, .28), rgba(15, 118, 110, .20)) !important;
}

.mmco-ccl-purchase-actions,
.mmco-ccl-purchase-actions .mmco-pack-actions,
.mmco-ccl-purchase-actions form.cart {
    display: grid !important;
    gap: 12px;
    width: 100%;
    margin: 0 !important;
}

.mmco-ccl-purchase-actions .button,
.mmco-ccl-purchase-actions button,
.mmco-ccl-purchase-actions .single_add_to_cart_button,
.mmco-ccl-purchase-actions .mmco-pack-add-cart {
    width: 100% !important;
    min-height: 58px;
    justify-content: center;
    border-radius: 999px !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    letter-spacing: .04em;
}

.mmco-ccl-price-note {
    margin: 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: .9rem;
}

body.mmco-ccl-has-customer-builder .mmco-product-pack-details .mmco-pack-price-stack {
    display: none !important;
}

body.mmco-ccl-has-customer-builder form.cart:not(.mmco-ccl-form-moved):not([data-mmco-ccl-fallback-cart-form]) {
    display: none !important;
}

@media (max-width: 760px) {
    .mmco-ccl-price-summary {
        grid-template-columns: 1fr;
    }
    .mmco-ccl-pack-option-list {
        grid-template-columns: 1fr;
    }
}

/* v1.6.0: white purchase panel and no top ribbon on cut cards */
.mmco-ccl-customer-card::before {
    display: none !important;
    content: none !important;
}

.mmco-ccl-purchase-panel {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08) !important;
}

.mmco-ccl-price-summary > div {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
}

.mmco-ccl-price-total {
    background: #f8fafc !important;
}

.mmco-ccl-price-summary span {
    color: #475569 !important;
}

.mmco-ccl-price-summary strong,
.mmco-ccl-price-summary .woocommerce-Price-amount {
    color: #0f172a !important;
}

.mmco-ccl-price-note {
    color: #475569 !important;
}

.mmco-ccl-submit-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 58px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    letter-spacing: .04em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .18) !important;
}

.mmco-ccl-submit-button:hover,
.mmco-ccl-submit-button:focus {
    background: #064e3b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}
