/* ========================================
   Layout Shell
======================================== */

.seo-order-form {
    display: grid;
    gap: 28px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.seo-order-form .ff-form-body,
.seo-order-form .ff-step-content,
.seo-order-form .ff-el-group {
    display: grid;
    gap: 24px;
}

.seo-order-form .ff-step-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.seo-order-form .ff-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.seo-order-form .ff-step::after {
    content: "";
    position: absolute;
    top: 14px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: linear-gradient(90deg, #dbeafe 0%, #cbd5e1 100%);
}

.seo-order-form .ff-step:last-child::after {
    display: none;
}

.seo-order-form .ff-step .ff-step-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.seo-order-form .ff-step.is-active .ff-step-number,
.seo-order-form .ff-step.completed .ff-step-number {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.seo-order-form .ff-step-title {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seo-order-form .ff-step.is-active .ff-step-title,
.seo-order-form .ff-step.completed .ff-step-title {
    color: #0f172a;
}

.seo-order-form {
    padding: 36px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.seo-order-form .ff-step-content > .ff-el-group {
    padding: 24px;
    border: 1px solid #e7ecf3;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.seo-order-form .ff-step-progress {
    padding: 18px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border-color: #e5ecf5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.seo-order-form .ff-step .ff-step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.seo-order-form .ff-step::after {
    top: 16px;
    height: 3px;
    background: linear-gradient(90deg, #bfdbfe 0%, #cbd5e1 100%);
}

.seo-order-form .ff-el-group:has([data-role="service-search"]:not(.cb-search__input)) {
    padding: 24px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.seo-order-form .ff-el-group:has([data-role="service-search"]:not(.cb-search__input)) .ff-el-input--content {
    padding: 0;
    border: none;
    background: transparent;
}

.seo-order-form input[type="search"]:not(.cb-search__input),
.seo-order-form input[name*="search"]:not(.cb-search__input),
.seo-order-form .ff-el-group [data-role="service-search"]:not(.cb-search__input) {
    width: 100%;
    min-height: 52px;
    padding: 0 18px 0 48px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E")
        no-repeat 16px center / 18px 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #0f172a;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
}

.seo-order-form input[type="search"]:not(.cb-search__input)::placeholder,
.seo-order-form input[name*="search"]:not(.cb-search__input)::placeholder,
.seo-order-form .ff-el-group [data-role="service-search"]:not(.cb-search__input)::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.seo-order-form input[type="search"]:not(.cb-search__input):hover,
.seo-order-form input[name*="search"]:not(.cb-search__input):hover,
.seo-order-form .ff-el-group [data-role="service-search"]:not(.cb-search__input):hover {
    border-color: #bfdbfe;
    background-color: #fcfdff;
    transform: translateY(-1px);
}

.seo-order-form input[type="search"]:not(.cb-search__input):focus,
.seo-order-form input[name*="search"]:not(.cb-search__input):focus,
.seo-order-form .ff-el-group [data-role="service-search"]:not(.cb-search__input):focus {
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

.seo-order-form .ff-service .ff-el-input--content:not(:has(> .ff-el-form-check:not([style*="display: none"]))) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 28px;
    border: 1px dashed #dbeafe;
    border-radius: 24px;
    background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
    color: #64748b;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.seo-order-form .ff-service .ff-el-input--content:not(:has(> .ff-el-form-check:not([style*="display: none"])))::before {
    content: "🔍 No matching services found\A Try another keyword.";
    display: block;
    white-space: pre-line;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

#category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 2px;
}

.category-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-filter-chip:hover {
    border-color: #93c5fd;
    color: #2563eb;
    transform: translateY(-1px);
}

.category-filter-chip.is-active {
    border-color: #2563eb;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

@media (max-width: 768px) {
    #category-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    #category-filters::-webkit-scrollbar {
        display: none;
    }
}

.campaign-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
}

.campaign-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
}

.campaign-header {
    padding-bottom: 8px;
    border-bottom: 1px solid #eef2f7;
}

.campaign-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.campaign-header p {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

.campaign-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    background: #fcfdff;
}

.campaign-section span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.campaign-section strong {
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
    word-break: break-word;
}

.campaign-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
    border: 1px solid #dbeafe;
}

.campaign-total span {
    font-weight: 600;
    color: #475569;
}

.campaign-total strong {
    color: #2563eb;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.campaign-features {
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 18px;
    background: #fcfdff;
}

.campaign-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #374151;
    font-size: 14px;
}

.campaign-features div:last-child {
    margin-bottom: 0;
}

.campaign-features div::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
}

.campaign-btn {
    width: 100%;
    margin-top: 8px;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    height: 56px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

.campaign-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

#summary-category,
#summary-service,
#summary-package,
#summary-price,
#campaign-total {
    word-break: break-word;
}

@media (max-width: 1024px) {
    .campaign-sidebar {
        position: static;
    }
}

/* =====================================================
   CATEGORY GRID - PHASE 1
===================================================== */

/* Grid Layout */

.seo-order-form .ff-category .ff-el-input--content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Remove Default Spacing */

.seo-order-form .ff-category .ff-el-form-check {
    margin: 0;
}

/* Hide Radio */

.seo-order-form .ff-category .ff-el-form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Card */

.seo-order-form .ff-category .ff-el-form-check-label {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 240px;
    padding: 20px;
    border: 1px solid #e7ecf3;
    border-radius: 20px;
    background: #ffffff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.seo-order-form .ff-category .ff-el-form-check-label:hover {
    border-color: #93c5fd;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.seo-order-form .ff-category .ff-el-form-check-label.is-selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

/* Remove Default Span Style */

.seo-order-form .ff-category .ff-el-form-check-label > span {
    width: 100%;
    display: block;
}

/* JS Generated Card */

.category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Icon and service badge */

.category-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #eff6ff;
}

.category-icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.category-radio {
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid #d4dce8;
    border-radius: 50%;
    background: #fff;
}

.is-selected .category-radio {
    border: 6px solid #2563eb;
}

.category-card--blue .category-icon,
.category-card--blue .category-badge {
    background: #e9f1ff;
    color: #2563eb;
}
.category-card--purple .category-icon,
.category-card--purple .category-badge {
    background: #f3e8ff;
    color: #9333ea;
}
.category-card--green .category-icon,
.category-card--green .category-badge {
    background: #e6f9ef;
    color: #00a950;
}
.category-card--orange .category-icon,
.category-card--orange .category-badge {
    background: #fff0e6;
    color: #ff6b17;
}
.category-card--amber .category-icon,
.category-card--amber .category-badge {
    background: #fff6dd;
    color: #e89500;
}
.category-card--pink .category-icon,
.category-card--pink .category-badge {
    background: #fde8f2;
    color: #ed3c93;
}

/* Title */

.category-card h4 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

/* Description */

.category-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #64748b;
}

/* Responsive */

@media (max-width: 1024px) {
    .seo-order-form .ff-category .ff-el-input--content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .seo-order-form .ff-category .ff-el-input--content {
        grid-template-columns: 1fr;
    }

    .seo-order-form .ff-category .ff-el-form-check-label {
        min-height: 200px;
        padding: 24px;
    }

    .category-card h4 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.35;

        margin: 0 0 4px;
    }
}

