:root {
    --wcc-upsell-shadow: 0 36px 110px rgba(10, 10, 10, 0.28);
    --wcc-upsell-border: rgba(17, 24, 39, 0.08);
    --wcc-upsell-text: #181818;
    --wcc-upsell-muted: #757575;
    --wcc-upsell-panel: #f2f2f2;
    --wcc-upsell-panel-strong: #ececec;
    --wcc-upsell-accent: #101010;
    --wcc-upsell-blue: #376df6;
}

#top .wcc-pro-action {
    position: relative;
    overflow: visible;
    padding: 0px 5px;
}

#top .wcc-pro-action.wcc-pro-action--page {
    width: 142px;
}

#top .wcc-pro-action.wcc-pro-action--export {
    width: 100px;
}

#top .wcc-pro-action svg:not(.wcc-pro-lock) {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: rgb(222 223 224);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#top .wcc-pro-action p {
    white-space: nowrap;
    color: #dedfdf;
}

.wcc-pro-lock {
    position: absolute;
    top: -2px;
    right: 6px;
    width: 12px;
    height: 12px;
    opacity: 0.35;
}

.wcc-pro-lock rect {
    fill: currentColor;
    stroke: none;
}

.wcc-pro-lock path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wcc-upsell-close:active,
.wcc-upsell-cta:active,
#top .wcc-pro-action:not(.inactive):active {
    transform: scale(0.97);
}

body.show-wcc-upsell {
    overflow: hidden;
}

.wcc-upsell-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(23, 24, 28, 0.52);
    opacity: 0;
    transition: opacity 0.07s cubic-bezier(0.16, 1, 0.3, 1);
}

.wcc-upsell-modal {
    position: fixed;
    inset: 0;
    z-index: 1301;
    display: grid;
    place-items: center;
    padding: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.07s cubic-bezier(0.16, 1, 0.3, 1);
}

body.show-wcc-upsell .wcc-upsell-backdrop,
body.show-wcc-upsell .wcc-upsell-modal {
    opacity: 1;
    transition-duration: 0.18s;
}

body.show-wcc-upsell .wcc-upsell-modal {
    pointer-events: auto;
}

.wcc-upsell-shell {
    width: min(540px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid var(--wcc-upsell-border);
    border-radius: 12px;
    box-shadow: var(--wcc-upsell-shadow);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    transition:
        transform 0.09s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.07s cubic-bezier(0.16, 1, 0.3, 1);
}

body.show-wcc-upsell .wcc-upsell-shell {
    transform: translateY(0);
    transition-duration: 0.24s, 0.18s;
}

.wcc-upsell-copy {
    padding: 48px 42px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wcc-upsell-close,
.wcc-upsell-cta,
#top .wcc-pro-action {
    transition:
        transform 0.12s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.12s ease-out,
        color 0.12s ease-out,
        opacity 0.12s ease-out;
}

.wcc-upsell-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.05);
    color: #4d515a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wcc-upsell-close:hover {
    background: rgba(17, 24, 39, 0.1);
}

.wcc-upsell-close svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wcc-upsell-eyebrow {
    margin-top: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: tomato;
}

.wcc-upsell-copy h3 {
    margin: 18px 0 12px;
    color: var(--wcc-upsell-text);
    font-size: clamp(30px, 5vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    max-width: 340px;
}

.wcc-upsell-subline {
    margin: 0;
    /* color: var(--wcc-upsell-muted); */
    font-size: 15px;
    line-height: 1.45;
    max-width: 320px;
}

.wcc-upsell-plan-card {
    width: calc(100% - 8px);
    margin-top: 24px;
    padding: 40px 40px 28px;
    background: var(--wcc-upsell-panel);
    border-radius: 22px;
    box-sizing: border-box;
}

.wcc-upsell-plan-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
    padding-left: 18px;
}

.wcc-upsell-aside-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    /* color: #757575; */
}

.wcc-upsell-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.wcc-upsell-list li {
    position: relative;
    padding-left: 30px;
    color: #616161;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
}

.wcc-upsell-list li::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    opacity: 0.72;
}

.wcc-upsell-list li:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='11' height='14' rx='1.5'/%3E%3Crect x='9' y='8' width='11' height='14' rx='1.5'/%3E%3C/svg%3E");
}

.wcc-upsell-list li:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h6a3 3 0 1 1 0 6h-2'/%3E%3Cpath d='M17 17h-6a3 3 0 1 1 0-6h2'/%3E%3C/svg%3E");
}

