.webdy-builder {
    --webdy-green: #18b95f;
    --webdy-green-dark: #079347;
    --webdy-text: #667085;
    --webdy-heading: #8a8f98;
    --webdy-border: #e8eaef;
    --webdy-surface: #ffffff;
    --webdy-page: #f7f7f8;
    clear: both;
    color: var(--webdy-text);
    padding: 8px 0 36px;
}

.webdy-builder__search {
    margin: 0 auto 74px;
    max-width: 860px;
    padding: 0 16px;
}

.webdy-builder__search-input {
    background: #fff;
    border: 1px solid #d9dce2;
    border-radius: 999px;
    box-shadow: none;
    color: #3f4652;
    display: block;
    font-size: 17px;
    height: 52px;
    letter-spacing: 0;
    line-height: 52px;
    padding: 0 18px;
    width: 100%;
}

.webdy-builder__search-input:focus {
    border-color: var(--webdy-green);
    box-shadow: 0 0 0 3px rgba(24, 185, 95, 0.12);
    outline: none;
}

.webdy-builder__grid {
    display: grid;
    gap: 76px;
    grid-template-columns: repeat(var(--webdy-columns, 3), minmax(0, 1fr));
}

.webdy-builder-card {
    background: var(--webdy-surface);
    border: 1px solid var(--webdy-border);
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(27, 39, 65, 0.08);
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.webdy-builder-card:hover {
    box-shadow: 0 18px 42px rgba(27, 39, 65, 0.13);
    transform: translateY(-2px);
}

.webdy-builder-card__preview {
    background: #e9eef3;
    display: block;
    height: 376px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.webdy-builder-card__preview img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    width: 100%;
}

.webdy-builder-card__placeholder {
    align-items: center;
    background:
        linear-gradient(180deg, #eff3f7 0, #eff3f7 16px, transparent 16px),
        repeating-linear-gradient(0deg, #ffffff 0, #ffffff 34px, #f1f3f6 34px, #f1f3f6 35px),
        #ffffff;
    color: #8b94a3;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    height: 100%;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.webdy-builder-card__price {
    background: var(--webdy-green-dark);
    bottom: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    min-width: 152px;
    padding: 10px 22px 11px 34px;
    position: absolute;
    right: 0;
    text-align: right;
}

.webdy-builder-card__price::before {
    border-bottom: 42px solid var(--webdy-green-dark);
    border-left: 26px solid transparent;
    content: "";
    left: -26px;
    position: absolute;
    top: 0;
}

.webdy-builder-card__footer {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    min-height: 80px;
    padding: 14px 12px 14px 14px;
}

.webdy-builder-card__meta {
    min-width: 0;
}

.webdy-builder-card__meta h3 {
    color: var(--webdy-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
    overflow-wrap: anywhere;
}

.webdy-builder-card__meta span {
    color: #a1a7b2;
    display: block;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 3px;
}

.webdy-builder-card__create,
.webdy-builder-form__submit {
    align-items: center;
    background-color: var(--webdy-green) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: #fff !important;
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    gap: 4px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    min-height: 44px;
    padding: 0 16px !important;
    text-transform: none;
    white-space: nowrap;
}

.webdy-builder-card__create:hover,
.webdy-builder-form__submit:hover {
    background-color: var(--webdy-green-dark) !important;
}

.webdy-builder-card__create span,
.webdy-builder-form__submit span {
    font-size: 26px;
    line-height: 1;
    margin-top: -2px;
}

.webdy-builder__empty {
    color: #7d8592;
    font-size: 17px;
    padding: 48px 16px;
    text-align: center;
}

.webdy-builder-modal {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 99999;
}

.webdy-builder-modal.is-open {
    display: flex;
}

.webdy-builder-modal__backdrop {
    background: rgba(16, 24, 40, 0.58);
    inset: 0;
    position: absolute;
}

.webdy-builder-modal__dialog {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(16, 24, 40, 0.32);
    max-height: min(760px, calc(100vh - 32px));
    max-width: 620px;
    overflow: auto;
    position: relative;
    width: 100%;
}

.webdy-builder-modal__close {
    align-items: center;
    background: #f2f4f7;
    border: 0;
    border-radius: 50%;
    color: #667085;
    cursor: pointer;
    display: flex;
    font-size: 25px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
}

.webdy-builder-modal__body {
    padding: 30px;
}

.webdy-builder-modal__body h2 {
    color: #1f2937;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 44px 4px 0;
}

.webdy-builder-modal__template {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 22px;
}

.webdy-builder-form {
    display: grid;
    gap: 16px;
}

.webdy-builder-form label {
    color: #344054;
    display: grid;
    font-size: 14px;
    font-weight: 600;
    gap: 7px;
    margin: 0;
}

.webdy-builder-form input,
.webdy-builder-form__select {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    box-shadow: none;
    color: #344054;
    font-size: 15px;
    height: 44px;
    letter-spacing: 0;
    padding: 0 12px;
    width: 100%;
}

.webdy-builder-form input:focus,
.webdy-builder-form__select:focus {
    border-color: var(--webdy-green);
    box-shadow: 0 0 0 3px rgba(24, 185, 95, 0.12);
    outline: none;
}

.webdy-builder-form__domain {
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
}

.webdy-builder-form__domain:focus-within {
    border-color: var(--webdy-green);
    box-shadow: 0 0 0 3px rgba(24, 185, 95, 0.12);
}

.webdy-builder-form__domain input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.webdy-builder-form__domain strong {
    background: #f2f4f7;
    color: #667085;
    font-size: 14px;
    height: 44px;
    line-height: 44px;
    padding: 0 12px;
    white-space: nowrap;
}

.webdy-builder-form__row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.webdy-builder-form__submit {
    justify-self: start;
    margin-top: 4px;
    min-width: 156px;
}

.webdy-builder-form__submit.is-loading {
    cursor: wait;
    opacity: 0.74;
}

.webdy-builder-notice,
.webdy-builder-result {
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.55;
    margin-top: 16px;
    padding: 14px 16px;
}

.webdy-builder-notice--warning {
    background: #fff7ed;
    color: #9a3412;
}

.webdy-builder-result {
    background: #ecfdf3;
    color: #065f46;
}

.webdy-builder-result.is-error {
    background: #fef2f2;
    color: #991b1b;
}

.webdy-builder-result a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.webdy-builder-result code {
    background: rgba(6, 95, 70, 0.1);
    border-radius: 4px;
    color: inherit;
    display: inline-block;
    font-size: 14px;
    line-height: 1.35;
    padding: 2px 6px;
}

.webdy-builder-copy {
    background: #0f172a;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    margin-top: 12px;
    padding: 8px 12px;
}

.webdy-builder-copy:disabled {
    cursor: default;
    opacity: 0.7;
}

.webdy-builder-progress {
    color: #0f172a;
}

.webdy-builder-progress__head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.webdy-builder-progress__percent {
    color: var(--webdy-green);
    font-weight: 800;
}

.webdy-builder-progress__bar {
    background: #d9f5e5;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.webdy-builder-progress__bar span {
    background: var(--webdy-green);
    display: block;
    height: 100%;
    transition: width 0.28s ease;
    width: 0;
}

.webdy-builder-progress__steps {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.webdy-builder-progress__steps li {
    color: #667085;
    font-size: 13px;
    line-height: 1.35;
    padding-left: 18px;
    position: relative;
}

.webdy-builder-progress__steps li::before {
    background: #cbd5e1;
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 5px;
    width: 8px;
}

.webdy-builder-progress__steps li.is-active {
    color: #0f172a;
    font-weight: 700;
}

.webdy-builder-progress__steps li.is-active::before,
.webdy-builder-progress__steps li.is-done::before {
    background: var(--webdy-green);
}

@media (max-width: 1199px) {
    .webdy-builder__grid {
        gap: 34px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .webdy-builder-card__preview {
        height: 330px;
    }
}

@media (max-width: 640px) {
    .webdy-builder {
        padding-top: 0;
    }

    .webdy-builder__search {
        margin-bottom: 28px;
    }

    .webdy-builder__search-input {
        font-size: 15px;
        height: 48px;
        line-height: 48px;
    }

    .webdy-builder__grid {
        gap: 22px;
        grid-template-columns: 1fr;
    }

    .webdy-builder-card__preview {
        height: 315px;
    }

    .webdy-builder-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .webdy-builder-card__create {
        width: 100%;
    }

    .webdy-builder-modal {
        padding: 12px;
    }

    .webdy-builder-modal__body {
        padding: 24px 18px;
    }

    .webdy-builder-form__row {
        grid-template-columns: 1fr;
    }

    .webdy-builder-progress__steps {
        grid-template-columns: 1fr;
    }
}
