:root {
    --lmpc-bg: #08090a;
    --lmpc-surface: #131416;
    --lmpc-surface-2: #1b1d20;
    --lmpc-line: rgba(255, 255, 255, .13);
    --lmpc-text: #f7f7f5;
    --lmpc-muted: #a8aaae;
    --lmpc-paper: #f1f0eb;
    --lmpc-ink: #111214;
    --lmpc-accent: #fff;
    --lmpc-focus: #fff;
}

.lmpc-shell,
.lmpc-shell * {
    box-sizing: border-box;
}

.lmpc-shell {
    min-height: 50vh;
    padding: clamp(28px, 4vw, 58px) clamp(14px, 3vw, 34px) 76px;
    background:
        radial-gradient(circle at 50% -12%, rgba(255, 255, 255, .09), transparent 31%),
        var(--lmpc-bg);
    color: var(--lmpc-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lmpc-eyebrow {
    color: #c6c7ca;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.lmpc-catalog {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.lmpc-catalog__controls {
    display: grid;
    grid-template-columns: minmax(300px, .75fr) minmax(320px, 1.25fr);
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
    border: 1px solid var(--lmpc-line);
    border-radius: 18px;
    padding: 15px;
    background: rgba(19, 20, 22, .92);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.lmpc-group-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-radius: 12px;
    padding: 4px;
    background: #08090a;
}

.lmpc-group-tabs button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 8px 12px;
    background: transparent;
    color: #a9abb0;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
}

.lmpc-group-tabs button[aria-pressed="true"] {
    border-color: #f4f4f4;
    background: #f4f4f4;
    color: #111;
}

.lmpc-group-tabs button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.lmpc-group-tabs small {
    min-width: 25px;
    height: 25px;
    display: inline-grid;
    place-items: center;
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    font-size: 11px;
}

.lmpc-group-tabs button[aria-pressed="true"] small {
    background: #18191b;
    color: #fff;
}

.lmpc-search {
    position: relative;
}

.lmpc-search > label,
.lmpc-filter-row > span {
    display: block;
    margin: 0 0 7px 2px;
    color: #b8bac0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lmpc-search__field {
    min-height: 48px;
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 8px;
    border: 1px solid #3b3d42;
    border-radius: 12px;
    padding: 0 12px;
    background: #08090a;
}

.lmpc-search__field:focus-within {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
}

.lmpc-search__field > span {
    color: #d4d5d7;
    font-size: 25px;
    line-height: 1;
    transform: rotate(-18deg);
}

.lmpc-search input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0;
    padding: 12px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font: inherit;
    font-size: 14px;
}

.lmpc-search input::placeholder {
    color: #74777d;
}

.lmpc-search__field button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #2c2e32;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.lmpc-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 30;
    overflow: hidden;
    border: 1px solid #3b3d42;
    border-radius: 13px;
    padding: 5px;
    background: #17191c;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

.lmpc-suggestion {
    width: 100%;
    display: grid;
    grid-template-columns: 45px 1fr auto;
    align-items: center;
    gap: 11px;
    border: 0;
    border-radius: 9px;
    padding: 7px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.lmpc-suggestion:hover,
.lmpc-suggestion.is-selected {
    background: #292b2f;
}

.lmpc-suggestion img {
    width: 45px;
    height: 45px;
    border-radius: 7px;
    background: var(--lmpc-paper);
    object-fit: contain;
}

.lmpc-suggestion strong,
.lmpc-suggestion small {
    display: block;
}

.lmpc-suggestion small {
    margin-top: 3px;
    color: #aeb0b5;
}

.lmpc-suggestion > span:last-child {
    color: #96999f;
    font-size: 18px;
}

.lmpc-filter-row {
    margin: 0 0 16px;
    border-bottom: 1px solid var(--lmpc-line);
    padding: 2px 2px 16px;
}

.lmpc-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.lmpc-filter-chips button {
    flex: 0 0 auto;
    min-height: 35px;
    border: 1px solid #383a3f;
    border-radius: 999px;
    padding: 7px 14px;
    background: transparent;
    color: #b9bbc0;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.lmpc-filter-chips button:hover,
.lmpc-filter-chips button.is-active {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.lmpc-catalog__summary {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 0 2px 12px;
    color: #8f9298;
    font-size: 12px;
}

.lmpc-catalog__summary strong {
    color: #fff;
    font-size: 15px;
}

.lmpc-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.lmpc-product {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lmpc-line);
    border-radius: 16px;
    background: var(--lmpc-surface);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lmpc-product:hover {
    border-color: rgba(255, 255, 255, .35);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .3);
    transform: translateY(-3px);
}

.lmpc-product.is-highlighted {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), 0 20px 50px rgba(0, 0, 0, .35);
}

.lmpc-product__image {
    position: relative;
    aspect-ratio: 1.18 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(229, 228, 222, .98)),
        var(--lmpc-paper);
}