/* =====================================================
   SERVICE CARDS
===================================================== */

.seo-order-form .ff-service .ff-el-input--content {
    display: grid;
    gap: 16px;
}

.seo-order-form .ff-service .ff-el-form-check {
    margin: 0;
}

.seo-order-form .ff-service .ff-el-form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.seo-order-form .ff-service .ff-el-form-check-label {
    display: flex;
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.seo-order-form .ff-service .ff-el-form-check-label > span {
    display: block;
    width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    padding: 24px;
    border: 1px solid #e7ecf3;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.service-card:hover {
    border-color: #93c5fd;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

.service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #eff6ff;
}

.service-card__icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.service-card__content {
    flex: 1;
    min-width: 0;
}

.service-card__title {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.service-card__description {
    display: block;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.service-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    text-align: right;
}

.service-card__price-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-card__price-value {
    color: #111827;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid #2563eb;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.service-card__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
}

.service-card__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.seo-order-form .ff-service .ff-el-form-check-input:checked + span .service-card {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.seo-order-form .ff-service .ff-el-form-check-input:checked + span .service-card .service-card__cta {
    background: #1d4ed8;
}

.seo-order-form .ff-service .ff-el-form-check-input:checked + span .service-card .service-card__selected {
    display: inline-flex;
}

.service-card__selected {
    display: none;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.service-card__selected-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
}

@media (max-width: 767px) {
    .service-card {
        padding: 20px;
    }

    .service-card__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card__price {
        align-items: flex-start;
        text-align: left;
    }

    .service-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =====================================================
   PACKAGE CARDS
===================================================== */

.seo-order-form .ff-package .ff-el-input--content {
    display: grid;
    gap: 16px;
}

.seo-order-form .ff-package .ff-el-form-check {
    margin: 0;
}

.seo-order-form .ff-package .ff-el-form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.seo-order-form .ff-package .ff-el-form-check-label {
    display: flex;
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.seo-order-form .ff-package .ff-el-form-check-label > span {
    display: block;
    width: 100%;
}

.package-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    min-height: 100%;
    padding: 24px;
    border: 1px solid #e7ecf3;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.package-card:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

.package-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.package-card__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.package-card__badge {
    display: inline-flex;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.package-card__title {
    display: block;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.package-card__price {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #111827;
}

.package-card__features {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.package-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.4;
}

.package-card__features li::before {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    content: "✓";
    font-size: 12px;
    font-weight: 800;
}

.package-quantity {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #f8fbff;
}

.package-quantity__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.package-quantity__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.package-quantity__button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.package-quantity__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.package-quantity__value {
    min-width: 40px;
    text-align: center;
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
}

.package-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.package-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid #2563eb;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.package-card__selected {
    display: none;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.package-card__selected-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
}

.package-card__button-selected {
    display: none;
}

.seo-order-form .ff-package .ff-el-form-check-input:checked + span .package-card {
    border-color: #2563eb;
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12),
        0 14px 28px rgba(37, 99, 235, 0.08);
}

.seo-order-form .ff-package .ff-el-form-check-input:checked + span .package-card .package-card__button {
    background: #1d4ed8;
}

.seo-order-form .ff-package .ff-el-form-check-input:checked + span .package-card .package-card__button-select {
    display: none;
}

.seo-order-form .ff-package .ff-el-form-check-input:checked + span .package-card .package-card__button-selected {
    display: inline;
}

.seo-order-form .ff-package .ff-el-form-check-input:checked + span .package-card .package-card__selected {
    display: inline-flex;
}

.seo-order-form .ff-package .ff-el-form-check-label:focus-within .package-card {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 2px;
}

/* =====================================================
   CAMPAIGN BUILDER UI FOUNDATION
   Visual system aligned to seo-campaign-builder.jsx
===================================================== */

.cb-page {
    --cb-primary: #007bff;
    --cb-primary-soft: #eaf3ff;
    --cb-primary-deep: #0059c9;
    --cb-border: #e7ecf3;
    --cb-muted: #94a3b8;
    --cb-text: #0f172a;
    --cb-sub: #64748b;
    --cb-surface: #ffffff;
    --cb-page-bg: #f6f8fb;
    --cb-focus: 0 0 0 3px rgba(0, 123, 255, 0.22);
    --cb-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--cb-text);
    overflow-x: clip;
    max-width: 100%;
}

.cb-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cb-page[hidden] {
    display: none !important;
}

.cb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.cb-layout[data-cart-open="true"] {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.cb-builder {
    min-width: 0;
}

/* Hero / Landing */

.cb-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    padding: 40px 36px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--cb-primary) 0%, var(--cb-primary-deep) 100%);
    box-shadow: 0 16px 40px rgba(0, 123, 255, 0.18);
}

.cb-hero__inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cb-hero__content {
    flex: 1 1 0;
    min-width: 0;
}

.cb-hero__media {
    flex: 0 1 46%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.cb-hero__image {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
}

.cb-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.85;
}

.cb-hero__title {
    margin: 0 0 20px;
    max-width: 520px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.cb-search {
    position: relative;
    max-width: 460px;
}

.cb-search__icon {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.cb-search__clear {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.15s var(--cb-ease),
        color 0.15s var(--cb-ease);
}

.cb-search__clear:hover {
    background: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

.cb-search__clear:focus-visible {
    outline: none;
    box-shadow: var(--cb-focus);
}

.cb-page .cb-search__input,
.cb-page [data-role="service-search"],
.cb-search__input {
    width: 100%;
    min-height: 48px;
    padding: 13px 44px 13px 44px !important;
    border: none !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--cb-text) !important;
    font-size: 15px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.15s var(--cb-ease);
}

.cb-page .cb-search__input:focus,
.cb-page .cb-search__input:focus-visible,
.cb-search__input:focus,
.cb-search__input:focus-visible {
    box-shadow:
        var(--cb-focus),
        0 10px 28px rgba(15, 23, 42, 0.1) !important;
    outline: none !important;
}

.cb-page .cb-search__input::placeholder,
.cb-search__input::placeholder {
    color: #94a3b8;
}

.cb-search__input::-webkit-search-decoration,
.cb-search__input::-webkit-search-cancel-button,
.cb-search__input::-webkit-search-results-button,
.cb-search__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Sections */

.cb-section {
    margin-bottom: 36px;
}

.cb-section__head {
    margin-bottom: 18px;
}

.cb-section__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-section__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7e8 0%, #ffedd5 100%);
    color: #c2410c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cb-section__sub {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--cb-muted);
}

.cb-empty {
    margin: 0;
    padding: 22px 18px;
    border: 1px dashed #dbe3ee;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--cb-muted);
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
}

.cb-empty--rich {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 28px 20px;
}

.cb-empty__icon {
    display: inline-flex;
    margin-bottom: 6px;
    color: #94a3b8;
}

.cb-empty__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-empty__copy {
    margin: 0;
    max-width: 280px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--cb-muted);
}

/* Category grid */

.cb-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.cb-section[data-role="categories-section"] {
    overflow: visible;
    min-width: 0;
}

.cb-page .cb-category-card,
.cb-page button.cb-category-card,
.cb-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 18px !important;
    border: 1px solid #e7ecf3 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
    box-shadow: none !important;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.cb-page .cb-category-card:hover,
.cb-page .cb-category-card:focus-visible,
.cb-category-card:hover,
.cb-category-card:focus-visible {
    background: #ffffff !important;
    background-color: #f8fafc !important;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.16);
    outline: none;
}

.cb-page .cb-category-card[data-category-id="brand"]:hover,
.cb-page .cb-category-card[data-category-id="brand"]:focus-visible {
    border-color: #7c3aed !important;
}

.cb-page .cb-category-card[data-category-id="editorial"]:hover,
.cb-page .cb-category-card[data-category-id="editorial"]:focus-visible {
    border-color: #f59e0b !important;
}

.cb-page .cb-category-card[data-category-id="foundation"]:hover,
.cb-page .cb-category-card[data-category-id="foundation"]:focus-visible {
    border-color: #10b981 !important;
}

.cb-page .cb-category-card[data-category-id="local"]:hover,
.cb-page .cb-category-card[data-category-id="local"]:focus-visible {
    border-color: #ec4899 !important;
}

.cb-page .cb-category-card[data-category-id="custom"]:hover,
.cb-page .cb-category-card[data-category-id="custom"]:focus-visible {
    border-color: #14b8a6 !important;
}

.cb-page .cb-category-card[data-category-id="teal"]:hover,
.cb-page .cb-category-card[data-category-id="teal"]:focus-visible {
    border-color: #0d9488 !important;
}

.cb-page .cb-category-card.is-active,
.cb-page .cb-category-card:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.14);
    transform: none;
}