.wcc-upsell-list li:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='12' height='15' rx='1.5'/%3E%3Cpath d='M7 6V4.5A1.5 1.5 0 0 1 8.5 3h9A1.5 1.5 0 0 1 19 4.5v12a1.5 1.5 0 0 1-1.5 1.5H15'/%3E%3Cline x1='6' y1='11' x2='12' y2='11'/%3E%3Cline x1='6' y1='14' x2='11' y2='14'/%3E%3C/svg%3E");
}

.wcc-upsell-list li:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v10'/%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E");
}

.wcc-upsell-list li:nth-child(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5A1.5 1.5 0 0 1 5.5 6h4L11 8h7.5A1.5 1.5 0 0 1 20 9.5v8a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5Z'/%3E%3C/svg%3E");
}

.wcc-upsell-list li:nth-child(6)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 1 1 8 0v3'/%3E%3C/svg%3E");
}

.wcc-upsell-cta {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 4px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
    text-align: center;
    box-sizing: border-box;
}

.wcc-upsell-cta::after {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 5 7 7-7 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    will-change: transform;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.wcc-upsell-cta:hover {
    background: #000;
}

.wcc-upsell-cta:hover::after,
.wcc-upsell-cta:focus-visible::after {
    transform: translateX(4px);
}

.wcc-upsell-price {
    margin: 18px 0 0;
    color: #7b7b7b;
    font-size: 14px;
    line-height: 1.4;
}

.wcc-upsell-price a {
    /* color: #2d2d2d; */
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: rgb(223 223 223);
    text-underline-offset: 3px;
    transition:
        color 0.12s ease-out,
        text-decoration-color 0.12s ease-out;
}

.wcc-upsell-price a:hover {
    color: #111;
    text-decoration-color: rgba(17, 17, 17, 0.72);
}

.wcc-upsell-trust {
    margin: 18px 0 0;
    /* color: #7b7b7b; */
    font-size: 14px;
    line-height: 1.4;
    text-transform: lowercase;
}

.wcc-upsell-close:focus-visible,
.wcc-upsell-cta:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

body.show-save-modal {
    overflow: hidden;
}

body #save-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(23, 24, 28, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.07s cubic-bezier(0.16, 1, 0.3, 1);
}

body.show-save-modal #save-overlay {
    opacity: 1;
    pointer-events: auto;
    transition-duration: 0.18s;
}

body .wcc-save-modal {
    width: min(540px, calc(100vw - 24px));
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 32px);
    overflow: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1301;
    box-sizing: border-box;
    padding: 36px 34px 22px;
    border: 1px solid var(--wcc-upsell-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--wcc-upsell-shadow);
    color: var(--wcc-upsell-text);
    text-align: center;
    line-height: normal;
    font-weight: 400;
    transform: translate(-50%, -50%) translateY(20px);
    transform-origin: 50% 50%;
    opacity: 0;
    pointer-events: none;
    backface-visibility: hidden;
    transition: opacity 0.07s cubic-bezier(0.16, 1, 0.3, 1);
    transition-property: opacity, transform;
    transition-duration: 0.07s, 0.09s;
    transition-timing-function:
        cubic-bezier(0.16, 1, 0.3, 1), cubic-bezier(0.16, 1, 0.3, 1);
}

body.show-save-modal .wcc-save-modal {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) translateY(0);
    transition-duration: 0.18s, 0.24s;
}

body .wcc-save-modal .wcc-upsell-eyebrow {
    display: inline-block;
    margin-top: 12px;
}

body #close-save-card {
    position: absolute;
    top: 18px;
    right: 18px;
}

body .wcc-save-modal h4 {
    margin: 14px 0 10px;
    color: var(--wcc-upsell-text);
    font-size: clamp(28px, 4.8vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    text-transform: none;
}

body .wcc-save-modal .wcc-upsell-subline {
    margin-top: 14px;
    margin-bottom: 0;
    max-width: 360px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.38;
}

body .wcc-save-url-wrap {
    width: calc(100% - 8px);
    margin-top: 18px;
    padding: 16px 18px;
    /* background: var(--wcc-upsell-panel); */
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
    border: 2px solid var(--wcc-upsell-panel);
    box-sizing: border-box;
}

body .wcc-save-url-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

body .wcc-save-url-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wcc-upsell-muted);
}