.lmpc-product__image::after {
    position: absolute;
    right: 14%;
    bottom: 11px;
    left: 14%;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .13);
    filter: blur(9px);
    content: "";
}

.lmpc-product__image img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .25s ease;
}

.lmpc-product:hover .lmpc-product__image img {
    transform: scale(1.035);
}

.lmpc-product__body {
    min-height: 255px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.lmpc-product h2 {
    min-height: 44px;
    margin: 6px 0 3px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.25;
}

.lmpc-presentation,
.lmpc-available {
    margin: 0;
    color: var(--lmpc-muted);
    font-size: 12px;
    line-height: 1.45;
}

.lmpc-includes {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0 0;
    color: #d2d3d5;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lmpc-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: auto;
    padding-top: 15px;
}

.lmpc-price del {
    color: #7d8086;
    font-size: 11px;
}

.lmpc-price strong {
    color: #fff;
    font-size: 18px;
    letter-spacing: -.02em;
}

.lmpc-available {
    margin-top: 4px;
}

.lmpc-product__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 13px;
}

.lmpc-product__actions > :only-child {
    grid-column: 1 / -1;
}

.lmpc-more,
.lmpc-add,
.lmpc-pay,
.lmpc-link,
.lmpc-empty-results button {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 8px 12px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.lmpc-more {
    border-color: #42454a;
    background: transparent;
    color: #dadbdd;
}

.lmpc-more:hover {
    border-color: #fff;
    color: #fff;
}

.lmpc-add:hover,
.lmpc-pay:hover,
.lmpc-link:hover {
    background: #dedfdf;
    color: #111;
}

.lmpc-add:disabled,
.lmpc-pay:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.lmpc-empty-results {
    margin: 18px 0 0;
    border: 1px dashed #3b3d42;
    border-radius: 16px;
    padding: 36px 18px;
    color: #fff;
    text-align: center;
}

.lmpc-empty-results strong {
    font-size: 18px;
}

.lmpc-empty-results p {
    margin: 6px 0 16px;
    color: var(--lmpc-muted);
}

.lmpc-cart-fab {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 9997;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: 9px 11px 9px 18px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .48);
    color: #111;
    cursor: pointer;
    font: inherit;
    font-weight: 850;
}

.lmpc-cart-fab span {
    min-width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    margin-left: 7px;
    border-radius: 99px;
    background: #111;
    color: #fff;
}

.lmpc-product-modal[hidden],
.lmpc-modal[hidden],
.lmpc-shell [hidden] {
    display: none !important;
}

.lmpc-product-modal,
.lmpc-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
}

.lmpc-product-modal__backdrop,
.lmpc-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(10px);
}

.lmpc-product-modal__panel {
    width: min(920px, calc(100% - 28px));
    max-height: min(720px, calc(100vh - 34px));
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
    overflow: auto;
    border: 1px solid #3a3c40;
    border-radius: 20px;
    background: #151619;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
    color: #fff;
    transform: translate(-50%, -50%);
}

.lmpc-product-modal__close,
.lmpc-modal__close {
    width: 38px;
    height: 38px;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(12, 13, 14, .82);
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.lmpc-product-modal__image {
    min-height: 470px;
    display: grid;
    place-items: center;
    padding: 34px;
    background: linear-gradient(145deg, #fff, #deddd7);
}

.lmpc-product-modal__image img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    object-fit: contain;
    mix-blend-mode: normal;
}

.lmpc-product-modal__content {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 48px);
}

.lmpc-product-modal__content h2 {
    margin: 8px 0 5px;
    font-size: clamp(25px, 3.5vw, 38px);
    letter-spacing: -.03em;
    line-height: 1.08;
}

.lmpc-product-modal__description {
    margin-top: 22px;
    color: #c9cace;
    font-size: 14px;
    line-height: 1.7;
}

.lmpc-product-modal__description:empty {
    display: none;
}

.lmpc-detail-benefits {
    margin-top: 20px;
    border: 1px solid #34363a;
    border-radius: 11px;
    padding: 13px 15px;
    background: #0d0e10;
}

.lmpc-detail-benefits strong {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.lmpc-detail-benefits ul {
    margin: 0;
    padding-left: 18px;
    color: #c6c7ca;
    font-size: 13px;
}

.lmpc-product-modal__footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 28px;
}

.lmpc-product-modal__footer > strong {
    font-size: 23px;
}

.lmpc-modal__panel {
    width: min(620px, 100%);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    padding: 32px;
    background: #fff;
    box-shadow: -18px 0 60px rgba(0, 0, 0, .35);
    color: #111;
}