.cb-category-card:disabled {
    cursor: default;
    opacity: 1;
}

.cb-category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: var(--cb-primary-soft);
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
    color: var(--cb-primary);
    -webkit-text-fill-color: currentColor;
}

.cb-category-card__icon i,
.cb-category-card__icon .svg-inline--fa,
.cb-category__icon i,
.cb-category__icon .svg-inline--fa {
    display: block;
    line-height: 1;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    fill: currentColor;
}

.cb-category-card__icon--brand,
.cb-category__icon.cb-category-card__icon--brand {
    background: #f3eeff !important;
    color: #7c3aed !important;
    -webkit-text-fill-color: #7c3aed !important;
}

.cb-category-card__icon--editorial,
.cb-category__icon.cb-category-card__icon--editorial {
    background: #fff7e8 !important;
    color: #f59e0b !important;
    -webkit-text-fill-color: #f59e0b !important;
}

.cb-category-card__icon--foundation,
.cb-category__icon.cb-category-card__icon--foundation {
    background: #eafbf3 !important;
    color: #10b981 !important;
    -webkit-text-fill-color: #10b981 !important;
}

.cb-category-card__icon--local,
.cb-category__icon.cb-category-card__icon--local {
    background: #ffeef6 !important;
    color: #ec4899 !important;
    -webkit-text-fill-color: #ec4899 !important;
}

.cb-category-card__icon--custom,
.cb-category__icon.cb-category-card__icon--custom {
    background: #e9fbf8 !important;
    color: #14b8a6 !important;
    -webkit-text-fill-color: #14b8a6 !important;
}

.cb-category-card__icon--teal,
.cb-category__icon.cb-category-card__icon--teal {
    background: #ecfeff !important;
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
}

.cb-category-card__label {
    display: block;
    margin-bottom: 2px;
    padding-right: 20px;
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}

.cb-category-card__count {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b;
}

.cb-category-card__blurb {
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b;
}