body .wcc-save-url {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--wcc-upsell-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    /* text-decoration-line: underline; */
    text-decoration-thickness: 2px;
    text-decoration-color: rgb(223 223 223);
    text-underline-offset: 3px;
    user-select: all;
}

body .wcc-save-url::selection {
    background: #d7e3ff;
}

body .wcc-save-url-copy {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.05);
    color: #646972;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        transform 0.12s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.12s ease-out,
        color 0.12s ease-out;
}

body .wcc-save-url-copy:hover {
    background: rgba(17, 24, 39, 0.1);
    color: #20242b;
}

body .wcc-save-url-copy.is-copied {
    background: #111;
    color: #fff;
}

body .wcc-save-url-copy:active {
    transform: scale(0.97);
}

body .wcc-save-url-copy:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

body .wcc-save-url-copy svg {
  width: 15px;
  height: 15px;
  fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .wcc-save-url-copy__check {
    opacity: 0;
}

body .wcc-save-url-copy.is-copied .wcc-save-url-copy__copy {
    opacity: 0;
}

body .wcc-save-url-copy.is-copied .wcc-save-url-copy__check {
    opacity: 1;
}

body .wcc-save-plan-card.wcc-upsell-plan-card {
    width: calc(100% - 8px);
    margin: 18px auto 0;
    padding: 40px 22px 18px;
    border-radius: 20px;
    text-align: left;
}

body .wcc-save-plan-card .wcc-upsell-list {
    width: min(100%, 380px);
    margin: 0 auto;
}

body .wcc-save-plan-card .wcc-upsell-list .save-feature-item::before {
    opacity: 0.72;
}

body .wcc-save-plan-card .wcc-upsell-list .save-feature-item--private::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 1 1 8 0v3'/%3E%3C/svg%3E");
}

body .wcc-save-plan-card .wcc-upsell-list .save-feature-item--projects::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5A1.5 1.5 0 0 1 5.5 6h4L11 8h7.5A1.5 1.5 0 0 1 20 9.5v8a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5Z'/%3E%3C/svg%3E");
}

body .wcc-save-plan-card .wcc-upsell-list .save-feature-item--pages::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='11' height='14' rx='1.5'/%3E%3Crect x='9' y='8' width='11' height='14' rx='1.5'/%3E%3C/svg%3E");
}

body .wcc-save-plan-card .wcc-upsell-list .save-feature-item--flows::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h6a3 3 0 1 1 0 6h-2'/%3E%3Cpath d='M17 17h-6a3 3 0 1 1 0-6h2'/%3E%3C/svg%3E");
}

body .wcc-save-plan-card .wcc-upsell-list .save-feature-item--masters::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='12' height='15' rx='1.5'/%3E%3Cpath d='M7 6V4.5A1.5 1.5 0 0 1 8.5 3h9A1.5 1.5 0 0 1 19 4.5v12a1.5 1.5 0 0 1-1.5 1.5H15'/%3E%3Cline x1='6' y1='11' x2='12' y2='11'/%3E%3Cline x1='6' y1='14' x2='11' y2='14'/%3E%3C/svg%3E");
}

body .wcc-save-plan-card .wcc-upsell-list .save-feature-item--export::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v10'/%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E");
}

body .save-premium-cta {
    min-height: 50px;
    margin-top: 24px;
}

body .wcc-save-modal .wcc-upsell-trust {
    margin-top: 14px;
    font-size: 13px;
}

@media (max-width: 720px) {
    #top .wcc-pro-action.wcc-pro-action--page {
        width: 98px;
    }

    #top .wcc-pro-action p {
        font-size: 12px;
    }

    .wcc-pro-lock {
        width: 10px;
        height: 10px;
        right: -4px;
    }

    .wcc-upsell-shell {
        width: min(100vw - 16px, 540px);
        border-radius: 26px;
    }

    .wcc-upsell-copy {
        padding: 40px 24px 24px;
    }

    .wcc-upsell-plan-card {
        padding: 24px 22px 16px;
        border-radius: 20px;
    }

    body .wcc-save-modal {
        width: min(100vw - 16px, 540px);
        padding: 34px 22px 20px;
        border-radius: 26px;
    }

    body .wcc-save-url-wrap {
        padding: 16px 16px 14px;
        border-radius: 20px;
    }

    body .wcc-save-plan-card.wcc-upsell-plan-card {
        padding: 20px 18px 16px;
    }

  body .wcc-save-plan-card .wcc-upsell-list {
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wcc-upsell-cta::after {
    animation: none;
  }
}
