.nsj-addon-intro-trigger {
    align-self: flex-start;
    appearance: none;
    background: #f4fbf5;
    border: 1px solid #8bbf91;
    border-radius: 4px;
    color: #245b2c;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-top: 6px;
    padding: 7px 10px;
    text-decoration: none;
}

.cuw-product-addons .cuw-product .cuw-product-title,
.cuw-products .cuw-product .cuw-product-title {
    flex: 0 0 100% !important;
    order: 1;
}

.cuw-product-addons .cuw-product .nsj-addon-intro-trigger,
.cuw-products .cuw-product .nsj-addon-intro-trigger {
    flex: 0 0 auto;
    margin-top: 0;
    order: 2;
}

.cuw-product-addons .cuw-product .cuw-product-quantity,
.cuw-products .cuw-product .cuw-product-quantity {
    order: 3;
}

.cuw-product-addons .cuw-product .cuw-product-price,
.cuw-products .cuw-product .cuw-product-price {
    margin-left: auto;
    order: 4;
}

.nsj-addon-intro-trigger:hover,
.nsj-addon-intro-trigger:focus {
    background: #e6f5e8;
    border-color: #4d8755;
    color: #173f1e;
    outline: none;
}

.nsj-addon-modal-open {
    overflow: hidden;
}

.nsj-addon-modal[hidden] {
    display: none !important;
}

.nsj-addon-modal {
    align-items: center;
    background: rgba(15, 22, 17, 0.58);
    box-sizing: border-box;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 100000;
}

.nsj-addon-modal__dialog {
    background: #fffdf9;
    border: 1px solid rgba(67, 50, 35, 0.08);
    border-radius: 10px;
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    color: #2d2a25;
    max-height: min(760px, calc(100vh - 40px));
    max-width: 740px;
    overflow: auto;
    position: relative;
    width: min(740px, 100%);
}

.nsj-addon-modal__close {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid #ddd6cc;
    border-radius: 999px;
    box-shadow: none;
    color: transparent;
    cursor: pointer;
    display: flex;
    font-size: 0;
    height: 32px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    max-height: 32px;
    max-width: 32px;
    min-height: 32px;
    min-width: 32px;
    padding: 0 !important;
    position: absolute;
    right: 14px;
    text-decoration: none;
    top: 14px;
    width: 32px;
    z-index: 2;
}

.nsj-addon-modal__close:before,
.nsj-addon-modal__close:after {
    background: #5b5148;
    border-radius: 999px;
    content: "";
    height: 14px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 2px;
}

.nsj-addon-modal__close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nsj-addon-modal__close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nsj-addon-modal__close:hover,
.nsj-addon-modal__close:focus {
    background: #f7f2ea;
    border-color: #cfc2b2;
    box-shadow: 0 4px 12px rgba(66, 47, 33, 0.08);
    outline: none;
}

.nsj-addon-modal__body {
    display: grid;
    gap: 26px;
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 28px 30px 30px;
}

.nsj-addon-modal__image-wrap {
    align-self: start;
    background: #f6f1ea;
    border: 1px solid #eadfd2;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(68, 46, 30, 0.08);
    overflow: hidden;
}

.nsj-addon-modal__image {
    aspect-ratio: 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.nsj-addon-modal__content {
    min-width: 0;
    padding-right: 18px;
}

.nsj-addon-modal__eyebrow {
    background: #ecf6ed;
    border: 1px solid #cde5cf;
    border-radius: 999px;
    color: #2f6a38;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 9px;
    padding: 6px 9px;
}

.nsj-addon-modal__title {
    color: #3f3029;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.28;
    margin: 0 0 10px;
}

.nsj-addon-modal__variant {
    color: #665e55;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 13px;
}

.nsj-addon-modal__price {
    background: linear-gradient(180deg, #fff9fa 0%, #fff3f5 100%);
    border: 1px solid #f1cdd4;
    border-radius: 8px;
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
    padding: 13px 14px 12px;
}

.nsj-addon-modal__price-line {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nsj-addon-modal__offer {
    color: #d9344f;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
}

.nsj-addon-modal__regular {
    color: #7a7168;
    font-size: 13px;
    font-weight: 700;
}

.nsj-addon-modal__regular del {
    color: #837a70;
    text-decoration-thickness: 1px;
}

.nsj-addon-modal__saving {
    align-self: start;
    background: #e9f6eb;
    border: 1px solid #c9e6cd;
    border-radius: 999px;
    color: #2f6a38;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-self: start;
    line-height: 1;
    padding: 6px 9px;
}

.nsj-addon-modal__points {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.nsj-addon-modal__points li {
    color: #4c4740;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.55;
    padding-left: 24px;
    position: relative;
}

.nsj-addon-modal__points li:before {
    align-items: center;
    background: #2f6a38;
    border-radius: 50%;
    color: #fff;
    content: "✓";
    display: flex;
    font-size: 10px;
    font-weight: 800;
    height: 16px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 4px;
    width: 16px;
}

.nsj-addon-modal__actions {
    align-items: stretch;
    display: grid;
    gap: 16px;
    grid-template-columns: 210px 92px;
    width: max-content;
}

.nsj-addon-modal__choose,
.nsj-addon-modal__link {
    align-items: center;
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    text-decoration: none;
    white-space: nowrap;
    width: auto;
}

.nsj-addon-modal__choose {
    appearance: none;
    background: #2f6a38;
    border: 1px solid #2f6a38;
    box-shadow: 0 8px 18px rgba(47, 106, 56, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
}

.nsj-addon-modal__choose:hover,
.nsj-addon-modal__choose:focus {
    background: #25562d;
    color: #fff;
    outline: none;
}

.nsj-addon-modal__link {
    background: #fff;
    border: 1px solid #d8cbbb;
    color: #5c4434;
    font-size: 12px;
    padding: 0 12px;
    width: 100%;
}

.nsj-addon-modal__link:hover,
.nsj-addon-modal__link:focus {
    background: #f8f2ea;
    color: #3f3029;
    outline: none;
}

.nsj-addon-modal__status {
    color: #5f5a52;
    font-size: 15px;
    line-height: 1.8;
    padding: 42px 30px;
    text-align: center;
}

@media (max-width: 680px) {
    .nsj-addon-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .nsj-addon-modal__dialog {
        max-height: calc(100vh - 24px);
        width: 100%;
    }

    .nsj-addon-modal__body {
        grid-template-columns: 1fr;
        padding: 24px 18px 20px;
    }

    .nsj-addon-modal__image-wrap {
        max-width: 180px;
    }

    .nsj-addon-modal__content {
        padding-right: 0;
    }

    .nsj-addon-modal__title {
        font-size: 20px;
    }

    .nsj-addon-modal__offer {
        font-size: 24px;
    }

    .nsj-addon-modal__actions {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .nsj-addon-modal__choose,
    .nsj-addon-modal__link {
        width: 100%;
    }
}