.cb-category-card::after {
    content: "›";
    position: absolute;
    top: 16px;
    right: 16px;
    color: #cbd5e1;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

/* Service rows (landing / popular / search) */

.cb-service-list {
    display: grid;
    gap: 12px;
}

.cb-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--cb-border);
    border-radius: 14px;
    background: var(--cb-surface);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s var(--cb-ease);
}

.cb-service-row:hover {
    border-color: #d7e3f4;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px) scale(1.01);
}

.cb-service-row__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.cb-service-row__icon {
    display: none;
}

.cb-service-row__icon--brand {
    background: #f3eeff;
}

.cb-service-row__icon--editorial {
    background: #fff7e8;
}

.cb-service-row__icon--foundation {
    background: #eafbf3;
}

.cb-service-row__icon--local {
    background: #ffeef6;
}

.cb-service-row__icon--custom {
    background: #e9fbf8;
}

.cb-service-row__name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--cb-text);
}

.cb-service-row__meta {
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--cb-muted);
}

.cb-configure-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #007bff !important;
    -webkit-text-fill-color: #007bff;
    font-size: 13.5px !important;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s var(--cb-ease);
}

.cb-configure-link i {
    font-size: 11px;
    opacity: 0.85;
}

.cb-configure-link:focus-visible {
    outline: none;
    box-shadow: var(--cb-focus);
    border-radius: 8px !important;
}

.cb-configure-link:hover:not(:disabled) {
    color: #0059c9 !important;
    -webkit-text-fill-color: #0059c9;
}

.cb-configure-link:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Category view */

.cb-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 8px 12px 8px 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--cb-sub);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.cb-back__icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.cb-back__label {
    display: inline-block;
}

.cb-back:hover:not(:disabled),
.cb-back:focus-visible {
    color: var(--cb-primary);
    background: var(--cb-primary-soft);
    border-color: rgba(0, 123, 255, 0.12);
    outline: none;
}

.cb-back:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cb-category__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.cb-category__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cb-primary-soft);
    font-size: 18px;
    line-height: 1;
    color: var(--cb-primary);
    -webkit-text-fill-color: currentColor;
}

.cb-category__title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cb-category__blurb {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--cb-muted);
}

.cb-service-cards {
    display: grid;
    gap: 12px;
}

.cb-service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 20px;
    border: 1px solid var(--cb-border);
    border-radius: 16px;
    background: var(--cb-surface);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s var(--cb-ease);
}

.cb-service-card:hover {
    border-color: #d7e3f4;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px) scale(1.01);
}

.cb-service-card__title-row {
    display: block;
    margin-bottom: 0;
}

.cb-service-card__icon {
    display: none;
}

.cb-service-card__name {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.cb-service-card__description {
    margin: 0 0 10px;
    max-width: 480px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--cb-muted);
}

.cb-service-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.cb-service-card__price {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cb-primary);
}

.cb-service-card__price.v1-starting-price,
.cb-service-row__meta.v1-starting-price {
    font-size: 12px;
    font-weight: 600;
}

.cb-service-card__delivery {
    font-size: 12px;
    color: var(--cb-muted);
}

.cb-configure-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: none;
    border-radius: 10px;
    background: var(--cb-primary);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.cb-configure-btn i {
    font-size: 11px;
    opacity: 0.9;
}

.cb-configure-btn:focus-visible {
    outline: none;
    box-shadow:
        var(--cb-focus),
        0 8px 16px rgba(0, 123, 255, 0.2);
}

.cb-configure-btn:hover:not(:disabled) {
    background: var(--cb-primary-deep);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
}

.cb-configure-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Cart rail */

.cb-cart-rail[hidden] {
    display: none !important;
}

.cb-cart-rail {
    position: sticky;
    top: 24px;
    align-self: start;
    padding: 20px;
    border: 1px solid var(--cb-border);
    border-radius: 16px;
    background: var(--cb-surface);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    animation: cb-cart-rail-in 0.28s var(--cb-ease);
}

@keyframes cb-cart-rail-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cb-cart-rail__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 800;
    color: var(--cb-text);
}

.cb-cart-rail__items {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.cb-cart-rail__empty {
    display: grid;
    justify-items: center;
    gap: 4px;
    margin: 0;
    padding: 28px 16px;
    border: 1px dashed #dbe3ee;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--cb-muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.cb-cart-rail__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: var(--cb-primary-soft);
    color: var(--cb-primary);
    font-size: 18px;
}

.cb-cart-rail__empty-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-cart-rail__empty-copy {
    margin: 0;
    font-size: 12.5px;
    color: var(--cb-muted);
}

.cb-cart-item {
    padding: 14px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fff;
    animation: cb-cart-item-in 0.24s var(--cb-ease);
}

@keyframes cb-cart-item-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cb-cart-item__name {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cb-text);
}

.cb-cart-item__dot {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cb-primary);
}

.cb-cart-item__meta {
    margin: 0 0 10px 16px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--cb-muted);
}

.cb-cart-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-left: 16px;
}

.cb-cart-item__total {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-cart-item__actions {
    display: flex;
    gap: 6px;
}

.cb-cart-item__edit,
.cb-cart-item__remove {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    line-height: 1;
    transition:
        background-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.cb-cart-item__edit:hover,
.cb-cart-item__remove:hover {
    transform: translateY(-1px);
}

.cb-cart-item__edit:focus-visible,
.cb-cart-item__remove:focus-visible,
.cb-cart-rail__checkout:focus-visible,
.cb-cart-rail__continue:focus-visible {
    outline: none;
    box-shadow: var(--cb-focus);
}

.cb-cart-item__edit::before {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E")
        center / 14px 14px no-repeat;
}

.cb-cart-item__remove {
    background: #fef2f2;
    color: #ef4444;
}

.cb-cart-item__remove::before {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23EF4444' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E")
        center / 14px 14px no-repeat;
}

.cb-cart-rail__checkout {
    width: 100%;
    margin-bottom: 8px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: var(--cb-primary) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s var(--cb-ease);
}

.cb-cart-rail__checkout:hover:not(:disabled) {
    background: var(--cb-primary-deep) !important;
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
}

.cb-cart-rail__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.cb-cart-rail__total span {
    font-size: 13px;
    font-weight: 700;
    color: var(--cb-sub);
}

.cb-cart-rail__total strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--cb-text);
}