.lmpc-modal__panel .lmpc-modal__close {
    border-color: #ddd;
    background: #fff;
    color: #111;
}

.lmpc-cart-line {
    display: grid;
    grid-template-columns: 58px 1fr auto auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
}

.lmpc-cart-line img {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    background: #eee;
    object-fit: contain;
}

.lmpc-cart-line small {
    display: block;
    margin-top: 3px;
    color: #666;
}

.lmpc-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lmpc-qty button {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 99px;
    background: #fff;
}

.lmpc-totals {
    margin: 16px 0;
    border-top: 2px solid #111;
    padding-top: 10px;
}

.lmpc-totals span {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.lmpc-totals .total {
    font-size: 20px;
}

.lmpc-modal form {
    display: grid;
    gap: 14px;
}

.lmpc-modal label:not(.lmpc-check) {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.lmpc-modal input,
.lmpc-modal select {
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 9px;
    padding: 12px;
    background: #fff;
    color: #111;
    font: inherit;
}

.lmpc-check {
    font-size: 13px;
    line-height: 1.45;
}

.lmpc-check input {
    width: auto;
    margin-right: 6px;
}

.lmpc-policy {
    border-radius: 10px;
    padding: 12px;
    background: #f0f0f0;
    font-size: 13px;
}

.lmpc-error,
.lmpc-notice {
    max-width: 900px;
    margin: 20px auto;
    border: 1px solid #864040;
    border-radius: 12px;
    padding: 16px;
    background: #4d1717;
    color: #fff;
}

.lmpc-hp {
    position: absolute !important;
    left: -10000px !important;
}

.lmpc-return {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--lmpc-line);
    border-radius: 20px;
    padding: 32px;
    background: #171717;
    text-align: center;
}

.lmpc-return__qr {
    width: min(360px, 100%);
    border-radius: 18px;
    padding: 12px;
    background: #fff;
}

.lmpc-lock {
    overflow: hidden;
}

.lmpc-group-tabs button:focus-visible,
.lmpc-filter-chips button:focus-visible,
.lmpc-search input:focus-visible,
.lmpc-more:focus-visible,
.lmpc-add:focus-visible,
.lmpc-cart-fab:focus-visible,
.lmpc-product-modal button:focus-visible,
.lmpc-modal button:focus-visible {
    outline: 3px solid var(--lmpc-focus);
    outline-offset: 2px;
}

@media (max-width: 1120px) {
    .lmpc-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .lmpc-catalog__controls {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .lmpc-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmpc-product-modal__panel {
        grid-template-columns: minmax(240px, .8fr) minmax(300px, 1.2fr);
    }
}

@media (max-width: 600px) {
    .lmpc-shell {
        padding: 25px 12px 88px;
    }

    .lmpc-catalog__controls {
        gap: 13px;
        border-radius: 15px;
        padding: 11px;
    }

    .lmpc-products {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .lmpc-product {
        display: grid;
        grid-template-columns: 42% 58%;
    }

    .lmpc-product__image {
        min-height: 100%;
        aspect-ratio: auto;
        padding: 12px;
    }

    .lmpc-product__body {
        min-height: 245px;
        padding: 14px;
    }

    .lmpc-product h2 {
        min-height: 0;
        font-size: 16px;
    }

    .lmpc-product__actions {
        grid-template-columns: 1fr;
    }

    .lmpc-product__actions > * {
        grid-column: auto;
    }

    .lmpc-product-modal__panel {
        width: 100%;
        max-height: calc(100vh - max(12px, env(safe-area-inset-top)));
        top: auto;
        bottom: 0;
        left: 0;
        display: block;
        border-radius: 20px 20px 0 0;
        transform: none;
    }

    .lmpc-product-modal__image {
        min-height: 265px;
        height: 36vh;
        padding: 25px;
    }

    .lmpc-product-modal__image img {
        max-height: 100%;
    }

    .lmpc-product-modal__content {
        min-height: 330px;
        padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
    }

    .lmpc-product-modal__footer {
        grid-template-columns: 1fr;
    }

    .lmpc-modal__panel {
        padding: 28px 16px calc(20px + env(safe-area-inset-bottom));
    }

    .lmpc-cart-line {
        grid-template-columns: 48px 1fr auto;
    }

    .lmpc-cart-line > strong {
        grid-column: 2 / -1;
    }

    .lmpc-cart-line img {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lmpc-product,
    .lmpc-product__image img {
        transition: none;
    }
}

/* v0.5 — containment against Elementor/theme button and form styles. */
.lmpc-shell {
    isolation: isolate;
    overflow: clip;
    -webkit-tap-highlight-color: transparent;
}

.lmpc-shell button,
.lmpc-shell input,
.lmpc-shell select,
.lmpc-shell textarea {
    appearance: none;
    -webkit-appearance: none;
    filter: none !important;
    text-shadow: none !important;
}

.lmpc-search__field,
.lmpc-search__field:hover,
.lmpc-search__field:focus-within {
    background: #08090a !important;
}

.lmpc-search,
.lmpc-search:hover,
.lmpc-search:focus-within {
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lmpc-search::before,
.lmpc-search::after,
.lmpc-search__field::before,
.lmpc-search__field::after {
    display: none !important;
    content: none !important;
}

.lmpc-search input,
.lmpc-search input:hover,
.lmpc-search input:focus,
.lmpc-search input:active {
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
}

.lmpc-catalog__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 2px 14px;
}

.lmpc-catalog__toolbar .lmpc-catalog__summary {
    margin: 0;
}

.lmpc-cart-button {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #fff !important;
    border-radius: 999px !important;
    padding: 7px 8px 7px 16px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #111 !important;
    cursor: pointer;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    transform: none !important;
}

.lmpc-cart-button:hover,
.lmpc-cart-button:focus {
    border-color: #fff !important;
    background: #e8e8e6 !important;
    color: #111 !important;
}

.lmpc-cart-button span {
    min-width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 99px;
    background: #111;
    color: #fff;
}

.lmpc-product__image {
    aspect-ratio: 1.32 / 1;
    padding: 13px;
}

.lmpc-product__body {
    min-height: 205px;
    padding: 13px;
}

.lmpc-product__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin: 5px 0 3px;
}

.lmpc-product__title h2 {
    min-height: 0;
    flex: 1;
    margin: 0;
    font-size: 16px;
}

.lmpc-info {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    display: inline-grid !important;
    place-items: center;
    border: 1px solid #62656b !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer;
    font: 800 12px/1 Georgia, serif !important;
    transform: none !important;
}

.lmpc-info:hover,
.lmpc-info:focus {
    border-color: #fff !important;
    background: #fff !important;
    color: #111 !important;
}

.lmpc-price {
    padding-top: 10px;
}

.lmpc-product__actions {
    display: block;
    margin-top: 10px;
}

.lmpc-shell .lmpc-add,
.lmpc-shell .lmpc-pay,
.lmpc-shell .lmpc-empty-results button {
    width: 100%;
    border: 1px solid #fff !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #111 !important;
    transform: none !important;
}

.lmpc-shell .lmpc-add:hover,
.lmpc-shell .lmpc-add:focus,
.lmpc-shell .lmpc-pay:hover,
.lmpc-shell .lmpc-pay:focus {
    background: #e5e5e3 !important;
    color: #111 !important;
}

.lmpc-product-modal__backdrop,
.lmpc-product-modal__backdrop:hover,
.lmpc-product-modal__backdrop:focus,
.lmpc-modal__backdrop,
.lmpc-modal__backdrop:hover,
.lmpc-modal__backdrop:focus {
    background: rgba(0, 0, 0, .82) !important;
    box-shadow: none !important;
    cursor: default;
}

.lmpc-product-modal__close,
.lmpc-modal__close,
.lmpc-product-modal__close:hover,
.lmpc-modal__close:hover,
.lmpc-product-modal__close:focus,
.lmpc-modal__close:focus {
    display: inline-grid !important;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .32) !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: #111 !important;
    box-shadow: none !important;
    color: #fff !important;
    transform: none !important;
}

.lmpc-modal__panel {
    color: #111 !important;
}

.lmpc-modal__panel h2,
.lmpc-modal__panel strong,
.lmpc-modal__panel label,
.lmpc-modal__panel p,
.lmpc-modal__panel span {
    color: inherit;
}

.lmpc-modal__panel input:not([type="checkbox"]),
.lmpc-modal__panel select,
.lmpc-modal__panel textarea,
.lmpc-modal__panel input:not([type="checkbox"]):hover,
.lmpc-modal__panel select:hover,
.lmpc-modal__panel input:not([type="checkbox"]):focus,
.lmpc-modal__panel select:focus {
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid #b9b9b9 !important;
    border-radius: 9px !important;
    outline: 0 !important;
    padding: 11px 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #111 !important;
    font: inherit !important;
}

.lmpc-qty button,
.lmpc-qty button:hover,
.lmpc-qty button:focus {
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #111 !important;
    line-height: 1 !important;
    transform: none !important;
}

.lmpc-check {
    position: relative;
    display: grid !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 11px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    padding: 12px 13px;
    background: #f7f7f5;
    color: #333 !important;
    cursor: pointer;
    font-weight: 500 !important;
}

.lmpc-check input[type="checkbox"] {
    width: 1px !important;
    height: 1px !important;
    position: absolute !important;
    opacity: 0 !important;
}

.lmpc-toggle {
    width: 42px;
    height: 24px;
    position: relative;
    display: block;
    border-radius: 99px;
    background: #b8b8b8;
    transition: background .2s ease;
}

.lmpc-toggle::after {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    content: "";
    transition: transform .2s ease;
}

.lmpc-check input:checked + .lmpc-toggle {
    background: #111;
}

.lmpc-check input:checked + .lmpc-toggle::after {
    transform: translateX(18px);
}

.lmpc-check:focus-within {
    outline: 3px solid rgba(17, 17, 17, .22);
    outline-offset: 2px;
}

.lmpc-check a {
    color: #111 !important;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .lmpc-shell {
        padding-bottom: 36px;
    }

    .lmpc-catalog__toolbar {
        margin-bottom: 12px;
    }

    .lmpc-product__body {
        min-height: 200px;
        padding: 12px;
    }

    .lmpc-product__actions {
        margin-top: 8px;
    }

    .lmpc-modal__panel {
        width: 100%;
    }
}

/* v0.5.1 — centered, compact checkout. The site remains visible as context,
   while the modal always sits above the theme header and floating widgets. */
.lmpc-modal {
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.lmpc-modal__panel {
    width: min(1040px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 22px;
    padding: 0;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .48);
}

.lmpc-checkout-head {
    flex: none;
    border-bottom: 1px solid #dedede;
    padding: 23px 31px 19px;
    background: #fff;
}

.lmpc-checkout-head > span,
.lmpc-checkout-section-title > span {
    display: block;
    color: #6b6b6b !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lmpc-checkout-head h2 {
    margin: 3px 0 2px;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.035em;
    line-height: 1.05;
}

.lmpc-checkout-head p {
    margin: 5px 48px 0 0;
    color: #646464 !important;
    font-size: 13px;
}

.lmpc-checkout-layout {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(310px, .82fr) minmax(430px, 1.18fr);
    overflow: hidden;
}

.lmpc-checkout-summary {
    min-width: 0;
    overflow: hidden;
    border-right: 1px solid #dedede;
    padding: 24px;
    background: #f5f4f1;
}

.lmpc-checkout-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.lmpc-checkout-section-title > strong {
    font-size: 13px;
}

.lmpc-checkout-lines {
    max-height: 330px;
    overflow: auto;
    overscroll-behavior: contain;
}

.lmpc-cart-line {
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    gap: 9px;
    padding: 11px 0;
}

.lmpc-cart-line img {
    width: 48px;
    height: 48px;
}

.lmpc-cart-line > strong {
    grid-column: auto;
    text-align: right;
}

.lmpc-cart-line .lmpc-qty + strong {
    margin-top: 0;
    pointer-events: none;
}

.lmpc-totals {
    margin: 14px 0 0;
    border-top-width: 1px;
    padding-top: 9px;
}

.lmpc-modal .lmpc-checkout-form {
    min-width: 0;
    display: grid;
    gap: 11px;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 23px 27px 25px;
}

.lmpc-checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 13px;
}

.lmpc-checkout-consents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lmpc-modal .lmpc-check {
    align-content: center;
    padding: 10px 11px;
    font-size: 12px;
    line-height: 1.35;
}

.lmpc-modal .lmpc-policy {
    margin: 0;
    padding: 10px 12px;
    color: #565656 !important;
    font-size: 11px;
    line-height: 1.4;
}

.lmpc-modal .lmpc-pay {
    width: 100% !important;
    min-height: 48px;
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
    margin-top: 1px;
}

.lmpc-modal .lmpc-pay:hover,
.lmpc-modal .lmpc-pay:focus {
    background: #2b2b2b !important;
    color: #fff !important;
}

.lmpc-modal .lmpc-error {
    max-width: none;
    margin: 0;
    padding: 11px 13px;
}

@media (max-width: 820px) {
    .lmpc-modal {
        padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    }

    .lmpc-modal__panel {
        width: 100%;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - max(20px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom))));
        overflow: auto;
        border-radius: 18px;
    }

    .lmpc-checkout-head {
        padding: 21px 20px 17px;
    }

    .lmpc-checkout-layout {
        display: block;
        overflow: visible;
    }

    .lmpc-checkout-summary {
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid #dedede;
        padding: 18px;
    }

    .lmpc-checkout-lines {
        max-height: 245px;
    }

    .lmpc-modal .lmpc-checkout-form {
        overflow: visible;
        padding: 19px 18px calc(20px + env(safe-area-inset-bottom));
    }

    .lmpc-checkout-fields,
    .lmpc-checkout-consents {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lmpc-cart-line {
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }

    .lmpc-cart-line > strong {
        grid-column: 2 / -1;
    }
}

