/* =========================================================
   Quantity Calculator (صفحة الحاسبة + نافذة صفحة المنتج + قسم الرئيسية)
   نفس ألوان الموقع الأساسية (#564895)
   ========================================================= */
.akqc,
.akqc-teaser,
.akqc-page,
.akqc-modal {
    --akqc-primary: #564895;
    --akqc-primary-dark: #3c326b;
    --akqc-primary-deep: #231e43;
    --akqc-primary-soft: #f1edf9;
    --akqc-soft-bg: #f7f6fb;
    --akqc-ink: #1f1c2b;
    --akqc-muted: #6f6a7a;
    --akqc-border: #e8e4f0;
    --akqc-success: #1f8a4c;
    --akqc-danger: #c0392b;
    --akqc-warning: #9a6700;
    --akqc-radius: 16px;
    --akqc-radius-sm: 10px;
    --akqc-shadow: 0 10px 30px rgba(35, 30, 67, .08);
}

/*
 * styles.css يضع للعربي unicode-bidi: plaintext على كل العناصر،
 * فنرجعها للوضع العادي داخل الحاسبة ونعزل الأرقام فقط (bdi).
 */
html[lang="ar"] .akqc,
html[lang="ar"] .akqc *,
html[lang="ar"] .akqc-teaser,
html[lang="ar"] .akqc-teaser *,
html[lang="ar"] .akqc-page-hero,
html[lang="ar"] .akqc-page-hero * {
    unicode-bidi: normal;
}

    html[lang="ar"] .akqc bdi,
    html[lang="ar"] .akqc [dir] {
        unicode-bidi: isolate;
    }

.akqc-visually-hidden {
    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;
}

.akqc [hidden],
.akqc-teaser [hidden] {
    display: none !important;
}

/* ================= Layout ================= */
.akqc {
    color: var(--akqc-ink);
}

.akqc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.akqc-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.akqc-result-col {
    position: sticky;
    top: 110px;
    min-width: 0;
}

.akqc-modal .akqc-result-col {
    top: 0;
}

@media (max-width: 991.98px) {
    .akqc-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .akqc-result-col {
        position: static;
    }
}

/* ================= Steps ================= */
.akqc-step {
    background: #fff;
    border: 1px solid var(--akqc-border);
    border-radius: var(--akqc-radius);
    padding: 18px;
}

.akqc-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--akqc-ink);
}

.akqc-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--akqc-primary);
    color: #fff;
    font-size: 13px;
    flex: 0 0 auto;
}

/* ================= Categories ================= */
.akqc-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.akqc-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid var(--akqc-border);
    border-radius: var(--akqc-radius-sm);
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    margin: 0;
}

    .akqc-category:hover {
        border-color: rgba(86, 72, 149, .45);
    }

.akqc-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--akqc-primary-soft);
    color: var(--akqc-primary);
    font-size: 20px;
    flex: 0 0 auto;
}

.akqc-category-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .akqc-category-text strong {
        font-size: 14px;
        line-height: 1.4;
    }

    .akqc-category-text small {
        color: var(--akqc-muted);
        font-size: 12px;
        line-height: 1.5;
    }

.akqc-category-input:checked + .akqc-category {
    border-color: var(--akqc-primary);
    background: var(--akqc-primary-soft);
    box-shadow: 0 6px 18px rgba(86, 72, 149, .14);
}

.akqc-category-input:focus-visible + .akqc-category,
.akqc-rule-input:focus-visible + .akqc-rule {
    outline: 3px solid rgba(86, 72, 149, .35);
    outline-offset: 2px;
}

/* ================= Fields ================= */
.akqc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

    .akqc-field + .akqc-field {
        margin-top: 12px;
    }

.akqc-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--akqc-ink);
    margin: 0;
}

.akqc-optional {
    font-size: 11px;
    font-weight: 500;
    color: var(--akqc-muted);
    background: var(--akqc-soft-bg);
    border-radius: 20px;
    padding: 2px 8px;
}

.akqc-select,
.akqc-input {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid var(--akqc-border);
    border-radius: var(--akqc-radius-sm);
    padding: 10px 14px;
    font-size: 15px;
    color: var(--akqc-ink);
    background-color: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .akqc-select:focus,
    .akqc-input:focus {
        outline: none;
        border-color: var(--akqc-primary);
        box-shadow: 0 0 0 4px rgba(86, 72, 149, .12);
    }

    .akqc-select:disabled {
        background-color: var(--akqc-soft-bg);
        color: var(--akqc-muted);
        cursor: not-allowed;
    }

    .akqc-input.is-invalid {
        border-color: var(--akqc-danger);
        box-shadow: 0 0 0 4px rgba(192, 57, 43, .1);
    }

.akqc-input-group {
    position: relative;
    display: flex;
    align-items: stretch;
}

    .akqc-input-group .akqc-input {
        padding-inline-end: 52px;
        direction: ltr;
        text-align: start;
    }

html[dir="rtl"] .akqc-input-group .akqc-input {
    text-align: right;
}

.akqc-input-suffix {
    position: absolute;
    inset-inline-end: 1px;
    top: 1px;
    bottom: 1px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--akqc-muted);
    font-size: 14px;
    font-weight: 600;
    background: var(--akqc-soft-bg);
    border-start-end-radius: var(--akqc-radius-sm);
    border-end-end-radius: var(--akqc-radius-sm);
    pointer-events: none;
}