.cb-cart-rail__checkout:disabled,
.cb-cart-rail__continue:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cb-cart-rail__continue {
    width: 100%;
    padding: 8px;
    border: none;
    background: none !important;
    color: var(--cb-sub) !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.cb-cart-rail__continue:hover:not(:disabled) {
    color: var(--cb-primary) !important;
}

/* Configure drawer */

.cb-drawer-root[hidden] {
    display: none !important;
}

.cb-drawer-root:not([hidden]) {
    display: block;
}

.cb-drawer__backdrop {
    position: fixed;
    inset: 0;
    z-index: 10030;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
    animation: cb-backdrop-in 0.22s var(--cb-ease);
}

@keyframes cb-backdrop-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cb-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10031;
    display: flex;
    flex-direction: column;
    width: 420px;
    max-width: 92vw;
    background: #fff;
    box-shadow: -16px 0 40px -12px rgba(15, 23, 42, 0.25);
    animation: cb-drawer-slide-in 0.28s var(--cb-ease);
}

@keyframes cb-drawer-slide-in {
    from {
        transform: translateX(28px);
        opacity: 0.72;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cb-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f7;
    flex-shrink: 0;
    box-sizing: border-box;
}

.cb-drawer__badge {
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 48px);
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--cb-primary-soft);
    color: var(--cb-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.cb-drawer__close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: none !important;
    border-radius: 8px;
    background: #f1f5f9 !important;
    color: #64748b !important;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.cb-drawer__close:hover:not(:disabled) {
    background: #e2e8f0 !important;
}

.cb-drawer__close:focus-visible {
    outline: none;
    box-shadow: var(--cb-focus);
}

.cb-drawer__close::before {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E")
        center / 14px 14px no-repeat;
}

.cb-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 24px;
}

.cb-drawer__title {
    margin: 0 0 14px;
    padding: 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a !important;
}

.cb-drawer__description {
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569 !important;
}

.cb-drawer__block {
    margin-bottom: 22px;
}

.cb-drawer__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--cb-muted);
}

.cb-drawer__label i {
    width: 1em;
    color: var(--cb-primary);
    font-size: 12px;
}

.cb-drawer__included {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-drawer__included li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #334155;
}

.cb-drawer__included li::before {
    content: "✓";
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--cb-primary);
    font-size: 12px;
    font-weight: 800;
}

.cb-drawer__delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 13px;
    color: var(--cb-sub);
}

.cb-drawer__delivery i {
    color: var(--cb-primary);
    font-size: 13px;
}

.cb-drawer__delivery strong {
    color: var(--cb-text);
    font-weight: 700;
}

.cb-package-list {
    display: grid;
    gap: 8px;
}

.cb-page .cb-package-option,
.cb-drawer-root .cb-package-option,
.cb-package-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
    box-shadow: none !important;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.cb-package-option > .cb-package-option__radio,
.cb-package-option > .cb-package-option__copy {
    flex: 0 0 auto;
}

.cb-package-option > .cb-package-option__copy {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: auto;
}

.cb-page .cb-package-option:focus-visible,
.cb-drawer-root .cb-package-option:focus-visible,
.cb-package-option:focus-visible {
    outline: none;
    box-shadow: var(--cb-focus);
    border-color: #93c5fd !important;
}

.cb-page .cb-package-option:hover,
.cb-drawer-root .cb-package-option:hover,
.cb-package-option:hover {
    border-color: #93c5fd !important;
    background: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.08);
}

.cb-page .cb-package-option.is-active,
.cb-drawer-root .cb-package-option.is-active,
.cb-package-option.is-active {
    border-color: #007bff !important;
    background: #eaf3ff !important;
    background-color: #eaf3ff !important;
    box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.08);
}

.cb-package-option__radio {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
}

.cb-package-option.is-active .cb-package-option__radio {
    border-color: #007bff;
}

.cb-package-option.is-active .cb-package-option__radio::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007bff;
}

.cb-package-option__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cb-package-option__name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
    line-height: 1.3;
}

.cb-package-option__note {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 500;
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8;
    line-height: 1.3;
}

.cb-package-option__price {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b;
}

.cb-package-option.is-active .cb-package-option__price {
    color: #007bff !important;
    -webkit-text-fill-color: #007bff;
}

.cb-quantity-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.cb-quantity-row__unit {
    font-size: 12.5px;
    color: var(--cb-muted);
}

.cb-stepper {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.cb-stepper__btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8fafc;
    color: #475569;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.cb-stepper__btn:focus-visible {
    outline: none;
    box-shadow: var(--cb-focus);
    position: relative;
    z-index: 1;
}

.cb-stepper__btn:hover:not(:disabled) {
    background: #eef2f7;
}

.cb-stepper__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cb-stepper__value {
    width: 48px;
    text-align: center;
    font-size: 14.5px;
    font-weight: 700;
}

.cb-drawer__footer {
    flex-shrink: 0;
    padding: 18px 24px 22px;
    border-top: 1px solid #eef2f7;
    background: #fff;
}

.cb-drawer__total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cb-drawer__total-row span {
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-sub);
}

.cb-drawer__total-row strong {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cb-text);
}

