/* === ProCategory - CTA card === */
.procat-cta-wrap {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.procat-cta-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 16px;
    background-color: #c0392b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.procat-cta-btn:hover {
    background-color: #a93226;
    transform: translateY(-1px);
}

.procat-cta-btn:active {
    transform: translateY(0);
}

/* === Overlay === */
#procat-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#procat-modal[hidden] {
    display: none;
}

/* === Boite === */
.procat-modal-box {
    background: #f5f0e8;
    border: 2px solid #b8963e;
    border-radius: 4px;
    padding: 36px 40px 32px;
    max-width: 640px;
    width: 100%;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    animation: procatFadeIn 0.22s ease;
}

@keyframes procatFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* === Fermeture === */
.procat-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #b8963e;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.15s;
}

.procat-modal-close:hover {
    color: #7a5f1e;
}

/* === Header : titre PRO + champs produit === */
.procat-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.procat-modal-title-label {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b8963e;
    margin: 0 0 14px;
}

.procat-modal-product-name {
    font-size: 0.88rem;
    font-weight: 400;
    color: #3a3020;
    margin: 0 0 4px;
    line-height: 1.5;
}

.procat-modal-fields {
    font-size: 0.88rem;
    color: #3a3020;
    line-height: 1.5;
}

.procat-modal-field {
    margin-bottom: 2px;
}

/* === Corps : 2 blocs === */
.procat-modal-body {
    border-top: 1px solid #c9a84c;
    padding-top: 20px;
}

.procat-modal-blocks {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

.procat-modal-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 0 28px;
}

.procat-modal-block:first-child {
    padding-left: 0;
}

.procat-modal-block:last-child {
    padding-right: 0;
}

.procat-modal-separator {
    width: 1px;
    background-color: #c9a84c;
    flex-shrink: 0;
    margin: 4px 0;
}

.procat-block-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #2a2010;
    margin: 0;
    line-height: 1.3;
}

.procat-block-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2a2010;
    margin: 0;
    line-height: 1.3;
}

.procat-block-text {
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

a.procat-block-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: #b8963e;
    color: #fff;
    border: 2px solid #b8963e;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
    margin-top: auto;
    line-height: 1.3;
}

.procat-block-cta:hover {
    background-color: #f5f0e8;
    color: #b8963e;
    text-decoration: none;
}

@media (max-width: 480px) {
    .procat-modal-blocks {
        flex-direction: column;
    }

    .procat-modal-separator {
        width: 100%;
        height: 1px;
        margin: 12px 0;
    }

    .procat-modal-block {
        padding: 0;
    }

    .procat-modal-box {
        padding: 28px 20px 24px;
    }
}