.akqc-input::-webkit-inner-spin-button,
.akqc-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.akqc-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.akqc-dimensions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: end;
    margin-bottom: 12px;
}

    .akqc-dimensions .akqc-field + .akqc-field {
        margin-top: 0;
    }

.akqc-times {
    font-size: 20px;
    color: var(--akqc-muted);
    padding-bottom: 12px;
}

.akqc-net-area {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--akqc-primary);
    min-height: 1.2em;
}

/* ================= Segmented control ================= */
.akqc-segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: var(--akqc-soft-bg);
    border-radius: 12px;
    margin-bottom: 14px;
}

.akqc-segment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--akqc-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

    .akqc-segment.active {
        background: #fff;
        color: var(--akqc-primary);
        box-shadow: 0 4px 12px rgba(35, 30, 67, .1);
    }

    .akqc-segment:focus-visible {
        outline: 3px solid rgba(86, 72, 149, .35);
    }

/* ================= Rules ================= */
.akqc-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: var(--akqc-radius-sm);
}

    .akqc-rules.is-invalid {
        outline: 2px solid rgba(192, 57, 43, .45);
        outline-offset: 4px;
    }

.akqc-rule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1.5px solid var(--akqc-border);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

    .akqc-rule i {
        font-size: 18px;
        color: var(--akqc-muted);
    }

.akqc-rule-on {
    display: none;
}

.akqc-rule-input:checked + .akqc-rule {
    border-color: var(--akqc-primary);
    background: var(--akqc-primary-soft);
    color: var(--akqc-primary-dark);
}

    .akqc-rule-input:checked + .akqc-rule .akqc-rule-on {
        display: inline;
        color: var(--akqc-primary);
    }

    .akqc-rule-input:checked + .akqc-rule .akqc-rule-off {
        display: none;
    }

/* ================= Product summary ================= */
.akqc-product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--akqc-radius);
    background: linear-gradient(135deg, var(--akqc-primary-soft), #fff);
    border: 1px solid var(--akqc-border);
}

.akqc-product-image {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--akqc-border);
    flex: 0 0 auto;
}

/* لا نعرض نص alt إذا تعذر تحميل الصورة، والشعار البديل يأخذ مساحة أقل */
.akqc-product-image,
.akqc-result-product img {
    color: transparent;
    overflow: hidden;
}

    .akqc-product-image.is-fallback,
    .akqc-result-product img.is-fallback {
        padding: 10px;
        object-fit: contain;
        opacity: .85;
    }

.akqc-product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.akqc-product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--akqc-primary);
    text-transform: uppercase;
    letter-spacing: .02em;
}

.akqc-product-name {
    font-size: 17px;
    line-height: 1.4;
}

.akqc-product-price {
    font-size: 14px;
    color: var(--akqc-muted);
    font-weight: 600;
}

/* ================= Buttons ================= */
.akqc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

    .akqc-btn:active {
        transform: translateY(1px);
    }

    .akqc-btn:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

    .akqc-btn:focus-visible {
        outline: 3px solid rgba(86, 72, 149, .35);
        outline-offset: 2px;
    }

.akqc-btn-primary {
    background: var(--akqc-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(86, 72, 149, .25);
}

    .akqc-btn-primary:hover:not(:disabled) {
        background: var(--akqc-primary-dark);
        color: #fff;
    }

.akqc-btn-outline {
    background: #fff;
    color: var(--akqc-primary);
    border-color: var(--akqc-primary);
}

    .akqc-btn-outline:hover {
        background: var(--akqc-primary-soft);
        color: var(--akqc-primary-dark);
    }

.akqc-btn-ghost {
    background: transparent;
    color: var(--akqc-muted);
    border-color: var(--akqc-border);
}

    .akqc-btn-ghost:hover {
        color: var(--akqc-primary);
        border-color: var(--akqc-primary);
    }

.akqc-btn-block {
    width: 100%;
}

.akqc-btn.is-loading i {
    animation: akqc-spin 1s linear infinite;
}

/* ================= Alerts / loading ================= */
.akqc-alert {
    padding: 12px 14px;
    border-radius: var(--akqc-radius-sm);
    background: #fdecea;
    color: var(--akqc-danger);
    font-size: 14px;
    line-height: 1.7;
    border: 1px solid rgba(192, 57, 43, .18);
}

.akqc-alert-success {
    background: #e8f6ee;
    color: var(--akqc-success);
    border-color: rgba(31, 138, 76, .2);
}

.akqc-alert-warning {
    background: #fff6e0;
    color: var(--akqc-warning);
    border-color: rgba(154, 103, 0, .2);
}

.akqc-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    color: var(--akqc-muted);
    font-size: 14px;
}