/* v0.6 — responsive catalog correction. These rules are intentionally scoped
   to the public shortcode and only override the tablet/mobile layout. */
@media (min-width: 601px) and (max-width: 1024px) {
    .lmpc-shell .lmpc-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .lmpc-shell {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: clip;
        padding: 18px max(12px, env(safe-area-inset-right)) calc(38px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }

    .lmpc-shell .lmpc-catalog,
    .lmpc-shell .lmpc-catalog__controls,
    .lmpc-shell .lmpc-filter-row,
    .lmpc-shell .lmpc-catalog__toolbar,
    .lmpc-shell .lmpc-products,
    .lmpc-shell .lmpc-product,
    .lmpc-shell .lmpc-product__image,
    .lmpc-shell .lmpc-product__body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .lmpc-shell .lmpc-catalog__controls {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        margin-bottom: 15px;
        border-radius: 16px;
        padding: 12px;
    }

    .lmpc-shell .lmpc-group-tabs {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmpc-shell .lmpc-group-tabs button,
    .lmpc-shell .lmpc-filter-chips button,
    .lmpc-shell .lmpc-cart-button,
    .lmpc-shell .lmpc-add,
    .lmpc-shell .lmpc-more,
    .lmpc-shell .lmpc-pay,
    .lmpc-shell .lmpc-qty button {
        min-height: 44px !important;
    }

    .lmpc-shell .lmpc-group-tabs button {
        padding: 9px 11px;
        font-size: 14px;
    }

    .lmpc-shell .lmpc-search__field {
        width: 100%;
        min-height: 50px;
    }

    .lmpc-shell .lmpc-filter-row {
        margin-bottom: 13px;
        padding: 1px 0 13px;
    }

    .lmpc-shell .lmpc-filter-chips {
        margin: 0 -2px;
        gap: 8px;
        padding: 1px 2px 6px;
        scroll-padding-inline: 2px;
        -webkit-overflow-scrolling: touch;
    }

    .lmpc-shell .lmpc-filter-chips button {
        padding: 9px 14px;
        font-size: 12px;
    }

    .lmpc-shell .lmpc-catalog__toolbar {
        align-items: center;
        gap: 10px;
        margin: 0 0 13px;
    }

    .lmpc-shell .lmpc-catalog__summary {
        min-width: 0;
        margin: 0;
        line-height: 1.3;
    }

    .lmpc-shell .lmpc-cart-button {
        flex: 0 0 auto;
        padding: 8px 8px 8px 14px !important;
        white-space: nowrap;
    }

    .lmpc-shell .lmpc-products {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .lmpc-shell .lmpc-product {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 15px;
    }

    .lmpc-shell .lmpc-product:hover {
        transform: none;
    }

    .lmpc-shell .lmpc-product__image {
        height: clamp(148px, 45vw, 188px);
        min-height: 0;
        flex: 0 0 auto;
        aspect-ratio: auto;
        padding: 12px;
    }

    .lmpc-shell .lmpc-product__image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .lmpc-shell .lmpc-product__body {
        min-height: 0;
        flex: 1 1 auto;
        padding: 14px;
    }

    .lmpc-shell .lmpc-product__title {
        width: 100%;
        min-width: 0;
        align-items: center;
        margin-top: 6px;
    }

    .lmpc-shell .lmpc-product__title h2 {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 17px;
        line-height: 1.25;
    }

    .lmpc-shell .lmpc-info {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        margin: -8px -8px -8px 0;
        border-color: transparent !important;
        font-size: 14px !important;
    }

    .lmpc-shell .lmpc-presentation,
    .lmpc-shell .lmpc-includes,
    .lmpc-shell .lmpc-available {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .lmpc-shell .lmpc-includes {
        margin-top: 8px;
        font-size: 12px;
    }

    .lmpc-shell .lmpc-price {
        margin-top: 12px;
        padding-top: 0;
    }

    .lmpc-shell .lmpc-price strong {
        font-size: 19px;
    }

    .lmpc-shell .lmpc-product__actions {
        margin-top: 11px;
    }

    .lmpc-shell .lmpc-add,
    .lmpc-shell .lmpc-more,
    .lmpc-shell .lmpc-pay {
        font-size: 14px !important;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__panel {
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
        left: 8px;
        right: 8px;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__image {
        height: min(220px, 29dvh);
        min-height: 160px;
        padding: 18px;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__content {
        min-height: 0;
        padding: 21px 17px calc(20px + env(safe-area-inset-bottom));
    }

    .lmpc-shell .lmpc-modal {
        width: 100vw;
        max-width: 100vw;
    }

    .lmpc-shell .lmpc-modal__panel {
        width: 100%;
        max-width: 100%;
    }

    .lmpc-shell .lmpc-cart-line {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        min-width: 0;
    }

    .lmpc-shell .lmpc-cart-line > div,
    .lmpc-shell .lmpc-cart-line strong {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .lmpc-shell .lmpc-qty button {
        width: 44px !important;
        height: 44px !important;
    }

    .lmpc-shell .lmpc-modal input:not([type="checkbox"]),
    .lmpc-shell .lmpc-modal select,
    .lmpc-shell .lmpc-modal textarea {
        min-height: 48px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 359px) {
    .lmpc-shell {
        padding-right: max(10px, env(safe-area-inset-right));
        padding-left: max(10px, env(safe-area-inset-left));
    }

    .lmpc-shell .lmpc-group-tabs button {
        gap: 5px;
        padding-inline: 8px;
        font-size: 13px;
    }

    .lmpc-shell .lmpc-product__image {
        height: 146px;
    }

    .lmpc-shell .lmpc-catalog__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .lmpc-shell .lmpc-cart-button {
        width: 100%;
    }
}

/* v0.6.1 — product detail isolation, add confirmation and iPhone checkout. */
body > .lmpc-product-modal[data-lmpc-product-modal],
body > .lmpc-product-modal[data-lmpc-product-modal] * {
    box-sizing: border-box;
}

body > .lmpc-product-modal[data-lmpc-product-modal] {
    z-index: 2147483647;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lmpc-shell .lmpc-cart-button,
.lmpc-shell .lmpc-cart-button:hover,
.lmpc-shell .lmpc-cart-button:focus {
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #fff !important;
}

.lmpc-shell .lmpc-cart-button:hover,
.lmpc-shell .lmpc-cart-button:focus {
    border-color: #1d4ed8 !important;
    background: #1d4ed8 !important;
}

.lmpc-shell .lmpc-cart-button span {
    background: #fff;
    color: #174db8;
}

.lmpc-product-modal__image {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.lmpc-product-modal__image img {
    position: relative;
    z-index: 1;
    display: block;
    mix-blend-mode: normal;
}

.lmpc-product-modal__content {
    position: relative;
    z-index: 2;
    background: #151619;
}

body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-add,
body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-add:hover,
body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-add:focus {
    width: 100% !important;
    min-height: 48px !important;
    border: 1px solid #fff !important;
    border-radius: 8px !important;
    padding: 11px 16px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #111 !important;
    cursor: pointer;
    font: inherit !important;
    font-weight: 800 !important;
    transform: none !important;
}

.lmpc-added-modal[hidden] {
    display: none !important;
}

.lmpc-added-modal,
.lmpc-added-modal * {
    box-sizing: border-box;
}

.lmpc-added-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lmpc-added-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .84);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.lmpc-added-modal__panel {
    width: min(470px, 100%);
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 17px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    padding: 24px;
    background: #151619;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
    color: #fff;
}

.lmpc-added-modal__check {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.lmpc-added-modal__panel h2 {
    margin: 5px 0 6px;
    color: #fff;
    font-size: clamp(21px, 5vw, 27px);
    line-height: 1.1;
}

.lmpc-added-modal__panel p {
    margin: 0;
    color: #b8bac0;
    font-size: 14px;
    line-height: 1.5;
}

.lmpc-added-modal__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
}

.lmpc-added-modal__actions button {
    min-height: 48px !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    transform: none !important;
}

.lmpc-added-modal__continue,
.lmpc-added-modal__continue:hover,
.lmpc-added-modal__continue:focus {
    border: 1px solid #4a4d54 !important;
    background: #202226 !important;
    color: #fff !important;
}

.lmpc-added-modal__checkout,
.lmpc-added-modal__checkout:hover,
.lmpc-added-modal__checkout:focus {
    border: 1px solid #2563eb !important;
    background: #2563eb !important;
    color: #fff !important;
}

.lmpc-added-modal__checkout span {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    margin-left: 6px;
    border-radius: 99px;
    background: #fff;
    color: #174db8;
}

/* Checkout is intentionally moved to body by public.js. It therefore needs
   its own containment instead of depending on .lmpc-shell inheritance. */
.lmpc-modal[data-lmpc-modal],
.lmpc-modal[data-lmpc-modal] * {
    box-sizing: border-box;
}

body > .lmpc-modal[data-lmpc-modal] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    z-index: 2147483647;
    overflow: hidden;
    --lmpc-focus: #111;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body > .lmpc-modal[data-lmpc-modal] .lmpc-modal__panel,
body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-layout,
body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-summary,
body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-form,
body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-fields,
body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-consents {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 600px) {
    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__panel {
        width: auto;
        max-width: none;
        max-height: none;
        top: max(96px, calc(env(safe-area-inset-top) + 48px));
        right: max(8px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 19px;
        -webkit-overflow-scrolling: touch;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__image {
        width: 100%;
        height: clamp(280px, 42dvh, 380px);
        min-height: 280px;
        padding: 20px;
        background: #f2f1ed;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__content {
        min-height: 0;
        padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__footer {
        gap: 14px;
        padding-top: 22px;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__footer .lmpc-add {
        min-height: 50px !important;
    }

    .lmpc-added-modal {
        padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }

    .lmpc-added-modal__panel {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .lmpc-added-modal__check {
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    body > .lmpc-modal[data-lmpc-modal] {
        width: 100%;
        max-width: 100%;
        padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-modal__panel {
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - max(16px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom))));
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 16px;
        -webkit-overflow-scrolling: touch;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-head {
        padding: 20px 18px 16px;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-head h2 {
        max-width: calc(100% - 44px);
        font-size: clamp(24px, 8vw, 31px);
        overflow-wrap: anywhere;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-head p {
        margin-right: 0;
        overflow-wrap: anywhere;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-summary {
        padding: 17px 16px;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-cart-line {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 8px;
        min-width: 0;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-cart-line img {
        width: 44px;
        height: 44px;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-cart-line > div,
    body > .lmpc-modal[data-lmpc-modal] .lmpc-cart-line strong,
    body > .lmpc-modal[data-lmpc-modal] .lmpc-cart-line small {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-cart-line > strong {
        grid-column: 2 / -1;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-qty {
        gap: 5px;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-qty button {
        width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-checkout-form {
        width: 100%;
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
        overflow: visible;
    }

    body > .lmpc-modal[data-lmpc-modal] input:not([type="checkbox"]),
    body > .lmpc-modal[data-lmpc-modal] select,
    body > .lmpc-modal[data-lmpc-modal] textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 380px) {
    .lmpc-added-modal__actions {
        grid-template-columns: 1fr;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__image {
        height: clamp(250px, 39dvh, 320px);
        min-height: 250px;
    }
}

/* v0.6.3 — immutable mobile assets, touch stability and header-safe layers. */
.lmpc-shell,
body > .lmpc-product-modal[data-lmpc-product-modal],
body > .lmpc-added-modal[data-lmpc-added-modal],
body > .lmpc-modal[data-lmpc-modal] {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.lmpc-shell button,
.lmpc-shell a,
body > .lmpc-product-modal[data-lmpc-product-modal],
body > .lmpc-added-modal[data-lmpc-added-modal],
body > .lmpc-modal[data-lmpc-modal],
body > .lmpc-product-modal[data-lmpc-product-modal] button,
body > .lmpc-added-modal[data-lmpc-added-modal] button,
body > .lmpc-modal[data-lmpc-modal] button,
body > .lmpc-modal[data-lmpc-modal] input,
body > .lmpc-modal[data-lmpc-modal] select,
body > .lmpc-modal[data-lmpc-modal] label {
    touch-action: manipulation;
}

body > .lmpc-product-modal[data-lmpc-product-modal],
body > .lmpc-added-modal[data-lmpc-added-modal],
body > .lmpc-modal[data-lmpc-modal] {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 2147483647 !important;
    isolation: isolate;
    pointer-events: auto !important;
}

body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__backdrop,
body > .lmpc-added-modal[data-lmpc-added-modal] .lmpc-added-modal__backdrop,
body > .lmpc-modal[data-lmpc-modal] .lmpc-modal__backdrop {
    z-index: 0;
    pointer-events: auto !important;
}

body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__panel,
body > .lmpc-added-modal[data-lmpc-added-modal] .lmpc-added-modal__panel,
body > .lmpc-modal[data-lmpc-modal] .lmpc-modal__panel {
    z-index: 1;
    touch-action: manipulation;
}

body.lmpc-lock {
    width: 100%;
    overflow: hidden !important;
}

@media (max-width: 600px) {
    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__panel {
        width: auto !important;
        max-width: none !important;
        max-height: none !important;
        top: max(88px, calc(env(safe-area-inset-top) + 58px)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        bottom: max(8px, env(safe-area-inset-bottom)) !important;
        left: max(8px, env(safe-area-inset-left)) !important;
        transform: none !important;
    }

    body > .lmpc-product-modal[data-lmpc-product-modal] .lmpc-product-modal__close {
        width: 44px !important;
        height: 44px !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 4 !important;
        pointer-events: auto !important;
    }

    body > .lmpc-added-modal[data-lmpc-added-modal] {
        padding-top: max(88px, calc(env(safe-area-inset-top) + 58px));
    }

    body > .lmpc-modal[data-lmpc-modal] {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body > .lmpc-modal[data-lmpc-modal] .lmpc-modal__panel {
        min-width: 0 !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain;
    }
}