.cb-drawer__commit,
.cb-drawer-root .cb-drawer__commit,
.cb-page .cb-drawer__commit {
    width: 100%;
    padding: 14px;
    border: none !important;
    border-radius: 12px;
    background: #007bff !important;
    background-color: #007bff !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-shadow: none !important;
    box-shadow: none;
    cursor: pointer;
    opacity: 1;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.cb-drawer__commit span,
.cb-drawer-root .cb-drawer__commit span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.cb-drawer__commit:focus-visible,
.cb-drawer-root .cb-drawer__commit:focus-visible {
    outline: none;
    box-shadow:
        var(--cb-focus),
        0 10px 20px rgba(0, 123, 255, 0.22);
}

.cb-drawer__commit:hover:not(:disabled),
.cb-drawer-root .cb-drawer__commit:hover:not(:disabled) {
    background: #0059c9 !important;
    background-color: #0059c9 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.22);
    transform: translateY(-1px);
}

.cb-drawer__commit:disabled,
.cb-drawer-root .cb-drawer__commit:disabled {
    background: #007bff !important;
    background-color: #007bff !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 0.55 !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cb-drawer__commit:disabled span,
.cb-drawer-root .cb-drawer__commit:disabled span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Toast */

.cb-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10040;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 14px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #fff;
    color: var(--cb-text);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.cb-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cb-toast::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cb-primary-soft);
    color: var(--cb-primary);
    font-size: 12px;
    font-weight: 800;
}

/* Checkout layout — hidden while browsing */

.cb-checkout[hidden] {
    display: none !important;
}

.cb-checkout {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 0 24px 72px;
    overflow-x: clip;
    box-sizing: border-box;
    color: var(--cb-text);
}

.cb-checkout .cb-back {
    margin-bottom: 10px;
}

.cb-checkout__title {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--cb-text);
}

.cb-checkout__grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
    gap: 20px;
    align-items: start;
}

.cb-checkout__main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.cb-checkout .cb-card {
    padding: 18px 20px 20px;
    border: 1px solid var(--cb-border);
    border-radius: 14px;
    background: var(--cb-surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cb-checkout .cb-card__title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--cb-text);
}

.cb-checkout__summary {
    display: grid;
    gap: 14px;
}

.cb-checkout__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 14px 14px 12px;
    border: 1px solid #eef2f7;
    border-left: 3px solid var(--cb-line-accent, var(--cb-primary));
    border-radius: 12px;
    background: #f8fafc;
    font-size: 13.5px;
    transition:
        box-shadow 0.15s var(--cb-ease),
        transform 0.15s var(--cb-ease);
}

.cb-checkout__line:hover {
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.cb-checkout__line-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.cb-checkout__line-icon {
    display: none;
}

.cb-checkout__line-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cb-checkout__line-dot {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cb-primary);
}

.cb-checkout__line-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cb-text);
    overflow-wrap: anywhere;
}

.cb-checkout__line-meta,
.cb-checkout__line-qty {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--cb-muted);
    white-space: nowrap;
}

.cb-checkout__line-total {
    flex-shrink: 0;
    margin-left: auto;
    text-align: right;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--cb-text);
}

.cb-checkout__form-slot {
    min-height: 48px;
    margin-top: 2px;
}

/* Fluent Forms inside Campaign Builder checkout — Step 4 only */

.cb-checkout .seo-order-form,
.cb-checkout .seo-order-form .fluentform,
.cb-checkout .seo-order-form .frm-fluent-form,
.cb-checkout .seo-order-form.cb-ff-checkout-form {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: none !important;
    width: 100% !important;
    font-family: inherit !important;
    color: var(--cb-text) !important;
}

.cb-checkout .seo-order-form .ff-category,
.cb-checkout .seo-order-form .ff-service,
.cb-checkout .seo-order-form .ff-package,
.cb-checkout .seo-order-form .ff-el-group:has(.ff-category),
.cb-checkout .seo-order-form .ff-el-group:has(.ff-service),
.cb-checkout .seo-order-form .ff-el-group:has(.ff-package),
.cb-checkout .seo-order-form .ff-el-group:has([data-role="service-search"]),
.cb-checkout .seo-order-form .ff-el-progress,
.cb-checkout .seo-order-form .ff-el-progress-bar,
.cb-checkout .seo-order-form .ff-el-progress-status,
.cb-checkout .seo-order-form .ff-step-header,
.cb-checkout .seo-order-form .ff-step-titles,
.cb-checkout .seo-order-form .ff-btn-next,
.cb-checkout .seo-order-form .ff-btn-prev,
.cb-checkout
    .seo-order-form
    .fluentform-step:not(:last-child):not(
        :has(
            [data-name="payment_method"],
            [data-name="payment_input"],
            [name*="payment_method"],
            input[name^="payment_"],
            .ff-payment-method,
            .ff_payment_method,
            .custom-payment-item,
            .ff-custom-payment
        )
    ),
.cb-checkout
    .seo-order-form
    .ff-step:not(:last-child):not(
        :has(
            [data-name="payment_method"],
            [data-name="payment_input"],
            [name*="payment_method"],
            input[name^="payment_"],
            .ff-payment-method,
            .ff_payment_method,
            .custom-payment-item,
            .ff-custom-payment
        )
    ),
.cb-checkout .seo-order-form .ff-t-container:has(.ff-category),
.cb-checkout .seo-order-form .ff-t-container:has(.ff-service),
.cb-checkout .seo-order-form .ff-t-container:has(.ff-package) {
    display: none !important;
}

.cb-checkout
    .seo-order-form
    .fluentform-step:has(
        [data-name="payment_method"],
        [data-name="payment_input"],
        [name*="payment_method"],
        input[name^="payment_"],
        .ff-payment-method,
        .ff_payment_method,
        .custom-payment-item,
        .ff-custom-payment
    ),