.akqc-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--akqc-primary-soft);
    border-top-color: var(--akqc-primary);
    border-radius: 50%;
    animation: akqc-spin .8s linear infinite;
}

@keyframes akqc-spin {
    to {
        transform: rotate(360deg);
    }
}

.akqc-empty {
    text-align: center;
    padding: 24px 12px;
    color: var(--akqc-muted);
}

    .akqc-empty i {
        font-size: 36px;
        color: var(--akqc-primary);
    }

    .akqc-empty p {
        margin: 8px 0 0;
    }

/* ================= Result ================= */
.akqc-placeholder,
.akqc-result {
    background: #fff;
    border: 1px solid var(--akqc-border);
    border-radius: var(--akqc-radius);
    box-shadow: var(--akqc-shadow);
    padding: 22px;
}

.akqc-placeholder {
    text-align: center;
    color: var(--akqc-muted);
    background: linear-gradient(180deg, var(--akqc-soft-bg), #fff);
    box-shadow: none;
    border-style: dashed;
}

    .akqc-placeholder strong {
        display: block;
        color: var(--akqc-ink);
        font-size: 16px;
        margin: 10px 0 6px;
    }

    .akqc-placeholder p {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
    }

.akqc-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--akqc-primary-soft);
    color: var(--akqc-primary);
    font-size: 28px;
}

.akqc-result:focus {
    outline: none;
}

.akqc-result-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

    .akqc-result-head i {
        font-size: 24px;
        color: var(--akqc-success);
    }

    .akqc-result-head h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

.akqc-result-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--akqc-border);
}

    .akqc-result-product img {
        width: 56px;
        height: 56px;
        object-fit: contain;
        border-radius: 10px;
        border: 1px solid var(--akqc-border);
        background: #fff;
        flex: 0 0 auto;
    }

    .akqc-result-product strong {
        font-size: 15px;
        line-height: 1.5;
    }

.akqc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.akqc-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    min-width: 0;
}

.akqc-stat-qty {
    background: linear-gradient(135deg, var(--akqc-primary), var(--akqc-primary-dark));
    color: #fff;
}

.akqc-stat-total {
    background: var(--akqc-primary-soft);
    color: var(--akqc-primary-deep);
}

.akqc-stat-label {
    font-size: 13px;
    font-weight: 600;
    opacity: .85;
}

.akqc-stat-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

    .akqc-stat-value small {
        font-size: 15px;
        font-weight: 600;
    }

.akqc-stat-total .akqc-stat-value {
    font-size: 22px;
}

.akqc-stat-total.is-unavailable .akqc-stat-value {
    font-size: 15px;
    color: var(--akqc-muted);
}

.akqc-details {
    margin: 0 0 12px;
}

    .akqc-details > div {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border-bottom: 1px dashed var(--akqc-border);
        font-size: 14px;
    }

    .akqc-details dt {
        font-weight: 500;
        color: var(--akqc-muted);
    }

    .akqc-details dd {
        margin: 0;
        font-weight: 700;
        text-align: end;
    }

.akqc-note {
    font-size: 12.5px;
    color: var(--akqc-muted);
    line-height: 1.7;
    margin: 0 0 12px;
}

.akqc-disclaimer {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: var(--akqc-radius-sm);
    background: var(--akqc-soft-bg);
    color: var(--akqc-muted);
}

    .akqc-disclaimer i {
        color: var(--akqc-primary);
        font-size: 15px;
        line-height: 1.5;
    }

.akqc-result .akqc-alert {
    margin-bottom: 12px;
}

.akqc-result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .akqc-result-actions > :first-child:not([hidden]),
    .akqc-result-actions [data-akqc-quote]:not([hidden]) {
        grid-column: 1 / -1;
    }

/* في نافذة صفحة المنتج لا يوجد زر "عرض المنتج"، فزر إعادة الحساب يأخذ العرض كاملاً */
.akqc-modal .akqc-result-actions [data-akqc-recalculate] {
    grid-column: 1 / -1;
}