.cb-checkout
    .seo-order-form
    .ff-step:has(
        [data-name="payment_method"],
        [data-name="payment_input"],
        [name*="payment_method"],
        input[name^="payment_"],
        .ff-payment-method,
        .ff_payment_method,
        .custom-payment-item,
        .ff-custom-payment
    ) {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.cb-checkout .seo-order-form .fluentform-step:last-child,
.cb-checkout .seo-order-form .ff-step:last-child {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cb-checkout .seo-order-form .ff-step-container,
.cb-checkout .seo-order-form .ff-step-body {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cb-checkout .seo-order-form .ff-t-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.cb-checkout .seo-order-form .ff-t-cell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.cb-checkout .seo-order-form .ff-el-group {
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.cb-checkout .seo-order-form .ff-el-group:last-of-type {
    margin-bottom: 4px !important;
}

.cb-checkout .seo-order-form .ff-el-input--label {
    margin: 0 0 7px !important;
    padding: 0 !important;
}

.cb-checkout .seo-order-form .ff-el-input--label label,
.cb-checkout .seo-order-form .ff-el-form-check-label,
.cb-checkout .seo-order-form label {
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    color: #1e293b !important;
}

.cb-checkout .seo-order-form .ff-el-form-control,
.cb-checkout .seo-order-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.cb-checkout .seo-order-form textarea,
.cb-checkout .seo-order-form select {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.cb-checkout .seo-order-form textarea {
    min-height: 92px !important;
    resize: vertical;
}

.cb-checkout .seo-order-form .ff-el-form-control:focus,
.cb-checkout
    .seo-order-form
    input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]):focus,
.cb-checkout .seo-order-form textarea:focus,
.cb-checkout .seo-order-form select:focus {
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12) !important;
    outline: none !important;
}

.cb-checkout .seo-order-form .ff-btn-submit,
.cb-checkout .seo-order-form button[type="submit"],
.cb-checkout .seo-order-form .ff_submit_btn_wrapper {
    visibility: visible !important;
    display: block !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    text-align: left !important;
}

.cb-checkout .seo-order-form .ff_submit_btn_wrapper {
    margin-top: 10px !important;
}

.cb-checkout .seo-order-form .cb-checkout-payment-hint {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

.cb-checkout .seo-order-form .cb-checkout-payment-hint__logo {
    display: block !important;
    width: 76px !important;
    height: auto !important;
    flex: 0 0 76px !important;
    align-self: center !important;
    object-fit: contain !important;
}

.cb-checkout .seo-order-form .cb-checkout-payment-hint__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.cb-checkout .seo-order-form .cb-checkout-payment-hint__title {
    margin: 0 0 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
}

.cb-checkout .seo-order-form .cb-checkout-payment-hint__copy {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: #64748b !important;
}

.cb-checkout .seo-order-form .ff-btn-submit,
.cb-checkout .seo-order-form button[type="submit"] {
    width: 100% !important;
    min-height: 50px !important;
    margin-top: 2px !important;
    padding: 14px 18px !important;
    border: none !important;
    border-radius: 12px !important;
    background: #007bff !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease !important;
}

.cb-checkout .seo-order-form .ff-btn-submit:hover,
.cb-checkout .seo-order-form button[type="submit"]:hover {
    background: #0059c9 !important;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.16) !important;
    transform: translateY(-1px);
}

.cb-checkout__aside {
    position: sticky;
    top: 24px;
    padding: 18px 20px 18px;
    border: 1px solid var(--cb-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cb-checkout__aside-title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cb-text);
}

.cb-checkout__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--cb-sub);
}

.cb-checkout__row span:last-child {
    font-weight: 600;
    color: var(--cb-text);
    text-align: right;
}

.cb-checkout__grand {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 12px;
    padding: 14px 0 0;
    border-top: 1px solid #e2e8f0;
}

.cb-checkout__grand span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cb-text);
}

.cb-checkout__grand strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--cb-text);
    text-align: right;
}

.cb-checkout__note {
    margin: 0;
    padding-top: 2px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--cb-muted);
}

/* Success + loading (Fluent Forms in checkout) */

.cb-checkout .ff-message-success,
.cb-checkout .ff-message-success.ff_msg_temp {
    margin: 0 0 16px !important;
    padding: 14px 16px !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 12px !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

.cb-checkout .seo-order-form .ff-errors-in-stack,
.cb-checkout .seo-order-form .error.text-danger {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13.5px;
    line-height: 1.45;
}

.cb-checkout .seo-order-form.ff_submitting .ff-btn-submit,
.cb-checkout .seo-order-form .ff-btn-submit:disabled,
.cb-checkout .seo-order-form button[type="submit"]:disabled {
    cursor: wait !important;
    opacity: 0.72 !important;
    transform: none !important;
    box-shadow: none !important;
}

.cb-checkout .seo-order-form .ff-btn-submit:focus-visible,
.cb-checkout .seo-order-form button[type="submit"]:focus-visible {
    outline: none !important;
    box-shadow:
        var(--cb-focus),
        0 1px 2px rgba(15, 23, 42, 0.06) !important;
}

/* Motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .cb-page *,
    .cb-checkout *,
    .cb-drawer-root *,
    .cb-toast {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .cb-category-card:hover,
    .cb-category-card:focus-visible,
    .cb-service-row:hover,
    .cb-service-card:hover,
    .cb-checkout__line:hover,
    .cb-configure-btn:hover:not(:disabled),
    .cb-cart-rail__checkout:hover:not(:disabled),
    .cb-drawer__commit:hover:not(:disabled) {
        transform: none !important;
    }
}

/* =====================================================
   CAMPAIGN BUILDER RESPONSIVE
   Organized breakpoints only — do not scatter elsewhere
===================================================== */

@media (max-width: 1280px) {
    .cb-layout {
        max-width: 1080px;
        gap: 22px;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .cb-layout[data-cart-open="true"] {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .cb-hero {
        padding: 34px 28px;
    }

    .cb-hero__inner {
        gap: 22px;
    }

    .cb-hero__media {
        flex-basis: 42%;
    }

    .cb-hero__image {
        max-width: 420px;
    }

    .cb-hero__title {
        font-size: 30px;
    }

    .cb-drawer {
        width: 400px;
    }

    .cb-checkout {
        max-width: 1100px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .cb-checkout__grid {
        grid-template-columns: minmax(0, 2.1fr) minmax(240px, 1fr);
        gap: 18px;
    }
}

@media (max-width: 1024px) {
    .cb-layout,
    .cb-layout[data-cart-open="true"] {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 860px;
    }

    .cb-cart-rail {
        position: static;
        width: 100%;
        max-width: none;
    }

    .cb-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cb-service-card {
        gap: 14px;
        padding: 18px;
    }

    .cb-configure-btn {
        min-height: 44px;
        padding: 12px 16px;
    }

    .cb-drawer {
        width: min(380px, 92vw);
    }

    .cb-checkout {
        margin-top: 20px;
        padding-bottom: 72px;
    }

    .cb-checkout__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cb-checkout__aside {
        position: static;
    }

    .cb-checkout__title {
        font-size: 26px;
        margin-bottom: 14px;
    }
}

@media (max-width: 768px) {
    .cb-page,
    .cb-checkout,
    .cb-drawer-root {
        overflow-x: clip;
    }

    .cb-layout,
    .cb-layout[data-cart-open="true"] {
        gap: 16px;
        padding: 0 12px;
        max-width: 100%;
    }

    .cb-hero {
        width: 100%;
        margin-bottom: 24px;
        padding: 26px 18px;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .cb-hero__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .cb-hero__media {
        flex: 0 0 auto;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .cb-hero__image {
        max-width: 100%;
    }

    .cb-hero__title {
        max-width: none;
        margin-bottom: 16px;
        font-size: 26px;
    }

    .cb-search {
        max-width: none;
        width: 100%;
    }

    .cb-page .cb-search__input,
    .cb-page [data-role="service-search"],
    .cb-search__input {
        min-height: 48px;
        font-size: 16px !important;
    }

    .cb-section {
        margin-bottom: 28px;
    }

    .cb-category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cb-page .cb-category-card,
    .cb-page button.cb-category-card,
    .cb-category-card {
        min-height: 88px;
        padding: 16px !important;
    }

    .cb-service-list {
        gap: 10px;
    }

    .cb-service-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }

    .cb-configure-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        background: var(--cb-primary-soft) !important;
        color: var(--cb-primary) !important;
        -webkit-text-fill-color: var(--cb-primary);
    }

    .cb-back {
        min-height: 40px;
        margin-bottom: 14px;
        padding: 8px 10px 8px 6px;
    }

    .cb-category__header {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
    }

    .cb-category__title {
        font-size: 22px;
    }

    .cb-service-cards {
        gap: 10px;
    }

    .cb-service-card {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 14px;
        padding: 16px;
        box-sizing: border-box;
    }

    .cb-service-card__description {
        max-width: none;
    }

    .cb-configure-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        font-size: 14.5px;
    }

    .cb-cart-rail {
        position: static;
        width: 100%;
        padding: 16px;
        border-radius: 14px;
        box-shadow: none;
    }

    .cb-cart-rail__title {
        margin-bottom: 12px;
    }

    .cb-cart-item__edit,
    .cb-cart-item__remove {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .cb-cart-rail__total {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin-bottom: 12px;
        padding: 12px 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
    }

    .cb-cart-rail__checkout {
        min-height: 48px;
        margin-bottom: 6px;
    }

    .cb-cart-rail__continue {
        min-height: 40px;
    }

    .cb-drawer {
        width: 100%;
        max-width: 100vw;
        left: 0;
        right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .cb-drawer__header {
        padding: 16px 16px calc(16px + env(safe-area-inset-top, 0px));
    }

    .cb-drawer__close {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .cb-drawer__body {
        padding: 18px 16px 28px;
    }

    .cb-drawer__title {
        font-size: 20px;
    }

    .cb-package-option {
        min-height: 56px;
        padding: 14px !important;
    }

    .cb-stepper__btn {
        width: 44px;
        height: 44px;
    }

    .cb-stepper__value {
        width: 52px;
        font-size: 16px;
    }

    .cb-drawer__footer {
        position: sticky;
        bottom: 0;
        z-index: 2;
        padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
    }

    .cb-drawer__commit,
    .cb-drawer-root .cb-drawer__commit,
    .cb-page .cb-drawer__commit {
        min-height: 50px;
        padding: 15px;
        font-size: 15.5px !important;
    }

    .cb-toast {
        right: 12px;
        left: 12px;
        bottom: 12px;
        min-width: 0;
        max-width: none;
    }

    .cb-checkout {
        margin-top: 20px;
        padding: 0 12px 72px;
    }

    .cb-checkout__title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .cb-checkout__main,
    .cb-checkout__grid {
        gap: 12px;
    }

    .cb-checkout .cb-card {
        padding: 16px;
        border-radius: 14px;
        box-shadow: none;
    }

    .cb-checkout .cb-card__title {
        margin-bottom: 10px;
        padding-bottom: 8px;
        font-size: 14px;
    }

    .cb-checkout__line {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .cb-checkout__aside {
        padding: 16px;
        border-radius: 14px;
        box-shadow: none;
    }

    .cb-checkout__grand strong {
        font-size: 22px;
    }

    .cb-checkout .seo-order-form .ff-btn-submit,
    .cb-checkout .seo-order-form button[type="submit"] {
        min-height: 50px;
        margin-top: 8px;
    }

    .cb-checkout .seo-order-form .ff-el-form-control,
    .cb-checkout
        .seo-order-form
        input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
    .cb-checkout .seo-order-form textarea,
    .cb-checkout .seo-order-form select {
        min-height: 48px;
        font-size: 16px !important;
    }

    .cb-checkout .seo-order-form .ff-t-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .cb-layout,
    .cb-layout[data-cart-open="true"] {
        padding: 0 10px;
        gap: 14px;
    }

    .cb-hero {
        padding: 22px 14px;
        border-radius: 14px;
    }

    .cb-hero__media {
        max-width: 280px;
    }

    .cb-hero__eyebrow {
        font-size: 11.5px;
        letter-spacing: 1px;
    }

    .cb-hero__title {
        font-size: 22px;
        line-height: 1.2;
    }

    .cb-section__title {
        font-size: 16px;
    }

    .cb-category__icon {
        width: 42px;
        height: 42px;
    }

    .cb-category__title {
        font-size: 20px;
    }

    .cb-drawer__header,
    .cb-drawer__body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .cb-drawer__footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .cb-drawer__total-row strong {
        font-size: 22px;
    }

    .cb-checkout {
        padding: 0 10px 64px;
    }

    .cb-checkout__title {
        font-size: 22px;
    }

    .cb-checkout__grand {
        flex-wrap: wrap;
    }
}