@media (max-width: 575.98px) {
    .akqc-step,
    .akqc-placeholder,
    .akqc-result {
        padding: 14px;
    }

    .akqc-categories {
        grid-template-columns: 1fr 1fr;
    }

    .akqc-category {
        flex-direction: column;
        text-align: center;
        padding: 10px 8px;
    }

        .akqc-category-text small {
            display: none;
        }

    .akqc-stat-value {
        font-size: 22px;
    }

    .akqc-stat-total .akqc-stat-value {
        font-size: 18px;
    }

    .akqc-product-image {
        width: 64px;
        height: 64px;
    }

    .akqc-result-actions .akqc-btn {
        white-space: nowrap;
        padding-inline: 10px;
        font-size: 14px;
    }

    .akqc-segment {
        font-size: 13px;
        padding: 6px 8px;
        white-space: nowrap;
    }

        .akqc-segment i {
            display: none;
        }
}

/* ================= Standalone page ================= */
.akqc-page {
    padding: 0 0 70px;
    background: #fff;
}

.akqc-page-hero {
    position: relative;
    padding: 56px 0 90px;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .12), transparent 45%), linear-gradient(135deg, #231e43, #564895);
    color: #fff;
    overflow: hidden;
}

    .akqc-page-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
        background-size: 36px 36px;
        pointer-events: none;
    }

.akqc-page-hero .container {
    position: relative;
    z-index: 1;
}

.akqc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 13px;
    opacity: .85;
}

    .akqc-breadcrumb a {
        color: #fff;
        text-decoration: none;
    }

    .akqc-breadcrumb li + li::before {
        content: "/";
        margin-inline-end: 6px;
        opacity: .6;
    }

.akqc-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.akqc-page-hero h1 {
    color: #fff;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
}

.akqc-page-hero p {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.8;
    opacity: .9;
}

.akqc-page-card {
    position: relative;
    z-index: 2;
    margin-top: -56px;
    background: var(--akqc-soft-bg);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(35, 30, 67, .12);
}

@media (max-width: 575.98px) {
    .akqc-page-hero {
        padding: 36px 0 76px;
    }

    .akqc-page-card {
        padding: 12px;
        border-radius: 18px;
    }
}

/* ================= Product details modal ================= */
.akqc-modal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
}

.akqc-modal .modal-header {
    background: linear-gradient(135deg, #231e43, #564895);
    color: #fff;
    border: 0;
    padding: 16px 20px;
}

    .akqc-modal .modal-header .modal-title {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
    }

    .akqc-modal .modal-header .btn-close {
        filter: invert(1) grayscale(1) brightness(2);
        opacity: .9;
        margin: 0;
    }

html[dir="rtl"] .akqc-modal .modal-header .btn-close {
    margin-inline-start: auto;
}

.akqc-modal .modal-body {
    background: var(--akqc-soft-bg);
    padding: 20px;
}

@media (max-width: 575.98px) {
    .akqc-modal .modal-content {
        border-radius: 0;
    }

    .akqc-modal .modal-body {
        padding: 12px;
    }
}

/* زر الحاسبة في صفحة المنتج */
.akqc-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    border-radius: 12px;
    border: 1.5px dashed #564895;
    background: #f1edf9;
    color: #3c326b;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

    .akqc-open-btn i {
        font-size: 20px;
    }

    .akqc-open-btn:hover {
        background: #e6dff5;
        border-style: solid;
    }

    .akqc-open-btn:focus-visible {
        outline: 3px solid rgba(86, 72, 149, .35);
        outline-offset: 2px;
    }

/* ================= Homepage teaser ================= */
.akqc-teaser {
    padding: 50px 0;
}

.akqc-teaser-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 24px;
    background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .14), transparent 40%), linear-gradient(135deg, #231e43, #564895);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(35, 30, 67, .18);
}

    .akqc-teaser-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
        background-size: 32px 32px;
        pointer-events: none;
    }

    .akqc-teaser-card > * {
        position: relative;
        z-index: 1;
    }

.akqc-teaser-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.akqc-teaser h2 {
    color: #fff;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
}

.akqc-teaser-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    opacity: .9;
}

.akqc-teaser-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    font-size: 14px;
}

    .akqc-teaser-points li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .akqc-teaser-points i {
        color: #b9f5cf;
    }

.akqc-teaser-form {
    display: grid;
    gap: 12px;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    color: var(--akqc-ink);
}

    .akqc-teaser-form .akqc-field + .akqc-field {
        margin-top: 0;
    }

    .akqc-teaser-form .akqc-btn {
        width: 100%;
    }

.akqc-teaser-link {
    justify-self: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--akqc-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .akqc-teaser-link:hover {
        color: var(--akqc-primary-dark);
    }

@media (max-width: 991.98px) {
    .akqc-teaser-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px;
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .akqc-teaser {
        padding: 30px 0;
    }

    .akqc-teaser-card {
        padding: 18px;
        border-radius: 18px;
    }

    .akqc-teaser-form {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .akqc *,
    .akqc-teaser * {
        transition: none !important;
        animation: none !important;
    }
}
